JP4137849B2 - Servo motor control method and apparatus - Google Patents

Servo motor control method and apparatus Download PDF

Info

Publication number
JP4137849B2
JP4137849B2 JP2004183068A JP2004183068A JP4137849B2 JP 4137849 B2 JP4137849 B2 JP 4137849B2 JP 2004183068 A JP2004183068 A JP 2004183068A JP 2004183068 A JP2004183068 A JP 2004183068A JP 4137849 B2 JP4137849 B2 JP 4137849B2
Authority
JP
Japan
Prior art keywords
value
current
speed
command
current command
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.)
Expired - Fee Related
Application number
JP2004183068A
Other languages
Japanese (ja)
Other versions
JP2004321000A (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2004183068A priority Critical patent/JP4137849B2/en
Publication of JP2004321000A publication Critical patent/JP2004321000A/en
Application granted granted Critical
Publication of JP4137849B2 publication Critical patent/JP4137849B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

この発明は、工作機械、ロボット等を制御する数値制御装置等にて使用されるサーボ制御システムのサーボモータ制御方法および装置に関するものである。   The present invention relates to a servo motor control method and apparatus for a servo control system used in a numerical control device for controlling a machine tool, a robot, or the like.

図43はサーボ制御システムにて使用される一般的なサーボモータ駆動装置を示している。サーボモータ駆動装置は、3相交流電源1より与えられる3相交流を整流する整流回路2と、整流回路2の整流出力を平滑する平滑コンデンサ3と、平滑コンデンサ3により平滑された直流を入力され、PWM変換された3相交流をACサーボモータ8に出力するPWM回路の出力部をなす半導体スイッチング回路4と、半導体スイッチング回路4よりACサーボモータ8へ流れるU相とV相の電流値をシャント抵抗CTにより検出する電流検出部5と、電流検出部5により検出された電流値に比例したアナログ電圧信号をディジタル信号に変換するA/D変換器6と、A/D変換器6が出力するディジタル信号を電流フィードバック信号として取り込み、電流フィードバック値と速度指令値とに基づいて所定の演算処理を行い、各相のPWM信号を半導体スイッチング回路4の各相のベース端子に出力するCPU7とを有している。   FIG. 43 shows a general servo motor driving apparatus used in the servo control system. The servo motor drive device receives a rectifier circuit 2 that rectifies the three-phase AC supplied from the three-phase AC power source 1, a smoothing capacitor 3 that smoothes the rectified output of the rectifier circuit 2, and a DC that is smoothed by the smoothing capacitor 3. The semiconductor switching circuit 4 that forms the output part of the PWM circuit that outputs the PWM-converted three-phase alternating current to the AC servo motor 8, and the U-phase and V-phase current values flowing from the semiconductor switching circuit 4 to the AC servo motor 8 are shunted. The current detector 5 detected by the resistor CT, the A / D converter 6 that converts an analog voltage signal proportional to the current value detected by the current detector 5 into a digital signal, and the A / D converter 6 output A digital signal is taken in as a current feedback signal, a predetermined calculation process is performed based on the current feedback value and the speed command value, and each phase PW And a CPU7 for outputting a signal to each phase of the base terminal of the semiconductor switching circuit 4.

なお、この明細書では、これより以降、整流回路2と平滑コンデンサ3とにより構成される回路をコンバータと称する。   In this specification, a circuit composed of the rectifier circuit 2 and the smoothing capacitor 3 is hereinafter referred to as a converter.

図44は一般的なサーボ制御システムを示している。サーボ制御システムは、NC装置10が出力する位置指令値とモータ端あるいは機械端からの位置フィードバック値との偏差により速度指令を生成する位置制御部11と、位置制御部11よりの速度指令値と速度フィードバック値との偏差により電流指令を生成する速度制御部12と、速度制御部12よりの電流指令値とシャント抵抗CTによる電流フィードバック値との偏差によりサーボモータ8に通電する電流を生成する電流制御部13とを有している。サーボモータ8は、減速歯車15によって送りねじ16を回転駆動し、制御対象物であるテーブル17を線形移動させる。   FIG. 44 shows a general servo control system. The servo control system includes a position control unit 11 that generates a speed command based on a deviation between a position command value output from the NC device 10 and a position feedback value from the motor end or machine end, and a speed command value from the position control unit 11. A speed control unit 12 that generates a current command based on a deviation from the speed feedback value, and a current that generates a current to be applied to the servo motor 8 based on a deviation between the current command value from the speed control unit 12 and the current feedback value based on the shunt resistor CT. And a control unit 13. The servo motor 8 rotationally drives the feed screw 16 by the reduction gear 15 to linearly move the table 17 that is a control object.

セミクローズドループの場合にはサーボモータ8に接続されてサーボモータ8の回転数および回転角、磁極位置を検出するモータ端検出器18が使用され、フルクローズドループの場合にはテーブル17の線形移動位置を検出する機械端検出器19が使用され、これら検出器によってフィードバック信号を得る。   In the case of a semi-closed loop, a motor end detector 18 connected to the servo motor 8 and detecting the rotation speed, rotation angle, and magnetic pole position of the servo motor 8 is used. In the case of a fully closed loop, the linear movement of the table 17 is used. Machine end detectors 19 that detect position are used to obtain feedback signals.

図45はACサーボモータの電流制御部を示している。この電流制御部は、q軸電流指令値を出力する速度制御部20と、後述するPWM変調部25を構成する半導体素子を保護するために速度制御部20が出力するq軸電流指令値を制限するリミッタ21と、ACサーボモータ8へ出力されたU相、V相の電流をd、q軸電流に変換するd−q座標変換部22と、d軸電流指令値とd−q座標変換部22が出力するd軸電流値との偏差を与えられてこれが零によるようにd軸電圧指令を生成する電流制御器23aと、速度制御部20が出力するq軸電流指令値とd−q座標変換部22が出力するq軸電流値との偏差を与えられてこれが零になるようにq軸電圧指令を生成する電流制御器23bと、電流制御器23a、23bが出力するd、q軸電圧指令を3相変換し、U、V、W相の電圧指令を生成する3相変換部24と、3相変換部24が出力する各相の電圧指令からACサーボモータ8へ出力する3相交流を生成するPWM変調部25とにより構成されている。   FIG. 45 shows the current control unit of the AC servo motor. This current control unit limits the q-axis current command value output by the speed control unit 20 to protect the speed control unit 20 that outputs the q-axis current command value and the semiconductor elements that constitute the PWM modulation unit 25 described later. Limiter 21, d-q coordinate conversion unit 22 that converts U-phase and V-phase currents output to AC servomotor 8 into d- and q-axis currents, d-axis current command value and dq coordinate conversion unit 22 is given a deviation from the d-axis current value output, and a current controller 23a that generates a d-axis voltage command so that it is zero, the q-axis current command value output from the speed controller 20 and the dq coordinate. Given a deviation from the q-axis current value output by the converter 22, a current controller 23b that generates a q-axis voltage command so that this deviation becomes zero, and d and q-axis voltages output by the current controllers 23a and 23b Three-phase conversion of command, U, V, W phase voltage command And 3-phase conversion unit 24 for forming, is constituted by a PWM modulator 25 to generate a three-phase alternating current to be output to the AC servo motor 8 from each phase of the voltage command output from the 3-phase conversion unit 24.

上述のような構成においては、NC装置10が位置指令値を出力すると、セミクローズドループの場合はモータ端検出器18、フルクローズドループの場合は機械端検出器19による位置フィードバック値が位置指令値と一致するように位置制御器11によって速度指令が生成され、速度制御器12ではその速度指令値がモータ端検出器18により検出された速度フィードバック値と一致するようにq軸電流指令が生成される。q軸電流指令に対してd軸電流指令は、通常0を与えられる。   In the configuration as described above, when the NC device 10 outputs the position command value, the position feedback value by the motor end detector 18 in the case of the semi-closed loop and the position feedback value by the machine end detector 19 in the case of the fully closed loop is the position command value. A speed command is generated by the position controller 11 so as to match with the speed controller 12, and a q-axis current command is generated at the speed controller 12 so that the speed command value matches the speed feedback value detected by the motor end detector 18. The The d-axis current command is normally given 0 with respect to the q-axis current command.

その指令に追従するようにACサーボモータ8を駆動するための3相交流電流は、q軸電流指令およびd軸電流指令とにより、最終的には図43に示されている半導体スイッチング回路4によってPWM変調して出力される。   The three-phase alternating current for driving the AC servo motor 8 so as to follow the command is finally generated by the semiconductor switching circuit 4 shown in FIG. 43 according to the q-axis current command and the d-axis current command. PWM modulated and output.

つぎに上記のような従来のサーボモータ駆動装置における保護機能の動作について説明する。上述のように、NC装置10からの位置指令に追従するようにq軸電流指令が生成されたときに、これが半導体スイッチング回路4の許容電流値を超えるような場合には、リミッタ21によって電流制限が行われる。   Next, the operation of the protection function in the conventional servo motor driving apparatus as described above will be described. As described above, when the q-axis current command is generated so as to follow the position command from the NC device 10, if this exceeds the allowable current value of the semiconductor switching circuit 4, the limiter 21 limits the current. Is done.

また、電流指令値、あるいは電流検出部5により検出される相電流値の許容電流値に対する割合が、ある大きさを超え、それが一定時間経過すると、過負荷アラームとして所定のアラーム処理が行われる。また、位置制御部11に与えられた位置指令値と位置フィードバック値との偏差が、理論的に計算される偏差に対してある割合以上離れた値となると、偏差差過大として所定のアラーム処理が行われる。   In addition, when the ratio of the current command value or the phase current value detected by the current detection unit 5 to the allowable current value exceeds a certain value and a certain time elapses, predetermined alarm processing is performed as an overload alarm. . Further, when the deviation between the position command value given to the position control unit 11 and the position feedback value becomes a value that is more than a certain ratio away from the theoretically calculated deviation, a predetermined alarm process is performed as an excessive deviation difference. Done.

また、半導体スイッチング回路4の各トランジスタに流れる電流を検出し、これが過電流と認識されるか、あるいは多軸の駆動装置やコンバータ部、あるいは、NC装置からのゲート遮断要求が発生した場合には、ハードウェアにより半導体スイッチング回路部の各トランジスタのゲートが遮断される。   Also, when a current flowing through each transistor of the semiconductor switching circuit 4 is detected and recognized as an overcurrent, or when a gate cutoff request from a multi-axis drive device or converter unit or NC device is generated The gates of the transistors of the semiconductor switching circuit unit are blocked by hardware.

また、機械端検出器19を有するフルクローズドループにおいて、機械端検出器19の分解能およびパルス数と、モータ端検出器18の分解能およびパルス数とにより正常時には機械端とモータ端とで一致し零となるように演算されたはずのパルス数の差が、ある許容範囲を超えるような場合には、フィードバック異常として所定のアラーム処理が行われる。   In a fully closed loop having the machine end detector 19, the machine end and the motor end coincide with each other and the machine end and the motor end coincide with each other according to the resolution and the number of pulses of the machine end detector 19 and the resolution and the number of pulses of the motor end detector 18. When the difference in the number of pulses that should have been calculated so as to exceed a certain allowable range, a predetermined alarm process is performed as a feedback abnormality.

従来のサーボモータ駆動装置では、モータ出力端子に流れる各相の電流の電流波形のパターンを監視する機能を持たないため、モータ出力端子の誤結線を検出することができず、単なる偏差過大や過負荷アラームとして稼働を停止させることしかできないといった問題点がある。   The conventional servo motor drive device does not have a function to monitor the current waveform pattern of the current of each phase that flows to the motor output terminal. Therefore, it cannot detect the incorrect connection of the motor output terminal. There is a problem that the operation can only be stopped as a load alarm.

また、そのモータ出力端子にかかる各相の電圧を検出する機能を持たないため、モータ出力端子の未接続やコンバータ母線の未接続を検出することもできないといった問題点がある。   Further, since it does not have the function of detecting the voltage of each phase applied to the motor output terminal, there is a problem that it is impossible to detect the unconnected motor output terminal or the unconnected converter bus.

また、サーボモータの電流制御を行うインバータ部におけるトランジスタへのゲート遮断信号および、そのゲート遮断要求信号の種類を監視する機能を持たないため、偏差過大、フィードバック異常等のアラームをさらに詳細に要因判別することができないといった問題点がある。   In addition, since there is no function to monitor the gate cutoff signal to the transistor and the type of gate cutoff request signal in the inverter section that controls the current of the servo motor, it is possible to determine the cause of alarms such as excessive deviation and feedback abnormality in more detail There is a problem that cannot be done.

また、機械端検出器を有するフルクローズドループにおいて、偏差過大や過負荷アラーム、フィードバック異常などのアラームが起こった場合、それらの要因をさらに詳細に判別する機能を持たないため、稼働を停止せざるを得なかったり、その原因解明に多くの時間を費やしたりするといった問題点がある。   Also, in the fully closed loop with a machine end detector, if an alarm such as excessive deviation, overload alarm, feedback abnormality, etc. occurs, it does not have a function to determine those factors in more detail, so it does not stop operating There is a problem that it does not get the information and spends a lot of time to clarify the cause.

また、加減速時などに偏差過大や過負荷アラームが生じた場合、それが加減速時定数不足のために起こったのか、あるいは異常負荷が生じたために起こったのかを区別する手段を持たないため、パラメータを自動的に再調整すれば、稼働を止めることなく運転を継続できるような場合でも、稼働を停止せざるを得ないという問題点があった。   Also, when there is an excessive deviation or overload alarm during acceleration / deceleration, etc., there is no means to distinguish whether it occurred because of an insufficient acceleration / deceleration time constant or an abnormal load. If the parameters are readjusted automatically, even if the operation can be continued without stopping the operation, the operation has to be stopped.

また、検出器の型式を判別することが行われないため、パラメータによる検出器設定と実際に接続された検出器の通信仕様が異なった場合、無信号アラームを発生させ、検出器や接続ケーブルの不良と判断を誤らせると共に、復旧が長引いたり単純なパラメータ設定ミス稼働に入れない等の問題点があった。   In addition, because the detector model is not determined, if the detector setting by parameter and the communication specification of the actually connected detector are different, a no-signal alarm is generated and the detector and connection cable are not connected. In addition to misjudging it as a failure, there were problems such as prolonged recovery and inability to enter into simple parameter setting mistakes.

この発明は、上述のような問題点を解消するためになされたものであり、誤差拡大アラーム、オーバーシュートの発生を抑制し、誤差拡大などの発生が起こることなくシステムの稼動を続行させ、安定で信頼性の高いサーボモータ制御方法および装置を得ることを目的としている。   The present invention has been made to solve the above-described problems, suppresses the occurrence of error enlargement alarms and overshoots, allows the system to continue operation without occurrence of error enlargement, and the like. An object of the present invention is to obtain a highly reliable servo motor control method and apparatus.

上述の目的を達成するために、この発明では、位置指令値と位置フィードバック値との偏差により速度指令を作成し、該作成した速度指令と速度フィードバック値との偏差により電流指令を作成し、該作成した電流指令と電流指令フィードバック値との偏差によりサーボモータを駆動制御するとともに、前記速度制御部から出力される電流指令を所定の電流制限値でクランプするサーボモータ制御方法において、早送り加速中である場合は、前記電流指令値が前記所定の電流制限値でクランプされているか否かを判別する第1ステップと、前記電流指令値が所定の電流制限値でクランプされている場合は、位置指令を間引くことにより単位時間当たりの位置指令の変化を制限する第2のステップと、前記クランプ解除後、前記間引きによる不足分の位置指令を前記位置指令に加算する第3ステップとを備えることを特徴とする。   In order to achieve the above-described object, in the present invention, a speed command is created based on the deviation between the position command value and the position feedback value, and a current command is created based on the deviation between the created speed command and the speed feedback value. In the servo motor control method in which the servo motor is driven and controlled by the deviation between the created current command and the current command feedback value, and the current command output from the speed control unit is clamped at a predetermined current limit value. If there is a first step of determining whether or not the current command value is clamped at the predetermined current limit value, and if the current command value is clamped at the predetermined current limit value, the position command A second step of limiting the change of the position command per unit time by thinning out, and after the release of the clamp, The position command minute characterized in that it comprises a third step of adding to the position command.

つぎの発明では、位置指令値と位置フィードバック値との偏差により速度指令を作成し、該作成した速度指令と速度フィードバック値との偏差により電流指令を作成し、該作成した電流指令と電流指令フィードバック値との偏差によりサーボモータを駆動制御するとともに、前記速度制御部から出力される電流指令を所定の電流制限値でクランプするサーボモータ制御方法において、早送り中である場合は、前記電流指令値が前記所定の電流制限値でクランプされているか否かを判別する第1ステップと、前記電流指令値が所定の電流制限値でクランプされている場合は、位置ループゲインを減少させる第2のステップと、前記クランプ解除後、所定の定速度運転に達すれば、位置ループゲインを徐々に元の値まで増加させる第3ステップとを備えることを特徴とする。   In the next invention, a speed command is created based on the deviation between the position command value and the position feedback value, a current command is created based on the deviation between the created speed command and the speed feedback value, and the created current command and current command feedback are generated. In the servo motor control method in which the servo motor is driven and controlled by a deviation from the value and the current command output from the speed control unit is clamped at a predetermined current limit value, the current command value is A first step for determining whether or not the current command value is clamped at a predetermined current limit value; and a second step for reducing a position loop gain when the current command value is clamped at a predetermined current limit value; A third step of gradually increasing the position loop gain to the original value when a predetermined constant speed operation is reached after releasing the clamp; Characterized in that it comprises.

つぎの発明では、上記の発明において、前記第2のステップでは、前記位置ループゲインを所定の時定数をもって減少させることを特徴とする。   In the next invention, in the above invention, in the second step, the position loop gain is decreased with a predetermined time constant.

つぎの発明では、位置指令値と位置フィードバック値との偏差により速度指令を作成し、該作成した速度指令と速度フィードバック値との偏差により電流指令を作成し、該作成した電流指令と電流指令フィードバック値との偏差によりサーボモータを駆動制御するとともに、前記速度制御部から出力される電流指令を所定の電流制限値でクランプするサーボモータ制御方法において、早送り中である場合は、前記電流指令値が前記所定の電流制限値でクランプされているか否かを判別する第1ステップと、前記電流指令値が所定の電流制限値でクランプされている場合は、現在の位置偏差およびモータの定格回転数から速度指令をモータ定格回転数相当としたときの位置ループゲイン値を求め、該求めた位置ループゲイン値まで位置ループゲインを減少させる第2のステップと、前記クランプ解除後、所定の定速度運転に達すれば、位置ループゲインを徐々に元の値まで増加させる第3ステップとを備えることを特徴とする。   In the next invention, a speed command is created based on the deviation between the position command value and the position feedback value, a current command is created based on the deviation between the created speed command and the speed feedback value, and the created current command and current command feedback are generated. In the servo motor control method in which the servo motor is driven and controlled by a deviation from the value and the current command output from the speed control unit is clamped at a predetermined current limit value, the current command value is A first step for determining whether or not the current command value is clamped, and if the current command value is clamped at a predetermined current limit value, the current position deviation and the rated rotational speed of the motor The position loop gain value when the speed command is equivalent to the motor rated speed is obtained, and the position loop gain is obtained up to the obtained position loop gain value. A second step of reducing the emissions, after the unclamping, it reaches a predetermined constant speed operation, characterized in that it comprises a third step of increasing gradually the original value of the position loop gain.

この発明によれば、早送り加速中に電流指令値が電流制限値に達すれば、単位時間当たりの位置指令の変化量を抑制させるから、誤差過大アラームの発生はもとよりオーバーシュートが発生し難くなり、安定で信頼性の高いサーボ制御システムが得られる。   According to the present invention, if the current command value reaches the current limit value during fast-forward acceleration, the amount of change in the position command per unit time is suppressed, so that overshooting is unlikely to occur as well as the occurrence of an excessive error alarm. A stable and reliable servo control system can be obtained.

つぎの発明によれば、異常負荷の影響で、早送り中にサーボアンプの最大出力トルクに達するような場合、その間のみ位置ループゲインを低下させてサーボ系の動きを緩やかでよいようにするので、誤差過大などの発生が起こることなくシステムの稼働を続行できる信頼性のサーボ制御システムが得られる。   According to the next invention, when the maximum output torque of the servo amplifier is reached during rapid traverse due to the influence of an abnormal load, the position loop gain is decreased only during that time so that the movement of the servo system may be gentle. A reliable servo control system capable of continuing the operation of the system without causing an excessive error or the like can be obtained.

つぎの発明によれば、早送り中異常負荷の影響で、サーボアンプの最大出力トルクに達した場合には、位置ループゲインをある時定数で低減するから、誤差過大アラームが発生することなくシステムの稼働を続行できる信頼性の高いサーボ制御システムが得られる。   According to the next invention, when the maximum output torque of the servo amplifier is reached due to the influence of an abnormal load during rapid traverse, the position loop gain is reduced by a certain time constant, so that an error excessive alarm does not occur. A highly reliable servo control system that can continue operation is obtained.

つぎの発明によれば、早送り中に異常負荷の影響で、サーボアンプの最大出力トルクに達した場合には、速度指令がモータ定格回転数相当の値としたときの位置ループゲインを現在のドループ量から演算して常に速度指令がモータ定格回転数を超えることなく制御するから、誤差過大アラームが発生することなくシステムの稼働を続行できるサーボ制御システムが得られる。   According to the next invention, when the maximum output torque of the servo amplifier is reached due to an abnormal load during rapid traverse, the position loop gain when the speed command is a value equivalent to the motor rated speed is set to the current droop. Since the speed command is always controlled without exceeding the motor rated speed by calculating from the quantity, a servo control system capable of continuing the system operation without causing an excessive error alarm is obtained.

以下に、本発明の実施の形態を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。この発明の実施例において上述の従来例と同一構成の部分は、上述の従来例に付した符号と同一の符号を付してその説明を省略する。   Embodiments of the present invention will be described below in detail with reference to the drawings. Note that the present invention is not limited to the embodiments. In the embodiment of the present invention, the same components as those of the above-described conventional example are denoted by the same reference numerals as those of the above-described conventional example, and the description thereof is omitted.

図1はこの発明によるサーボ制御システムの異常検出・診断方法の実施に使用するサーボモータ駆動装置の一実施例を示している。このサーボモータ駆動装置では、モータ出力端子に流れる相電流を検出する電流検出器5はU相とV相の電流に加えてW相の電流も検出する。   FIG. 1 shows an embodiment of a servo motor driving apparatus used for carrying out an abnormality detection / diagnosis method for a servo control system according to the present invention. In this servo motor driving device, the current detector 5 for detecting the phase current flowing through the motor output terminal detects the W-phase current in addition to the U-phase and V-phase currents.

このサーボモータ駆動装置は電圧検出回路9a、9b、9cを有している。電圧検出回路9a、9b、9cは、U相、V相、W相の各相間の電圧を分圧し、各相間の電圧に比例する電圧をA/D変換器6へ出力する。A/D変換器6は、電圧検出回路9a、9b、9cにより検出された電圧をディジタル値に変換し、そのディジタル信号をCPU7へ出力する。   This servo motor driving device has voltage detection circuits 9a, 9b and 9c. The voltage detection circuits 9a, 9b, and 9c divide the voltage between the U phase, the V phase, and the W phase, and output a voltage proportional to the voltage between the phases to the A / D converter 6. The A / D converter 6 converts the voltage detected by the voltage detection circuits 9a, 9b, and 9c into a digital value and outputs the digital signal to the CPU 7.

図2はこの発明によるサーボ制御システムの異常検出・診断方法におけるモータ出力端子の結線診断ルーチンを示している。この結線診断ルーチンでは、先ず、電源オン後にステップS101において、q軸電流指令Iqaをサンプリング周期毎に検出し、つぎのステップS102へ進む。   FIG. 2 shows a connection diagnosis routine of the motor output terminal in the abnormality detection / diagnosis method of the servo control system according to the present invention. In this connection diagnosis routine, first, after the power is turned on, the q-axis current command Iqa is detected at every sampling period in step S101, and the process proceeds to the next step S102.

ステップS102では、検出したq軸電流指令Iqaの絶対値がある大きさIR 以上であるか否かを判別し、q軸電流指令Iqaの絶対値がある大きさIR 以上であれば、加速要求中と認識してステップS104へ進む。これに対し加速要求中であると認識されない場合には、ステップS103へ進む。 In step S102, it is determined whether or not the absolute value is the certain magnitude I R or the detected q-axis current command IQA, if the absolute value is the certain magnitude I R or the q-axis current command IQA, acceleration Recognizing that it is being requested, the process proceeds to step S104. On the other hand, if it is not recognized that the acceleration is being requested, the process proceeds to step S103.

ステップS103では、加速指令実績フラグが既にオンしているか否かを判別し、加速指令実績フラグが既にオンしていれば、一回目の加速要求が終了したと認識する。もし、モータ出力端子の結線に誤結線があるならば、一回目の加速要求は誤差過大や過負荷アラームが起こるまで続くので、加速指令実績フラグがオンし、既に一回目の加速要求が終了したと認識される場合には正常な結線が行われているとして結線診断ルーチンを終了する。これに対し加速指令実績フラグがまだオンしていない場合には、電源オン後一度も加速指令要求が起こっていないと認識し、ステップS101へ戻る。   In step S103, it is determined whether or not the acceleration command result flag has already been turned on. If the acceleration command result flag has already been turned on, it is recognized that the first acceleration request has been completed. If there is an incorrect connection in the motor output terminal connection, the first acceleration request will continue until an excessive error or overload alarm occurs, so the acceleration command result flag turns on and the first acceleration request has already been completed. If it is recognized that the normal connection has been made, the connection diagnosis routine is terminated. On the other hand, if the acceleration command result flag has not been turned on, it is recognized that no acceleration command request has been made even after the power is turned on, and the process returns to step S101.

ステップS104では、電源オン後加速指令要求が起こったことをステップS103で認識するため、加速指令実績フラグをオンし、つぎのステップS105へ進む。ステップS105では、U相、V相、W相の電流をサンプリング周期毎に検出する。なお、W相の電流は必ずしも検出する必要はなく、その3相のうちの2相の電流を検出すればよいが、ここでは3相すべての電流を検出する。   In step S104, in order to recognize in step S103 that an acceleration command request has occurred after the power is turned on, the acceleration command result flag is turned on, and the process proceeds to the next step S105. In step S105, U-phase, V-phase, and W-phase currents are detected for each sampling period. Note that it is not always necessary to detect the W-phase current, and it is only necessary to detect the current of two of the three phases. Here, the current of all three phases is detected.

つぎのステップS106では、検出した各相の電流の絶対値を電流極性の正側と負側とでそれぞれ別々に前回までのピーク値と比較する。その比較結果より今回の値が前回までのピーク値を更新するか、もしくは同等のレベルと判別されるときにはつぎのステップS107へ進み、そうでないときはステップS109へ進む。   In the next step S106, the detected absolute value of each phase current is compared with the peak value up to the previous time separately on the positive and negative sides of the current polarity. If it is determined from the comparison result that the current value updates the previous peak value or is equivalent, the process proceeds to the next step S107, and if not, the process proceeds to step S109.

ステップS107では、電流極性の正側、負側とでピーク値をそれぞれ更新、もしくは同レベルの値をマークした値を新たにステップS106で比較するために用いるピーク値として書き換え、つぎのステップS108へと進む。ステップS108では、電流極性の正側、負側とでピーク値をそれぞれ更新、もしくは同レベルの値をマークした相の認識データを、正側と負側とでそれぞれ別々に用意されたメモリへ順番に保存し、つぎのステップS109へ進む。   In step S107, the peak value is updated on the positive side and the negative side of the current polarity, or the value marked with the same level value is rewritten as the peak value used for comparison in step S106, and the next step S108 is performed. Proceed with In step S108, the peak value is updated on the positive side and the negative side of the current polarity, or the phase recognition data marked with the same level value is sequentially transferred to memories prepared separately on the positive side and the negative side. And proceed to the next step S109.

ステップS109では、前ステップS108で保存された認識データの量がある量を超えたときつぎのステップS110へ進み、そうでないときはステップS101へ戻る。ステップS110では、ステップS108で保存された認識データより電流波形のパターンを見いだし、モータ出力端子の誤結線の有無を判定する。   In step S109, when the amount of recognition data stored in the previous step S108 exceeds a certain amount, the process proceeds to the next step S110, and otherwise, the process returns to step S101. In step S110, the current waveform pattern is found from the recognition data stored in step S108, and it is determined whether or not there is a misconnection in the motor output terminal.

加速指令がモータ正転要求である場合には、図3−1に示されているように、電流極性の正負両側ともにU相を基準としてU、V、W相の順で保存されているパターンとなっていれば、正常なUVW相の結線がなされていると判定し、これに対し正負両側ともにU、W、V相のパターンとなっていれば、VWU相あるいはWUV相となる誤結線がなされていると判定する。   When the acceleration command is a motor forward rotation request, as shown in FIG. 3A, the patterns stored in the order of U, V, and W phases on the basis of the U phase on both the positive and negative sides of the current polarity If it is, it is determined that the normal UVW phase connection is made. On the other hand, if the pattern is U, W, V phase on both the positive and negative sides, there is an erroneous connection that becomes the VWU phase or the WUV phase. It is determined that it has been made.

加速指令がモータ逆転要求である場合には、図3−2に示されているように、電流極性の正負両側ともにU相を基準としてU、W、V相の順で保存されているパターンとなっていれば、正常なUVW相の結線がなされていると判定し、これに対し正負両側ともにU、V、W相のパターンとなっていれば、VWU相あるいはWUV相となる誤結線がなされていると判定する。   When the acceleration command is a motor reverse rotation request, as shown in FIG. 3-2, both the positive and negative sides of the current polarity are stored in the order of U, W, and V phases on the basis of the U phase. If it is, it is determined that a normal UVW phase connection is made, and if it is a U, V, or W phase pattern on both the positive and negative sides, an incorrect connection that results in a VWU phase or a WUV phase is made. It is determined that

またいずれの場合も、電流極性の正側、負側の認識データのパターンが一致しない場合には、その他の誤結線と判定する。これらの判定により結線診断ルーチンは終了する。これによりモータ出力端子の誤結線が自動的に検出され、これが誤った状態のまま運転されることが回避される。また、上述のように、UVW相の誤結線を判定した後、電圧指令出力相をソフトウェア的に自動的に切り換えて運転を続行することもできる。   In either case, if the patterns of the recognition data on the positive side and the negative side of the current polarity do not match, it is determined that there is another misconnection. With these determinations, the connection diagnosis routine ends. As a result, the erroneous connection of the motor output terminal is automatically detected, and it is avoided that the motor output terminal is operated in an incorrect state. Further, as described above, after determining the erroneous connection of the UVW phase, the voltage command output phase can be automatically switched by software to continue the operation.

この場合には、図3に示されているような誤結線の判定結果に基づいてソフトウェア処理により各電圧指令出力相を相互に入れ換え、この結線が仮想的に正しい結線になるようにする。これはこの発明によるサーボ制御システムの自動適正化方法の一つの実施例である。   In this case, the voltage command output phases are interchanged by software processing based on the erroneous connection determination result as shown in FIG. 3 so that the connection is virtually correct. This is one embodiment of a method for automatically optimizing a servo control system according to the present invention.

図4はこの発明によるサーボ制御システムの異常検出・診断方法におけるモータ出力端子およびコンバータ母線の接続診断に使用する相電圧検出ルーチンを示している。ステップS201では、電圧検出部9a〜9cにより検出され、A/D変換器6によりディジタル信号に変換されてCPU7に取り込まれたUV相間電圧Vuv、VW相間電圧Vvw、WU相間電圧Vwuの各データを所定の時間毎にサンプリングする。   FIG. 4 shows a phase voltage detection routine used for connection diagnosis of the motor output terminal and the converter bus in the abnormality detection / diagnosis method of the servo control system according to the present invention. In step S201, each data of the UV phase voltage Vuv, the VW phase voltage Vvw, and the WU phase voltage Vwu detected by the voltage detectors 9a to 9c, converted into a digital signal by the A / D converter 6 and taken into the CPU 7 is obtained. Sampling is performed at predetermined time intervals.

つぎのステップS202では、そのデータを基にして各相のスイッチング電圧Vua,Vva,Vwaを算出する。
Vua=(Vuv−Vwu)/3
Vva=(Vvw−Vuv)/3
Vwa=(Vwu−Vvw)/3
In the next step S202, the switching voltages Vua, Vva, Vwa of each phase are calculated based on the data.
Vua = (Vuv−Vwu) / 3
Vva = (Vvw−Vuv) / 3
Vwa = (Vwu−Vvw) / 3

ステップS202で算出した電圧Vua,Vva,Vwaはインバータ部におけるスイッチング電圧であって離散的なデータであるから、相電圧の大きさを評価しやすいようにするために、つぎにステップS203では、電機子インダクタンスL、電機子抵抗Rのノミナル値を用いてフィルタを通し、連続的に滑らかな相電圧Vu ,Vv ,Vw を得る。
Vu =R・Vua/(Ls+R)
Vv =R・Vva/(Ls+R)
Vw =R・Vwa/(Ls+R)
sはラプラス演算子。
Since the voltages Vua, Vva, and Vwa calculated in step S202 are switching voltages in the inverter unit and are discrete data, next, in order to make it easy to evaluate the magnitude of the phase voltage, in step S203, the electric machine Using the nominal values of the element inductance L and armature resistance R, the filter is passed through to obtain continuously smooth phase voltages Vu, Vv, Vw.
Vu = R · Vua / (Ls + R)
Vv = R · Vva / (Ls + R)
Vw = R · Vwa / (Ls + R)
s is a Laplace operator.

図5はこの発明によるサーボ制御システムの異常検出・診断方法におけるモータ出力端子の接続診断ルーチンを示している。このモータ出力端子接続診断ルーチンでは、先ずステップS300において、i=1とし、ステップS301で相電圧Vi(Vu あるいはVv 、Vw )が所定値VR 以上であるか否かを判別する。Vi≧VR であれば、つぎのステップS302に進む。 FIG. 5 shows a motor output terminal connection diagnostic routine in the servo control system abnormality detection / diagnostic method according to the present invention. This motor output terminal connection diagnosis routine, first in step S300, the a i = 1, phase voltage Vi (Vu or Vv, Vw) in step S301 it is determined whether or not a predetermined value or more V R. If Vi ≧ V R , the process proceeds to the next step S302.

ステップS302では、その数サンプリング前後の相電流Ii(Iu あるいはIv 、Iw )を検出し、つぎにステップS303では、相電流Iiが概ね零であるか否かを判別する。相電流Iiが概ね零0であれば、ステップS304に進み、i相が未接続であると判別する。   In step S302, the phase current Ii (Iu or Iv, Iw) before and after the sampling is detected, and in step S303, it is determined whether or not the phase current Ii is substantially zero. If the phase current Ii is approximately zero, the process proceeds to step S304, where it is determined that the i-phase is not connected.

i=1はU相、i=2はV相、i=3はW相と、予め定義されていることから、ステップS301〜ステップS303は、ステップS305におけるi≧3の判別と、ステップS306におけるi=i+1による検出対象相iの更新により、U相、V相、W相の順に各相について行われる。これによりU相、V相、W相のそれぞれについてモータ出力端子の未接続が自動的に的確に検出される。   Since i = 1 is U phase, i = 2 is V phase, and i = 3 is W phase, step S301 to step S303 are determined as i ≧ 3 in step S305 and in step S306. By updating the detection target phase i by i = i + 1, each phase is performed in the order of the U phase, the V phase, and the W phase. As a result, unconnected motor output terminals are automatically and accurately detected for each of the U phase, V phase, and W phase.

図6はこの発明によるサーボ制御システムの異常検出・診断方法におけるコンバータ母線の接続診断ルーチンを示している。このコンバータ母線接続診断ルーチンでは、まずステップS401において、q軸電流指令Iqaの絶対値がある大きさIR 以上となっているか否かの判別を行う。q軸電流指令Iqaの絶対値がある大きさIR 以上であれば、ステップS402に進む。 FIG. 6 shows a converter bus connection diagnosis routine in the abnormality detection / diagnosis method of the servo control system according to the present invention. In this converter bus connection diagnosis routine, first in step S401, performs an absolute value is in whether a magnitude I R or determination of q-axis current command IQA. If the absolute value of the q-axis current command Iqa is greater than or equal to a certain magnitude I R , the process proceeds to step S402.

ステップS402では、ステップS401でアンプが加速を要求中と認識される場合にも算出した相電圧Vu ,Vv ,Vw のいずれもが概ね零であるか否かを判別する。相電圧Vu ,Vv ,Vw のいずれもが概ね零であれば、ステップS403に進み、コンバータ母線未接続と判定する。これによりコンバータ母線が未接続であることが自動的に的確に検出される。   In step S402, it is determined whether or not any of the calculated phase voltages Vu, Vv, Vw is substantially zero even when the amplifier is recognized as requesting acceleration in step S401. If all of the phase voltages Vu, Vv, and Vw are substantially zero, the process proceeds to step S403 to determine that the converter bus is not connected. Thereby, it is automatically and accurately detected that the converter bus is not connected.

図7はこの発明によるサーボ制御システムの異常検出・診断方法の実施に使用する電流制御部(インバータ部)の半導体スイッチング回路4におけるトランジスタのゲート制御回路を示している。このゲート制御回路は半導体スイッチング回路4に過電流が流れたことを検出する過電流検出器29を有している。   FIG. 7 shows a gate control circuit of a transistor in the semiconductor switching circuit 4 of the current control unit (inverter unit) used for carrying out the abnormality detection / diagnosis method of the servo control system according to the present invention. This gate control circuit has an overcurrent detector 29 that detects that an overcurrent has flowed through the semiconductor switching circuit 4.

CPU7は、過電流検出器29により過電流が流れたことを示す信号をラッチ回路30より、他軸のアンプやコンバータによるゲート遮断要求が起こったこと示すゲートオフ信号をラッチ回路31より、NCからのゲートオフ信号をラッチ回路32よりそれぞれ個別に取り込むと共に、アンドゲート33よりこれら3個の信号の論理積信号を入力する。   The CPU 7 receives a signal indicating that an overcurrent has flowed from the overcurrent detector 29 from the latch circuit 30 and a gate-off signal indicating that a gate cutoff request from an amplifier or converter of another axis has occurred from the latch circuit 31 from the NC. The gate-off signal is individually fetched from the latch circuit 32, and the logical product signal of these three signals is inputted from the AND gate 33.

半導体スイッチング回路4のトランジスタTrのゲートにはアンドゲート34が接続されており、アンドゲート34はアンドゲート33の出力信号とCPU7が出力するゲートオン/オフ信号とを入力する。   An AND gate 34 is connected to the gate of the transistor Tr of the semiconductor switching circuit 4, and the AND gate 34 inputs an output signal of the AND gate 33 and a gate on / off signal output from the CPU 7.

このゲート制御回路においては、CPU7は、インバータ部に過電流が流れたり、他軸のアンプや、コンバータによるゲート遮断要求が生じたり、あるいはNC装置からのゲートオフ(ゲート遮断)信号が発生したにも拘らず、何のアラームも検知せずに正常に稼働しているとしてアンドゲート34へゲートオフ信号を出力していない場合、各ラッチ回路31、32の出力を確認し、これに基づいてゲート遮断要求信号を発生した部分に対応したフラグを立てると共に、その信号が発生した回数を過去の一定時間分メモリに記憶し、これがある回数を超えれば、その発生箇所が異常であると判定する。これにより誤差過大、フィードバック異常等の制御系での異常発生の要因(発生箇所)が判別される。   In this gate control circuit, the CPU 7 is activated even when an overcurrent flows through the inverter unit, a gate cutoff request is generated by an amplifier or converter of another axis, or a gate off (gate cutoff) signal is generated from the NC device. Regardless, if the gate-off signal is not output to the AND gate 34 because it is operating normally without detecting any alarm, the outputs of the latch circuits 31 and 32 are confirmed, and the gate cutoff request is based on this. A flag corresponding to the portion where the signal is generated is set, and the number of times that the signal has been generated is stored in the memory for a predetermined period of time. If this number is exceeded, it is determined that the occurrence location is abnormal. As a result, the cause (occurrence location) of occurrence of abnormality in the control system such as excessive error and feedback abnormality is determined.

図8は、この発明によるサーボ制御システムの異常検出・診断方法におけるゲート遮断発生要因の診断ルーチンを示している。この診断ルーチンでは、ステップS451において、所定の周期をもってアンドゲート34に対するゲート遮断の出力状態を監視し、ステップS452で、ゲート遮断出力中、すなわちアンドゲート34へゲートオフ信号を出力しているか否かを判別する。   FIG. 8 shows a diagnostic routine for the cause of the occurrence of gate interruption in the abnormality detection / diagnosis method of the servo control system according to the present invention. In this diagnostic routine, in step S451, the output state of the gate cutoff for the AND gate 34 is monitored at a predetermined cycle, and in step S452, whether the gate cutoff is being output, that is, whether or not a gate-off signal is being output to the AND gate 34 is determined. Determine.

ゲート遮断出力中でない場合には、ステップS453へ進み、ステップS453では、各要因信号のラッチ回路31,32の出力状態をチェックする。つぎに、ステップS454では、ラッチ回路31、32の出力状態はCPU7のゲート遮断信号出力フラグに反映し、ゲート遮断信号出力フラグがオンしていれば、ステップS445へ進んで、発生した要因のゲート遮断出力回数(ラッチ回路別にゲート遮断信号出力フラグがオンした回数)をカウントする。   If the gate cutoff output is not in progress, the process proceeds to step S453. In step S453, the output state of the latch circuits 31 and 32 for each factor signal is checked. Next, in step S454, the output state of the latch circuits 31 and 32 is reflected in the gate cutoff signal output flag of the CPU 7, and if the gate cutoff signal output flag is on, the process proceeds to step S445, where the gate of the generated factor Counts the number of cutoff outputs (the number of times the gate cutoff signal output flag is turned on for each latch circuit).

つぎに、ステップS456において、ゲート遮断信号出力フラグをオフクリアし、つぎのステップS457で、ゲート遮断出力のカウント値が所定値以上に達したか否かを判別する。ゲート遮断出力のカウント値が所定値以上に達すれば、ステップS458へ進み、その許容回数を超えた要因の異常箇所(たとえば、他軸のコンバータあるいはNC装置)を判定する。   Next, in step S456, the gate cutoff signal output flag is cleared, and in next step S457, it is determined whether or not the count value of the gate cutoff output has reached a predetermined value or more. If the count value of the gate cutoff output reaches a predetermined value or more, the process proceeds to step S458, and an abnormal location (for example, converter or NC device of another axis) that exceeds the allowable number is determined.

なお、ステップS452において、ゲート遮断出力中である場合には、ステップS459へ進み、一定時間が経過したか否かを判別し、一定時間が経過すれば、ステップS460へ進み、ゲート遮断出力のカウント値を0にクリアする。これにより、誤差過大やフィードバック異常等の制御系異常の発生箇所がすぐに解るようになる。   If it is determined in step S452 that the gate cutoff output is being output, the flow advances to step S459 to determine whether or not a predetermined time has passed. If the predetermined time has passed, the flow advances to step S460 to count the gate cutoff output. Clear the value to 0. As a result, the occurrence point of the control system abnormality such as excessive error or feedback abnormality can be understood immediately.

図9はこの発明によるサーボ制御システムの異常検出・診断方法におけるフィードバックケーブルの配線診断ルーチンを示している。このフィードバックケーブル配線診断は、図44に示されているフルクローズドループによるサーボ制御システムに適用したものであり、先ずステップS501において、NC装置10が出力する位置指令値、機械端検出器19が出力する位置フィードバック値、モータ端検出器18が出力する速度フィードバック値、速度制御部12が出力する電流指令値、電流フィードバック値およびそのそれぞれの極性を電源オン時から常に検出し、監視する。   FIG. 9 shows a wiring diagnosis routine of the feedback cable in the abnormality detection / diagnosis method of the servo control system according to the present invention. This feedback cable wiring diagnosis is applied to the servo control system using the fully closed loop shown in FIG. 44. First, in step S501, the position command value output by the NC device 10 and the machine end detector 19 output. The position feedback value, the speed feedback value output from the motor end detector 18, the current command value output from the speed control unit 12, the current feedback value and their respective polarities are always detected and monitored from the time of power-on.

つぎにステップS502では、これらの信号値がすべて所定値以上であるか否かを判別し、これらの信号値がすべて所定値以上であれば、つぎにステップS503へ進む。ステップS503では、位置フィードバック信号だけが逆極性であるか否かを判別し、位置フィードバック信号だけが逆極性となっていれば、ステップS504に進み、フィードバックケーブルの誤配線と判定する。これによりフィードバックケーブルの誤配線が自動的に的確に検出される。   In step S502, it is determined whether or not all of these signal values are equal to or greater than a predetermined value. If all of these signal values are equal to or greater than the predetermined value, the process proceeds to step S503. In step S503, it is determined whether or not only the position feedback signal has the reverse polarity. If only the position feedback signal has the reverse polarity, the process proceeds to step S504 to determine that the feedback cable is incorrectly wired. Thereby, erroneous wiring of the feedback cable is automatically and accurately detected.

図10はこの発明によるサーボ制御システムの異常検出・診断方法におけるパラメータ設定診断ルーチンを示している。パラメータ設定診断ルーチンでは、先ずステップS701において、位置フィードバック信号の極性と位置指令の極性とが同極性であるか否かを判別し、これらの極性が等しければ、ステップS702へ進み、これらの極性が等しくない場合には、ステップS706へ進む。   FIG. 10 shows a parameter setting diagnosis routine in the abnormality detection / diagnosis method of the servo control system according to the present invention. In the parameter setting diagnosis routine, first, in step S701, it is determined whether or not the polarity of the position feedback signal and the polarity of the position command are the same, and if these polarities are equal, the process proceeds to step S702, and these polarities are determined. If not equal, the process proceeds to step S706.

ステップS702では、モータ端検出器18のZ相からZ相までのパルス数をカウントし、これが設定されているモータ端検出器分解能と一致しているかを確認する。これが正しいと判別されるなら、つぎのステップS703に進み、そうでない場合にはステップS705へ進む。   In step S702, the number of pulses from the Z phase to the Z phase of the motor end detector 18 is counted, and it is confirmed whether this matches the set motor end detector resolution. If it is determined that this is correct, the process proceeds to the next step S703, and if not, the process proceeds to step S705.

ステップS703では、ある送り量の位置決めを行った場合、機械端位置検出器19の分解能とその時のパルス数からサーボモータ8が何回転したかを算出し、一回転あたりのモータ端検出器18のパルス数を算出する。つぎにステップS704で、この結果が実際のモータ端検出器分解能のX倍になっているとき、真の設定に対して(X=ギヤ比/機械端検出器分解能/ピッチ)倍の設定誤りとなっているかを確認する。ステップS705では、モータ端検出器18の分解能設定異常と判定する。   In step S703, when positioning of a certain feed amount is performed, the number of rotations of the servo motor 8 is calculated from the resolution of the machine end position detector 19 and the number of pulses at that time, and the motor end detector 18 per rotation is calculated. Calculate the number of pulses. In step S704, when this result is X times the actual motor end detector resolution, a setting error of (X = gear ratio / machine end detector resolution / pitch) times the true setting is detected. Check if it is. In step S705, it is determined that the resolution of the motor end detector 18 is abnormal.

ステップS706では、フィードバックケーブルの誤配線と判定する。これにより、機械の立ち上げ時にフィードバック異常が発生した場合に、これが機械異常(スケール異常)であるのか、ギヤ比、機械端検出器分解能、ピッチのパラメータ設定違いなのかが区別される。   In step S706, it is determined that the feedback cable is incorrectly wired. Thus, when a feedback abnormality occurs at the start-up of the machine, it is distinguished whether this is a machine abnormality (scale abnormality) or a gear ratio, machine end detector resolution, or pitch parameter setting is different.

図11はこの発明によるサーボ制御システムの異常検出・診断方法の実施に使用する電流制御部の内部構成を示している。この電流制御部は、図44に示されている一般的なサーボ制御システムにおける電流制御部13に相当するものであり、図44に示されている従来の電流制御部に、3相変換部26と、トルク算出部27と、モータ位置算出部28とを付加されたものである。   FIG. 11 shows the internal configuration of the current control unit used to implement the abnormality detection / diagnosis method of the servo control system according to the present invention. This current control unit corresponds to the current control unit 13 in the general servo control system shown in FIG. 44, and the three-phase conversion unit 26 is added to the conventional current control unit shown in FIG. In addition, a torque calculation unit 27 and a motor position calculation unit 28 are added.

3相変換部26は、d、q軸電流指令値を、加減速指令の最初は実際にモータ端から検出された磁極位置を初期値として用いて3相変換し、モータモデルの3相電流Ium、Ivm、Iwmを求める。トルク算出部27は、3相変換部26が出力するモデル3相電流値Ium、Ivm、Iwmとトルク定数KT とからモデル出力トルクTemを算出する。   The three-phase conversion unit 26 performs three-phase conversion on the d and q-axis current command values using the magnetic pole position actually detected from the motor end as an initial value at the beginning of the acceleration / deceleration command, and the three-phase current Ium of the motor model. , Ivm, Iwm. The torque calculator 27 calculates the model output torque Tem from the model three-phase current values Ium, Ivm, Iwm output from the three-phase converter 26 and the torque constant KT.

モータ位置算出部28は、トルク算出部27が出力するモデル出力トルクTemとイナーシャのノミナル値と磁極数とを用いて、モータモデルの磁極位置θrmを算出し、以降、モータモデルにおける3相変換の3相電流値Ium、Ivm、Iwmと、磁極位置θrmを用いて下式によりモータモデル出力トルクTemを算出する。   The motor position calculation unit 28 calculates the magnetic pole position θrm of the motor model using the model output torque Tem output from the torque calculation unit 27, the nominal value of the inertia, and the number of magnetic poles. Thereafter, the three-phase conversion of the motor model is performed. The motor model output torque Tem is calculated by the following formula using the three-phase current values Ium, Ivm, Iwm and the magnetic pole position θrm.

Tem=√2/3・KT・{−Ium・sinθrm−Ivm・sin(θrm-2π/3)
−Iwm・sin (θrm-2π/3)}
Tem = √2 / 3 ・ KT ・ {−Ium ・ sinθrm−Ivm ・ sin (θrm-2π / 3)
−Iwm · sin (θrm-2π / 3)}

このようにして算出されたモータモデル出力トルクTemよりモータモデルの位置フィードバック値θm を取得する。そして、上述のようにして得られたモータモデルの位置フィードバック値θm と実際のモータ端位置フィードバック値θとの差を監視して、誤差過大、あるいは過負荷のアラームが起こる直前まで、この差が電流制限後でも許容範囲内にある場合には、加減速時定数不足と判別する。これにより加減速時定数不足が認識される。   A position feedback value θm of the motor model is obtained from the motor model output torque Tem thus calculated. Then, the difference between the position feedback value θm of the motor model obtained as described above and the actual motor end position feedback value θ is monitored, and this difference is kept until immediately before an excessive error or overload alarm occurs. If it is within the allowable range even after the current limit, it is determined that the acceleration / deceleration time constant is insufficient. As a result, an insufficient acceleration / deceleration time constant is recognized.

また、モータモデルの位置フィードバック値θm と実際のモータ端位置フィードバック値θとの差がある許容範囲を超えたとき、ロータイナーシャや負荷イナーシャの実際と設定値との誤差が許容範囲内にあり、また誤ゲート遮断等が発生していない場合には、これを過負荷と判定する。これにより過負荷、すなわち異常負荷が存在していることが認識される。   In addition, when the difference between the motor model position feedback value θm and the actual motor end position feedback value θ exceeds a certain allowable range, the error between the actual value of the rotor inertia and load inertia and the set value is within the allowable range. If no erroneous gate shutoff occurs, it is determined that this is an overload. Thereby, it is recognized that an overload, that is, an abnormal load exists.

図12は、この発明によるサーボ制御システムの異常検出・診断方法における電流制限時の原因追求の診断ルーチンを示している。この診断ルーチンでは、先ず、ステップS801において、モータモデルの位置フィードバック値θmを算出する。   FIG. 12 shows a diagnostic routine for pursuing the cause when the current is limited in the abnormality detection / diagnosis method of the servo control system according to the present invention. In this diagnosis routine, first, in step S801, the position feedback value θm of the motor model is calculated.

つぎにステップS802において,誤差過大あるいは過負荷のアラームが出力されているか否かを判別し,誤差過大あるいは過負荷のアラームが出力されていれば,ステップS803へ進み,これらアラームが起こる直前まで電流制限が行われていたか否かを判別する。電流制限が行われていれば,ステップS804へ進み,モータモデルの位置フィードバック値θmと実際のモータ端位置フィードバックθとの差が許容値以内であるか否かを判別する。モータモデルの位置フィードバック値θmと実際のモータ端位置フィードバックθとの差が許容値以内であれば,ステップS805へ進み,加減速時定数が不足していると判定する。   Next, in step S802, it is determined whether an excessive error or overload alarm has been output. If an excessive error or overload alarm has been output, the process proceeds to step S803, where the current is output until immediately before these alarms occur. It is determined whether or not the restriction has been performed. If the current is limited, the process proceeds to step S804, and it is determined whether or not the difference between the position feedback value θm of the motor model and the actual motor end position feedback θ is within an allowable value. If the difference between the position feedback value θm of the motor model and the actual motor end position feedback θ is within an allowable value, the process proceeds to step S805, where it is determined that the acceleration / deceleration time constant is insufficient.

これに対し,モータモデルの位置フィードバック値θmと実際のモータ端位置フィードバックθとの差が許容値以内でない場合には,ステップS806へ進み,誤ゲート遮断等が発生していないか否かを判別する。誤ゲート遮断等が発生していなければ,ステップS807へ進み,過負荷であると判定する。   On the other hand, if the difference between the position feedback value θm of the motor model and the actual motor end position feedback θ is not within the allowable value, the process proceeds to step S806 to determine whether or not an erroneous gate cutoff or the like has occurred. To do. If no erroneous gate interruption has occurred, the process proceeds to step S807, where it is determined that there is an overload.

なお,ステップS803で,電流制限が行われていないと判別された場合には,ステップS809へ進み,モータモデルの負荷イナーシャの設定値を調査する。この診断ルーチンにより,加減速時定数の適合性の診断と過負荷判定とが行われる。   If it is determined in step S803 that the current limit is not performed, the process proceeds to step S809, and the set value of the load inertia of the motor model is investigated. By this diagnostic routine, diagnosis of suitability of acceleration / deceleration time constant and overload determination are performed.

この発明によるサーボ制御システムの自動適正化方法は、図43に示されているような一般的なサーボ制御システムにて実施されるものであり、アンプ電源投入時には、セミクローズドループ方式とフルクローズドループ方式のうち、常にセミクローズドループ方式でモータ端検出器18からのフィードバック信号により位置制御を行う。この時に、機械端検出器19からのフィードバック信号も同時に処理し、モータ端検出器18による累積移動距離と極性が一致しているかをチェックする。そして極性が一致している場合には、フルクローズドループ方式による位置制御に移行し、これに対し、極性が逆の場合には、機械端検出器19で累積させた位置情報を反転させてシステム停止させることなくフルクローズドループ方式による位置制御へ自動的に移行する。   The method for automatically optimizing the servo control system according to the present invention is implemented by a general servo control system as shown in FIG. 43. When the amplifier power is turned on, the semi-closed loop method and the fully closed loop are used. Of the methods, position control is always performed by a feedback signal from the motor end detector 18 in a semi-closed loop method. At this time, the feedback signal from the machine end detector 19 is also processed at the same time, and it is checked whether the accumulated moving distance by the motor end detector 18 matches the polarity. If the polarities are the same, the control shifts to position control by a fully closed loop system. On the other hand, if the polarities are opposite, the position information accumulated by the machine end detector 19 is inverted and the system is reversed. It automatically shifts to position control by the fully closed loop method without stopping.

図13はこの発明によるサーボ制御システムの自動適正化方法における位置制御方式自動切換ルーチンを示している。ステップS1001では、電源投入直後のため、セミクローズドループ方式による位置制御を実行する。   FIG. 13 shows a position control method automatic switching routine in the method for automatically optimizing the servo control system according to the present invention. In step S1001, since the power is turned on, position control by a semi-closed loop method is executed.

つぎのステップS1002では、NC装置10からの位置指令による累積移動距離が所定値に達した(たとえば、1mm)か否か、換言すれば指定移動距離が機械端検出器19の極性判定距離に達したか否かを判別する。NC装置10からの位置指令による累積移動距離が所定値に達すれば、ステップS1002へ進む。ステップS1003では、フルクローズドループ側の累積フィードバック位置と指令累積位置の符号を比較し、換言すれば、機械端検出器19の位置フィードバック量と位置指定の極性とが一致しているか否かをチェックする。極性が一致していればステップS1005へ進み、極性が一致していなければ、ステップS1004へ進む。   In the next step S1002, it is determined whether or not the cumulative movement distance based on the position command from the NC device 10 has reached a predetermined value (for example, 1 mm), in other words, the designated movement distance has reached the polarity determination distance of the machine end detector 19. It is determined whether or not. If the accumulated movement distance by the position command from the NC device 10 reaches a predetermined value, the process proceeds to step S1002. In step S1003, the accumulated feedback position on the fully closed loop side is compared with the sign of the command accumulated position, in other words, it is checked whether the position feedback amount of the machine end detector 19 matches the position designation polarity. To do. If the polarities match, the process proceeds to step S1005, and if the polarities do not match, the process proceeds to step S1004.

ステップS1004では、機械端検出器19で生成された累積フィードバック量を反転する。ステップS1005では、今までに移動した分のフィードバック信号をフルクローズドループ側に切り替え、セミクローズドループ方式による位置制御よりフルクローズドループ方式による位置制御へ変更する。   In step S1004, the cumulative feedback amount generated by the machine end detector 19 is inverted. In step S1005, the feedback signal corresponding to the movement so far is switched to the fully closed loop side, and the position control by the semi-closed loop system is changed to the position control by the fully closed loop system.

これによりシステム起動時に機械端検出器19の位置フィードバック量と位置指定の極性とが一致していなくても、その極性に関するシステム状態が自動的に適正化され、システムダウンすることなく稼働を続行することができる。   As a result, even when the position feedback amount of the machine end detector 19 does not match the position designation polarity at the time of starting the system, the system state relating to the polarity is automatically optimized and the operation is continued without going down. be able to.

上述のように、自動判別した機械端検出器19のフィードバック逆極性を、不揮発性メモリに記憶し、次回の電源投入時には初回から正しいフィードバック極性をもって位置制御を行うこともできる。ただし、バックラッシュなどの機械要素により、セミクローズドループ方式ではある程度の誤差を含んでいる可能性があるので、切り換えにフィルタ、たとえば、1次遅れを加えることが好ましい。   As described above, the feedback reverse polarity of the automatically detected machine end detector 19 can be stored in the nonvolatile memory, and the position control can be performed with the correct feedback polarity from the first time when the power is turned on next time. However, since there is a possibility that the semi-closed loop method includes a certain amount of error due to mechanical elements such as backlash, it is preferable to add a filter, for example, a first-order delay to the switching.

この発明によるサーボ制御システムの自動適正化方法は、電源投入時から機械端検出器19を使用したフルクローズドループ方式による位置制御を実行し、モータ端検出器18によるフィードバック量との誤差がある一定値以上開いた場合に、機械端検出器19の現在までのフィードバック量を逆転させることで、システム状態を自動的に適正化することもできる。   The method for automatically optimizing the servo control system according to the present invention executes position control by a fully closed loop method using the machine end detector 19 from the time of turning on the power, and there is a constant error with the feedback amount by the motor end detector 18. The system state can be automatically optimized by reversing the feedback amount up to the present time of the machine end detector 19 when the value exceeds the value.

図14はこの発明によるサーボ制御システムの自動適正化方法における極性自動反転ルーチンを示している。ステップS1101では、電源投入直後に、通常通り、クローズドループ方式による位置制御モードを形成する。つぎのステップS1102では、フルクローズドループ側フィードバック位置PMAとセミクローズドループ側フィードバック位置PMOとの差が予め設定されているフルクローズドループ式フィードバック逆極性判定値CERに達し、しかも互いの符号が異なっているか否かをチェックする。その差が判定値CERに達し、しかも互いの符号が異なっていれば、ステップS1103へ進む。   FIG. 14 shows an automatic polarity reversal routine in the method for automatically optimizing the servo control system according to the present invention. In step S1101, immediately after the power is turned on, a position control mode by the closed loop method is formed as usual. In the next step S1102, the difference between the fully closed loop feedback position PMA and the semi-closed loop feedback position PMO reaches a preset fully closed loop feedback reverse polarity determination value CER, and the signs are different from each other. Check whether it exists. If the difference reaches the determination value CER and the signs are different from each other, the process proceeds to step S1103.

ステップS1103では、フルクローズドループ側の累積フィードバック位置を反転し、これより以降の移動距離は逆極性として処理する。これにより、この場合も、システム起動時に機械端検出器19の位置フィードバック量の極性が逆になっても、その極性に関するシステム状態が自動的に適正化され、システムダウンすることなく稼働を続行できることができる。この場合も自動判別した機械端検出器19のフィードバック逆極性を、不揮発性メモリに記憶することで、次回の電源投入時には初回から正しいフィードバック極性をもって位置制御を行うこともできる。   In step S1103, the cumulative feedback position on the fully closed loop side is reversed, and the subsequent moving distance is processed as a reverse polarity. As a result, even in this case, even if the polarity of the position feedback amount of the machine end detector 19 is reversed at the time of starting the system, the system state relating to the polarity is automatically optimized, and the operation can be continued without going down. Can do. Also in this case, by storing the automatically detected feedback reverse polarity of the machine end detector 19 in the nonvolatile memory, the position control can be performed with the correct feedback polarity from the first time when the power is turned on next time.

図15はこの発明によるサーボ制御システムの自動適正化方法の実施に使用するデュアルフィードバック制御方式のサーボ制御システムを示している。このサーボ制御システムは、モータ端検出器18によるフィードバック位置と機械端検出器19によるフィードバック位置との誤差に一次遅れのフィルタをかける制御部35を有しており、制御部35の出力が実際の位置フィードバック量として使用される。   FIG. 15 shows a servo control system of a dual feedback control system used for carrying out the method for automatically optimizing the servo control system according to the present invention. This servo control system has a control unit 35 that filters a first-order lag on the error between the feedback position by the motor end detector 18 and the feedback position by the machine end detector 19, and the output of the control unit 35 is the actual output. Used as a position feedback amount.

このデュアルフィードバック制御は、静的にはフルクローズドループ方式で、モータ端検出器18と機械端検出器19の誤差をある時定数をもって追従する制御方式で、低剛性な機械に適用される制御方式である。   This dual feedback control is statically a full-closed loop method, a control method that follows the error between the motor end detector 18 and the machine end detector 19 with a certain time constant, and is a control method applied to a low-rigidity machine. It is.

図16は上述のデュアルフィードバック制御方式のサーボ制御システムにおける極性自動反転ルーチンを示している。ステップS1201では、電源投入直後に、デュアルフィードバック制御を形成する。この時の1次遅れフィルタの時定数は通常のパラメータ設定値より大きく設定しておく。   FIG. 16 shows an automatic polarity reversal routine in the above-described dual feedback control type servo control system. In step S1201, dual feedback control is formed immediately after the power is turned on. At this time, the time constant of the first-order lag filter is set to be larger than the normal parameter setting value.

つぎのステップS1202では、フルクローズドループ側フィードバック位置PMAとセミクローズドループ側フィードバック位置PMOとの差が予め設定されているフルクローズドループ式フィードバック逆極性判定値CERに達し、しかも互いの符号が異なっているか否かをチェックする。その差が判定値CERに達し、しかも互いの符号が異なっていれば、ステップS1203へ進む。ステップS1203では、フルクローズドループ側の累積フィードバック位置を反転し、これより以降の移動距離は逆極性として処理する。   In the next step S1202, the difference between the fully closed loop feedback position PMA and the semi closed loop feedback position PMO reaches a preset fully closed loop feedback reverse polarity determination value CER, and the signs are different from each other. Check whether it exists. If the difference reaches the determination value CER and the signs are different from each other, the process proceeds to step S1203. In step S1203, the cumulative feedback position on the fully closed loop side is reversed, and the subsequent moving distance is processed as a reverse polarity.

つぎのステップS1204では、デュアルフィードバック制御の1次遅れフィルタ時定数をパラメータ設定値に戻し、運転を続行する。これにより、この場合も、システム起動時に機械端検出器19の位置フィードバック量の極性が逆になっても、その極性に関するシステム状態が自動的に適正化され、システムダウンすることなく稼働を続行できることができる。この場合も自動判別した機械端検出器19のフィードバック逆極性を、不揮発性メモリに記憶することで、次回の電源投入時には初回から正しいフィードバック極性をもって位置制御を行うこともできる。   In the next step S1204, the primary delay filter time constant of the dual feedback control is returned to the parameter set value, and the operation is continued. As a result, even in this case, even if the polarity of the position feedback amount of the machine end detector 19 is reversed at the time of starting the system, the system state relating to the polarity is automatically optimized, and the operation can be continued without going down. Can do. Also in this case, by storing the automatically detected feedback reverse polarity of the machine end detector 19 in the nonvolatile memory, the position control can be performed with the correct feedback polarity from the first time when the power is turned on next time.

図17はこの発明によるサーボ制御システムの自動適正化方法の実施に使用するサーボ制御システムの実施例を示している。このサーボ制御システムは、速度制御部12が演算した電流指令の最大値をクランプする制御部36を含んでいる。   FIG. 17 shows an embodiment of a servo control system used for carrying out an automatic optimization method for a servo control system according to the present invention. The servo control system includes a control unit 36 that clamps the maximum value of the current command calculated by the speed control unit 12.

図18はこの発明によるサーボ制御システムの自動適正化方法における加減速時の時定数適正化ルーチンを示している。先ず、ステップS1501では、現在、早送り中であるか否かを判別する。早送り中であれば、ステップS1502へ進み、電流指令値Inをサンプリングする。この電流指令値Inのサンプリングは早送り中一定周期(最大数ms毎)で行う。   FIG. 18 shows a time constant optimization routine at the time of acceleration / deceleration in the automatic optimization method of the servo control system according to the present invention. First, in step S1501, it is determined whether or not fast-forwarding is currently in progress. If fast-forwarding is in progress, the process advances to step S1502 to sample the current command value In. The sampling of the current command value In is performed at a constant cycle (every several ms) during fast-forwarding.

つぎにステップS1503では、サンプリングした電流指令値の絶対値|In|と今回の早送り中における前回までにサンプリングした電流指令の最大値Ipを比較する。|In|の方が大きい場合には、ステップS1504へ進み、最大値Ipを今回の|In|に変更する。   Next, in step S1503, the absolute value | In | of the sampled current command value is compared with the maximum value Ip of the current command sampled so far during the current fast-forwarding. If | In | is larger, the process advances to step S1504 to change the maximum value Ip to the current | In |.

つぎにステップS1505では、今回の早送りが終了したか否かを判別する。ここで云う早送り中とは、1回の移動全時間とする。早送りが終了した場合には、ステップS1506に進み、終了していない場合にはサンプリング周期後にステップS1502に戻り、つぎの電流指令値Inをサンプリングする。ステップS1506では、サーボアンプ等のモータ駆動装置が出力できる最大電流Imaxに対する今回の早送りにおける電流指令の最大値Ipの比率βを下式により演算する。   Next, in step S1505, it is determined whether or not the current fast-forward has ended. The term “during fast-forwarding” as used herein means the total time for one movement. When the fast-forwarding is completed, the process proceeds to step S1506. When the fast-forwarding is not completed, the process returns to step S1502 after the sampling period, and the next current command value In is sampled. In step S1506, a ratio β of the maximum value Ip of the current command in the current rapid feed to the maximum current Imax that can be output by the motor drive device such as a servo amplifier is calculated by the following equation.

β=Ip/Imax
理想的な出力比率をαとし、次回の早送り加減速における出力比率を理想的出力比率αに近づけるために、今回の早送り時定数Aと、理想的出力比率α、比率βに基づいて次回早送り時定数Bの演算を下式により行う。
β = Ip / Imax
In order to set the ideal output ratio to α and the output ratio in the next rapid feed acceleration / deceleration to be close to the ideal output ratio α, the next fast feed will be based on the current fast feed time constant A and the ideal output ratio α and ratio β. The calculation of the constant B is performed by the following formula.

B=A・β/α=A・(Ip/Imax・α)
この演算結果により得られた加減速時定数BをAに代入し、この時定数で次回の加減速を行う。これにより加減速が行われる毎に、リアルタイムで最適加減速時定数が演算され、加減速時定数が自動的に適正化され、機械の負荷変動にシステムの安定性が左右されない加減速運転を実現する。なお、アンバンランス軸など、運動方法により負荷が異なる場合には、運動方向により電流指令値の大きい方を基準に時定数を決定する必要がある。
B = A · β / α = A · (Ip / Imax · α)
The acceleration / deceleration time constant B obtained from this calculation result is substituted into A, and the next acceleration / deceleration is performed with this time constant. As a result, every time acceleration / deceleration is performed, the optimal acceleration / deceleration time constant is calculated in real time, and the acceleration / deceleration time constant is automatically optimized, realizing acceleration / deceleration operation in which the stability of the system is not affected by fluctuations in machine load. To do. When the load varies depending on the movement method, such as an unbalance axis, it is necessary to determine the time constant based on the larger current command value depending on the movement direction.

また、通常は、機械的な負荷の変化は、それほど大きな変化を示さないから、数回〜数十回の加減速最大値の平均値か、ピーク値に基づいて加減速時定数を決定してもよい。さらに、朝一番の電源投入時に機械の潤滑性が悪く、最も負荷が大きい場合が多いから、電源投入時の時定数は、大きめ、たとえば、Imax の50%程度にしておき、自動的に時定数を詰めて行くことも考えられる。   In general, the change in mechanical load does not show such a large change, so the acceleration / deceleration time constant is determined based on the average value or the peak value of acceleration / deceleration maximum values of several to several tens of times. Also good. Furthermore, since the lubricity of the machine is poor when the power is turned on the first time in the morning and the load is often the largest, the time constant at the time of turning on the power is large, for example, about 50% of Imax, and the time constant is automatically set. It is also possible to pack up.

図19、図20は、アンバランス軸など、運動方向により必要トルクが異なる場合に好適な時定数適正化ルーチンを示している。先ず、ステップS1601では、現在、早送り中であるか否かを判別する。早送り中であれば、ステップS1602へ進み、早送りの方向を判別する。+方向の早送り中の場合にはステップS1603に進む。これに対し+方向の早送り中でない場合には−方向の早送りであるから、ステップS1611へ進む。ステップS1603では、電流指令値Inをサンプリングする。この電流指令値Inのサンプリングは早送り中一定周期(最大数ms毎)で行う。   FIGS. 19 and 20 show time constant optimization routines that are suitable when the required torque differs depending on the direction of motion, such as an unbalanced shaft. First, in step S1601, it is determined whether or not fast-forwarding is currently in progress. If fast-forwarding is in progress, the process advances to step S1602 to determine the direction of fast-forwarding. If fast forward in the + direction is being performed, the process advances to step S1603. On the other hand, if fast forward in the + direction is not being performed, fast forward in the-direction is performed, and the process advances to step S1611. In step S1603, the current command value In is sampled. The sampling of the current command value In is performed at a constant cycle (every several ms) during fast-forwarding.

つぎにステップS1604では、サンプリングした電流指令値の絶対値|In|と今回の早送り中における前回までにサンプリングした電流指令の最大値Ip+を比較する。|In|の方が大きい場合には、ステップS1605へ進み、最大値Ip+を今回の|In|に変更する。   In step S1604, the absolute value | In | of the sampled current command value is compared with the maximum value Ip + of the current command sampled up to the previous time during the current fast-forward. If | In | is larger, the process advances to step S1605 to change the maximum value Ip + to the current | In |.

つぎにステップS1606では、今回の早送りが終了したか否かを判別する。ここで云う早送り中も1回の移動全時間とする。早送りが終了した場合には、ステップS1607に進み、終了していない場合にはサンプリング周期後にステップS1603に戻り、つぎの電流指令値Inをサンプリングする。ステップS1607では、サーボアンプ等のモータ駆動装置が出力できる最大電流Imaxに対する今回の早送りにおける電流指令の最大値Ip+の比率βを下式により演算する。   Next, in step S1606, it is determined whether or not the current fast-forward has ended. Even during the fast-forwarding referred to here, the total time of one movement is assumed. If the fast-forwarding has been completed, the process proceeds to step S1607. If not, the process returns to step S1603 after the sampling period, and the next current command value In is sampled. In step S1607, the ratio β of the current command maximum value Ip + in the current rapid feed to the maximum current Imax that can be output by a motor drive device such as a servo amplifier is calculated by the following equation.

β=(Ip+)/Imax
理想的な出力比率をαとし、次回の早送り加減速における出力比率を理想的出力比率αに近づけるために、今回の早送り時定数A+と、理想的出力比率α、比率βに基づいて次回早送り時定数B+の演算を下式により行う。
β = (Ip +) / Imax
In order to set the ideal output ratio to α and make the output ratio in the next rapid feed acceleration / deceleration close to the ideal output ratio α, the next fast feed will be based on the current fast feed time constant A + and the ideal output ratio α and ratio β. The calculation of the constant B + is performed by the following formula.

(B+)=(A+)・β/α=(A+){(Ip+)/Imax・α)}
この演算結果により得られた加減速時定数B+をA+に代入し、この時定数で次回の+方向の加減速を行う。またステップS1609では、電流指令値Inをサンプリングする。この電流指令値Inのサンプリングも早送り中一定周期(最大数ms毎)で行う。
(B +) = (A +) · β / α = (A +) {(Ip +) / Imax · α)}
The acceleration / deceleration time constant B + obtained from the calculation result is substituted into A +, and the next acceleration / deceleration in the + direction is performed with this time constant. In step S1609, the current command value In is sampled. Sampling of the current command value In is also performed at a constant cycle (maximum every several ms) during fast-forwarding.

