JPH11118520A - Digital angle conversation method - Google Patents

Digital angle conversation method

Info

Publication number
JPH11118520A
JPH11118520A JP28484397A JP28484397A JPH11118520A JP H11118520 A JPH11118520 A JP H11118520A JP 28484397 A JP28484397 A JP 28484397A JP 28484397 A JP28484397 A JP 28484397A JP H11118520 A JPH11118520 A JP H11118520A
Authority
JP
Japan
Prior art keywords
phase
resolver
sin
digital angle
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.)
Pending
Application number
JP28484397A
Other languages
Japanese (ja)
Inventor
Motomi Nakajima
源美 中島
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.)
Tamagawa Seiki Co Ltd
Original Assignee
Tamagawa Seiki Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tamagawa Seiki Co Ltd filed Critical Tamagawa Seiki Co Ltd
Priority to JP28484397A priority Critical patent/JPH11118520A/en
Publication of JPH11118520A publication Critical patent/JPH11118520A/en
Pending legal-status Critical Current

Links

Landscapes

  • Transmission And Conversion Of Sensor Element Output (AREA)

Abstract

PROBLEM TO BE SOLVED: To enable resolver/digital(R/D) conversion by software, remarkably simplify hardware, and realize cost reduction by calculating a digital angle by operating the two-phase outputs of a resolver output after A/D conversion by Fourier transformation. SOLUTION: Out of two-phase resolver outputs which are outputted from a resolver by using a single phase exciting signal sin ωt and have a phase difference of 90 deg. (have a phase of constant frequency component), a sin signal (sinθ.sinωt) and a cos signal (cosθ.sinωt) are Fourier-transformed by using a specified Fourier transformation formula, and a digital angle θis obtained. Thereby an R/D converter is not necessary to be used, so that the whole constitution is simplified, cost reduction is enabled, and reliability and convenience are improved.

Description

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

【0001】[0001]

【発明が属する技術分野】本発明は、ディジタル角度変
換方法に関し、特に、フーリェ変換法を用いてレゾルバ
出力波形中の一定周波数成分の位相を演算し、従来のレ
ゾルバ/ディジタル変換器を用いることなくソフトウェ
アを用いてディジタル角度を算出するための新規な改良
に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital angle conversion method, and more particularly to a method of calculating a phase of a constant frequency component in a resolver output waveform using a Fourier transform method without using a conventional resolver / digital converter. The present invention relates to a novel improvement for calculating a digital angle using software.

【0002】[0002]

【従来の技術】従来、用いられていたこの種のディジタ
ル角度変換方法としては、例えば、図4に示すトラッキ
ング方式が多く用いられている。すなわち、図4におい
て符号1で示されるものは、励磁信号E・sin ωtで励
磁されるレゾルバであり、このレゾルバ1から得られる
2相出力KEsin θ sin ωt,KEcosθ sin ωtは
演算器2で演算され、その出力信号KEsin ωt・sin
(θ−φ)但し、θはレゾルバ回転角度、φは出力カウ
ンタ値)が前記励磁信号E・sin ωtが入力される同期
整流部3で同期整流されている。前記同期整流部3から
得られた出力信号KEsin(θ−φ)は電圧制御発振器
4を介してパルス出力4aとしてカウンタ5に入力され
てディジタル角度出力である出力カウンタ値φがカウン
タ5から得られる。この出力カウンタ値φはフィードバ
ックされてフィードバックループが形成されている。従
って、前記同期整流部3からの出力信号KEsin(θ−
φ)によって速度信号6を得ると共に、カウンタ5から
の出力カウンタ値φにより位置信号7を得ることができ
る。
2. Description of the Related Art As a conventional digital angle conversion method of this type, for example, a tracking method shown in FIG. 4 is often used. That is, what is indicated by reference numeral 1 in FIG. 4 is a resolver which is excited by the excitation signal E · sin ωt. And the output signal KEsin ωt · sin
(Θ-φ) where θ is the resolver rotation angle and φ is the output counter value) is synchronously rectified by the synchronous rectifier 3 to which the excitation signal E · sin ωt is input. The output signal KE sin (θ−φ) obtained from the synchronous rectifier 3 is input to the counter 5 as a pulse output 4 a via the voltage controlled oscillator 4, and the output counter value φ as a digital angle output is obtained from the counter 5. . This output counter value φ is fed back to form a feedback loop. Therefore, the output signal KE sin (θ−
φ), the speed signal 6 can be obtained, and the position signal 7 can be obtained from the output counter value φ from the counter 5.

