JP2023001682A - Rotation angle computation device, motor control device and electrically-driven pump - Google Patents
Rotation angle computation device, motor control device and electrically-driven pump Download PDFInfo
- Publication number
- JP2023001682A JP2023001682A JP2021102550A JP2021102550A JP2023001682A JP 2023001682 A JP2023001682 A JP 2023001682A JP 2021102550 A JP2021102550 A JP 2021102550A JP 2021102550 A JP2021102550 A JP 2021102550A JP 2023001682 A JP2023001682 A JP 2023001682A
- Authority
- JP
- Japan
- Prior art keywords
- rotation angle
- angle
- rotation
- sensor
- value
- 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 disclosure relates to a rotation angle computing device, a motor control device, and an electric pump.
回転角演算装置は、自動車または産業用等で用いられるモータ制御システムにおいて、モータ角度あるいは回転速度を検出するのに用いられる。たとえば、特開2010-25730号公報(特許文献1)には、印加される磁界の方向に応じて抵抗値が変化する複数のMR素子をブリッジ状に接続した検出回路に対して、正常に動作していることを診断するダイアグ回路を増設した磁気センサデバイスが開示されている。 A rotation angle computing device is used to detect a motor angle or rotation speed in a motor control system used in automobiles, industries, or the like. For example, Japanese Patent Application Laid-Open No. 2010-25730 (Patent Document 1) discloses that a detection circuit in which a plurality of MR elements whose resistance value changes according to the direction of an applied magnetic field are connected in a bridge form is capable of operating normally. A magnetic sensor device with an additional diagnostic circuit for diagnosing that
特開2010-25730号公報(特許文献1)に開示された磁気センサデバイスは、故障検知のためには、ダイアグ回路の追加が必要であり、コストがかかるという問題がある。 The magnetic sensor device disclosed in Japanese Unexamined Patent Application Publication No. 2010-25730 (Patent Document 1) requires the addition of a diagnostic circuit for failure detection, which is costly.
この発明は、上記の課題を解決するためになされたものであって、その目的は、追加回路が必要なく、本来機能の構成のみで故障診断が可能な回転角演算装置およびモータ制御装置を提供することである。 SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and its object is to provide a rotation angle computing device and a motor control device which do not require additional circuits and are capable of diagnosing failures only by configuring the original functions. It is to be.
本開示は、回転体の回転量に応じたサイン波およびコサイン波を出力する回転センサの出力を受けて回転角を演算する回転角演算装置に関する。回転角演算装置は、サイン波およびコサイン波を用いて互いに異なる複数の演算方法によって複数の回転角度値を算出する角度演算部と、角度演算部が算出した複数の回転角度値に基づいて、回転体の回転角度の決定および回転センサの故障判定を行なう処理部とを備える。 The present disclosure relates to a rotation angle calculation device that receives an output from a rotation sensor that outputs a sine wave and a cosine wave corresponding to the amount of rotation of a rotating body and calculates a rotation angle. The rotation angle calculation device includes an angle calculation unit that calculates a plurality of rotation angle values by a plurality of different calculation methods using a sine wave and a cosine wave, and a rotation angle calculation unit based on the plurality of rotation angle values calculated by the angle calculation unit. a processing unit that determines the rotation angle of the body and determines the failure of the rotation sensor.
本開示の回転角演算装置およびモータ制御装置によれば、センサおよびセンサ信号処理部のみで角度演算および故障検知が完結するので、故障検知のための回路等の追加が不要である。 According to the rotation angle calculation device and the motor control device of the present disclosure, angle calculation and failure detection are completed only with the sensor and the sensor signal processing section, so there is no need to add a circuit or the like for failure detection.
以下、本発明の実施の形態について図面を参照しつつ説明する。なお、以下の図面において同一または相当する部分には同一の参照番号を付し、その説明は繰返さない。 BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the drawings below, the same or corresponding parts are denoted by the same reference numerals, and the description thereof will not be repeated.
[実施の形態1]
図1は、実施の形態1のモータ制御システムの構成を示すブロック図である。図1に示すモータ制御システムは、モータ3と、モータ3の回転角度および回転速度を検出するための回転センサ4と、回転センサ4の出力に基づいてモータ3を制御するモータ制御装置200とを備える。
[Embodiment 1]
FIG. 1 is a block diagram showing the configuration of a motor control system according to
モータ制御装置200は、インバータ制御部1と、インバータ2とを含む。インバータ制御部1は、A/D変換器11,12と、回転角演算装置13と、制御部14とを含む。
回転センサ4は、モータ3の回転体であるロータの回転量に応じたサイン波信号Sinθおよびコサイン波信号Cosθを出力する。A/D変換器11は、サイン波信号Sinθをデジタル値(a)に変換する。A/D変換器12は、コサイン波信号Cosθをデジタル値(b)に変換する。
The
回転角演算装置13は、デジタル値(a),(b)を受けて回転角度θoutおよびエラー信号ERRを演算する。
A
制御部14は、回転角度θoutを受けて、インバータ2に制御信号を出力する。制御部14は、速度演算部141と、速度制御部142と、電流制御部143とを含む。なお制御部14については、インバータ2を駆動する一般的な制御を実行するものであるので、詳細な説明はここでは行なわない。
The
回転角演算装置13は、サイン波信号Sinθおよびコサイン波信号Cosθを用いて互いに異なる複数の演算方法によって複数の回転角度値を算出する角度演算部130と、角度演算部130が算出した複数の回転角度値に基づいて、回転体の回転角度θoutの決定および回転センサ4の故障判定を行なう処理部134とを備える。
The rotation
回転センサ4は、サイン波信号Sinθを出力する第1センサ41と、コサイン波信号Cosθを出力する第2センサ42とを含む。角度演算部130は、サイン波およびコサイン波を用いて第1~第3の回転角度値θ1~θ3をそれぞれ算出する第1~第3の角度演算器131~133を含む。処理部134は、第1~第3の回転角度値θ1~θ3を比較し、第1~第3の回転角度値θ1~θ3の差に基づいて回転センサの故障判定結果ERRを出力するように構成される。
The
第1センサ41および第2センサ42としては、たとえば、特開2010-25730号公報(特許文献1)に開示されるような、印加される磁界の方向に応じて抵抗値が変化する複数のMR素子をブリッジ状に接続した検出回路を使用することができる。モータ3のロータには、ロータの回転に従い回転磁界を発生させるための永久磁石が取付けられている。モータ3のステータに回転センサ4が取付けられることによって、モータ3のロータが回転すると回転センサ4が検出する信号Sinθおよび信号Cosθが回転角θに応じて変化する。
As the
回転センサ4からの信号Sinθおよび信号Cosθは、A/D変換器11,12でそれぞれ取り込まれ、デジタル値である検知値(a),(b)に変換される。回転角演算装置13の角度演算器131、角度演算器132、角度演算器133の各々は、検知値(a),(b)を受ける。
A signal Sin θ and a signal Cos θ from the
以下、角度演算器131~133と処理部134の処理内容をフローチャートを用いて順に説明する。
The processing contents of the
角度演算器131は、サンプリング時刻ごとに検出値(a)および検出値(b)を取得し、arctan(((a)-Vof)/((b)-Vof))を計算する。
The
図2は、角度演算器131が演算結果θ1を得る処理内容を示すフローチャートである。ステップS1において、角度演算器131は、回転角を示す信号のデジタル値である検知値(a),(b)を受付ける。そして、ステップS2において、検知値(a),(b)からarctanを計算し演算結果θ1を得る。ただし、回転センサ出力の中央電圧をVofとすると、検知値(a),(b)の各々からVofを引き算して演算する必要がある。角度演算器131ではarctan(((a)-Vof)/((b)-Vof))からモータ角度を示す演算結果θ1を演算する。
FIG. 2 is a flow chart showing the processing content of the
このとき、モータ角度の演算はarctanの演算結果をあらかじめマップとして入力しておき算出してもよい。 At this time, the calculation of the motor angle may be performed by inputting the calculation result of arctan in advance as a map.
図3は、角度演算器131の演算を説明するための波形図である。図3において、回転センサの中央電圧Vofが2.5Vであり、回転センサ4からの信号Sinθおよび信号Cosθは、最小値0V、最大値5Vの間で振幅±2.5Vで振れている場合の例が示される。ここで、時刻t2における検知値(a)は、sin(π/4)+2.5をデジタル変換した値となっており、検知値(b)は、cos(π/4)+2.5をデジタル変換した値となっている。したがって、tanθを計算するには、オフセット分である中央電圧Vof=2.5Vに相当するデジタル値を検知値(a),(b)から引いてから行なう必要がある。
FIG. 3 is a waveform diagram for explaining the calculation of the
図3に示す例での時刻t2における演算結果θ1は、Vof=2.5Vとすると次式で計算できる。
θ1=arctan(((a)-2.5)/((b)-2.5))
θ1=arctan(sin(π/4)/cos(π/4))=arctan(1)=45°
角度演算器132は、arcsin(((a)-Vof)/Vof)の値と(b)の値とから角度を算出する。図4は、角度演算器132が演算結果θ2を得る処理内容を示すフローチャートである。ステップS11において、角度演算器132は、回転数を示す信号のデジタル値である検知値(a),(b)を受付ける。そして、ステップS12において、arcsin(a)を計算し解X1,X2を得る。ただし、回転センサ出力の中央電圧をVofとすると、検知値(a),(b)の各々からVofを引き算して演算する必要がある。
Calculation result θ1 at time t2 in the example shown in FIG. 3 can be calculated by the following equation when Vof=2.5V.
θ1 = arctan(((a)-2.5)/((b)-2.5))
θ1=arctan(sin(π/4)/cos(π/4))=arctan(1)=45°
The
角度演算器132ではarcsin((Vof-(a))/Vof)を算出する。このときの演算結果は2つの解X1,X2が得られる。
The
図5は、検知値(a)>Vofの場合における角度演算器132の演算を説明するための波形図である。図5において、回転センサの中央電圧Vofが2.5Vであり、回転センサ4からの信号Sinθは、最小値0V、最大値5Vの間で振幅±2.5Vで振れている場合の例が示される。ここで、検知値(a)がsin(π/4)+2.5をデジタル変換した値である場合、図5に実線で示す検知値(a)に対して、2つの解X1(=π/4)、X2(=3π/4)が得られる。
FIG. 5 is a waveform diagram for explaining the calculation of the
これらの解X1,X2に対して、同時に得られた破線で示す検知値(b)を考慮し、どちらが正しい解かを判別する。すなわち、図5より、(b)-Vof>0である場合は解X1(=π/4)が正しい検出値であり、(b)-Vof<0である場合は解X2(=3π/4)が正しい検出値であることが分かる。 With respect to these solutions X1 and X2, the detected value (b) indicated by the dashed line obtained simultaneously is taken into consideration to determine which one is the correct solution. That is, from FIG. 5, when (b)-Vof>0, the solution X1 (=π/4) is the correct detection value, and when (b)-Vof<0, the solution X2 (=3π/4 ) is the correct detection value.
図6は、検知値(a)<Vofの場合における角度演算器132の演算を説明するための波形図である。図6において、回転センサの中央電圧Vofが2.5Vであり、回転センサ4からの信号Sinθは、最小値0V、最大値5Vの間で振幅±2.5Vで振れている場合の例が示される。ここで、検知値(a)がsin(5π/4)+2.5をデジタル変換した値である場合、図5に実線で示す検知値(a)に対して、2つの解X1(=5π/4)、X2(=7π/4)が得られる。
FIG. 6 is a waveform diagram for explaining the calculation of the
これらの解X1,X2に対して、同時に得られた破線で示す検知値(b)を考慮し、どちらが正しい解かを判別する。すなわち、図5より、(b)-Vof<0である場合は解X1(=5π/4)が正しい検出値であり、(b)-Vof>0である場合は解X2(=7π/4)が正しい検出値であることが分かる。 With respect to these solutions X1 and X2, the detected value (b) indicated by the dashed line obtained simultaneously is taken into consideration to determine which one is the correct solution. That is, from FIG. 5, when (b)-Vof<0, the solution X1 (=5π/4) is the correct detected value, and when (b)-Vof>0, the solution X2 (=7π/4 ) is the correct detection value.
以上、図5、図6で示したような判別が、図4のステップS13以降で実行される。まずステップS13において、Vof=2.5Vとして、arcsin(((a)-2.5)/2.5)<πであるか否かが判断される。 As described above, determinations as shown in FIGS. 5 and 6 are executed after step S13 in FIG. First, in step S13, it is determined whether or not arcsin(((a)-2.5)/2.5)<π with Vof=2.5V.
arcsin(((a)-2.5)/2.5)<π(すなわち(a)>Vof)が成立する場合には、図5で説明したような判別がステップS14~S20で実行される。一方、arcsin(((a)-2.5)/2.5)<πが成立しない場合(すなわち(a)≦Vof)には、図6で説明したような判別がステップS21~S27で実行される。 If arcsin(((a)-2.5)/2.5)<π (that is, (a)>Vof) is established, determination as described with reference to FIG. 5 is performed in steps S14 to S20. On the other hand, if arcsin(((a)-2.5)/2.5)<π does not hold (that is, (a)≦Vof), the determination as described with reference to FIG. 6 is performed in steps S21 to S27.
ステップS14では、2つの解の間にX1<X2が成立するか否かが判断される。X1<X2が成立する場合(S14でYES)、ステップS15においてさらに(b)-Vof>0が成立するか否かが判断される。(b)-Vof>0が成立する場合(S15でYES)、ステップS16において角度演算器132は解X1を演算結果θ2に設定する。(b)-Vof>0が成立しない場合(S15でNO)、ステップS17において角度演算器132は解X2を演算結果θ2に設定する。
In step S14, it is determined whether or not X1<X2 holds between the two solutions. If X1<X2 holds (YES in S14), it is further determined in step S15 whether (b)-Vof>0 holds. If (b)-Vof>0 holds (YES in S15), the
一方で、X1<X2が成立しない場合(S14でNO)、ステップS18においてさらに(b)-Vof>0が成立するか否かが判断される。(b)-Vof>0が成立する場合(S18でYES)、ステップS19において角度演算器132は解X2を演算結果θ2に設定する。(b)-Vof>0が成立しない場合(S18でNO)、ステップS20において角度演算器132は解X1を演算結果θ2に設定する。
On the other hand, if X1<X2 does not hold (NO in S14), it is further determined in step S18 whether (b)-Vof>0 holds. (b) If -Vof>0 holds (YES in S18), the
ステップS21では、2つの解の間にX1<X2が成立するか否かが判断される。X1<X2が成立する場合(S21でYES)、ステップS22においてさらに(b)-Vof>0が成立するか否かが判断される。(b)-Vof>0が成立する場合(S22でYES)、ステップS23において角度演算器132は解X2を演算結果θ2に設定する。(b)-Vof>0が成立しない場合(S22でNO)、ステップS24において角度演算器132は解X1を演算結果θ2に設定する。
In step S21, it is determined whether or not X1<X2 holds between the two solutions. If X1<X2 holds (YES in S21), it is further determined in step S22 whether (b)-Vof>0 holds. (b) If -Vof>0 holds (YES in S22), the
一方で、X1<X2が成立しない場合(S21でNO)、ステップS25においてさらに(b)-Vof>0が成立するか否かが判断される。(b)-Vof>0が成立する場合(S25でYES)、ステップS26において角度演算器132は解X1を演算結果θ2に設定する。(b)-Vof>0が成立しない場合(S25でNO)、ステップS27において角度演算器132は解X2を演算結果θ2に設定する。
On the other hand, if X1<X2 does not hold (NO in S21), it is further determined in step S25 whether (b)-Vof>0 holds. (b) If -Vof>0 holds (YES in S25), the
以上説明したように、角度演算器132はarcsin((Vof-(a))/Vof)を算出して得られた2つの解X1,X2のいずれか一方を、arcsin((Vof-(a))/Vof)がπ以上か以下か、かつ(b)-Vofの正負に基づいて選択することにより、結果を一意に決定する。なお、2つの解のうち小さい方をX1、大きい方をX2と定義すれば、S14,S18~S20、S21、S25~S27を省略することができる。
As described above, the
図7は、角度演算器133が演算結果θ3を得る処理内容を示すフローチャートである。ステップS41において、角度演算器133は、回転数を示す信号のデジタル値である検知値(a),(b)を受付ける。そして、ステップS42において、arccos(b)を計算し解X1,X2を得る。ただし、回転センサ出力の中央電圧をVofとすると、検知値(a),(b)の各々からVofに相当する数を引き算して演算する必要がある。
FIG. 7 is a flow chart showing the processing content of the
角度演算器133ではarccos((Vof-(b))/Vof)を算出する。このときの演算結果は2つの解Y1,Y2が得られる。
The
図8は、角度演算器133の演算を説明するための波形図である。図8において、回転センサの中央電圧Vofが2.5Vであり、回転センサ4からの信号Cosθは、最小値0V、最大値5Vの間で振幅±2.5Vで振れている場合の例が示される。ここで、検知値(b)がcos(π/4)+2.5をデジタル変換した値である場合、図8に実線で示す検知値(b)に対して、2つの解Y1(=π/4)、Y2(=7π/4)が得られる。
FIG. 8 is a waveform diagram for explaining the calculation of the
これらの解Y1,Y2に対して、同時に得られた破線で示す検知値(a)を考慮し、どちらが正しい解かを判別する。すなわち、図8より、(a)-Vof>0である場合は解Y1が正しい検出値であり、(a)-Vof<0である場合は解Y2が正しい検出値であることが分かる。 With respect to these solutions Y1 and Y2, the detected value (a) indicated by the dashed line obtained simultaneously is taken into account to determine which one is the correct solution. That is, it can be seen from FIG. 8 that the solution Y1 is the correct detection value when (a)-Vof>0, and the solution Y2 is the correct detection value when (a)-Vof<0.
以上、図8で示したような判別が、図7のステップS43以降で実行される。まずステップS43において、2つの解の間にY1<Y2が成立するか否かが判断される。Y1<Y2が成立する場合(S43でYES)、ステップS44においてさらに(a)-Vof>0が成立するか否かが判断される。(a)-Vof>0が成立する場合(S44でYES)、ステップS45において角度演算器133は解Y1を演算結果θ3に設定する。(a)-Vof>0が成立しない場合(S44でNO)、ステップS46において角度演算器133は解Y2を演算結果θ3に設定する。
As described above, the determination as shown in FIG. 8 is executed after step S43 in FIG. First, in step S43, it is determined whether or not Y1<Y2 holds between the two solutions. If Y1<Y2 holds (YES in S43), it is further determined in step S44 whether (a)-Vof>0 holds. If (a)-Vof>0 holds (YES in S44), the
一方で、Y1<Y2が成立しない場合(S43でNO)、ステップS47においてさらに(a)-Vof>0が成立するか否かが判断される。(a)-Vof>0が成立する場合(S47でYES)、ステップS48において角度演算器133は解Y2を演算結果θ3に設定する。(a)-Vof>0が成立しない場合(S47でNO)、ステップS49において角度演算器133は解Y1を演算結果θ3に設定する。
On the other hand, if Y1<Y2 does not hold (NO in S43), it is further determined in step S47 whether (a)-Vof>0 holds. If (a)-Vof>0 holds (YES in S47), the
以上説明したように、角度演算器133は、arccos((Vof-(b))/Vof)を算出して得られた2つの解Y1,Y2のいずれか一方を、(a)-Vofの正負に基づいて選択することにより、結果を一意に決定する。なお、2つの解のうち小さい方をY1、大きい方をY2と定義すれば、S43,S47~S49を省略することができる。
As described above, the
図9は、処理部134が演算結果θ1~θ3から演算結果θoutおよびエラー信号ERRを得る処理内容を示すフローチャートである。
FIG. 9 is a flow chart showing the processing content of the
処理部134は、得られた3つの演算結果θ1~θ3を比較し、許容値を超える差があった場合故障とする。
The
まず、ステップS51において、演算結果θ1=θ2=θ3が成立するか否かが判断される。θ1=θ2=θ3が成立する場合(S51でYES)は、ステップS52において、処理部134は、演算結果θ1をθoutとしてモータ制御に使用する。
First, in step S51, it is determined whether or not the calculation result θ1=θ2=θ3 holds. If θ1=θ2=θ3 is established (YES in S51), the
θ1=θ2=θ3が成立しない場合(S51でNO)であっても、誤差が許容値以下である場合には(S53でYES)、ステップS54において、やはり、処理部134は、演算結果θ1をθoutとしてモータ制御に使用する。判定に使用される許容値は、適用するアプリケーションで必要とされる回転角度検出精度に基づいて決定される。
Even if θ1=θ2=θ3 does not hold (NO in S51), if the error is equal to or less than the allowable value (YES in S53), in step S54, the
θ1=θ2=θ3が成立しない場合(S51でNO)であって、誤差が許容値を超えた場合には(S53でNO)、ステップS55において、処理部134は、故障時の動作を行なう。たとえば、回転センサ4が故障したことを示すエラー信号ERRを出力し、警告ランプ、警報ブザーなどでユーザに故障を報知すると共に、モータ3を停止させる。
If θ1=θ2=θ3 does not hold (NO at S51) and the error exceeds the allowable value (NO at S53), in step S55, processing
図10は、故障発生時の演算結果の誤差について説明するための図である。 FIG. 10 is a diagram for explaining the error in the calculation result when a failure occurs.
図10には、一例として信号Sinθの中央電圧が規定値の+2.5Vから-0.2Vオフセットした場合が示される。検出値(a)は本来の値から0.2[V]に相当する値だけずれてしまう。たとえば、サンプリング時刻t2の時、演算した角度に誤差が生じる。これは各信号の位相ずれによっても同様の事象が発生する。 FIG. 10 shows, as an example, the case where the center voltage of the signal Sin θ is offset from the specified value of +2.5V by −0.2V. The detected value (a) deviates from the original value by a value corresponding to 0.2 [V]. For example, at sampling time t2, an error occurs in the calculated angle. A similar phenomenon occurs due to the phase shift of each signal.
具体的には、信号Sinθ側のオフセットが0.2V下がっていた場合、時刻t2において、信号Sinθの電圧は1.57[V]、信号Cosθの電圧は1.77[V]となる。このとき、θ1=arctan(1.57/1.77)=41.6°,θ2=arcsin(1.57/2.5)=38.8°,θ3=arccos(1.77/2.5)=45°となる。 Specifically, when the offset on the signal Sin θ side is decreased by 0.2 V, the voltage of the signal Sin θ is 1.57 [V] and the voltage of the signal Cos θ is 1.77 [V] at time t2. At this time, θ1=arctan(1.57/1.77)=41.6°, θ2=arcsin(1.57/2.5)=38.8°, and θ3=arccos(1.77/2.5)=45°.
この際、θ1とθ2の差、θ1とθ3との差、またはθ2とθ3との差が許容値=3°以上でエラーとなるようにすることで、角度のずれによって回転センサの故障を検出することができる。 At this time, an error occurs when the difference between θ1 and θ2, the difference between θ1 and θ3, or the difference between θ2 and θ3 is equal to or greater than the allowable value of 3°. can do.
以上の角度演算結果θ1,θ2,θ3の結果を相互に比較し、アプリケーションごとに求められる精度以上の差異があった場合には、処理部134は、センサ異常としてモータを停止させる。
The above angle calculation results θ1, θ2, and θ3 are compared with each other, and if there is a difference greater than the accuracy required for each application, the
このように、比較したセンサ値に差異が生じるので、回転センサの異常の早期発見が可能となる。 Since a difference occurs in the compared sensor values in this manner, it is possible to detect an abnormality in the rotation sensor at an early stage.
[実施の形態2]
実施の形態1では、回転センサが第1センサおよび第2センサを含む構成であったが、回転センサがさらに多くのセンサを含む場合にも同様の故障検出方法が適用できる。
[Embodiment 2]
In
たとえば、高い信頼性が要求されるモータシステムには、十分な信頼性を確保するために回転センサ中のセンサが冗長な構成となっているものもある。 For example, in some motor systems that require high reliability, the sensor in the rotation sensor has a redundant configuration in order to ensure sufficient reliability.
図11は、実施の形態2のモータ制御システムの構成を示すブロック図である。図11に示すモータ制御システムは、モータ3と、モータ3の回転角度および回転速度を検出するための回転センサ4Aと、回転センサ4Aの出力に基づいてモータ3を制御するモータ制御装置200Aとを備える。
FIG. 11 is a block diagram showing the configuration of the motor control system according to the second embodiment. The motor control system shown in FIG. 11 includes a
モータ制御装置200Aは、インバータ制御部1Aと、インバータ2とを含む。インバータ制御部1Aは、A/D変換器11,12,11A,12Aと、回転角演算装置13Aと、制御部14とを含む。
回転センサ4Aは、モータ3の回転体であるロータの回転量に応じたサイン波信号Sinθおよびコサイン波信号Cosθをそれぞれ出力するセンサ41,42と、センサ41,42と冗長に設けられサイン波信号SinθAおよびコサイン波信号CosθAをそれぞれ出力するセンサ41A,42Aとを含む。A/D変換器11は、サイン波信号Sinθをデジタル値(a)に変換する。A/D変換器12は、コサイン波信号Cosθをデジタル値(b)に変換する。A/D変換器11Aは、サイン波信号SinθAをデジタル値(a1)に変換する。A/D変換器12Aは、コサイン波信号CosθAをデジタル値(b1)に変換する。
回転角演算装置13Aは、角度演算部130Aと処理部134Aとを含む。
The
角度演算部130Aは、角度演算器131~133と、角度演算器131A~133Aとを含む。角度演算器131~133は、実施の形態1における図1に示した角度演算器131~133と同じである。また、角度演算器131A~133Aは、冗長な検知値(a1),(b1)を検知値(a),(b)に代えて受け演算結果θ11~θ13を出力する点が異なるが、処理内容は角度演算器131~133と同じである。
Angle calculator 130A includes angle calculators 131-133 and
処理部134Aは、演算結果θ1~θ3および演算結果θ11~θ13に基づいてモータ制御に用いる回転角度θoutおよび回転センサの故障判定結果ERRを出力するように構成される。
The
たとえば、処理部134Aは、図9に示した処理を演算結果θ1~θ3に適用してθoutを出力し、演算結果θ1~θ3からセンサ41,42の故障が検出された場合に、図9に示した処理を演算結果θ11~θ13に適用してθoutを出力するように構成される。
For example, the
このようにすれば、回転センサの複数のセンサのうちの一部に故障が発生した場合でも、正常なセンサを使用してモータ3の回転を継続させることができる。また、故障発生をランプ、ブザーまたは警報信号などで報知すれば、正常なセンサを使用してモータ3の回転を継続させつつ、その間に修理部品を手配することができる。したがって、高い信頼性が必要とされるモータシステムに好適に使用できる。
In this way, even if a part of the plurality of rotation sensors fails, it is possible to continue the rotation of the
(モータ制御装置の適用例)
図12は、本実施の形態のモータ制御装置の適用例である電動ポンプの構成を示すブロック図である。ここでは、電動ポンプの一例として、車両の自動変速機に用いられる電動オイルポンプについて説明するが、電動ポンプは、他の用途のポンプであっても良い。
(Application example of motor control device)
FIG. 12 is a block diagram showing the configuration of an electric pump that is an application example of the motor control device according to this embodiment. Here, an electric oil pump used in an automatic transmission of a vehicle will be described as an example of the electric pump, but the electric pump may be a pump for other uses.
図12に示す電動オイルポンプ301は、ポンプ機構315と、ポンプ機構315を駆動するモータ3と、モータ3を駆動するインバータ2と、インバータ2を制御するインバータ制御部1とを備える。
電動オイルポンプ301は、車両等のポンプシステム300に配置される車載向けの自動変速機用電動オイルポンプである。電動オイルポンプ301は、さらに、入力インターフェース回路311と出力インターフェース回路317と、回転センサ4とを備える。
The
電動オイルポンプ301は、上位コントローラ330から電源電圧VBの供給を受けるとともに入力インターフェース回路311を経由して回転速度指令またはトルク指令を受ける。また電動オイルポンプ301は、上位コントローラ330に対して、出力インターフェース回路317を経由してモータ3の回転速度情報または故障情報を出力する。
インバータ制御部1は、中央処理装置(CPU:Central Processing Unit)318と、メモリ319と、入出力バッファ(図示せず)等を含んで構成される。メモリ319は、ROM(Read Only Memory)320と、RAM(Random Access Memory)321と、フラッシュメモリ322とを含む。ROM320は、書換え不可能な不揮発メモリであり、RAM321は、揮発性メモリであり、フラッシュメモリ322は、書換え可能な不揮発メモリである。中央処理装置318は、ROM320またはフラッシュメモリ322に格納されているプログラムをRAM321等に展開して実行する。ROM320またはフラッシュメモリ322に格納されるプログラムは、インバータ制御部1の処理手順が記されたプログラムである。インバータ制御部1は、これらのプログラムに従って、電動オイルポンプ301における各部の制御を実行する。この制御については、ソフトウェアによる処理に限られず、専用のハードウェア(電子回路)で処理することも可能である。
The
図12に示す電動オイルポンプ301に、実施の形態1または2で示したモータ制御装置を組み入れることによって、回転センサ4の異常に起因する電動ポンプの故障の早期発見が可能となる。
By incorporating the motor control device shown in
(まとめ)
再び、図を参照して、本実施の形態について総括する。
(summary)
The present embodiment will be summarized again with reference to the drawings.
本開示は、回転体の回転量に応じたサイン波信号Sinθおよびコサイン波信号Cosθを出力する回転センサ4の出力を受けて回転角を演算する回転角演算装置13に関する。図1に示す回転角演算装置13は、サイン波およびコサイン波を用いて互いに異なる複数の演算方法によって複数の回転角度値を算出する角度演算部130と、角度演算部130が算出した複数の回転角度値に基づいて、回転体の回転角度θoutの決定および回転センサ4の故障判定を行なう処理部134とを備える。
The present disclosure relates to a
好ましくは、回転センサ4は、サイン波信号Sinθを出力する第1センサ41と、コサイン波信号Cosθを出力する第2センサ42とを含む。角度演算部130は、サイン波およびコサイン波を用いて第1~第3の回転角度値θ1~θ3をそれぞれ算出する第1~第3の角度演算器131~133を含む。処理部134は、第1~第3の回転角度値θ1~θ3を比較し、第1~第3の回転角度値θ1~θ3の差に基づいて回転センサの故障判定結果ERRを出力するように構成される。
Preferably, the
より好ましくは、図2に示すように、第1の角度演算器131は、サイン波の値をコサイン波の値で除算したタンジェント値とアークタンジェント関数とによって第1の回転角度値θ1を算出するように構成される。より具体的には、θ1=arctan(sinθ/cosθ)である。また、図4に示すように、第2の角度演算器132は、サイン波の値とアークサイン関数とから得られる第1角度および第2角度の一方をコサイン波の値に基づいて選択することによって第2の回転角度値θ2を算出するように構成される。より具体的には、S12で得られたarcsin(sinθ)の2つの解X1,X2のうちの一方が、S13~S26に示す処理によって選択され、第2の回転角度値θ2に決定される。また、図7に示すように、第3の角度演算器は、コサイン波の値とアークコサイン関数とから得られる第3角度および第4角度の一方をサイン波の値に基づいて選択することによって第3の回転角度値θ3を算出するように構成される。より具体的には、S42で得られたarccos(cosθ)の2つの解Y1,Y2のうちの一方が、S43~S49に示す処理によって選択され、第3の回転角度値θ3に決定される。
More preferably, as shown in FIG. 2, the
より好ましくは、図9に示すように、処理部134は、第1~第3の回転角度値θ1~θ3の差が許容範囲内の場合には、S52またはS54において回転体の回転角度として第1の回転角度値θ1を出力し、第1~第3の回転角度値θ1~θ3の差が許容範囲外の場合には、S55において回転センサ4の故障を報知するように構成される。
More preferably, as shown in FIG. 9, if the difference between the first to third rotation angle values θ1 to θ3 is within the allowable range, the
好ましくは、図11に示すように、回転センサは、サイン波信号Sinθを出力する第1センサ41およびサイン波信号SinθAを出力する第3センサ41Aと、コサイン波信号Cosθを出力する第2センサ42およびコサイン波信号CosθAを出力する第4センサ42Aとを含む。角度演算部130Aは、サイン波信号Sinθ,SinθAおよびコサイン波信号Cosθ,CosθAを用いて第1~第6の回転角度値θ1~θ3,θ1A~θ3Aをそれぞれ算出する第1~第6の角度演算器131~133,131A~133Aを含む。処理部134Aは、第1~第6の回転角度値θ1~θ3,θ1A~θ3Aを比較し、第1~第6の回転角度値θ1~θ3,θ1A~θ3Aの差に基づいて故障判定結果ERRを出力するように構成される。
Preferably, as shown in FIG. 11, the rotation sensors include a
本開示は、他の局面においては、モータ制御装置200に関する。回転体は、モータ3のロータである。モータ制御装置200は、上記いずれかの回転角演算装置13と、モータ3と、回転センサ4と、モータ3を駆動するインバータ2と、回転角演算装置13の出力に基づいてインバータ2を制御する制御部14とを備える。
The present disclosure, in another aspect, relates to
本開示は、さらに他の局面においては、上記のモータ制御装置200と、モータ3によって駆動されるポンプ機構315とを備える、電動ポンプに関する。
In still another aspect, the present disclosure relates to an electric pump including
今回開示された実施の形態は、すべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は、上記した実施の形態の説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。 The embodiments disclosed this time should be considered as examples and not restrictive in all respects. The scope of the present invention is indicated by the scope of the claims rather than the description of the above-described embodiments, and is intended to include all modifications within the scope and meaning equivalent to the scope of the claims.
1,1A インバータ制御部、2 インバータ、3 モータ、4,4A 回転センサ、11,11A,12,12A A/D変換器、13,13A 回転角演算装置、14 制御部、41,41A,42,42A センサ、130,130A 角度演算部、131,131A,132,132A,133,133A 角度演算器、134,134A 処理部、141 速度演算部、142 速度制御部、143 電流制御部、200,200A モータ制御装置。
1, 1A inverter control section, 2 inverter, 3 motor, 4, 4A rotation sensor, 11, 11A, 12, 12A A/D converter, 13, 13A rotation angle calculation device, 14 control section, 41, 41A, 42, 42A sensor 130,130A angle calculator 131,131A, 132,132A, 133,133A angle calculator 134,134
Claims (7)
前記サイン波および前記コサイン波を用いて互いに異なる複数の演算方法によって複数の回転角度値を算出する角度演算部と、
前記角度演算部が算出した前記複数の回転角度値に基づいて、前記回転体の回転角度の決定および前記回転センサの故障判定を行なう処理部とを備える、回転角演算装置。 A rotation angle calculation device for calculating a rotation angle by receiving an output from a rotation sensor that outputs a sine wave and a cosine wave corresponding to the amount of rotation of a rotating body,
an angle calculation unit that calculates a plurality of rotation angle values by a plurality of different calculation methods using the sine wave and the cosine wave;
a processing unit that determines a rotation angle of the rotating body and determines a failure of the rotation sensor based on the plurality of rotation angle values calculated by the angle calculation unit.
前記角度演算部は、
前記サイン波および前記コサイン波を用いて第1~第3の回転角度値をそれぞれ算出する第1~第3の角度演算器を含み、
前記処理部は、前記第1~第3の回転角度値を比較し、前記第1~第3の回転角度値の差に基づいて前記回転センサの故障判定結果を出力するように構成される、請求項1に記載の回転角演算装置。 The rotation sensor includes a first sensor that outputs the sine wave and a second sensor that outputs the cosine wave,
The angle calculator is
first to third angle calculators for calculating first to third rotation angle values using the sine wave and the cosine wave, respectively;
The processing unit is configured to compare the first to third rotation angle values and output a failure determination result of the rotation sensor based on a difference between the first to third rotation angle values. The rotation angle calculator according to claim 1.
前記サイン波の値を前記コサイン波の値で除算したタンジェント値とアークタンジェント関数とによって前記第1の回転角度値を算出するように構成され、
前記第2の角度演算器は、
前記サイン波の値とアークサイン関数とから得られる第1角度および第2角度の一方を前記コサイン波の値に基づいて選択することによって前記第2の回転角度値を算出するように構成され、
前記第3の角度演算器は、
前記コサイン波の値とアークコサイン関数とから得られる第3角度および第4角度の一方を前記サイン波の値に基づいて選択することによって前記第3の回転角度値を算出するように構成される、請求項2に記載の回転角演算装置。 The first angle calculator,
configured to calculate the first rotation angle value by an arctangent function and a tangent value obtained by dividing the sine wave value by the cosine wave value,
The second angle calculator,
configured to calculate the second rotation angle value by selecting one of a first angle and a second angle obtained from the sine wave value and an arcsine function based on the cosine wave value;
The third angle calculator,
configured to calculate the third rotation angle value by selecting one of a third angle and a fourth angle obtained from the cosine wave value and an arc cosine function based on the sine wave value. 3. The rotation angle computing device according to claim 2.
前記角度演算部は、
前記サイン波および前記コサイン波を用いて第1~第6の回転角度値をそれぞれ算出する第1~第6の角度演算器を含み、
前記処理部は、前記第1~第6の回転角度値を比較し、前記第1~第6の回転角度値の差に基づいて故障判定結果を出力するように構成される、請求項1に記載の回転角演算装置。 The rotation sensor includes a first sensor and a second sensor that output the sine wave, and a third sensor and a fourth sensor that output the cosine wave,
The angle calculator is
first to sixth angle calculators for calculating first to sixth rotation angle values using the sine wave and the cosine wave, respectively;
2. The apparatus according to claim 1, wherein said processing unit is configured to compare said first to sixth rotation angle values and output a failure determination result based on a difference between said first to sixth rotation angle values. A rotation angle calculator as described.
請求項1~5のいずれか1項に記載の回転角演算装置と、
前記モータと、
前記回転センサと、
前記モータを駆動するインバータと、
前記回転角演算装置の出力に基づいて前記インバータを制御する制御部とを備える、モータ制御装置。 the rotating body is a rotor of a motor,
a rotation angle calculation device according to any one of claims 1 to 5;
the motor;
the rotation sensor;
an inverter that drives the motor;
and a control unit that controls the inverter based on the output of the rotation angle calculation device.
前記モータによって駆動されるポンプ機構とを備える、電動ポンプ。 a motor control device according to claim 6;
and a pump mechanism driven by the motor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021102550A JP2023001682A (en) | 2021-06-21 | 2021-06-21 | Rotation angle computation device, motor control device and electrically-driven pump |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2021102550A JP2023001682A (en) | 2021-06-21 | 2021-06-21 | Rotation angle computation device, motor control device and electrically-driven pump |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2023001682A true JP2023001682A (en) | 2023-01-06 |
Family
ID=84688682
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2021102550A Pending JP2023001682A (en) | 2021-06-21 | 2021-06-21 | Rotation angle computation device, motor control device and electrically-driven pump |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2023001682A (en) |
-
2021
- 2021-06-21 JP JP2021102550A patent/JP2023001682A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9540037B2 (en) | Malfunction detection device for resolver | |
JP3593050B2 (en) | Abnormality detection method and device for position detection device and electric power steering device | |
JP6095845B2 (en) | Motor rotation angle detection device and electric power steering device using the same | |
JP4979352B2 (en) | Resolver / digital converter and control system using the resolver / digital converter | |
JP3216491B2 (en) | Resolver abnormality detection apparatus and method | |
JP5011824B2 (en) | Abnormality judgment device | |
JP4923730B2 (en) | Compensation method and angle detection apparatus using the same in resolver angle detection | |
JP5333863B2 (en) | Rotation angle detector | |
JP3630410B2 (en) | Position detection apparatus and abnormality detection apparatus | |
JP5739825B2 (en) | RD converter diagnostic device, steering system, powertrain system | |
CN110417314B (en) | Motor control device and electric power steering device | |
KR101776474B1 (en) | Motor failure diagnosis system and method using resolver signal | |
JP2005308634A (en) | Resolver/digital converter | |
JP3460587B2 (en) | Abnormality detector that detects abnormality of the rotation angle detector | |
JP2012098188A (en) | Abnormality diagnostic device in rotation angle detection system | |
KR101823140B1 (en) | Method for detecting inverter fault and apparatus thereof | |
JP2023001682A (en) | Rotation angle computation device, motor control device and electrically-driven pump | |
JP2011089935A (en) | Resolver abnormality detector | |
JP2006138778A (en) | Angle detector | |
JP4037392B2 (en) | Anomaly detection device | |
US20230175871A1 (en) | Monitoring control device and monitoring control method | |
US11231297B2 (en) | Providing availability of rotary position sensor information after hardware failures | |
JP2008175660A (en) | Abnormality detecting device and position detector equipped with abnormality detecting part | |
JP7326822B2 (en) | motor controller | |
WO2021095641A1 (en) | Signal processing method, program, and signal processing system |