つぎにステップS1610では、サンプリングした電流指令値の絶対値|In|と今回の早送り中における前回までにサンプリングした電流指令の最大値Ip−を比較する。|In|の方が大きい場合には、ステップS1611へ進み、最大値Ip−を今回の|In|に変更する。   In step S1610, the absolute value | In | of the sampled current command value is compared with the maximum value Ip− of the current command sampled up to the previous time during the current fast-forward. If | In | is larger, the process advances to step S1611 to change the maximum value Ip− to the current | In |.

つぎにステップS1612では、今回の早送りが終了したか否かを判別する。ここで云う早送り中も1回の移動全時間とする。早送りが終了した場合には、ステップS1613に進み、終了していない場合にはサンプリング周期後にステップS1609に戻り、つぎの電流指令値Inをサンプリングする。ステップS1613では、サーボアンプ等のモータ駆動装置が出力できる最大電流Imaxに対する今回の早送りにおける電流指令の最大値Ip−の比率βを下式により演算する。   Next, in step S1612, it is determined whether or not the current fast-forward has ended. Even during the fast-forwarding referred to here, the total time of one movement is assumed. If the fast-forwarding is completed, the process proceeds to step S1613. If not completed, the process returns to step S1609 after the sampling period, and the next current command value In is sampled. In step S1613, the ratio β of the current command maximum value Ip− in the current rapid feed to the maximum current Imax that can be output by the motor drive device such as a servo amplifier is calculated by the following equation.