【0003】[0003]

【発明が解決しようとする課題】従来のディジタル角度
変換方法は、以上のように構成されているため、次のよ
うな課題が存在していた。すなわち、前述の回路構成に
おいては各構成部分の一部に複雑なアナログ構成がある
ため全体構成を簡略化しにくく、低価格化、高信頼性、
利便性を達成することは困難であった。
The conventional digital angle conversion method has the following problems because it is configured as described above. That is, in the above-described circuit configuration, since a part of each component has a complicated analog configuration, it is difficult to simplify the entire configuration, and the cost is reduced, the reliability is improved,
Convenience was difficult to achieve.

【0004】本発明は、以上のような課題を解決するた
めになされたもので、特に、フーリェ変換法を用いてレ
ゾルバ出力波形中の一定周波数成分の位相を演算し、従
来のレゾルバ/ディジタル変換器を用いることなくソフ
トウェアを用いてディジタル角度を算出するようにした
ディジタル角度変換方法を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems. In particular, a conventional resolver / digital conversion is performed by calculating the phase of a constant frequency component in a resolver output waveform using a Fourier transform method. It is an object of the present invention to provide a digital angle conversion method in which a digital angle is calculated using software without using a device.

【0005】[0005]

【課題を解決するための手段】本発明によるディジタル
角度変換方法は、1相励磁2相出力のレゾルバから得ら
れる90度位相差を有する2相のレゾルバ出力をディジ
タル角度信号に変換するようにしたディジタル角度変換
方法において、前記レゾルバ出力をA/D変換した後、
フーリェ変換法により前記レゾルバ出力の波形に含まれ
る一定周波数成分の位相をCPUにより演算して前記デ
ィジタル角度を算出する方法である。
A digital angle conversion method according to the present invention converts a two-phase resolver output having a 90-degree phase difference obtained from a one-phase excitation two-phase output resolver into a digital angle signal. In the digital angle conversion method, after A / D conversion of the resolver output,
In this method, the digital angle is calculated by calculating the phase of a constant frequency component included in the waveform of the resolver output by a Fourier transform method using a CPU.

【0006】[0006]

【発明の実施の形態】以下、図面と共に本発明によるデ
ィジタル角度変換方法の好適な実施の形態について説明
する。なお、レゾルバ自体は、図4で示した周知の1相
励磁2相出力型の構成と同一であるためここでは図示を
省略する。まず、1相の励磁信号sin ωtを用いて前述
のレゾルバから出力される互いに90度位相が異なる2
相のレゾルバ出力の(一定周波数成分の位相を有する)
のうち、sin信号(sin θ・sin ωt)とcos 信号(cos
θ・sin ωt)を各々次の数1のフーリェ変換式を用
いてフーリェ変換することによりディジタル角度θが得
られる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of a digital angle conversion method according to the present invention will be described below with reference to the drawings. Since the resolver itself has the same configuration as the well-known one-phase excitation two-phase output type shown in FIG. 4, its illustration is omitted here. First, using the one-phase excitation signal sin ωt, the two-phase signals output from the above-mentioned resolver are different from each other by 90 degrees.
Resolver output of phase (has phase of constant frequency component)
Of the sin signal (sin θ · sin ωt) and the cos signal (cos
θ · sin ωt) is subjected to Fourier transform using the following Fourier transform equation, whereby a digital angle θ is obtained.

