JP7251751B2 - Electrical angle acquisition system, electrical angle acquisition method, electrical angle acquisition program, electrical angle acquisition characteristic measurement system, electrical angle acquisition characteristic measurement method, and electrical angle acquisition characteristic measurement program - Google Patents

Electrical angle acquisition system, electrical angle acquisition method, electrical angle acquisition program, electrical angle acquisition characteristic measurement system, electrical angle acquisition characteristic measurement method, and electrical angle acquisition characteristic measurement program Download PDF

Info

Publication number
JP7251751B2
JP7251751B2 JP2017214933A JP2017214933A JP7251751B2 JP 7251751 B2 JP7251751 B2 JP 7251751B2 JP 2017214933 A JP2017214933 A JP 2017214933A JP 2017214933 A JP2017214933 A JP 2017214933A JP 7251751 B2 JP7251751 B2 JP 7251751B2
Authority
JP
Japan
Prior art keywords
signal
excitation
phase
electrical angle
phase output
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
JP2017214933A
Other languages
Japanese (ja)
Other versions
JP2019086410A5 (en
JP2019086410A (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.)
Matsuo Industries Inc
Original Assignee
Matsuo Industries Inc
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 Matsuo Industries Inc filed Critical Matsuo Industries Inc
Priority to JP2017214933A priority Critical patent/JP7251751B2/en
Priority to PCT/JP2018/038316 priority patent/WO2019093074A1/en
Publication of JP2019086410A publication Critical patent/JP2019086410A/en
Publication of JP2019086410A5 publication Critical patent/JP2019086410A5/ja
Priority to JP2022206107A priority patent/JP7391341B2/en
Application granted granted Critical
Publication of JP7251751B2 publication Critical patent/JP7251751B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D5/00Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable
    • G01D5/12Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means
    • G01D5/14Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing the magnitude of a current or voltage
    • G01D5/20Mechanical means for transferring the output of a sensing member; Means for converting the output of a sensing member to another variable where the form or nature of the sensing member does not constrain the means for converting; Transducers not specially adapted for a specific variable using electric or magnetic means influencing the magnitude of a current or voltage by varying inductance, e.g. by a movable armature

Description

本発明は、回転検出器の出力信号に基づいて電気角を取得する技術に関する。 The present invention relates to technology for obtaining an electrical angle based on an output signal from a rotation detector.

従来、レゾルバの出力信号に基づいて、レゾルバの電気角を示すデジタルデータを出力するレゾルバ/デジタル変換器が知られている。例えば、特許文献1には、トラッキングループ型デジタル角度変換器が開示されている。
また、レゾルバには各種方式が知られており、特許文献1のような振幅変調方式以外にも位相変調方式が知られている。位相変調方式のレゾルバとしては、例えば、特許文献2が知られている。
Conventionally, a resolver/digital converter is known that outputs digital data indicating an electrical angle of a resolver based on an output signal of the resolver. For example, Patent Document 1 discloses a tracking loop type digital angle converter.
Further, various methods are known for resolvers, and a phase modulation method is known in addition to the amplitude modulation method as disclosed in Patent Document 1. For example, Patent Document 2 is known as a phase modulation type resolver.

特許4226044号公報Japanese Patent No. 4226044 特開平4-16712号公報JP-A-4-16712

上述の特許文献1のような従来技術においては、多くのアナログ回路によって複雑な信号処理を行っており、正確な電気角を取得することが困難であった。また、特許文献2のような位相変調方式のレゾルバの解析法は、出力信号の振幅を解析する振幅変調方式に対して適用することはできない。
本発明は、前記課題にかんがみてなされたもので、正確な電気角を取得することを目的とする。
In the prior art such as the above-mentioned Patent Document 1, complicated signal processing is performed by many analog circuits, and it is difficult to obtain an accurate electrical angle. Further, the analysis method of the phase modulation type resolver as disclosed in Patent Document 2 cannot be applied to the amplitude modulation type that analyzes the amplitude of the output signal.
SUMMARY OF THE INVENTION It is an object of the present invention to obtain an accurate electrical angle.

上記の目的を達成するために、電気角取得システムは、1相励磁2相出力の回転検出器の励磁信号の励磁周波数成分をフーリエ変換によって取得する励磁信号取得部と、回転検出器の2相の出力信号の励磁周波数成分をフーリエ変換によって取得する出力信号取得部と、励磁信号の励磁周波数成分と、2相の出力信号の励磁周波数成分とに基づいて、励磁信号と2相の出力信号との位相の関係を取得する位相関係取得部と、2相の出力信号の励磁周波数成分に基づいて、2相の出力信号の振幅を取得する振幅取得部と、位相の関係と2相の出力信号の振幅とに基づいて、回転検出器の電気角を取得する電気角取得部と、を備える。 In order to achieve the above object, the electrical angle acquisition system includes an excitation signal acquisition unit that acquires an excitation frequency component of an excitation signal of a rotation detector with 1-phase excitation and 2-phase output by Fourier transform; An output signal acquisition unit that acquires the excitation frequency component of the output signal of by Fourier transform, and the excitation signal and the two-phase output signal based on the excitation frequency component of the excitation signal and the excitation frequency component of the two-phase output signal an amplitude acquisition unit for acquiring the amplitude of the two-phase output signals based on the excitation frequency components of the two-phase output signals; and the phase relationship and the two-phase output signals. an electrical angle acquisition unit that acquires the electrical angle of the rotation detector based on the amplitude of

すなわち、電気角取得システムにおいては、回転検出器の励磁信号と出力信号とを取り込み、これらの信号に基づいて電気角を取得するが、この際、励磁信号と出力信号との位相の関係および出力信号の振幅に基づいて電気角が取得される。そして、電気角取得システムにおいては、励磁周波数成分を、フーリエ変換によって励磁信号および出力信号から抽出し、抽出した信号に基づいて電気角を取得する。この構成によれば、ノイズ等による影響を低減することができ、電気角を正確に取得することが可能である。 That is, in the electrical angle acquisition system, the excitation signal and the output signal of the rotation detector are taken in, and the electrical angle is acquired based on these signals. An electrical angle is obtained based on the amplitude of the signal. Then, in the electrical angle acquisition system, the excitation frequency component is extracted from the excitation signal and the output signal by Fourier transform, and the electrical angle is acquired based on the extracted signal. According to this configuration, it is possible to reduce the influence of noise and the like, and to accurately acquire the electrical angle.

電気角取得システムの第1実施形態を示すブロック図である。1 is a block diagram showing a first embodiment of an electrical angle acquisition system; FIG. 図2Aは励磁信号とSIN信号とCOS信号の理想的な例を示す図、図2Bは励磁信号と出力信号との位相の関係を示す図、図2Cは振幅と電気角の関係を示す図である。2A is a diagram showing an ideal example of the excitation signal, the SIN signal and the COS signal, FIG. 2B is a diagram showing the phase relationship between the excitation signal and the output signal, and FIG. 2C is a diagram showing the relationship between the amplitude and the electrical angle. be. アナログデジタル変換とサンプリングとを説明するための図である。FIG. 4 is a diagram for explaining analog-to-digital conversion and sampling; 図4Aは複素平面の座標軸の回転を示す図、図4Bは電気角演算処理のフローチャートである。FIG. 4A is a diagram showing rotation of the coordinate axes of the complex plane, and FIG. 4B is a flow chart of electrical angle calculation processing. 電気角取得システムの第2実施形態を示すブロック図である。FIG. 3 is a block diagram showing a second embodiment of an electrical angle acquisition system; FIG. 位相の関係の取得例を示す図である。FIG. 10 is a diagram showing an example of acquisition of a phase relationship; 電気角取得システムの第3実施形態を示すブロック図である。FIG. 11 is a block diagram showing a third embodiment of an electrical angle acquisition system; アナログデジタル変換とサンプリングとを説明するための図である。FIG. 4 is a diagram for explaining analog-to-digital conversion and sampling; 電気角取得システムの第4実施形態を示すブロック図である。FIG. 11 is a block diagram showing a fourth embodiment of an electrical angle acquisition system; 電気角取得システムの第5実施形態を示すブロック図である。FIG. 11 is a block diagram showing a fifth embodiment of an electrical angle acquisition system; 電気角取得システムの第6実施形態を示すブロック図である。FIG. 11 is a block diagram showing a sixth embodiment of an electrical angle acquisition system; 電気角取得システムの第7実施形態を示すブロック図である。FIG. 11 is a block diagram showing a seventh embodiment of an electrical angle acquisition system; 電気角取得システムの第8実施形態を示すブロック図である。FIG. 11 is a block diagram showing an eighth embodiment of an electrical angle acquisition system; 電気角取得システムの第9実施形態を示すブロック図である。FIG. 21 is a block diagram showing a ninth embodiment of an electrical angle acquisition system; 出力信号の振幅が不一致である場合の楕円補正を示す図である。FIG. 10 illustrates elliptic correction when the amplitudes of the output signals are mismatched;

ここでは、下記の順序に従って本発明の実施の形態について説明する。
(1)電気角取得システムの構成:
(2)第2実施形態:
(3)第3実施形態:
(4)第4~第8実施形態:
(5)第9実施形態:
(6)他の実施形態:
Here, embodiments of the present invention will be described according to the following order.
(1) Configuration of electrical angle acquisition system:
(2) Second embodiment:
(3) Third embodiment:
(4) Fourth to Eighth Embodiments:
(5) Ninth Embodiment:
(6) Other embodiments:

(1)電気角取得システムの構成:
図1は、本発明の一実施形態にかかる電気角取得システム10の構成を示すブロック図である。本実施形態において、電気角取得システム10は、励磁信号取得部20と出力信号取得部30と位相関係取得部40と振幅取得部50と電気角取得部60とパラメータ設定部70とを備えている。また、電気角取得システム10は、励磁信号発生部13と増幅器13a~13cを備えている。これらの励磁信号発生部13と増幅器13a~13cは、電気角取得システム10の外部に備えられていてもよい。図1においては、励磁信号発生部13が電気角取得システム10の外部に存在する状態が破線によって示されている。
(1) Configuration of electrical angle acquisition system:
FIG. 1 is a block diagram showing the configuration of an electrical angle acquisition system 10 according to one embodiment of the present invention. In this embodiment, the electrical angle acquisition system 10 includes an excitation signal acquisition section 20, an output signal acquisition section 30, a phase relationship acquisition section 40, an amplitude acquisition section 50, an electrical angle acquisition section 60, and a parameter setting section 70. . The electrical angle acquisition system 10 also includes an excitation signal generator 13 and amplifiers 13a to 13c. The excitation signal generator 13 and the amplifiers 13 a to 13 c may be provided outside the electrical angle acquisition system 10 . In FIG. 1 , the dashed line indicates the state where the excitation signal generator 13 exists outside the electrical angle acquisition system 10 .

電気角取得システム10は、回転検出器の例であるレゾルバ11の電気角を取得するシステムであり、レゾルバ11に接続されている。すなわち、励磁信号発生部13が発生させた励磁信号は、増幅器12に入力され、増幅後の励磁信号がレゾルバ11に入力される。また、レゾルバ11から出力された信号は電気角取得システム10に取り込まれる。なお、本実施形態においては、増幅器12によって増幅された励磁信号も電気角取得システム10に取り込まれる。むろん、レゾルバ11の励磁の負荷が小さい場合などにおいて増幅器12が設けられない構成であっても良い。 The electrical angle acquisition system 10 is a system for acquiring the electrical angle of a resolver 11 which is an example of a rotation detector, and is connected to the resolver 11 . That is, the excitation signal generated by the excitation signal generator 13 is input to the amplifier 12 , and the amplified excitation signal is input to the resolver 11 . Also, the signal output from the resolver 11 is taken into the electrical angle acquisition system 10 . Note that, in the present embodiment, the excitation signal amplified by the amplifier 12 is also taken into the electrical angle acquisition system 10 . Of course, when the excitation load of the resolver 11 is small, the amplifier 12 may not be provided.

レゾルバ11は、1相励磁2相出力のレゾルバであり、本実施形態においてレゾルバ11は振幅変調型である。すなわち、レゾルバ11は、1相の励磁巻線と2相の出力巻線とロータとを備えている。励磁巻線と出力巻線とは、既定の関係で配置されており、増幅器12で増幅された励磁信号が励磁巻線に供給されると、ロータの機械角および軸倍角(極対数)に応じて変調された出力信号が2相の出力巻線から出力される。 The resolver 11 is a one-phase excitation two-phase output resolver, and in this embodiment, the resolver 11 is of an amplitude modulation type. That is, the resolver 11 includes a one-phase excitation winding, two-phase output windings, and a rotor. The excitation windings and the output windings are arranged in a predetermined relationship, and when the excitation signal amplified by the amplifier 12 is supplied to the excitation windings, the output windings will change according to the mechanical angle of the rotor and the shaft angle multiple (number of pole pairs). An output signal modulated by the power is output from the two-phase output windings.

機械角と電気角との理想的な対応関係はレゾルバ11の構成によって決まる。ロータの軸倍角が2以上であれば、機械角が0°~360°の角度を1周する過程において電気角が0°~360°の角度を軸倍角と同数だけ回転する。本実施形態は任意の軸倍角について適用可能であるが、以下、簡単のために軸倍角は1、すなわち、機械角が1周する過程で電気角も1周する構成を例に説明を行う。 An ideal correspondence relationship between the mechanical angle and the electrical angle is determined by the configuration of the resolver 11 . If the shaft angle multiplier of the rotor is 2 or more, the rotor rotates at an electrical angle of 0° to 360° by the same number as the shaft angle in the process of making one rotation of the mechanical angle of 0° to 360°. Although the present embodiment can be applied to any shaft angle multiplier, for the sake of simplicity, the following description will be given as an example of a configuration in which the shaft angle multiplier is 1, that is, the mechanical angle makes one revolution in the process of making one revolution.

本実施形態において、2相の出力巻線は各巻線の出力信号が直交するように配置されている。本実施形態においては、2相の出力巻線から出力される信号の一方をSIN信号、他方をCOS信号とも呼ぶ。励磁信号は正弦波形の信号であり、本実施形態においては図1に示すR1-R2として電気角取得システム10に取り込まれる。出力巻線からの出力信号は図1に示すS2-S4およびS1-S3として電気角取得システム10に取り込まれる。ここでは、S2-S4をSIN信号、S1-S3をCOS信号とする。 In this embodiment, the two-phase output windings are arranged so that the output signals of each winding are orthogonal. In this embodiment, one of the signals output from the two-phase output windings is also called a SIN signal, and the other is called a COS signal. The excitation signal is a sine wave signal, and in this embodiment, it is taken into the electrical angle acquisition system 10 as R1-R2 shown in FIG. Output signals from the output windings are taken into the electrical angle acquisition system 10 as S2-S4 and S1-S3 shown in FIG. Here, S2-S4 are SIN signals, and S1-S3 are COS signals.

電気角取得システム10に取り込まれた励磁信号は、増幅器13aによって増幅される。本実施形態においては増幅器13aによって増幅された後の励磁信号をEsin(2πfrt)と表記する。ここで、Eは増幅後の励磁信号の振幅、frは励磁信号の周波数(励磁周波数)、tは時間(秒)である。また、励磁信号がEsin(2πfrt)である場合のSIN信号が増幅器13bで増幅された後の信号をKsinθe・sin(2πfrt)と表記し、COS信号が増幅器13cで増幅された後の信号をKcosθe・sin(2πfrt)と表記する。ここで、Kは増幅後の出力信号の振幅であり、θeは電気角、frは励磁周波数、tは時間である。 The excitation signal taken into the electrical angle acquisition system 10 is amplified by the amplifier 13a. In this embodiment, the excitation signal after being amplified by the amplifier 13a is expressed as Esin(2πf r t). Here, E is the amplitude of the excitation signal after amplification, f r is the frequency of the excitation signal (excitation frequency), and t is time (seconds). Further, when the excitation signal is Esin (2πf r t), the signal after the SIN signal is amplified by the amplifier 13b is expressed as Ksinθe·sin (2πf r t), and the COS signal after being amplified by the amplifier 13c is expressed as Kcos θe·sin(2πf r t). Here, K is the amplitude of the output signal after amplification, .theta.e is the electrical angle, f.sub.r is the excitation frequency, and t is the time.

図2Aは、励磁信号とSIN信号とCOS信号の理想的な例を示す図である。図2Aにおいては、励磁信号とSIN信号とCOS信号とを並べて示している。また、図2Aにおいては、ロータが固定されており、電気角θeが特定の値(135°)である場合についての信号の例を示している。励磁信号とSIN信号とCOS信号とは、ともにsin(2πfrt)という成分を含んでいる。そして、励磁信号はsin(2πfrt)という成分の振幅Eが一定値であるのに対し、SIN信号とCOS信号はsin(2πfrt)という成分の振幅がsinθeまたはcosθeに従って変化する。 FIG. 2A is a diagram showing ideal examples of an excitation signal, a SIN signal, and a COS signal. In FIG. 2A, the excitation signal, the SIN signal and the COS signal are shown side by side. Also, FIG. 2A shows an example of signals when the rotor is fixed and the electrical angle θe is a specific value (135°). The excitation signal, the SIN signal, and the COS signal all contain a component sin(2πf r t). In the excitation signal, the amplitude E of the sin(2πf r t) component is a constant value, whereas in the SIN signal and the COS signal, the amplitude of the sin (2πf r t) component varies according to sin θe or cos θe.

このため、ロータが回転する場合、図2Aに示すようなSIN信号とCOS信号の振幅は励磁周波数frで変化するとともに、電気角θeの周波数でも変化する。実際のレゾルバにおいて、励磁周波数fr(例えば、10kHz)は、電気角θeの周波数(例えば、数Hz~数百Hz)より大きいため、多くの場合、SIN信号とCOS信号の振幅は、励磁周波数frで頻繁に変化しつつ、電気角θeの周波数でもゆっくりと変化し、包落線に電気角θeのsinθeやcosθeが現れたような信号となる。本実施形態においては、電気角θeの周波数が励磁周波数frよりも小さいことを利用し、現在以前の所定期間内の信号に基づいて現在の電気角θeを取得する。例えば、図2Aに示す例において、現在時刻t0である場合、期間Tの信号に基づいて時刻t0の電気角θeを取得する。 Therefore, when the rotor rotates, the amplitudes of the SIN signal and the COS signal as shown in FIG. 2A change at the excitation frequency f r and at the frequency of the electrical angle θe. In an actual resolver, the excitation frequency f r (eg, 10 kHz) is higher than the frequency of the electrical angle θe (eg, several Hz to several hundred Hz). While frequently changing at f r , it also changes slowly at the frequency of the electrical angle θe, resulting in a signal such that sin θe and cos θe of the electrical angle θe appear on the envelope. In this embodiment, the fact that the frequency of the electrical angle .theta.e is lower than the excitation frequency fr is used to obtain the current electrical angle .theta.e based on the signal within a predetermined period prior to the current time. For example, in the example shown in FIG. 2A, if the current time is t 0 , the electrical angle θe at time t 0 is obtained based on the signal for the period T.

すなわち、ある電気角θeにおける励磁信号と出力信号との位相の関係や、出力信号の振幅の関係は、レゾルバ11の特性(巻線の構成等)に依存する。従って、特定のレゾルバ11を利用する場合に、励磁信号と出力信号との位相の関係と、2相の出力信号の振幅との組み合わせを、電気角θeに対応づけておけば、当該位相の関係および振幅の組み合わせと電気角θeとの関係に基づいて、電気角θeを取得することができる。 That is, the phase relationship between the excitation signal and the output signal at a certain electrical angle θe and the amplitude relationship of the output signal depend on the characteristics of the resolver 11 (configuration of windings, etc.). Therefore, when using a specific resolver 11, if the combination of the phase relationship between the excitation signal and the output signal and the amplitude of the two-phase output signal is associated with the electrical angle θe, the phase relationship and the relationship between the combination of the amplitudes and the electrical angle θe, the electrical angle θe can be obtained.

例えば、図2Aに示す例は、あるレゾルバ11における電気角θeが135°である場合の励磁信号とSIN信号とCOS信号である。電気角θeが135°である場合、SIN信号に含まれるsinθeは1/21/2,COS信号に含まれるcosθeは-1/21/2である。従って、SIN信号は、励磁周波数frで変化するsin(2πfrt)と同相の波形となる。一方、COS信号は、励磁周波数frで変化するsin(2πfrt)と逆相の波形となる。さらに、sinθeは1/21/2,cosθeは-1/21/2であるため、絶対値は等しく、SIN信号とCOS信号の振幅が等しい。このように、励磁信号とSIN信号との位相の関係および励磁信号とCOS信号との位相の関係を特定し、SIN信号とCOS信号の振幅を特定すれば、これらの組み合わせから電気角θeを特定することが可能になる。 For example, the example shown in FIG. 2A is an excitation signal, a SIN signal, and a COS signal when the electrical angle θe in a certain resolver 11 is 135°. When the electrical angle θe is 135°, sin θe included in the SIN signal is 1/2 1/2 and cos θe included in the COS signal is -1/2 1/2 . Therefore, the SIN signal has a waveform in phase with sin(2πf r t) that changes at the excitation frequency f r . On the other hand, the COS signal has a waveform that is opposite in phase to sin (2πf r t) that changes at the excitation frequency f r . Furthermore, since sin θe is 1/2 1/2 and cos θe is -1/2 1/2 , the absolute values are equal and the amplitudes of the SIN signal and the COS signal are equal. Thus, if the phase relationship between the excitation signal and the SIN signal and the phase relationship between the excitation signal and the COS signal are specified, and the amplitudes of the SIN signal and the COS signal are specified, the electrical angle θe can be specified from the combination of these. it becomes possible to

図2Bは、本実施形態にかかるレゾルバ11における、電気角θeによる励磁信号と出力信号との位相の関係の変化を示す図である。図2Bにおいては、レゾルバの電気角θeが0°~360°に変化した場合における、励磁信号とCOS信号との位相の関係と、励磁信号とSIN信号との位相の関係とを示している。例えば、電気角θeが135°である範囲に着目すると、励磁信号とCOS信号とが逆相であり、励磁信号とSIN信号とが同相である。この状況は、図2Aと整合している。 FIG. 2B is a diagram showing changes in the phase relationship between the excitation signal and the output signal depending on the electrical angle θe in the resolver 11 according to this embodiment. FIG. 2B shows the phase relationship between the excitation signal and the COS signal and the phase relationship between the excitation signal and the SIN signal when the electrical angle θe of the resolver varies from 0° to 360°. For example, in the range where the electrical angle θe is 135°, the excitation signal and the COS signal are out of phase, and the excitation signal and the SIN signal are in phase. This situation is consistent with FIG. 2A.

図2Cは、本実施形態にかかるレゾルバ11における、電気角θeによるSIN信号とCOS信号との振幅の変化を示す図である。なお、SIN信号、COS信号の振幅は、励磁信号と同相の時に正、逆相の時に負としている。図2Cにおいては、COS信号の振幅を横軸、SIN信号の振幅を縦軸とし、当該軸で規定される平面上に(COS信号の振幅,SIN信号の振幅)で表される座標をプロットした点を一点鎖線で示している。COS信号の振幅はKcosθe、SIN信号の振幅はKsinθeであるため、図2Cに示す平面上のプロットは、一点鎖線で示されるように円形となる。また、電気角θeは、図2Cに示すように、COS軸正方向と、原点から円上の座標に延びる線との間の角度である。電気角θeが135°である場合、sinθeは1/21/2,cosθeは-1/21/2であるため、SIN信号の振幅はK/21/2、COS信号の振幅は-K/21/2となる。従って、(COS信号の振幅,SIN信号の振幅)で表される座標が特定されると、電気角θeを特定することができる。 FIG. 2C is a diagram showing changes in the amplitudes of the SIN signal and the COS signal depending on the electrical angle θe in the resolver 11 according to this embodiment. The amplitudes of the SIN signal and the COS signal are positive when they are in phase with the excitation signal, and negative when they are in opposite phase. In FIG. 2C, the horizontal axis represents the amplitude of the COS signal, the vertical axis represents the amplitude of the SIN signal, and the coordinates represented by (amplitude of the COS signal, amplitude of the SIN signal) are plotted on a plane defined by the axes. Points are indicated by a dashed line. Since the amplitude of the COS signal is Kcos θe and the amplitude of the SIN signal is Ksin θe, the plot on the plane shown in FIG. 2C is circular as indicated by the dashed line. Also, the electrical angle θe is the angle between the positive direction of the COS axis and a line extending from the origin to the coordinates on the circle, as shown in FIG. 2C. When the electrical angle θe is 135°, sin θe is 1/2 1/2 and cos θe is -1/2 1/2 , so the amplitude of the SIN signal is K/2 1/2 and the amplitude of the COS signal is - K/2 1/2 . Therefore, when the coordinates represented by (COS signal amplitude, SIN signal amplitude) are specified, the electrical angle θe can be specified.

本実施形態においては、2相の出力信号の振幅(絶対値)を取得する構成を採用しており、振幅の絶対値が取得された状態においては電気角θeの候補が4点発生する。例えば、図2Cに示す例において、SIN信号の振幅の絶対値がK/21/2、COS信号の振幅の絶対値がK/21/2となる点は4カ所(45°、135°、225°、315°)存在する。そこで、本実施形態においては、励磁信号とCOS信号との位相の関係および励磁信号とSIN信号との位相の関係に基づいて電気角θeの範囲を特定する(図2Cに示す4個の象限のいずれであるのかを特定する)ことで、電気角θeを特定する。 In this embodiment, a configuration is adopted in which the amplitudes (absolute values) of two-phase output signals are obtained, and four candidates for the electrical angle θe are generated when the absolute values of the amplitudes are obtained. For example, in the example shown in FIG. 2C , there are four points (45°, 135 ° , 225°, 315°) are present. Therefore, in the present embodiment, the range of the electrical angle θe is specified based on the phase relationship between the excitation signal and the COS signal and the phase relationship between the excitation signal and the SIN signal (the four quadrants shown in FIG. 2C). By specifying which one it is, the electrical angle θe is specified.

以上のように、励磁信号と出力信号を解析すれば、レゾルバ11の電気角θeを取得することが可能である。ただし、上述の図2Aのような信号の関係は、理想化された状態であり、実際の信号はより複雑に変化し得る。例えば、電気角取得システム10において解析対象とする励磁信号、SIN信号およびCOS信号は、増幅器(増幅器12や増幅器13a~13c)による増幅後の信号である。これらの増幅器はアナログ増幅回路であり、一般的に抵抗素子、コンデンサ素子、インダクタンス素子等を含むため、増幅後の信号は位相等が変化し得る。また、各種の要因によるノイズが含まれる。 As described above, the electrical angle θe of the resolver 11 can be obtained by analyzing the excitation signal and the output signal. However, the relationship of signals as in FIG. 2A described above is an idealized state, and actual signals may change more complicatedly. For example, the excitation signal, SIN signal, and COS signal to be analyzed in the electrical angle acquisition system 10 are signals amplified by amplifiers (amplifier 12 and amplifiers 13a to 13c). These amplifiers are analog amplifier circuits and generally include resistance elements, capacitor elements, inductance elements, and the like, so the phase of the signal after amplification may change. In addition, noise is included due to various factors.

このため、図2Aのような理想的な関係になるとは限らず、図2Aのような励磁信号に対して出力信号の位相がずれた状態となる場合や、振幅が複雑に変化することで励磁周波数fr以外の周波数成分が含まれている場合がある。従って、増幅器13a~13cから出力されるアナログの信号に基づいて電気角θeを取得すると、電気角θeに誤差が生じてしまう。そこで、本実施形態においては、増幅器13a~13cから出力される励磁信号、SIN信号、COS信号に対してフーリエ変換を行い、励磁周波数成分を抽出して解析を行う構成が採用されている。 For this reason, the ideal relationship shown in FIG. 2A is not necessarily the case, and when the output signal is out of phase with the excitation signal as shown in FIG. Frequency components other than the frequency f r may be included. Therefore, when the electrical angle θe is obtained based on the analog signals output from the amplifiers 13a to 13c, an error occurs in the electrical angle θe. Therefore, in this embodiment, a configuration is adopted in which the excitation signal, the SIN signal, and the COS signal output from the amplifiers 13a to 13c are subjected to Fourier transform, and the excitation frequency component is extracted and analyzed.

励磁信号取得部20は、励磁信号の励磁周波数成分をフーリエ変換によって取得するための回路を備えている。具体的には、励磁信号取得部20は、アナログデジタル変換部21aとフーリエ変換部22aとを備えている。アナログデジタル変換部21aは、増幅器13aが出力したアナログの励磁信号をデジタルデータに変換する回路である。すなわち、アナログデジタル変換部21aは、アナログの励磁信号をサンプリング周波数fsによってサンプリングし、デジタルデータ列として出力する機能を有している。 The excitation signal acquisition unit 20 includes a circuit for acquiring the excitation frequency component of the excitation signal by Fourier transform. Specifically, the excitation signal acquisition unit 20 includes an analog-to-digital conversion unit 21a and a Fourier transform unit 22a. The analog-to-digital converter 21a is a circuit that converts the analog excitation signal output from the amplifier 13a into digital data. That is, the analog-to-digital converter 21a has a function of sampling the analog excitation signal at the sampling frequency fs and outputting it as a digital data string.

図3は、アナログデジタル変換とサンプリングとを説明するための図であり、図2Aに示す信号を例にしてアナログデジタル変換およびサンプリングを示している。図3においてはサンプリング周波数fsで規定されるサンプリング周期(1/fs)が破線によって示されている。アナログデジタル変換部21aにおいては、図3に示すように、サンプリング周期(1/fs)毎にアナログの励磁信号をデジタル値に変換してデジタルデータ列を生成する。図3においては、白丸によってサンプリングされたデータの例を示している。 FIG. 3 is a diagram for explaining analog-to-digital conversion and sampling, and shows analog-to-digital conversion and sampling using the signal shown in FIG. 2A as an example. In FIG. 3, the sampling period (1/f s ) defined by the sampling frequency f s is indicated by a dashed line. As shown in FIG. 3, the analog-to-digital converter 21a converts the analog excitation signal into a digital value every sampling period (1/f s ) to generate a digital data string. In FIG. 3, white circles indicate examples of sampled data.

フーリエ変換部22aは、アナログデジタル変換部21aが出力したデジタルデータ列をフーリエ変換する回路である。フーリエ変換は例えば、FFT(Fast Fourier Transform)等で実施可能である。すなわち、フーリエ変換部22aは、アナログデジタル変換部21aが出力するデジタルデータ列を受け取り、サンプリング数N個のデジタルデータ列に基づいてフーリエ変換を行い、デジタルデータ列として出力する機能を有している。ここでは、フーリエ変換後の励磁信号を励磁フーリエ信号と呼ぶ。また、サンプリング数Nが16である場合にフーリエ変換の対象となるデジタルデータ列をp(0)~p(15)とする。図3においては、サンプリング数Nが16の場合におけるデジタルデータ列の最初と最後(p(0)、p(15))を示している。 The Fourier transform unit 22a is a circuit that Fourier transforms the digital data string output from the analog-to-digital converter 21a. Fourier transform can be implemented by, for example, FFT (Fast Fourier Transform). That is, the Fourier transform unit 22a has a function of receiving a digital data string output from the analog-to-digital converter 21a, performing a Fourier transform based on the digital data string of N sampling numbers, and outputting it as a digital data string. . Here, the excitation signal after the Fourier transform is called an excitation Fourier signal. When the sampling number N is 16, the digital data strings to be Fourier transformed are p(0) to p(15). FIG. 3 shows the beginning and end (p(0), p(15)) of a digital data string when the sampling number N is 16. In FIG.

フーリエ変換部22aは、このようにしてサンプリングしたN個のデジタルデータを式(1)によってフーリエ変換する。

Figure 0007251751000001
The Fourier transform unit 22a Fourier transforms the N pieces of digital data sampled in this manner using equation (1).
Figure 0007251751000001

以上の式(1)によって励磁フーリエ信号が生成されると、フーリエ変換部22aは、当該励磁フーリエ信号から励磁周波数成分を選択して出力する。すなわち、式(1)による変換が行われて励磁フーリエ信号が得られると、kが0~N-1個のそれぞれについてX(k)が得られた状態になる。そして、フーリエ変換の周波数分解能をf0(f0=fs/N)とするとk×f0が周波数に相当するため、X(k)は周波数k×f0の信号と見なすことができる。 When the excitation Fourier signal is generated by the above equation (1), the Fourier transform section 22a selects and outputs the excitation frequency component from the excitation Fourier signal. That is, when the excitation Fourier signal is obtained by the transformation according to the equation (1), X(k) is obtained for each of k=0 to N−1. If the frequency resolution of the Fourier transform is f 0 (f 0 =f s /N), then k×f 0 corresponds to the frequency, so X(k) can be regarded as a signal of frequency k×f 0 .

そこで、本実施形態においてフーリエ変換部22aは、k×f0が励磁周波数frであるk、またはk×f0が励磁周波数frに最も近いkを選択することで励磁周波数成分を取得する。ここでは、フーリエ変換された励磁フーリエ信号から励磁周波数成分を取得することができればよく、kの選択には種々の態様が採用可能である。本実施形態においては、k×f0が、励磁周波数frと等しいkが必ず存在するように、後述のパラメータ設定部70によってN,fr,fsが予め決められる。すなわち、本実施形態においては、m=N×fr/fsとしたとき、mが整数になるようにN,fr,fsが予め決められる。 Therefore, in the present embodiment, the Fourier transform unit 22a acquires the excitation frequency component by selecting k such that k×f 0 is the excitation frequency f r or k×f 0 that is closest to the excitation frequency f r . . Here, it suffices if the excitation frequency component can be obtained from the Fourier-transformed excitation Fourier signal, and various modes can be adopted for the selection of k. In this embodiment, N, f r , and f s are determined in advance by the parameter setting unit 70 to be described later so that k×f 0 is always equal to the excitation frequency f r . That is, in the present embodiment, N, f r and f s are determined in advance so that m is an integer when m=N×f r /f s .

このようにN,fr,fsが決められている場合、m×fs/N=fr(すなわち、m×f0=fr)とすることができ、m×f0が励磁周波数frであるmを選択することが可能になる。ただし、フーリエ変換のサンプリング定理により、fs>2frである。本実施形態においては、このように、m=N×fr/fsが整数になるように設定されており、フーリエ変換部22aは、m×f0が励磁周波数frであるmを選択し、フーリエ変換によって得られた励磁フーリエ信号X(k)(k=0~N-1)からX(m)を選択することにより、励磁信号の励磁周波数成分を取得する。 With N, f r and f s determined in this way, we can have m×f s /N=f r (i.e., m×f 0 =f r ), where m×f 0 is the excitation frequency It becomes possible to choose m to be f r . However, according to the Fourier transform sampling theorem, f s >2f r . In this embodiment, m=N×f r /f s is thus set to be an integer, and the Fourier transform unit 22a selects m such that m×f 0 is the excitation frequency fr . Then, by selecting X(m) from the excitation Fourier signals X(k) (k=0 to N−1) obtained by Fourier transform, the excitation frequency component of the excitation signal is obtained.

以後、フーリエ変換によって得られた励磁フーリエ信号から抽出された励磁周波数成分をP(m)=Pr+iPiと表記する。ここで、Prはフーリエ変換によって得られた実数部であり、Piはフーリエ変換によって得られた虚数部であり、Piの前のiは虚数単位である。 Hereinafter, the excitation frequency component extracted from the excitation Fourier signal obtained by Fourier transform will be expressed as P(m)=Pr+iPi. where Pr is the real part obtained by the Fourier transform, Pi is the imaginary part obtained by the Fourier transform, and i before Pi is the imaginary unit.

出力信号取得部30は、2相の出力信号の励磁周波数成分をフーリエ変換によって取得するための回路を備えている。具体的には、出力信号取得部30は、アナログデジタル変換部31b,31cとフーリエ変換部32b,32cとを備えている。アナログデジタル変換部31b,31cは、増幅器13b,13cが出力したアナログのSIN信号,COS信号をデジタルデータに変換する回路である。すなわち、アナログデジタル変換部31b,31cは、アナログの出力信号をサンプリング周波数fsによってサンプリングし、デジタルデータ列として出力する機能を有している。図3に示す例においては、アナログデジタル変換部31b,31cによって、サンプリング周期(1/fs)毎にサンプリングが行われたアナログの出力信号がデジタル値に変換された様子が白丸によって示されている。 The output signal acquisition unit 30 includes a circuit for acquiring the excitation frequency components of the two-phase output signals by Fourier transform. Specifically, the output signal acquisition unit 30 includes analog-to-digital conversion units 31b and 31c and Fourier transformation units 32b and 32c. The analog-to-digital converters 31b and 31c are circuits for converting analog SIN signals and COS signals output from the amplifiers 13b and 13c into digital data. That is, the analog-to-digital converters 31b and 31c have a function of sampling the analog output signal at the sampling frequency fs and outputting it as a digital data string. In the example shown in FIG. 3, the analog-to-digital converters 31b and 31c convert analog output signals sampled at each sampling period (1/f s ) into digital values, which are indicated by white circles. there is

フーリエ変換部32b,32cは、アナログデジタル変換部31b,31cが出力したデジタルデータ列をフーリエ変換する回路である。すなわち、フーリエ変換部32b,32cは、アナログデジタル変換部31b,31cが出力するデジタルデータ列を受け取り、サンプリング数N個のデジタルデータ列に基づいてフーリエ変換を行い、デジタルデータ列として出力する機能を有している。ここでは、フーリエ変換後の出力信号を出力フーリエ信号と呼ぶ。また、サンプリング数Nが16である場合にフーリエ変換の対象となるSIN信号のデジタルデータ列をs(0)~s(15)とする。また、サンプリング数Nが16である場合にフーリエ変換の対象となるCOS信号のデジタルデータ列をc(0)~c(15)とする。 The Fourier transform units 32b and 32c are circuits that Fourier transform the digital data strings output from the analog-to-digital converters 31b and 31c. That is, the Fourier transform units 32b and 32c have the function of receiving the digital data strings output from the analog-to-digital converters 31b and 31c, performing Fourier transform based on the digital data strings of N sampling numbers, and outputting them as digital data strings. have. Here, the output signal after Fourier transform is called an output Fourier signal. Also, let s(0) to s(15) be the digital data string of the SIN signal to be subjected to the Fourier transform when the sampling number N is 16. FIG. Let c(0) to c(15) be a digital data string of a COS signal to be subjected to Fourier transform when the sampling number N is 16. FIG.

フーリエ変換部32b,32cは、このようにしてサンプリングしたN個のデジタルデータを上述の式(1)によってフーリエ変換する。以上の式(1)によって出力フーリエ信号が生成されると、フーリエ変換部32b,32cは、当該出力フーリエ信号から励磁周波数成分を選択して出力する。すなわち、式(1)による変換が行われて出力フーリエ信号が得られると、kが0~N-1個のそれぞれについてX(k)が得られた状態になる。また、上述のように、m=N×fr/fsとしたとき、mが整数になるようにN,fr,fsが予め決められている。そこで、フーリエ変換部32b,32cは、m×f0が励磁周波数frであるmを選択し、フーリエ変換によって得られた出力フーリエ信号X(k)(k=0~N-1)からX(m)を選択する。 The Fourier transform units 32b and 32c Fourier transform the N pieces of digital data sampled in this way according to the above equation (1). When the output Fourier signal is generated by the above equation (1), the Fourier transform units 32b and 32c select and output the excitation frequency component from the output Fourier signal. In other words, when the conversion according to equation (1) is performed and the output Fourier signal is obtained, X(k) is obtained for each of k=0 to N−1. Also, as described above, N, f r and f s are determined in advance so that m is an integer when m=N×f r /f s . Therefore, the Fourier transform units 32b and 32c select m such that m×f 0 is the excitation frequency f r , and convert the output Fourier signal X(k) (k=0 to N−1) obtained by the Fourier transform to X Select (m).

このような選択がフーリエ変換部32b,32cのそれぞれで行われることにより、出力信号としてのSIN信号の励磁周波数成分と、出力信号としてのCOS信号の励磁周波数成分とが取得される。以後、フーリエ変換によって得られた出力フーリエ信号であるSIN信号から抽出された励磁周波数成分をS(m)=Sr+iSiと表記する。ここで、Srはフーリエ変換によって得られた実数部であり、Siはフーリエ変換によって得られた虚数部であり、Siの前のiは虚数単位である。また、フーリエ変換によって得られた出力フーリエ信号であるCOS信号から抽出された励磁周波数成分をC(m)=Cr+iCiと表記する。ここで、Crはフーリエ変換によって得られた実数部であり、Ciはフーリエ変換によって得られた虚数部であり、Ciの前のiは虚数単位である。 By performing such selection in each of the Fourier transform units 32b and 32c, the excitation frequency component of the SIN signal as the output signal and the excitation frequency component of the COS signal as the output signal are acquired. Hereinafter, the excitation frequency component extracted from the SIN signal, which is the output Fourier signal obtained by Fourier transform, is expressed as S(m)=Sr+iSi. where Sr is the real part obtained by the Fourier transform, Si is the imaginary part obtained by the Fourier transform, and i before Si is the imaginary unit. Also, the excitation frequency component extracted from the COS signal, which is the output Fourier signal obtained by Fourier transform, is expressed as C(m)=Cr+iCi. where Cr is the real part obtained by the Fourier transform, Ci is the imaginary part obtained by the Fourier transform, and i before Ci is the imaginary unit.

なお、本実施形態においては、励磁信号取得部20のアナログデジタル変換部21aがアナログの励磁信号をサンプリングするタイミングと、出力信号取得部30のアナログデジタル変換部31b,31cが出力信号(SIN信号,COS信号)をサンプリングするタイミングは同時である。すなわち、本実施形態にかかる電気角取得システム10は、図1に示すように、アナログデジタル変換部21a,31b,31cが並列に設けられており、それぞれの変換部に励磁信号、SIN信号、COS信号が入力される。そして、図3に示すように、各変換部においてサンプリング周波数fsで同時にサンプリングが行われる。以上の構成によれば、サンプリングタイミングのずれによる位相のずれを考慮することなく、励磁信号と出力信号との関係を解析することができる。なお、ここでは、位相のずれを考慮する必要がない程度にサンプリングタイミングが一致していれば良く、この範囲でサンプリングタイミングがずれることは許容される。 In the present embodiment, the analog-to-digital conversion unit 21a of the excitation signal acquisition unit 20 samples the analog excitation signal, and the analog-to-digital conversion units 31b and 31c of the output signal acquisition unit 30 output signals (SIN signal, COS signal) are sampled at the same time. That is, in the electrical angle acquisition system 10 according to the present embodiment, as shown in FIG. 1, analog-to-digital converters 21a, 31b, and 31c are provided in parallel. A signal is input. Then, as shown in FIG. 3, sampling is performed simultaneously at the sampling frequency fs in each conversion unit. According to the above configuration, the relationship between the excitation signal and the output signal can be analyzed without considering the phase shift due to the sampling timing shift. It should be noted that it is sufficient here that the sampling timings match to the extent that it is not necessary to consider the phase shift, and that the sampling timings are allowed to shift within this range.

さらに、本実施形態においては、励磁信号、SIN信号、COS信号のそれぞれをフーリエ変換するためのフーリエ変換部22a,32b,32cを設け、3種の信号を並列的にフーリエ変換している。しかし、フーリエ変換に時間がかかることを許容できる状態であれば、1個または2個のフーリエ変換部を設ける構成とし、励磁信号、SIN信号、COS信号の少なくとも2種の信号が1個のフーリエ変換部でフーリエ変換される構成であってもよい(以下、他の実施形態においても同様)。 Furthermore, in this embodiment, Fourier transform units 22a, 32b, and 32c are provided for Fourier transforming the excitation signal, the SIN signal, and the COS signal, respectively, and the three types of signals are Fourier transformed in parallel. However, if it is permissible for the Fourier transform to take a long time, one or two Fourier transform units may be provided, and at least two signals, the excitation signal, the SIN signal, and the COS signal, may be combined into one Fourier transform. A configuration may be employed in which Fourier transform is performed by the transform unit (the same applies to other embodiments below).

位相関係取得部40は、励磁信号の励磁周波数成分と、2相の出力信号の励磁周波数成分とに基づいて、励磁信号と2相の出力信号との位相の関係を取得するための回路を備えている。すなわち、位相関係取得部40は、励磁信号とSIN信号とが同相または逆相のいずれであるのか特定し、励磁信号とCOS信号とが同相または逆相のいずれであるのかを特定する。 The phase relationship acquisition unit 40 includes a circuit for acquiring the phase relationship between the excitation signal and the two-phase output signal based on the excitation frequency component of the excitation signal and the excitation frequency component of the two-phase output signal. ing. That is, the phase relationship acquisition unit 40 identifies whether the excitation signal and the SIN signal are in phase or out of phase, and identifies whether the excitation signal and the COS signal are in phase or out of phase.

位相の関係の取得は、種々の手法で実施されて良く、本実施形態においては、フーリエ変換後の実数部および虚数部をプロット可能な複素平面の座標軸の回転を利用して位相の関係を取得する。図4Aは、複素平面を示しており、横軸が実軸Re、縦軸が虚軸Imである。本実施形態において、位相関係取得部40は、励磁信号の励磁周波数成分P(m)=Pr+iPiの当該複素平面上へのプロット位置に基づいて座標軸の回転角を特定する。 Acquisition of the phase relationship may be performed in a variety of ways. In the present embodiment, the phase relationship is acquired using rotation of the coordinate axes of the complex plane that allows plotting of the real and imaginary parts after the Fourier transform. do. FIG. 4A shows a complex plane, in which the horizontal axis is the real axis Re and the vertical axis is the imaginary axis Im. In the present embodiment, the phase relation acquisition unit 40 identifies the rotation angle of the coordinate axis based on the plotted position of the excitation frequency component P(m)=Pr+iPi of the excitation signal on the complex plane.

すなわち、位相関係取得部40は、励磁信号の励磁周波数成分P(m)の位相角αを座標軸の回転角として取得する。なお、位相角αは、arctan(Pi/Pr)であるが、位相角αの演算の際にはPrが0であっても不定とならない手法(例えば、atan2(PiPr)等)で算出することが好ましい。以下、説明を簡略化するため、科学や工学の分野において一般的に用いられているatan2(y,x)関数を使用する。なお、標準的なarctan(y/x)とは以下の関係がある。
x>0の場合、 atan2(y、x)=arctan(y/x)
y≧0、x<0の場合、atan2(y、x)=arctan(y/x)+π
y<0、x<0の場合、atan2(y、x)=arctan(y/x)-π
y>0、x=0の場合、atan2(y、x)=π/2
y<0、x=0の場合、atan2(y、x)=-π/2
y=0、x=0の場合、atan2(y、x)=未定義
座標軸を位相角αだけ回転させた場合、図4Aにおいて一点鎖線で示すように座標軸が回転し、実軸Reは実軸Re'となり、虚軸Imは虚軸Im'となる。この結果、回転後の実軸Re'、虚軸Im'において、励磁信号の励磁周波数成分P(m)は実数部のみが残り(これをPr'と表記する)、虚数部は0になる。なお、Pr'=Pr×cosα+Pi×sinαである。
That is, the phase relationship acquisition unit 40 acquires the phase angle α of the excitation frequency component P(m) of the excitation signal as the rotation angle of the coordinate axis. The phase angle α is arctan (Pi/Pr), but when calculating the phase angle α, it is calculated by a method that does not become indefinite even if Pr is 0 (for example, atan2 (Pi , Pr), etc.) preferably. To simplify the explanation below, the atan2(y, x) function that is commonly used in the fields of science and engineering will be used. Note that there is the following relationship with the standard arctan(y/x).
if x > 0 then atan2(y,x) = arctan(y/x)
If y≧0, x<0, then atan2(y,x)=arctan(y/x)+π
If y<0, x<0, then atan2(y,x)=arctan(y/x)−π
If y>0, x=0 then atan2(y,x)=π/2
If y<0, x=0, then atan2(y,x)=−π/2
When y = 0 and x = 0, atan2 (y, x) = undefined When the coordinate axis is rotated by the phase angle α, the coordinate axis rotates as indicated by the dashed line in FIG. 4A, and the real axis Re Re', and the imaginary axis Im becomes the imaginary axis Im'. As a result, in the real axis Re' and the imaginary axis Im' after rotation, only the real part of the excitation frequency component P(m) of the excitation signal remains (denoted as Pr'), and the imaginary part becomes zero. It should be noted that Pr′=Pr×cosα+Pi×sinα.

座標軸が回転されたとしても励磁信号と2相の出力信号との位相の関係は不変である。従って、回転後の実軸Re'、虚軸Im'に基づいてSIN信号およびCOS信号の励磁周波数成分を表現し、Pr'との関係を特定することで位相の関係を特定することができる。そこで、位相関係取得部40は、SIN信号の励磁周波数成分を回転後の座標軸で表現した場合の実数部Sr'をSr'=Sr×cosα+Si×sinαとして取得する。なお、SIN信号の励磁周波数成分は、本来、励磁信号の励磁周波数成分と同期しており、位相のずれは小さいはずであるため、虚数部Si'を無視することができる。 Even if the coordinate axes are rotated, the phase relationship between the excitation signal and the two-phase output signals remains unchanged. Therefore, the phase relationship can be identified by expressing the excitation frequency components of the SIN signal and the COS signal based on the real axis Re' and the imaginary axis Im' after rotation and identifying the relationship with Pr'. Therefore, the phase relationship acquisition unit 40 acquires the real part Sr′ when the excitation frequency component of the SIN signal is expressed by the rotated coordinate axes as Sr′=Sr×cosα+Si×sinα. The excitation frequency component of the SIN signal is originally synchronized with the excitation frequency component of the excitation signal, and the phase shift should be small, so the imaginary part Si' can be ignored.

また、位相関係取得部40は、COS信号の励磁周波数成分を回転後の座標軸で表現した場合の実数部Cr'をCr'=Cr×cosα+Ci×sinαとして取得する。なお、COS信号の励磁周波数成分も、本来、励磁信号の励磁周波数成分と同期しており、位相のずれは小さいはずであるため、虚数部Ci'を無視することができる。 Further, the phase relationship acquisition unit 40 acquires the real part Cr' when the excitation frequency component of the COS signal is represented by the rotated coordinate axes as Cr'=Cr*cosα+Ci*sinα. Note that the excitation frequency component of the COS signal is originally synchronous with the excitation frequency component of the excitation signal, and the phase shift should be small, so the imaginary part Ci' can be ignored.

以上の座標軸変換が行われると、Pr'とSr'の符号を比較することで、励磁信号とSIN信号との位相の関係を特定することができ、Pr'とCr'の符号を比較することで、励磁信号とCOS信号との位相の関係を特定することができる。そこで、位相関係取得部40は、Pr'とSr'の符号を比較し、同符号であれば励磁信号とSIN信号とが同相、異符号なら励磁信号とSIN信号とが逆相であると判定する。位相関係取得部40は、Pr'とCr'の符号を比較し、同符号であれば励磁信号とCOS信号とが同相、異符号なら励磁信号とCOS信号とが逆相であると判定する。 When the above coordinate axis conversion is performed, the phase relationship between the excitation signal and the SIN signal can be identified by comparing the signs of Pr' and Sr', and the signs of Pr' and Cr' can be identified. can identify the phase relationship between the excitation signal and the COS signal. Therefore, the phase relation acquisition unit 40 compares the signs of Pr′ and Sr′, and if the signs are the same, the excitation signal and the SIN signal are in phase. do. The phase relation acquisition unit 40 compares the signs of Pr' and Cr', and determines that the excitation signal and the COS signal have the same phase if they have the same sign, and that the excitation signal and the COS signal have opposite phases if they have different signs.

以上のように、複素平面の座標軸を回転して位相の関係を取得する構成によれば、SIN信号およびCOS信号における虚数部を演算する必要がなく、演算量を低減することが可能である。むろん、演算量を重視しないのであれば、虚数部を演算する構成であっても良い。さらに、本実施形態のような位相の関係の取得法においては、位相が同相または逆相のいずれであるのかを判定することができればよい。従って、励磁信号に対するSIN信号およびCOS信号の位相のずれが±90°より小さければ、正確に位相の関係を取得することができる。当該ずれの許容範囲は、従来のトラッキングループ型デジタル角度変換器(許容範囲は±10°や±45°)と比較して各段に広い。なお、ここでは実軸ReをP(m)と重なるように回転させたが、虚軸ImをP(m)と重なるように回転させ、虚数部で判定してもよい As described above, according to the configuration in which the coordinate axis of the complex plane is rotated to acquire the phase relationship, there is no need to calculate the imaginary parts of the SIN signal and the COS signal, and the amount of calculation can be reduced. Of course, if the amount of calculation is not important, the configuration may be such that the imaginary part is calculated. Furthermore, in the method of obtaining the phase relationship as in the present embodiment, it is only necessary to be able to determine whether the phase is in-phase or anti-phase. Therefore, if the phase shift of the SIN signal and COS signal with respect to the excitation signal is smaller than ±90°, the phase relationship can be obtained accurately. The permissible range of the deviation is much wider than that of the conventional tracking loop type digital angle converter (the permissible range is ±10° or ±45°). Although the real axis Re is rotated so as to overlap P(m) here, the imaginary axis Im may be rotated so as to overlap P(m) and the imaginary part may be used for determination.

位相関係取得部40は、以上のような判定を行うと、判定結果を示す信号を出力する。本実施形態において位相関係取得部40は、励磁信号とSIN信号との位相の関係を示すDirSin信号と、励磁信号とCOS信号との位相の関係を示すDirCos信号とを出力する。なお、励磁信号とSIN信号とが同相の場合DirSin=1を示す信号が出力され、逆相の場合DirSin=-1を示す信号が出力される。また、励磁信号とCOS信号とが同相の場合DirCos=1を示す信号が出力され、逆相の場合DirCos=-1を示す信号が出力される。 After performing the determination as described above, the phase relation acquisition unit 40 outputs a signal indicating the determination result. In the present embodiment, the phase relationship acquisition section 40 outputs a DirSin signal indicating the phase relationship between the excitation signal and the SIN signal, and a DirCos signal indicating the phase relationship between the excitation signal and the COS signal. When the excitation signal and the SIN signal are in phase, a signal indicating DirSin=1 is output, and when they are in opposite phase, a signal indicating DirSin=-1 is output. When the excitation signal and the COS signal are in phase, a signal indicating DirCos=1 is output, and when they are in opposite phase, a signal indicating DirCos=-1 is output.

振幅取得部50は、2相の出力信号(SIN信号およびCOS信号)の励磁周波数成分に基づいて、2相の出力信号の振幅を取得するための回路である。すなわち、振幅取得部50は、SIN信号の励磁周波数成分S(m)を取得し、実数部Srと虚数部Siとに基づいて振幅PwrSin=(Sr2+Si21/2を取得する。そして、振幅取得部50は、SIN信号の振幅を示す信号PwrSinを出力する。また、振幅取得部50は、COS信号の励磁周波数成分C(m)を取得し、実数部Crと虚数部Ciとに基づいて振幅PwrCos=(Cr2+Ci21/2を取得する。そして、振幅取得部50は、COS信号の振幅を示す信号PwrCosを出力する。 The amplitude acquisition unit 50 is a circuit for acquiring the amplitude of the two-phase output signals based on the excitation frequency components of the two-phase output signals (SIN signal and COS signal). That is, the amplitude obtaining section 50 obtains the excitation frequency component S(m) of the SIN signal, and obtains the amplitude PwrSin=(Sr 2 +Si 2 ) 1/2 based on the real part Sr and the imaginary part Si. Then, the amplitude acquisition section 50 outputs a signal PwrSin indicating the amplitude of the SIN signal. Further, the amplitude obtaining section 50 obtains the excitation frequency component C(m) of the COS signal, and obtains the amplitude PwrCos=(Cr 2 +Ci 2 ) 1/2 based on the real part Cr and the imaginary part Ci. Then, the amplitude acquisition section 50 outputs a signal PwrCos indicating the amplitude of the COS signal.

電気角取得部60は、位相の関係と2相の出力信号の振幅とに基づいて、レゾルバ11の電気角θeを取得するための回路である。すなわち、電気角取得部60は、位相の関係を示すDirSinおよびDirCosと、振幅を示すPwrSinおよびPwrCosに基づいて電気角θeを取得する。電気角θeは、種々の手法で取得されて良く、本実施形態においては、電気角取得部60が図4Bに示す電気角演算処理を実行することによって電気角を取得する。なお、ここでは、図2Bに示した励磁信号と出力信号との位相の関係と、図2Cに示した振幅毎の電気角θeを適宜参照して説明を行う。図2Cにおいては、電気角θeの範囲を90°毎に分割し、0°~90°の範囲を第1象限Z1、90°~180°の範囲を第2象限Z2、180°~270°の範囲を第3象限Z3、270°~360°の範囲を第4象限Z4として説明する。 The electrical angle acquisition unit 60 is a circuit for acquiring the electrical angle θe of the resolver 11 based on the phase relationship and the amplitudes of the two-phase output signals. That is, the electrical angle acquisition unit 60 acquires the electrical angle θe based on DirSin and DirCos indicating the phase relationship and PwrSin and PwrCos indicating the amplitude. The electrical angle θe may be acquired by various methods, and in the present embodiment, the electrical angle acquisition section 60 acquires the electrical angle by executing the electrical angle calculation process shown in FIG. 4B. Here, description will be made with reference to the relationship between the phases of the excitation signal and the output signal shown in FIG. 2B and the electrical angle θe for each amplitude shown in FIG. 2C. In FIG. 2C, the range of the electrical angle θe is divided by 90°, the range of 0° to 90° is the first quadrant Z1, the range of 90° to 180° is the second quadrant Z2, and the range of 180° to 270° The range will be described as the third quadrant Z3, and the range from 270° to 360° as the fourth quadrant Z4.

具体的には、電気角取得部60は、励磁信号とCOS信号との位相の関係を示すDirCosが1であるか否か、すなわち、励磁信号とCOS信号とが同相であるか否かを判定する(ステップS100)。ステップS100において、DirCosが1(励磁信号とCOS信号とが同相)であると判定された場合、図2Bに示されるように電気角θeは0°~90°または270°~360°である。従って、電気角θeは図2Cに示す第1象限Z1または第4象限Z4のいずれかに含まれる。 Specifically, the electrical angle acquisition unit 60 determines whether or not DirCos, which indicates the phase relationship between the excitation signal and the COS signal, is 1, that is, whether or not the excitation signal and the COS signal are in phase. (step S100). If it is determined in step S100 that DirCos is 1 (the excitation signal and the COS signal are in phase), the electrical angle θe is 0° to 90° or 270° to 360° as shown in FIG. 2B. Therefore, the electrical angle θe is included in either the first quadrant Z1 or the fourth quadrant Z4 shown in FIG. 2C.

ステップS100において、DirCosが1であると判定された場合、電気角取得部60は、励磁信号とSIN信号との位相の関係を示すDirSinが1であるか否か、すなわち、励磁信号とSIN信号とが同相であるか否かを判定する(ステップS105)。ステップS105において、DirSinが1(励磁信号とSIN信号とが同相)であると判定された場合、図2Bに示されるように電気角θeは0°~90°または90°~180°である。従って、電気角θeは図2Cに示す第1象限Z1に含まれる。そこで、ステップS105において、DirSinが1であると判定された場合、電気角取得部60は、上述のatan2関数を利用し、電気角θeをatan2(PwrSin,PwrCos)によって算出する(ステップS110)。 When it is determined in step S100 that DirCos is 1, the electrical angle acquisition unit 60 determines whether DirSin, which indicates the phase relationship between the excitation signal and the SIN signal, is 1. are in phase (step S105). If it is determined in step S105 that DirSin is 1 (the excitation signal and the SIN signal are in phase), the electrical angle θe is 0° to 90° or 90° to 180° as shown in FIG. 2B. Therefore, the electrical angle θe is included in the first quadrant Z1 shown in FIG. 2C. Therefore, when it is determined in step S105 that DirSin is 1, the electrical angle obtaining unit 60 uses the above-described atan2 function to calculate the electrical angle θe by atan2(PwrSin, PwrCos) (step S110).

一方、ステップS105において、DirSinが1であると判定されない場合、励磁信号とSIN信号とが逆相である。従って、図2Bに示されるように電気角θeは180°~270°または270°~360°である。このため、電気角θeは図2Cに示す第4象限Z4に含まれる。そこで、ステップS105において、DirSinが1であると判定されない場合、電気角取得部60は、電気角θeをatan2(-PwrSin,PwrCos)によって算出する(ステップS115)。以上のように、本実施形態においては、振幅PwrSin,PwrCosが正の値として取得されているため、位相の関係に基づいて正負の関係を特定した状態でatan2を算出することで電気角θeを取得する。 On the other hand, when DirSin is not determined to be 1 in step S105, the excitation signal and the SIN signal are in opposite phase. Therefore, the electrical angle θe is between 180° and 270° or between 270° and 360° as shown in FIG. 2B. Therefore, the electrical angle θe is included in the fourth quadrant Z4 shown in FIG. 2C. Therefore, if DirSin is not determined to be 1 in step S105, the electrical angle acquisition unit 60 calculates the electrical angle θe by atan2(−PwrSin, PwrCos) (step S115). As described above, in the present embodiment, since the amplitudes PwrSin and PwrCos are obtained as positive values, the electrical angle θe can be calculated by calculating atan2 while specifying the positive/negative relationship based on the phase relationship. get.

ステップS100において、DirCosが1であると判定されない場合、励磁信号とCOS信号とが逆相であるため、図2Bに示されるように電気角θeは90°~180°または180°~270°である。従って、電気角θeは図2Cに示す第2象限Z2または第3象限Z3のいずれかに含まれる。 If DirCos is not determined to be 1 in step S100, the excitation signal and the COS signal are in opposite phase, so the electrical angle θe is 90° to 180° or 180° to 270° as shown in FIG. 2B. be. Therefore, the electrical angle θe is included in either the second quadrant Z2 or the third quadrant Z3 shown in FIG. 2C.

ステップS100において、DirCosが1であると判定されない場合、電気角取得部60は、励磁信号とSIN信号との位相の関係を示すDirSinが1であるか否か、すなわち、励磁信号とSIN信号とが同相であるか否かを判定する(ステップS120)。ステップS120において、DirSinが1(励磁信号とSIN信号とが同相)であると判定された場合、図2Bに示されるように電気角θeは0°~90°または90°~180°である。従って、電気角θeは図2Cに示す第2象限Z2に含まれる。そこで、ステップS120において、DirSinが1であると判定された場合、電気角取得部60は、電気角θeをatan2(PwrSin,-PwrCos)によって算出する(ステップS125)。 In step S100, if DirCos is not determined to be 1, the electrical angle acquisition unit 60 determines whether DirSin, which indicates the phase relationship between the excitation signal and the SIN signal, is 1. are in phase (step S120). If it is determined in step S120 that DirSin is 1 (the excitation signal and the SIN signal are in phase), the electrical angle θe is 0° to 90° or 90° to 180° as shown in FIG. 2B. Therefore, the electrical angle θe is included in the second quadrant Z2 shown in FIG. 2C. Therefore, when it is determined in step S120 that DirSin is 1, the electrical angle obtaining unit 60 calculates the electrical angle θe by atan2(PwrSin, -PwrCos) (step S125).

一方、ステップS120において、DirSinが1であると判定されない場合、励磁信号とSIN信号とが逆相である。従って、図2Bに示されるように電気角θeは180°~270°または270°~360°である。このため、電気角θeは図2Cに示す第3象限Z3に含まれる。そこで、ステップS120において、DirSinが1であると判定されない場合、電気角取得部60は、電気角θeをatan2(-PwrSin,-PwrCos)によって算出する(ステップS130)。 On the other hand, if DirSin is not determined to be 1 in step S120, the excitation signal and the SIN signal are in opposite phase. Therefore, the electrical angle θe is between 180° and 270° or between 270° and 360° as shown in FIG. 2B. Therefore, the electrical angle θe is included in the third quadrant Z3 shown in FIG. 2C. Therefore, if DirSin is not determined to be 1 in step S120, the electrical angle obtaining unit 60 calculates the electrical angle θe by atan2 (-PwrSin, -PwrCos) (step S130).

以上の処理によって電気角θeが演算されると、電気角取得部60は、電気角θeを示す信号を出力する。このため、電気角取得システム10の外部において当該電気角取得部60の出力信号を取得することにより、電気角を特定することが可能になる。なお、以上の電気角演算処理においては、励磁信号とSIN信号との位相を比較し、励磁信号とCOS信号との位相を比較したが、SIN信号とCOS信号の位相は一定の関係にあるためこの関係を利用して判定を行ってもよい。すなわち、励磁信号とSIN信号との位相を比較し、SIN信号とCOS信号の位相を比較する構成であってもよいし、励磁信号とCOS信号との位相を比較し、SIN信号とCOS信号の位相を比較する構成であってもよく、これらの例は上述の図4Bに示す例と実質的に等価である。 When the electrical angle θe is calculated by the above processing, the electrical angle obtaining section 60 outputs a signal indicating the electrical angle θe. Therefore, by obtaining the output signal of the electrical angle obtaining unit 60 outside the electrical angle obtaining system 10, the electrical angle can be specified. In the electrical angle calculation process described above, the phases of the excitation signal and the SIN signal are compared, and the phases of the excitation signal and the COS signal are compared. The determination may be made using this relationship. That is, the phases of the excitation signal and the SIN signal are compared, and the phases of the SIN signal and the COS signal are compared. Phase comparison configurations may also be used, and these examples are substantially equivalent to the example shown in FIG. 4B above.

パラメータ設定部70は、サンプリング周波数fs、サンプリング数N、励磁周波数frの少なくとも1個を入力するための回路である。すなわち、パラメータ設定部70は、電気角取得システム10の外部から信号線を接続可能なインタフェースを備えており、利用者は当該インタフェースを介してサンプリング周波数fs、サンプリング数N、励磁周波数frを入力することができる。インタフェースは、種々の仕様であってよく、例えば、シリアル通信による入力、I/O端子による入力、電圧値による入力の少なくとも1個を備える仕様等を採用可能である。なお、シリアル通信は、例えば、IICバス等の各種規格を想定可能である。I/O端子による入力は、端子に対して異なる電圧値の電圧を印加し、1以上の電圧値が示すコードで情報を入力する態様等を想定可能である。電圧値による入力は、印加電圧のレベルで入力情報を指定する態様等を想定可能である。また、スイッチやつまみ等で調整可能であってもよい。 The parameter setting section 70 is a circuit for inputting at least one of the sampling frequency f s , the sampling number N, and the excitation frequency fr . That is, the parameter setting unit 70 has an interface to which a signal line can be connected from the outside of the electrical angle acquisition system 10, and the user can set the sampling frequency f s , the number of samples N, and the excitation frequency f r through the interface. can be entered. Various specifications may be used for the interface. For example, a specification including at least one of an input by serial communication, an input by an I/O terminal, and an input by a voltage value, or the like can be adopted. Various standards such as an IIC bus can be assumed for serial communication. For input through the I/O terminal, it is possible to envision a mode in which voltages of different voltage values are applied to the terminals and information is input using a code indicated by one or more voltage values. For the input by voltage value, it is conceivable that the input information is designated by the level of the applied voltage. Moreover, it may be adjustable by a switch, a knob, or the like.

いずれにしても、パラメータ設定部70は、サンプリング周波数fs、サンプリング数N、励磁周波数frの少なくとも1個を示す情報を受け付けることが可能であり、受け付けたパラメータによって各部を動作させることができる。すなわち、パラメータ設定部70は、信号線等を介して励磁信号発生部13と接続されており、利用者が入力した励磁周波数frを励磁信号発生部13に対して出力する。励磁信号発生部13は、信号線等を介して入力された周波数で正弦波を生成することができる。従って、励磁信号は、利用者が入力した励磁周波数frの正弦波となる。パラメータ設定部70は、サンプリング周波数fs、サンプリング数N、励磁周波数frの全てを入力可能であっても良いし、一部が入力可能であっても良い。一部が入力可能である場合、入力されないパラメータは予め決められている。 In any case, the parameter setting section 70 can receive information indicating at least one of the sampling frequency f s , the sampling number N, and the excitation frequency f r , and can operate each section according to the received parameters. . That is, the parameter setting section 70 is connected to the excitation signal generation section 13 via a signal line or the like, and outputs the excitation frequency f r input by the user to the excitation signal generation section 13 . The excitation signal generator 13 can generate a sine wave at a frequency input via a signal line or the like. Therefore, the excitation signal becomes a sine wave of the excitation frequency f r input by the user. The parameter setting unit 70 may be able to input all of the sampling frequency f s , the number of samples N, and the excitation frequency f r , or may be able to input some of them. If some are inputtable, the parameters that are not input are predetermined.

また、パラメータ設定部70は、信号線等を介して励磁信号取得部20および出力信号取得部30と接続されている。利用者が入力したサンプリング周波数fsは、信号線等を介して励磁信号取得部20のアナログデジタル変換部21aに供給され、出力信号取得部30のアナログデジタル変換部31b,31cに供給される。アナログデジタル変換部21a,31b,31cは、信号線等を介して入力された周波数でアナログ信号をサンプリングしてデジタルデータ列を生成することができる。従って、アナログデジタル変換部21a,31b,31cは、増幅器13a~13cから入力されたアナログ信号をサンプリング周波数fsでサンプリングしたデジタルデータ列を生成し、出力する。 The parameter setting section 70 is also connected to the excitation signal acquisition section 20 and the output signal acquisition section 30 via signal lines and the like. The sampling frequency f s input by the user is supplied to the analog-to-digital conversion section 21a of the excitation signal acquisition section 20 via a signal line or the like, and is supplied to the analog-to-digital conversion sections 31b and 31c of the output signal acquisition section 30. FIG. The analog-to-digital converters 21a, 31b, and 31c can generate digital data strings by sampling analog signals at frequencies input via signal lines or the like. Therefore, the analog-to-digital converters 21a, 31b, and 31c sample the analog signals input from the amplifiers 13a to 13c at the sampling frequency f s to generate and output digital data strings.

さらに、利用者が入力したサンプリング数Nは、信号線等を介して励磁信号取得部20のフーリエ変換部22aに供給され、出力信号取得部30のフーリエ変換部32b,32cに供給される。フーリエ変換部22a,32b,32cは、信号線等を介して入力されたサンプリング数のデジタルデータを取得してフーリエ変換を行うことができる。従って、フーリエ変換部22a,32b,32cは、アナログデジタル変換部21a,31b,31cが生成したデジタルデータ列をサンプリング数Nでサンプリングしてフーリエ変換して励磁フーリエ信号および出力フーリエ信号を生成することができる。 Further, the sampling number N input by the user is supplied to the Fourier transform section 22a of the excitation signal acquisition section 20 via a signal line or the like, and is supplied to the Fourier transform sections 32b and 32c of the output signal acquisition section 30. FIG. The Fourier transform units 22a, 32b, and 32c can acquire digital data of the number of samples input via a signal line or the like and perform Fourier transform. Therefore, the Fourier transform units 22a, 32b, and 32c sample the digital data strings generated by the analog-to-digital converters 21a, 31b, and 31c at the sampling number N and perform Fourier transform to generate excitation Fourier signals and output Fourier signals. can be done.

以上のように、本実施形態においては、パラメータ設定部70に対して利用者が入力した励磁周波数frの励磁信号を生成し、励磁信号や出力信号をサンプリング周波数fsでサンプリング数N個でサンプリングしてフーリエ変換を行うことができる。従って、利用者は、m=N×fr/fsが整数になるように容易に設定することができる。 As described above, in the present embodiment, the excitation signal having the excitation frequency f r input by the user to the parameter setting unit 70 is generated, and the excitation signal and the output signal are sampled at the sampling frequency f s with N samples. It can be sampled and Fourier transformed. Therefore, the user can easily set m=N×f r /f s to be an integer.

なお、電気角取得システム10を構成する各部は、専用の回路(例えばICチップ等)で構成されても良いし、汎用の回路(例えば、CPU、RAM,ROM等のプログラム実行環境)をプログラムによって動作させることで実現されても良く、種々の構成を採用可能である。むろん、1個または複数個の機能が1個のチップで構成されても良いし、複数のチップで構成されても良い。また、製造後にプログラムすることが可能なFPGA(Field Programmable Gate Array)や、内部の回路セルの接続や設定を再構成可能なリコンフィギュラブル・プロセッサ(Reconfigurable Processor)が利用されても良い。また、半導体技術の進歩又は派生する別技術により、LSIに置き換わる集積回路化の技術が登場すれば、当然、その技術を用いて機能ブロックの集積化を行ってもよい。 Each part constituting the electrical angle acquisition system 10 may be configured by a dedicated circuit (for example, an IC chip, etc.), or a general-purpose circuit (for example, a program execution environment such as a CPU, RAM, ROM, etc.) may be configured by a program. It may be realized by operating, and various configurations can be adopted. Of course, one or a plurality of functions may be configured with one chip, or may be configured with a plurality of chips. Also, an FPGA (Field Programmable Gate Array) that can be programmed after manufacturing or a reconfigurable processor (Reconfigurable Processor) that can reconfigure connections and settings of internal circuit cells may be used. Also, if a technology for integrating circuits to replace LSIs emerges due to advances in semiconductor technology or another technology derived therefrom, it is of course possible to integrate the functional blocks using that technology.

以上のような本実施形態においては、フーリエ変換によって励磁周波数成分を抽出して励磁信号と出力信号の位相の関係や出力信号の振幅を解析している。従って、フーリエ変換を行わないで位相の関係や振幅を解析する構成と比較して、正確に電気角θeを取得することができる。特に、本実施形態のように励磁信号や出力信号が増幅器13a~13cで増幅されることで位相が理想の信号と異なっていたり、ノイズが含まれていたりしても、正確に電気角θeを取得することができる。 In the present embodiment as described above, the excitation frequency component is extracted by Fourier transform to analyze the phase relationship between the excitation signal and the output signal and the amplitude of the output signal. Therefore, it is possible to obtain the electrical angle θe accurately compared to a configuration that analyzes the phase relationship and amplitude without performing Fourier transform. In particular, since the excitation signal and the output signal are amplified by the amplifiers 13a to 13c as in the present embodiment, even if the phase differs from the ideal signal or noise is included, the electrical angle θe can be accurately calculated. can be obtained.

また、特許文献1に挙げたような従来のトラッキングループ型デジタル角度変換器においては、SIN信号やCOS信号に対してcosφやsinφを乗じ、得られた信号の和からsin(θe-φ)sin(2πfrt)を生成し、同期検波して制御偏差sin(θe-φ)を抽出し、当該制御偏差が0になるようにフィードバック制御することでφが電気角θeと見なせる状況を生成する。従って、cosφやsinφを乗じるための回路、同期検波を行うための回路、フィードバック制御のための回路(電圧制御発振器やカウンタ)など、複雑なアナログ回路を含んでいる。 Further, in the conventional tracking loop type digital angle converter as mentioned in Patent Document 1, a SIN signal or a COS signal is multiplied by cos φ or sin φ, and the sum of the obtained signals is calculated as sin(θe−φ)sin (2πf r t) is generated, synchronous detection is performed to extract the control deviation sin(θe−φ), and feedback control is performed so that the control deviation becomes 0, thereby generating a situation in which φ can be regarded as the electrical angle θe. . Therefore, it includes complicated analog circuits such as a circuit for multiplying cos φ and sin φ, a circuit for performing synchronous detection, and a circuit for feedback control (voltage controlled oscillator and counter).

このため、従来の構成においては、全体構成を簡略化しにくく、低コスト化、高信頼性、利便性を達成することは困難である。しかし、本実施形態においては、複雑なアナログ回路は不要であり、アナログ回路としては単純な増幅器を備えていれば良い。また、アナログデジタル変換部21a,31b,31c以後の信号処理はデジタル信号処理であるため、フーリエ変換部22a,32b,32cや位相関係取得部40、振幅取得部50、電気角取得部60は、簡易な構成の回路によって実現可能である。また、アナログ回路はデジタル回路に比べて回路面積が大きく、IC化の際にチップ面積が大きくなりコストアップになる。従って、本実施形態は、従来技術と比較して低コストで実現可能である。 Therefore, in the conventional configuration, it is difficult to simplify the overall configuration, and it is difficult to achieve cost reduction, high reliability, and convenience. However, in this embodiment, a complicated analog circuit is not required, and a simple amplifier may be provided as the analog circuit. Further, since the signal processing after the analog-to-digital conversion units 21a, 31b, and 31c is digital signal processing, the Fourier transformation units 22a, 32b, and 32c, the phase relationship acquisition unit 40, the amplitude acquisition unit 50, and the electrical angle acquisition unit 60 are It can be realized by a circuit with a simple configuration. In addition, since analog circuits have a larger circuit area than digital circuits, the chip area increases when integrated into an IC, resulting in an increase in cost. Therefore, this embodiment can be realized at a lower cost than the conventional technology.

さらに、アナログ回路は温度により特性が変化するため、温度補正回路が必要となるが、本実施形態においてはアナログ回路で構成される機能は少なく、電気角θeの算出のための処理はデジタル回路またはデジタル信号処理で実現される。従って、温度補正回路は不要であり、高い信頼性で電気角θeを取得する構成を容易に実現することができる。 Furthermore, since the characteristics of analog circuits change with temperature, a temperature correction circuit is required. It is realized by digital signal processing. Therefore, no temperature correction circuit is required, and a configuration for obtaining the electrical angle θe with high reliability can be easily realized.

さらに、複雑なアナログ回路によって電気角取得システムを構成する場合、電気角θeの取得精度を高めるために、回路特性を調整して作りこみを行う必要がある。このため、回路定数の変更は極端に制限され、例えば、レゾルバの励磁周波数が10kHzに限定されるなど、特定用途向けになってしまう。しかし、本実施形態においては、励磁周波数等の調整が可能であり、特定用途に限定されない。 Furthermore, when configuring an electrical angle acquisition system with a complicated analog circuit, it is necessary to adjust and build in the circuit characteristics in order to increase the accuracy of acquiring the electrical angle θe. For this reason, the change of the circuit constant is extremely restricted, and for example, the excitation frequency of the resolver is limited to 10 kHz. However, in this embodiment, the excitation frequency and the like can be adjusted, and the application is not limited to a specific application.

さらに、上述の従来技術においては、制御偏差ε=sin(θe-φ)=0となるようにフィードバックループが構成されるため、安定化までに時間を要し、動作が遅くなる。また動作を速めようとすると発振対策が必要となる。しかし、本実施形態においてフィードバックループは存在せず、N個のサンプリングが行われれば即座に電気角θeを取得することができる。従って、高速に電気角θeを出力するシステムを提供することができる。 Furthermore, in the above-described prior art, since the feedback loop is constructed so that the control deviation ε=sin(θe−φ)=0, it takes time to stabilize and the operation slows down. In addition, if an attempt is made to speed up the operation, countermeasures against oscillation are required. However, in this embodiment, there is no feedback loop, and the electrical angle θe can be obtained immediately after N samplings. Therefore, it is possible to provide a system that outputs the electrical angle θe at high speed.

さらに、従来の技術においては、入力信号である励磁信号やSIN信号、COS信号等のノイズを減らす必要があり、ノイズの程度に応じてアナログノイズフィルタ回路を追加するなどの検討が必要である。しかし、本実施形態においては、フーリエ変換によって励磁周波数成分を取得する構成であるため、励磁周波数成分以外のノイズの影響が少ない状態で電気角θeを取得することができる。従って、ノイズに強く、従来技術と比較してノイズ対策の必要性は低い。このため、本実施形態においては、漏洩磁束などのノイズが含まれ得る状況において、高度なノイズ対策を行わなくても高精度に電気角θeを取得することができる。 Furthermore, in the prior art, it is necessary to reduce noise in input signals such as excitation signals, SIN signals, and COS signals, and it is necessary to consider adding an analog noise filter circuit according to the degree of noise. However, in the present embodiment, since the excitation frequency component is obtained by Fourier transform, the electrical angle θe can be obtained with little influence of noise other than the excitation frequency component. Therefore, it is resistant to noise, and the need for noise countermeasures is low compared to the conventional technology. Therefore, in the present embodiment, the electrical angle θe can be obtained with high accuracy in a situation where noise such as leakage magnetic flux may be included, without taking advanced noise countermeasures.

さらに、従来技術においては、励磁信号とSIN信号、COS信号との位相のずれは、出力される角度の精度劣化や応答速度の低下につながるため、位相のずれを少なくしなければならない。通常は、±10度、もしくは±45度以下が求められる。しかし、本実施形態においては、励磁信号とSIN信号、COS信号との位相のずれは±90°より小さければ良い。従って、本実施形態においては高度な位相ずれ対策を行わなくても高精度に電気角θeを取得することができる。 Furthermore, in the prior art, a phase shift between the excitation signal, the SIN signal, and the COS signal leads to a deterioration in the accuracy of the output angle and a decrease in the response speed, so the phase shift must be reduced. Usually ±10 degrees or ±45 degrees or less is required. However, in this embodiment, the phase shift between the excitation signal, the SIN signal, and the COS signal should be less than ±90°. Therefore, in the present embodiment, the electrical angle θe can be obtained with high accuracy without taking advanced phase shift countermeasures.

(2)第2実施形態:
上述の第1実施形態においては、フーリエ変換によって得られた励磁フーリエ信号と出力フーリエ信号に基づいて位相の関係と振幅の関係を取得していたが、フーリエ変換が行われていないデジタルデータ列に基づいて位相の関係が取得されても良い。図5は、フーリエ変換が行われていないデジタルデータ列に基づいて位相の関係を取得する構成例を示す図である。
(2) Second embodiment:
In the first embodiment described above, the phase relationship and the amplitude relationship are acquired based on the excitation Fourier signal and the output Fourier signal obtained by Fourier transform. A phase relationship may be obtained based on. FIG. 5 is a diagram showing a configuration example for obtaining a phase relationship based on a digital data string that has not undergone Fourier transform.

図5においては、図1と同様の構成に図1と同一の符号を付して示している。ここでは、図1と異なる構成について説明し、図1と同一の構成については説明を省略する。図5に示す電気角取得システム100は、フーリエ変換によって励磁周波数成分を取得する励磁信号取得部20を備えていない。むろん、電気角θeの算出以外の目的(例えば断線検出等)で励磁信号を電気角取得システム100に入力しても良い。 In FIG. 5, the same components as in FIG. 1 are denoted by the same reference numerals as in FIG. Here, the configuration different from that of FIG. 1 will be described, and the description of the configuration that is the same as that of FIG. 1 will be omitted. The electrical angle acquisition system 100 shown in FIG. 5 does not include the excitation signal acquisition section 20 that acquires the excitation frequency component by Fourier transform. Of course, the excitation signal may be input to the electrical angle acquisition system 100 for purposes other than the calculation of the electrical angle θe (for example, wire breakage detection).

ただし、本実施形態においては励磁信号発生部130と位相関係取得部400とが接続されている。励磁信号発生部130は、パラメータ設定部70で設定された励磁周波数frで正弦波信号を生成する機能を有しており、励磁周波数frの正弦波信号のデジタルデータを生成し、当該正弦波信号のアナログ信号を増幅器12に出力する機能を有している。本実施形態において励磁信号発生部130は、当該正弦波信号のデジタルデータに基づいて、励磁信号として出力した正弦波信号の任意のタイミングでの振幅を出力可能である。従って、励磁信号発生部130は、サンプリング周波数fsで正弦波信号をサンプリングした場合と同等のデジタルデータ列を位相関係取得部400に出力することができる。位相関係取得部400においては、この出力に基づいて、励磁信号のデジタルデータ列を取得することができる。 However, in this embodiment, the excitation signal generator 130 and the phase relation acquisition unit 400 are connected. The excitation signal generation unit 130 has a function of generating a sine wave signal at the excitation frequency f r set by the parameter setting unit 70, and generates digital data of the sine wave signal at the excitation frequency f r . It has a function of outputting an analog wave signal to the amplifier 12 . In the present embodiment, the excitation signal generator 130 can output the amplitude at any timing of the sine wave signal output as the excitation signal based on the digital data of the sine wave signal. Therefore, the excitation signal generating section 130 can output to the phase relation acquiring section 400 a digital data string equivalent to that obtained by sampling a sine wave signal at the sampling frequency f s . Based on this output, the phase relationship acquisition section 400 can acquire a digital data string of the excitation signal.

出力信号取得部300は、上述の第1実施形態における出力信号取得部30と同等の機能(アナログデジタル変換部31b,31cおよびフーリエ変換部32b,32c)を備えているが、信号配線が異なっている。すなわち、アナログデジタル変換部31b,31cの出力は、フーリエ変換部32b,32cに供給されるとともに、位相関係取得部400にも供給される。 The output signal acquisition unit 300 has functions (analog-to-digital conversion units 31b and 31c and Fourier transform units 32b and 32c) equivalent to those of the output signal acquisition unit 30 in the above-described first embodiment, but signal wiring is different. there is That is, the outputs of the analog-to-digital converters 31b and 31c are supplied to the Fourier transformers 32b and 32c, and also supplied to the phase relationship acquisition section 400. FIG.

位相関係取得部400は、励磁信号と出力信号(SIN信号およびCOS信号)との位相の関係を取得する回路であるが、上述の第1実施形態とは異なる演算法で位相の関係を取得する。すなわち、位相関係取得部400は、励磁信号の正負を示す値と、出力信号との積によって位相の関係を取得する。 The phase relationship acquisition unit 400 is a circuit that acquires the phase relationship between the excitation signal and the output signal (SIN signal and COS signal). . In other words, the phase relation obtaining section 400 obtains the phase relation by multiplying the positive/negative value of the excitation signal by the output signal.

具体的には、位相関係取得部400は、励磁信号を示すデジタルデータ列p(n)を取得しながら、当該p(n)の値が正、負、0のいずれであるのかに基づいてp(n)をp'(n)に変換する。すなわち、位相関係取得部400は、p(n)>0ならばp'(n)=1、p(n)<0ならばp'(n)=-1、p(n)=0ならばp'(n)=0と変換する。ここで、nは0~N-1である。図6は、位相関係取得部400による処理の例を示す図であり、最上部には図3に示す励磁信号と同様の励磁信号p(n)が示されている。なお、サンプリングタイミングにおけるデジタルデータ列は白丸で示されている。図6においては、励磁信号p(n)の下部に変換後のp'(n)も示されている。これらの図に示されるように、変換後のp'(n)は、励磁信号の値の正負または0に応じて1,-1,0のいずれかを取るデジタルデータ列となる。このような変換によれば、励磁信号の振幅の影響を除外して位相の関係を評価することができる。なお、p'(n)は、p(n)から変換するのではなく、回路で生成する構成等であっても良い。 Specifically, while acquiring a digital data string p(n) indicating the excitation signal, the phase relationship acquisition unit 400 determines whether the value of p(n) is positive, negative, or 0. Convert (n) to p'(n). That is, if p(n)>0, p'(n)=1, if p(n)<0, p'(n)=-1, and if p(n)=0, Convert p'(n)=0. Here, n is 0 to N-1. FIG. 6 is a diagram showing an example of processing by the phase relationship acquisition unit 400, and an excitation signal p(n) similar to the excitation signal shown in FIG. 3 is shown at the top. A digital data string at the sampling timing is indicated by a white circle. In FIG. 6, p'(n) after conversion is also shown below the excitation signal p(n). As shown in these figures, p'(n) after conversion becomes a digital data string that takes either 1, -1, or 0 depending on whether the value of the excitation signal is positive or negative or 0. FIG. According to such conversion, the phase relationship can be evaluated while excluding the influence of the amplitude of the excitation signal. Note that p'(n) may be generated by a circuit instead of being converted from p(n).

位相関係取得部400は、このようにして得られたp'(n)とSIN信号s(n)との積の和に基づいて励磁信号とSIN信号との位相の関係を取得する。すなわち、位相関係取得部400は、以下の式(2)に基づいて判定指標Disを算出する。そして、位相関係取得部400は、判定指標Disが正であれば励磁信号とSIN信号とが同相であると判定し、判定指標Disが負であれば励磁信号とSIN信号とが逆相であると判定する。

Figure 0007251751000002
The phase relation obtaining section 400 obtains the phase relation between the excitation signal and the SIN signal based on the sum of the products of p′(n) and the SIN signal s(n) thus obtained. That is, the phase relationship acquisition section 400 calculates the determination index Dis based on the following equation (2). If the determination index Dis is positive, the phase relation acquisition unit 400 determines that the excitation signal and the SIN signal are in phase, and if the determination index Dis is negative, the excitation signal and the SIN signal are out of phase. I judge.
Figure 0007251751000002

なお、s(n)は、アナログデジタル変換部31bから位相関係取得部400に供給されたデジタルデータ列である。図6においては、SIN信号s(n)の例も示されており、当該SIN信号s(n)とp'(n)との積も示されている。この例の場合、SIN信号s(n)とp'(n)との積は正であるため判定指標Disも正となり、同相であると判定される。この判定結果は、図6に示す励磁信号とSIN信号との位相の関係に整合している。以上のような判定を行った結果、励磁信号とSIN信号とが同相であれば、位相関係取得部400はDirSin=1であることを示す信号を出力する。また、励磁信号とSIN信号とが逆相であれば、位相関係取得部400はDirSin=-1であることを示す信号を出力する。 Note that s(n) is a digital data string supplied from the analog-to-digital conversion unit 31b to the phase relationship acquisition unit 400. FIG. FIG. 6 also shows an example of the SIN signal s(n), and also shows the product of the SIN signal s(n) and p'(n). In this example, the product of the SIN signals s(n) and p'(n) is positive, so the determination index Dis is also positive, and it is determined that they are in phase. This determination result matches the phase relationship between the excitation signal and the SIN signal shown in FIG. As a result of the determination as described above, if the excitation signal and the SIN signal are in phase, the phase relation acquisition unit 400 outputs a signal indicating that DirSin=1. Also, if the excitation signal and the SIN signal are in opposite phases, the phase relation acquisition section 400 outputs a signal indicating DirSin=-1.

さらに、位相関係取得部400は、p'(n)とCOS信号c(n)との積の和に基づいて励磁信号とCOS信号との位相の関係を取得する。すなわち、位相関係取得部400は、以下の式(3)に基づいて判定指標Dicを算出する。そして、位相関係取得部400は、判定指標Dicが正であれば励磁信号とCOS信号とが同相であると判定し、判定指標Dicが負であれば励磁信号とCOS信号とが逆相であると判定する。

Figure 0007251751000003
Further, the phase relation obtaining section 400 obtains the phase relation between the excitation signal and the COS signal based on the sum of the products of p′(n) and the COS signal c(n). That is, the phase relationship acquisition section 400 calculates the determination index Dic based on the following equation (3). If the determination index Dic is positive, the phase relation acquisition unit 400 determines that the excitation signal and the COS signal are in phase, and if the determination index Dic is negative, the excitation signal and the COS signal are out of phase. I judge.
Figure 0007251751000003

なお、c(n)は、アナログデジタル変換部31cから位相関係取得部400に供給されたデジタルデータ列である。図6においては、COS信号c(n)の例も示されており、当該COS信号c(n)とp'(n)との積も示されている。この例の場合、COS信号c(n)とp'(n)との積は負であるため判定指標Dicも負となり、逆相であると判定される。この判定結果は、図6に示す励磁信号とCOS信号との位相の関係に整合している。以上のような判定を行った結果、励磁信号とCOS信号とが同相であれば、位相関係取得部400はDirCos=1であることを示す信号を出力する。また、励磁信号とCOS信号とが逆相であれば、位相関係取得部400はDirCos=-1であることを示す信号を出力する。なお、以上の演算は一例であり、例えば、式(2)式(3)においてp'(n)ではなくp(n)がs(n)やc(n)に乗じられる構成等であっても良い。 Note that c(n) is a digital data string supplied from the analog-to-digital conversion unit 31c to the phase relationship acquisition unit 400. FIG. FIG. 6 also shows an example of the COS signal c(n) and the product of the COS signal c(n) and p'(n). In this example, since the product of the COS signals c(n) and p'(n) is negative, the determination index Dic is also negative, and it is determined that the phase is reversed. This determination result matches the phase relationship between the excitation signal and the COS signal shown in FIG. As a result of the above determination, if the excitation signal and the COS signal are in phase, the phase relationship acquisition section 400 outputs a signal indicating that DirCos=1. Also, if the excitation signal and the COS signal are in opposite phases, the phase relationship acquisition section 400 outputs a signal indicating that DirCos=-1. Note that the above calculation is an example, and for example, in formulas (2) and (3), p(n) instead of p'(n) is multiplied by s(n) or c(n). Also good.

以上のようにして位相関係取得部400から出力される信号(DirSin、Dircos)は、上述の第1実施形態と同様であり、本実施形態における振幅取得部50は第1実施形態と同様である。従って、本実施形態における電気角取得部60は、位相関係取得部400の出力信号と振幅取得部50の出力信号とに基づいて、第1実施形態と同様の処理によって電気角を取得することができる。以上の構成においても、フーリエ変換によって出力信号の励磁周波数成分が取得されるため、励磁周波数成分以外の信号の影響を除外した状態で電気角θeを取得することができ、ノイズや位相のずれ等が生じたとしても正確に電気角θeを取得することができる。 The signals (DirSin, Dircos) output from the phase relationship acquisition unit 400 as described above are the same as in the first embodiment, and the amplitude acquisition unit 50 in the present embodiment is the same as in the first embodiment. . Therefore, the electrical angle acquisition unit 60 in this embodiment can acquire the electrical angle by performing the same processing as in the first embodiment based on the output signal of the phase relationship acquisition unit 400 and the output signal of the amplitude acquisition unit 50. can. Even in the above configuration, since the excitation frequency component of the output signal is obtained by Fourier transform, it is possible to obtain the electrical angle θe while excluding the effects of signals other than the excitation frequency component. Even if , the electrical angle θe can be obtained accurately.

(3)第3実施形態:
上述の第1実施形態においては、励磁信号がサンプリングされるタイミングと、出力信号がサンプリングされるタイミングは同時であったが、励磁信号取得部が励磁信号をサンプリングするタイミングと、出力信号取得部が2相の出力信号をサンプリングするタイミングは異なるタイミングであってもよい。図7は、励磁信号と2相の出力信号のサンプリングタイミングが異なる構成例を示す図である。
(3) Third embodiment:
In the first embodiment described above, the timing at which the excitation signal is sampled and the timing at which the output signal is sampled are the same. The timings for sampling the two-phase output signals may be different timings. FIG. 7 is a diagram showing a configuration example in which the excitation signal and the two-phase output signal are sampled at different timings.

図7においては、図1と同様の構成に図1と同一の符号を付して示している。ここでは、図1と異なる構成について説明し、図1と同一の構成については説明を省略する。図7に示す電気角取得システム110は、励磁信号取得部と出力信号取得部とが一部の機能を共有することで実現されている。この意味で、図7においては、励磁信号取得部と出力信号取得部とを1個の矩形内に示し、1個の符号310を付して示している。 In FIG. 7, the same components as in FIG. 1 are denoted by the same reference numerals as in FIG. Here, the configuration different from that of FIG. 1 will be described, and the description of the configuration that is the same as that of FIG. 1 will be omitted. The electrical angle acquisition system 110 shown in FIG. 7 is realized by sharing some functions of the excitation signal acquisition section and the output signal acquisition section. In this sense, in FIG. 7, the excitation signal acquisition section and the output signal acquisition section are shown in one rectangle and indicated by one reference numeral 310 .

符号310で示される励磁信号取得部および出力信号取得部は、マルチプレクサ211aとアナログデジタル変換部210aと、フーリエ変換部22a,32b,32cを備えている。フーリエ変換部22a,32b,32cの構成は第1実施形態と同様である。マルチプレクサ211aは3入力1出力のマルチプレクサであり、増幅器13a~13cの出力が接続されている。すなわち、マルチプレクサ211aは、一定のタイミングで入力と出力との関係を切り替える回路である。本実施形態においてマルチプレクサ211aは、パラメータ設定部70で設定されたサンプリング周波数fsからサンプリング周期1/fsを特定し、当該サンプリング周期1/fsの1/3の周期で入力と出力との関係を切り替える機能を有している。 The excitation signal acquisition section and the output signal acquisition section indicated by reference numeral 310 include a multiplexer 211a, an analog-to-digital conversion section 210a, and Fourier transformation sections 22a, 32b, and 32c. The configurations of Fourier transform units 22a, 32b, and 32c are the same as in the first embodiment. The multiplexer 211a is a 3-input 1-output multiplexer to which the outputs of the amplifiers 13a to 13c are connected. That is, the multiplexer 211a is a circuit that switches the relationship between input and output at a constant timing. In this embodiment, the multiplexer 211a specifies the sampling period 1/f s from the sampling frequency f s set by the parameter setting section 70, and the input and the output at a period that is ⅓ of the sampling period 1/f s . It has a function to switch relationships.

なお、本実施形態においてマルチプレクサ211aは、励磁信号、SIN信号、COS信号の順に出力する構成となっており、COS信号の後には再び励磁信号を出力する。従って、マルチプレクサ211aは、励磁信号、SIN信号、COS信号の順に出力する動作を繰り返す。むろん、各信号の順序は一例であり、順序は任意である。 In this embodiment, the multiplexer 211a is configured to output the excitation signal, the SIN signal, and the COS signal in this order, and outputs the excitation signal again after the COS signal. Therefore, the multiplexer 211a repeats the operation of outputting the excitation signal, the SIN signal, and the COS signal in this order. Of course, the order of each signal is an example, and the order is arbitrary.

アナログデジタル変換部210aは、励磁信号、SIN信号、COS信号のそれぞれをサンプリング周波数fsでサンプリングしたデジタルデータ列を生成するための回路である。すなわち、アナログデジタル変換部210aは、パラメータ設定部70で設定されたサンプリング周波数fsからサンプリング周期1/fsを特定し、アナログデジタル変換部210aに入力されたアナログ信号を当該サンプリング周期1/fsの1/3の周期でデジタルデータ列に変換する。 The analog-to-digital converter 210a is a circuit for generating a digital data string by sampling each of the excitation signal, the SIN signal, and the COS signal at the sampling frequency fs . That is, the analog-to-digital conversion section 210a identifies the sampling period 1/f s from the sampling frequency f s set by the parameter setting section 70, and converts the analog signal input to the analog-to-digital conversion section 210a to the sampling period 1/f. It converts to a digital data string at a period of 1/3 of s .

図8は、励磁信号、SIN信号、COS信号がサンプリングされる様子を説明する図である。同図8に示す各信号は、図3に示した各信号と同等である。ここでは、このような各信号からサンプリング周波数fsでサンプリング数N=8のデータを生成する例を説明する。アナログデジタル変換部210aは、サンプリング周期1/fsの1/3の周期で励磁信号、SIN信号、COS信号の順にサンプリングを行うが、図8においては、最初にサンプリングされる信号はCOS信号である例が示されており、サンプリングによってCOS信号のデジタルデータc(0)が生成される。この後、サンプリング周期1/fsの1/3の時間が経過すると、アナログデジタル変換部210aにはマルチプレクサ211aによって励磁信号が入力された状態となっている。従って、アナログデジタル変換部210aが次のサンプリングをすると、励磁信号のデジタルデータp(0)が生成される。 FIG. 8 is a diagram for explaining how the excitation signal, SIN signal, and COS signal are sampled. Each signal shown in FIG. 8 is equivalent to each signal shown in FIG. Here, an example of generating data of sampling number N=8 from each of such signals at sampling frequency f s will be described. The analog-to-digital converter 210a samples the excitation signal, the SIN signal, and the COS signal in this order with a period of 1/3 of the sampling period 1/ fs . An example is shown, where sampling produces digital data c(0) of the COS signal. After that, when ⅓ of the sampling period 1/ fs has passed, the excitation signal is input to the analog-to-digital converter 210a by the multiplexer 211a. Therefore, when the analog-to-digital converter 210a performs the next sampling, digital data p(0) of the excitation signal is generated.

さらに、サンプリング周期1/fsの1/3の時間が経過すると、アナログデジタル変換部210aにはマルチプレクサ211aによってSIN信号が入力された状態となっている。従って、アナログデジタル変換部210aが次のサンプリングをすると、SIN信号のデジタルデータs(0)が生成される。アナログデジタル変換部210aは、以後、サンプリング周期1/fsの1/3の周期でサンプリングを行うため、N×3回のデジタル変換が行われることで、COS信号c(0)~c(7)、励磁信号p(0)~p(7)、SIN信号s(0)~s(7)が生成される。 Further, when ⅓ of the sampling period 1/ fs has elapsed, the SIN signal is input to the analog-to-digital converter 210a by the multiplexer 211a. Therefore, when the analog-to-digital converter 210a performs the next sampling, digital data s(0) of the SIN signal is generated. Since the analog-to-digital conversion unit 210a thereafter performs sampling at a period of 1/3 of the sampling period 1/f s , the COS signals c(0) to c(7 ), excitation signals p(0) to p(7), and SIN signals s(0) to s(7).

さらに、アナログデジタル変換部210aは、フーリエ変換部22a,32b,32cに接続されており、サンプリング周期1/fsの1/3の周期で出力先を切り替える。すなわち、マルチプレクサ211aから励磁信号が出力されているタイミングにおいてアナログデジタル変換部210aがアナログデジタル変換を行った場合、アナログデジタル変換部210aは、変換後のデジタルデータをフーリエ変換部22aに出力する。マルチプレクサ211aからSIN信号が出力されているタイミングにおいてアナログデジタル変換部210aがアナログデジタル変換を行った場合、アナログデジタル変換部210aは、変換後のデジタルデータをフーリエ変換部32bに出力する。マルチプレクサ211aからCOS信号が出力されているタイミングにおいてアナログデジタル変換部210aがアナログデジタル変換を行った場合、アナログデジタル変換部210aは、変換後のデジタルデータをフーリエ変換部32cに出力する。 Further, the analog-to-digital converter 210a is connected to the Fourier transform units 22a, 32b, and 32c, and switches the output destination at a period of ⅓ of the sampling period 1/ fs . That is, when the analog-to-digital conversion unit 210a performs analog-to-digital conversion at the timing when the excitation signal is output from the multiplexer 211a, the analog-to-digital conversion unit 210a outputs the converted digital data to the Fourier transform unit 22a. When the analog-to-digital conversion unit 210a performs analog-to-digital conversion at the timing when the SIN signal is output from the multiplexer 211a, the analog-to-digital conversion unit 210a outputs the converted digital data to the Fourier transform unit 32b. When the analog-to-digital conversion unit 210a performs analog-to-digital conversion at the timing when the COS signal is output from the multiplexer 211a, the analog-to-digital conversion unit 210a outputs the converted digital data to the Fourier transform unit 32c.

本実施形態においては、アナログデジタル変換部210aがこの切り替えをサンプリング周期1/fsの1/3の周期で実施して繰り返すことにより、フーリエ変換部22aには、第1実施形態と同様に励磁信号を示すデジタルデータ列p(n)が入力される。同様に、フーリエ変換部32bには、第1実施形態と同様にSIN信号を示すデジタルデータ列s(n)が入力される。さらに、フーリエ変換部32cには、第1実施形態と同様にCOS信号を示すデジタルデータ列c(n)が入力される。 In the present embodiment, the analog-to-digital conversion unit 210a repeats this switching at a period of ⅓ of the sampling period 1/f s , so that the Fourier transform unit 22a receives an excitation signal as in the first embodiment. A digital data string p(n) representing a signal is input. Similarly, a digital data string s(n) representing a SIN signal is input to the Fourier transform unit 32b as in the first embodiment. Further, a digital data string c(n) representing a COS signal is input to the Fourier transform unit 32c as in the first embodiment.

以上のようにしてフーリエ変換部22a,32b,32cに入力される信号(p(n),s(n),c(n))は、上述の第1実施形態と同様であり、本実施形態におけるフーリエ変換部22a,32b,32c、位相関係取得部40、振幅取得部50、電気角取得部60は第1実施形態と同様である。従って、フーリエ変換部22a,32b,32c、位相関係取得部40、振幅取得部50、電気角取得部60が第1実施形態と同様の動作を行うことにより、電気角を取得することができる。以上の構成においても、フーリエ変換によって励磁信号および出力信号の励磁周波数成分が取得されるため、励磁周波数成分以外の信号の影響を除外した状態で電気角θeを取得することができ、ノイズや位相のずれ等が生じたとしても正確に電気角θeを取得することができる。 The signals (p(n), s(n), c(n)) input to the Fourier transform units 22a, 32b, and 32c as described above are the same as those in the above-described first embodiment. The Fourier transform units 22a, 32b, and 32c, the phase relationship acquisition unit 40, the amplitude acquisition unit 50, and the electrical angle acquisition unit 60 are the same as those in the first embodiment. Therefore, the Fourier transform units 22a, 32b, and 32c, the phase relationship acquisition unit 40, the amplitude acquisition unit 50, and the electrical angle acquisition unit 60 operate in the same manner as in the first embodiment, so that the electrical angle can be acquired. Even in the above configuration, since the excitation frequency components of the excitation signal and the output signal are obtained by Fourier transform, it is possible to obtain the electrical angle θe in a state where the influence of signals other than the excitation frequency component is excluded. It is possible to obtain the electrical angle θe accurately even if there is a deviation of the electric angle θe.

なお、本実施形態においては、マルチプレクサ211aおよびアナログデジタル変換部210aによって順番に励磁信号、SIN信号、COS信号のデジタル変換を実施するため、各信号の異なるタイミングにおけるデジタルデータが取り込まれる状態になる。従って、各デジタルデータが示す信号の位相がずれた状態となっている。そこで、本実施形態においては、当該位相のずれを補償する構成を備えていても良い。 In this embodiment, since the multiplexer 211a and the analog-to-digital converter 210a sequentially convert the excitation signal, the SIN signal, and the COS signal, digital data at different timings of each signal are captured. Therefore, the phases of the signals indicated by the digital data are out of phase. Therefore, in this embodiment, a configuration for compensating for the phase shift may be provided.

このような位相のずれの補償は、例えば、上述の第1実施形態における回転後の座標軸による励磁周波数成分の表現において、SIN信号の励磁周波数成分の実数部Sr'をSr'=Sr×cos(α+β)+Si×sin(α+β)として取得する構成等によって実現可能である。なお、βは、位相のずれ、すなわち、2π/(3fs)である。COS信号においては、励磁周波数成分の実数部Cr'をCr'=Cr×cos(α-β)+Ci×sin(α-β)として取得すればよい。以上の構成においては、SIN信号およびCOS信号の位相のずれが±90°より小さければ、励磁信号とSIN信号、COS信号との位相の関係を正確に特定することが可能である。なお、図8の例では、fs/fr=8/3=2.667>2であり、サンプリング定理fs>2frを満たしており、正確に電気角θeを取得することができる。なお、第3実施形態のように、マルチプレクサを使用する構成においては、例えば、第1実施形態等と比較してアナログデジタル変換部の数を低減することができる。従って、より低いコストで電気角取得システムを構成することができる。 For example, in the expression of the excitation frequency component by the coordinate axes after rotation in the first embodiment, the real part Sr' of the excitation frequency component of the SIN signal is represented by Sr'=Sr×cos(). It can be realized by a configuration or the like obtained as α+β)+Si×sin(α+β). where β is the phase shift, ie, 2π/(3f s ). In the COS signal, the real part Cr' of the excitation frequency component can be obtained as Cr'=Cr.times.cos(.alpha.-.beta.)+Ci.times.sin(.alpha.-.beta.). In the above configuration, if the phase shift between the SIN signal and the COS signal is less than ±90°, it is possible to accurately identify the phase relationship between the excitation signal, the SIN signal, and the COS signal. In the example of FIG. 8, f s /f r =8/3=2.667>2, which satisfies the sampling theorem f s >2f r , and the electrical angle θe can be obtained accurately. In addition, in a configuration using a multiplexer as in the third embodiment, for example, the number of analog-to-digital converters can be reduced compared to the first embodiment and the like. Therefore, the electrical angle acquisition system can be constructed at a lower cost.

(4)第4~第8実施形態:
他にも、上述の実施形態における特徴を組み合わせた任意の実施形態を構成することが可能である。図9は、図5に示す第2実施形態のように増幅器を介することなく励磁信号発生部から励磁信号のデジタルデータ列を位相関係取得部400に供給し、さらに、図7に示す第3実施形態のようにマルチプレクサを備える構成を示す図である。当該図9に示す第4実施形態においても、上述の実施形態と同様の構成には同一の符号が付してある。
(4) Fourth to Eighth Embodiments:
In addition, it is possible to construct any embodiment that combines the features of the embodiments described above. FIG. 9 supplies the digital data string of the excitation signal from the excitation signal generation unit to the phase relationship acquisition unit 400 without going through the amplifier as in the second embodiment shown in FIG. Fig. 3 shows an arrangement with a multiplexer as a form; Also in the fourth embodiment shown in FIG. 9, the same reference numerals are assigned to the same configurations as in the above-described embodiment.

図9に示す構成においては、マルチプレクサ221aが2入力1出力の構成であり、1個のアナログデジタル変換部220aによってSIN信号とCOS信号のそれぞれを順番にデジタルデータ化する。なお、マルチプレクサ221aは、2入力であるため、アナログデジタル変換部220aのサンプリング周期は、1/(2fs)である。このようにしてデジタルデータ列とされたSIN信号とCOS信号と、励磁信号発生部130が出力する励磁信号のデジタルデータ列が位相関係取得部400に入力される。また、アナログデジタル変換部220aによってデジタルデータ化されたSIN信号とCOS信号は、フーリエ変換部32b,32cのそれぞれでフーリエ変換され、励磁周波数成分が取得される。 In the configuration shown in FIG. 9, the multiplexer 221a has a 2-input 1-output configuration, and the single analog-to-digital converter 220a sequentially converts the SIN signal and the COS signal into digital data. Since the multiplexer 221a has two inputs, the sampling period of the analog-to-digital converter 220a is 1/(2f s ). The SIN signal and the COS signal thus converted into a digital data string and the digital data string of the excitation signal output from the excitation signal generation section 130 are input to the phase relation acquisition section 400 . The SIN signal and COS signal converted into digital data by the analog-to-digital converter 220a are Fourier-transformed by the Fourier-transformers 32b and 32c, respectively, to obtain excitation frequency components.

図10は、図1に示す第1実施形態から、励磁信号を増幅して取り込む増幅器13aや励磁信号取得部20を省略し、替わりに図5に示す第2実施形態と同様に励磁信号発生部130から位相関係取得部40に励磁信号が供給される構成である。ただし、当該図10に示す第5実施形態においては、励磁信号発生部130が出力する励磁信号のデジタルデータを、フーリエ変換部240aでフーリエ変換するように構成されている。フーリエ変換部240aでフーリエ変換された励磁フーリエ信号は位相関係取得部40に供給され、第1実施形態と同様の処理によって位相の関係が取得される。 FIG. 10 omits the amplifier 13a and the excitation signal acquisition unit 20 for amplifying and capturing the excitation signal from the first embodiment shown in FIG. An excitation signal is supplied from 130 to the phase relationship acquisition unit 40 . However, in the fifth embodiment shown in FIG. 10, the digital data of the excitation signal output by the excitation signal generation section 130 is Fourier transformed by the Fourier transformation section 240a. The excitation Fourier signal Fourier-transformed by the Fourier transform unit 240a is supplied to the phase relationship acquisition unit 40, and the phase relationship is acquired by the same processing as in the first embodiment.

図11は、図1に示す第1実施形態から、位相の関係を取得するためにフーリエ変換を行う構成を省略した構成である。ただし、当該図11に示す第6実施形態においては、励磁信号が増幅器13aによって増幅された信号を取り込むため、アナログデジタル変換部250aで励磁信号をデジタルデータ化する。アナログデジタル変換部250aでデジタルデータとされた励磁信号は位相関係取得部400に入力される。また、アナログデジタル変換部31b,31cによってデジタルデータとされたSIN信号およびCOS信号が位相関係取得部400に入力される。位相関係取得部400においては、第2実施形態と同様の処理によって位相の関係を取得する。 FIG. 11 shows a configuration in which the configuration for performing Fourier transform for obtaining the phase relationship is omitted from the first embodiment shown in FIG. However, in the sixth embodiment shown in FIG. 11, since the excitation signal takes in the signal amplified by the amplifier 13a, the excitation signal is converted into digital data by the analog-to-digital converter 250a. The excitation signal converted to digital data by the analog-to-digital converter 250 a is input to the phase relationship acquisition section 400 . Also, the SIN signal and the COS signal converted into digital data by the analog-to-digital converters 31 b and 31 c are input to the phase relation acquisition section 400 . The phase relationship acquisition unit 400 acquires the phase relationship by the same processing as in the second embodiment.

図12は、図9に示す第4実施形態の位相関係取得部400を位相関係取得部40に置換し、フーリエ変換後の励磁信号、SIN信号およびCOS信号に基づいて位相の関係を取得するように構成された第7実施形態を示す図である。なお、当該第7実施形態においては、励磁信号発生部130が出力した励磁信号のデジタルデータをフーリエ変換するため、フーリエ変換部360aが設けられている。 FIG. 12 replaces the phase relationship acquisition unit 400 of the fourth embodiment shown in FIG. FIG. 12 is a diagram showing a seventh embodiment configured to In the seventh embodiment, a Fourier transform section 360a is provided to Fourier transform the digital data of the excitation signal output by the excitation signal generator 130. FIG.

図13は、図7に示す第3実施形態において、フーリエ変換していないデジタルデータ列から位相の関係を取得するように構成した第8実施形態を示す図である。すなわち、第3実施形態においてフーリエ変換部22aを省略し、位相関係取得部40を位相関係取得部400に置換する。そして、アナログデジタル変換部210aの出力信号を位相関係取得部400に供給する構成とすることで第8実施形態を構成することができる。 FIG. 13 is a diagram showing an eighth embodiment in which the third embodiment shown in FIG. 7 is configured to obtain phase relationships from a digital data string that has not undergone Fourier transform. That is, the Fourier transform unit 22a is omitted in the third embodiment, and the phase relationship acquisition unit 40 is replaced with the phase relationship acquisition unit 400. FIG. The eighth embodiment can be configured by supplying the output signal of the analog-to-digital conversion section 210a to the phase relation acquisition section 400. FIG.

(5)第9実施形態:
さらに、電気角取得システムは、レゾルバ11の運用過程においてレゾルバの電気角を測定する構成以外にも、種々の目的に使用可能である。図14は、レゾルバ11が取得する電気角の取得特性を測定する電気角取得特性測定システム190の構成例を示す図である。すなわち、レゾルバ11の製造過程等においては、レゾルバ11における電気角の取得特性を特定した上で出荷される場合が多い。このような場合に、レゾルバ11の特性を測定する際にも電気角取得システムを使用することができる。
(5) Ninth Embodiment:
Furthermore, the electrical angle acquisition system can be used for various purposes other than the configuration for measuring the electrical angle of the resolver 11 during operation of the resolver. FIG. 14 is a diagram showing a configuration example of an electrical angle acquisition characteristic measurement system 190 that measures acquisition characteristics of an electrical angle acquired by the resolver 11. As shown in FIG. That is, in the manufacturing process of the resolver 11, it is often the case that the resolver 11 is shipped after the electrical angle acquisition characteristics of the resolver 11 are specified. In such a case, the electrical angle acquisition system can also be used when measuring the characteristics of the resolver 11 .

さらに、上述の第1実施形態においては、励磁信号取得部20および出力信号取得部30がアナログの励磁信号および出力信号を取得していたが、既にデジタルデータ化された励磁信号および出力信号を取得する構成であっても良い。図14の電気角取得特性測定システム190は、デジタルデータ化された励磁信号および出力信号を取得する構成を備えている。 Furthermore, in the above-described first embodiment, the excitation signal acquisition unit 20 and the output signal acquisition unit 30 acquire the analog excitation signal and the output signal. The configuration may be such that An electrical angle acquisition characteristic measurement system 190 in FIG. 14 has a configuration for acquiring an excitation signal and an output signal converted into digital data.

本実施形態においては、データ収集システム200によって励磁信号および出力信号がデジタルデータ化される。データ収集システム200は、上述の第1実施形態と同様の増幅器13a~13cと、アナログデジタル変換部21a,31b,31cを備えている。これらの機能は第1実施形態と同一である。従って、増幅器12で増幅された励磁信号が増幅器13aでさらに増幅され、アナログデジタル変換部21aでデジタルデータ列に変換される。また、レゾルバ11からの出力信号であるSIN信号は増幅器13bで増幅され、アナログデジタル変換部31bでデジタルデータ列に変換される。レゾルバ11からの出力信号であるCOS信号は増幅器13cで増幅され、アナログデジタル変換部31cでデジタルデータ列に変換される。 In this embodiment, the data acquisition system 200 digitizes the excitation signal and the output signal. The data acquisition system 200 includes amplifiers 13a to 13c and analog-to-digital converters 21a, 31b, and 31c similar to those of the first embodiment. These functions are the same as those of the first embodiment. Therefore, the excitation signal amplified by the amplifier 12 is further amplified by the amplifier 13a and converted into a digital data string by the analog-to-digital converter 21a. Also, the SIN signal, which is the output signal from the resolver 11, is amplified by the amplifier 13b and converted into a digital data string by the analog-to-digital converter 31b. A COS signal, which is an output signal from the resolver 11, is amplified by the amplifier 13c and converted into a digital data string by the analog-to-digital converter 31c.

データ収集システム200は、FIFOメモリ201を備えている。また、データ収集システム200は、通信ケーブルによって電気角取得特性測定システム190に接続されている。FIFOメモリ201は、アナログデジタル変換部21a,31b,31cが出力するデジタルデータ列を記録し、先入れ先出し形式で電気角取得特性測定システム190にデジタルデータ列を出力する。なお、データ収集システム200と電気角取得特性測定システム190とを接続する通信ケーブルは種々のケーブルであって良く、例えば、USBケーブル等を採用可能である。 The data collection system 200 has a FIFO memory 201 . The data collection system 200 is also connected to the electrical angle acquisition characteristic measurement system 190 via a communication cable. The FIFO memory 201 records the digital data strings output from the analog-to-digital converters 21a, 31b, and 31c, and outputs the digital data strings to the electrical angle acquisition characteristic measurement system 190 in a first-in, first-out format. Various cables may be used as the communication cable connecting the data collection system 200 and the electrical angle acquisition characteristic measurement system 190. For example, a USB cable or the like may be used.

本実施形態において、モータ15aのシャフト(またはシャフトに連動して回転する部位)には、レゾルバ11のロータとエンコーダ15cが取り付けられている。モータ15aはモータドライバ15bから供給される電力によってシャフトを回転させる。エンコーダ15cは、ロータの回転角度に応じた信号(ABZ信号)を出力する。むろん、エンコーダ15cの出力態様は一例であり、絶対角が取得される構成等であっても良い。エンコーダ15cの出力信号は、データ収集システム200に入力され、他の信号と同時にサンプリングされる。 In this embodiment, the rotor of the resolver 11 and the encoder 15c are attached to the shaft of the motor 15a (or a portion that rotates in conjunction with the shaft). The motor 15a rotates the shaft by electric power supplied from the motor driver 15b. The encoder 15c outputs a signal (ABZ signal) corresponding to the rotation angle of the rotor. Of course, the output mode of the encoder 15c is an example, and a configuration or the like in which an absolute angle is obtained may be used. The output signal of encoder 15c is input to data acquisition system 200 and sampled simultaneously with other signals.

データ収集システム200は、エンコーダ15cの出力信号を取り込む機械角変換部202を備えている。機械角変換部202は、エンコーダ15cの出力信号を機械角に変換する機能を有する回路である。すなわち、機械角変換部202は、エンコーダ15cの出力信号に基づいて、ロータの機械角(0°~360°)を示すデータを生成し、FIFOメモリ201に記憶させる。当該機械角を示すデータも、先入れ先出し形式で電気角取得特性測定システム190に出力される。なお、本実施形態においては、エンコーダ15cの出力信号から得られた機械角がリファレンスとなる。 The data collection system 200 includes a mechanical angle converter 202 that takes in the output signal of the encoder 15c. The mechanical angle converter 202 is a circuit having a function of converting the output signal of the encoder 15c into a mechanical angle. That is, the mechanical angle converter 202 generates data indicating the mechanical angle (0° to 360°) of the rotor based on the output signal of the encoder 15c, and stores the data in the FIFO memory 201. FIG. Data indicating the mechanical angle is also output to the electrical angle acquisition characteristic measurement system 190 in a first-in, first-out format. In this embodiment, the mechanical angle obtained from the output signal of the encoder 15c serves as a reference.

電気角取得特性測定システム190は、汎用的なコンピュータであり、CPU等を含む図示しない制御部を備えている。当該制御部は、図示しないプログラムを実行することが可能であり、当該プログラムにより、メモリ191を適宜利用して第1実施形態と同様の種々の機能を実行することができる。すなわち、制御部は、励磁信号取得部290、出力信号取得部390、位相関係取得部40、振幅取得部50、電気角取得部60、パラメータ設定部700として機能する。ここで、第1実施形態と同一の機能は同一の符号で表記している。なお、制御部は、これらの機能以外にも精度取得部800として機能する。 The electrical angle acquisition characteristic measurement system 190 is a general-purpose computer, and includes a control unit (not shown) including a CPU and the like. The control unit can execute a program (not shown), and the program can use the memory 191 as appropriate to execute various functions similar to those of the first embodiment. That is, the control section functions as an excitation signal acquisition section 290 , an output signal acquisition section 390 , a phase relationship acquisition section 40 , an amplitude acquisition section 50 , an electrical angle acquisition section 60 and a parameter setting section 700 . Here, the same functions as in the first embodiment are denoted by the same reference numerals. Note that the control unit functions as the accuracy acquisition unit 800 in addition to these functions.

電気角取得特性測定システム190においては、利用者が与えたトリガ等に応じてメモリ191におけるデータの取り込みの開始や停止を実施可能である。取り込みが開始されると、データ収集システム200から出力された励磁信号および出力信号のデジタルデータや機械角を示すデータがメモリ191に記録される。 In the electrical angle acquisition characteristic measurement system 190, the acquisition of data in the memory 191 can be started or stopped in response to a trigger or the like given by the user. When the acquisition is started, the digital data of the excitation signal and the output signal output from the data acquisition system 200 and the data indicating the mechanical angle are recorded in the memory 191 .

励磁信号取得部290は、フーリエ変換部22aを有しており、第1実施形態と同様のフーリエ変換を実施可能である。すなわち、励磁信号取得部290は、メモリ191を参照してデジタルデータ化された励磁信号を取得し、フーリエ変換部22aの機能によって励磁信号の励磁周波数成分P(m)を取得し、出力する。出力信号取得部390は、フーリエ変換部32b,32cを有しており、第1実施形態と同様のフーリエ変換を実施可能である。すなわち、出力信号取得部390は、メモリ191を参照してデジタルデータ化されたSIN信号を取得し、フーリエ変換部32bの機能によってSIN信号の励磁周波数成分S(m)を取得し、出力する。また、出力信号取得部390は、メモリ191を参照してデジタルデータ化されたCOS信号を取得し、フーリエ変換部32cの機能によってCOS信号の励磁周波数成分C(m)を取得し、出力する。 The excitation signal acquisition unit 290 has a Fourier transform unit 22a, and can perform the same Fourier transform as in the first embodiment. That is, the excitation signal acquisition unit 290 acquires the excitation signal converted into digital data by referring to the memory 191, and acquires and outputs the excitation frequency component P(m) of the excitation signal by the function of the Fourier transform unit 22a. The output signal acquisition unit 390 has Fourier transform units 32b and 32c, and can perform the same Fourier transform as in the first embodiment. That is, the output signal acquisition unit 390 acquires the SIN signal converted into digital data by referring to the memory 191, acquires the excitation frequency component S(m) of the SIN signal by the function of the Fourier transform unit 32b, and outputs it. Also, the output signal acquisition unit 390 acquires the COS signal digitized by referring to the memory 191, and acquires and outputs the excitation frequency component C(m) of the COS signal by the function of the Fourier transform unit 32c.

位相関係取得部40、振幅取得部50、電気角取得部60は、第1実施形態と同様の機能を有している。ただし、本実施形態において、これらの機能はソフトウェアによって実現される。電気角取得部60が電気角θeを取得すると、精度取得部800は、取得された電気角θeとリファレンスとのずれを示す情報を取得し、出力する。 The phase relation acquisition unit 40, the amplitude acquisition unit 50, and the electrical angle acquisition unit 60 have functions similar to those of the first embodiment. However, in this embodiment, these functions are realized by software. When the electrical angle acquisition unit 60 acquires the electrical angle θe, the accuracy acquisition unit 800 acquires and outputs information indicating the deviation between the electrical angle θe thus acquired and the reference.

精度取得部800は、ロータの機械角に基づいて、電気角取得部60が取得した電気角の精度を取得する機能を有している。すなわち、データ収集システム200においては、機械角変換部202がエンコーダ15cの出力信号に基づいてロータの機械角を取得してリファレンスとするため、本実施形態では当該リファレンスに基づいて電気角の精度を取得する。 The accuracy acquisition unit 800 has a function of acquiring the accuracy of the electrical angle acquired by the electrical angle acquisition unit 60 based on the mechanical angle of the rotor. That is, in the data acquisition system 200, the mechanical angle conversion unit 202 acquires the mechanical angle of the rotor based on the output signal of the encoder 15c and uses it as a reference. get.

電気角の精度は、種々の指標で特定されて良く、本実施形態においては、機械角誤差=(電気角-(軸倍角×機械角))/軸倍角が精度を示す指標である。精度取得部800は、エンコーダ15cの出力信号から得られた機械角と、電気角取得部60が取得した電気角θeと軸倍角とに基づいて機械角誤差を取得する。なお、軸倍角が2以上の場合、軸倍角×機械角が360°より大きくなる場合があるため、軸倍角×機械角が360°より大きい場合、軸倍角×機械角が360°未満になるまで360°を減じる処理を繰り返す。 Accuracy of the electrical angle may be specified by various indexes, and in the present embodiment, mechanical angle error=(electrical angle−(axis multiple angle×mechanical angle))/axis multiple angle is an indicator of accuracy. The accuracy acquisition unit 800 acquires the mechanical angle error based on the mechanical angle obtained from the output signal of the encoder 15 c and the electrical angle θe and the shaft angle multiplier obtained by the electrical angle acquisition unit 60 . In addition, if the shaft angle multiplier is 2 or more, the shaft angle multiplier x mechanical angle may be greater than 360°. Repeat the process of subtracting 360 degrees.

機械角誤差が取得されると、精度取得部800は機械角誤差を出力する。なお、出力態様は、種々の態様であって良く、例えば、機械角を横軸とし、機械角誤差を縦軸としたグラフ等であっても良いし、機械角誤差の統計値等であっても良く、種々の態様を想定可能である。また、電気角の精度は、ロータの機械角に基づいて評価されれば良く、当該機械角を電気角に変換し、変換後の電気角と電気角取得部60が取得した電気角θeとの差分等によって精度が評価されても良く、種々の構成を採用可能である。また、出力先も限定されず、図示しないディスプレイ以外にも、測定データを記録するための図示しないデータベースや、図示しないプリンター等が出力先となる構成等であっても良い。 After obtaining the mechanical angle error, the accuracy obtaining unit 800 outputs the mechanical angle error. The output mode may be in various modes, for example, it may be a graph with the mechanical angle on the horizontal axis and the mechanical angle error on the vertical axis, or it may be a statistical value of the mechanical angle error. It is also possible to assume various aspects. Further, the accuracy of the electrical angle may be evaluated based on the mechanical angle of the rotor. Accuracy may be evaluated by a difference or the like, and various configurations can be adopted. Also, the output destination is not limited, and a database (not shown) for recording measurement data, a printer (not shown), etc., other than a display (not shown) may serve as an output destination.

なお、本実施形態において、パラメータ設定部700は、キーボード等の入力部による利用者の入力に基づいてパラメータの入力を受け付けることができる。パラメータ設定部700は、上述の第1実施形態と同様にサンプリング数Nを受け付けることが可能であり、受け付けたパラメータでフーリエ変換部22a,32b,32cにフーリエ変換を実施させることができる。従って、例えば、励磁信号発生部13における励磁信号の励磁周波数frが10kHzであり、アナログデジタル変換部21a,31b,31cにおけるサンプリング周波数fsが320kHzに設定されている場合等において、利用者は、f/fが1/32であることに基づいてNを32,64などと設定することにより、m=N×fr/fsを整数にすることが可能である。 In this embodiment, the parameter setting unit 700 can receive input of parameters based on user input through an input unit such as a keyboard. The parameter setting unit 700 can receive the number of samples N as in the first embodiment, and can cause the Fourier transform units 22a, 32b, and 32c to perform Fourier transform using the received parameters. Therefore, for example, when the excitation frequency f r of the excitation signal in the excitation signal generator 13 is 10 kHz and the sampling frequency f s in the analog-to-digital converters 21a, 31b, and 31c is set to 320 kHz, the user can , f r /f s being 1/32, it is possible to make m=N×fr/fs an integer by setting N to 32, 64, etc.

むろん、パラメータ設定部700においてサンプリング周波数fs、励磁周波数frを受け付け、データ収集システム200におけるアナログデジタル変換のサンプリング周波数を制御可能であっても良いし、励磁信号発生部13における励磁信号の励磁周波数を制御可能であっても良い。 Of course, the parameter setting unit 700 may accept the sampling frequency f s and the excitation frequency f r to control the sampling frequency for analog-to-digital conversion in the data collection system 200, or the excitation signal generation unit 13 may be able to The frequency may be controllable.

本実施形態において、パラメータ設定部700は、さらに、モータ15aを制御するためのパラメータの入力を受け付けることができ、当該パラメータでモータ15aを制御することができる。この意味で、パラメータ設定部700はモータ制御部として機能する。すなわち、パラメータ設定部700は、モータ15aを動作させるためのパラメータ、例えば、回転速度や、一定期間毎に一定角度回転させる際の期間および角度等を設定することができる。 In the present embodiment, the parameter setting unit 700 can further receive input of parameters for controlling the motor 15a, and can control the motor 15a with the parameters. In this sense, the parameter setting section 700 functions as a motor control section. That is, the parameter setting unit 700 can set parameters for operating the motor 15a, such as the rotation speed, and the period and angle for rotating the motor 15a by a certain angle at regular intervals.

モータ15aを操作させるためのパラメータが入力されると、パラメータ設定部700からモータドライバ15bに対してパラメータに応じた制御信号が出力される。この結果モータドライバ15bは、当該パラメータが示す動作でモータ15aが駆動するようにモータ15aを制御する。 When a parameter for operating the motor 15a is input, a control signal corresponding to the parameter is output from the parameter setting section 700 to the motor driver 15b. As a result, the motor driver 15b controls the motor 15a so that the motor 15a is driven by the operation indicated by the parameter.

以上の構成において、利用者の指示等により測定開始トリガが発生すると、パラメータ設定部700がモータ制御部として機能し、モータ15aの動作パラメータに応じた制御信号をモータドライバ15bに出力する。この結果モータドライバ15bがモータ15aを回転駆動させ、パラメータに応じた回転を行わせる。 In the above configuration, when a measurement start trigger is generated by a user's instruction or the like, the parameter setting section 700 functions as a motor control section and outputs a control signal corresponding to the operation parameter of the motor 15a to the motor driver 15b. As a result, the motor driver 15b drives the motor 15a to rotate according to the parameters.

また、電気角取得特性測定システム190は、測定開始トリガに応じてメモリ191に対する取り込みを開始する。この結果、励磁信号および出力信号のデジタルデータや機械角を示すデータがメモリ191に記録される。この後、電気角取得特性測定システム190は、FIFOメモリ201がオーバーフローしないように、定期的にFIFOメモリ201のデータを取り込む。 Also, the electrical angle acquisition characteristic measurement system 190 starts taking data into the memory 191 in response to a measurement start trigger. As a result, digital data of the excitation signal and the output signal and data indicating the mechanical angle are recorded in the memory 191 . Thereafter, the electrical angle acquisition characteristic measurement system 190 periodically takes in the data in the FIFO memory 201 so that the FIFO memory 201 does not overflow.

機械角0°~360°に相当するデジタルデータ列がメモリ191に取り込まれると、パラメータ設定部700は、モータドライバ15bに制御信号を出力してモータ15aの回転を停止させる。さらに、励磁信号取得部290および出力信号取得部390は、フーリエ変換処理を開始する。なお、エンコーダ15cの出力信号に基づいて機械角が取得された時点での電気角を計算する際にフーリエ変換に算入されるデータは、種々の手法で特定されて良い。例えば、当該時点を中心に前後ほぼ等しい数のデータをサンプリング数N個収集してフーリエ変換に算入する構成等を採用可能である。なお、サンプルの収集は、当該時点を含む前後の期間におけるサンプルがN個収集される構成であれば良い。 When the digital data string corresponding to the mechanical angles of 0° to 360° is loaded into the memory 191, the parameter setting section 700 outputs a control signal to the motor driver 15b to stop the rotation of the motor 15a. Further, excitation signal acquisition section 290 and output signal acquisition section 390 start Fourier transform processing. Data to be included in the Fourier transform when calculating the electrical angle at the time when the mechanical angle is acquired based on the output signal of the encoder 15c may be specified by various methods. For example, it is possible to employ a configuration in which N sampling numbers of data are collected before and after the point in question and are included in the Fourier transform. It should be noted that samples may be collected as long as N samples are collected in periods before and after the time point.

以上のようにして、N個のサンプルが収集されると、フーリエ変換部22a、32b,32cがフーリエ変換を行い、その結果に基づいて位相関係取得部40が位相の関係を取得し、振幅取得部50が振幅を取得する。そして、これらの結果に基づいて電気角取得部60が電気角θeを取得し、精度取得部800が機械角誤差を取得する。このような処理は、エンコーダ15cの出力信号によって特定された複数の機械角について実施され、当該複数の機械角のそれぞれにおける機械角誤差が取得される。以上の構成によれば、数秒程度で機械角毎の機械角誤差が取得される。上述の特許文献1のようなトラッキングループ型デジタル角度変換器を使用して電気角取得特性測定システムを構築する場合、測定データが落ち着くまで時間がかかることや、FIFOメモリが備わっていないため、ロータが停止した状態で測定し、移動させ、再度停止させて測定する作業を繰り返す必要がある。このため、例えば、1周で72点の機械角誤差を取得するのに、回転を開始してから数分を要していた。しかし、本実施形態においてはモータ15aを停止させる必要はなく、例えば、1周512点の機械角誤差を取得するのに、モータ15aの回転開始から数秒程度で機械角誤差が取得され、レゾルバ11の特性として評価することが可能になる。従って、製造段階でレゾルバ11の良否の判定等に多大な効果がある。 As described above, when N samples are collected, the Fourier transform units 22a, 32b, and 32c perform Fourier transform, the phase relationship acquisition unit 40 acquires the phase relationship based on the result, and the amplitude is acquired. A unit 50 obtains the amplitude. Based on these results, the electrical angle acquisition section 60 acquires the electrical angle θe, and the accuracy acquisition section 800 acquires the mechanical angle error. Such processing is performed for a plurality of mechanical angles specified by the output signal of the encoder 15c, and a mechanical angle error is obtained for each of the plurality of mechanical angles. According to the above configuration, the mechanical angle error for each mechanical angle is obtained in several seconds. When constructing an electrical angle acquisition characteristic measurement system using a tracking loop type digital angle converter such as the above-mentioned Patent Document 1, it takes time for the measurement data to settle down and the rotor is not equipped with a FIFO memory. It is necessary to repeat the work of measuring while stopped, moving, stopping again, and measuring. For this reason, for example, it takes several minutes after the start of rotation to obtain 72 mechanical angle errors in one revolution. However, in this embodiment, it is not necessary to stop the motor 15a. It becomes possible to evaluate as a characteristic of Therefore, there is a great effect in judging whether the resolver 11 is good or bad in the manufacturing stage.

なお、電気角取得特性測定システム190において電気角を取得するための構成は、図14に示す構成以外にも種々の構成を採用可能である。例えば、電気角を取得するための構成が、第2実施形態~第8実施形態のいずれかの構成であってもよい。従って、例えば、フーリエ変換されていない励磁信号および出力信号のデジタルデータに基づいて励磁信号と出力信号との位相の関係が取得されても良い。また、例えば、データ収集システム200において励磁信号や出力信号を取り込む際に、マルチプレクサが利用されても良い。さらに、ロータがモータ15a以外の動力によって回転駆動されても良い。例えば、手動や空気圧、油圧、バネ等の弾性力等によってロータが回転駆動される構成等が採用されてもよい。さらに、モータ15aの回転がギア等を介してロータに伝達されても良いし、モータ15aのシャフトがギアを介して回転する構成等であっても良い。 Various configurations other than the configuration shown in FIG. 14 can be employed for the configuration for acquiring the electrical angle in the electrical angle acquisition characteristic measurement system 190 . For example, the configuration for obtaining the electrical angle may be any one of the configurations of the second to eighth embodiments. Therefore, for example, the phase relationship between the excitation signal and the output signal may be obtained based on the digital data of the excitation signal and the output signal that are not Fourier transformed. Also, for example, a multiplexer may be used when acquiring excitation signals and output signals in the data acquisition system 200 . Furthermore, the rotor may be rotationally driven by power other than the motor 15a. For example, a configuration in which the rotor is rotationally driven by manual operation, air pressure, hydraulic pressure, elastic force such as a spring, or the like may be adopted. Further, the rotation of the motor 15a may be transmitted to the rotor via a gear or the like, or the shaft of the motor 15a may rotate via a gear.

(6)他の実施形態:
以上の実施形態は本発明を実施するための一例であり、本発明の要旨を逸脱しない範囲内において他にも種々の実施形態を採用可能である。例えば、電気角取得システムや電気角取得特性測定システムがノイズ低減のためのフィルタを備えていても良い。フィルタは各所に配置可能であるが、例えば、デジタルデータ列に対してフィルタリングするのであれば、アナログデジタル変換部21a,31b,31cのそれぞれとフーリエ変換部22a,32b,32cのそれぞれとの間にデジタルフィルタを配置する構成等を採用可能である。デジタルフィルタは、種々の態様であって良く、FIR(Finite impulse response)、IIR(Infinite impulse response)、バタワース形式のローパスフィルタやバンドパスフィルタ等を採用可能である。むろん、電気角θeを取得し、さらに他の値、例えば、ロータの回転速度等を取得する構成であってもよい。
(6) Other embodiments:
The above embodiment is an example for carrying out the present invention, and various other embodiments can be adopted without departing from the gist of the present invention. For example, the electrical angle acquisition system and the electrical angle acquisition characteristic measurement system may include a filter for noise reduction. Filters can be placed in various places. For example, if filtering is performed on a digital data string, the filters are placed between each of the analog-to-digital converters 21a, 31b, 31c and each of the Fourier transformers 22a, 32b, 32c. A configuration in which a digital filter is arranged or the like can be adopted. The digital filter may take various forms, such as FIR (Finite impulse response), IIR (Infinite impulse response), Butterworth low-pass filter, band-pass filter, and the like. Of course, the configuration may be such that the electrical angle θe is acquired, and further other values such as the rotational speed of the rotor are acquired.

さらに、振幅の最大値が一致していないSIN信号とCOS信号に基づいて楕円補正を行う構成であっても良い。すなわち、上述の実施形態においては、SIN信号の振幅はKsinθeでありCOS信号の振幅はKcosθeであるため、振幅の最大値が
一致する。しかし、両信号の振幅の最大値を完全に一致させるために増幅器13b,13cの増幅率や、出力巻線の巻線数を詳細に調整することが必要になると、電気角θeを取得するための準備が煩雑になる場合がある。
Furthermore, the ellipse correction may be performed based on the SIN signal and the COS signal having different maximum amplitude values. That is, in the above embodiment, the amplitude of the SIN signal is Ksin θe and the amplitude of the COS signal is Kcos θe, so the maximum values of the amplitudes match. However, if it becomes necessary to finely adjust the amplification factors of the amplifiers 13b and 13c and the number of turns of the output windings in order to completely match the maximum values of the amplitudes of both signals, preparation may be complicated.

そこで、SIN信号とCOS信号における振幅の最大値が不一致である状態で測定を行ってもよい。すなわち、増幅器13bによる増幅後のSIN信号がb・sinθe・sin(2πfrt)、増幅器13cによる増幅後のCOS信号がa・cosθe・sin(2πfrt)である場合を想定する。ただし、b≠aである。 Therefore, measurement may be performed in a state where the maximum values of the amplitudes of the SIN signal and the COS signal do not match. That is, it is assumed that the SIN signal after being amplified by the amplifier 13b is b·sin θe·sin(2πf r t), and the COS signal after being amplified by the amplifier 13c is a·cos θe·sin(2πf r t). However, b≠a.

この場合において、図2Cに示すような電気角θeによるSIN信号とCOS信号との振幅の変化を示す図を作成すると、振幅値のプロットが円にならず楕円になる。図15は、a>bである場合における電気角θeによるSIN信号とCOS信号との振幅の変化を示す図である。図15においては、振幅値のプロットを二点鎖線で示しており、同図15に示すようにプロット結果は楕円になる。一方、SIN信号とCOS信号の振幅の最大値が等しい場合における振幅値のプロットは、一点鎖線で示すような円形になる。 In this case, if a diagram showing changes in the amplitudes of the SIN signal and the COS signal with respect to the electrical angle θe as shown in FIG. 2C is created, the plot of the amplitude values will be an ellipse instead of a circle. FIG. 15 is a diagram showing changes in the amplitudes of the SIN signal and the COS signal depending on the electrical angle θe when a>b. In FIG. 15, the plot of amplitude values is indicated by a two-dot chain line, and the plot result is an ellipse as shown in FIG. On the other hand, when the SIN signal and the COS signal have the same maximum amplitude value, the plot of the amplitude value is circular as indicated by the dashed-dotted line.

ここで、COS信号の振幅値がxとなる場合の振幅値を、振幅値が不一致の場合についてy、振幅値が一致する場合についてy'とすると、y'=(a/b)yとなる。従って、この関係を利用すれば、振幅値が不一致である場合の電気角θeを取得することが可能になる。具体的には、例えば、第1実施形態において、振幅取得部50が、一方の出力信号であるSIN信号の励磁周波数成分における振幅をa/b倍に補正するか、または、他方の出力信号であるCOS信号の励磁周波数成分における振幅をb/a倍に補正する構成を採用可能である。すなわち、振幅取得部50が、上述のPwrSinを(a/b)PwrSinに補正する構成や、PwrCosを(b/a)PwrCosに補正する構成等を採用可能である。以上の構成の場合、補正は電気角θeを取得する段階で1度実行すればよく、演算量を低減することができる。また、SIN信号をデジタルデータ化したデータ列をs(n)、COS信号をデジタルデータ化したデータ列をc(n)とした場合において、s(n)を(a/b)s(n)と補正する構成や、c(n)を(b/a)c(n)と補正する構成等を採用可能である。なお、この構成において、補正は、サンプリング毎に行われる。なお、a,bは、増幅器13b,13cの出力信号における振幅の最大値を測定して取得する構成や、パラメータ設定部70によって設定される構成等を採用可能であり、種々の構成を採用可能である。なお、前者の場合、ロータを複数回回転させて振幅の最大値を測定すれば、より正確な値を取得することができる。
Here, if the amplitude value when the amplitude value of the COS signal is x is y when the amplitude values do not match and y′ when the amplitude values match, then y′=(a/b)y. . Therefore, by using this relationship, it is possible to obtain the electrical angle θe when the amplitude values do not match. Specifically, for example, in the first embodiment, the amplitude acquisition unit 50 corrects the amplitude of the excitation frequency component of the SIN signal, which is one of the output signals, by a/b times, or It is possible to employ a configuration in which the amplitude of the excitation frequency component of a certain COS signal is corrected b/a times. That is, the amplitude acquisition unit 50 can employ a configuration for correcting PwrSin to (a/b)PwrSin, a configuration for correcting PwrCos to (b/a)PwrCos, or the like. In the case of the above configuration, correction may be performed once at the stage of obtaining the electrical angle θe, and the amount of calculation can be reduced. Further, when a data string obtained by digitizing the SIN signal is s(n) and a data string obtained by digitizing the COS signal is c(n), s(n) is represented by (a/b)s(n) and a configuration for correcting c(n) as (b/a)c(n). Note that in this configuration, correction is performed for each sampling. For a and b, a configuration obtained by measuring the maximum value of the amplitude in the output signals of the amplifiers 13b and 13c, a configuration set by the parameter setting unit 70, etc. can be adopted, and various configurations can be adopted. is. In the former case, a more accurate value can be obtained by rotating the rotor a plurality of times and measuring the maximum value of the amplitude.

さらに、電気角取得システムにおいては、ある瞬間の電気角θeを取得するためにサンプリング数Nのサンプルの収集を必要とするため、当該サンプリング数Nの収集の過程でロータが回転すると、測定値と現在の値とで誤差が発生し得る。そこで、このような誤差を補正する構成が採用されてもよい。例えば、サンプリング数Nの収集に要する期間をロータの回転速度から演算したり、ロータの回転速度に対する誤差の特性を予め演算や統計等によって算出したりすれば、誤差の特性を特定することができる。そこで、当該特性に基づいて特定される誤差を、電気角θeから減じた値を電気角θeとして取得する構成が採用されてもよい。なお、誤差の特性は、例えば、回転速度に対する誤差の関係を示す関数等によって特定可能である。この場合、ロータの回転速度と誤差との関係がパラメータ設定部70によって設定され、ロータの回転速度に応じて誤差が特定され、電気角θeが補正される構成等を採用可能である。 Furthermore, in the electrical angle acquisition system, it is necessary to collect samples of the number of samplings N in order to acquire the electrical angle θe at a certain moment. An error may occur with the current value. Therefore, a configuration for correcting such errors may be employed. For example, the error characteristics can be specified by calculating the period required to collect the sampling number N from the rotor rotation speed, or by calculating the error characteristics with respect to the rotor rotation speed in advance by calculation, statistics, or the like. . Therefore, a configuration may be adopted in which a value obtained by subtracting the error specified based on the characteristic from the electrical angle θe is obtained as the electrical angle θe. It should be noted that the error characteristics can be specified by, for example, a function that indicates the relationship between the error and the rotational speed. In this case, it is possible to adopt a configuration in which the relationship between the rotor rotation speed and the error is set by the parameter setting unit 70, the error is specified according to the rotor rotation speed, and the electrical angle θe is corrected.

さらに、パラメータ設定部70,700においては、上述のサンプリング周波数fs、サンプリング数N、励磁周波数fr以外にも種々のパラメータを設定可能に構成されて良い。例えば、軸倍角、レゾルバ11と電気角取得システムとの結線情報(結線によって図2B,図2Cの特性が変化し得る)、励磁信号の振幅E、励磁信号や出力信号の振幅の中心電圧(例えば、異常検出に利用可能)、上述の出力信号の振幅a,b、ノイズフィルタの特性(例えば、パラメータによってフィルタリング特性を指定可能にする等)、電気角出力の形式(シリアル、パラレル、電圧、A B Z、U V W等)、励磁信号に対するSIN信号、COS信号の位相ずれ(既知のずれを補正可能にする)、機械角、電気角の原点ずれ(例えば、レゾルバ11を装置に任意の角度で固定し、後で機械角0度の位置と電気角0度の位置を調整できる構成とする等)、N個のサンプリングの間における電気角θeのずれ(ロータの回転速度による誤差の補正値)等が入力可能であっても良い。 Furthermore, the parameter setting units 70 and 700 may be configured to be able to set various parameters other than the sampling frequency f s , the number of samples N, and the excitation frequency f r described above. For example, the shaft angle multiplier, connection information between the resolver 11 and the electrical angle acquisition system (the characteristics of FIGS. 2B and 2C may change depending on the connection), the amplitude E of the excitation signal, the center voltage of the amplitude of the excitation signal and the output signal (for example, , which can be used for abnormality detection), amplitudes a and b of the above-mentioned output signals, noise filter characteristics (for example, filtering characteristics can be specified by parameters, etc.), electrical angle output format (serial, parallel, voltage, A B Z, U V W, etc.), SIN signal with respect to the excitation signal, phase shift of COS signal (allows correction of known shift), mechanical angle, electrical angle origin shift (for example, resolver 11 is attached to the device at an arbitrary angle , and the position of mechanical angle 0 degree and electrical angle 0 degree can be adjusted later), deviation of electrical angle θe between N samplings (correction value of error due to rotor rotation speed ) etc. may be input.

回転検出器は、1相励磁2相出力の構成であれば良く、励磁巻線が1相存在し、出力巻線が2相存在し、励磁巻線に対して励磁信号が入力された状態で、2相の出力巻線から出力信号が出力される構成であれば良い。すなわち、出力信号がロータの回転に応じて変調され、当該出力信号と励磁信号とに基づいて、電気角を特定することができればよい。励磁巻線や出力巻線、ロータの態様は、各種の態様とされて良い。 The rotation detector may have a configuration of one-phase excitation and two-phase output. , and output signals from two-phase output windings. That is, it is sufficient that the output signal is modulated according to the rotation of the rotor, and the electrical angle can be specified based on the output signal and the excitation signal. The excitation windings, the output windings, and the rotor may take various forms.

励磁信号取得部は、励磁信号の励磁周波数成分をフーリエ変換によって取得することができればよい。すなわち、励磁信号取得部は、励磁信号を取り込み、電気角を取得するために必要な成分である励磁周波数成分を抽出することができればよい。励磁信号取得部においては、励磁信号の励磁周波数成分を取得することができればよく、励磁信号取得部が取り込む励磁信号の態様は種々の態様であって良い。 The excitation signal acquisition unit may acquire the excitation frequency component of the excitation signal by Fourier transform. In other words, the excitation signal acquisition section only needs to be able to acquire the excitation signal and extract the excitation frequency component, which is the component required to acquire the electrical angle. The excitation signal acquisition section only needs to acquire the excitation frequency component of the excitation signal, and the excitation signal acquired by the excitation signal acquisition section may take various forms.

例えば、励磁信号取得部に対してアナログの励磁信号が入力されてもよいし、励磁信号取得部に対してデジタルの励磁信号が入力されても良い。前者であれば、励磁信号取得部においてデジタルアナログ変換が行われる。後者においては、励磁信号取得部が励磁信号をデジタルデータとして取り込むことができればよく、デジタルデータとしての励磁信号は、パラメータに基づいて生成された信号であっても良いし、回転検出器に供給されたアナログの励磁信号がデジタルアナログ変換された信号であっても良く、種々の構成が採用可能である。なお、励磁信号の発生源は、電気角取得システムに備えられていても良いし、電気角取得システムの外部に備えられていても良い。 For example, an analog excitation signal may be input to the excitation signal acquisition section, or a digital excitation signal may be input to the excitation signal acquisition section. In the former case, digital-to-analog conversion is performed in the excitation signal acquisition section. In the latter case, it is sufficient that the excitation signal acquisition unit can acquire the excitation signal as digital data, and the excitation signal as digital data may be a signal generated based on parameters or supplied to the rotation detector. The analog excitation signal may be a digital-to-analog converted signal, and various configurations can be adopted. The excitation signal generation source may be provided in the electrical angle acquisition system, or may be provided outside the electrical angle acquisition system.

励磁周波数は、励磁信号の周波数であり、当該励磁周波数で振動する種々の信号を励磁信号とすることができる。励磁信号は、典型的には正弦波等の三角関数で表現される信号であり、励磁信号が生成された段階では単一の周波数成分を有する。 The excitation frequency is the frequency of the excitation signal, and various signals vibrating at the excitation frequency can be used as the excitation signal. The excitation signal is typically a signal represented by a trigonometric function such as a sine wave, and has a single frequency component when the excitation signal is generated.

フーリエ変換は、時間空間の信号である励磁信号を周波数空間の信号に変換することができればよく、励磁信号の励磁周波数成分を抽出できるように変換が行われればよい。従って、複数の周波数成分を示すデジタルデータ列が生成され、デジタルデータ列の中から励磁周波数成分が選択されてもよいし、励磁周波数成分に相当するデータが算出される構成等であっても良い。 The Fourier transform only needs to be able to convert the excitation signal, which is a signal in time space, into a signal in frequency space, and the conversion should be performed so that the excitation frequency component of the excitation signal can be extracted. Therefore, a digital data string indicating a plurality of frequency components may be generated, and an excitation frequency component may be selected from the digital data string, or data corresponding to the excitation frequency component may be calculated. .

励磁周波数成分の抽出は、種々の態様で実行されてよい。例えば、フーリエ変換において、励磁周波数と等しい周波数成分が得られている場合、当該周波数成分が励磁周波数成分として取得される。また、励磁周波数と等しい周波数成分が得られていない場合、フーリエ変換によって得られた複数の周波数成分のデータの中から、励磁周波数に最も近い周波数の成分や励磁周波数から既定範囲内の周波数の成分が選択されて励磁周波数成分と見なされても良い。このようなフーリエ変換の特徴は、出力信号取得部も同様である。従って、励磁信号取得部と出力信号取得部とは、同一のフーリエ変換部によって実現されても良く、この場合、順番に励磁信号と出力信号とのそれぞれについてフーリエ変換が行われる。 Extraction of excitation frequency components may be performed in various manners. For example, in the Fourier transform, when a frequency component equal to the excitation frequency is obtained, the frequency component is acquired as the excitation frequency component. If the frequency component equal to the excitation frequency is not obtained, the frequency component closest to the excitation frequency or the frequency component within a predetermined range from the excitation frequency is selected from the multiple frequency component data obtained by Fourier transform. may be selected to be considered excitation frequency components. Such characteristics of the Fourier transform also apply to the output signal acquisition section. Therefore, the excitation signal acquisition section and the output signal acquisition section may be realized by the same Fourier transform section. In this case, the excitation signal and the output signal are subjected to Fourier transform in order.

出力信号取得部は、2相の出力信号の励磁周波数成分をフーリエ変換によって取得することができればよい。すなわち、出力信号は、回転検出器のロータの回転に応じて変調された状態で出力される。そして、当該出力信号は、励磁信号によって励磁された信号であるため、振幅等が変調したとしても、励磁信号の周波数と同等の周波数で変化する信号となって出力される。出力信号が変調された様子を特定するための基準は励磁信号であり、励磁信号は励磁周波数の信号であるため、出力信号において電気角を取得するために必要な成分は励磁周波数成分である。そこで、出力信号取得部は、出力信号を取り込み、電気角を取得するために必要な成分である励磁周波数成分を抽出することができればよい。 The output signal acquisition unit only needs to be able to acquire the excitation frequency components of the two-phase output signals by Fourier transform. That is, the output signal is modulated according to the rotation of the rotor of the rotation detector. Since the output signal is a signal excited by the excitation signal, even if the amplitude or the like is modulated, the output signal is output as a signal that changes at the same frequency as that of the excitation signal. The excitation signal is the reference for specifying the state of the modulated output signal, and the excitation signal is a signal of the excitation frequency. Therefore, the component required to obtain the electrical angle in the output signal is the excitation frequency component. Therefore, the output signal acquisition unit only needs to be able to acquire the output signal and extract the excitation frequency component, which is the component required to acquire the electrical angle.

2相の出力信号は、回転検出器から出力される信号であり、これらの2相の出力信号に基づいて電気角が取得可能であれば良い。出力信号取得部が取り込む出力信号の態様は種々の態様であって良い。例えば、出力信号取得部に対してアナログの出力信号が入力されてもよいし、出力信号取得部に対してデジタルの出力信号が入力されても良い。前者であれば、出力信号取得部においてデジタルアナログ変換が行われる。後者であれば、出力信号取得部の外部で出力信号がデジタルアナログ変換される。 The two-phase output signals are signals output from the rotation detector, and it is sufficient if the electrical angle can be obtained based on these two-phase output signals. The form of the output signal acquired by the output signal acquisition section may be various forms. For example, an analog output signal may be input to the output signal acquisition section, or a digital output signal may be input to the output signal acquisition section. In the former case, digital-to-analog conversion is performed in the output signal acquisition section. In the latter case, the output signal is digital-analog converted outside the output signal acquisition unit.

位相関係取得部は、励磁信号と、2相の出力信号とに基づいて、励磁信号と2相の出力信号との位相の関係を取得することができればよい。すなわち、回転検出器の特性(巻線の結線等)が変化しなければ、励磁信号と2相の出力信号とにおける位相の関係は固定的である。従って、位相の関係が判明すれば、電気角の象限(電気角が属する角度範囲)が特定される。位相関係取得部は、このような電気角の取得の基になる情報として位相の関係を取得することができればよい。 The phase relationship acquisition unit only needs to be able to acquire the phase relationship between the excitation signal and the two-phase output signals based on the excitation signal and the two-phase output signals. That is, the phase relationship between the excitation signal and the two-phase output signals is fixed unless the characteristics of the rotation detector (such as the connection of windings) change. Therefore, if the phase relationship is found, the quadrant of the electrical angle (angle range to which the electrical angle belongs) is specified. The phase relationship acquisition unit only needs to be able to acquire the phase relationship as the information on which the electrical angle is acquired.

位相の関係を取得するための構成としては、種々の構成を採用可能であり、上述のような座標軸の回転以外にも種々の手法を採用可能である。例えば、励磁信号とSIN信号との内積によって両者の位相の関係が取得され、励磁信号とCOS信号との内積によって両者の位相の関係が取得される構成を採用可能である。より具体的には、励磁信号の励磁周波数成分P(m)とSIN信号をフーリエ変換した出力フーリエ信号であるS(m)の内積、すなわち、Sr・Pr+Si・Piを計算し、計算結果が正であれば同相、負であれば逆相とする構成を採用可能である。また、励磁信号の励磁周波数成分P(m)とCOS信号をフーリエ変換した出力フーリエ信号であるC(m)の内積、すなわち、Cr・Pr+Ci・Piを計算し、計算結果が正であれば同相、負であれば逆相とする構成を採用可能である。 Various configurations can be adopted as the configuration for acquiring the phase relationship, and various methods other than the rotation of the coordinate axes as described above can be employed. For example, it is possible to employ a configuration in which the phase relationship between the excitation signal and the SIN signal is obtained by the inner product of the excitation signal and the SIN signal, and the phase relationship between the excitation signal and the COS signal is obtained by the inner product of the excitation signal and the COS signal. More specifically, the inner product of the excitation frequency component P(m) of the excitation signal and S(m), which is the output Fourier signal obtained by Fourier transforming the SIN signal, is calculated, that is, Sr·Pr+Si·Pi. It is possible to employ a configuration in which the phase is the same if the phase is negative, and that the phase is the opposite phase if the phase is negative. In addition, the inner product of the excitation frequency component P(m) of the excitation signal and C(m), which is the output Fourier signal obtained by Fourier transforming the COS signal, is calculated. , and a negative phase can be adopted.

振幅取得部は、2相の出力信号の励磁周波数成分に基づいて、2相の出力信号の振幅を取得することができればよい。すなわち、回転検出器の特性が変化しなければ、2相の出力信号の振幅によって電気角の角度の候補が特定される。振幅取得部は、このような電気角の取得の基になる情報として振幅を取得することができればよい。振幅を取得するための構成としては、種々の構成を採用可能であり、上述のような実数部と虚数部の2乗の平方根以外の手法で取得されても良い。例えば、上述の座標軸回転が行われた後の実数部が振幅と見なされる構成等が採用されてもよい。 The amplitude acquisition section only needs to be able to acquire the amplitude of the two-phase output signal based on the excitation frequency components of the two-phase output signal. That is, if the characteristics of the rotation detector do not change, the candidates for the electrical angle are identified by the amplitudes of the two-phase output signals. The amplitude obtaining section only needs to be able to obtain the amplitude as information on which such an electrical angle is obtained. Various configurations can be adopted as the configuration for acquiring the amplitude, and the amplitude may be acquired by a method other than the square root of the square of the real part and the imaginary part as described above. For example, a configuration may be adopted in which the real part after the coordinate axis rotation described above is regarded as the amplitude.

電気角取得部は、位相の関係と2相の出力信号の振幅とに基づいて、回転検出器の電気角を取得することができればよい。すなわち、電気角取得部は、振幅の比によって特定される角度の候補から、位相の関係に基づいて特定された電気角の象限内に含まれる角度を選択して電気角とすることができればよい。 The electrical angle acquisition section may acquire the electrical angle of the rotation detector based on the phase relationship and the amplitudes of the two-phase output signals. In other words, the electrical angle acquisition unit only needs to be able to select an angle included in the quadrant of the electrical angle specified based on the phase relationship from the angle candidates specified by the amplitude ratio, and obtain the electrical angle. .

さらに、フーリエ変換結果X(k)から励磁周波数成分を取得する際には、k=mであり、m=N×fr/fsが整数となることが好ましいが、N×fr/fsが整数値でない場合であっても、mがN×fr/fsに近ければよい。すなわち、mがN×fr/fsに近ければ、フーリエ変換結果X(m)が励磁周波数成分であると見なすことが可能である。mとN×fr/fsとの差分が生じている場合、その差分に応じて電気角θeの誤差が変化するため、誤差が許容範囲にあるmが選択できるのであれば、X(m)が励磁周波数成分であると見なす構成であると言える。 Furthermore, when obtaining the excitation frequency component from the Fourier transform result X(k), it is preferable that k=m and m=N×f r /f s is an integer, but N×f r /f Even if s is not an integer value, m should be close to N×f r /f s . That is, if m is close to N×f r /f s , then the Fourier transform result X(m) can be regarded as the excitation frequency component. If there is a difference between m and N×f r /f s , the error in the electrical angle θe changes according to the difference. ) is regarded as the excitation frequency component.

なお請求項に記載された各手段の機能は、構成自体で機能が特定されるハードウェア資源、プログラムにより機能が特定されるハードウェア資源、又はそれらの組み合わせにより実現される。また、これら各手段の機能は、各々が物理的に互いに独立したハードウェア資源で実現されるものに限定されない。さらに、本発明は、方法としても、コンピュータプログラムとしても、コンピュータプログラムの記録媒体としても成立する。むろん、そのコンピュータプログラムの記録媒体は、磁気記録媒体であってもよいし光磁気記録媒体であってもよいし、今後開発されるいかなる記録媒体であってもよい。 The functions of each means described in the claims are realized by hardware resources whose functions are specified by the configuration itself, hardware resources whose functions are specified by a program, or a combination thereof. Moreover, the functions of these means are not limited to those realized by physically independent hardware resources. Furthermore, the present invention is established as a method, a computer program, and a computer program recording medium. Of course, the recording medium for the computer program may be a magnetic recording medium, a magneto-optical recording medium, or any recording medium that will be developed in the future.

10…電気角取得システム、11…レゾルバ、12…増幅器、13…励磁信号発生部、13a…増幅器、13b…増幅器、13c…増幅器、15a…モータ、15b…モータドライバ、15c…エンコーダ、20…励磁信号取得部、21a…アナログデジタル変換部、22a…フーリエ変換部、30…出力信号取得部、31b…アナログデジタル変換部、31c…アナログデジタル変換部、32b…フーリエ変換部、32c…フーリエ変換部、40…位相関係取得部、50…振幅取得部、60…電気角取得部、70…パラメータ設定部 DESCRIPTION OF SYMBOLS 10... Electrical angle acquisition system, 11... Resolver, 12... Amplifier, 13... Excitation signal generator, 13a... Amplifier, 13b... Amplifier, 13c... Amplifier, 15a... Motor, 15b... Motor driver, 15c... Encoder, 20... Excitation Signal acquisition unit 21a...Analog-digital converter 22a...Fourier transform unit 30...Output signal acquisition unit 31b...Analog-digital converter 31c...Analog-digital converter 32b...Fourier transform unit 32c...Fourier transform unit 40... Phase relationship acquisition unit 50... Amplitude acquisition unit 60... Electrical angle acquisition unit 70... Parameter setting unit

Claims (14)

1相励磁2相出力の回転検出器の励磁信号と出力信号とに基づいて前記回転検出器の電気角を取得する電気角取得システムであって、
利用者によるサンプリング周波数fs、サンプリング数N、励磁周波数frの少なくとも1個の入力または指定を受け付け、受け付けた値に設定するパラメータ設定部と、
アナログの前記励磁信号をサンプリング周波数fsでN個サンプリングすることでデジタルデータに変換し、フーリエ変換して励磁フーリエ信号を取得し、
Figure 0007251751000004
前記励磁フーリエ信号から式(1)におけるX(m)(ただし、mはN×fr/fsに等しい整数値またはN×fr/fsに最も近い整数値(ただし、N×fr/fsは整数値ではない)であり、frは励磁周波数である)に相当するデータを選択して前記励磁信号の励磁周波数成分として取得する励磁信号取得部と、
2相のアナログの前記出力信号をサンプリング周波数fsでN個サンプリングすることでデジタルデータに変換し、フーリエ変換して出力フーリエ信号を取得し、前記出力フーリエ信号から式(1)におけるX(m)に相当するデータを選択して前記出力信号の励磁周波数成分として取得する出力信号取得部と、
前記励磁信号の励磁周波数成分と、2相の前記出力信号の励磁周波数成分とに基づいて、前記励磁信号と2相の前記出力信号との位相の関係を取得する位相関係取得部と、
2相の前記出力信号の励磁周波数成分に基づいて、2相の前記出力信号の振幅を取得する振幅取得部と、
前記位相の関係と2相の前記出力信号の前記振幅とに基づいて、前記回転検出器の電気角を取得する電気角取得部と、
を備える電気角取得システム。
An electrical angle acquisition system for acquiring an electrical angle of a rotation detector based on an excitation signal and an output signal of a one-phase excitation two-phase output rotation detector,
a parameter setting unit that receives at least one input or specification of the sampling frequency f s , the number of samples N, and the excitation frequency f r by the user and sets the received value;
converting the analog excitation signal into digital data by sampling N times at a sampling frequency f s , obtaining an excitation Fourier signal by performing a Fourier transform;
Figure 0007251751000004
From the excitation Fourier signal, X(m ) in equation (1), where m is an integer value equal to or closest to N× f r / fs , where N×f r /f s is not an integer value) and f r is an excitation frequency) and acquires it as an excitation frequency component of the excitation signal;
The two-phase analog output signal is sampled N times at a sampling frequency f s to be converted into digital data, Fourier-transformed to obtain an output Fourier signal, and from the output Fourier signal, X(m ) and acquires it as an excitation frequency component of the output signal;
a phase relationship acquisition unit that acquires a phase relationship between the excitation signal and the two-phase output signals based on the excitation frequency components of the excitation signal and the excitation frequency components of the two-phase output signals;
an amplitude acquisition unit configured to acquire amplitudes of the two-phase output signals based on excitation frequency components of the two-phase output signals;
an electrical angle acquisition unit configured to acquire an electrical angle of the rotation detector based on the phase relationship and the amplitudes of the two-phase output signals;
An electrical angle acquisition system comprising:
前記励磁信号取得部が前記励磁信号をサンプリングするタイミングと、前記出力信号取得部が2相の前記出力信号をサンプリングするタイミングは同時である、
請求項1に記載の電気角取得システム。
The timing at which the excitation signal acquisition unit samples the excitation signal and the timing at which the output signal acquisition unit samples the two-phase output signals are the same.
The electrical angle acquisition system according to claim 1.
前記励磁信号取得部が前記励磁信号をサンプリングするタイミングと、前記出力信号取得部が2相の前記出力信号をサンプリングするタイミングは異なるタイミングであり、
前記励磁信号取得部および前記出力信号取得部は、前記励磁信号をサンプリングするタイミングと2相の前記出力信号をサンプリングするタイミングとのずれに起因して、フーリエ変換後の前記励磁信号の励磁周波数成分および前記出力信号の励磁周波数成分に生じている位相のずれを補償して、前記励磁信号の励磁周波数成分および前記出力信号の励磁周波数成分を取得する、
請求項1または請求項2に記載の電気角取得システム。
The timing at which the excitation signal acquisition unit samples the excitation signal and the timing at which the output signal acquisition unit samples the two-phase output signals are different timings,
The excitation signal obtaining section and the output signal obtaining section obtain an excitation frequency component of the excitation signal after Fourier transform due to a difference between the timing of sampling the excitation signal and the timing of sampling the two-phase output signals. and obtaining the excitation frequency component of the excitation signal and the excitation frequency component of the output signal by compensating for the phase shift occurring in the excitation frequency component of the output signal.
The electrical angle acquisition system according to claim 1 or 2.
1相励磁2相出力の回転検出器の励磁信号と出力信号とに基づいて前記回転検出器の電気角を取得する電気角取得方法であって、
利用者によるサンプリング周波数fs、サンプリング数N、励磁周波数frの少なくとも1個の入力または指定を受け付け、受け付けた値に設定するパラメータ設定工程と、
アナログの前記励磁信号をサンプリング周波数fsでN個サンプリングすることでデジタルデータに変換し、フーリエ変換して励磁フーリエ信号を取得し、
Figure 0007251751000005
前記励磁フーリエ信号から式(1)におけるX(m)(ただし、mはN×fr/fsに等しい整数値またはN×fr/fsに最も近い整数値(ただし、N×fr/fsは整数値ではない)であり、frは励磁周波数である)に相当するデータを選択して前記励磁信号の励磁周波数成分として取得する励磁信号取得工程と、
2相のアナログの前記出力信号をサンプリング周波数fsでN個サンプリングすることでデジタルデータに変換し、フーリエ変換して出力フーリエ信号を取得し、前記出力フーリエ信号から式(1)におけるX(m)に相当するデータを選択して前記出力信号の励磁周波数成分として取得する出力信号取得工程と、
前記励磁信号の励磁周波数成分と、2相の前記出力信号の励磁周波数成分とに基づいて、前記励磁信号と2相の前記出力信号との位相の関係を取得する位相関係取得工程と、
2相の前記出力信号の励磁周波数成分に基づいて、2相の前記出力信号の振幅を取得する振幅取得工程と、
前記位相の関係と2相の前記出力信号の前記振幅とに基づいて、前記回転検出器の電気角を取得する電気角取得工程と、
を含む電気角取得方法。
An electrical angle acquiring method for acquiring an electrical angle of a rotation detector based on an excitation signal and an output signal of a one-phase excitation two-phase output rotation detector, comprising:
a parameter setting step of receiving input or designation of at least one of the sampling frequency f s , the number of samples N, and the excitation frequency f r by the user , and setting the received value;
converting the analog excitation signal into digital data by sampling N times at a sampling frequency f s , obtaining an excitation Fourier signal by performing a Fourier transform;
Figure 0007251751000005
From the excitation Fourier signal, X(m ) in equation (1), where m is an integer value equal to or closest to N× f r / fs , where N×f r /f s is not an integer value) and f r is an excitation frequency), and an excitation signal acquisition step of selecting data corresponding to and acquiring it as an excitation frequency component of the excitation signal;
The two-phase analog output signal is sampled N times at a sampling frequency f s to be converted into digital data, Fourier-transformed to obtain an output Fourier signal, and from the output Fourier signal, X(m ) and acquiring it as the excitation frequency component of the output signal;
a phase relationship acquiring step of acquiring a phase relationship between the excitation signal and the two-phase output signals based on the excitation frequency components of the excitation signal and the excitation frequency components of the two-phase output signals;
an amplitude acquisition step of acquiring amplitudes of the two-phase output signals based on excitation frequency components of the two-phase output signals;
an electrical angle acquiring step of acquiring an electrical angle of the rotation detector based on the phase relationship and the amplitudes of the two-phase output signals;
including electrical angle acquisition method.
1相励磁2相出力の回転検出器の励磁信号と出力信号とに基づいて前記回転検出器の電気角を取得するコンピュータを、
利用者によるサンプリング周波数fs、サンプリング数N、励磁周波数frの少なくとも1個の入力または指定を受け付け、受け付けた値に設定するパラメータ設定部、
アナログの前記励磁信号をサンプリング周波数fsでN個サンプリングすることでデジタルデータに変換し、フーリエ変換して励磁フーリエ信号を取得し、
Figure 0007251751000006
前記励磁フーリエ信号から式(1)におけるX(m)(ただし、mはN×fr/fsに等しい整数値またはN×fr/fsに最も近い整数値(ただし、N×fr/fsは整数値ではない)であり、frは励磁周波数である)に相当するデータを選択して前記励磁信号の励磁周波数成分として取得する励磁信号取得部、
2相のアナログの前記出力信号をサンプリング周波数fsでN個サンプリングすることでデジタルデータに変換し、フーリエ変換して出力フーリエ信号を取得し、前記出力フーリエ信号から式(1)におけるX(m)に相当するデータを選択して前記出力信号の励磁周波数成分として取得する出力信号取得部、
前記励磁信号の励磁周波数成分と、2相の前記出力信号の励磁周波数成分とに基づいて、前記励磁信号と2相の前記出力信号との位相の関係を取得する位相関係取得部、
2相の前記出力信号の励磁周波数成分に基づいて、2相の前記出力信号の振幅を取得する振幅取得部、
前記位相の関係と2相の前記出力信号の前記振幅とに基づいて、前記回転検出器の電気角を取得する電気角取得部、
として機能させる電気角取得プログラム。
a computer that acquires the electrical angle of the rotation detector based on the excitation signal and the output signal of the rotation detector with 1-phase excitation and 2-phase output;
a parameter setting unit that receives at least one input or designation of the sampling frequency f s , the number of samples N, and the excitation frequency f r by the user and sets the received value;
converting the analog excitation signal into digital data by sampling N times at a sampling frequency f s , obtaining an excitation Fourier signal by performing a Fourier transform;
Figure 0007251751000006
From the excitation Fourier signal, X(m ) in equation (1), where m is an integer value equal to or closest to N× f r / fs , where N×f r /f s is not an integer value) and f r is an excitation frequency) and acquires it as an excitation frequency component of the excitation signal;
The two-phase analog output signal is sampled N times at a sampling frequency f s to be converted into digital data, Fourier-transformed to obtain an output Fourier signal, and from the output Fourier signal, X(m ) and acquires it as the excitation frequency component of the output signal,
a phase relationship acquisition unit configured to acquire a phase relationship between the excitation signal and the two-phase output signal based on the excitation frequency component of the excitation signal and the excitation frequency component of the two-phase output signal;
an amplitude acquisition unit that acquires the amplitude of the two-phase output signal based on the excitation frequency component of the two-phase output signal;
an electrical angle acquisition unit configured to acquire an electrical angle of the rotation detector based on the phase relationship and the amplitudes of the two-phase output signals;
An electrical angle acquisition program that functions as
1相励磁2相出力の回転検出器の励磁信号と出力信号とに基づいて前記回転検出器の電気角を取得する電気角取得システムであって、
利用者によるサンプリング周波数fs、サンプリング数N、励磁周波数frの少なくとも1個の入力または指定を受け付け、受け付けた値に設定するパラメータ設定部と、
2相のアナログの前記出力信号をサンプリング周波数fsでN個サンプリングすることでデジタルデータに変換し、フーリエ変換して出力フーリエ信号を取得し、
Figure 0007251751000007
前記出力フーリエ信号から式(1)におけるX(m)(ただし、mはN×fr/fsに等しい整数値またはN×fr/fsに最も近い整数値(ただし、N×fr/fsは整数値ではない)であり、frは励磁周波数である)に相当するデータを選択して前記出力信号の励磁周波数成分として取得する出力信号取得部と、
前記励磁信号と、2相の前記出力信号とに基づいて、前記励磁信号と2相の前記出力信号との位相の関係を取得する位相関係取得部と、
2相の前記出力信号の励磁周波数成分に基づいて、2相の前記出力信号の振幅を取得する振幅取得部と、
前記位相の関係と2相の前記出力信号の前記振幅とに基づいて、前記回転検出器の電気角を取得する電気角取得部と、
を備える電気角取得システム。
An electrical angle acquisition system for acquiring an electrical angle of a rotation detector based on an excitation signal and an output signal of a one-phase excitation two-phase output rotation detector,
a parameter setting unit that receives at least one input or specification of the sampling frequency f s , the number of samples N, and the excitation frequency f r by the user and sets the received value;
converting the two-phase analog output signal into digital data by sampling N times at a sampling frequency f s and performing a Fourier transform to obtain an output Fourier signal;
Figure 0007251751000007
From the output Fourier signal, X(m ) in equation (1), where m is an integer value equal to or closest to N*f r /f s , where N*f r /f s is not an integer value) and f r is an excitation frequency) and acquires it as an excitation frequency component of the output signal;
a phase relationship acquisition unit that acquires a phase relationship between the excitation signal and the two-phase output signals based on the excitation signal and the two-phase output signals;
an amplitude acquisition unit configured to acquire amplitudes of the two-phase output signals based on excitation frequency components of the two-phase output signals;
an electrical angle acquisition unit configured to acquire an electrical angle of the rotation detector based on the phase relationship and the amplitudes of the two-phase output signals;
An electrical angle acquisition system comprising:
1相励磁2相出力の回転検出器の励磁信号と出力信号とに基づいて前記回転検出器の電気角を取得する電気角取得方法であって、
利用者によるサンプリング周波数fs、サンプリング数N、励磁周波数frの少なくとも1個の入力または指定を受け付け、受け付けた値に設定するパラメータ設定工程と、
2相のアナログの前記出力信号をサンプリング周波数fsでN個サンプリングすることでデジタルデータに変換し、フーリエ変換して出力フーリエ信号を取得し、
Figure 0007251751000008
前記出力フーリエ信号から式(1)におけるX(m)(ただし、mはN×fr/fsに等しい整数値またはN×fr/fsに最も近い整数値(ただし、N×fr/fsは整数値ではない)であり、frは励磁周波数である)に相当するデータを選択して前記出力信号の励磁周波数成分として取得する出力信号取得工程と、
前記励磁信号と、2相の前記出力信号とに基づいて、前記励磁信号と2相の前記出力信号との位相の関係を取得する位相関係取得工程と、
2相の前記出力信号の励磁周波数成分に基づいて、2相の前記出力信号の振幅を取得する振幅取得工程と、
前記位相の関係と2相の前記出力信号の前記振幅とに基づいて、前記回転検出器の電気角を取得する電気角取得工程と、
を含む電気角取得方法。
An electrical angle acquiring method for acquiring an electrical angle of a rotation detector based on an excitation signal and an output signal of a one-phase excitation two-phase output rotation detector, comprising:
a parameter setting step of receiving input or designation of at least one of the sampling frequency f s , the number of samples N, and the excitation frequency f r by the user , and setting the received value;
converting the two-phase analog output signal into digital data by sampling N times at a sampling frequency f s and performing a Fourier transform to obtain an output Fourier signal;
Figure 0007251751000008
From the output Fourier signal, X(m ) in equation (1), where m is an integer value equal to or closest to N*f r /f s , where N*f r /f s is not an integer value) and f r is an excitation frequency) and acquiring it as an excitation frequency component of the output signal;
a phase relationship acquiring step of acquiring a phase relationship between the excitation signal and the two-phase output signals based on the excitation signal and the two-phase output signals;
an amplitude acquisition step of acquiring amplitudes of the two-phase output signals based on excitation frequency components of the two-phase output signals;
an electrical angle acquiring step of acquiring an electrical angle of the rotation detector based on the phase relationship and the amplitudes of the two-phase output signals;
including electrical angle acquisition method.
1相励磁2相出力の回転検出器の励磁信号と出力信号とに基づいて前記回転検出器の電気角を取得するコンピュータを、
利用者によるサンプリング周波数fs、サンプリング数N、励磁周波数frの少なくとも1個の入力または指定を受け付け、受け付けた値に設定するパラメータ設定部と、
2相のアナログの前記出力信号をサンプリング周波数fsでN個サンプリングすることでデジタルデータに変換し、フーリエ変換して出力フーリエ信号を取得し、
Figure 0007251751000009
前記出力フーリエ信号から式(1)におけるX(m)(ただし、mはN×fr/fsに等しい整数値またはN×fr/fsに最も近い整数値(ただし、N×fr/fsは整数値ではない)であり、frは励磁周波数である)に相当するデータを選択して前記出力信号の励磁周波数成分として取得する出力信号取得部と、
前記励磁信号と、2相の前記出力信号とに基づいて、前記励磁信号と2相の前記出力信号との位相の関係を取得する位相関係取得部、
2相の前記出力信号の励磁周波数成分に基づいて、2相の前記出力信号の振幅を取得する振幅取得部、
前記位相の関係と2相の前記出力信号の前記振幅とに基づいて、前記回転検出器の電気角を取得する電気角取得部、
として機能させる電気角取得プログラム。
a computer that acquires the electrical angle of the rotation detector based on the excitation signal and the output signal of the rotation detector with 1-phase excitation and 2-phase output;
a parameter setting unit that receives at least one input or specification of the sampling frequency f s , the number of samples N, and the excitation frequency f r by the user and sets the received value;
converting the two-phase analog output signal into digital data by sampling N times at a sampling frequency f s and performing a Fourier transform to obtain an output Fourier signal;
Figure 0007251751000009
From the output Fourier signal, X(m ) in equation (1), where m is an integer value equal to or closest to N*f r /f s , where N*f r /f s is not an integer value) and f r is an excitation frequency) and acquires it as an excitation frequency component of the output signal;
a phase relationship acquisition unit that acquires a phase relationship between the excitation signal and the two-phase output signals based on the excitation signal and the two-phase output signals;
an amplitude acquisition unit that acquires the amplitude of the two-phase output signal based on the excitation frequency component of the two-phase output signal;
an electrical angle acquisition unit configured to acquire an electrical angle of the rotation detector based on the phase relationship and the amplitudes of the two-phase output signals;
An electrical angle acquisition program that functions as
1相励磁2相出力の回転検出器の励磁信号と出力信号とに基づいて前記回転検出器の電気角を取得する特性を測定する電気角取得特性測定システムであって、
前記回転検出器のロータに対して、シャフトまたはシャフトに連動して回転する部位が取り付けられたモータを制御するモータ制御部と、
メモリと、
前記メモリに取り込まれた前記励磁信号の励磁周波数成分をフーリエ変換によって取得する励磁信号取得部と、
前記メモリに取り込まれた2相の前記出力信号の励磁周波数成分をフーリエ変換によって取得する出力信号取得部と、
前記励磁信号の励磁周波数成分と、2相の前記出力信号の励磁周波数成分とに基づいて、前記励磁信号と2相の前記出力信号との位相の関係を取得する位相関係取得部と、
2相の前記出力信号の励磁周波数成分に基づいて、2相の前記出力信号の振幅を取得する振幅取得部と、
前記位相の関係と2相の前記出力信号の前記振幅とに基づいて、前記回転検出器の電気角を取得する電気角取得部と、
前記ロータの回転角度に応じた信号を出力するエンコーダの出力に基づいて取得され、前記メモリに取り込まれた前記ロータの機械角に基づいて、前記回転検出器の電気角の精度を取得する精度取得部と、を備え、
前記メモリに対する前記励磁信号と、2相の前記出力信号と、前記ロータの機械角と、の取り込みは前記モータの回転を停止させずに実行される、
電気角取得特性測定システム。
An electrical angle acquisition characteristic measurement system for measuring electrical angle acquisition characteristics of a rotation detector based on an excitation signal and an output signal of a rotation detector with one-phase excitation and two-phase output,
a motor control unit that controls a motor having a shaft or a part that rotates in conjunction with the shaft attached to the rotor of the rotation detector;
memory;
an excitation signal acquisition unit that acquires an excitation frequency component of the excitation signal stored in the memory by Fourier transform;
an output signal acquisition unit that acquires excitation frequency components of the two-phase output signals stored in the memory by Fourier transform;
a phase relationship acquisition unit that acquires a phase relationship between the excitation signal and the two-phase output signals based on the excitation frequency components of the excitation signal and the excitation frequency components of the two-phase output signals;
an amplitude acquisition unit configured to acquire amplitudes of the two-phase output signals based on excitation frequency components of the two-phase output signals;
an electrical angle acquisition unit configured to acquire an electrical angle of the rotation detector based on the phase relationship and the amplitudes of the two-phase output signals;
Accuracy acquisition for acquiring the accuracy of the electrical angle of the rotation detector based on the mechanical angle of the rotor acquired based on the output of an encoder that outputs a signal corresponding to the rotation angle of the rotor and stored in the memory. and
taking in the excitation signal, the two-phase output signal, and the mechanical angle of the rotor to the memory without stopping the rotation of the motor;
Electrical angle acquisition characteristic measurement system.
1相励磁2相出力の回転検出器の励磁信号と出力信号とに基づいて前記回転検出器の電気角を取得する特性を測定する電気角取得特性測定方法であって、
前記回転検出器のロータに対して、シャフトまたはシャフトに連動して回転する部位が取り付けられたモータを制御するモータ制御工程と、
メモリに取り込まれた前記励磁信号の励磁周波数成分をフーリエ変換によって取得する励磁信号取得工程と、
前記メモリに取り込まれた2相の前記出力信号の励磁周波数成分をフーリエ変換によって取得する出力信号取得工程と、
前記励磁信号の励磁周波数成分と、2相の前記出力信号の励磁周波数成分とに基づいて、前記励磁信号と2相の前記出力信号との位相の関係を取得する位相関係取得工程と、
2相の前記出力信号の励磁周波数成分に基づいて、2相の前記出力信号の振幅を取得する振幅取得工程と、
前記位相の関係と2相の前記出力信号の前記振幅とに基づいて、前記回転検出器の電気角を取得する電気角取得工程と、
前記ロータの回転角度に応じた信号を出力するエンコーダの出力に基づいて取得され、前記メモリに取り込まれた前記ロータの機械角に基づいて、前記回転検出器の電気角の精度を取得する精度取得工程とを含み、
前記メモリに対する前記励磁信号と、2相の前記出力信号と、前記ロータの機械角と、の取り込みは前記モータの回転を停止させずに実行される、
電気角取得特性測定方法。
An electrical angle acquisition characteristic measuring method for measuring the electrical angle acquisition characteristic of a rotation detector based on an excitation signal and an output signal of a one-phase excitation two-phase output rotation detector, comprising:
a motor control step of controlling a motor having a shaft or a part that rotates in conjunction with the shaft attached to the rotor of the rotation detector;
an excitation signal acquisition step of acquiring the excitation frequency component of the excitation signal stored in the memory by Fourier transform;
an output signal acquisition step of acquiring excitation frequency components of the two-phase output signals stored in the memory by Fourier transform;
a phase relationship acquiring step of acquiring a phase relationship between the excitation signal and the two-phase output signals based on the excitation frequency components of the excitation signal and the excitation frequency components of the two-phase output signals;
an amplitude acquisition step of acquiring amplitudes of the two-phase output signals based on excitation frequency components of the two-phase output signals;
an electrical angle acquiring step of acquiring an electrical angle of the rotation detector based on the phase relationship and the amplitudes of the two-phase output signals;
Accuracy acquisition for acquiring the accuracy of the electrical angle of the rotation detector based on the mechanical angle of the rotor acquired based on the output of an encoder that outputs a signal corresponding to the rotation angle of the rotor and stored in the memory. and
taking in the excitation signal, the two-phase output signal, and the mechanical angle of the rotor to the memory without stopping the rotation of the motor;
Electrical angle acquisition characteristic measurement method.
1相励磁2相出力の回転検出器の励磁信号と出力信号とに基づいて前記回転検出器の電気角を取得する特性を測定するコンピュータを、
前記回転検出器のロータに対して、シャフトまたはシャフトに連動して回転する部位が取り付けられたモータを制御するモータ制御部、
メモリに取り込まれた前記励磁信号の励磁周波数成分をフーリエ変換によって取得する励磁信号取得部、
前記メモリに取り込まれた2相の前記出力信号の励磁周波数成分をフーリエ変換によって取得する出力信号取得部、
前記励磁信号の励磁周波数成分と、2相の前記出力信号の励磁周波数成分とに基づいて、前記励磁信号と2相の前記出力信号との位相の関係を取得する位相関係取得部、
2相の前記出力信号の励磁周波数成分に基づいて、2相の前記出力信号の振幅を取得する振幅取得部、
前記位相の関係と2相の前記出力信号の前記振幅とに基づいて、前記回転検出器の電気角を取得する電気角取得部、
前記ロータの回転角度に応じた信号を出力するエンコーダの出力に基づいて取得され、前記メモリに取り込まれた前記ロータの機械角に基づいて、前記回転検出器の電気角の精度を取得する精度取得部、
として機能させ、
前記メモリに対する前記励磁信号と、2相の前記出力信号と、前記ロータの機械角と、の取り込みは前記モータの回転を停止させずに実行される、
電気角取得特性測定プログラム。
A computer for measuring the characteristics of obtaining the electrical angle of the rotation detector based on the excitation signal and the output signal of the rotation detector with 1-phase excitation and 2-phase output,
a motor control unit for controlling a motor having a shaft or a part that rotates in conjunction with the shaft attached to the rotor of the rotation detector;
an excitation signal acquisition unit that acquires the excitation frequency component of the excitation signal stored in the memory by Fourier transform;
an output signal acquisition unit that acquires excitation frequency components of the two-phase output signals stored in the memory by Fourier transform;
a phase relationship acquisition unit configured to acquire a phase relationship between the excitation signal and the two-phase output signal based on the excitation frequency component of the excitation signal and the excitation frequency component of the two-phase output signal;
an amplitude acquisition unit that acquires the amplitude of the two-phase output signal based on the excitation frequency component of the two-phase output signal;
an electrical angle acquisition unit configured to acquire an electrical angle of the rotation detector based on the phase relationship and the amplitudes of the two-phase output signals;
Accuracy acquisition for acquiring the accuracy of the electrical angle of the rotation detector based on the mechanical angle of the rotor acquired based on the output of an encoder that outputs a signal corresponding to the rotation angle of the rotor and stored in the memory. part,
function as
taking in the excitation signal, the two-phase output signal, and the mechanical angle of the rotor to the memory without stopping the rotation of the motor;
Electrical angle acquisition characteristic measurement program.
1相励磁2相出力の回転検出器の励磁信号と出力信号とに基づいて前記回転検出器の電気角を取得する特性を測定する電気角取得特性測定システムであって、
前記回転検出器のロータに対して、シャフトまたはシャフトに連動して回転する部位が取り付けられたモータを制御するモータ制御部と、
メモリと、
前記メモリに取り込まれた2相の前記出力信号の励磁周波数成分をフーリエ変換によって取得する出力信号取得部と、
前記励磁信号と、2相の前記出力信号とに基づいて、前記励磁信号と2相の前記出力信号との位相の関係を取得する位相関係取得部と、
2相の前記出力信号の励磁周波数成分に基づいて、2相の前記出力信号の振幅を取得する振幅取得部と、
前記位相の関係と2相の前記出力信号の前記振幅とに基づいて、前記回転検出器の電気角を取得する電気角取得部と、
前記ロータの回転角度に応じた信号を出力するエンコーダの出力に基づいて取得され、前記メモリに取り込まれた前記ロータの機械角に基づいて、前記回転検出器の電気角の精度を取得する精度取得部と、
、を備え、
前記メモリに対する2相の前記出力信号と、前記ロータの機械角と、の取り込みは前記モータの回転を停止させずに実行される、
電気角取得特性測定システム。
An electrical angle acquisition characteristic measurement system for measuring electrical angle acquisition characteristics of a rotation detector based on an excitation signal and an output signal of a rotation detector with one-phase excitation and two-phase output,
a motor control unit that controls a motor having a shaft or a part that rotates in conjunction with the shaft attached to the rotor of the rotation detector;
memory;
an output signal acquisition unit that acquires excitation frequency components of the two-phase output signals stored in the memory by Fourier transform;
a phase relationship acquisition unit that acquires a phase relationship between the excitation signal and the two-phase output signals based on the excitation signal and the two-phase output signals;
an amplitude acquisition unit configured to acquire amplitudes of the two-phase output signals based on excitation frequency components of the two-phase output signals;
an electrical angle acquisition unit configured to acquire an electrical angle of the rotation detector based on the phase relationship and the amplitudes of the two-phase output signals;
Accuracy acquisition for acquiring the accuracy of the electrical angle of the rotation detector based on the mechanical angle of the rotor acquired based on the output of an encoder that outputs a signal corresponding to the rotation angle of the rotor and stored in the memory. Department and
, and
taking in the two-phase output signals and the mechanical angle of the rotor into the memory is performed without stopping rotation of the motor;
Electrical angle acquisition characteristic measurement system.
1相励磁2相出力の回転検出器の励磁信号と出力信号とに基づいて前記回転検出器の電気角を取得する特性を測定する電気角取得特性測定方法であって、
前記回転検出器のロータに対して、シャフトまたはシャフトに連動して回転する部位が取り付けられたモータを制御するモータ制御工程と、
メモリに取り込まれた2相の前記出力信号の励磁周波数成分をフーリエ変換によって取得する出力信号取得工程と、
前記励磁信号と、2相の前記出力信号とに基づいて、前記励磁信号と2相の前記出力信号との位相の関係を取得する位相関係取得工程と、
2相の前記出力信号の励磁周波数成分に基づいて、2相の前記出力信号の振幅を取得する振幅取得工程と、
前記位相の関係と2相の前記出力信号の前記振幅とに基づいて、前記回転検出器の電気角を取得する電気角取得工程と、
前記ロータの回転角度に応じた信号を出力するエンコーダの出力に基づいて取得され、前記メモリに取り込まれた前記ロータの機械角に基づいて、前記回転検出器の電気角の精度を取得する精度取得工程と、
を含み、
前記メモリに対する2相の前記出力信号と、前記ロータの機械角と、の取り込みは前記モータの回転を停止させずに実行される、
電気角取得特性測定方法。
An electrical angle acquisition characteristic measuring method for measuring the electrical angle acquisition characteristic of a rotation detector based on an excitation signal and an output signal of a one-phase excitation two-phase output rotation detector, comprising:
a motor control step of controlling a motor having a shaft or a part that rotates in conjunction with the shaft attached to the rotor of the rotation detector;
an output signal acquiring step of acquiring the excitation frequency components of the two-phase output signals stored in the memory by Fourier transform;
a phase relationship acquiring step of acquiring a phase relationship between the excitation signal and the two-phase output signals based on the excitation signal and the two-phase output signals;
an amplitude acquisition step of acquiring amplitudes of the two-phase output signals based on excitation frequency components of the two-phase output signals;
an electrical angle acquiring step of acquiring an electrical angle of the rotation detector based on the phase relationship and the amplitudes of the two-phase output signals;
Accuracy acquisition for acquiring the accuracy of the electrical angle of the rotation detector based on the mechanical angle of the rotor acquired based on the output of an encoder that outputs a signal corresponding to the rotation angle of the rotor and stored in the memory. process and
including
taking in the two-phase output signals and the mechanical angle of the rotor into the memory is performed without stopping rotation of the motor;
Electrical angle acquisition characteristic measurement method.
1相励磁2相出力の回転検出器の励磁信号と出力信号とに基づいて前記回転検出器の電気角を取得する特性を測定するコンピュータを、
前記回転検出器のロータに対して、シャフトまたはシャフトに連動して回転する部位が取り付けられたモータを制御するモータ制御部、
メモリに取り込まれた2相の前記出力信号の励磁周波数成分をフーリエ変換によって取得する出力信号取得部、
前記励磁信号と、2相の前記出力信号とに基づいて、前記励磁信号と2相の前記出力信号との位相の関係を取得する位相関係取得部、
2相の前記出力信号の励磁周波数成分に基づいて、2相の前記出力信号の振幅を取得する振幅取得部、
前記位相の関係と2相の前記出力信号の前記振幅とに基づいて、前記回転検出器の電気角を取得する電気角取得部、
前記ロータの回転角度に応じた信号を出力するエンコーダの出力に基づいて取得され、前記メモリに取り込まれた前記ロータの機械角に基づいて、前記回転検出器の電気角の精度を取得する精度取得部、
として機能させ、
前記メモリに対する2相の前記出力信号と、前記ロータの機械角と、の取り込みは前記モータの回転を停止させずに実行される、
電気角取得特性測定プログラム。
A computer for measuring the characteristics of obtaining the electrical angle of the rotation detector based on the excitation signal and the output signal of the rotation detector with 1-phase excitation and 2-phase output,
a motor control unit for controlling a motor having a shaft or a part that rotates in conjunction with the shaft attached to the rotor of the rotation detector;
an output signal acquisition unit that acquires the excitation frequency components of the two-phase output signals stored in the memory by Fourier transform;
a phase relationship acquisition unit that acquires a phase relationship between the excitation signal and the two-phase output signals based on the excitation signal and the two-phase output signals;
an amplitude acquisition unit that acquires the amplitude of the two-phase output signal based on the excitation frequency component of the two-phase output signal;
an electrical angle acquisition unit configured to acquire an electrical angle of the rotation detector based on the phase relationship and the amplitudes of the two-phase output signals;
Accuracy acquisition for acquiring the accuracy of the electrical angle of the rotation detector based on the mechanical angle of the rotor acquired based on the output of an encoder that outputs a signal corresponding to the rotation angle of the rotor and stored in the memory. part,
function as
taking in the two-phase output signals and the mechanical angle of the rotor into the memory is performed without stopping rotation of the motor;
Electrical angle acquisition characteristic measurement program.
JP2017214933A 2017-11-07 2017-11-07 Electrical angle acquisition system, electrical angle acquisition method, electrical angle acquisition program, electrical angle acquisition characteristic measurement system, electrical angle acquisition characteristic measurement method, and electrical angle acquisition characteristic measurement program Active JP7251751B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2017214933A JP7251751B2 (en) 2017-11-07 2017-11-07 Electrical angle acquisition system, electrical angle acquisition method, electrical angle acquisition program, electrical angle acquisition characteristic measurement system, electrical angle acquisition characteristic measurement method, and electrical angle acquisition characteristic measurement program
PCT/JP2018/038316 WO2019093074A1 (en) 2017-11-07 2018-10-15 Electrical angle acquisition system, electrical angle acquisition method, electrical angle acquisition program, electrical angle acquisition characteristic measurement system, electrical angle acquisition characteristic measurement method, and electrical angle acquisition characteristic measurement program
JP2022206107A JP7391341B2 (en) 2017-11-07 2022-12-23 Electrical angle acquisition system, electrical angle acquisition method, and electrical angle acquisition program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017214933A JP7251751B2 (en) 2017-11-07 2017-11-07 Electrical angle acquisition system, electrical angle acquisition method, electrical angle acquisition program, electrical angle acquisition characteristic measurement system, electrical angle acquisition characteristic measurement method, and electrical angle acquisition characteristic measurement program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2022206107A Division JP7391341B2 (en) 2017-11-07 2022-12-23 Electrical angle acquisition system, electrical angle acquisition method, and electrical angle acquisition program