β=(Ip−)/Imax
理想的な出力比率をαとし、次回の早送り加減速における出力比率を理想的出力比率αに近づけるために、今回の早送り時定数A−と、理想的出力比率α、比率βに基づいて次回早送り時定数B−の演算を下式により行う。
β = (Ip −) / Imax
In order to set the ideal output ratio to α and make the output ratio in the next rapid traverse acceleration / deceleration approach the ideal output ratio α, the next rapid traverse is based on the current rapid feed time constant A-, the ideal output ratio α, and the ratio β. The time constant B- is calculated by the following equation.

(B−)=(A−)・β/α=(A−){(Ip−)/Imax・α)}
この演算結果により得られた加減速時定数B−をA−に代入し、この時定数で次回の−方向の加減速を行う。これにより加減速が行われる毎に、リアルタイムで、運動方向毎の最適加減速時定数が個別に演算され、各運動方向の加減速時定数がそれぞれ個別に自動的に適正化され、機械の負荷変動にシステムの安定性が左右されない加減速運転を実現する。この結果、今までアンバランス軸の上昇に必要なトルクで加減速時定数が決まっていたものが、下降時に小さくでき、加工時間の短縮できる。
(B −) = (A−) · β / α = (A −) {(Ip −) / Imax · α)}
The acceleration / deceleration time constant B- obtained from the calculation result is substituted into A-, and the next-direction acceleration / deceleration is performed with this time constant. As a result, every time acceleration / deceleration is performed, the optimum acceleration / deceleration time constant for each movement direction is calculated individually in real time, and the acceleration / deceleration time constant for each movement direction is automatically optimized individually, and the load on the machine Realizes acceleration / deceleration operation in which the stability of the system is not affected by fluctuations. As a result, the acceleration / deceleration time constant determined so far with the torque required to raise the unbalanced shaft can be reduced when lowered and the machining time can be shortened.

