JP5899842B2 - Electric motor position control device - Google Patents

Electric motor position control device Download PDF

Info

Publication number
JP5899842B2
JP5899842B2 JP2011248138A JP2011248138A JP5899842B2 JP 5899842 B2 JP5899842 B2 JP 5899842B2 JP 2011248138 A JP2011248138 A JP 2011248138A JP 2011248138 A JP2011248138 A JP 2011248138A JP 5899842 B2 JP5899842 B2 JP 5899842B2
Authority
JP
Japan
Prior art keywords
δθref
command
rotation direction
deviation
deviation signal
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.)
Active
Application number
JP2011248138A
Other languages
Japanese (ja)
Other versions
JP2013106422A (en
Inventor
泰宏 金剌
泰宏 金剌
利通 高橋
利通 高橋
平尾 邦朗
邦朗 平尾
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.)
Meidensha Corp
Original Assignee
Meidensha Corp
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 Meidensha Corp filed Critical Meidensha Corp
Priority to JP2011248138A priority Critical patent/JP5899842B2/en
Publication of JP2013106422A publication Critical patent/JP2013106422A/en
Application granted granted Critical
Publication of JP5899842B2 publication Critical patent/JP5899842B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、電動機の位置制御装置に関するものである。   The present invention relates to a position control device for an electric motor.

図9は位置制御装置の構成図を示したもので、位置指令θrefと電動機の位置検出θdetとの偏差信号を位置制御部1に入力して速度指令ωrefを生成する。速度制御部2は、生成した速度指令ωrefと速度演算部7により算出された速度検出ωdetの偏差信号を入力してトルク電流指令Trefを生成し、このトルク電流指令Trefに基づいて電流制御部3を介して電動機4を制御する。位置検出器(以下エンコーダという)5はそのときにおける角速度を検出し、絶対角変換係数部6により変換して位置検出θdetとして減算部8と速度演算部7に出力する。   FIG. 9 shows a block diagram of the position control device. A deviation signal between the position command θref and the motor position detection θdet is input to the position control unit 1 to generate a speed command ωref. The speed control unit 2 inputs the generated speed command ωref and the deviation signal of the speed detection ωdet calculated by the speed calculation unit 7 to generate a torque current command Tref, and the current control unit 3 based on the torque current command Tref. The motor 4 is controlled via A position detector (hereinafter referred to as an encoder) 5 detects the angular velocity at that time, converts it by an absolute angle conversion coefficient unit 6, and outputs it as a position detection θdet to the subtraction unit 8 and the velocity calculation unit 7.

図9で示す位置制御は、電流制御、速度制御をマイナーループに持ち、位置制御をメジャーループとして電動機の位置を制御するもので、電動機のある点を0度とした位置(0度から360度未満の絶対角度として)指令θrefと位置検出θdetとの偏差から位置制御により速度指令ωrefを生成するものである。   The position control shown in FIG. 9 has current control and speed control in a minor loop, and controls the position of the motor using the position control as a major loop. The position where the motor is at a certain point is 0 degree (from 0 to 360 degrees). The velocity command ωref is generated by position control from the deviation between the command θref and the position detection θdet (as an absolute angle less than).

上記のように位置制御を行うものとしては、特許文献1などによって公知となっている。この、特許文献1には、機械系の共振・反共振周波数のパラメータが不明瞭の場合でも、機械系の振動を抑制するための振動抑制補償器を設け、演算によって求めた速度指令と速度検出信号との偏差分を振動抑制補償器に入力して速度指令補償信号を生成し、この補償信号と速度指令基本信号との和を速度信号とすることが記載されている。   A device that performs position control as described above is known from Patent Document 1 and the like. This Patent Document 1 is provided with a vibration suppression compensator for suppressing the vibration of the mechanical system even when the parameters of the resonance / anti-resonance frequency of the mechanical system are unclear. It is described that a deviation from the signal is input to a vibration suppression compensator to generate a speed command compensation signal, and the sum of the compensation signal and the speed command basic signal is used as a speed signal.

特開2003−325473JP 2003-325473 A

図9のような位置制御装置を用いて位置指令と位置検出をZ-1の差分とした位置制御を実行しようとすると図10のようになる。すなわち、9,10,11はそれぞれ離散時間演算子Z-1として1サンプリング周期遅延する遅延回路を設けた構成となる。減算部8では、位置指令の偏差信号Δθrefと遅延回路11において1サンプリング周期遅延させた位置検出θdetとの偏差信号Δθdetを求め、さらに、その偏差信号Δθdetに遅延回路10で1サンプリング周期遅延させた偏差信号を加算して位置偏差θとし、位置制御部1に入力する。 FIG. 10 shows the position control using the position control device as shown in FIG. 9 to execute the position control and the position detection with the difference of Z −1 as the difference. That is, 9, 10, and 11 are each provided with a delay circuit that delays one sampling period as the discrete time operator Z- 1 . The subtraction unit 8 obtains a deviation signal Δθdet between the position command deviation signal Δθref and the position detection θdet delayed by one sampling period in the delay circuit 11, and further delays the deviation signal Δθdet by the delay circuit 10 by one sampling period. The deviation signals are added to obtain a position deviation θ and input to the position control unit 1.