Publications (3)

Publication Number Publication Date
JP2019086410A JP2019086410A (en) 2019-06-06
JP2019086410A5 JP2019086410A5 (en) 2020-12-17
JP7251751B2 true JP7251751B2 (en) 2023-04-04

Family

ID=66438351

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2017214933A Active JP7251751B2 (en) 2017-11-07 2017-11-07 Electrical angle acquisition system, electrical angle acquisition method, electrical angle acquisition program, electrical angle acquisition characteristic measurement system, electrical angle acquisition characteristic measurement method, and electrical angle acquisition characteristic measurement program
JP2022206107A Active JP7391341B2 (en) 2017-11-07 2022-12-23 Electrical angle acquisition system, electrical angle acquisition method, and electrical angle acquisition program

Family Applications After (1)

Application Number Title Priority Date Filing Date
JP2022206107A Active JP7391341B2 (en) 2017-11-07 2022-12-23 Electrical angle acquisition system, electrical angle acquisition method, and electrical angle acquisition program

Country Status (2)

Country Link
JP (2) JP7251751B2 (en)
WO (1) WO2019093074A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7100677B2 (en) * 2020-05-14 2022-07-13 株式会社小野測器 Test system
JP7072194B1 (en) 2020-12-07 2022-05-20 多摩川精機株式会社 Multi-rotation detector

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040055129A1 (en) 2002-09-24 2004-03-25 Abid Ghuman Method of engineering a flexible process line
JP2004109073A (en) 2002-09-20 2004-04-08 Ckd Corp Resolver
JP2004177273A (en) 2002-11-27 2004-06-24 Toyoda Mach Works Ltd Angle detection device and torque sensor equipped with the same
JP2007132909A (en) 2005-11-14 2007-05-31 Yaskawa Electric Corp Signal processor
JP2008139100A (en) 2006-11-30 2008-06-19 Hitachi Ltd Position measuring system
JP2009250790A (en) 2008-04-07 2009-10-29 Denso Corp Position detecting device and position detection correcting method
JP2010145149A (en) 2008-12-17 2010-07-01 Mitsubishi Heavy Ind Ltd Electromagnetic induction type position detection device and method
JP2012108092A (en) 2010-05-28 2012-06-07 Denso Corp Abnormality diagnostic apparatus of amplitude modulation device
JP2012112662A (en) 2010-11-19 2012-06-14 Nsk Ltd Rotation angle position detector and error detection method thereof
JP2012165493A (en) 2011-02-03 2012-08-30 Mitsubishi Heavy Ind Ltd Motor control device and motor control method
JP2013172602A (en) 2012-02-22 2013-09-02 Denso Corp Motor control device and motor control method
JP2013221827A (en) 2012-04-16 2013-10-28 Denso Corp Signal processor
JP2015169631A (en) 2014-03-10 2015-09-28 多摩川精機株式会社 resolver error correction structure, resolver and resolver error correction method
JP2016138870A (en) 2015-01-29 2016-08-04 ルネサスエレクトロニクス株式会社 Semiconductor device

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11118520A (en) * 1997-10-17 1999-04-30 Tamagawa Seiki Co Ltd Digital angle conversation method
JP3368837B2 (en) * 1998-08-05 2003-01-20 トヨタ自動車株式会社 Resolver signal processor
JP3914818B2 (en) * 2002-05-22 2007-05-16 三菱電機株式会社 Rotation angle detector
JP2004279231A (en) * 2003-03-17 2004-10-07 Minebea Co Ltd R/d converter
JP2005208028A (en) * 2003-12-22 2005-08-04 Minebea Co Ltd Angle operation method for variable reluctance resolver, and angle operation unit for the same
JP4294558B2 (en) * 2004-08-23 2009-07-15 ソニー株式会社 Angle detection signal processor
JP5445031B2 (en) * 2009-10-27 2014-03-19 株式会社ジェイテクト Method of manufacturing rotation angle detection device, rotation angle detection device, motor control device, and electric power steering device
JP2012068094A (en) * 2010-09-22 2012-04-05 Toshiba Corp Resolver signal processing device
JP5281126B2 (en) * 2011-07-15 2013-09-04 三菱電機株式会社 Angle detection method by resolver
JP5823785B2 (en) * 2011-09-12 2015-11-25 新日本無線株式会社 Rotation angle detector
US9068861B2 (en) * 2012-08-24 2015-06-30 Hamilton Sundstrand Corporation Resolver interface
JP6175619B2 (en) * 2013-06-21 2017-08-09 多摩川精機株式会社 Interface circuit

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004109073A (en) 2002-09-20 2004-04-08 Ckd Corp Resolver
US20040055129A1 (en) 2002-09-24 2004-03-25 Abid Ghuman Method of engineering a flexible process line
JP2004177273A (en) 2002-11-27 2004-06-24 Toyoda Mach Works Ltd Angle detection device and torque sensor equipped with the same
JP2007132909A (en) 2005-11-14 2007-05-31 Yaskawa Electric Corp Signal processor
JP2008139100A (en) 2006-11-30 2008-06-19 Hitachi Ltd Position measuring system
JP2009250790A (en) 2008-04-07 2009-10-29 Denso Corp Position detecting device and position detection correcting method
JP2010145149A (en) 2008-12-17 2010-07-01 Mitsubishi Heavy Ind Ltd Electromagnetic induction type position detection device and method
JP2012108092A (en) 2010-05-28 2012-06-07 Denso Corp Abnormality diagnostic apparatus of amplitude modulation device
JP2012112662A (en) 2010-11-19 2012-06-14 Nsk Ltd Rotation angle position detector and error detection method thereof
JP2012165493A (en) 2011-02-03 2012-08-30 Mitsubishi Heavy Ind Ltd Motor control device and motor control method
JP2013172602A (en) 2012-02-22 2013-09-02 Denso Corp Motor control device and motor control method
JP2013221827A (en) 2012-04-16 2013-10-28 Denso Corp Signal processor
JP2015169631A (en) 2014-03-10 2015-09-28 多摩川精機株式会社 resolver error correction structure, resolver and resolver error correction method
JP2016138870A (en) 2015-01-29 2016-08-04 ルネサスエレクトロニクス株式会社 Semiconductor device