機械駆動においては、摩擦力により加速と減速とで、出力トルクが異なり、時定数の最適値が加速と減速とで相違するから、この実施例10では加減速時定数の自動適正化を加速と減速とで分けて行う。   In mechanical drive, the output torque differs between acceleration and deceleration due to frictional force, and the optimum value of the time constant differs between acceleration and deceleration. Therefore, in this embodiment 10, automatic optimization of the acceleration / deceleration time constant is referred to as acceleration. This is done separately with deceleration.

図21、図22は加減速時定数の自動適正化を加速と減速とで分けて行う場合の時定数適正化ルーチンを示している。先ず、ステップS1701では、現在、早送り中であるか否かを判別する。早送り中であれば、ステップS1702へ進み、ステップS1702では速度変化の変化より加速中であるか否かを判別する。加速中であれば、ステップS1704へ進み、そうでない場合にはステップS1703へ進む。   21 and 22 show time constant optimization routines in the case where automatic optimization of acceleration / deceleration time constants is performed separately for acceleration and deceleration. First, in step S1701, it is determined whether or not fast-forwarding is currently in progress. If fast-forwarding is in progress, the process proceeds to step S1702. In step S1702, it is determined whether or not the vehicle is accelerating based on a change in speed. If it is accelerating, the process proceeds to step S1704, and if not, the process proceeds to step S1703.