ところで、制御対象物である電動機4をダイナモメータとした場合、自動車等の供試体においては、ギヤ歯を常時一定方向に接触させたいなどの理由により、位置制御モードとして正転・逆転モード、1周内偏差分モード、及び180度判別モードなどの方式が適用されている。   By the way, when the electric motor 4 which is a controlled object is a dynamometer, in a specimen such as an automobile, the position control mode is set to the forward / reverse mode, Methods such as an intra-circumferential deviation mode and a 180 degree discrimination mode are applied.

図11は、図10における位置検出θdetをサンプリングするとき、1サンプル250μsecとした場合の正転・逆転モードの説明図で、機械系の現在位置A点を原点(ゼロ基準点)とし、その原点が45度の位置にあるとしたき、正転モードの場合には45度の位置を原点としてスタートし、(a)図から(b)図のように正転方向のみ動作する。このため、1サンプル毎に逆転方向の指令が来ると正転に多回転することになって指令値にデータセット信号が必要となり、15度までの回転となる。   FIG. 11 is an explanatory diagram of the forward / reverse rotation mode when the position detection θdet in FIG. 10 is sampled and one sample is 250 μsec. The current position A point of the mechanical system is the origin (zero reference point), and the origin Is 45 degrees, and in the case of the forward rotation mode, the position starts at the position of 45 degrees and operates only in the forward rotation direction as shown in FIGS. For this reason, when a reverse rotation direction command is received for each sample, a forward rotation is made in multiple rotations, and a data set signal is required for the command value, resulting in a rotation of up to 15 degrees.

逆転モードの場合には、(c)図,(d)図で示すように、逆転方向のみ動作するため、1サンプル毎に正転方向の指令が来ると逆転に多回転することになって指令値にデータセット信号が必要となり、1サンプル内の変化は15度から45度までの位置制御となる。   In the reverse rotation mode, as shown in FIGS. (C) and (d), only the reverse rotation direction is operated. Therefore, when a normal rotation direction command is received for each sample, multiple rotations are performed in reverse rotation. A data set signal is required for the value, and a change in one sample is a position control from 15 degrees to 45 degrees.

図12は位相(0度位置)をまたがない位置へ回転し、その角度は0〜360度未満の位置制御となる。   FIG. 12 rotates to a position that does not cross the phase (0 degree position), and the angle is position control of 0 to less than 360 degrees.

図13は180度判別モードの説明図で、この方式は1サンプル180度以内の範囲で現在位置から偏差分0〜360度未満×n度の位置制御で、(b)図で示すように1サンプル内の変化は45度から315度までの回転位置と、(c)図で示すように1サンプル内の変化は45度から135度までの位置制御となる。   FIG. 13 is an explanatory diagram of a 180 degree discrimination mode. This method is a position control of deviation 0 to less than 360 degrees × n degrees from the current position within a range of 180 degrees per sample, and as shown in FIG. The change in the sample is a rotation position from 45 degrees to 315 degrees, and the change in one sample is the position control from 45 degrees to 135 degrees as shown in FIG.

したがって、図10で示すような位置制御装置によって、図11のような方式での位置制御を実行すると、次のような問題が生じる。
(1)角度による位置指令、及び位置検出の1サンプリング周期遅延による単純偏差演算では、偏差演算結果、すなわち、位置制御部1への正の値(指令位置>制御前検出位置)であれば正方向、負の値(指令位置<制御前検出位置)であれば逆転方向に指令位置まで駆動する。そのため、任意の回転方向を指定して指令位置まで駆動させることができない。
(2)特に、制御対象物がダイナモメータとした場合などのように、負荷(供試体等の回転体)が取付けられた場合、位置検出は検出器における固有の点(原点)を0度として出力されるが、位置検出器の取付けにより必ずしも負荷側の0度とダイナモメータの0度が一致しない。そのため、負荷側の持つ位置座標により入力された位置指令では、0度が不一致(原点不一致)となり、意図した位置へ制御することが出来ない。
(3)位置指令の分解能と位置検出の分解能が異なる場合、偏差演算結果には常に分解能差分の値が残ってしまう。分解能差分の値が残ると、位置制御出力の速度指令が変動し、速度やトルクに脈動を生じる原因となり安定しないことがある。
Therefore, when the position control by the method as shown in FIG. 11 is executed by the position control device as shown in FIG. 10, the following problem occurs.
(1) In the position command based on the angle and the simple deviation calculation based on the delay of one sampling period for position detection, if the deviation calculation result, that is, a positive value to the position control unit 1 (command position> detected position before control) is positive If the direction is negative (command position <pre-control detection position), the motor is driven in the reverse direction to the command position. For this reason, it is not possible to drive to the command position by designating an arbitrary rotation direction.
(2) In particular, when a load (rotating body such as a specimen) is attached, such as when the controlled object is a dynamometer, position detection sets the unique point (origin) of the detector to 0 degrees. Although it is output, 0 degree on the load side and 0 degree of the dynamometer do not necessarily match due to the attachment of the position detector. For this reason, in the position command input based on the position coordinates on the load side, 0 degrees does not match (origin origin mismatch), and control to the intended position cannot be performed.
(3) When the resolution of the position command and the resolution of position detection are different, the value of the resolution difference always remains in the deviation calculation result. If the value of the resolution difference remains, the speed command of the position control output fluctuates, which may cause pulsation in speed and torque and may not be stable.