【0007】[0007]

【数1】 (Equation 1)

【0008】次に、前述のフーリェ変換によりディジタ
ル角度θを算出するための具体的形態について述べる。
まず、図1に示す周知の図示しないA/D変換器からの
2相のsin信号(S−sin)及びcos信号(S−cos)と励
磁信号(sin ωt)をCPU(図示せず)に取り込み、
この読み込んだsin信号S−sinにsin ωtをかけ(SA
1)、また、sin信号にcos ωtをかける(SB1)。
このSA1とSB1をサンプリング数(n)分繰り返し
て結果を次のように加算する。 SA1=S−sin(1)×S−BAS(1)+・・・+S−sin
(n)×S−BAS(n) SB1=S−sin(1)×C−BAS(1)+・・・+S−sin
(n)×C−BAS(n) 次に、前述と同様にcos信号にsin ωt及びcos ωtを
かけてCA2とCB2を求める。CA2=S−cos(1)×
S−BAS(1)+・・・+S−cos(n)×S−BAS1(n) CB2=S−cos(1)×C−BAS(1)+・・・+S−cos
(n)×C−BAS1(n) 次に、前述の結果より、│sin θ│と│cos θ│を次の
数2の(2)、(3)式により求める。
Next, a specific form for calculating the digital angle θ by the above-described Fourier transform will be described.
First, a two-phase sin signal (S-sin) and cos signal (S-cos) and an excitation signal (sin ωt) from a well-known A / D converter (not shown) shown in FIG. 1 are sent to a CPU (not shown). Ingest,
Multiply the read sin signal S-sin by sin ωt (SA
1) Also, multiply the sin signal by cos ωt (SB1).
SA1 and SB1 are repeated for the number of samples (n), and the results are added as follows. SA1 = S-sin (1) × S-BAS (1) +... + S-sin
(n) × S-BAS (n) SB1 = S-sin (1) × C-BAS (1) +... + S-sin
(n) × C-BAS (n) Next, similarly to the above, CA2 and CB2 are obtained by multiplying the cos signal by sin ωt and cos ωt. CA2 = S-cos (1) ×
S-BAS (1) + ... + S-cos (n) * S-BAS1 (n) CB2 = S-cos (1) * C-BAS (1) + ... + S-cos
(n) × C-BAS1 (n) Next, | sin θ | and | cos θ | are obtained from the above results by the following equations (2) and (3).

【0009】[0009]

【数2】 (Equation 2)

【0010】前述の│sin θ│と│cos θ│とが、│si
n θ│>│cos θ│の時にx=│sin θ│/│cos θ│
となり、│sin θ│≦│cos θ│の時にx=│cos θ│
/│sin θ│となると共に、図3で示すtan-1xテーブ
ルより、xに対応したθ△を求める(0°〜45°)。
従って、S−sin及びS−cosの極性及び│sin θ│>│
cos θ│より図2に示すように象限判定を行うことによ
ってレゾルバの1回転に対応した位置データPを得るこ
とができる。従って、前述のように、レゾルバ出力の波
形に含まれる一定周波数成分の位相を演算してレゾルバ
のディジタル角度を算出することができる。
The aforementioned | sin θ | and | cos θ |
x = │sin θ│ / │cos θ│ when n θ│> │cos θ│
X = │cos θ│ when │sin θ│ ≦ │cos θ│
/ │sin θ│, and θ △ corresponding to x is obtained from the tan -1 x table shown in FIG. 3 (0 ° to 45 °).
Therefore, the polarities of S-sin and S-cos and | sin θ |> |
By performing quadrant determination as shown in FIG. 2 from cos θ |, position data P corresponding to one revolution of the resolver can be obtained. Therefore, as described above, the digital angle of the resolver can be calculated by calculating the phase of the constant frequency component included in the waveform of the resolver output.