ステップS1703では速度変化の変化より減速中であるか否かを判別する。減速中の場合にはステップS1709に進も、そうでない場合はステップS1701に戻る。ステップS1704では、電流指令値Inをサンプリングする。この電流指令値Inのサンプリングは早送り中一定周期で行う。   In step S1703, it is determined whether or not the vehicle is decelerating from the change in speed. If the vehicle is decelerating, the process proceeds to step S1709; otherwise, the process returns to step S1701. In step S1704, the current command value In is sampled. The current command value In is sampled at a constant cycle during fast-forwarding.

つぎにステップS1705では、サンプリングした電流指令値の絶対値|In|と今回の早送り中における前回までにサンプリングした電流指令の最大値Ipaを比較する。|In|の方が大きい場合には、ステップS1706へ進み、最大値Ipaを今回の|In|に変更する。   Next, in step S1705, the absolute value | In | of the sampled current command value is compared with the maximum value Ipa of the current command sampled so far during the current fast-forwarding. If | In | is larger, the process proceeds to step S1706, and the maximum value Ipa is changed to the current | In |.

つぎにステップS1707では、今回の早送り加速が終了したか否かを判別する。早送り加速が終了した場合には、ステップS1708に進み、終了していない場合にはサンプリング周期後にステップS1704に戻り、つぎの電流指令値Inをサンプリングする。ステップS1708では、サーボアンプ等のモータ駆動装置が出力できる最大電流Imaxに対する今回の早送りにおける電流指令の最大値Ipaの比率βを下式により演算する。   Next, in step S1707, it is determined whether or not the current fast-forward acceleration has been completed. If the fast-forward acceleration has been completed, the process proceeds to step S1708. If not, the process returns to step S1704 after the sampling period, and the next current command value In is sampled. In step S1708, the ratio β of the maximum value Ipa of the current command in the current rapid feed to the maximum current Imax that can be output by the motor drive device such as a servo amplifier is calculated by the following equation.

β=(Ipa)/Imax
理想的な出力比率をαとし、次回の早送り加減速における出力比率を理想的出力比率αに近づけるために、今回の早送り時定数Aaと、理想的出力比率α、比率βに基づいて次回早送り時定数Baの演算を下式により行う。
β = (Ipa) / Imax
In order to make the ideal output ratio α and make the output ratio in the next fast-forward acceleration / deceleration close to the ideal output ratio α, the next fast-forwarding based on the current fast-forwarding time constant Aa, ideal output ratio α, and ratio β The calculation of the constant Ba is performed by the following formula.

(Ba)=(Aa)・β/α=(Aa){(Ipa)/Imax・α)}
この演算結果により得られた加速時定数BaをAaに代入し、この時定数で次回の早送り加速を行う。またステップS1709では、電流指令値Inをサンプリングする。この電流指令値Inのサンプリングも早送り中一定周期で行う。
(Ba) = (Aa) · β / α = (Aa) {(Ipa) / Imax · α)}
The acceleration time constant Ba obtained from the calculation result is substituted into Aa, and the next rapid traverse acceleration is performed with this time constant. In step S1709, the current command value In is sampled. The sampling of the current command value In is also performed at a constant cycle during fast-forwarding.

つぎにステップS1710では、サンプリングした電流指令値の絶対値|In|と今回の早送り中における前回までにサンプリングした電流指令の最大値Ip−を比較する。|In|の方が大きい場合には、ステップS1711へ進み、最大値Ipbを今回の|In|に変更する。   In step S1710, the absolute value | In | of the sampled current command value is compared with the maximum value Ip− of the current command sampled up to the previous time during the current fast-forward. If | In | is larger, the process advances to step S1711 to change the maximum value Ipb to the current | In |.

つぎにステップS1712では、今回の早送りが終了したか否かを判別する。早送りが終了した場合には、ステップS1713に進み、終了していない場合にはサンプリング周期後にステップS1709に戻り、つぎの電流指令値Inをサンプリングする。ステップS1713では、サーボアンプ等のモータ駆動装置が出力できる最大電流Imaxに対する今回の早送りにおける電流指令の最大値Ipbの比率βを下式により演算する。   Next, in step S1712, it is determined whether or not the current fast-forward has ended. If the fast-forwarding is completed, the process proceeds to step S1713. If not, the process returns to step S1709 after the sampling period, and the next current command value In is sampled. In step S1713, the ratio β of the current command maximum value Ipb in the current rapid feed to the maximum current Imax that can be output by the motor drive device such as a servo amplifier is calculated by the following equation.

β=(Ipb)/Imax
理想的な出力比率をαとし、次回の早送り加減速における出力比率を理想的出力比率αに近づけるために、今回の早送り時定数Abと、理想的出力比率α、比率βに基づいて次回早送り時定数Bbの演算を下式により行う。
β = (Ipb) / Imax
In order to set the ideal output ratio to α and make the output ratio in the next fast-forward acceleration / deceleration approach the ideal output ratio α, the next fast-forward based on the current fast-forward time constant Ab and the ideal output ratio α and ratio β The calculation of the constant Bb is performed by the following formula.

(Bb)=(Ab)・β/α=(Ab){(Ipb)/Imax・α)}
この演算結果により得られた減速時定数BbをAbに代入し、この時定数で次回の早送り減速を行う。これにより加減速が行われる毎に、リアルタイムで、加速、減速毎の最適加減速時定数が個別に演算され、加速時の時定数と減速の時定数とがそれぞれ個別に自動的に適正化され、機械の負荷変動にシステムの安定性が左右されない加減速運転を実現する。
(Bb) = (Ab) · β / α = (Ab) {(Ipb) / Imax · α)}
The deceleration time constant Bb obtained from the calculation result is substituted into Ab, and the next fast-forward deceleration is performed with this time constant. As a result, every time acceleration / deceleration is performed, the optimum acceleration / deceleration time constant for each acceleration and deceleration is calculated individually in real time, and the time constant for acceleration and the time constant for deceleration are each automatically optimized. Realizes acceleration / deceleration operation in which the stability of the system is not affected by machine load fluctuations.

図23〜27は加減速時定数の自動適正化を運動方向および加速と減速とで分けて行う時定数適正化ルーチンを示している。   23 to 27 show a time constant optimization routine in which automatic optimization of acceleration / deceleration time constant is performed separately for the direction of motion and acceleration and deceleration.

ステップS1801では、早送りであるか否かを判別する。早送り中でない場合はステップS1801に戻り、早送り中の場合はステップS1802a〜1802dに進む。ステップS1802a〜1802dでは、早送りがつぎの4種類のうちのどれであるかを特定する。すなわちステップS1802aでは、+方向の加速であるか否かを判別し、+方向の加速の場合はステップS1803へ進む。   In step S1801, it is determined whether or not fast-forwarding is performed. If fast-forwarding is not in progress, the process returns to step S1801. If fast-forwarding is in progress, the process advances to steps S1802a to 1802d. In steps S1802a to 1802d, which of the following four types of fast-forwarding is specified. That is, in step S1802a, it is determined whether or not the acceleration is in the + direction. If the acceleration is in the + direction, the process proceeds to step S1803.

ステップS1802bでは、−方向の加速であるか否かを判別し、−方向の加速の場合はステップS1813へ進む。ステップS1802cでは、+方向の減速であるか否かを判別し、+方向の減速の場合はステップS1823へ進む。ステップS1802dでは、−方向の減速であるか否かを判別し、−方向の減速の場合はステップS1833へ進む。ステップS1803では、電流指令値Inを早送り中一定周期でサンプリングする。   In step S1802b, it is determined whether or not the acceleration is in the negative direction. If the acceleration is in the negative direction, the process proceeds to step S1813. In step S1802c, it is determined whether or not the deceleration is in the + direction. If the deceleration is in the + direction, the process proceeds to step S1823. In step S1802d, it is determined whether or not the deceleration is in the negative direction. If the deceleration is in the negative direction, the process proceeds to step S1833. In step S1803, the current command value In is sampled at a constant period during fast-forwarding.

つぎにステップS1804では、サンプリングした電流指令値の絶対値|In|と今回の早送り中における前回までにサンプリングした電流指令の最大値Ip+aを比較する。|In|の方が大きい場合には、ステップS1805へ進み、Ip+a値を今回の|In|に変更する。   In step S1804, the absolute value | In | of the sampled current command value is compared with the maximum value Ip + a of the current command sampled up to the previous time during this fast-forwarding. If | In | is larger, the process advances to step S1805 to change the Ip + a value to the current | In |.

つぎにステップS1806では、今回の早送りが終了したか否かを判別する。早送りが終了した場合には、ステップS1807に進み、終了していない場合にはサンプリング周期後ステップS1803に戻り、つぎの電流指令値Inをサンプリングする。ステップS1807では、サーボアンプ等のモータ駆動装置が出力できる最大電流Imaxに対する今回の電流指令の最大値Ip+aの比率βを下式により演算する。   In step S1806, it is determined whether or not the current fast-forwarding has been completed. If the fast-forwarding is completed, the process proceeds to step S1807. If not completed, the process returns to step S1803 after the sampling period, and the next current command value In is sampled. In step S1807, the ratio β of the current command maximum value Ip + a to the maximum current Imax that can be output by a motor drive device such as a servo amplifier is calculated by the following equation.

β=(Ip+a)/Imax
理想的な出力比率をαとし、次回の早送り加減速における出力比率をαに近づけるために、今回の早送り時定数A+aと、理想出力比率α、比率βに基づいて次回早送り時定数B+aの演算を行う。
β = (Ip + a) / Imax
In order to set the ideal output ratio to α and the output ratio in the next fast-forward acceleration / deceleration to be close to α, the next fast-forward time constant B + a is calculated based on the current fast-forward time constant A + a and the ideal output ratio α and ratio β. Do.

(B+a)=(A+a)・β/α
=(A+a)・{(Ip+a)/Imax・α}
この演算結果により得られた加減速時定数(B+a)を(A+a)に代入し、この時定数で次回の早送り+方向加速指令を作成する。ステップS1813では、電流指令値Inを早送り中一定周期でサンプリングする。
(B + a) = (A + a) · β / α
= (A + a) · {(Ip + a) / Imax · α}
The acceleration / deceleration time constant (B + a) obtained from this calculation result is substituted into (A + a), and the next rapid feed + direction acceleration command is created with this time constant. In step S1813, the current command value In is sampled at a constant period during fast-forwarding.

つぎにステップS1814では、サンプリングした電流指令値の絶対値|In|と今回の早送り中における前回までにサンプリングした電流指令の最大値Ip−aを比較する。|In|の方が大きい場合には、ステップS1815へ進み、Ip−a値を今回の|In|に変更する。   In step S1814, the absolute value | In | of the sampled current command value is compared with the maximum value Ip-a of the current command sampled until the previous time during the current fast-forward. If | In | is larger, the process proceeds to step S1815, and the Ip-a value is changed to the current | In |.

つぎにステップS1816では、今回の早送りが終了したか否かを判別する。早送りが終了した場合には、ステップS1817に進み、終了していない場合にはサンプリング周期後ステップS1813に戻り、つぎの電流指令値Inをサンプリングする。ステップS1817では、サーボアンプ等のモータ駆動装置が出力できる最大電流Imaxに対する今回の電流指令の最大値Ip−aの比率βを下式により演算する。   Next, in step S1816, it is determined whether or not the current fast-forward has ended. If the fast-forwarding is completed, the process proceeds to step S1817. If not completed, the process returns to step S1813 after the sampling period, and the next current command value In is sampled. In step S1817, the ratio β of the current command maximum value Ip-a to the maximum current Imax that can be output by a motor drive device such as a servo amplifier is calculated by the following equation.

β=(Ip−a)/Imax
理想的な出力比率をαとし、次回の早送り加減速における出力比率をαに近づけるために、今回の早送り時定数A−aと、理想出力比率α、比率βに基づいて次回早送り時定数B−aの演算を行う。
β = (Ip−a) / Imax
In order to set the ideal output ratio to α and the output ratio in the next fast-forward acceleration / deceleration to be close to α, the next fast-forward time constant B− based on the current rapid feed time constant Aa and the ideal output ratio α and ratio β. Calculate a.

(B−a)=(A−a)・β/α
=(A−a)・{(Ip−a)/Imax・α}
この演算結果により得られた加減速時定数(B−a)を(A−a)に代入し、この時定数で次回の早送り+方向減速指令を作成する。ステップS1823では、電流指令値Inを早送り中一定周期でサンプリングする。
(B−a) = (A−a) · β / α
= (A−a) · {(Ip−a) / Imax · α}
The acceleration / deceleration time constant (Ba) obtained from this calculation result is substituted into (Aa), and the next rapid feed + direction deceleration command is created with this time constant. In step S1823, the current command value In is sampled at a constant period during fast-forwarding.

つぎにステップS1824では、サンプリングした電流指令値の絶対値|In|と今回の早送り中における前回までにサンプリングした電流指令の最大値Ipaを比較する。|In|の方が大きい場合には、ステップS1825へ進み、Ip+d値を今回の|In|に変更する。   In step S1824, the absolute value | In | of the sampled current command value is compared with the maximum value Ipa of the current command sampled up to the previous time during the current fast-forward. If | In | is larger, the process advances to step S1825 to change the Ip + d value to the current | In |.

つぎにステップS1826では、今回の早送りが終了したか否かを判別する。早送りが終了した場合には、ステップS1827に進み、終了していない場合にはサンプリング周期後ステップS1823に戻り、つぎの電流指令値Inをサンプリングする。ステップS1827では、サーボアンプ等のモータ駆動装置が出力できる最大電流Imaxに対する今回の電流指令の最大値Ipdの比率βを下式により演算する。   Next, in step S1826, it is determined whether or not the current fast-forward has ended. When the fast-forwarding is completed, the process proceeds to step S1827. When the fast-forwarding is not completed, the process returns to step S1823 after the sampling period, and the next current command value In is sampled. In step S1827, the ratio β of the current command maximum value Ipd to the maximum current Imax that can be output by a motor drive device such as a servo amplifier is calculated by the following equation.

β=(Ip+d)/Imax
理想的な出力比率をαとし、次回の早送り加減速における出力比率をαに近づけるために、今回の早送り時定数A+dと、理想出力比率α、比率βに基づいて次回早送り時定数B+dの演算を行う。
β = (Ip + d) / Imax
In order to set the ideal output ratio to α and the output ratio in the next fast-forward acceleration / deceleration to be close to α, the next fast-forward time constant B + d is calculated based on the current fast-forward time constant A + d and the ideal output ratio α and ratio β. Do.