本発明が目的とするとこは、上記(1)〜(3)の問題点を解決した電動機の位置制御装置を提供することにある。   An object of the present invention is to provide a position control device for an electric motor that solves the problems (1) to (3).

本発明の請求項1は、制御対象物の位置指令とこの位置指令から1サンプル周期遅延させた位置指令の偏差信号Δθrefと、位置検出器を介して検出された電動機の位置検出とこの位置検出から1サンプル周期遅延させた位置検出の偏差信号Δθdetとの位置偏差θを求め、位置偏差θに応じた速度指令ωrefと位置検出θdetに応じた位置速度検出ωdetの偏差によってトルク電流指令を生成し、トルク電流指令によって電流制御部を介して制御対象物の位置を制御するものにおいて、
前記位置指令の偏差信号Δθrefと回転方向設定を入力して回転方向に対応して補正された偏差信号Δθrefを出力する回転方向指定指令補正部を設け、この回転方向指定指令補正部で補正された偏差信号Δθrefと前記偏差信号Δθdetとの位置偏差θを求めるよう構成したことを特徴としたものである。
According to the first aspect of the present invention, the position command of the control object, the deviation signal Δθref of the position command delayed by one sample period from the position command, the position detection of the motor detected through the position detector, and the position detection The position deviation θ of the position detection deviation signal Δθdet delayed by one sample period is obtained, and a torque current command is generated by the deviation of the speed command ωref corresponding to the position deviation θ and the position speed detection ωdet corresponding to the position detection θdet. In the case of controlling the position of the controlled object via the current control unit by the torque current command,
A rotation direction designation command correction unit that inputs the deviation signal Δθref of the position command and the rotation direction setting and outputs a deviation signal Δθref corrected corresponding to the rotation direction is provided, and is corrected by the rotation direction designation command correction unit. It is characterized in that the position deviation θ between the deviation signal Δθref and the deviation signal Δθdet is obtained.

以上のとおり、本発明によれば、制御対象物の停止角度位置が如何なる位置であっても、停止から正転方向,或いは逆転方向への回転でも、任意の指定位置にまで精度良く制御が可能となり、制御対象物と試供体の位置の不一致が解消できるものである
As described above, according to the present invention, the control object can be accurately controlled to any specified position even if the stop angle position of the control target is any position, even if the control object is rotated in the forward direction or the reverse direction. Thus, the disagreement between the position of the control object and the specimen can be resolved .

本発明の実施例を示す位置制御装置の構成図。The block diagram of the position control apparatus which shows the Example of this invention. 本発明の回転方向指定指令補正部の位置指令補正のフロー図。The flowchart of position command correction | amendment of the rotation direction designation | designated correction | amendment part of this invention. 本発明の他の実施例を示す位置制御装置の構成図。The block diagram of the position control apparatus which shows the other Example of this invention. 本発明の他の実施例を示す位置制御装置の構成図。The block diagram of the position control apparatus which shows the other Example of this invention. 本発明の位置座標系変換部の座標変換処理フロー図。The coordinate conversion processing flowchart of the position coordinate system conversion part of this invention. 本発明の他の実施例を示す位置制御装置の構成図。The block diagram of the position control apparatus which shows the other Example of this invention. 本発明の他の実施例を示す位置制御装置の構成図。The block diagram of the position control apparatus which shows the other Example of this invention. 本発明の分解能補正処理部の補正処理フロー図。The correction process flow figure of the resolution correction process part of this invention. 従来の位置制御装置の構成図。The block diagram of the conventional position control apparatus. 位置指令と位置検出を差分とした従来の位置制御装置の構成図。The block diagram of the conventional position control apparatus which made the difference the position command and position detection. 位置制御モード(正逆モード)の説明図。Explanatory drawing of position control mode (forward / reverse mode). 位置制御モード(1周内偏差分モード)の説明図。Explanatory drawing of a position control mode (one round deviation mode). 位置制御モード(180度モード)の説明図。Explanatory drawing of position control mode (180 degree | times mode).

本発明は、制御対象物の位置指令系統に回転方向の指定と指令を補正する手段を設けることで、制御対象物の任意の回転方向を指定し、指令位置までの制御対象物の駆動を行う。また、位置検出器の出力側に位置座標系変換部を設けることで、制御対象物と供試体の原点不一致の解消と位置制御系の外部よりの位置制御を可能とすると共に、分解能補正処理部を設けることで、位置指令の系統外からの位置制御を可能とするものである。以下図に基づいて本発明の実施例を詳述する。   The present invention provides means for specifying a rotation direction and correcting a command in a position command system of a control object, thereby specifying an arbitrary rotation direction of the control object and driving the control object up to the command position. . In addition, by providing a position coordinate system conversion unit on the output side of the position detector, it is possible to resolve the origin mismatch between the controlled object and the specimen and to control the position from the outside of the position control system, as well as the resolution correction processing unit. By providing this, position control from outside the system of the position command can be performed. Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図1は、本発明の第1の実施例を示す構成図で、図9,図10と同一部分、若しくは相当する部分に同一符号を付してその説明を省略する。
20は本発明による回転方向指定指令補正部で、位置指令θrefと遅延回路9によって1サンプル周期遅延させた位置指令の偏差信号Δθrefが入力される。
FIG. 1 is a block diagram showing a first embodiment of the present invention. The same reference numerals are given to the same or corresponding parts as in FIGS.
Reference numeral 20 denotes a rotation direction designation command correction unit according to the present invention, which receives a position command θref and a position command deviation signal Δθref delayed by one sample period by the delay circuit 9.