【0011】[0011]

【発明の効果】本発明によるディジタル角度変換方法
は、以上のように構成されているため、次のような効果
を得ることができる。すなわち、A/D変換後のレゾル
バ出力の2相出力をフーリェ変換法により演算してディ
ジタル角度を算出するため、CPUのソフトウェアでレ
ゾルバ/ディジタル変換(R/D変換)が可能であり、
従来のR/D変換器を必要としないため、ハードウェア
を大幅に簡略化し、かつ、コストダウンを達成すること
ができる。
Since the digital angle conversion method according to the present invention is configured as described above, the following effects can be obtained. That is, since the two-phase output of the resolver output after the A / D conversion is calculated by the Fourier transform method to calculate the digital angle, resolver / digital conversion (R / D conversion) is possible by software of the CPU.
Since a conventional R / D converter is not required, hardware can be greatly simplified and cost can be reduced.

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

【図1】本発明によるディジタル角度変換方法における
レゾルバ出力を示す波形図である。
FIG. 1 is a waveform diagram showing a resolver output in a digital angle conversion method according to the present invention.

【図2】ディジタル角度出力の状態を示す波形図であ
る。
FIG. 2 is a waveform chart showing a state of digital angle output.

【図3】角度変換テーブルを示す波形図である。FIG. 3 is a waveform chart showing an angle conversion table.

【図4】従来のトラッキング方式R/D変換器を示すブ
ロック図である。
FIG. 4 is a block diagram showing a conventional tracking R / D converter.

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

θ ディジタル角度 θ Digital angle

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 1相励磁2相出力のレゾルバから得られ
る90度位相差を有する2相のレゾルバ出力をディジタ
ル角度(θ)に変換するようにしたディジタル角度変換
方法において、前記レゾルバ出力をA/D変換した後、
フーリェ変換法により前記レゾルバ出力の波形に含まれ
る一定周波数成分の位相をCPUにより演算して前記デ
ィジタル角度(θ)を算出することを特徴とするディジ
タル角度変換方法。
1. A digital angle conversion method for converting a two-phase resolver output having a 90-degree phase difference obtained from a one-phase excitation two-phase output resolver into a digital angle (θ). After / D conversion
A digital angle conversion method, wherein the digital angle (θ) is calculated by calculating the phase of a constant frequency component contained in the waveform of the resolver output by a Fourier transform method using a CPU.
JP28484397A 1997-10-17 1997-10-17 Digital angle conversation method Pending JPH11118520A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28484397A JPH11118520A (en) 1997-10-17 1997-10-17 Digital angle conversation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28484397A JPH11118520A (en) 1997-10-17 1997-10-17 Digital angle conversation method

Publications (1)

Publication Number Publication Date
JPH11118520A true JPH11118520A (en) 1999-04-30

Family

ID=17683751

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28484397A Pending JPH11118520A (en) 1997-10-17 1997-10-17 Digital angle conversation method

Country Status (1)