(B+d)=(A+d)・β/α
=(A+d)・{(Ip+d)/Imax・α}
この演算結果により得られた加減速時定数(B+d)を(A+d)に代入し、この時定数で次回の早送り+方向減速指令を作成する。ステップS1833では、電流指令値Inを早送り中一定周期でサンプリングする。
(B + d) = (A + d) · β / α
= (A + d) · {(Ip + d) / Imax · α}
The acceleration / deceleration time constant (B + d) obtained from this calculation result is substituted into (A + d), and the next rapid feed + direction deceleration command is created with this time constant. In step S1833, the current command value In is sampled at a constant period during fast-forwarding.

つぎにステップS1834では、サンプリングした電流指令値の絶対値|In|と今回の早送り中における前回までにサンプリングした電流指令の最大値Ip−dを比較する。|In|の方が大きい場合には、ステップS1835へ進み、Ip−d値を今回の|In|に変更する。   In step S1834, the absolute value | In | of the sampled current command value is compared with the maximum value Ip-d of the current command sampled up to the previous time during the current fast-forward. If | In | is larger, the process advances to step S1835 to change the Ip-d value to the current | In |.

つぎにステップS1836では、今回の早送りが終了したか否かを判別する。早送りが終了した場合には、ステップS1837に進み、終了していない場合にはサンプリング周期後ステップS1833に戻り、つぎの電流指令値Inをサンプリングする。ステップS1837では、サーボアンプ等のモータ駆動装置が出力できる最大電流Imaxに対する今回の電流指令の最大値Ip−dの比率βを下式により演算する。   Next, in step S1836, it is determined whether or not the current fast-forward has ended. If the fast-forwarding is completed, the process proceeds to step S1837. If not completed, the process returns to step S1833 after the sampling period, and the next current command value In is sampled. In step S1837, the ratio β of the current command maximum value Ip-d to the maximum current Imax that can be output by a motor drive device such as a servo amplifier is calculated by the following equation.

β=(Ip−d)/Imax
理想的な出力比率をαとし、次回の早送り加減速における出力比率をαに近づけるために、今回の早送り時定数A−dと、理想出力比率α、比率βに基づいて次回早送り時定数B−dの演算を行う。
β = (Ip−d) / Imax
In order to set the ideal output ratio to α and the output ratio in the next fast-forward acceleration / deceleration to be close to α, the next fast-forward time constant B− based on the current rapid feed time constant Ad, the ideal output ratio α, and the ratio β. Calculate d.

(B−d)=(A−d)・β/α
=(A−d)・{(Ip−d)/Imax・α}
この演算結果により得られた加減速時定数(B−d)を(A−d)に代入し、この時定数で次回の早送り−方向減速指令を作成する。これにより加減速が行われる毎に、リアルタイムで、加速、減速と運動方向毎の最適加減速時定数が演算され、摩擦量を含めた機械負荷変動にシステムの安定性を左右されない加減速運転を実現する。
(Bd) = (Ad) · β / α
= (A−d) · {(Ip−d) / Imax · α}
The acceleration / deceleration time constant (Bd) obtained from the calculation result is substituted into (Ad), and the next rapid feed-direction deceleration command is created with this time constant. As a result, every time acceleration / deceleration is performed, the optimum acceleration / deceleration time constant for each acceleration / deceleration and movement direction is calculated in real time, and acceleration / deceleration operation that does not affect the stability of the system due to mechanical load fluctuations including friction Realize.

加減速時の時定数が適正化されても、電流指令値が制限値に達すると、サーボ制御による位置の追従誤差が理想値よりも遅れ、速度のオーバーシュートが起こったり、誤差過大アラームなどが発生し、システムダウンする可能性がある。このことに対策として、早送り加減速中の誤差過大幅判定値を可変にし、誤差過大アラームを発生しにくくする。   Even if the time constant for acceleration / deceleration is optimized, if the current command value reaches the limit value, the position tracking error due to servo control will be delayed from the ideal value, speed overshoot, or an excessive error alarm will occur. May occur and the system may go down. As a countermeasure against this, the excessive error determination value during rapid feed acceleration / deceleration is made variable to make it difficult to generate an excessive error alarm.

図28は誤差過大幅判定値変更ルーチンを示している。ステップS1901では、誤差過大幅判定値DODを標準値DB とする。すなわち、DOB=DB とする。DB の決定方法は、通常、早送り最高速度中(定常状態)に発生する理想ドループ量の50%程度を目安としている。   FIG. 28 shows a routine for changing an excessive error determination value. In step S1901, the excessive error determination value DOD is set to the standard value DB. That is, DOB = DB. The determination method of DB is generally set to about 50% of the ideal droop amount generated during the fast-forward maximum speed (steady state).

ステップS1902では、C装置が出力する単位時間当たり位置指令値の変化量により早送り加減速中であるか否かを判別する。早送り加減速中の場合にはステップS1903に進み、そうでない場合には、ステップS1901に戻る。ステップS1903では、誤差過大判定幅DOD=DB ・aとする。aは加減速時誤差過大幅許容係数で、a>1、通常は2程度に設定する。   In step S1902, it is determined whether fast-feed acceleration / deceleration is being performed based on the amount of change in the position command value per unit time output from the C device. If fast-acceleration acceleration / deceleration is in progress, the process proceeds to step S1903. If not, the process returns to step S1901. In step S1903, the error excess determination width DOD = DB · a. a is an excessive error tolerance coefficient at the time of acceleration / deceleration, and is set to a> 1, usually about 2.

つぎにステップS1904では、現在の指令入力に対する理想ドループ量(位置偏差量)Diを演算する。つぎにステップS1905では、実際の現時点でのドループ量Dを検出する。つぎにステップS1906では、理想ドループDiと実ドループ量Dの差bを演算する。   In step S1904, an ideal droop amount (position deviation amount) Di with respect to the current command input is calculated. In step S1905, the actual droop amount D at the present time is detected. In step S1906, a difference b between the ideal droop Di and the actual droop amount D is calculated.

つぎにステップS1907では、実ドループ誤差bの絶対値がDODを超えているか否かを判別する。超えていない場合には一定時間経過後にステップS1901に戻り、超えている場合はステップS1908へ進む。ステップS1908では、誤差過大アラームを発生し、非常停止状態にしてNCリセットを待つ。ステップS1909では、NC装置(実際は作業者のインプット)からアラームリセット要求があるか否かを判別し、アラームリセット要求があれば、ステップS1910へ進む。ステップS1910では、非常停止状態を解除し、ステップS1901に戻る。これにより過速度アラーム発生が起こり難く、信頼性の高いサーボ制御システムとなる。   In step S1907, it is determined whether or not the absolute value of the actual droop error b exceeds DOD. If not, the process returns to step S1901 after the elapse of a fixed time, and if it exceeds, the process proceeds to step S1908. In step S1908, an error excessive alarm is generated, an emergency stop state is set, and NC reset is awaited. In step S1909, it is determined whether or not there is an alarm reset request from the NC device (actually an operator input). If there is an alarm reset request, the process proceeds to step S1910. In step S1910, the emergency stop state is canceled, and the process returns to step S1901. As a result, an overspeed alarm is unlikely to occur and a highly reliable servo control system is obtained.

加減速時定数が適正化されたにもかかわらず、電流指令が制限値に達してしまったことに起因してサーボ制御の位置の追従誤差が理想値よりも遅れ、このことにより速度のオーバーシュートが起こったり、誤差過大アラームなどが発生し、システムダウンしてしまう場合には、出力電流(出力トルク)が最大値に達し、速度のオーバーシュートが発生することを免れない。   Although the acceleration / deceleration time constant has been optimized, the servo control position tracking error is delayed from the ideal value due to the current command reaching the limit value. If an error occurs, an excessive error alarm occurs, and the system goes down, the output current (output torque) reaches the maximum value, and it is inevitable that a speed overshoot will occur.

通常、サーボモータの仕様最大回転数に対して1.2倍程度の速度で回転した場合、過速度アラームが発生し、システムの保護を行っているため、機械の負荷が増大または急変してこのようなモードに入ると、アラームが発生する。この様な場合に対処するために、早送り加減速中のみ過速度アラーム判定値VOSを変更し、このアラームが発生しないようにする。   Normally, if the servo motor rotates at a speed about 1.2 times the specified maximum speed, an overspeed alarm occurs and the system is protected, so the load on the machine increases or suddenly changes. When entering such a mode, an alarm is generated. In order to cope with such a case, the overspeed alarm determination value VOS is changed only during rapid feed acceleration / deceleration so that this alarm does not occur.

図29は過速度アラーム判定値変更ルーチンを示している。ステップS2001では、過速度アラーム判定モータ回転数VOSを標準値VB とする。通常VB は使用しているモータの最高回転数の1.2倍程度が妥当である。   FIG. 29 shows an overspeed alarm determination value change routine. In step S2001, the overspeed alarm determination motor rotational speed VOS is set to the standard value VB. Normally, VB is about 1.2 times the maximum rotation speed of the motor used.

つぎにステップS2004では、実際のモータ回転数Vを検出する。つぎにステップS2005では、実モータ回転数Vが過速度アラーム判定値VOSを超えているか否かを判別する。超えていない場合には一定時間経過後にステップS2001に戻り、超えている場合にはステップS2006へ進む。   In step S2004, the actual motor speed V is detected. Next, in step S2005, it is determined whether or not the actual motor speed V exceeds the overspeed alarm determination value VOS. If not, the process returns to step S2001 after elapse of a certain time, and if exceeding, the process proceeds to step S2006.