図2は回転方向指定指令補正部20による位置指令補正のためのフロー図で、回転方向設定信号が入力されると、ステップS1で正転方向設定か逆転方向設定かを判断し、正転方向設定の場合には、ステップS2でΔθref≧0か又はΔθref<0かを判断する。Δθref≧0の場合には偏差信号Δθrefをそのまま減算部8に出力するが、Δθref<0の場合には、S3で360度−|Δθref|を演算してその差信号を求める。この差信号を補正した位置指令の偏差信号Δθrefとして減算部8に出力する。   FIG. 2 is a flowchart for position command correction by the rotation direction designation command correction unit 20. When a rotation direction setting signal is input, it is determined whether forward rotation direction setting or reverse rotation direction setting in step S1, and the forward rotation direction is determined. In the case of setting, it is determined in step S2 whether Δθref ≧ 0 or Δθref <0. When Δθref ≧ 0, the deviation signal Δθref is output to the subtracting unit 8 as it is, but when Δθref <0, 360 degrees − | Δθref | is calculated in S3 to obtain the difference signal. The difference signal is output to the subtraction unit 8 as a corrected position command deviation signal Δθref.

一方、ステップS1で位置指令が逆転方向設定と判断したときには、ステップS4でΔθref≦0か又はΔθref>0かを判断する。Δθref≦0のときは偏差信号Δθrefをそのまま減算部8に出力するが、Δθref>0の場合にはステップS5でΔθref−360度の演算を実行し、その偏差を補正した位置指令の偏差信号Δθrefとして減算部8に出力する。   On the other hand, when it is determined in step S1 that the position command is the reverse direction setting, it is determined whether Δθref ≦ 0 or Δθref> 0 in step S4. When Δθref ≦ 0, the deviation signal Δθref is output to the subtracting unit 8 as it is, but when Δθref> 0, the calculation of Δθref-360 degrees is executed in step S5, and the deviation signal Δθref of the position command corrected for the deviation. To the subtracting unit 8.

つまり、回転方向指定指令補正部20は、位置指令入力が確定する毎に回転方向設定を参照し、設定された正転、又は逆転方向への指令位置で停止するよう位置指令の偏差信号Δθrefを補正して減算部8に出力する。減算部8は、入力された偏差信号Δθrefと遅延回路11により1サンプリング周期遅延させた位置検出の偏差信号Δθdetの差演算を実行し、さらに、その差信号に遅延回路10で積算(1サンプリング周期遅延させた信号を加算)して位置偏差θとし、位置制御部1に入力して速度指令ωrefを生成する。   That is, the rotation direction designation command correction unit 20 refers to the rotation direction setting every time the position command input is confirmed, and outputs the position command deviation signal Δθref so as to stop at the set forward or reverse command position. It corrects and outputs to the subtraction part 8. The subtraction unit 8 performs a difference calculation between the input deviation signal Δθref and the position detection deviation signal Δθdet delayed by one sampling period by the delay circuit 11, and further integrates the difference signal by the delay circuit 10 (one sampling period). A delayed signal is added) to obtain a position deviation θ, which is input to the position control unit 1 to generate a speed command ωref.

速度制御部2では、速度指令ωrefと速度演算部7により算出された速度検出ωdetの偏差信号を入力してトルク電流指令Trefを演算し、このトルク電流指令Trefに基づいて電流制御部3を介して電動機4を制御する。これにより、
電流制御部3が出力する電流Iは、回転方向指定指令生成部20による位置指令入力が確定する毎に、回転方向設定を参照しながら設定回転方向に対応して補正(又は補正しないで)された位置指令に基づくため、指令設定された回転位置に停止できる。
The speed control unit 2 calculates the torque current command Tref by inputting the speed command ωref and the deviation signal of the speed detection ωdet calculated by the speed calculation unit 7, and passes the current control unit 3 based on the torque current command Tref. To control the motor 4. This
The current I output from the current control unit 3 is corrected (or not corrected) corresponding to the set rotation direction with reference to the rotation direction setting every time the position command input by the rotation direction designation command generation unit 20 is determined. Therefore, it is possible to stop at the rotational position set by the command.