Country Link
JP (1) JPH11118520A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005257565A (en) * 2004-03-12 2005-09-22 Nec Electronics Corp Resolver digital angle conversion device, method, and program
JP2006300594A (en) * 2005-04-18 2006-11-02 Denso Corp Angle of rotation detecting device
WO2007086160A1 (en) * 2006-01-27 2007-08-02 Sokkia, Co., Ltd. Rotary encoder
JP2008139100A (en) * 2006-11-30 2008-06-19 Hitachi Ltd Position measuring system
DE102008028911A1 (en) 2007-06-18 2009-01-02 AISAN KOGYO K.K., Obu-shi resolver
DE102008063089A1 (en) 2007-12-28 2009-07-09 Toshiba Kikai K.K. Rotary detection device and angle detection device and resolver method
WO2009099054A1 (en) * 2008-02-07 2009-08-13 Hitachi Metals, Ltd. Rotation angle detection device, rotary machine, and rotation angle detection method
WO2011146380A1 (en) * 2010-05-17 2011-11-24 Faro Technologies, Inc. Self-compensating angular encoder
KR101175962B1 (en) * 2009-01-21 2012-08-22 쿠카 레보라토리즈 게엠베하 Method and device for determination of an angular position using a resolver
GB2494811A (en) * 2010-05-17 2013-03-20 Faro Tech Inc Self-compensating angular encoder
JP2013061161A (en) * 2011-09-12 2013-04-04 New Japan Radio Co Ltd Rotation angle detecting device
JP2013205099A (en) * 2012-03-27 2013-10-07 Denso Corp Position detector
JP2013205100A (en) * 2012-03-27 2013-10-07 Denso Corp Position detector
JP2019086410A (en) * 2017-11-07 2019-06-06 株式会社松尾製作所 Electric angle acquisition system, electric angle acquisition method, electric angle acquisition program, electric angle acquisition characteristic measuring system, electric angle acquisition characteristic measuring method and electric angle acquisition characteristic measuring program
JP2020176998A (en) * 2019-04-23 2020-10-29 ルネサスエレクトロニクス株式会社 Semiconductor device, motor control system, and method for detecting errors