ステップS2006では、過速度アラームを発生し、非常停止状態にし、NCリセットを待つ。ステップS2007では、NC装置(実際は作業者のインプット)からアラームリセット要求があるか否かを判別し、アラームリセット要求があれば、ステップS2008へ進む。ステップS2008では、非常停止状態を解除し、ステップS2001に戻る。これにより過速度アラーム発生が起こり難く、信頼性の高いサーボ制御システムとなる。   In step S2006, an overspeed alarm is generated, an emergency stop state is set, and an NC reset is awaited. In step S2007, it is determined whether or not there is an alarm reset request from the NC device (actually the operator's input). If there is an alarm reset request, the process proceeds to step S2008. In step S2008, the emergency stop state is canceled, and the process returns to step S2001. As a result, an overspeed alarm is unlikely to occur and a highly reliable servo control system is obtained.

図30はこの発明によるサーボ制御システムの自動適正化方法の実施に使用するサーボ制御システムの実施例を示している。このサーボ制御システムは、位置制御部11が演算した速度指令の最大値をクランプする制御部37を含んでいる。これにより、電流制限に達した場合でも、速度指令を一定値VMAX (モータ最高回転数1.2倍程度)でクランプすることにより、オーバーシュート量を抑えることができる。 FIG. 30 shows an embodiment of the servo control system used for carrying out the method for automatically optimizing the servo control system according to the present invention. This servo control system includes a control unit 37 that clamps the maximum value of the speed command calculated by the position control unit 11. As a result, even when the current limit is reached, the amount of overshoot can be suppressed by clamping the speed command at a constant value V MAX (about the maximum motor speed 1.2 times).

この実施例では、早送り加減速中のみ速度指令をクランプする事によりオーバーシュート量を抑え、加速度の大きな指令に対する追従性を犠牲にせず、高速の切削などに影響を与えないようにする。   In this embodiment, the speed command is clamped only during rapid traverse acceleration / deceleration to suppress the amount of overshoot, without sacrificing the ability to follow a command with a large acceleration, and not affecting high-speed cutting.

図31はこの実施例における速度指令クランプルーチンを示している。先ずステップS2201では、速度指令のクランプを解除する。つぎにステップS2202では、NC装置が出力する単位時間当たりの位置指令の変化量により早送り加減速中であるか否かを判別する。加減速中の場合にはステップS2203へ進み、そうでない場合にはステップS2201に戻る。   FIG. 31 shows a speed command clamping routine in this embodiment. First, in step S2201, the speed command clamp is released. Next, in step S2202, it is determined whether fast-feed acceleration / deceleration is being performed based on the amount of change in position command per unit time output by the NC device. If acceleration / deceleration is in progress, the process proceeds to step S2203; otherwise, the process returns to step S2201.

ステップS2203では、早送り加減速中のため速度指令の最大クランプ値をVMAX とする。ステップS2204では、位置制御により演算された速度指令がVMAX を超えているか否かを判別する。速度指令がVMAX を超えた場合にはステップS2205へ進み、ステップS2205では、速度指令の絶対値をVMAX として出力し、ステップS2201へ戻る。 In step S2203, since the rapid traverse acceleration / deceleration is being performed, the maximum clamp value of the speed command is set to V MAX . In step S2204, it is determined whether or not the speed command calculated by the position control exceeds V MAX . If the speed command exceeds V MAX , the process proceeds to step S2205. In step S2205, the absolute value of the speed command is output as V MAX and the process returns to step S2201.

これにより、加減速中のみ速度指令の最高速度を一定値でクランプすることが行われ、早送り加減速時の時定数の設定が小さかったり、異常負荷の影響でサーボアンプの最大出力トルクに達する様な場合でも、オーバーシュートが起こり難くなる。   As a result, the maximum speed command is clamped at a constant value only during acceleration / deceleration, so that the time constant setting during rapid traverse acceleration / deceleration is small or the maximum output torque of the servo amplifier is reached due to abnormal loads. Even in such a case, overshoot is less likely to occur.

この実施例では、電流指令値が電流制限に達した場合にのみ速度指令をクランプする。図32はこの実施例における速度指令クランプルーチンを示している。ステップS2301では、速度指令のクランプを解除し、つぎにステップS2302では、電流指令値Inをサンプリングする。   In this embodiment, the speed command is clamped only when the current command value reaches the current limit. FIG. 32 shows a speed command clamping routine in this embodiment. In step S2301, the speed command clamp is released, and in step S2302, the current command value In is sampled.

つぎにステップS2303では、電流指令値Inが電流制限値に達しているか否かを判別する。電流指令値Inが電流制限値に達している場合にはステップS2304に進み、達していない場合にはステップS2305へ進む。ステップS2304では、速度指令の最大クランプ値をVMAX とする。 In step S2303, it is determined whether or not the current command value In has reached the current limit value. If the current command value In has reached the current limit value, the process proceeds to step S2304, and if not, the process proceeds to step S2305. In step S2304, the maximum clamp value of the speed command is set to V MAX .

ステップS2305では、位置制御により演算された速度指令がVMAX を超えているか否かを判別する。速度指令がVMAX を超えた場合にはステップS2306へ進み、ステップS2306では、速度指令の絶対値をVMAX として出力し、ステップS2301へ戻る。 In step S2305, it is determined whether or not the speed command calculated by the position control exceeds V MAX . If the speed command exceeds V MAX , the process proceeds to step S2306. In step S2306, the absolute value of the speed command is output as V MAX and the process returns to step S2301.

これにより早送り加減速時の時定数の設定が小さかったり、異常負荷の影響でサーボアンプの最大出力トルクに達する様な場合でもオーバーシュートが起こり難く、安定で信頼性の高いサーボ制御システムが得られる。   This makes it possible to obtain a stable and highly reliable servo control system that is less likely to cause overshoot even when the time constant setting during rapid traverse acceleration / deceleration is small or the maximum output torque of the servo amplifier is reached due to abnormal loads. .

この実施例では、早送り加速中に、電流指令値が電流制限に達した場合の速度クランプ機能を更に発展させ、速度指令としてオーバーシュートさせる分の位置ドループ量を間引き、減速開始点から減速時定数に分配加算する。   In this embodiment, during the fast-forward acceleration, the speed clamp function when the current command value reaches the current limit is further developed, the amount of position droop for overshooting as the speed command is thinned out, and the deceleration time constant from the deceleration start point Add to the distribution.

図33はこの実施例の動作フローを示している。ステップS2401では、早送り中であるか否かを判別する。早送り中の場合はステップS2402に進み、そうでない場合はステップS2401に戻る。ステップS2402では、電流指令値が電流制限に達しているか否かを判別する。電流指令値が電流制限に達している場合にはステップS2403へ進み、そうでない場合はステップS2401へ戻る。   FIG. 33 shows the operation flow of this embodiment. In step S2401, it is determined whether fast-forwarding is being performed. If fast-forwarding is in progress, the process proceeds to step S2402. If not, the process returns to step S2401. In step S2402, it is determined whether or not the current command value has reached the current limit. If the current command value has reached the current limit, the process proceeds to step S2403; otherwise, the process returns to step S2401.

ステップS2403では、速度指令をモータ最高回転数VMOでクランプする。そしてVMOから位置ループゲインを演算して得られる最大位置ドループ量DMAX と実ドループ量Dとを比較し、超えている部分の位置ドループDER部分を位置指令から間引く処理を加速中行い、減速を待つ。ステップS2404では、減速であるか否かを判別し、減速が開始されると、ステップS2405へ進む。ステップS2405では、減速が開始された瞬間から間引かれた位置指令分DERを減速時にたし込む。このように制御された速度指令と電流指令の関係は図34に示されている。 In step S2403, clamping the speed command at the motor maximum speed V MO. Then, the maximum position droop amount D MAX obtained by calculating the position loop gain from V MO is compared with the actual droop amount D, and the process of decimating the excess portion of the position droop D ER from the position command is performed during acceleration. Wait for deceleration. In step S2404, it is determined whether or not the vehicle is decelerating. When deceleration is started, the process proceeds to step S2405. In step S2405, the position command amount D ER thinned out from the moment when deceleration is started is added during deceleration. The relationship between the speed command and the current command controlled in this way is shown in FIG.

これにより早送り加減速時の時定数の設定が小さかったり、異常負荷の影響でサーボアンプの最大出力トルクに達する様な場合でもオーバーシュートが起こり難く、安定で信頼性の高いサーボ制御システムが得られる。   This makes it possible to obtain a stable and highly reliable servo control system that is less likely to cause overshoot even when the time constant setting during rapid traverse acceleration / deceleration is small or the maximum output torque of the servo amplifier is reached due to abnormal loads. .

この実施例では、早送り加速中に電流指令値が電流制限値に達した場合、単位時間当たりの位置指令(指令速度)を減速させることにより、オーバーシュートの発生しにくく、誤差過大アラームになり難いようにする。なお、複数軸の補間運転の際には全軸に対し軌跡がずれないように本動作を行う。   In this embodiment, when the current command value reaches the current limit value during fast-forward acceleration, the position command (command speed) per unit time is reduced, so that overshoot is unlikely to occur and an error excessive alarm is unlikely. Like that. Note that this operation is performed so that the trajectory does not deviate with respect to all axes during the multi-axis interpolation operation.

図35はこの実施例の動作フローを示している。ステップS2501では、早送り中であるか否かを判別する。早送り中の場合はステップS2502に進み、そうでない場合はステップS2501に戻る。ステップS2502では、電流指令値が電流制限値に達しているか否かを判別する。電流指令値が電流制限値に達していれば、ステップS2503へ進む。   FIG. 35 shows an operation flow of this embodiment. In step S2501, it is determined whether fast-forwarding is being performed. If fast-forwarding is in progress, the process proceeds to step S2502, and if not, the process returns to step S2501. In step S2502, it is determined whether or not the current command value has reached the current limit value. If the current command value has reached the current limit value, the process proceeds to step S2503.

ステップS2503では、NC装置の内部に設定されたサーボモデルの電流指令が電流制御値レベル以上にならないように単位時間あたりの位置指令の変化量を制限する。すなわち、位置指令を間引くことを行う。電流制御が解除されれば、その時点で間引きによる不足分の位置指令をある時定数をもって、あるいは時間分配にて与え、絶対位置を合わせる。これによりオーバーシュートの発生しにくく、誤差過大アラームになり難くなる。   In step S2503, the change amount of the position command per unit time is limited so that the current command of the servo model set in the NC apparatus does not exceed the current control value level. That is, the position command is thinned out. When the current control is released, the position command for the shortage due to thinning is given at a certain time constant or by time distribution, and the absolute position is adjusted. As a result, it is difficult for an overshoot to occur and an error excessive alarm is unlikely to occur.

この実施例では、異常負荷の影響で早送り中にサーボアンプの最大出力トルクに達する様な場合、その間のみ全軸の位置ループゲインを低下させて誤差過大などが発生しないようにする。   In this embodiment, when the maximum output torque of the servo amplifier is reached during rapid traverse due to the abnormal load, the position loop gain of all the axes is reduced only during that time so as not to cause an excessive error.

図36はこの実施例の動作フローを示している。なお、一般的に加速の方が減速時よりも必要トルクが大きいから、ここでは加速時に絞って説明する。ステップS2601では、早送り中であるか否かを判別する。早送り中である場合にはステップS2602へ進む。ステップS2602では、電流指令値が電流制限値に達しているか否かを判別する。電流指令値が電流制限値に達していれば、ステップS2603へ進む。   FIG. 36 shows the operation flow of this embodiment. In general, the required torque for acceleration is larger than that for deceleration. Therefore, the following description will be focused on acceleration. In step S2601, it is determined whether fast-forwarding is being performed. If fast forward is in progress, the process advances to step S2602. In step S2602, it is determined whether or not the current command value has reached the current limit value. If the current command value has reached the current limit value, the process proceeds to step S2603.

ステップS2603では、ドループ量が理想値よりも大きな値となり、NC装置がサーボアンプ制御部の電流制限に達した軸の位置ループゲインを下げて行き電流制限が解除された時点で、位置ループゲインをこの早送り中、固定、または一定速度運転に達すれば、徐々に元の値に戻す。これにより、異常負荷の影響で早送り中にサーボアンプの最大出力トルクに達するような場合、その間のみ全軸の位置ループゲインを低下させてサーボ系の動きが緩やかになり、誤差過大などの発生が起こることなく稼働を続行することができる。   In step S2603, when the droop amount becomes larger than the ideal value and the NC device lowers the position loop gain of the axis that has reached the current limit of the servo amplifier controller and the current limit is released, the position loop gain is set. If the fixed or constant speed operation is reached during this fast-forwarding, the value is gradually returned to the original value. As a result, if the maximum output torque of the servo amplifier is reached during rapid traverse due to abnormal load, the position loop gain of all axes is reduced only during that time, and the servo system moves more slowly, resulting in excessive errors. Operation can continue without happening.

この実施例では、早送り中に異常負荷の影響によってサーボアンプの最大出力トルクに達した場合、全軸の位置ループゲインをある時定数で低減し、電流制限が解除された時点の位置ループゲインで、この変化を終了し、移動が終わるまで同一ゲインにより制御する。次回の運転では、上述の加減速時定数適正化により早送り時定数が変更されるため、元の設定位置ループゲインにより移動を開始する。   In this embodiment, when the maximum output torque of the servo amplifier is reached due to the influence of an abnormal load during rapid traverse, the position loop gain of all axes is reduced by a certain time constant, and the position loop gain at the time when the current limit is released This change is finished, and control is performed with the same gain until the movement is finished. In the next operation, since the rapid feed time constant is changed by the above-described optimization of the acceleration / deceleration time constant, movement starts with the original set position loop gain.

図37はこの実施例の動作フローを示している。一般的に加速の方が減速時よりも必要トルクが大きいので、ここでも加速時に絞って説明する。ステップS2701では、早送り中であるか否かを判別する。早送り中である場合にはステップS2702へ進む。   FIG. 37 shows the operation flow of this embodiment. In general, acceleration requires a larger torque than when decelerating, so here again, the explanation will be focused on acceleration. In step S2701, it is determined whether fast-forwarding is being performed. If fast-forwarding is in progress, the process advances to step S2702.

ステップS2702では、電流指令値が電流制限値に達しているであるか否かを判別する。電流指令値が電流制限値に達していれば、ステップS2703へ進む。ステップS2703では、ドループ量が理想値よりも大きな値となり、NC10はサーボアンプ制御部の電流制限に達した軸の位置ループゲインをある時定数をもって低減し、電流制限が解除された時点で位置ループゲインをこの早送り中、固定、または一定速度運転に達すれば、徐々に元の値に上げる。これにより誤差過大アラームが発生することなくシステムの稼働を続行することができる。   In step S2702, it is determined whether or not the current command value has reached the current limit value. If the current command value has reached the current limit value, the process proceeds to step S2703. In step S2703, the droop amount becomes larger than the ideal value, and the NC 10 reduces the position loop gain of the axis that has reached the current limit of the servo amplifier controller with a certain time constant, and when the current limit is released, the position loop is reached. If the gain reaches a fixed or constant speed operation during this rapid traverse, it gradually increases to the original value. As a result, the operation of the system can be continued without causing an excessive error alarm.

この実施例では、早送り中、異常負荷の影響によってサーボアンプの最大出力トルクに達した場合、速度指令がV=モータ定格回転数相当+α(αは、モータ定格回転数の2%程度)の値としたときの位置ループゲインを現在のドループ量から演算し、常に速度指令がVの値を超えないようにする。   In this embodiment, when the maximum output torque of the servo amplifier is reached due to an abnormal load during rapid traverse, the speed command is a value of V = corresponding to the motor rated speed + α (α is about 2% of the motor rated speed). The position loop gain is calculated from the current droop amount so that the speed command does not always exceed the value of V.

図38はこの実施例の動作フローを示している。一般的に加速の方が減速時よりも必要トルクが大きいので、ここでも加速時に絞って説明する。ステップS2801では、早送り中であるか否かを判別する。早送り中であれば、ステップS2802へ進む。   FIG. 38 shows the operation flow of this embodiment. In general, acceleration requires a larger torque than when decelerating, so here again, the explanation will be focused on acceleration. In step S2801, it is determined whether fast-forwarding is being performed. If fast-forwarding is in progress, the process advances to step S2802.

ステップS2802では、電流指令値が電流制限値に達しているか否かを判別する。電流指令値が電流制限値に達すれば、ステップS2803へ進む。ステップS2803では、ドループ量が理想値よりも大きな値となり、NC装置がサーボアンプ制御部の電流制限になった軸の位置ループゲインKpを次式により計算される値に低減し、電流制限値が解除された時点で位置ループゲインKpをこの早送り中、固定、または一定速度運転に達すると、徐々に元の値に上げる。   In step S2802, it is determined whether or not the current command value has reached the current limit value. If the current command value reaches the current limit value, the process proceeds to step S2803. In step S2803, the droop amount becomes a larger value than the ideal value, and the NC device reduces the position loop gain Kp of the axis that is the current limit of the servo amplifier control unit to a value calculated by the following equation. When the position loop gain Kp reaches a fixed or constant speed operation during this fast-forwarding at the time of release, it gradually increases to the original value.

Kp=(モータの定格回転数+α)/60・D
Dはドループ量である。
Kp = (rated motor speed + α) / 60 · D
D is the droop amount.

これにより、この実施例でも誤差過大アラームが発生することなく、システムの稼働を続行することができる。   Thereby, even in this embodiment, it is possible to continue the operation of the system without generating an excessive error alarm.

位置フィードバックに用いる検出器の絶対位置化や高分解能化の進展にともないI/Fの方法も多種多様になっており、これらのあらゆる検出器に対応するためには受信ラインを極力併用する必要がある。   With the progress of absolute positioning and high resolution of detectors used for position feedback, various I / F methods have been used, and it is necessary to use reception lines as much as possible in order to support all these detectors. is there.

この実施例では、3種類の異なる検出器I/Fに対応した受信ラインとサーボパラメータによる検出器の設定に頼らず自ら取り付けられた検出器の種類を電源投入時に自動判別し、パラメータで指定された検出器タイプと実際に接続されている検出器が異なる場合にはパラメータ異常アラームを発生する。   In this embodiment, the type of detector attached by itself is automatically determined at power-on without depending on the setting of the detector by the receiving line and servo parameters corresponding to three different types of detector I / F, and is specified by the parameter. If the detected detector type and the actually connected detector are different, a parameter error alarm is generated.

図39の左側はフィードバック検出回路例を示している。このフィードバック検出回路は、パルス出力の位置、速度制御要ABZ相+同期モータの初期磁極用UVW相を有するインクリメンタル検出器と、初期的に絶対位置をシリアル通信で送受信(RQとDT)し、その後の交信をA、B、Z相で行う絶対位置検出器と、常に絶対位置データをシリアル通信(RQとDTのみ)で行う検出器の3種類の入出力回路を共用する回路である。   The left side of FIG. 39 shows an example of a feedback detection circuit. This feedback detection circuit initially transmits and receives the absolute position by serial communication (RQ and DT) with the incremental detector having the position of the pulse output, the speed control required ABZ phase + the UVW phase for the initial magnetic pole of the synchronous motor, and then This is a circuit that shares three types of input / output circuits: an absolute position detector that performs communication in the A, B, and Z phases and a detector that always performs absolute position data in serial communication (only RQ and DT).

図39において、左側上からのA相、B相、Z相、U相、V相、W相の差動入力である。この例ではU相とRQ(シリアルデータリクエスト)、V相とDT(シリアルデータライン)を兼用している。   In FIG. 39, it is the differential input of the A phase, B phase, Z phase, U phase, V phase, and W phase from the upper left side. In this example, the U phase and RQ (serial data request) are combined, and the V phase and DT (serial data line) are combined.

このフィードバック検出回路は、差動レシーバ171a〜171fと、差動の入力が接続されている事を検出するイクスクルシブ回路172a〜172fと、ABZ相パルスにより計数されるインクリメンタルカウンタ(フィードバック量作成カウンタ)173と、シリアル通信のうちリクエスト部分をサポートするシリアルリクエストI/F回路174と、検出器からのデータを格納する受信バッファ(シリアルデータ受信I/F回路)175と、初期磁極用UVW相の状態を観察するUVW相リードポート176と、各相の無信号状態を観察するための各相無信号状態リードポート177とを有している。なお、イクスクルシブ回路には、図40に示されているように、終端抵抗が接続されているため、イクスクルシブ回路はオープン状態では必ず出力が1となる。   This feedback detection circuit includes differential receivers 171a to 171f, exclusive circuits 172a to 172f for detecting that a differential input is connected, and an incremental counter (feedback amount creation counter) 173 that is counted by ABZ-phase pulses. The serial request I / F circuit 174 that supports the request part of serial communication, the reception buffer (serial data reception I / F circuit) 175 for storing data from the detector, and the state of the initial magnetic pole UVW phase It has a UVW phase lead port 176 for observing and a phase no signal state read port 177 for observing the no signal state of each phase. As shown in FIG. 40, since the termination resistor is connected to the exclusive circuit, the output is always 1 when the exclusive circuit is open.

図39の右側は3種類の検出器が接続された場合のリードポート177の状態を示している。シリアル検出器リクエストラインのドライバイネーブルラインは、電源投入時にはディーゼブルにしておき、6個の入力状態を検出器が正常だとすると、図39の右側に示されているような情報が得られる。この情報とNC装置より送られてくる検出器型名パラメータを照合し、相違する場合はパラメータ異常アラームを発生させる。   The right side of FIG. 39 shows the state of the read port 177 when three types of detectors are connected. The driver enable line of the serial detector request line is disabled when the power is turned on, and if the detector has normal six input states, information as shown on the right side of FIG. 39 is obtained. This information is compared with the detector model name parameter sent from the NC device, and if they are different, a parameter abnormality alarm is generated.

図41はこのパラメータ異常診断ルーチンを示している。先ず、ステップS2901では、全相入力ラインと設定し、つぎのステップS2902では、無信号状態を調べる。   FIG. 41 shows this parameter abnormality diagnosis routine. First, in step S2901, all-phase input lines are set, and in next step S2902, the no-signal state is checked.

つぎにステップS2903では、無信号状態により接続されている検出器を判定する。ステップS2904では、検出器型名を示すパラメータと接続されている検出器を照合する。ステップS2905では、検出器型名を示すパラメータと接続されている検出器とが一致しているか否かを判別する。一致しない場合には、ステップS2906へ進み、パラメータ異常アラームを発生させシステムダウンさせる。これにより、パラメータで指定された検出器タイプと実際に接続されている検出器が異なる場合にはパラメータ異常アラームが発生し、不具合発生時の原因追求が容易に行われるようになる。   In step S2903, the connected detector is determined based on the no-signal state. In step S2904, the detector indicating the detector type name is collated with the connected detector. In step S2905, it is determined whether or not the parameter indicating the detector model name matches the connected detector. If they do not match, the process proceeds to step S2906, where a parameter abnormality alarm is generated and the system is brought down. As a result, when the detector type specified by the parameter is different from the detector actually connected, a parameter abnormality alarm is generated, and the cause of the trouble can be easily pursued.

この実施例では、上述の自動判別によってパラメータで指定された検出器と異なる場合には、実際に接続された検出器のI/Fに切り換え、検出器の接続状態を自動的に適正化する。   In this embodiment, when it is different from the detector specified by the parameter by the above-mentioned automatic discrimination, it is switched to the I / F of the actually connected detector, and the connection state of the detector is automatically optimized.

図42はこの実施例の動作フローを示している。先ず、ステップS3001では、全相入力ラインと設定し、つぎのステップS3002では、無信号状態を調べる。つぎにステップS3003では、無信号状態により接続されている検出器を判定する。   FIG. 42 shows an operation flow of this embodiment. First, in step S3001, an all-phase input line is set, and in the next step S3002, a no-signal state is checked. In step S3003, the connected detector is determined based on the no-signal state.

ステップS3004では、検出器型名を示すパラメータと接続されている検出器を照合する。ステップS3005では、検出器型名を示すパラメータと接続されている検出器とが一致しているか否かを判別する。一致しない場合には、ステップS3006へ進み、接続されていると判断される検出器のI/Fに送受信部設定を合わせる。これによりパラメータ設定にミスがあっても無信号等のアラームを発生させることなく検出器に合わせた検出回路が構成され、システムが正常に動作する。   In step S3004, the detector indicating the detector model name is collated with the connected detector. In step S3005, it is determined whether or not the parameter indicating the detector model name matches the connected detector. If they do not match, the process advances to step S3006, and the transmission / reception unit setting is matched with the I / F of the detector that is determined to be connected. As a result, even if there is a mistake in the parameter setting, a detection circuit adapted to the detector is formed without generating an alarm such as no signal, and the system operates normally.

以上のように、本発明にかかるサーボ制御システムの異常検出・診断方法および自動適正化方法、並びにサーボ制御システムの異常検出・診断装置および自動適正化装置は、工作機械、ロボット等を制御する数値制御装置等に有用である。   As described above, the abnormality detection / diagnosis method and automatic optimization method of the servo control system according to the present invention, and the abnormality detection / diagnosis device and automatic optimization device of the servo control system are numerical values for controlling machine tools, robots, and the like. Useful for control devices and the like.

サーボモータ駆動装置の一実施例を示すブロック線図である。It is a block diagram which shows one Example of a servomotor drive device. モータ出力端子の結線診断ルーチンを示すフローチャートである。It is a flowchart which shows the connection diagnosis routine of a motor output terminal. 誤結線の判定結果を示す説明図である。It is explanatory drawing which shows the determination result of a misconnection. 誤結線の判定結果を示す説明図である。It is explanatory drawing which shows the determination result of a misconnection. モータ出力端子およびコンバータ母線の接続診断に使用する相電圧検出ルーチンを示すフローチャートである。It is a flowchart which shows the phase voltage detection routine used for the connection diagnosis of a motor output terminal and a converter bus-line. モータ出力端子の接続診断ルーチンを示すフローチャートである。It is a flowchart which shows the connection diagnostic routine of a motor output terminal. コンバータ母線の接続診断ルーチンを示すフローチャートである。It is a flowchart which shows the connection diagnostic routine of a converter bus-line. 電流制御部のゲート制御回路を示すブロック線図である。It is a block diagram which shows the gate control circuit of a current control part. ゲート遮断発生要因の診断ルーチンを示すフローチャートである。It is a flowchart which shows the diagnostic routine of the gate interruption | blocking generation | occurrence | production factor. フィードバックケーブルの配線診断ルーチンを示すフローチャートである。It is a flowchart which shows the wiring diagnosis routine of a feedback cable. パラメータ設定診断ルーチンを示すフローチャートである。It is a flowchart which shows a parameter setting diagnostic routine. 電流制御部の内部構成を示すブロック線図である。It is a block diagram which shows the internal structure of a current control part. 電流制御時の原因追求の診断ルーチンを示すフローチャートである。It is a flowchart which shows the diagnostic routine of the cause pursuit at the time of current control. 位置制御方式自動切換ルーチンを示すフローチャートである。It is a flowchart which shows a position control system automatic switching routine. 極性自動反転ルーチンを示すフローチャートである。It is a flowchart which shows a polarity automatic inversion routine. デュアルフィードバック制御方式のサーボ制御システムを示すブロック線図である。It is a block diagram which shows the servo control system of a dual feedback control system. デュアルフィードバック制御方式のサーボ制御システムにおける極性自動反転ルーチンを示すフローチャートである。It is a flowchart which shows the polarity automatic inversion routine in the servo control system of a dual feedback control system. サーボ制御システムの実施例を示すブロック線図である。It is a block diagram which shows the Example of a servo control system. 時定数適正化ルーチンの一実施例を示すフローチャートである。It is a flowchart which shows one Example of a time constant optimization routine. 時定数適正化ルーチンの他の実施例を示すフローチャートである。It is a flowchart which shows the other Example of time constant optimization routine. 時定数適正化ルーチンの他の実施例を示すフローチャートである。It is a flowchart which shows the other Example of time constant optimization routine. 時定数適正化ルーチンのもう一つの実施例を示すフローチャートである。It is a flowchart which shows another Example of the time constant optimization routine. 時定数適正化ルーチンのもう一つの実施例を示すフローチャートである。It is a flowchart which shows another Example of the time constant optimization routine. 時定数適正化ルーチンの他のもう一つの実施例を示すフローチャートである。It is a flowchart which shows another Example of another time constant optimization routine. 時定数適正化ルーチンの他のもう一つの実施例を示すフローチャートである。It is a flowchart which shows another Example of another time constant optimization routine. 時定数適正化ルーチンの他のもう一つの実施例を示すフローチャートである。It is a flowchart which shows another Example of another time constant optimization routine. 時定数適正化ルーチンの他のもう一つの実施例を示すフローチャートである。It is a flowchart which shows another Example of another time constant optimization routine. 時定数適正化ルーチンの他のもう一つの実施例を示すフローチャートである。It is a flowchart which shows another Example of another time constant optimization routine. 誤差過大判定値変更ルーチンを示すフローチャートである。It is a flowchart which shows an error excessive determination value change routine. 過速度アラーム判定値変更ルーチンを示すフローチャートである。It is a flowchart which shows an overspeed alarm judgment value change routine. サーボ制御システムの一実施例を示すブロック線図である。It is a block diagram which shows one Example of a servo control system. 速度指令クランプルーチンの一実施例を示すフローチャートである。It is a flowchart which shows one Example of a speed command clamp routine. 速度指令クランプルーチンの他の実施例を示すフローチャートである。It is a flowchart which shows the other Example of a speed instruction | command clamp routine. 速度・位置制御ルーチンの一実施例を示すフローチャートである。6 is a flowchart illustrating an example of a speed / position control routine. 速度指令と電流指令との関係を示すグラフである。It is a graph which shows the relationship between a speed command and an electric current command. 速度・位置制御ルーチンの他の実施例を示すフローチャートである。It is a flowchart which shows the other Example of a speed / position control routine. 速度・位置制御ルーチンのもう一つの実施例を示すフローチャートである。It is a flowchart which shows another Example of a speed / position control routine. 速度・位置制御ルーチンの他の一つの実施例を示すフローチャートである。It is a flowchart which shows another one Example of a speed / position control routine. 速度・位置制御ルーチンの他のもう一つの実施例を示すフローチャートである。It is a flowchart which shows another another Example of a speed / position control routine. フィードバック検出回路例および3種類の検出器が接続された場合のリードポートの状態を示す図である。It is a figure which shows the state of a read port when the example of a feedback detection circuit and three types of detectors are connected. イクスクルシブ回路の一例を示す回路図である。It is a circuit diagram which shows an example of an exclusive circuit. パラメータ異常診断ルーチンを示すフローチャートである。It is a flowchart which shows a parameter abnormality diagnosis routine. 検出器の接続状態自動適正化ルーチンを示すフローチャートである。It is a flowchart which shows the connection state automatic optimization routine of a detector. サーボ制御システムにて使用される一般的なサーボモータ駆動装置を示すブロック線図である。It is a block diagram which shows the general servomotor drive device used with a servo control system. 一般的なサーボ制御システムを示すブロック線図である。It is a block diagram which shows a general servo control system. ACサーボモータの電流制御部を示すブロック線図である。It is a block diagram which shows the electric current control part of an AC servomotor.

符号の説明Explanation of symbols

1 3相交流電源,2 整流回路,3 平滑コンデンサ,4 半導体スイッチング回路,5 電流検出部,6 A/D変換器,7 CPU,8 ACサーボモータ,9a、9b、9c 電圧検出回路,10 NC装置,11 位置制御部,12 速度制御部,13 電流制御部,15 減速歯車,16 送りねじ,17 テーブル,18 モータ端検出器,19 機械端検出器,20 速度制御部21 リミッタ,22 d−q座標変換部 23a、23b 電流制御器,24 3相変換部,25 PWM変調部,26 3相変換部,27 トルク算出部,28 モータ位置算出部,29 過電流検出器,30、31、32 ラッチ回路,33、34 アンドゲート 35、36、37 制御部,171a〜171f 差動レシーバ,172a〜172f イクスクルシブ回路,173 インクリメンタルカウンタ(フィードバック量作成カウンタ),174 シリアルリクエストI/F回路,175 受信バッファ(シリアルデータ受信I/F回路),176 UVW相リードポート,177 各相無信号状態リードポート。   DESCRIPTION OF SYMBOLS 1 3 phase alternating current power supply, 2 Rectifier circuit, 3 Smoothing capacitor, 4 Semiconductor switching circuit, 5 Current detection part, 6 A / D converter, 7 CPU, 8 AC servo motor, 9a, 9b, 9c Voltage detection circuit, 10 NC Device, 11 Position control unit, 12 Speed control unit, 13 Current control unit, 15 Reduction gear, 16 Feed screw, 17 Table, 18 Motor end detector, 19 Machine end detector, 20 Speed control unit 21 Limiter, 22 d- q coordinate conversion unit 23a, 23b current controller, 24 three-phase conversion unit, 25 PWM modulation unit, 26 three-phase conversion unit, 27 torque calculation unit, 28 motor position calculation unit, 29 overcurrent detector, 30, 31, 32 Latch circuit, 33, 34 AND gate 35, 36, 37 Control unit, 171a to 171f Differential receiver, 172a to 172f Sib circuit, 173 Incremental counter (feedback amount creation counter), 174 Serial request I / F circuit, 175 Receive buffer (serial data reception I / F circuit), 176 UVW phase read port, 177 No signal state read port for each phase.

Claims (6)

位置指令値と位置フィードバック値との偏差により速度指令を作成し、該作成した速度指令と速度フィードバック値との偏差により電流指令を作成し、該作成した電流指令と電流指令フィードバック値との偏差によりサーボモータを駆動制御するとともに、前記速度制御部から出力される電流指令を所定の電流制限値でクランプするサーボモータ制御方法において、
早送り中である場合は、前記電流指令値が前記所定の電流制限値でクランプされているか否かを判別する第1ステップと、
いずれかの軸の前記電流指令値が所定の電流制限値でクランプされている場合は、当該軸の位置ループゲインを減少させる動作を行うとともに、加えて複数軸の補間運転中である場合には、対象となる全軸に対して当該位置ループゲインを減少させる動作を行う第2のステップと、
前記クランプ解除後、所定の定速度運転に達すれば、位置ループゲインを徐々に元の値まで増加させる第3ステップと、
を備えることを特徴とするサーボモータ制御方法。
A speed command is created based on the deviation between the position command value and the position feedback value, a current command is created based on the deviation between the created speed command and the speed feedback value, and the deviation between the created current command and the current command feedback value is determined. In the servo motor control method for driving and controlling the servo motor and clamping the current command output from the speed control unit with a predetermined current limit value,
A first step of determining whether or not the current command value is clamped at the predetermined current limit value when fast-forwarding is in progress; and
When the current command value of any of the axes is clamped at a predetermined current limit value, an operation to reduce the position loop gain of the axis is performed, and in addition, when interpolation operation of a plurality of axes is in progress A second step of performing an operation of reducing the position loop gain for all the target axes ;
A third step of gradually increasing the position loop gain to the original value when a predetermined constant speed operation is reached after releasing the clamp;
A servo motor control method comprising:
前記第2のステップでは、前記位置ループゲインを所定の時定数をもって減少させることを特徴とする請求項に記載のサーボモータ制御方法。 2. The servo motor control method according to claim 1 , wherein in the second step, the position loop gain is decreased with a predetermined time constant. 位置指令値と位置フィードバック値との偏差により速度指令を作成し、該作成した速度指令と速度フィードバック値との偏差により電流指令を作成し、該作成した電流指令と電流指令フィードバック値との偏差によりサーボモータを駆動制御するとともに、前記速度制御部から出力される電流指令を所定の電流制限値でクランプするサーボモータ制御方法において、
早送り中である場合は、前記電流指令値が前記所定の電流制限値でクランプされているか否かを判別する第1ステップと、
いずれかの軸の前記電流指令値が所定の電流制限値でクランプされている場合は、当該軸に対して、現在の位置偏差およびモータの定格回転数から速度指令をモータ定格回転数相当としたときの位置ループゲイン値を求め、該求めた位置ループゲイン値まで位置ループゲインを減少させる動作を行うとともに、加えて複数軸の補間運転中である場合には、対象となる全軸に対して当該位置ループゲインを減少させる動作を行う第2のステップと、
前記クランプ解除後、所定の定速度運転に達すれば、位置ループゲインを徐々に元の値まで増加させる第3ステップと、
を備えることを特徴とするサーボモータ制御方法。
A speed command is created based on the deviation between the position command value and the position feedback value, a current command is created based on the deviation between the created speed command and the speed feedback value, and the deviation between the created current command and the current command feedback value is determined. In the servo motor control method for driving and controlling the servo motor and clamping the current command output from the speed control unit with a predetermined current limit value,
A first step of determining whether or not the current command value is clamped at the predetermined current limit value when fast-forwarding is in progress; and
When the current command value of any of the axes is clamped at a predetermined current limit value, the speed command is set to be equivalent to the motor rated speed for the axis based on the current position deviation and the rated motor speed. When the position loop gain value is obtained and the position loop gain is decreased to the obtained position loop gain value , and in addition, when multiple axes are being interpolated, the operation is performed for all target axes. A second step of performing an operation of decreasing the position loop gain ;
A third step of gradually increasing the position loop gain to the original value when a predetermined constant speed operation is reached after releasing the clamp;
A servo motor control method comprising:
位置指令値と位置フィードバック値との偏差により速度指令を作成する位置制御部と、該作成した速度指令と速度フィードバック値との偏差により電流指令を作成する速度制御部と、該作成した電流指令と電流指令フィードバック値との偏差によりサーボモータを駆動制御する電流制御部とを備えるサーボモータ制御装置において、
前記速度制御部から出力される電流指令を所定の電流制限値でクランプする第1の制御部と、
早送り中である場合は、前記電流指令値が前記第1の制御部によって前記所定の電流制限値でクランプされているか否かを判別し、いずれかの軸の前記電流指令値が所定の電流制限値でクランプされている場合は、当該軸の位置ループゲインを減少させる動作を行い、加えて複数軸の補間運転中である場合には、対象となる全軸に対して当該位置ループゲインを減少させる動作を行うとともに、前記クランプ解除後、所定の定速度運転に達すれば、位置ループゲインを徐々に元の値まで増加させる第2の制御部と、
を備えることを特徴とするサーボモータ制御装置。
A position control unit that creates a speed command based on a deviation between the position command value and the position feedback value; a speed control unit that creates a current command based on a deviation between the created speed command and the speed feedback value; and In a servo motor control device comprising a current control unit that drives and controls the servo motor by deviation from the current command feedback value,
A first control unit for clamping a current command output from the speed control unit with a predetermined current limit value;
When fast-forwarding is in progress, it is determined whether or not the current command value is clamped at the predetermined current limit value by the first control unit, and the current command value of any of the axes is determined to be a predetermined current limit value. If it is clamped by the value, the position loop gain of the relevant axis is reduced . In addition, if multiple axes are being interpolated, the relevant position loop gain is reduced for all target axes. A second control unit that gradually increases the position loop gain to the original value when a predetermined constant speed operation is reached after releasing the clamp;
A servo motor control device comprising:
前記第2の制御部は、前記位置ループゲインを所定の時定数をもって減少させることを特徴とする請求項に記載のサーボモータ制御装置。 The servo motor control device according to claim 4 , wherein the second control unit decreases the position loop gain with a predetermined time constant. 位置指令値と位置フィードバック値との偏差により速度指令を作成する位置制御部と、該作成した速度指令と速度フィードバック値との偏差により電流指令を作成する速度制御部と、該作成した電流指令と電流指令フィードバック値との偏差によりサーボモータを駆動制御する電流制御部とを備えるサーボモータ制御装置において、
前記速度制御部から出力される電流指令を所定の電流制限値でクランプする第1の制御部と、
早送り中である場合は、前記電流指令値が前記第1の制御部によって前記所定の電流制限値でクランプされているか否かを判別し、いずれかの軸の前記電流指令値が所定の電流制限値でクランプされている場合は、当該軸に対して、現在の位置偏差およびモータの定格回転数から速度指令をモータ定格回転数相当としたときの位置ループゲイン値を求め、該求めた位置ループゲイン値まで位置ループゲインを減少させる動作を行い、加えて複数軸の補間運転中である場合には、対象となる全軸に対して当該位置ループゲインを減少させる動作を行うとともに、前記クランプ解除後、所定の定速度運転に達すれば、位置ループゲインを徐々に元の値まで増加させる第2の制御部と、
を備えることを特徴とするサーボモータ制御装置。
A position control unit that creates a speed command based on a deviation between the position command value and the position feedback value; a speed control unit that creates a current command based on a deviation between the created speed command and the speed feedback value; and In a servo motor control device comprising a current control unit that drives and controls the servo motor by deviation from the current command feedback value,
A first control unit for clamping a current command output from the speed control unit with a predetermined current limit value;
When fast-forwarding is in progress, it is determined whether or not the current command value is clamped at the predetermined current limit value by the first control unit, and the current command value of any of the axes is determined to be a predetermined current limit value. If it is clamped by the value, the position loop gain value when the speed command is equivalent to the motor rated speed is obtained from the current position deviation and the rated motor speed for the relevant axis , and the obtained position loop The position loop gain is reduced to the gain value . In addition, if multiple axes are being interpolated, the position loop gain is reduced for all target axes and the clamp is released. Then, if a predetermined constant speed operation is reached, a second control unit that gradually increases the position loop gain to the original value;
A servo motor control device comprising:
JP2004183068A 2004-06-21 2004-06-21 Servo motor control method and apparatus Expired - Fee Related JP4137849B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004183068A JP4137849B2 (en) 2004-06-21 2004-06-21 Servo motor control method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004183068A JP4137849B2 (en) 2004-06-21 2004-06-21 Servo motor control method and apparatus

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP18800595A Division JP3625901B2 (en) 1995-06-30 1995-06-30 Method and apparatus for automatically optimizing servo control system

Publications (2)

Publication Number Publication Date
JP2004321000A JP2004321000A (en) 2004-11-11
JP4137849B2 true JP4137849B2 (en) 2008-08-20

Family

ID=33475758

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004183068A Expired - Fee Related JP4137849B2 (en) 2004-06-21 2004-06-21 Servo motor control method and apparatus

Country Status (1)

Country Link
JP (1) JP4137849B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI514099B (en) * 2013-03-14 2015-12-21 Mitsubishi Electric Corp Servo control device
US10008854B2 (en) 2015-02-19 2018-06-26 Enphase Energy, Inc. Method and apparatus for time-domain droop control with integrated phasor current control

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2890374B1 (en) * 2005-09-02 2009-05-01 Messier Bugatti Sa METHOD FOR MANAGING AN ELECTROMECHANICAL BRAKE ACTUATOR, IN PARTICULAR FOR AN AIRCRAFT
JP4644137B2 (en) * 2006-02-15 2011-03-02 オークマ株式会社 Position control device
JP2008043165A (en) * 2006-08-10 2008-02-21 Matsushita Electric Ind Co Ltd Position information confirming method
JP5055896B2 (en) * 2006-08-25 2012-10-24 株式会社明電舎 PM motor magnetic pole position estimation method
JP5125283B2 (en) * 2007-07-24 2013-01-23 富士電機株式会社 Electric motor control device and electric motor control program
US9054622B2 (en) 2009-09-15 2015-06-09 Toshiba Kikai Kabushiki Kaisha Method of controlling a current of a motor and control device of a motor
JP5634693B2 (en) * 2009-09-15 2014-12-03 東芝機械株式会社 Motor current control method and control apparatus
EP2495855B8 (en) * 2011-02-22 2019-07-10 Robert Bosch GmbH Method for power loss reduction in the voltage bracketing of active rectifier circuits
JP6200859B2 (en) * 2014-06-11 2017-09-20 株式会社日立産機システム Motor control device and erroneous wiring detection method used therefor
JP6100816B2 (en) 2015-02-19 2017-03-22 ファナック株式会社 Numerical control device for speed control to suppress excessive position deviation
JP7045209B2 (en) * 2018-01-31 2022-03-31 株式会社荏原製作所 A method for determining a setup abnormality of a control unit of a pump device, a pump device, and a variable speed control means in the pump device.
JP7213471B2 (en) * 2018-04-27 2023-01-27 パナソニックIpマネジメント株式会社 Motor drive and transport system
JP6952836B1 (en) * 2020-06-10 2021-10-27 三菱電機株式会社 Inverter device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI514099B (en) * 2013-03-14 2015-12-21 Mitsubishi Electric Corp Servo control device
US10008854B2 (en) 2015-02-19 2018-06-26 Enphase Energy, Inc. Method and apparatus for time-domain droop control with integrated phasor current control
US10951037B2 (en) 2015-02-19 2021-03-16 Enphase Energy, Inc. Method and apparatus for time-domain droop control with integrated phasor current control
US11355936B2 (en) 2015-02-19 2022-06-07 Enphase Energy, Inc. Method and apparatus for time-domain droop control with integrated phasor current control

Also Published As

Publication number Publication date
JP2004321000A (en) 2004-11-11

Similar Documents

Publication Publication Date Title
JP3625901B2 (en) Method and apparatus for automatically optimizing servo control system
JP4137849B2 (en) Servo motor control method and apparatus
JP3970829B2 (en) Servo control device
EP2944502B1 (en) Electric motor vehicle
US7498761B2 (en) Motor control method and motor control apparatus
CN101456513B (en) Full-digital portal crane control system and control method
US10720872B2 (en) Motor control device and machine tool system for controlling motor in accordance with amount of drop in power supply voltage
US20120262136A1 (en) Enhanced phase control circuit and method for a multiphase power converter
US8736217B2 (en) Servo motor control device for controlling servo motor configured to drive feed axis of machine tool
US7642740B2 (en) Servomotor controller
CN101977009B (en) Control method of sine wave linear motor for feed driving of high-precision numerical control machine
JP5623757B2 (en) Motor control method and apparatus
DE102013005941A1 (en) Control device for a synchronous motor for controlling a synchronous motor when performing an energy recovery operation and for stopping the synchronous motor in case of failure of the power supply
US8810168B2 (en) Rotating machine controller
DE19607688B4 (en) Method and device for detecting and diagnosing an abnormal operating condition in a servo control system
CN114377862A (en) Method and device for controlling a centrifuge, centrifuge and storage medium
US10594242B2 (en) Motor controller
EP1265350B1 (en) Numerical control drive system
JPH09305235A (en) Method and device for controlling position of servomotor
JP3042385B2 (en) Failure detection method and detection device for AC servomotor position detection circuit
JP6673533B2 (en) Motor drive device and motor drive system
JPH10243693A (en) Stepping motor driving circuit
JP5879870B2 (en) Robot system
US20230396054A1 (en) Current protection to prevent overcurrent in electrical grids and motors
JP2011024295A (en) Motor controller and method of stopping motor at current abnormality detection

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071225

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080218

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: 20080513

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080604

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110613

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120613

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130613

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees