JP2010043899A - Rotation angle detection device - Google Patents
Rotation angle detection device Download PDFInfo
- Publication number
- JP2010043899A JP2010043899A JP2008206984A JP2008206984A JP2010043899A JP 2010043899 A JP2010043899 A JP 2010043899A JP 2008206984 A JP2008206984 A JP 2008206984A JP 2008206984 A JP2008206984 A JP 2008206984A JP 2010043899 A JP2010043899 A JP 2010043899A
- Authority
- JP
- Japan
- Prior art keywords
- counter
- rotation angle
- count value
- signal
- resolver
- 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
Links
Images
Landscapes
- Transmission And Conversion Of Sensor Element Output (AREA)
Abstract
Description
本発明は、回転機の回転角に応じた信号を出力するレゾルバによって、その回転角を検出する回転角検出装置に関する。 The present invention relates to a rotation angle detection device that detects a rotation angle by a resolver that outputs a signal corresponding to the rotation angle of a rotating machine.
従来、電動機などの回転機の回転角に応じた信号を出力するレゾルバと、前記レゾルバの出力に基づき、回転角が所定角度増加したか減少したかを示す増減信号と回転角の絶対値を示す信号とを出力するR/Dコンバータと、初期値として前記回転角の絶対値を読み込み、以降前記増減信号を累積して回転機の回転角を算出する手段とを有する回転角検出装置が知られている(例えば、特許文献1参照)。この回転角検出装置は、回転機の回転角の初期値(初期角度)をシリアルI/Fから読み出し、その後は、回転機が正回転しているか逆回転しているかを表すA相信号及びB相信号、並びに基準点で出力されるZ相信号に基づいて、読み出された初期角度からの更新を行うことによって、回転機の回転角を算出するものである。
しかしながら、上述の従来技術では、初期角度をシリアル通信によって読み出すためのI/F回路や通信線などのシリアル通信回路が必要となるため、回路規模が大きくなってしまう。 However, in the above-described prior art, a serial communication circuit such as an I / F circuit and a communication line for reading the initial angle by serial communication is required, so that the circuit scale becomes large.
そこで、本発明は、初期角度の読み込みに使用しているシリアル通信回路を設けずに、回転角を正確に検出することができる、回転角検出装置の提供を目的とする。 Therefore, an object of the present invention is to provide a rotation angle detection device that can accurately detect a rotation angle without providing a serial communication circuit used for reading an initial angle.
上記目的を達成するため、本発明に係る回転角検出装置は、
回転機の回転角に応じた信号を出力するレゾルバと、
前記レゾルバの出力信号に基づいてカウント値が変化する第1及び第2のカウンタと、
前記第1のカウンタのカウント値の変化に連動するエンコーダパルスに基づいて前記回転角を算出する回転角算出手段とを備え、
前記第2のカウンタのカウント値は、前記回転角に一致するように変化し、
前記第1のカウンタのカウント値は、前記第2のカウンタのカウント値が前記回転角の初期値に一致している状態でリセットされた後に、前記第2のカウンタのカウント値に追従するように変化する、ことを特徴とするものである。
In order to achieve the above object, a rotation angle detection device according to the present invention includes:
A resolver that outputs a signal according to the rotation angle of the rotating machine;
First and second counters whose count values change based on the output signal of the resolver;
Rotation angle calculation means for calculating the rotation angle based on an encoder pulse interlocking with a change in the count value of the first counter,
The count value of the second counter changes to match the rotation angle,
The count value of the first counter follows the count value of the second counter after being reset in a state where the count value of the second counter matches the initial value of the rotation angle. It is characterized by changing.
ここで、前記第1のカウンタのカウント値を前記第2のカウンタのカウント値に追従させるためのサーボ系制御回路に構成される回路が、前記レゾルバの出力信号を前記カウント値に変換するRD変換のためのサーボ系制御回路に構成される回路と共通すると好適である。 Here, RD conversion in which a circuit configured in a servo system control circuit for causing the count value of the first counter to follow the count value of the second counter converts the output signal of the resolver into the count value It is preferable that the circuit is configured in common with the servo system control circuit.
本発明によれば、初期角度の読み込みに使用しているシリアル通信回路を設けずに、回転角を正確に検出することができる。 According to the present invention, it is possible to accurately detect the rotation angle without providing the serial communication circuit used for reading the initial angle.
以下、図面を参照して、本発明を実施するための最良の形態の説明を行う。図1は、本発明の一実施形態である回転角検出装置100の構成を表すブロック図である。回転角検出装置100は、車両に搭載されるモータの回転角を検出可能である。図1には、いわゆるハイブリッド車用のモータ/ジェネレータ(MG)の回転角θを検出する構成例が示されている。回転角検出装置100は、MGの回転角θを検出する回転角検出部10と、信号処理部であるMG−ECU50とを備えている。
The best mode for carrying out the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram illustrating a configuration of a rotation
回転角検出部10は、角度検出センサ(レゾルバ20)を備える。レゾルバ20は、MGの回転軸に配置される。レゾルバ20は、励磁相を形成する励磁コイル22と、sin相を形成する検知コイル24と、cos相を形成する検知コイル26とを備える。
The rotation
一方、MG−ECU50は、励磁コイル22にワイヤハーネス41を介して接続される励磁回路60と、ワイヤハーネス43,45を介して入力されるレゾルバ20の検知信号(レゾルバ信号)をMGの回転角θを表すデジタル信号φにRD変換するレゾルバデジタル変換器(R/Dコンバータ)80と、車両の走行を制御する走行制御用マイクロコンピュータ(マイコン)を備える電子制御装置(例えば、HV−ECU)からのトルク指令値に基づいてMGを制御するモータ制御用マイコン90とを備える。
On the other hand, the MG-ECU 50 uses the
励磁回路60は、所定の周波数の信号を生成する発振回路61とその出力を増幅するアンプ62とを備える。動作時、励磁回路60は、所定の周波数の交流の入力電圧を励磁信号(Ref信号)として生成し、その交流電圧を励磁コイル22の両端に印加する。励磁コイル22が励磁されてそれに磁気力が発生すると、それに伴い、検知コイル24,26が起電する。所定の周波数の励磁信号を励磁コイル22に供給することによって、検知コイル24にはsin相の電圧が起電し、検知コイル26にはcos相の電圧が起電することになる。すなわち、レゾルバ20は、MGの回転角θによりRef信号をsin/cos信号に振幅変調して出力する。
The
R/Dコンバータ80は、検知コイル24によるsin相の出力信号と検知コイル26によるcos相の出力信号が入力される。詳細は後述するが、R/Dコンバータ80は、sin相の出力信号とcos相の出力信号とに基づいてMGの回転角θを表すデジタル信号φを生成し、デジタル信号φに基づいて生成されたエンコーダパルス(Z相パルス,A相パルス,B相パルス)とモータ制御用マイコン90からの初期角度要求信号とによってMGの初期角度αをマイコン90に読み込ませる。
The R /
モータ制御用マイコン90は、R/Dコンバータ80からのエンコーダパルスに従って初期角度αからの更新を行うことによりMGの回転角θを認識する。そして、モータ制御用マイコン90は、MGに流れる電流を検出する電流検出センサによって検出される電流値とR/Dコンバータ80により得られる回転角θとをフィードバック入力として取得して、走行制御用マイコンからのトルク指令に係るトルクがMGから出力されるようにインバータ回路70を動作させることによってMGの回転を制御する。すなわち、マイコン90は、上述のフィードバック入力とトルク指令値とに基づいて、U,V,W相の三相交流をMGに印加するためのPWM信号を演算する。そして、マイコン90は、演算したU,V,W相のPWM信号をインバータ回路70に出力し、インバータ回路70に構成されているIGBT等のスイッチング素子をオン/オフ制御して、U,V,W相の三相交流電流を生成して、MGに通電することによりMGを駆動する。なお、電流検出センサは、例えば、V相とW相の電流値IVとIWを検出するとよい。
The
続いて、MGの回転角θの検出動作について詳細に説明する。励磁回路60から励磁信号sinωtを励磁コイル22に供給することによって、MGの回転角θに応じて変調された電圧が発生する。検知コイル24には電圧sinωt sinθが起電し、検知コイル26には電圧sinωt cosθが起電し、これらの電圧は、レゾルバ信号としてR/Dコンバータ80に入力される。
Next, the operation for detecting the rotation angle θ of the MG will be described in detail. By supplying the excitation signal sinωt from the
図2は、R/Dコンバータ80の構成を表すブロック図である。R/Dコンバータ80は、レゾルバ20の出力信号(レゾルバ信号)に基づいてカウント値が変化するカウンタとして、第1のカウンタ(カウンタ1)と第2のカウンタ(カウンタ2)とを備えるとともに、カウンタ2のカウント値φ2の変化には連動させずにカウンタ1のカウント値φ1の変化に連動させたエンコーダパルスを出力するエンコーダ部86とを備える。また、R/Dコンバータ80は、掛算器81と、減算器82と、同期検波器83と、積分器84と、電圧制御発振器85とを備える。図2のR/Dコンバータ80は、レゾルバ信号を回転角θに相当するデジタル信号φに変換するRD変換のサーボ系制御と、カウンタ2のカウント値φ2にカウンタ1のカウント値φ1を追従させるカウンタ追従(詳細は後述)のサーボ系制御とを共通のサーボ系制御回路で実現している。
FIG. 2 is a block diagram showing the configuration of the R /
RD変換のサーボ系制御を行う場合、R/Dコンバータ80は、レゾルバ信号のそれぞれにcosφ1とsinφ1を掛算器81で乗算した後に、その乗算結果を減算器82で互いに減算することによって、sinωt sin(θ−φ1)を算出する。この信号と励磁信号sinωtが同期検波器83に入力され、同期検波器83は変調成分sin(θ−φ1)のみ出力する。積分器84は、同期検波器83の出力sin(θ−φ1)を積分する。電圧制御発振器85は、積分器84から出力される積分値が正の所定値を超えるとカウンタ1のカウント値φ1を増加させる一方で、積分器84から出力される積分値が当該正の所定値と絶対値が等しい負の所定値未満であるとカウンタ1のカウント値φ1を減少させる。カウンタ1のカウント値φ1は掛算器81にフィードバックされる。このフィードバック回路は、位相(θ−φ1)が零になるように、すなわちカウント値φ1が回転角θに一致するようにフィードバック演算する。フィードバック演算により回転角θに一致したときのカウント値φ1が、実際の回転角θに対応した値となる。つまり、レゾルバ信号をカウント値φ1に変換するRD変換におけるサーボ系フィードバック回路は、掛算器81と、減算器82と、同期検波器83と、積分器84と、電圧制御発振器85と、カウンタ1とから構成される。
When performing servo system control of RD conversion, the R /
R/Dコンバータ80は、カウンタ2のカウント値φ2についても上述のφ1の場合と同様に、カウント値φ2が回転角θに一致するようにフィードバック演算する。つまり、レゾルバ信号をカウント値φ2に変換するRD変換におけるサーボ系フィードバック回路は、掛算器81と、減算器82と、同期検波器83と、積分器84と、電圧制御発振器85と、カウンタ2とから構成される。
The R /
エンコーダ部86は、カウンタ1の下位のビット(例えば、12ビットのカウンタ1であれば、下位の2ビット)の変化に基づき、MGの回転方向を表すA相信号とB相信号を出力する。これらの相信号は、互いに位相が90°ずれた方形波信号であり、A相の位相が進んでいる場合はMGが正転していることを示し、逆にB相が進んでいる場合は逆転していることを示す。カウント値φ1がカウントアップまたはダウンされるごとにA相、B相信号が出力される。また、エンコーダ部86は、カウンタ1のカウント値φ1が零になると、Z相信号を出力する。このZ相信号は、MGの1回転につき1回出力される。
The
図3は、R/Dコンバータ80とモータ制御用マイコン90の構成を表すブロック図である。マイコン90のエンコーダ部91は、R/Dコンバータ80から出力されるエンコーダパルスを受信する。マイコン90の第3のカウンタ(カウンタ3)のカウント値ψは、エンコーダ部91によって得られるA相信号がB相信号に対して進んでいれば増加し、A相信号がB相信号に対して遅れていれば減少する。また、カウンタ3は、エンコーダ部91によって得られるZ相信号が検出されると、カウント値ψを零にリセットする。カウンタ1のカウント値φ1とカウンタ3のカウント値ψが一致することで、カウント値ψはMGの回転角θを表すことになる。したがって、マイコン90は、カウント値ψを検出することによって、回転角θを検出することができる。
FIG. 3 is a block diagram showing the configuration of the R /
しかしながら、マイコン90は、MGの初期角度αを検出しなければ、A,B,Z相信号からなるエンコーダパルスを受信しても、MGの回転角θを正確に検出することができない。そこで、初期角度αの検出から最終的に回転角θが検出されるまでの動作について、図3,4を参照しながら説明する。図4は、R/Dコンバータ80とモータ制御用マイコン90の動作を表すタイミングチャートである。
However, if the
R/Dコンバータ80の起動時におけるパワーオンリセットの解除時点t1では、カウンタ1のカウント値φ1とカウンタ2のカウント値φ2はリセットによって共に零である。パワーオンリセットが解除されたR/Dコンバータ80は、励磁信号の出力を開始する。カウンタ1のカウント値φ1とカウンタ2のカウント値φ2は、共に、その励磁信号に応答したレゾルバ信号に基づき、上述の帰還動作によって、回転角θに一致するように変動する。そして、回転角θに一致したときのカウント値φ1とカウントφ2が、回転角θの初期値(すなわち、初期角度α)に相当することになる(タイミングt2)。パワーオンリセットの解除時点t1から初期角度αの検出時点t2までの追従期間において、カウンタ1のカウント値φ1の変化に連動してA相とB相のパルスが図示の通り出力されるが、マイコン90は、この時点で初期角度αを読み込んでいないので、カウンタ3のカウント値ψは不定である。
At the release time t1 of the power-on reset when the R /
マイコン90の角度要求部92は、R/Dコンバータ80が初期角度αの読み込みを完了した後に、初期角度αを取得すべく角度要求信号を出力する(タイミングt3)。R/Dコンバータ80の初期角度αの読み込み時間は予めスペックとして規定されているので、パワーオンリセットの解除時点からその読み込み時間より長いタイミングで、角度要求信号を出力すればよい。角度要求信号は、カウンタ1のカウンタ値を零にリセットするためのトリガー信号であるため、例えば、一つのパルス信号であればよい。
The
角度要求信号を受信したR/Dコンバータ80のリセット回路87は、カウンタ1をリセットすることにより、カウント値φ1を零にする。そして、カウンタ1を、サーボ系にて、リセットされずに回転角θの現在位置を保持しているカウンタ2にサーボ追従させる。つまり、角度要求信号の受信によりカウンタ1のカウント値φ1をリセットしたR/Dコンバータ80は、カウンタ2のカウント値φ2にカウンタ1のカウント値φ1を追従させるカウンタ追従のサーボ系制御を行う。
The
カウンタ追従におけるサーボ系フィードバック回路は、図2に示されるように、減算器82と、積分器84と、電圧制御発振器85と、カウンタ1と、カウンタ2とから構成される。つまり、カウンタ1のカウント値φ1をカウンタ2のカウント値φ2に一致させるサーボ系を構成するフィードバック回路において、減算器82、積分器84、電圧制御発振器85は、R/Dコンバータ80でのRD変換に使用するものと共有している。RD変換の場合の減算器82の入力は、角度偏差量であるが、カウンタ追従の場合の減算器82の入力は、カウント値φ1とカウント値φ2との偏差に置き換えられる。減算器82の出力値が積分器84に入力される。積分器84の出力値が所定の一定値を超える場合には電圧制御発振器85がカウンタ1のカウント値φ1を増加させ、所定の一定値未満の場合には電圧制御発振器85はカウンタ1のカウント値φ1を減少させる。このサーボ系制御によって、カウンタ1のカウント値φ1とカウンタ2のカウント値φ2はほぼ同じ値で安定する。
As shown in FIG. 2, the servo system feedback circuit in the counter tracking is composed of a subtracter 82, an
図4に示されるように、回転角θの初期角度αに一致するカウント値φ2にカウント値φ1が一致するまでのサーボ追従期間t3−t4において、カウンタ1のカウント値φ1の変化に連動してエンコーダパルスがエンコーダ部86から出力される。
As shown in FIG. 4, in the servo follow-up period t3-t4 until the count value φ1 matches the count value φ2 that matches the initial angle α of the rotation angle θ, the counter value 1 of the counter 1 changes in conjunction with the change. Encoder pulses are output from the
一方、マイコン90は、角度要求信号の出力に同期して自身のカウンタ3をリセットすることにより、カウント値ψを零にする。カウンタ3は、エンコーダ部91に入力されるエンコーダパルスに従って増減する(サーボ追従期間t3−t4)。
On the other hand, the
そして、カウンタ1のカウント値φ1がカウンタ2のカウント値φ2にサーボ系により一致した時点t4で、カウンタ3のカウント値ψは、初期角度αに相当するカウント値φ2に一致することになる。したがって、マイコン90は、この一致時点のカウント値ψを読み込むことで、初期角度αを認識することができる。そして、初期角度αの認識後のt5以降では、MGの回転により出力されるエンコーダパルスに従って、マイコン90は、初期角度αからの更新を行うことによって、MGの回転により変動する回転角θを正確に検出することができる。
At time t4 when the count value φ1 of the counter 1 matches the count value φ2 of the
以上、上述の実施例によれば、初期角度αをシリアル通信によって送信する必要がないため、通信線等のシリアル通信回路を設けずに、初期角度αをマイコン90に読み込ませることができ、正確な回転角をマイコン90側で検出することができる。また、本発明によれば、シリアル通信によって読み込んだ絶対値角度を格納するレジスタ等の絶対値データ格納部をマイコン90側に設け、その絶対値角度を制御用データ格納部に転送する必要がないため、その絶対値データ格納部も削減することができる。このように、シリアル通信に関連する回路を削除することができるため、回転角検出装置の小型化を図ることができる。
As described above, according to the above-described embodiment, since it is not necessary to transmit the initial angle α by serial communication, the initial angle α can be read by the
また、上述の実施例では、カウンタ追従のサーボ系制御回路が必要となるが、従来のRD変換のサーボ系制御回路と共通化することができるので、カウンタ追従制御による回路規模の増加を最小限に抑えることができる。 In the above-described embodiment, a servo system control circuit for counter tracking is required, but since it can be shared with a conventional servo system control circuit for RD conversion, an increase in circuit scale due to counter tracking control is minimized. Can be suppressed.
10 回転角検出部
20レゾルバ
22 励磁コイル
24,26 検知コイル
50 MG−ECU
60 励磁回路
70 インバータ回路
80 R/Dコンバータ
90 モータ制御用マイコン
100 回転角検出装置
DESCRIPTION OF
60
Claims (2)
前記レゾルバの出力信号に基づいてカウント値が変化する第1及び第2のカウンタと、
前記第1のカウンタのカウント値の変化に連動するエンコーダパルスに基づいて前記回転角を算出する回転角算出手段とを備え、
前記第2のカウンタのカウント値は、前記回転角に一致するように変化し、
前記第1のカウンタのカウント値は、前記第2のカウンタのカウント値が前記回転角の初期値に一致している状態でリセットされた後に、前記第2のカウンタのカウント値に追従するように変化する、回転角検出装置。 A resolver that outputs a signal according to the rotation angle of the rotating machine;
First and second counters whose count values change based on the output signal of the resolver;
Rotation angle calculation means for calculating the rotation angle based on an encoder pulse interlocking with a change in the count value of the first counter,
The count value of the second counter changes to match the rotation angle,
The count value of the first counter follows the count value of the second counter after being reset in a state where the count value of the second counter matches the initial value of the rotation angle. A rotating angle detector that changes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008206984A JP2010043899A (en) | 2008-08-11 | 2008-08-11 | Rotation angle detection device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008206984A JP2010043899A (en) | 2008-08-11 | 2008-08-11 | Rotation angle detection device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2010043899A true JP2010043899A (en) | 2010-02-25 |
Family
ID=42015399
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008206984A Pending JP2010043899A (en) | 2008-08-11 | 2008-08-11 | Rotation angle detection device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2010043899A (en) |
-
2008
- 2008-08-11 JP JP2008206984A patent/JP2010043899A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7538700B2 (en) | Angular position detector and rotary electric device drive unit including the same | |
JP4838022B2 (en) | Resolver signal processing device | |
US7692566B2 (en) | Angle detection device | |
JP4923730B2 (en) | Compensation method and angle detection apparatus using the same in resolver angle detection | |
US9106170B2 (en) | Control device of AC motor | |
CN107888119B (en) | Control system and method of controlling an electric motor | |
KR20100124810A (en) | Motor driving device, integrated circuit device, motor device and motor driving system | |
EP2998707B1 (en) | Resolver malfunction detection method, angle detection device, motor, and transport device | |
JP2006201148A (en) | Signal processing device, signal processing method, signal processing program, recording medium with the signal processing program stored, speed detection device, and servo mechanism | |
US9106163B2 (en) | Control device of AC motor | |
JP2011041342A (en) | Control device for controlling traveling motor of vehicletraveling motor controller of vehicle | |
US20160156294A1 (en) | Motor driving module | |
JP2009077481A (en) | Motor controller and vehicle equipped therewith | |
US8541964B2 (en) | Brushless motor rotation-position detection system | |
JP6990085B2 (en) | Rotation speed calculation device | |
JP2010043899A (en) | Rotation angle detection device | |
WO2018154736A1 (en) | Power conversion device for electric vehicle | |
JPH09117152A (en) | Current controller for voltage type pwm inverter | |
JP2011169823A (en) | Signal processing circuit | |
JP2009139096A (en) | Rotation angle detector | |
CN105393448B (en) | The recognition methods of motor angle errors present and its executive device and steering support device | |
US10326387B2 (en) | Phase detecting device, motor system, image forming apparatus, conveyance device, and sensor level obtaining method | |
JP2017158230A (en) | Motor controller | |
JP2016148635A (en) | Device for detecting abnormality in resolver/digital converter | |
JP2008278606A (en) | Rotational position sensor for rotary electric machines and rotating electrical machine |