Cited By (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4515120B2 (en) * 2004-03-12 2010-07-28 ルネサスエレクトロニクス株式会社 Resolver digital angle conversion apparatus and method, and program
DE102005009555B4 (en) * 2004-03-12 2007-04-05 Nec Electronics Corp., Kawasaki Digital transducers, procedures and program
US7263452B2 (en) 2004-03-12 2007-08-28 Nec Electronics Corporation Resolver-to-digital converting apparatus, method and program
JP2005257565A (en) * 2004-03-12 2005-09-22 Nec Electronics Corp Resolver digital angle conversion device, method, and program
JP2006300594A (en) * 2005-04-18 2006-11-02 Denso Corp Angle of rotation detecting device
WO2007086160A1 (en) * 2006-01-27 2007-08-02 Sokkia, Co., Ltd. Rotary encoder
AU2006336718B2 (en) * 2006-01-27 2011-07-28 Sokkia, Co. Ltd. Rotary encoder
US7825367B2 (en) 2006-01-27 2010-11-02 Sokkia Co., Ltd. Rotary encoder
JP2008139100A (en) * 2006-11-30 2008-06-19 Hitachi Ltd Position measuring system
DE102008028911A1 (en) 2007-06-18 2009-01-02 AISAN KOGYO K.K., Obu-shi resolver
US7692566B2 (en) 2007-06-18 2010-04-06 Aisan Kogyo Kabushiki Kaisha Angle detection device
DE102008063089A1 (en) 2007-12-28 2009-07-09 Toshiba Kikai K.K. Rotary detection device and angle detection device and resolver method
DE102008063089B4 (en) * 2007-12-28 2011-12-29 Toshiba Kikai K.K. Rotary detection device and angle detection device and resolver method
US7895010B2 (en) 2007-12-28 2011-02-22 Toshiba Kikai Kabushiki Kaisha Resolver angle detection device and method of detecting position with a resolver
JP2009156852A (en) * 2007-12-28 2009-07-16 Toshiba Mach Co Ltd Resolver apparatus, angle detection device and method of resolver
US8564283B2 (en) 2008-02-07 2013-10-22 Hitachi Metals, Ltd. Rotation-angle-detecting apparatus, rotating machine and rotation-angle-detecting method
WO2009099054A1 (en) * 2008-02-07 2009-08-13 Hitachi Metals, Ltd. Rotation angle detection device, rotary machine, and rotation angle detection method
JP5120384B2 (en) * 2008-02-07 2013-01-16 日立金属株式会社 Rotation angle detection device, rotator, and rotation angle detection method
KR101175962B1 (en) * 2009-01-21 2012-08-22 쿠카 레보라토리즈 게엠베하 Method and device for determination of an angular position using a resolver
US9234773B2 (en) 2010-05-17 2016-01-12 Faro Technologies, Inc. Self-compensating angular encoder
GB2494811A (en) * 2010-05-17 2013-03-20 Faro Tech Inc Self-compensating angular encoder
CN102985793A (en) * 2010-05-17 2013-03-20 法罗技术股份有限公司 Self-compensating angular encoder
WO2011146380A1 (en) * 2010-05-17 2011-11-24 Faro Technologies, Inc. Self-compensating angular encoder
JP2013061161A (en) * 2011-09-12 2013-04-04 New Japan Radio Co Ltd Rotation angle detecting device
JP2013205099A (en) * 2012-03-27 2013-10-07 Denso Corp Position detector
JP2013205100A (en) * 2012-03-27 2013-10-07 Denso Corp Position detector
US9429413B2 (en) 2012-03-27 2016-08-30 Denso Corporation Position detection device
US9574866B2 (en) 2012-03-27 2017-02-21 Denso Corporation Position detection device
JP2019086410A (en) * 2017-11-07 2019-06-06 株式会社松尾製作所 Electric angle acquisition system, electric angle acquisition method, electric angle acquisition program, electric angle acquisition characteristic measuring system, electric angle acquisition characteristic measuring method and electric angle acquisition characteristic measuring program
JP2023024682A (en) * 2017-11-07 2023-02-16 株式会社松尾製作所 Electrical angle acquisition system, electrical angle acquisition method, electrical angle acquisition program, electrical angle acquisition characteristic measuring system, electrical angle acquisition characteristic measuring method, and electrical angle acquisition characteristic measuring program
JP2020176998A (en) * 2019-04-23 2020-10-29 ルネサスエレクトロニクス株式会社 Semiconductor device, motor control system, and method for detecting errors

Similar Documents

Publication Publication Date Title
JPH11118520A (en) Digital angle conversation method
Bergas-Jané et al. High-accuracy all-digital resolver-to-digital conversion
JP4138899B2 (en) Phase difference detection apparatus, position detection system and method for position detection
JP3368837B2 (en) Resolver signal processor
JP5173962B2 (en) Resolver / digital conversion apparatus and resolver / digital conversion method
US4795954A (en) Resolver controlling method and apparatus
US5637998A (en) Digital system for detecting angular position
JP2005283165A (en) Variable reluctance resolver and rotation angle sensor using it
CN110995108A (en) Rotary transformer signal compensation method and device and rotary transformer
EP2077621A2 (en) Reference signal generation circuit, angle converter, and angle detection apparatus
Attaianese et al. A low cost resolver-to-digital converter
JP3667465B2 (en) Method and apparatus for detecting position of linear stepping motor
JP2000329505A (en) Method and apparatus for generating position detection data
JP2000283701A (en) Symmetrical sampling method
JPH0455273B2 (en)
JP5823785B2 (en) Rotation angle detector
US5631646A (en) Method for determination of errors in analogue-digital conversion
JPH11118521A (en) Vr type resolver and resolver signal processing circuit
JP3365913B2 (en) Position detection device
RU2365032C1 (en) Digital angle transformer
Sivappagari et al. High accuracy resolver to digital converter based on modified angle tracking observer method
JP2938472B2 (en) Rotation angle detector
JPH0552589A (en) Absolute encoder device
JP5022545B2 (en) Phase difference calculation method
JP3191947B2 (en) Impedance measuring device

Legal Events

Date Code Title Description
A621 Written request for application examination

Effective date: 20041004

Free format text: JAPANESE INTERMEDIATE CODE: A621

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061017

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061129

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20070611

A02 Decision of refusal

Effective date: 20071002

Free format text: JAPANESE INTERMEDIATE CODE: A02