Also Published As

Publication number Publication date
JP7391341B2 (en) 2023-12-05
WO2019093074A1 (en) 2019-05-16
JP2023024682A (en) 2023-02-16
JP2019086410A (en) 2019-06-06

Similar Documents

Publication Publication Date Title
JP7391341B2 (en) Electrical angle acquisition system, electrical angle acquisition method, and electrical angle acquisition program
CN107040182B (en) Method and device for monitoring a resolver
US20080177485A1 (en) System and method for providing vibration detection in turbomachinery
JP5251960B2 (en) Encoder, servo unit and position data calculation method
JP2011033602A (en) Resolver/digital converter, and resolver/digital conversion method
JP2006304035A (en) Analog-digital converting method and system thereof
EP3830588A1 (en) Current sensor configuration and calibration
CN108827454A (en) A kind of turbine shafting vibrating data collection and processing method
AU2012314960A1 (en) A method of determining stationary signals for the diagnostics of an electromechanical system
KR101840828B1 (en) SDR Receiver for detecting doppler frequency in CW radar and method for detecting the same
CN109444559A (en) The method of sampling, method for reconstructing and the device of pulse signal
KR101338707B1 (en) Excitation signal generating device and resolver sensing device
US9726702B2 (en) Impedance measurement device and method
US20210013818A1 (en) Dq0 and inverse dq0 transformation for three-phase inverter, motor and drive design
JP2019086410A5 (en)
JP2000055949A (en) Method and apparatus for analyzing frequency
EP3534165A1 (en) Pulse analyzer
JP4350488B2 (en) Voltage, current, active power, reactive power, frequency measuring device and measuring method in power system
Balestrieri et al. Research trends and challenges on DAC testing
JP2005214932A (en) Signal processor, and voltage measuring instrument and current measuring instrument using signal processor
CN111176192B (en) Flow control system, method and device for controlling chip starting flow
JP2000284008A (en) Frequency measuring method and device
Balestrieri et al. DAC testing: recent research directions
JP2698598B2 (en) Waveform measuring device
CN110220539A (en) For calculating the integrated circuit and method of motor position

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201030

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20201030

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20211116

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220114

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220524

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20221011

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221223

C60 Trial request (containing other claim documents, opposition documents)

Free format text: JAPANESE INTERMEDIATE CODE: C60

Effective date: 20221223

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20230110

C21 Notice of transfer of a case for reconsideration by examiners before appeal proceedings

Free format text: JAPANESE INTERMEDIATE CODE: C21

Effective date: 20230117

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230315

R150 Certificate of patent or registration of utility model

Ref document number: 7251751

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150