したがって、この実施例によれば、回転方向指定指令補正部20を設け、任意の位置にまで制御対象物である電動機を回転させるとき、回転方向指定指令補正部20に位置指令入力と共に回転方向を指定する信号を入力し、回転方向に応じて偏差信号Δθrefを補正するものである。これにより、前述した課題の(1)が解決でき、任意の回転方向を指定しながら指令位置までの電動機駆動時における機能向上が可能となるものである。   Therefore, according to this embodiment, when the rotation direction designation command correction unit 20 is provided and the electric motor as the control target is rotated to an arbitrary position, the rotation direction is input to the rotation direction designation command correction unit 20 together with the position command input. A signal to be specified is input, and the deviation signal Δθref is corrected according to the rotation direction. As a result, the above-described problem (1) can be solved, and the function can be improved when the motor is driven to the command position while specifying an arbitrary rotation direction.

図3は本発明の第2の実施例を示す構成図で、回転方向指定指令補正部20a
は、前回の回転指令と今回の回転指令の偏差が180度以内となる方向へ駆動するよう位置指令の偏差信号Δθrefを補正するものである。そのために、図11等で示す任意の位置A点で停止中の電動機に対して、回転方向指定指令補正部20aは、次のように判断しながら、偏差信号Δθrefを出力する。
(a) 0度<|Δθref|<180度………→Δθrefを出力。
(b) 180度<|Δθref|<360度…→|Δθref|−360度を出力。
(c) 位置指令θrefが180度のとき……→任意の方向へ駆動する。
他は、図1で示す実施例1と同様である。
FIG. 3 is a block diagram showing a second embodiment of the present invention, in which a rotation direction designation command correction unit 20a.
Is for correcting the deviation signal Δθref of the position command so as to drive in a direction in which the deviation between the previous rotation command and the current rotation command is within 180 degrees. For this purpose, the rotation direction designation command correction unit 20a outputs the deviation signal Δθref to the motor stopped at an arbitrary position A shown in FIG.
(A) 0 degree <| Δθref | <180 degrees ……… → Δθref is output.
(B) 180 degrees <| Δθref | <360 degrees ... → | Δθref | -360 degrees is output.
(C) When the position command θref is 180 degrees ....... → Drives in an arbitrary direction.
Others are the same as Example 1 shown in FIG.

したがって、第2の実施例によれば、位置制御において任意の位置まで電動機を回転させるとき、任意の回転方向に前回の位置指令との偏差180度以内となるよう、入力する指令を分割するものである。これにより、前述した課題の(1)が解決でき、任意の回転方向を指定しながら指令位置までの電動機駆動時における機能向上が可能となるものである。   Therefore, according to the second embodiment, when the motor is rotated to an arbitrary position in the position control, the input command is divided so that the deviation from the previous position command is within 180 degrees in the arbitrary rotation direction. It is. As a result, the above-described problem (1) can be solved, and the function can be improved when the motor is driven to the command position while specifying an arbitrary rotation direction.

図4は本発明の第3の実施例を示す構成図で、この実施例は位置検出系に位置座標系変換部21を設けて任意の座標系で位置制御を行うことを可能としたものである。すなわち、電動機4の角速度はエンコーダ5によって検出され、絶対角変換係数部6によって位置検出θdetに変換されて位置座標系変換部21に入力される。位置座標系変換部21は記憶部を備えており、電動機4(ダイナモメータ)が停止している現在の位置を記憶し、その記憶した位置を0度とする座標系が構築されている。   FIG. 4 is a block diagram showing a third embodiment of the present invention. In this embodiment, a position coordinate system conversion unit 21 is provided in the position detection system so that position control can be performed in an arbitrary coordinate system. is there. That is, the angular velocity of the electric motor 4 is detected by the encoder 5, converted into the position detection θdet by the absolute angle conversion coefficient unit 6, and input to the position coordinate system conversion unit 21. The position coordinate system conversion unit 21 includes a storage unit, and stores a current position where the electric motor 4 (dynamometer) is stopped, and a coordinate system in which the stored position is set to 0 degrees is constructed.

ここで、「θ」はエンコーダ5が持つ座標系(ダイナモシステムの座標系)における0〜360度未満の絶対角を示し、「θ´」は任意の位置を0度として構築した座標系における0〜360度未満の絶対角を示す。位置座標系変換部21は、エンコーダ5の出力(絶対角変換係数部6の出力)に対して位置座標系変換を行うことで、制御自体を任意の座標系で行うものである。これにより、制御系外とのインターフェースで用いる座標系は、任意の座標系による絶対角を用いることを可能としたものである。したがって、制御系に入力される位置指令θ´refは、制御系外からの位置指令で、他は図10と同様である。   Here, “θ” indicates an absolute angle of 0 to less than 360 degrees in the coordinate system of the encoder 5 (coordinate system of the dynamo system), and “θ ′” is 0 in a coordinate system constructed by setting an arbitrary position as 0 degrees. An absolute angle of less than ~ 360 degrees is shown. The position coordinate system conversion unit 21 performs control itself in an arbitrary coordinate system by performing position coordinate system conversion on the output of the encoder 5 (output of the absolute angle conversion coefficient unit 6). As a result, the coordinate system used in the interface with the outside of the control system can use an absolute angle based on an arbitrary coordinate system. Therefore, the position command θ′ref input to the control system is a position command from outside the control system, and the others are the same as in FIG.

