JP2008236959A - Motor controller and motor system - Google Patents

Motor controller and motor system Download PDF

Info

Publication number
JP2008236959A
JP2008236959A JP2007075525A JP2007075525A JP2008236959A JP 2008236959 A JP2008236959 A JP 2008236959A JP 2007075525 A JP2007075525 A JP 2007075525A JP 2007075525 A JP2007075525 A JP 2007075525A JP 2008236959 A JP2008236959 A JP 2008236959A
Authority
JP
Japan
Prior art keywords
motor
output
rotation sensor
reference signal
phase
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
JP2007075525A
Other languages
Japanese (ja)
Inventor
Yoichiro Yamagishi
陽一郎 山岸
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2007075525A priority Critical patent/JP2008236959A/en
Publication of JP2008236959A publication Critical patent/JP2008236959A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Control Of Motors That Do Not Use Commutators (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a motor controller capable of reducing troubles involved in the manufacturing of a motor. <P>SOLUTION: The motor controller performs acquiring output reference information regarding the reference time of the output of a resolver reference signal output from the rotary sensor (step S3), acquiring signal output information regarding the time when the resolver reference signal is output from the rotary sensor (step S5), acquiring the mounting error amount of the rotary sensor relative to the motor based on the output reference information and the signal output information (step S6), and storing the mounting error amount in the storage unit (step S8). A control means corrects the control relative to the motor based on the mounting error amount stored in the storage unit. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、回転センサを備えるモータ制御装置およびモータシステムに関する。   The present invention relates to a motor control device and a motor system including a rotation sensor.

従来、ACモータやDCモータなどのモータに設置された回転センサを備え、この回転センサによってモータのロータの回転位置を検出し、その検出値に基づいてモータを制御するモータ制御装置がある(例えば、特許文献1参照)。   2. Description of the Related Art Conventionally, there is a motor control device that includes a rotation sensor installed in a motor such as an AC motor or a DC motor, detects the rotational position of the rotor of the motor by this rotation sensor, and controls the motor based on the detected value (for example, , See Patent Document 1).

回転センサとしては、例えばレゾルバ式やホール素子を用いたものがある。このような回転センサは、モータのステータに固定される固定部と、モータのロータに固定される回転部とを有して、この固定部と回転部との位置関係に基づいて、モータの磁極の位相をロータの位置として検出するようになっている。   Examples of the rotation sensor include a resolver type and a Hall element. Such a rotation sensor has a fixed portion fixed to the stator of the motor and a rotating portion fixed to the rotor of the motor, and the magnetic pole of the motor is based on the positional relationship between the fixed portion and the rotating portion. Is detected as the position of the rotor.

また、この回転センサは、モータのロータとステータとが規定の位置関係となったときに基準信号を出力するように、固定部と回転部とがモータに設置される。
特開2004−112942号公報
In addition, this rotation sensor is provided with a fixed portion and a rotating portion in the motor so that a reference signal is output when the rotor and stator of the motor are in a predetermined positional relationship.
JP 2004-112942 A

しかしながら、このような回転センサにあっては、モータに対する固定部と回転部との取り付けにおいて取付誤差が発生すると、回転センサの出力値が不正確なものとなってしまいモータの制御に悪影響が出てしまう。そこで、このような場合には、製造時にその取付誤差を検出し、その検出した取付誤差を吸収するようにモータの特性を調整するという工程を行なう必要があり、モータの製造に大きな手間がかかるという問題がある。   However, in such a rotation sensor, if an attachment error occurs in the attachment of the fixed portion and the rotation portion to the motor, the output value of the rotation sensor becomes inaccurate, which adversely affects the motor control. End up. Therefore, in such a case, it is necessary to perform a process of detecting the mounting error at the time of manufacturing and adjusting the characteristics of the motor so as to absorb the detected mounting error. There is a problem.

そこで、本発明は、モータの製造にかかる手間を削減することができるモータ制御装置およびモータシステムを提供することを目的とする。   Then, an object of this invention is to provide the motor control apparatus and motor system which can reduce the effort concerning manufacture of a motor.

本発明の第1のモータ制御装置は、モータに取り付けられ、該モータのロータの回転位置を検出するとともに、基準信号を出力する回転センサと、前記回転センサから出力される前記基準信号の出力の基準時点に関わる出力基準情報を取得する第1の取得手段と、前記回転センサから前記基準信号が出力された時点に関わる信号出力情報を取得する第2の取得手段と、前記出力基準情報および前記信号出力情報に基づいて、前記モータに対する前記回転センサの取付誤差の量である取付誤差量を取得する第3の取得手段と、前記取付誤差量を記憶する記憶装置と、前記回転センサから出力される出力値を用いて前記モータを制御する制御手段と、を備え、前記制御手段は、前記記憶装置に記憶されている前記取付誤差量に基づいて前記モータに対する制御を補正することを特徴とする。   A first motor control device according to the present invention is attached to a motor, detects a rotational position of a rotor of the motor, outputs a reference signal, and outputs a reference signal output from the rotation sensor. First acquisition means for acquiring output reference information related to a reference time point, second acquisition means for acquiring signal output information related to a time point when the reference signal is output from the rotation sensor, the output reference information, and the Based on the signal output information, a third acquisition means for acquiring an attachment error amount that is an amount of the attachment error of the rotation sensor with respect to the motor, a storage device that stores the attachment error amount, and an output from the rotation sensor. Control means for controlling the motor by using an output value obtained from the motor, the control means based on the mounting error amount stored in the storage device. And correcting the control against.

本発明の第2のモータ制御装置は、前記第1のモータ制御装置において、前記モータの誘起電圧の位相を計数する計数手段を備え、前記出力基準情報は、規定の電圧値の前記誘起電圧が発生された時点に対応する前記計数手段の計数値であり、前記信号出力情報は、前記回転センサから前記基準信号が出力された時点に対応する前記計数手段の計数値であり、前記第3の取得手段は、前記出力基準信号としての前記計数値と前記信号出力情報としての前記計数値との差を前記取付誤差量として取得することを特徴とする。   The second motor control device of the present invention comprises counting means for counting the phase of the induced voltage of the motor in the first motor control device, and the output reference information includes the induced voltage having a specified voltage value. The count value of the counting means corresponding to the time point when the reference signal is generated, and the signal output information is the count value of the counting means corresponding to the time point when the reference signal is output from the rotation sensor. The acquisition means acquires the difference between the count value as the output reference signal and the count value as the signal output information as the attachment error amount.

本発明の第3のモータ制御装置は、前記第1又は第2のモータ制御装置において、前記取付誤差量が予め規定された量よりも大きい場合には、前記回転センサの取り付けが異常である旨を警告する警告手段を備えることを特徴とする。   According to a third motor control device of the present invention, in the first or second motor control device, when the attachment error amount is larger than a predetermined amount, the attachment of the rotation sensor is abnormal. A warning means for warning is provided.

本発明の第1のモータシステムは、モータと、前記モータを制御する前記第1ないし第3のいずれか一つのモータ制御装置と、を備えることを特徴とする。   A first motor system according to the present invention includes a motor, and any one of the first to third motor control devices that controls the motor.

本発明によれば、記憶装置に記憶されている回転センサの取付誤差量に基づいて、制御手段がモータに対する制御を補正することにより、製造時にモータの特性を調整して回転センサの取付誤差を吸収する必要がないので、モータの製造にかかる手間を削減することができる。   According to the present invention, the control means corrects the control of the motor based on the rotation sensor mounting error amount stored in the storage device, thereby adjusting the characteristics of the motor at the time of manufacture and reducing the rotation sensor mounting error. Since it is not necessary to absorb, it is possible to reduce the labor required for manufacturing the motor.

本発明の一実施形態について図面を参照して説明する。図1は、本実施形態にかかるモータシステムを示す構成図、図2は、本実施形態にかかるセンサ取付誤差検出装置が実行するセンサ取付誤差検出処理を説明するための説明図、図3は、本実施形態にかかるセンサ取付誤差検出装置が実行するセンサ取付誤差検出処理の流れを示すフローチャートである。   An embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a configuration diagram showing a motor system according to the present embodiment, FIG. 2 is an explanatory diagram for explaining sensor mounting error detection processing executed by the sensor mounting error detecting device according to the present embodiment, and FIG. It is a flowchart which shows the flow of the sensor attachment error detection process which the sensor attachment error detection apparatus concerning this embodiment performs.

図1に示すように、モータシステム1は、モータ2と、このモータ2を制御するモータ制御装置3と、を備えている。   As shown in FIG. 1, the motor system 1 includes a motor 2 and a motor control device 3 that controls the motor 2.

モータ2は、3相交流モータであり、U相、V相、W相を有する。モータ2は、固定部4と、この固定部4に対して回転可能に設けられた回転部5とを有している。固定部4は、筐体やステータなどから構成されている一方、回転部は、ロータや出力軸などから構成されている。   The motor 2 is a three-phase AC motor and has a U phase, a V phase, and a W phase. The motor 2 includes a fixed portion 4 and a rotating portion 5 provided to be rotatable with respect to the fixed portion 4. The fixed part 4 is composed of a housing, a stator, and the like, while the rotating part is composed of a rotor, an output shaft, and the like.

モータ制御装置3は、モータ2に設置された回転センサ6と、モータ2に対する回転センサ6の取付誤差を検出するセンサ取付誤差検出装置7と、モータ2に電力を供給するインバータ8と、インバータ8を制御することでモータ2を制御する制御手段である制御回路部9と、を備えている。   The motor control device 3 includes a rotation sensor 6 installed in the motor 2, a sensor attachment error detection device 7 that detects an attachment error of the rotation sensor 6 with respect to the motor 2, an inverter 8 that supplies electric power to the motor 2, and an inverter 8 And a control circuit unit 9 which is a control means for controlling the motor 2 by controlling the motor 2.

回転センサ6は、レゾルバ式であり、モータ2の固定部4に固定されたセンサ固定部10と、モータ2の回転部5に固定されたセンサ回転部11と、を有している。この回転センサ6は、モータ2の回転部5の回転位置を検出するとともに、モータ2の一回転毎に基準信号としてのレゾルバ基準信号を一回出力する。   The rotation sensor 6 is a resolver type and includes a sensor fixing unit 10 fixed to the fixing unit 4 of the motor 2 and a sensor rotating unit 11 fixed to the rotating unit 5 of the motor 2. The rotation sensor 6 detects the rotational position of the rotating unit 5 of the motor 2 and outputs a resolver reference signal as a reference signal once for each rotation of the motor 2.

センサ取付誤差検出装置7は、各種の演算等を行なう演算回路部12と、モータ2の誘起電圧を検出する電圧検出器13と、この電圧検出器13から出力される電圧情報が入力される電圧値入力回路部14と、回転センサ6から出力される情報が入力されるセンサ入力回路部15と、モータ2の誘起電圧の位相を係数する係数手段としての位相カウンタ16と、モータ2に対する回転センサ6の取付誤差の量である取付誤差量を記憶する記憶装置17と、外部装置(図示せず)に情報を出力する出力回路部18と、を備えている。このセンサ取付誤差検出装置7は、詳しくは後述するが、第1ないし第3の取得手段および警告手段として機能する。   The sensor mounting error detection device 7 includes an arithmetic circuit unit 12 that performs various calculations, a voltage detector 13 that detects an induced voltage of the motor 2, and a voltage to which voltage information output from the voltage detector 13 is input. A value input circuit unit 14, a sensor input circuit unit 15 to which information output from the rotation sensor 6 is input, a phase counter 16 as coefficient means for coefficienting the phase of the induced voltage of the motor 2, and a rotation sensor for the motor 2 6 is provided with a storage device 17 that stores an attachment error amount that is the amount of attachment error 6 and an output circuit unit 18 that outputs information to an external device (not shown). The sensor mounting error detection device 7 functions as first to third acquisition means and warning means, as will be described in detail later.

演算回路部12は、CPU、ROM、RAM(いずれも図示せず)などを有するコンピュータであり、この演算回路部12に、電圧値入力回路部14、センサ入力回路部15、位相カウンタ16、記憶装置17、出力回路部18が接続されている。記憶装置17は、例えばEEPROMである。センサ入力回路部15は、回転センサ6からレゾルバ基準信号が入力されると、レゾルバ基準信号が出力された旨を表す出力有り情報を保持する。   The arithmetic circuit unit 12 is a computer having a CPU, a ROM, a RAM (not shown), and the like. The arithmetic circuit unit 12 includes a voltage value input circuit unit 14, a sensor input circuit unit 15, a phase counter 16, and a storage. The device 17 and the output circuit unit 18 are connected. The storage device 17 is, for example, an EEPROM. When the resolver reference signal is input from the rotation sensor 6, the sensor input circuit unit 15 holds output presence information indicating that the resolver reference signal is output.

制御回路部9は、CPU、ROM、RAM(いずれも図示せず)などを有するコンピュータである。この制御回路部9は、記憶装置17に接続されており、記憶装置17に記憶されている情報を読み込み可能である。   The control circuit unit 9 is a computer having a CPU, a ROM, a RAM (all not shown), and the like. The control circuit unit 9 is connected to the storage device 17 and can read information stored in the storage device 17.

次に、センサ取付誤差検出装置7の演算回路部12が行なうセンサ取付誤差検出処理を説明する。まず、センサ取付誤差検出処理の概要を図2を参照して説明する。モータ2は、モータ2の一回転中にレゾルバ基準信号を1回出力するが、このレゾルバ基準信号は、設計上ではモータ2のある相が制御基準となる規定の誘起電圧(以降、制御基準電圧ともいう)を発生する時点から、誘起電圧の規定の位相分だけ異なる時点で出力されるようになっている。つまり、モータ2が制御基準電圧を発生する時点と回転センサ6がレゾルバ基準信号を出力する時点との間には、設計上の位相差(以後、設計位相差ともいう)χ°が設定されている。換言すると、制御基準電圧から位相差χ°分だけずれた誘起電圧がモータ2から出力される時点と、回転センサ6がレゾルバ基準信号を出力する時点とは、設計上同じである。したがって、制御基準電圧から位相差χ°分だけずれた誘起電圧がモータ2から出力される時点と、回転センサ6がレゾルバ基準信号を出力する時点とを検出し、それらの時点間の位相差(以後、位相誤差ともいう)を算出し、この位相誤差を取付誤差量として取得すれば良い。   Next, sensor attachment error detection processing performed by the arithmetic circuit unit 12 of the sensor attachment error detection device 7 will be described. First, an outline of the sensor attachment error detection process will be described with reference to FIG. The motor 2 outputs a resolver reference signal once during one rotation of the motor 2, and this resolver reference signal is a specified induced voltage (hereinafter referred to as a control reference voltage) in which a certain phase of the motor 2 becomes a control reference in design. Output at a time different from the time when the induced voltage is generated by the prescribed phase of the induced voltage. That is, a design phase difference (hereinafter also referred to as a design phase difference) χ ° is set between the time when the motor 2 generates the control reference voltage and the time when the rotation sensor 6 outputs the resolver reference signal. Yes. In other words, the time when the induced voltage shifted from the control reference voltage by the phase difference χ ° is output from the motor 2 is the same as the time when the rotation sensor 6 outputs the resolver reference signal. Therefore, the time point when the induced voltage shifted by the phase difference χ ° from the control reference voltage is output from the motor 2 and the time point when the rotation sensor 6 outputs the resolver reference signal is detected, and the phase difference between these time points ( Hereinafter, the phase error) may be calculated, and this phase error may be acquired as an attachment error amount.

ここで、本実施形態では、モータ2が発する制御基準電圧としてW相の電圧立上がり時点の電圧、即ち、誘起電圧の最小電圧が採用され、設計位相差χ°が90°に設定されている。この場合、回転センサ6のレゾルバ基準信号の設計上の出力時点は、W相の誘起電圧が上昇過程でゼロとなる時点、即ち、W相の誘起電圧が上昇過程でゼロクロスする時点となる。したがって、この場合、実際にW相の誘起電圧が上昇過程でゼロクロスした時点と回転センサ6がレゾルバ基準信号を出力した時点との位相誤差が、取付誤差量となる。以上の設計条件でのセンサ取付誤差検出処理を図2のフローチャートに沿って以下に詳しく説明する。   Here, in this embodiment, the voltage at the time of rising of the W-phase voltage, that is, the minimum voltage of the induced voltage is adopted as the control reference voltage generated by the motor 2, and the design phase difference χ ° is set to 90 °. In this case, the design output time of the resolver reference signal of the rotation sensor 6 is the time when the W-phase induced voltage becomes zero in the rising process, that is, the time when the W-phase induced voltage crosses zero in the rising process. Therefore, in this case, the phase error between the time when the W-phase induced voltage actually zero-crosses in the rising process and the time when the rotation sensor 6 outputs the resolver reference signal is the attachment error amount. The sensor attachment error detection process under the above design conditions will be described in detail below along the flowchart of FIG.

図3に示すように、演算回路部12は、W相の誘起電圧が上昇過程でゼロ、即ち、W相の誘起電圧が上昇過程でゼロクロスしたかを判定する(ステップS1〜S2)。具体的には、W相の誘起電圧がゼロになるまで以降の処理を実施せず(ステップS1のNO)、W相の誘起電圧がゼロになったと判定した場合には(ステップS1のYES)、このゼロを検出した時点の前回(直近)に検出した誘起電圧がゼロよりも小さかったか否か(マイナス値か否か)を判定する(ステップS2)。ここで、この前回の誘起電圧値は、該演算回路部12のRAMに記憶されるようになっている。そして、その前回に検出した誘起電圧がゼロよりも小さい(マイナス値)と判定した場合には(ステップS2のYES)、該演算回路部12の位相カウンタ16の計数値(位相)を読み込み、その計数値を該演算回路部12のRAMに第1の計数値として記憶する(ステップS3)。一方、ステップS2において、前回に検出した誘起電圧がゼロよりも小さくない(プラス値)と判定した場合には(ステップS2のNO)、再びステップS1から処理を実施し、W相の誘起電圧が上昇過程でゼロクロスしたと判定するまで以上の処理を繰り返す。ここで、ステップS3で取得した第1の計数値が、モータから規定の電圧値の誘起電圧が発生された時点に対応する位相カウンタ16の計数値であり、出力基準情報として機能する。以上のステップS1〜S3によって、回転センサ6から出力されるレゾルバ基準信号の出力の基準時点に関わる出力基準情報を取得する第1の取得手段の機能が実行される。   As shown in FIG. 3, the arithmetic circuit unit 12 determines whether the W-phase induced voltage is zero during the increase process, that is, whether the W-phase induced voltage is zero-crossed during the increase process (steps S <b> 1 to S <b> 2). Specifically, the subsequent processing is not performed until the induced voltage of the W phase becomes zero (NO in step S1), and when it is determined that the induced voltage of the W phase has become zero (YES in step S1). Then, it is determined whether or not the induced voltage detected last time (most recent) at the time when this zero is detected is smaller than zero (whether it is a negative value) (step S2). Here, the previous induced voltage value is stored in the RAM of the arithmetic circuit unit 12. When it is determined that the previously detected induced voltage is smaller than zero (negative value) (YES in step S2), the count value (phase) of the phase counter 16 of the arithmetic circuit unit 12 is read, and The count value is stored as a first count value in the RAM of the arithmetic circuit unit 12 (step S3). On the other hand, when it is determined in step S2 that the previously detected induced voltage is not smaller than zero (plus value) (NO in step S2), the process is performed again from step S1, and the induced voltage of the W phase is The above processing is repeated until it is determined that the zero cross has occurred during the ascending process. Here, the first count value acquired in step S3 is the count value of the phase counter 16 corresponding to the time point when the induced voltage of the specified voltage value is generated from the motor, and functions as output reference information. The function of the 1st acquisition means which acquires the output reference information regarding the reference | standard time of the output of the resolver reference signal output from the rotation sensor 6 by the above steps S1-S3 is performed.

演算回路部12は、ステップS3を実行した後、センサ入力回路部15を用いて回転センサ6からレゾルバ基準信号が出力されたか否かを判断する(ステップS4)。具体的には、センサ入力回路部15に、レゾルバ基準信号が出力された旨を表す出力有り情報が保持されている場合には、回転センサ6からレゾルバ基準信号が出力されたと判断する一方、センサ入力回路部15に、出力有り情報が保持されていない場合には、回転センサ6からレゾルバ基準信号が出力されていないと判断する。そして、回転センサ6からレゾルバ基準信号が出力されていないと判断した場合には(ステップS4のNO)、以降の処理を実施せずに、再びステップS1から処理を実施する。回転センサ6からレゾルバ基準信号が出力されたと判定した場合には(ステップS4のYES)、この時点での位相カウンタ16の計数値を読み込み、その計数値を該演算回路部12のRAMに第2の計数値として記憶する(ステップS5)。ここで、この第2の計数値が、回転センサ6からレゾルバ基準信号が出力された時点に対応する位相カウンタ16の計数値であり、信号出力情報として機能する。以上のステップS4,S5によって、回転センサ6からレゾルバ基準信号が出力された時点に関わる信号出力情報を取得する第2の取得手段の機能が実行される。   After executing step S3, the arithmetic circuit unit 12 determines whether or not a resolver reference signal is output from the rotation sensor 6 using the sensor input circuit unit 15 (step S4). Specifically, when output presence information indicating that the resolver reference signal is output is held in the sensor input circuit unit 15, it is determined that the resolver reference signal is output from the rotation sensor 6, while the sensor When the output presence information is not held in the input circuit unit 15, it is determined that the resolver reference signal is not output from the rotation sensor 6. If it is determined that the resolver reference signal is not output from the rotation sensor 6 (NO in step S4), the process is performed again from step S1 without performing the subsequent processes. When it is determined that the resolver reference signal is output from the rotation sensor 6 (YES in step S4), the count value of the phase counter 16 at this time is read, and the count value is stored in the RAM of the arithmetic circuit unit 12 in the second. Is stored as a count value (step S5). Here, the second count value is the count value of the phase counter 16 corresponding to the time when the resolver reference signal is output from the rotation sensor 6 and functions as signal output information. Through the above steps S4 and S5, the function of the second acquisition means for acquiring the signal output information relating to the time when the resolver reference signal is output from the rotation sensor 6 is executed.

次に、演算回路部12は、モータ2に対する回転センサ6の取付誤差を算出する(ステップS6)。具体的には、ステップS5で取得した第2の計数値からステップS3で取得した第1の計数値を除算して、それらの差である取付誤差量としての位相誤差を求める。このステップS6によって、出力基準情報および信号出力情報に基づいて、モータ2に対する回転センサ6の取付誤差の量である取付誤差量を取得する第3の取得手段の機能が実行される。   Next, the arithmetic circuit unit 12 calculates an attachment error of the rotation sensor 6 with respect to the motor 2 (step S6). Specifically, the first count value acquired in step S3 is divided from the second count value acquired in step S5 to obtain a phase error as an attachment error amount that is the difference between them. By this step S6, the function of the third acquisition means for acquiring the amount of attachment error, which is the amount of attachment error of the rotation sensor 6 with respect to the motor 2, is executed based on the output reference information and signal output information.

次に、演算回路部12は、ステップS6で算出した位相誤差が予め規定された基準量である基準位相差以下であるか否かを判定する(ステップS7)。基準位相差は、設計上の許容誤差であり、位相誤差が基準位相差以下の場合には、何ら問題なく装置がその機能を発揮することができる設計となっている。このときの位相誤差は、図2においてα°で示されている。そして、位相誤差が基準位相差以下の場合には(ステップS7のYES)、その位相誤差(取付誤差量)を学習値として記憶装置17に記憶させる(ステップS8)。   Next, the arithmetic circuit unit 12 determines whether or not the phase error calculated in step S6 is equal to or smaller than a reference phase difference that is a predetermined reference amount (step S7). The reference phase difference is a design tolerance, and when the phase error is equal to or less than the reference phase difference, the apparatus is designed so that the function can be exhibited without any problem. The phase error at this time is indicated by α ° in FIG. If the phase error is equal to or smaller than the reference phase difference (YES in step S7), the phase error (mounting error amount) is stored as a learning value in the storage device 17 (step S8).

一方、ステップS7において、ステップS6で算出した位相誤差が基準位相差よりも大きい場合には(ステップS7のNO)、回転センサ6の取り付けが異常である旨を表す組付異常フラグを出力回路部18を介して外部装置に出力し、回転センサ6の取り付けが異常である旨を警告する(ステップS9)。このときの位相誤差は、図2においてβ°で示されている。このステップS9によって、取付誤差量が予め規定された基準量よりも大きい場合には、回転センサ6の取り付けが異常である旨を警告する警告手段の機能が実行される。   On the other hand, if the phase error calculated in step S6 is larger than the reference phase difference in step S7 (NO in step S7), an assembly abnormality flag indicating that the rotation sensor 6 is abnormally attached is output. It outputs to an external device via 18 and warns that the attachment of the rotation sensor 6 is abnormal (step S9). The phase error at this time is indicated by β ° in FIG. In step S9, when the attachment error amount is larger than a predetermined reference amount, a warning means function for warning that the attachment of the rotation sensor 6 is abnormal is executed.

そして、以上のセンサ取付誤差検出処理によって、記憶装置17に記憶された回転センサ6の位相誤差は、制御回路部9がモータ2を制御する際に使用する。例えば、制御回路部9は、記憶装置17に記憶されている位相誤差に基づいて回転センサ6から出力される出力値を補正し、補正したその出力値を用いてモータ2を制御する。ここで、制御回路部9が行なう補正は、例えば、位相誤差を打ち消すように、回転センサ6の出力値の位相をずらす補正などである。   And the phase error of the rotation sensor 6 memorize | stored in the memory | storage device 17 by the above sensor attachment error detection process is used when the control circuit part 9 controls the motor 2. FIG. For example, the control circuit unit 9 corrects the output value output from the rotation sensor 6 based on the phase error stored in the storage device 17, and controls the motor 2 using the corrected output value. Here, the correction performed by the control circuit unit 9 is, for example, correction for shifting the phase of the output value of the rotation sensor 6 so as to cancel out the phase error.

以上説明したように、本実施形態では、記憶装置17に記憶されている回転センサ6の取付誤差量である位相誤差に基づいて、制御回路部9がモータ2に対する制御を補正することにより、製造時にモータ2の特性を調整して回転センサ6の取付誤差を吸収する必要がないので、モータ2の製造にかかる手間を削減することができる。   As described above, in the present embodiment, the control circuit unit 9 corrects the control for the motor 2 based on the phase error that is the amount of mounting error of the rotation sensor 6 stored in the storage device 17. Sometimes it is not necessary to adjust the characteristics of the motor 2 to absorb the mounting error of the rotation sensor 6, so that it is possible to reduce the labor required for manufacturing the motor 2.

また、本実施形態では、センサ取付誤差検出処理において、第3の取得手段は、出力レゾルバ基準信号としての第1の計数値と信号出力情報としての第2の計数値との差である位相誤差を取付誤差量として取得することにより、回転センサ6の出力値を位相誤差を用いて容易に補正することができる。   In the present embodiment, in the sensor attachment error detection process, the third acquisition means is a phase error that is a difference between the first count value as the output resolver reference signal and the second count value as the signal output information. Is acquired as the amount of attachment error, the output value of the rotation sensor 6 can be easily corrected using the phase error.

また、本実施形態では、センサ取付誤差検出処理において、位相誤差(取付誤差量)が予め規定された基準位相差よりも大きい場合には、回転センサ6の取り付けが異常である旨をセンサ取付誤差検出装置7が警告するので、製造段階でセンサ取付誤差検出処理を行なうことにより、不良品を摘出することができる。   In the present embodiment, in the sensor attachment error detection process, if the phase error (amount of attachment error) is larger than a predetermined reference phase difference, it is indicated that the attachment of the rotation sensor 6 is abnormal. Since the detection device 7 gives a warning, defective products can be extracted by performing sensor attachment error detection processing at the manufacturing stage.

なお、本発明は、次のような別の実施形態に具現化することができる。以下の別の実施形態でも上記実施形態と同様の作用および効果を得ることができる。   The present invention can be embodied in another embodiment as follows. In other embodiments described below, the same operations and effects as in the above embodiments can be obtained.

(1)上記各実施形態では、出力基準情報として、W相の誘起電圧がゼロとなる時点の位相カウンタ16の計数値を用いた例を説明したが、これに限るものではなく、出力基準情報としては、例えばモータ2の規定の相の任意の電圧が発生した時点の位相カウンタ16の計数値であっても良い。   (1) In each of the above embodiments, the example in which the count value of the phase counter 16 at the time when the W-phase induced voltage becomes zero has been described as the output reference information. However, the present invention is not limited to this. For example, the count value of the phase counter 16 at the time when an arbitrary voltage of a prescribed phase of the motor 2 is generated may be used.

本発明の一実施形態にかかるモータシステムを示す構成図。The block diagram which shows the motor system concerning one Embodiment of this invention. 本発明の一実施形態にかかるセンサ取付誤差検出装置が実行するセンサ取付誤差検出処理を説明するための説明図。Explanatory drawing for demonstrating the sensor attachment error detection process which the sensor attachment error detection apparatus concerning one Embodiment of this invention performs. 本発明の一実施形態にかかるセンサ取付誤差検出装置が実行するセンサ取付誤差検出処理の流れを示すフローチャート。The flowchart which shows the flow of the sensor attachment error detection process which the sensor attachment error detection apparatus concerning one Embodiment of this invention performs.

符号の説明Explanation of symbols

1 モータシステム
2 モータ
3 モータ制御装置
5 回転部
6 回転センサ
7 センサ取付誤差検出装置(第1〜第3の取得手段,警告手段)
9 制御回路部(制御手段)
16 位相カウンタ(計数手段)
17 記憶装置
DESCRIPTION OF SYMBOLS 1 Motor system 2 Motor 3 Motor control apparatus 5 Rotating part 6 Rotation sensor 7 Sensor attachment error detection apparatus (1st-3rd acquisition means, warning means)
9 Control circuit (control means)
16 Phase counter (counting means)
17 Storage device

Claims (4)

モータに取り付けられ、該モータのロータの回転位置を検出するとともに、基準信号を出力する回転センサと、
前記回転センサから出力される前記基準信号の出力の基準時点に関わる出力基準情報を取得する第1の取得手段と、
前記回転センサから前記基準信号が出力された時点に関わる信号出力情報を取得する第2の取得手段と、
前記出力基準情報および前記信号出力情報に基づいて、前記モータに対する前記回転センサの取付誤差の量である取付誤差量を取得する第3の取得手段と、
前記取付誤差量を記憶する記憶装置と、
前記回転センサから出力される出力値を用いて前記モータを制御する制御手段と、
を備え、
前記制御手段は、前記記憶装置に記憶されている前記取付誤差量に基づいて前記モータに対する制御を補正することを特徴とするモータ制御装置。
A rotation sensor attached to the motor for detecting the rotational position of the rotor of the motor and outputting a reference signal;
First acquisition means for acquiring output reference information related to a reference time point of the reference signal output from the rotation sensor;
Second acquisition means for acquiring signal output information relating to the time point when the reference signal is output from the rotation sensor;
Third acquisition means for acquiring an attachment error amount, which is an amount of an attachment error of the rotation sensor with respect to the motor, based on the output reference information and the signal output information;
A storage device for storing the mounting error amount;
Control means for controlling the motor using an output value output from the rotation sensor;
With
The said control means correct | amends the control with respect to the said motor based on the said attachment error amount memorize | stored in the said memory | storage device, The motor control apparatus characterized by the above-mentioned.
前記モータの誘起電圧の位相を計数する計数手段を備え、
前記出力基準情報は、規定の電圧値の前記誘起電圧が発生された時点に対応する前記計数手段の計数値であり、
前記信号出力情報は、前記回転センサから前記基準信号が出力された時点に対応する前記計数手段の計数値であり、
前記第3の取得手段は、前記出力基準信号としての前記計数値と前記信号出力情報としての前記計数値との差を前記取付誤差量として取得することを特徴とする請求項1に記載のモータ制御装置。
Comprising counting means for counting the phase of the induced voltage of the motor;
The output reference information is a count value of the counting means corresponding to a point in time when the induced voltage of a specified voltage value is generated,
The signal output information is a count value of the counting means corresponding to the time point when the reference signal is output from the rotation sensor,
2. The motor according to claim 1, wherein the third acquisition unit acquires a difference between the count value as the output reference signal and the count value as the signal output information as the attachment error amount. Control device.
前記取付誤差量が予め規定された基準量よりも大きい場合には、前記回転センサの取り付けが異常である旨を警告する警告手段を備えることを特徴とする請求項1又は2に記載のモータ制御装置。   3. The motor control according to claim 1, further comprising warning means for warning that the attachment of the rotation sensor is abnormal when the attachment error amount is larger than a predetermined reference amount. apparatus. モータと、
前記モータを制御する請求項1ないし請求項3のいずれか一項に記載のモータ制御装置と、
を備えることを特徴とするモータシステム。
A motor,
The motor control device according to any one of claims 1 to 3, which controls the motor;
A motor system comprising:
JP2007075525A 2007-03-22 2007-03-22 Motor controller and motor system Pending JP2008236959A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007075525A JP2008236959A (en) 2007-03-22 2007-03-22 Motor controller and motor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007075525A JP2008236959A (en) 2007-03-22 2007-03-22 Motor controller and motor system

Publications (1)

Publication Number Publication Date
JP2008236959A true JP2008236959A (en) 2008-10-02

Family

ID=39909067

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007075525A Pending JP2008236959A (en) 2007-03-22 2007-03-22 Motor controller and motor system

Country Status (1)

Country Link
JP (1) JP2008236959A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103378774A (en) * 2012-04-23 2013-10-30 三菱电机株式会社 Control apparatus of rotating electrical machine
JP2014030356A (en) * 2013-11-06 2014-02-13 Mitsubishi Electric Corp Control device for rotary electric machine
JP6211135B1 (en) * 2016-05-24 2017-10-11 三菱電機株式会社 Motor control device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103378774A (en) * 2012-04-23 2013-10-30 三菱电机株式会社 Control apparatus of rotating electrical machine
JP2013225999A (en) * 2012-04-23 2013-10-31 Mitsubishi Electric Corp Controller for rotary electric machine
US9050895B2 (en) 2012-04-23 2015-06-09 Mitsubishi Electric Corporation Control apparatus of rotating electrical machine
JP2014030356A (en) * 2013-11-06 2014-02-13 Mitsubishi Electric Corp Control device for rotary electric machine
JP6211135B1 (en) * 2016-05-24 2017-10-11 三菱電機株式会社 Motor control device
JP2017212783A (en) * 2016-05-24 2017-11-30 三菱電機株式会社 Motor controller

Similar Documents

Publication Publication Date Title
JP5661839B2 (en) Synchronous motor control system with abnormality detection diagnosis function
JP6005393B2 (en) Abnormal output compensation method for vehicle resolver
JP2010101741A (en) Temperature measuring circuit, encoder system and temperature measuring method
JP2011069806A (en) Rotation angle detector
JP6124112B2 (en) AC motor control device and control method
EP2466268A2 (en) Rotation angle detection device
JP2010096708A (en) Detector of motor rotational angle
JP2020159992A (en) Detection unit
JP2008236959A (en) Motor controller and motor system
JP4419692B2 (en) Angle detector
JP2007315994A (en) Method for detecting changes in temperature of a rotary electrical machine, and a device thereof
JP5943671B2 (en) Encoder device and position data generation method
JP6112832B2 (en) Angle correction device and rotation angle sensor
JP4752848B2 (en) Current detection device and current detection method
JP2003114244A (en) Current detection method and current detection device
JP2009248749A (en) Control unit of electric power steering device
JP6890056B2 (en) Temperature detector and error correction method
JP2006033903A (en) Motor controller
CN112534706A (en) Position estimation method, motor control device, and motor system
CN112514238A (en) Position estimation method, motor control device, and motor system
JP2008278606A (en) Rotational position sensor for rotary electric machines and rotating electrical machine
JP2006067744A (en) Synchronous motor controlling device and its initial phase setting method
JP6705782B2 (en) Synchronous motor magnetic pole position detection device and synchronous motor magnetic pole position detection method
JP2009225545A (en) Brushless motor controller, brushless motor, and setting method of brushless motor controller
JP2020205716A (en) Motor control device and offset amount calculation method