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 PDF

Info

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
Application number
JP2021102550A
Other languages
Japanese (ja)
Inventor
慧冴 本窪
Keigo Motokubo
優一 杉本
Yuichi Sugimoto
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.)
NTN Corp
Original Assignee
NTN Corp
NTN Toyo Bearing 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 NTN Corp, NTN Toyo Bearing Co Ltd filed Critical NTN Corp
Priority to JP2021102550A priority Critical patent/JP2023001682A/en
Publication of JP2023001682A publication Critical patent/JP2023001682A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Transmission And Conversion Of Sensor Element Output (AREA)

Abstract

To provide a rotation angle computation device and motor control device that can perform defect diagnosis without the need of an additional circuit for diagnosis.SOLUTION: A rotation angle computation device 13 computes a rotation angle by receiving output of a rotation sensor 4 outputting a sine wave and cosine wave in accordance with the amount of rotation of a rotor. The rotation angle computation device 13 comprises: an angle computation unit 130 that calculates a plurality of rotation angle values by a plurality of mutually different computation methods using the sine wave and cosine wave; and a processing unit 134 that performs determination of a rotation angle θout of the rotor and failure determination of the rotation sensor 4 on the basis of the plurality of rotation angle values calculated by the angle computation unit 130.SELECTED DRAWING: Figure 1

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号公報JP 2010-25730 A

特開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.

実施の形態1のモータ制御システムの構成を示すブロック図である。1 is a block diagram showing the configuration of a motor control system according to Embodiment 1; FIG. 角度演算器131が演算結果θ1を得る処理内容を示すフローチャートである。4 is a flow chart showing the details of processing for an angle calculator 131 to obtain a calculation result θ1. 角度演算器131の演算を説明するための波形図である。4 is a waveform diagram for explaining calculation of an angle calculator 131. FIG. 角度演算器132が演算結果θ2を得る処理内容を示すフローチャートである。FIG. 10 is a flow chart showing the details of processing for an angle calculator 132 to obtain a calculation result θ2; FIG. 検知値(a)>Vofの場合における角度演算器132の演算を説明するための波形図である。FIG. 10 is a waveform diagram for explaining calculation of an angle calculator 132 when detected value (a)>Vof; 検知値(a)<Vofの場合における角度演算器132の演算を説明するための波形図である。FIG. 10 is a waveform diagram for explaining the calculation of the angle calculator 132 when the detected value (a)<Vof; 角度演算器133が演算結果θ3を得る処理内容を示すフローチャートである。FIG. 10 is a flow chart showing the details of processing for an angle calculator 133 to obtain a calculation result θ3; FIG. 角度演算器133の演算を説明するための波形図である。FIG. 4 is a waveform diagram for explaining calculation of an angle calculator 133; 処理部134が演算結果θ1~θ3から演算結果θoutおよびエラー信号ERRを得る処理内容を示すフローチャートである。10 is a flow chart showing the details of processing by the processing unit 134 to obtain the calculation result θout and the error signal ERR from the calculation results θ1 to θ3; 故障発生時の演算結果の誤差について説明するための図である。FIG. 10 is a diagram for explaining an error in calculation results when a failure occurs; 実施の形態2のモータ制御システムの構成を示すブロック図である。FIG. 4 is a block diagram showing the configuration of a motor control system according to Embodiment 2; FIG. 本実施の形態のモータ制御装置の適用例である電動ポンプの構成を示すブロック図である。1 is a block diagram showing a configuration of an electric pump that is an application example of a motor control device according to an embodiment; FIG.

以下、本発明の実施の形態について図面を参照しつつ説明する。なお、以下の図面において同一または相当する部分には同一の参照番号を付し、その説明は繰返さない。 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 Embodiment 1. FIG. A motor control system shown in FIG. Prepare.

モータ制御装置200は、インバータ制御部1と、インバータ2とを含む。インバータ制御部1は、A/D変換器11,12と、回転角演算装置13と、制御部14とを含む。 Motor control device 200 includes an inverter control unit 1 and an inverter 2 . Inverter control unit 1 includes A/D converters 11 and 12, a rotation angle calculator 13, and a control unit .

回転センサ4は、モータ3の回転体であるロータの回転量に応じたサイン波信号Sinθおよびコサイン波信号Cosθを出力する。A/D変換器11は、サイン波信号Sinθをデジタル値(a)に変換する。A/D変換器12は、コサイン波信号Cosθをデジタル値(b)に変換する。 The rotation sensor 4 outputs a sine wave signal Sin ? The A/D converter 11 converts the sine wave signal Sin θ into a digital value (a). The A/D converter 12 converts the cosine wave signal Cos θ into a digital value (b).

回転角演算装置13は、デジタル値(a),(b)を受けて回転角度θoutおよびエラー信号ERRを演算する。 A rotation angle calculator 13 receives the digital values (a) and (b) and calculates a rotation angle θout and an error signal ERR.

制御部14は、回転角度θoutを受けて、インバータ2に制御信号を出力する。制御部14は、速度演算部141と、速度制御部142と、電流制御部143とを含む。なお制御部14については、インバータ2を駆動する一般的な制御を実行するものであるので、詳細な説明はここでは行なわない。 The control unit 14 receives the rotation angle θout and outputs a control signal to the inverter 2 . Control unit 14 includes a speed calculation unit 141 , a speed control unit 142 and a current control unit 143 . Since control unit 14 performs general control for driving inverter 2, detailed description thereof is omitted here.

回転角演算装置13は、サイン波信号Sinθおよびコサイン波信号Cosθを用いて互いに異なる複数の演算方法によって複数の回転角度値を算出する角度演算部130と、角度演算部130が算出した複数の回転角度値に基づいて、回転体の回転角度θoutの決定および回転センサ4の故障判定を行なう処理部134とを備える。 The rotation angle calculation device 13 includes an angle calculation unit 130 that calculates a plurality of rotation angle values by a plurality of calculation methods different from each other using the sine wave signal Sin θ and the cosine wave signal Cos θ, and a plurality of rotation values calculated by the angle calculation unit 130 . A processing unit 134 is provided for determining a rotation angle θout of the rotating body and determining a failure of the rotation sensor 4 based on the angle value.

回転センサ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 rotation sensor 4 includes a first sensor 41 that outputs a sine wave signal Sin θ and a second sensor 42 that outputs a cosine wave signal Cos θ. Angle calculator 130 includes first to third angle calculators 131 to 133 that calculate first to third rotation angle values θ1 to θ3 using sine waves and cosine waves, respectively. The processing unit 134 compares the first to third rotation angle values θ1 to θ3, and outputs a rotation sensor failure determination result ERR based on the difference between the first to third rotation angle values θ1 to θ3. Configured.

第1センサ41および第2センサ42としては、たとえば、特開2010-25730号公報(特許文献1)に開示されるような、印加される磁界の方向に応じて抵抗値が変化する複数のMR素子をブリッジ状に接続した検出回路を使用することができる。モータ3のロータには、ロータの回転に従い回転磁界を発生させるための永久磁石が取付けられている。モータ3のステータに回転センサ4が取付けられることによって、モータ3のロータが回転すると回転センサ4が検出する信号Sinθおよび信号Cosθが回転角θに応じて変化する。 As the first sensor 41 and the second sensor 42, for example, a plurality of MR sensors whose resistance value changes according to the direction of the applied magnetic field, as disclosed in Japanese Patent Application Laid-Open No. 2010-25730 (Patent Document 1). A detection circuit with a bridge connection of elements can be used. A permanent magnet is attached to the rotor of the motor 3 to generate a rotating magnetic field as the rotor rotates. By attaching the rotation sensor 4 to the stator of the motor 3, when the rotor of the motor 3 rotates, the signal Sin θ and the signal Cos θ detected by the rotation sensor 4 change according to the rotation angle θ.

回転センサ4からの信号Sinθおよび信号Cosθは、A/D変換器11,12でそれぞれ取り込まれ、デジタル値である検知値(a),(b)に変換される。回転角演算装置13の角度演算器131、角度演算器132、角度演算器133の各々は、検知値(a),(b)を受ける。 A signal Sin θ and a signal Cos θ from the rotation sensor 4 are taken in by A/D converters 11 and 12, respectively, and converted into detection values (a) and (b), which are digital values. Each of angle calculator 131, angle calculator 132, and angle calculator 133 of rotation angle calculator 13 receives detection values (a) and (b).

以下、角度演算器131~133と処理部134の処理内容をフローチャートを用いて順に説明する。 The processing contents of the angle calculators 131 to 133 and the processing unit 134 will be described below in order using flowcharts.

角度演算器131は、サンプリング時刻ごとに検出値(a)および検出値(b)を取得し、arctan(((a)-Vof)/((b)-Vof))を計算する。 The angle calculator 131 acquires the detected value (a) and the detected value (b) at each sampling time and calculates arctan (((a)-Vof)/((b)-Vof)).

図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 angle calculator 131 to obtain the calculation result θ1. In step S1, the angle calculator 131 receives detection values (a) and (b), which are digital values of signals indicating the rotation angle. Then, in step S2, arctan is calculated from the detected values (a) and (b) to obtain the calculation result θ1. However, if the central voltage of the rotation sensor output is Vof, it is necessary to subtract Vof from each of the detected values (a) and (b). The angle calculator 131 calculates a calculation result θ1 indicating the motor angle from arctan (((a)-Vof)/((b)-Vof)).

このとき、モータ角度の演算は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 angle calculator 131. As shown in FIG. In FIG. 3, the central voltage Vof of the rotation sensor is 2.5 V, and the signal Sin θ and the signal Cos θ from the rotation sensor 4 swing between a minimum value of 0 V and a maximum value of 5 V with an amplitude of ±2.5 V. An example is given. Here, the detection value (a) at time t2 is a value obtained by digitally converting sin (π/4)+2.5, and the detection value (b) is a digital value of cos (π/4)+2.5. It is a converted value. Therefore, in order to calculate tan θ, it is necessary to subtract a digital value corresponding to the center voltage Vof=2.5 V, which is the offset, from the detected values (a) and (b).

図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 angle calculator 132 calculates an angle from the value of arcsin (((a)-Vof)/Vof) and the value of (b). FIG. 4 is a flow chart showing the details of the process by which the angle calculator 132 obtains the calculation result θ2. In step S11, the angle calculator 132 receives detection values (a) and (b), which are digital values of signals indicating the number of revolutions. Then, in step S12, arcsin(a) is calculated to obtain solutions X1 and X2. However, if the central voltage of the rotation sensor output is Vof, it is necessary to subtract Vof from each of the detected values (a) and (b).

角度演算器132ではarcsin((Vof-(a))/Vof)を算出する。このときの演算結果は2つの解X1,X2が得られる。 The angle calculator 132 calculates arcsin((Vof-(a))/Vof). Two solutions X1 and X2 are obtained as a result of the calculation at this time.

図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 angle calculator 132 when the detected value (a)>Vof. FIG. 5 shows an example in which the center voltage Vof of the rotation sensor is 2.5V, and the signal Sinθ from the rotation sensor 4 swings between a minimum value of 0V and a maximum value of 5V with an amplitude of ±2.5V. be Here, when the detected value (a) is a value obtained by digitally converting sin(π/4)+2.5, two solutions X1 (=π/ 4), X2 (=3π/4) is obtained.

これらの解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 angle calculator 132 when the detected value (a)<Vof. FIG. 6 shows an example in which the central voltage Vof of the rotation sensor is 2.5V, and the signal Sinθ from the rotation sensor 4 swings between a minimum value of 0V and a maximum value of 5V with an amplitude of ±2.5V. be Here, when the detected value (a) is a value obtained by digitally converting sin (5π/4)+2.5, two solutions X1 (=5π/ 4), X2 (=7π/4) is obtained.

これらの解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 angle calculator 132 sets the solution X1 to the calculation result θ2 in step S16. (b) If -Vof>0 does not hold (NO in S15), the angle calculator 132 sets the solution X2 to the calculation result θ2 in step S17.

一方で、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 angle calculator 132 sets the solution X2 to the calculation result θ2 in step S19. (b) If −Vof>0 does not hold (NO in S18), the angle calculator 132 sets the solution X1 to the calculation result θ2 in step S20.

ステップ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 angle calculator 132 sets the solution X2 to the calculation result θ2 in step S23. (b) If −Vof>0 does not hold (NO in S22), the angle calculator 132 sets the solution X1 to the calculation result θ2 in step S24.

一方で、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 angle calculator 132 sets the solution X1 to the calculation result θ2 in step S26. (b) If −Vof>0 does not hold (NO in S25), the angle calculator 132 sets the solution X2 to the calculation result θ2 in step S27.

以上説明したように、角度演算器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 angle calculator 132 converts one of the two solutions X1 and X2 obtained by calculating arcsin((Vof-(a))/Vof) to arcsin((Vof-(a) )/Vof) is greater than or equal to π, and the positive or negative of (b)-Vof determines the result uniquely. If the smaller one of the two solutions is defined as X1 and the larger one as X2, S14, S18-S20, S21, and S25-S27 can be omitted.

図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 angle calculator 133 to obtain the calculation result θ3. In step S41, the angle calculator 133 receives detection values (a) and (b), which are digital values of signals indicating the number of revolutions. Then, in step S42, arccos(b) is calculated to obtain solutions X1 and X2. However, if the central voltage of the rotation sensor output is Vof, it is necessary to subtract a number corresponding to Vof from each of the detected values (a) and (b).

角度演算器133ではarccos((Vof-(b))/Vof)を算出する。このときの演算結果は2つの解Y1,Y2が得られる。 The angle calculator 133 calculates arccos((Vof-(b))/Vof). Two solutions Y1 and Y2 are obtained as a result of the calculation at this time.

図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 angle calculator 133. As shown in FIG. FIG. 8 shows an example in which the central voltage Vof of the rotation sensor is 2.5V, and the signal Cosθ from the rotation sensor 4 swings between a minimum value of 0V and a maximum value of 5V with an amplitude of ±2.5V. be Here, when the detected value (b) is a value obtained by digitally converting cos(π/4)+2.5, two solutions Y1 (=π/ 4), Y2 (=7π/4) is obtained.

これらの解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 angle calculator 133 sets the solution Y1 to the calculation result θ3 in step S45. If (a)-Vof>0 does not hold (NO in S44), the angle calculator 133 sets the solution Y2 to the calculation result θ3 in step S46.

一方で、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 angle calculator 133 sets the solution Y2 to the calculation result θ3 in step S48. (a) If −Vof>0 does not hold (NO in S47), the angle calculator 133 sets the solution Y1 to the calculation result θ3 in step S49.

以上説明したように、角度演算器133は、arccos((Vof-(b))/Vof)を算出して得られた2つの解Y1,Y2のいずれか一方を、(a)-Vofの正負に基づいて選択することにより、結果を一意に決定する。なお、2つの解のうち小さい方をY1、大きい方をY2と定義すれば、S43,S47~S49を省略することができる。 As described above, the angle calculator 133 converts one of the two solutions Y1 and Y2 obtained by calculating arccos((Vof-(b))/Vof) to the positive or negative of (a)-Vof. uniquely determines the outcome by selecting based on If the smaller one of the two solutions is defined as Y1 and the larger one as Y2, S43 and S47 to S49 can be omitted.

図9は、処理部134が演算結果θ1~θ3から演算結果θoutおよびエラー信号ERRを得る処理内容を示すフローチャートである。 FIG. 9 is a flow chart showing the processing content of the processing unit 134 to obtain the calculation result θout and the error signal ERR from the calculation results θ1 to θ3.

処理部134は、得られた3つの演算結果θ1~θ3を比較し、許容値を超える差があった場合故障とする。 The processing unit 134 compares the obtained three calculation results θ1 to θ3, and if there is a difference exceeding the allowable value, it is determined as a failure.

まず、ステップ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 processing unit 134 uses the calculation result θ1 as θout for motor control in step S52.

θ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 processing unit 134 calculates the calculation result θ1 as Used for motor control as θout. The allowable value used for determination is determined based on the rotation angle detection accuracy required by the applied application.

θ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 unit 134 performs the failure operation. For example, it outputs an error signal ERR indicating that the rotation sensor 4 has failed, notifies the user of the failure with a warning lamp, alarm buzzer, or the like, and stops the motor 3 .

図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 processing unit 134 stops the motor as a sensor abnormality.

このように、比較したセンサ値に差異が生じるので、回転センサの異常の早期発見が可能となる。 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 Embodiment 1, the rotation sensor includes the first sensor and the second sensor, but the same failure detection method can be applied when the rotation sensor includes more sensors.

たとえば、高い信頼性が要求されるモータシステムには、十分な信頼性を確保するために回転センサ中のセンサが冗長な構成となっているものもある。 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 motor 3, a rotation sensor 4A for detecting the rotation angle and rotation speed of the motor 3, and a motor control device 200A for controlling the motor 3 based on the output of the rotation sensor 4A. Prepare.

モータ制御装置200Aは、インバータ制御部1Aと、インバータ2とを含む。インバータ制御部1Aは、A/D変換器11,12,11A,12Aと、回転角演算装置13Aと、制御部14とを含む。 Motor control device 200A includes an inverter control unit 1A and an inverter 2 . Inverter control unit 1A includes A/D converters 11, 12, 11A and 12A, a rotation angle calculator 13A, and control unit .

回転センサ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)に変換する。 Rotation sensor 4A is provided redundantly with sensors 41 and 42 for outputting sine wave signal Sin θ and cosine wave signal Cos θ corresponding to the amount of rotation of the rotor, which is the rotating body of motor 3, and sine wave signals. and sensors 41A and 42A that output Sin θA and cosine wave signals Cos θA, respectively. The A/D converter 11 converts the sine wave signal Sin θ into a digital value (a). The A/D converter 12 converts the cosine wave signal Cos θ into a digital value (b). The A/D converter 11A converts the sine wave signal Sin θA into a digital value (a1). The A/D converter 12A converts the cosine wave signal Cos θA into a digital value (b1).

回転角演算装置13Aは、角度演算部130Aと処理部134Aとを含む。 The rotation angle calculator 13A includes an angle calculator 130A and a processor 134A.

角度演算部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 angle calculators 131A-133A. The angle calculators 131-133 are the same as the angle calculators 131-133 shown in FIG. 1 in the first embodiment. Also, the angle calculators 131A to 133A differ in that the redundant detection values (a1) and (b1) are replaced with the detection values (a) and (b) to output the reception calculation results θ11 to θ13. are the same as the angle calculators 131-133.

処理部134Aは、演算結果θ1~θ3および演算結果θ11~θ13に基づいてモータ制御に用いる回転角度θoutおよび回転センサの故障判定結果ERRを出力するように構成される。 The processing unit 134A is configured to output the rotation angle θout used for motor control and the failure determination result ERR of the rotation sensor based on the calculation results θ1 to θ3 and the calculation results θ11 to θ13.

たとえば、処理部134Aは、図9に示した処理を演算結果θ1~θ3に適用してθoutを出力し、演算結果θ1~θ3からセンサ41,42の故障が検出された場合に、図9に示した処理を演算結果θ11~θ13に適用してθoutを出力するように構成される。 For example, the processing unit 134A applies the processing shown in FIG. 9 to the calculation results θ1 to θ3 and outputs θout. θout is output by applying the shown processing to the calculation results θ11 to θ13.

このようにすれば、回転センサの複数のセンサのうちの一部に故障が発生した場合でも、正常なセンサを使用してモータ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 motor 3 using the normal sensors. In addition, if the occurrence of a failure is notified by a lamp, buzzer, or alarm signal, the motor 3 can continue to rotate using a normal sensor, and repair parts can be arranged in the meantime. Therefore, it can be suitably used for motor systems that require high reliability.

(モータ制御装置の適用例)
図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とを備える。 Electric oil pump 301 shown in FIG.

電動オイルポンプ301は、車両等のポンプシステム300に配置される車載向けの自動変速機用電動オイルポンプである。電動オイルポンプ301は、さらに、入力インターフェース回路311と出力インターフェース回路317と、回転センサ4とを備える。 The electric oil pump 301 is a vehicle-mounted automatic transmission electric oil pump arranged in a pump system 300 of a vehicle or the like. Electric oil pump 301 further includes input interface circuit 311 , output interface circuit 317 , and rotation sensor 4 .

電動オイルポンプ301は、上位コントローラ330から電源電圧VBの供給を受けるとともに入力インターフェース回路311を経由して回転速度指令またはトルク指令を受ける。また電動オイルポンプ301は、上位コントローラ330に対して、出力インターフェース回路317を経由してモータ3の回転速度情報または故障情報を出力する。 Electric oil pump 301 is supplied with power supply voltage VB from host controller 330 and receives a rotation speed command or a torque command via input interface circuit 311 . Also, the electric oil pump 301 outputs rotational speed information or failure information of the motor 3 to the host controller 330 via the output interface circuit 317 .

インバータ制御部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 inverter control unit 1 includes a central processing unit (CPU) 318, a memory 319, an input/output buffer (not shown), and the like. The memory 319 includes a ROM (Read Only Memory) 320 , a RAM (Random Access Memory) 321 and a flash memory 322 . The ROM 320 is a non-rewritable nonvolatile memory, the RAM 321 is a volatile memory, and the flash memory 322 is a rewritable nonvolatile memory. The central processing unit 318 develops a program stored in the ROM 320 or the flash memory 322 in the RAM 321 or the like and executes it. A program stored in the ROM 320 or the flash memory 322 is a program in which processing procedures of the inverter control unit 1 are described. Inverter control unit 1 executes control of each unit in electric oil pump 301 according to these programs. This control is not limited to processing by software, and processing by dedicated hardware (electronic circuit) is also possible.

図12に示す電動オイルポンプ301に、実施の形態1または2で示したモータ制御装置を組み入れることによって、回転センサ4の異常に起因する電動ポンプの故障の早期発見が可能となる。 By incorporating the motor control device shown in Embodiment 1 or 2 into electric oil pump 301 shown in FIG.

(まとめ)
再び、図を参照して、本実施の形態について総括する。
(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 rotation angle calculator 13 that receives an output from a rotation sensor 4 that outputs a sine wave signal Sin θ and a cosine wave signal Cos θ corresponding to the amount of rotation of a rotating body and calculates a rotation angle. The rotation angle calculation device 13 shown in FIG. A processing unit 134 is provided for determining a rotation angle θout of the rotating body and determining a failure of the rotation sensor 4 based on the angle value.

好ましくは、回転センサ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 rotation sensor 4 includes a first sensor 41 that outputs a sine wave signal Sin θ and a second sensor 42 that outputs a cosine wave signal Cos θ. Angle calculator 130 includes first to third angle calculators 131 to 133 that calculate first to third rotation angle values θ1 to θ3 using sine waves and cosine waves, respectively. The processing unit 134 compares the first to third rotation angle values θ1 to θ3, and outputs a rotation sensor failure determination result ERR based on the difference between the first to third rotation angle values θ1 to θ3. Configured.

より好ましくは、図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 first angle calculator 131 calculates the first rotation angle value θ1 from the tangent value obtained by dividing the sine wave value by the cosine wave value and the arctangent function. configured as More specifically, θ1=arctan (sin θ/cos θ). Also, as shown in FIG. 4, the second angle calculator 132 selects one of the first angle and the second angle obtained from the value of the sine wave and the arcsine function based on the value of the cosine wave. to calculate the second rotation angle value θ2. More specifically, one of the two solutions X1 and X2 of arcsin(sin θ) obtained in S12 is selected by the processes shown in S13 to S26 and determined as the second rotation angle value θ2. Also, as shown in FIG. 7, the third angle calculator selects one of the third angle and the fourth angle obtained from the value of the cosine wave and the arc cosine function based on the value of the sine wave. It is configured to calculate a third rotation angle value θ3. More specifically, one of the two solutions Y1 and Y2 of arccos(cos θ) obtained in S42 is selected by the processes shown in S43 to S49 and determined as the third rotation angle value θ3.

より好ましくは、図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 processing unit 134 sets the rotation angle of the rotating body to the first A rotation angle value θ1 of 1 is output, and if the difference between the first to third rotation angle values θ1 to θ3 is out of the allowable range, a malfunction of the rotation sensor 4 is notified in S55.

好ましくは、図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 first sensor 41 that outputs a sine wave signal Sinθ, a third sensor 41A that outputs a sine wave signal SinθA, and a second sensor 42 that outputs a cosine wave signal Cosθ. and a fourth sensor 42A that outputs a cosine wave signal Cos θA. The angle calculator 130A performs first to sixth angle calculations for calculating first to sixth rotation angle values θ1 to θ3 and θ1A to θ3A using sine wave signals Sin θ, Sin θA and cosine wave signals Cos θ, Cos θA. 131-133, 131A-133A. The processing unit 134A compares the first to sixth rotation angle values θ1 to θ3 and θ1A to θ3A and outputs the failure determination result ERR based on the difference between the first to sixth rotation angle values θ1 to θ3 and θ1A to θ3A. is configured to output

本開示は、他の局面においては、モータ制御装置200に関する。回転体は、モータ3のロータである。モータ制御装置200は、上記いずれかの回転角演算装置13と、モータ3と、回転センサ4と、モータ3を駆動するインバータ2と、回転角演算装置13の出力に基づいてインバータ2を制御する制御部14とを備える。 The present disclosure, in another aspect, relates to motor control device 200 . The rotating body is the rotor of the motor 3 . The motor control device 200 controls the inverter 2 based on the output of the rotation angle calculation device 13, the motor 3, the rotation sensor 4, the inverter 2 that drives the motor 3, and the rotation angle calculation device 13. and a control unit 14 .

本開示は、さらに他の局面においては、上記のモータ制御装置200と、モータ3によって駆動されるポンプ機構315とを備える、電動ポンプに関する。 In still another aspect, the present disclosure relates to an electric pump including motor control device 200 described above and pump mechanism 315 driven by motor 3 .

今回開示された実施の形態は、すべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は、上記した実施の形態の説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。 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,134A processor 141 speed calculator 142 speed controller 143 current controller 200,200A motor Control device.

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センサと、前記コサイン波を出力する第2センサとを含み、
前記角度演算部は、
前記サイン波および前記コサイン波を用いて第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の角度演算器は、
前記サイン波の値を前記コサイン波の値で除算したタンジェント値とアークタンジェント関数とによって前記第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~第3の回転角度値の差が許容範囲内の場合には、前記回転体の回転角度として前記第1の回転角度値を出力し、前記第1~第3の回転角度値の差が前記許容範囲外の場合には、前記回転センサの故障を報知するように構成される、請求項2または3に記載の回転角演算装置。 The processing unit outputs the first rotation angle value as the rotation angle of the rotating body when the difference between the first to third rotation angle values is within an allowable range, and outputs the first to third rotation angle values. 4. The rotation angle calculation device according to claim 2, wherein a failure of said rotation sensor is notified when the difference between said rotation angle values is outside said allowable range. 前記回転センサは、前記サイン波を出力する第1センサおよび第2センサと、前記コサイン波を出力する第3センサおよび第4センサとを含み、
前記角度演算部は、
前記サイン波および前記コサイン波を用いて第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.
請求項6に記載のモータ制御装置と、
前記モータによって駆動されるポンプ機構とを備える、電動ポンプ。
a motor control device according to claim 6;
and a pump mechanism driven by the motor.
JP2021102550A 2021-06-21 2021-06-21 Rotation angle computation device, motor control device and electrically-driven pump Pending JP2023001682A (en)

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)

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