図5は位置座標系変換部21による位置座標系変換処理フロー図を示したものである。
位置座標系変換部21に位置検出θdetが入力されると、ステップS11で位置検出θdetと記憶位置を比較する。その結果、θdet≧記憶位置のときにはステップS12で、[θ´det=θdet−記憶位置]を演算して新座標系位置θ´detに変換し、遅延回路11を介して位置制御系へフィードバックされると共に、速度演算部7に入力される。
FIG. 5 shows a flow chart of position coordinate system conversion processing by the position coordinate system conversion unit 21.
When the position detection θdet is input to the position coordinate system conversion unit 21, the position detection θdet is compared with the storage position in step S11. As a result, when θdet ≧ stored position, in step S12, [θ′det = θdet−stored position] is calculated and converted into a new coordinate system position θ′det, and fed back to the position control system via the delay circuit 11. And input to the speed calculation unit 7.

一方、ステップS11でθdet<記憶位置のときにはステップS13で
[θ´det=360度−記憶位置+θdet]を演算して新座標系位置θ´detに変換する。
On the other hand, when θdet <stored position in step S11, [θ′det = 360 degrees−stored position + θdet] is calculated in step S13 and converted to a new coordinate system position θ′det.

第3の実施例によれば、任意の位置をゼロ度とした座標系を構築した位置座標系変換部21を設け、エンコーダ5で検出した位置を座標変換することで、任意の座標系で位置制御が可能となるものである。これにより、前述した課題の(2)で述べたダイナモメータと負荷側の0度の不一致(原点不一致)が解消でき、ダイナモメータ駆動時における機能向上と制御性能の向上が可能となるものである。   According to the third embodiment, a position coordinate system conversion unit 21 that constructs a coordinate system in which an arbitrary position is set to zero degrees is provided, and the position detected by the encoder 5 is subjected to coordinate conversion, so that the position can be determined in an arbitrary coordinate system. Control is possible. As a result, the 0 degree mismatch (origin origin mismatch) on the load side and the dynamometer described in the above problem (2) can be eliminated, and the function improvement and the control performance improvement at the time of driving the dynamometer can be achieved. .

図6は本発明の第4の実施例を示す構成図で、この実施例は位置制御系のフィードバックループ外に位置座標系変換部21を設けると共に、位置指令の入力側に位置座標系逆変換部22を設けたもので、他は図4と同様である。
位置座標系逆変換部22には、制御系外から入力される電動機制御系(ダイナモシステム)に依存しない任意の座標系による0〜360度未満の絶対角の位置指令θ´refが入力される。
FIG. 6 is a block diagram showing a fourth embodiment of the present invention. In this embodiment, a position coordinate system conversion unit 21 is provided outside the feedback loop of the position control system, and the position coordinate system reverse conversion is performed on the input side of the position command. The portion 22 is provided, and the others are the same as those in FIG.
The position coordinate system inverse transform unit 22 receives an absolute angle position command θ′ref of 0 to less than 360 degrees in an arbitrary coordinate system that does not depend on the motor control system (dynamo system) input from outside the control system. .

すなわち、位置座標系逆変換部22は、位置記憶信号などによるイベントの発生を受けてダイナモメータの位置を記憶し、記憶した位置を0度とする新座標系を構築する。新座標系の構築後に、入力された位置指令θ´refは位置座標系逆変換部22においてエンコーダ座標系の位置指令θrefに変換され、以下、図10と同様に位置制御される。   That is, the position coordinate system inverse transform unit 22 stores the position of the dynamometer in response to the occurrence of an event by a position storage signal or the like, and constructs a new coordinate system in which the stored position is 0 degree. After the construction of the new coordinate system, the input position command θ′ref is converted into the position command θref of the encoder coordinate system by the position coordinate system inverse conversion unit 22, and the position is controlled in the same manner as in FIG.

一方、位置制御系のフィードバックループ外に設けられた位置座標系変換部21は、位置検出θdetを入力し、図5で示す処理フローにしたがって新座標系位置θ´detに変換するが、θ´detは、モニタ等の外部出力用インターフェース12に出力される。これにより、ダイナモメータ外部からは任意の点を0度とした座標系による制御が可能となる。   On the other hand, the position coordinate system conversion unit 21 provided outside the feedback loop of the position control system receives the position detection θdet and converts it into the new coordinate system position θ′det according to the processing flow shown in FIG. The det is output to the external output interface 12 such as a monitor. Thereby, it is possible to control from the outside of the dynamometer using a coordinate system in which an arbitrary point is set to 0 degree.

したがって、第4の実施例によれば、任意の位置を0度とした新座標系を構築し、新座標系により入力された位置指令をエンコーダ検出座標系へ変換すると共に、外部出力用インターフェースにおいてエンコーダ検出座標系による位置検出を新座標系へ変換したものである。これにより、ダイナモメータがあたかも任意の位置を0度として位置制御を行っているとみなすことが可能となり、前述した課題の(2)で述べたダイナモメータと負荷側の0度の不一致(原点不一致)が解消でき、ダイナモメータ駆動時における機能向上が可能となるものである。   Therefore, according to the fourth embodiment, a new coordinate system in which an arbitrary position is set to 0 degrees is constructed, a position command input by the new coordinate system is converted into an encoder detection coordinate system, and an external output interface is used. The position detection by the encoder detection coordinate system is converted to the new coordinate system. As a result, the dynamometer can be regarded as performing position control at an arbitrary position of 0 degree, and the dynamometer described in (2) of the above-mentioned problem and the load side mismatch of 0 degrees (origin mismatch) ) Can be eliminated, and the function can be improved when the dynamometer is driven.

図7は本発明の第5の実施例を示す構成図で、制御系の入力側に分解能補正処理部23を設けたものである。他は図10と同様に構成される。
図7で示す「θ」と「θ´」はそれぞれの角度データが持つ分解能を基準としたもので、「θ」はエンコーダ5が持つ分解能(パルス数等に依存)の機械角データを示し、また、「θ´」は入力された制御指令が持つ分解能(制御系外とのインターフェースのデータ幅に依存)の機械角データを示す。
FIG. 7 is a block diagram showing a fifth embodiment of the present invention, in which a resolution correction processing unit 23 is provided on the input side of the control system. The other configuration is the same as in FIG.
“Θ” and “θ ′” shown in FIG. 7 are based on the resolution of each angle data, and “θ” indicates the mechanical angle data of the resolution (depending on the number of pulses, etc.) of the encoder 5, “Θ ′” indicates mechanical angle data of the resolution (depending on the data width of the interface with the outside of the control system) of the input control command.

分解能補正処理部23は、制御系外から位置指令θ´refが入力すると検出に用いられるエンコーダ5のパルス換算値相当に変換する。ここで、エンコーダ5のパルス換算値相当とは、電動機4が0から指令位置にまで正転した時のエンコーダ出力値をパルス変換した値である。例えば、256歯のギヤを持つインクリメンタルエンコーダを用いたとき、180度の位置指令は512pp(256歯×4逓倍×(180度/360度))相当となる。このエンコーダパルス換算値に対して、検出部で用いるエンコーダ出力値から絶対角への絶対角変換係数と同様の係数を用いて再度絶対角を求めることで位置指令θrefと位置検出θdetの分解能を同じものとする。図8は、分解能補正処理部23によるフロー図である。   When the position command θ′ref is input from outside the control system, the resolution correction processing unit 23 converts the position correction value into a pulse converted value of the encoder 5 used for detection. Here, the equivalent pulse converted value of the encoder 5 is a value obtained by pulse-converting the encoder output value when the electric motor 4 is rotated forward from 0 to the command position. For example, when an incremental encoder having a gear of 256 teeth is used, a position command of 180 degrees is equivalent to 512 pp (256 teeth × 4 times × (180 degrees / 360 degrees)). For this encoder pulse conversion value, the resolution of the position command θref and position detection θdet is the same by obtaining the absolute angle again using the same coefficient as the absolute angle conversion coefficient from the encoder output value used in the detector to the absolute angle. Shall. FIG. 8 is a flowchart of the resolution correction processing unit 23.

第5の実施例によれば、位置指令と位置検出が異なる分解能であるとき、位置指令に対してエンコーダ出力値相当に変換し、さらに位置検出と同様の係数を用いて絶対角へ再度変換することで、位置指令と位置検出分解能差を無くするものである。これにより、前述した課題の(3)で述べた分解能差分値が残ることにより発生する位置制御出力の速度指令の脈動が抑えられ、安定した位置制御が可能となるものである。   According to the fifth embodiment, when the position command and the position detection have different resolutions, the position command is converted into the equivalent of the encoder output value, and further converted back to the absolute angle using the same coefficient as the position detection. Thus, the difference between the position command and the position detection resolution is eliminated. Thereby, the pulsation of the speed command of the position control output generated when the resolution difference value described in the above-mentioned problem (3) remains is suppressed, and stable position control is possible.

1… 位置制御部
2… 速度制御部
3… 電流制御部
4… 電動機(ダイナモメータ)
5… 位置検出器(エンコーダ)
6… 絶対角変換係数
7… 速度演算部
20…回転方向指定指令補正部
21…位置座標系変換部
22…位置座標系逆変換部
23…分解能補正処理部
DESCRIPTION OF SYMBOLS 1 ... Position control part 2 ... Speed control part 3 ... Current control part 4 ... Electric motor (dynamometer)
5. Position detector (encoder)
6 ... Absolute angle conversion coefficient 7 ... Speed calculation unit 20 ... Rotation direction designation command correction unit 21 ... Position coordinate system conversion unit 22 ... Position coordinate system inverse conversion unit 23 ... Resolution correction processing unit

Claims (1)

制御対象の位置指令とこの位置指令から1サンプル周期遅延させた位置指令の偏差信号Δθrefと、位置検出器を介して検出された電動機の位置検出とこの位置検出から1サンプル周期遅延させた位置検出の偏差信号Δθdetとの位置偏差θを求め、位置偏差θに応じた速度指令ωrefと位置検出θdetに応じた位置速度検出ωdetの偏差によってトルク電流指令を生成し、トルク電流指令によって電流制御部を介して制御対象の位置を制御するものにおいて、
前記位置指令の偏差信号Δθrefと回転方向設定を入力して回転方向に対応して補正された偏差信号Δθrefを出力する回転方向指定指令補正部を設け、この回転方向指定指令補正部で補正された偏差信号Δθrefと前記偏差信号Δθdetとの位置偏差θを求めるよう構成し、
前記回転方向指定指令補正部は、回転方向設定が正転方向時に入力された偏差信号Δθrefの値が[Δθref<0]のときに360度−|Δθref|の位置の補正信号を出力し、[Δθref<0]以外のときに入力された偏差信号Δθrefを出力すると共に、回転方向設定が逆転方向時に入力された偏差信号Δθrefの値が[Δθref>0]のときに[Δθref−360度]の位置の補正信号を出力し、[Δθref>0]以外のときに入力された偏差信号Δθrefを出力する構成としたことを特徴とした電動機の位置制御装置。
Position command to be controlled, deviation signal Δθref of position command delayed by one sample period from this position command, position detection of motor detected via position detector, and position detection delayed by one sample period from this position detection The position deviation θ with respect to the deviation signal Δθdet is obtained, a torque current command is generated by the deviation between the speed command ωref according to the position deviation θ and the position speed detection ωdet according to the position detection θdet, and the current control unit is For controlling the position of the controlled object via
A rotation direction designation command correction unit that inputs the deviation signal Δθref of the position command and the rotation direction setting and outputs a deviation signal Δθref corrected corresponding to the rotation direction is provided, and is corrected by the rotation direction designation command correction unit. Configured to obtain the positional deviation θ between the deviation signal Δθref and the deviation signal Δθdet ,
The rotation direction designation command correction unit outputs a correction signal at a position of 360 degrees − | Δθref | when the value of the deviation signal Δθref input when the rotation direction setting is the forward rotation direction is [Δθref <0], The deviation signal Δθref input when Δθref <0] is output, and the value of the deviation signal Δθref input when the rotation direction setting is the reverse rotation direction is [Δθref−360 degrees]. A position control device for an electric motor , characterized in that a position correction signal is outputted and a deviation signal Δθref inputted when [Δθref> 0] is outputted .
JP2011248138A 2011-11-14 2011-11-14 Electric motor position control device Active JP5899842B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011248138A JP5899842B2 (en) 2011-11-14 2011-11-14 Electric motor position control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011248138A JP5899842B2 (en) 2011-11-14 2011-11-14 Electric motor position control device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2015159286A Division JP6011697B2 (en) 2015-08-12 2015-08-12 Electric motor position control device

Publications (2)

Publication Number Publication Date
JP2013106422A JP2013106422A (en) 2013-05-30
JP5899842B2 true JP5899842B2 (en) 2016-04-06

Family

ID=48625584

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011248138A Active JP5899842B2 (en) 2011-11-14 2011-11-14 Electric motor position control device

Country Status (1)

Country Link
JP (1) JP5899842B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000131410A (en) * 1998-10-21 2000-05-12 Nec Eng Ltd System and method for step track follow-up, and recording medium for program thereof
JP3892824B2 (en) * 2003-03-24 2007-03-14 山洋電気株式会社 Motor position control device

Also Published As

Publication number Publication date
JP2013106422A (en) 2013-05-30

Similar Documents

Publication Publication Date Title
JP5250979B2 (en) Control device for electric power steering device
JP4502734B2 (en) Origin offset amount calculation method for motor rotational position detection device and motor control device using this calculation method
JP5800108B2 (en) Periodic disturbance automatic suppression device
JP2006288076A (en) Control unit
EP2940859B1 (en) Rotation angle estimation module for sensorless vector control of pmsm
JP6272508B2 (en) Angular error correction device and angular error correction method for position detector
WO2016139849A1 (en) Resolver device
JP6344151B2 (en) POSITION ESTIMATION DEVICE, MOTOR DRIVE CONTROL DEVICE, POSITION ESTIMATION METHOD, AND PROGRAM
JP2012130214A (en) Motor control device and motor control method
CN110661469B (en) Motor control device
JPWO2019092777A1 (en) Electric motor control device and electric power steering device
JP3675192B2 (en) Motor control device, electric vehicle control device, and hybrid vehicle control device
JP5899842B2 (en) Electric motor position control device
JP6011697B2 (en) Electric motor position control device
US10895866B1 (en) Position error correction for electric motors
JP2005224051A (en) Motor controller
JP6578061B2 (en) Motor control apparatus and method
JP6305573B2 (en) Angular error correction device and angular error correction method for position detector
US11463028B2 (en) Control device and control method for actuator
JP6504795B2 (en) Torque ripple suppression device and torque ripple suppression method
JP2020090168A (en) Electric power steering device
JP2015142390A (en) Motor control device, and method of correction data creation in the same
TWI484748B (en) Apparatus and method for electric motor rotor angle estimation
JP2006094668A (en) Servo control apparatus and control method therefor
JPH07337100A (en) Torque controller in vector control system for induction motor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140916

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150611

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150623

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150812

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20160209

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160222

R150 Certificate of patent or registration of utility model

Ref document number: 5899842

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150