JP2004103031A - Malfunction detection/diagnosis method and device for servo control system, and automatic rectification method and device therefor - Google Patents

Malfunction detection/diagnosis method and device for servo control system, and automatic rectification method and device therefor Download PDF

Info

Publication number
JP2004103031A
JP2004103031A JP2003352775A JP2003352775A JP2004103031A JP 2004103031 A JP2004103031 A JP 2004103031A JP 2003352775 A JP2003352775 A JP 2003352775A JP 2003352775 A JP2003352775 A JP 2003352775A JP 2004103031 A JP2004103031 A JP 2004103031A
Authority
JP
Japan
Prior art keywords
acceleration
deceleration
control system
detector
servo control
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.)
Granted
Application number
JP2003352775A
Other languages
Japanese (ja)
Other versions
JP3970829B2 (en
Inventor
Mitsuyasu Kachi
加知 光康
Kazuhiko Tsutsui
筒井 和彦
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 JP2003352775A priority Critical patent/JP3970829B2/en
Publication of JP2004103031A publication Critical patent/JP2004103031A/en
Application granted granted Critical
Publication of JP3970829B2 publication Critical patent/JP3970829B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Control Of Position Or Direction (AREA)
  • Testing And Monitoring For Control Systems (AREA)
  • Numerical Control (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a high-reliability servo control system by facilitating cause investigation in trouble occurrence by generating a parameter abnormality alarm when a detector type designated by a parameter is different from that of a detector actually connected. <P>SOLUTION: Transmission-side connection states of a plurality of receiving circuits for detectors are detected to automatically determine the type number of the detector actually connected in turning power on, and when the detector type designated by a parameter is different from that of the detector actually connected, the parameter abnormality alarm is generated. <P>COPYRIGHT: (C)2004,JPO

Description

 この発明は、工作機械、ロボット等を制御する数値制御装置等にて使用されるサーボ制御システムの異常検出・診断方法および自動適正化方法、並びにサーボ制御システムの異常検出・診断装置および自動適正化装置に関するものである。 The present invention relates to an abnormality detection / diagnosis method and an automatic optimization method of a servo control system used in a numerical controller for controlling a machine tool, a robot, and the like, and an abnormality detection / diagnosis apparatus and an automatic optimization method of a servo control system. It concerns the device.

 図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 device used in a servo control system. The servo motor driving device is supplied with a rectifier circuit 2 for rectifying three-phase AC supplied from a three-phase AC power supply 1, a smoothing capacitor 3 for smoothing a rectified output of the rectifier circuit 2, and a DC that is smoothed by the smoothing capacitor 3. A semiconductor switching circuit 4 serving as an output part of a PWM circuit for outputting the PWM-converted three-phase alternating current to the AC servomotor 8, and shunting the U-phase and V-phase current values flowing from the semiconductor switching circuit 4 to the AC servomotor 8. The current detection unit 5 detects by the resistance CT, the A / D converter 6 that converts an analog voltage signal proportional to the current value detected by the current detection unit 5 into a digital signal, and the A / D converter 6 outputs. The digital signal is fetched as a current feedback signal, and predetermined arithmetic processing is performed based on the current feedback value and the speed command value. 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 constituted by 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 a motor end or a 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 that flows through the servomotor 8 based on a difference 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 drives the feed screw 16 to rotate by the reduction gear 15 and linearly moves the table 17 which is the 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 number of rotations, the rotation angle, and the position of a magnetic pole of the servo motor 8 is used. A load-side detector 19 for detecting the position is used, and a feedback signal is obtained by these detectors.

 図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 a current control unit of the AC servomotor. The current control unit limits the q-axis current command value output by the speed control unit 20 to protect a semiconductor element forming a PWM modulation unit 25 described later, and a speed control unit 20 that outputs a q-axis current command value. Limiter 21, a d-q coordinate converter 22, which converts U-phase and V-phase currents output to the AC servomotor 8 into d- and q-axis currents, a d-axis current command value and a d-q coordinate converter. A current controller 23a for generating a d-axis voltage command such that a deviation from the d-axis current value output from the output 22 is zero and a q-axis current command value output from the speed control unit 20 and d-q coordinates A current controller 23b for generating a q-axis voltage command such that the deviation from the q-axis current value output from the conversion unit 22 is reduced to zero, and d and q-axis voltages output from the current controllers 23a and 23b. Converts the command into three phases and converts the U, V, W phase voltage commands 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 full closed loop is represented by the position command value. A speed command is generated by the position controller 11 so as to match the speed command, and the q-axis current command is generated by the speed controller 12 so that the speed command value matches the speed feedback value detected by the motor end detector 18. You. Normally, 0 is given to the d-axis current command with respect to the q-axis current command.

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

 つぎに上記のような従来のサーボモータ駆動装置における保護機能の動作について説明する。上述のように、NC装置10からの位置指令に追従するようにq軸電流指令が生成されたときに、これが半導体スイッチング回路4の許容電流値を超えるような場合には、リミッタ21によって電流制限が行われる。 Next, the operation of the protection function in the above-described conventional servo motor driving device 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 and exceeds the allowable current value of the semiconductor switching circuit 4, the current limit is set by the limiter 21. Is performed.

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

 また、半導体スイッチング回路4の各トランジスタに流れる電流を検出し、これが過電流と認識されるか、あるいは多軸の駆動装置やコンバータ部、あるいは、NC装置からのゲート遮断要求が発生した場合には、ハードウェアにより半導体スイッチング回路部の各トランジスタのゲートが遮断される。 In addition, 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 is generated from a multi-axis driving device, a converter unit, or an NC device, The gate of each transistor of the semiconductor switching circuit is cut off by hardware.

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

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

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

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

 また、機械端検出器を有するフルクローズドループにおいて、偏差過大や過負荷アラーム、フィードバック異常などのアラームが起こった場合、それらの要因をさらに詳細に判別する機能を持たないため、稼働を停止せざるを得なかったり、その原因解明に多くの時間を費やしたりするといった問題点がある。 In addition, in the case of an alarm such as an excessive deviation, an overload alarm, or a feedback abnormality in a fully closed loop having a load-side detector, the operation has to be stopped because it does not have a function of discriminating those factors in more detail. There is a problem that it does not obtain, or spends a lot of time to find out the cause.

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

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

 この発明は、上述のような問題点を解消するためになされたものであり、モータ出力端子の誤結線、モータ出力端子やコンバータ母線の未接続、偏差過大やフィドバック異常などのアラームの要因判別、フィードバックケーブルの誤配線、各種パラメータの誤設定、検出器の接続ミス、加減速時定数不足や異常負荷発生などを的確に検出し、また異常時には自動適正化により自動復旧してシステムダウンを回避し、さらには最適状態でサーボ制御が行われるように各種サーボ制御条件を自動的に変更するサーボ制御システムの異常検出・診断方法および装置を得ることを目的としている。 The present invention has been made in order to solve the above-described problems, and has a function to determine a cause of an alarm such as a wrong connection of a motor output terminal, a disconnection of a motor output terminal or a converter bus, an excessive deviation or a feedback error, and the like. Accurately detects incorrect wiring of feedback cables, incorrect setting of various parameters, incorrect connection of detectors, lack of acceleration / deceleration time constants, occurrence of abnormal loads, etc. It is another object of the present invention to provide a servo control system abnormality detection / diagnosis method and apparatus for automatically changing various servo control conditions so that servo control is performed in an optimum state.

 また、この発明にかかるサーボ制御システムの異常検出・診断方法は、電源オン後の最初の加速時においてサーボモータ出力端子のU相、V相、W相の少なくとも2相に流れる電流を検出し、その電流波形のパターンを監視することによりモータ出力端子の誤結線を検出するものであり、モータ出力端子の誤結線、モータ出力端子やコンバータ母線の未接続、偏差過大やフィドバック異常などのアラームの要因判別、フィードバックケーブルの誤配線、各種パラメータの誤設定、検出器の接続ミス、加減速時定数不足や異常負荷発生などを的確に検出し、また異常時には自動適正化によりシステムダウンを回避し、さらには最適状態でサーボ制御が行われるように各種サーボ制御条件を自動的に変更するサーボ制御システムの異常検出・診断方法および自動適正化方法、並びにサーボ制御システムの異常検出・診断装置および自動適正化装置を得ることを目的としている。 Further, the abnormality detection / diagnosis method of the servo control system according to the present invention detects a current flowing in at least two phases of the U-phase, V-phase, and W-phase of the servo motor output terminal at the first acceleration after power-on, By monitoring the current waveform pattern, it is possible to detect erroneous connection of the motor output terminal, and to cause alarms such as erroneous connection of the motor output terminal, disconnection of the motor output terminal or converter bus, excessive deviation, or feedback error. Judgment, erroneous wiring of feedback cable, erroneous setting of various parameters, erroneous connection of detector, shortage of acceleration / deceleration time constant, occurrence of abnormal load, etc. Is a servo control system that automatically changes various servo control conditions so that servo control is performed in an optimal state. The methods and automated optimization methods, as well as the purpose of obtaining an abnormality detecting and diagnosing apparatus and automatic optimization apparatus of a servo control system.

 上述の目的を達成するために、この発明にかかるサーボ制御システムの異常・診断方法および装置は、電源投入時に複数の検出器用受信回路の送信側接続状態を検出して実際に接続されている検出器型名を自動判別し、パラメータで指定された検出器タイプと実際に接続されている検出器が異なる場合にはパラメータ異常アラームを発生することを特徴とする。 In order to achieve the above-mentioned object, a servo control system abnormality / diagnosis method and apparatus according to the present invention detects a transmission-side connection state of a plurality of detector reception circuits at the time of power-on, and detects an actual connection. The device type name is automatically determined, and when the detector type specified by the parameter is different from the actually connected detector, a parameter abnormality alarm is generated.

 つぎの発明にかかるサーボ制御システムの自動適正化方法および装置は、電源投入時に複数の検出器用受信回路の送信側接続状態を検出して実際に接続されている検出器型名を自動判別し、パラメータで指定された検出器タイプと実際に接続されている検出器が異なる場合には、接続されている検出器に対応する受信回路に切り換えることを特徴とする。 The automatic optimization method and apparatus of the servo control system according to the next invention detects the transmitter connection state of the plurality of detector receiving circuits at power-on, and automatically determines the actually connected detector model name, When the detector type specified by the parameter is different from the actually connected detector, a switch is made to the receiving circuit corresponding to the connected detector.

 つぎの発明にかかるサーボ制御システムの異常検出・診断方法および装置は、サーボモータの出力端子に流れるU相、V相、W相の電流と相電圧とを検出し、相電圧が所定値以上であるにも拘らず電流が流れない相が存在する場合にはモータ出力端子の未接続と判定することを特徴とする。 An abnormality detection / diagnosis method and apparatus of a servo control system according to the next invention detects U-phase, V-phase, and W-phase currents and phase voltages flowing to output terminals of a servomotor, and detects a phase voltage exceeding a predetermined value. When there is a phase in which no current flows despite the existence, it is determined that the motor output terminal is not connected.

 つぎの発明にかかるサーボ制御システムの異常検出・診断方法および装置は、加速時、もしくは減速時におけるモータ出力端子に作用する各相の電圧をすべて検出し、すべての相電圧が0となる場合にはコンバータ母線未接続と判定することを特徴とする。 A servo control system abnormality detection / diagnosis method and apparatus according to the next invention detects all the voltages of each phase acting on a motor output terminal during acceleration or deceleration, and detects all phase voltages when they become zero. Is characterized in that it is determined that the converter bus is not connected.

 つぎの発明にかかるサーボ制御システムの異常検出・診断方法および装置は、サーボモータの出力端子の各相間の電圧を検出して各相のスイッチング電圧を算出し、算出したスイッチング電圧を入力とするフィルタを用いて連続的に滑らかな相電圧を検出することを特徴とする。 An abnormality detection / diagnosis method and apparatus for a servo control system according to the next invention detects a voltage between each phase of an output terminal of a servo motor, calculates a switching voltage of each phase, and a filter having the calculated switching voltage as an input. Is used to continuously detect smooth phase voltages.

 つぎの発明にかかるサーボ制御システムの異常検出・診断方法および装置は、サーボモータの電流制御を行うインバータ部におけるトランジスタへのゲート遮断信号がアラーム作動中でない場合に発生した場合には、そのゲート遮断要求信号が発生した箇所を検知し、その信号が発生した回数を検知箇所ごとに過去の一定時間分メモリに記憶しておき、誤差過大、フィードバック異常等の制御系異常のアラームの要因を判別することを特徴とする。 The method and apparatus for detecting and diagnosing abnormality of a servo control system according to the next invention are characterized in that when a gate cutoff signal to a transistor in an inverter unit for controlling current of a servomotor is generated when an alarm is not in operation, the gate cutoff is performed. A location where a request signal is generated is detected, and the number of times the signal is generated is stored in a memory for a predetermined time in the past for each detected location, and a cause of an alarm of a control system abnormality such as an excessive error or a feedback abnormality is determined. It is characterized by the following.

 つぎの発明にかかるサーボ制御システムの異常検出・診断方法および装置は、機械端検出器を有するフルクローズドループ方式の位置制御において、位置指令、位置フィードバック、速度フィードバック、電流指令、電流フィードバックの極性を電源オン時から監視し、そのすべての信号がある大きさ以上となったときに位置フィードバックだけが逆極性となる場合にはフィードバックケーブル誤配線と判定することを特徴とする。 A servo control system abnormality detection / diagnosis method and apparatus according to the next invention is characterized in that, in a fully closed loop type position control having a load-side detector, a polarity of a position command, a position feedback, a speed feedback, a current command, and a current feedback is determined. It is characterized by monitoring from power-on and determining that the feedback cable is incorrectly wired if only the position feedback has the opposite polarity when all of the signals have a certain magnitude or more.

 つぎの発明にかかるサーボ制御システムの異常検出・診断方法および装置は、機械端検出器を有するフルクローズドループ方式の位置制御において、電源オン時にモータ一回転分等に相当するある決まった量を移動したときのモータ端検出器の検出パルス数と機械端の検出パルス数を比較し、この比較結果より機械のギヤ比、ボールねじピッチ、機械端検出器分解能等の機械パラメータのパラメータ誤設定を検出することを特徴とする。 An abnormality detection / diagnosis method and apparatus for a servo control system according to the next invention moves a certain amount corresponding to one rotation of a motor or the like at the time of power-on in a full closed loop type position control having a load-side detector. The number of pulses detected by the motor-side detector and the number of pulses detected at the machine end are compared, and based on the result of the comparison, erroneous settings of machine parameters such as the machine gear ratio, ball screw pitch, and machine-side detector resolution are detected. It is characterized by doing.

 つぎの発明にかかるサーボ制御システムの異常検出・診断方法および装置は、サーボモータの電流制御を行うソフトウェアにおいて、d軸、q軸電流指令を入力とするサーボモータモデルを作成し、そのモデルの位置フィードバック値と実際のモータ端位置フィードバック値との差が、電流制限後でも所定の許容範囲内にあるにも拘らず偏差過大となる場合には加減速時定数不足であると判定することを特徴とする。 An abnormality detection / diagnosis method and apparatus for a servo control system according to the next invention is characterized in that software for controlling the current of a servomotor creates a servomotor model with d-axis and q-axis current commands as input, and positions the model. If the difference between the feedback value and the actual motor end position feedback value is too large even after the current limit, despite being within a predetermined allowable range, it is determined that the acceleration / deceleration time constant is insufficient. And

 つぎの発明にかかるサーボ制御システムの異常検出・診断方法および装置は、サーボモータの電流制御を行うソフトウェアにおいて、d軸、q軸電流指令を入力とするサーボモータモデルを作成し、そのモデルの位置フィードバック値と実際のモータ端位置フィードバック値との差が所定の許容範囲を超えたとき、イナーシャが許容範囲内にあり、また誤ゲート遮断等が発生していない場合には異常負荷が存在していると判定することを特徴とする。 An abnormality detection / diagnosis method and apparatus for a servo control system according to the next invention is characterized in that software for controlling the current of a servomotor creates a servomotor model with d-axis and q-axis current commands as input, and positions the model. If the difference between the feedback value and the actual motor end position feedback value exceeds a predetermined allowable range, the inertia is within the allowable range, and if no erroneous gate cutoff has occurred, an abnormal load exists. Is determined to be present.

 つぎの発明にかかるサーボ制御システムの自動適正化方法および装置は、機械端検出器を有するフルクローズドループ方式の位置制御において、電源オン時にはセミクローズドループ方式の位置制御を行い、この位置制御期間中に機械端検出器による位置フィードバック信号の極性を判定し、その極性が指令位置の方向と一致していない場合には機械端検出器の位置フィードバック量の極性を反転し、この後にフルクローズドループ方式の位置制御へ移行することを特徴とする。 A method and apparatus for automatically adjusting a servo control system according to the next invention perform a position control of a semi-closed loop system at power-on in a position control of a full closed loop system having a load-side detector. The polarity of the position feedback signal from the load-side detector is determined in the next step.If the polarity does not match the direction of the commanded position, the polarity of the position feedback amount of the load-side detector is inverted, and then the fully closed loop method This is characterized by shifting to the position control.

 つぎの発明にかかるサーボ制御システムの自動適正化方法および装置は、機械端位置検出器を有するフルクローズドループ方式の位置制御において、電源オン時からのモータ端検出器による位置フィードバック量と機械端検出器による位置フィードバック量との差を監視し、その差が所定値以上になれば、機械端検出器による位置フィードバック量の極性を反転することを特徴とする。 A method and an apparatus for automatically optimizing a servo control system according to the next invention provide a position feedback amount and a machine end detection by a motor end detector from a power-on time in a fully closed loop position control having a machine end position detector. The difference from the position feedback amount by the detector is monitored, and when the difference becomes a predetermined value or more, the polarity of the position feedback amount by the machine-side detector is inverted.

 つぎの発明にかかるサーボ制御システムの自動適正化方法および装置は、機械端位置検出器を有するフルクローズドループ方式の位置制御において、デュアルフィードバック制御を行い、電源オン時からのモータ端検出器による位置フィードバック量と機械端検出器による位置フィードバック量との差を監視し、その差が所定値以上になれば、機械端検出器による位置フィードバック量の極性を反転することを特徴とする。 A method and apparatus for automatically optimizing a servo control system according to the next invention performs dual feedback control in a position control of a full closed loop system having a machine end position detector, and performs position control by a motor end detector from a power-on time. The difference between the feedback amount and the position feedback amount by the machine-side detector is monitored, and when the difference is equal to or larger than a predetermined value, the polarity of the position feedback amount by the machine-side detector is inverted.

 つぎの発明にかかるサーボ制御システムの自動適正化方法および装置は、機械端検出器の位置フィードバック量の極性を反転した場合には、そのことの情報を不揮発性メモリに格納し、次回の電源投入時にはこの情報を基に機械端検出器の位置フィードバック量のフィードバック極性を反転させることを特徴とする。 When the polarity of the position feedback amount of the load-side detector is inverted, the information is stored in a non-volatile memory, and the next power-on is performed. Sometimes, the feedback polarity of the position feedback amount of the load-side detector is inverted based on this information.

 つぎの発明にかかるサーボ制御システムの自動適正化方法および装置は、早送り加減速時に必要とされたサーボアンプの出力トルクから可能な最適加減速時定数を演算し、次回加減速時には最適加減速時定数にて指令を作成することを特徴とする。 An automatic optimization method and apparatus for a servo control system according to the next invention calculates an optimal acceleration / deceleration time constant from an output torque of a servo amplifier required at the time of rapid traverse acceleration / deceleration. It is characterized in that a command is created with a constant.

 つぎの発明にかかるサーボ制御システムの自動適正化方法および装置は、早送り加減速時に必要とされたサーボアンプの出力トルクから可能な最適加減速時定数を運動方向毎に個別に演算し、次回加減速時には該当運動方向の最適加減速時定数にて指令を作成することを特徴とする。 The automatic optimization method and apparatus for a servo control system according to the next invention individually calculates an optimal acceleration / deceleration time constant possible for each movement direction from an output torque of a servo amplifier required at the time of rapid traverse acceleration / deceleration. During deceleration, a command is created with an optimal acceleration / deceleration time constant in the corresponding motion direction.

 つぎの発明にかかるサーボ制御システムの自動適正化方法および装置は、早送り加減速時に必要とされたサーボアンプの出力トルクから可能な最適加減速時定数を加速時と減速時とで個別に演算し、次回加減速時には加速と減速とに関して該当する最適加減速時時定数にて指令を作成することを特徴とする。 An automatic optimization method and apparatus for a servo control system according to the next invention separately calculates an optimal acceleration / deceleration time constant that can be obtained during acceleration and deceleration from an output torque of a servo amplifier required during rapid traverse acceleration / deceleration. At the next acceleration / deceleration, a command is created with an optimum acceleration / deceleration time constant corresponding to acceleration and deceleration.

 つぎの発明にかかるサーボ制御システムの自動適正化方法および装置は、早送り加減速時に必要とされたサーボアンプの出力トルクから可能な最適加減速時定数を加速時、減速時および各運動方向毎に個別に演算し、それぞれの送り方向に対する加減速時の加速、減速のそれぞれに必要とされたサーボアンプの出力トルクから可能な時定数を常に演算し、次回加減速時には加速と減速と運動方向に関して該当する最適加減速時時定数にて指令を作成することを特徴とする。 An automatic optimization method and apparatus for a servo control system according to the next invention provides an optimum acceleration / deceleration time constant that can be obtained from an output torque of a servo amplifier required during rapid traverse acceleration / deceleration during acceleration, deceleration, and for each direction of motion. Calculate individually and always calculate possible time constants from the output torque of servo amplifier required for acceleration and deceleration during acceleration and deceleration in each feed direction. It is characterized in that a command is created with a corresponding optimum acceleration / deceleration time constant.

 つぎの発明にかかるサーボ制御システムの自動適正化方法および装置は、早送り加減速中のみ誤差過大アラーム判定位置偏差量を通常よりも大きい値に設定することを特徴とする。 (5) The automatic optimization method and apparatus for a servo control system according to the next invention is characterized in that the excessive error alarm determination position deviation amount is set to a value larger than usual only during rapid traverse acceleration / deceleration.

 つぎの発明にかかるサーボ制御システムの自動適正化方法および装置は、早送り加減速中のみ過速度アラームの判定モータ回転数を通常よりも大きい値に設定することを特徴とする。 (4) The automatic optimization method and apparatus for a servo control system according to the next invention is characterized in that the overspeed alarm determination motor rotation speed is set to a value larger than usual only during rapid traverse acceleration / deceleration.

 つぎの発明にかかるサーボ制御システムの自動適正化方法および装置は、速度指令の最高速度を一定値でクランプすることを特徴とする。 The method and apparatus for automatically adjusting the servo control system according to the next invention is characterized in that the maximum speed of the speed command is clamped at a constant value.

 つぎの発明にかかるサーボ制御システムの自動適正化方法および装置は、加減速中のみ速度指令の最高速度を一定値でクランプすることを特徴とする。 The method and apparatus for automatically adjusting the servo control system according to the next invention are characterized in that the maximum speed of the speed command is clamped at a constant value only during acceleration / deceleration.

 つぎの発明にかかるサーボ制御システムの自動適正化方法および装置は、サーボアンプの最大電流制限中のみ速度指令の最高速度を一定値でクランプすることを特徴とする。 The method and apparatus for automatically adjusting the servo control system according to the next invention is characterized in that the maximum speed of the speed command is clamped at a constant value only during the maximum current limitation of the servo amplifier.

 以上説明したようにこの発明にかかるサーボ制御システムの自動適正化方法および装置においては、電源投入時に複数の検出器様受信回路の送信側接続状態を検出して実際に接続されている検出器型名を自動判別し、パラメータで指定された検出器タイプと実際に接続されている検出器が異なる場合にはパラメータ異常アラームを発生するから、不具合発生時の原因分類を容易にできる信頼性の高いサーボ制御システムが得られる。 As described above, in the method and apparatus for automatically optimizing the servo control system according to the present invention, when the power supply is turned on, the detection side connection state of the plurality of detector-like reception circuits is detected, and the detector type actually connected is detected. Automatically distinguishes the name, and if the detector type specified by the parameter is different from the actually connected detector, a parameter error alarm will be generated. A servo control system is obtained.

 つぎの発明にかかるサーボ制御システムの自動適正化方法および装置においては、電源投入時に複数の検出器様受信回路の送信側接続状態を検出して実際に接続されている検出器型名を自動判別し、パラメータで指定された検出器タイプと実際に接続されている検出器が異なる場合には、接続されている検出器に対応する受信回路に自動的に切り換えるから、パラメータの設定にミスがあっても正常に稼動を始めることができる知能的で信頼性の高いサーボ制御システムが得られる。 In the method and apparatus for automatically optimizing a servo control system according to the next invention, when a power supply is turned on, a connection state on a transmitting side of a plurality of detector-like receiving circuits is detected to automatically determine a detector type actually connected. However, if the detector type specified by the parameter is different from the actually connected detector, it automatically switches to the receiving circuit corresponding to the connected detector. Thus, an intelligent and highly reliable servo control system that can start operating normally can be obtained.

 つぎの発明にかかるサーボ制御システムの異常検出・診断方法および装置においては、サーボモータの出力端子に流れるU相、V相、W相の電流と相電圧をすべて検出し、電圧がある一定の値以上となるにも拘らず電流が流れない相があれば、モータ出力端子の未接続と判定するから、モータ出力端子が未接続であることが的確に分かる。 In the servo control system abnormality detection / diagnosis method and apparatus according to the next invention, all the U-phase, V-phase, and W-phase currents and phase voltages flowing to the output terminal of the servomotor are detected, and the voltage is set to a certain value. Despite the above, if there is a phase in which no current flows, it is determined that the motor output terminal is not connected, so that it is accurately known that the motor output terminal is not connected.

 つぎの発明にかかるサーボ制御システムの異常検出・診断方法および装置においては、加速時、もしくは減速時におけるモータ出力端子に作用する各相の電圧をすべて検出し、すべての相電圧が0となれば、コンバータ母線未接続と判定するから、コンバータ母線が未接続であることが分かる。 In the method and apparatus for detecting and diagnosing abnormality of the servo control system according to the next invention, when all the voltages of each phase acting on the motor output terminal at the time of acceleration or deceleration are detected, and all the phase voltages become 0, Since it is determined that the converter bus is not connected, it is understood that the converter bus is not connected.

 つぎの発明にかかるサーボ制御システムの異常検出・診断方法および装置においては、サーボモータ出力端子の各相間の電圧を検出して各相のスイッチング電圧を算出し、その算出したスイッチング電圧を入力とするフィルタを用いて相電圧を検出するから、大きさを評価しやすい相電圧が得られ、この相電圧を使用する異常検出・診断が確実に行われるようになる。 In the servo control system abnormality detection / diagnosis method and apparatus according to the next invention, a voltage between each phase of a servo motor output terminal is detected to calculate a switching voltage of each phase, and the calculated switching voltage is input. Since the phase voltage is detected by using the filter, a phase voltage whose magnitude can be easily evaluated is obtained, and abnormality detection and diagnosis using the phase voltage can be performed reliably.

 つぎの発明にかかるサーボ制御システムの異常検出・診断方法および装置においては、サーボモータの電流制御を行うインバータ部におけるトランジスタのゲート遮断信号を監視して、その発生箇所を判定するから、誤差過大、フィードバック異常等の制御系異常のアラームの要因が分かり、その後の対応が円滑に行われるようになる。 In the abnormality detection / diagnosis method and apparatus of the servo control system according to the next invention, since the gate cutoff signal of the transistor in the inverter unit for controlling the current of the servomotor is monitored to determine the location where the signal is generated, an excessive error, The cause of the alarm of the control system abnormality such as the feedback abnormality can be understood, and the subsequent response can be smoothly performed.

 つぎの発明にかかるサーボ制御システムの異常検出・診断方法および装置においては、機械端位置検出器を有するクローズドループにおいて、位置指令、位置フィードバック、速度フィードバック、電流指令、電流フィードバックの極性を電源オン時から監視し、そのすべての信号がある大きさ以上となったときに位置フィードバックだけが逆極性であれば、フィードバックケーブル誤配線と判定するから、フィードバックケーブルの誤配線が的確に分かる。 In the servo control system abnormality detection / diagnosis method and apparatus according to the next invention, in a closed loop having a load-side position detector, the polarity of a position command, a position feedback, a speed feedback, a current command, and a current feedback is changed at power-on. If only the position feedback is the reverse polarity when all the signals have a certain magnitude or more, it is determined that the feedback cable is erroneously wired, so that the erroneous wiring of the feedback cable can be accurately understood.

 つぎの発明にかかるサーボ制御システムの異常検出・診断方法および装置においては、機械端位置検出器を有するクローズドループにおいて、電源オン時にモータ一回転分等に相当するある決まった量を移動したときのモータ端の検出パルス数と、機械端の検出パルス数を比較することで、機械のギヤ比、ボールねじピッチ、機械端検出器分解能等の機械パラメータのパラメータ誤設定を検出するから、これらのパラメータが誤設定されていることが的確に分かり、機械の立ち上げ調整時期の能率化を図ることができる。 In the method and apparatus for detecting and diagnosing abnormality of the servo control system according to the next invention, in a closed loop having a machine end position detector, when a certain amount corresponding to one rotation of the motor or the like is moved at the time of power-on. By comparing the number of pulses detected at the motor end with the number of pulses detected at the machine end, erroneous settings of machine parameters such as machine gear ratio, ball screw pitch, and machine end detector resolution are detected. Is correctly set, and the timing of machine start-up adjustment can be streamlined.

 つぎの発明にかかるサーボ制御システムの異常検出・診断方法および装置においては、サーボモータの電流制御を行うソフトウェアにおいて、d軸、q軸電流指令を入力とするサーボモータモデルを作成し、そのモデルの位置フィードバック値と実際のモータ端位置フィードバック値との差が、電流制限後でもある許容範囲内にあり、それにも拘らず誤差過大となる場合には加減速時定数不足であると判定するから、加減速時定数不足であることが的確に分かる。 In the method and apparatus for detecting and diagnosing abnormality of a servo control system according to the next invention, in a software for controlling current of a servo motor, a servo motor model having d-axis and q-axis current commands as inputs is created, and If the difference between the position feedback value and the actual motor end position feedback value is within a certain allowable range even after the current limit and the error is excessively large, it is determined that the acceleration / deceleration time constant is insufficient. It can be clearly understood that the acceleration / deceleration time constant is insufficient.

 つぎの発明にかかるサーボ制御システムの異常検出・診断方法および装置においては、サーボモータの電流制御を行うソフトウェアにおいて、d軸、q軸電流指令を入力とするサーボモータモデルを作成し、そのモデルの位置フィードバック値と実際のモータ端位置フィードバック値との差が所定の許容範囲を超えたとき、ロータイナーシャや負荷イナーシャが許容範囲内にあり、また誤ゲート遮断等が発生していなければ、異常負荷が存在していると判定するから、異常負荷が存在していることが的確に分かる。 In the method and apparatus for detecting and diagnosing abnormality of a servo control system according to the next invention, in a software for controlling current of a servo motor, a servo motor model having d-axis and q-axis current commands as inputs is created, and If the difference between the position feedback value and the actual motor end position feedback value exceeds a predetermined allowable range, if the rotor inertia and load inertia are within the allowable range, and if no erroneous gate interruption has occurred, an abnormal load Is determined to be present, it is accurately known that an abnormal load exists.

 つぎの発明にかかるサーボ制御システムの自動適正化方法および装置においては、最初はセミクローズドループ方式による位置制御機械端位置検出器のフィードバック極性が逆となっていても、それを自動的に適正化してフルクローズドループ方式による位置制御を開始するから、偏差過大、フィードバック異常等のアラームを発生させることなく、システムダウンすることなくシステムを稼働を続行できる。これによりユーザのパラメータ設定、誤接続等の影響を受けない非常に信頼性の高いサーボ制御システムを実現できる。 In the method and apparatus for automatically adjusting the servo control system according to the next invention, even if the feedback polarity of the position control machine-end position detector based on the semi-closed loop method is initially reversed, it is automatically adjusted. Since the position control by the fully closed loop method is started, the system can be operated without generating an alarm such as an excessive deviation and a feedback abnormality and without causing a system down. This makes it possible to realize a very reliable servo control system that is not affected by user parameter settings, erroneous connections, and the like.

 つぎの発明にかかるサーボ制御システムの自動適正化方法および装置においては、機械端位置検出器のフィードバック極性が逆となっていても、それを自動的に適正化するから、偏差過大、フィードバック異常等のアラームを発生させることなく、システムダウンすることなくシステムを稼働を続行できる。これによりユーザのパラメータ設定、誤接続等の影響を受けない非常に信頼性の高いサーボ制御システムを実現できる。 In the method and apparatus for automatically adjusting the servo control system according to the next invention, even if the feedback polarity of the load-side position detector is reversed, the feedback polarity is automatically adjusted. The operation of the system can be continued without generating an alarm and without causing the system to go down. This makes it possible to realize a very reliable servo control system that is not affected by user parameter settings, erroneous connections, and the like.

 つぎの発明にかかるサーボ制御システムの自動適正化方法および装置においては、デュアルフィードバック制御を行って機械端位置検出器のフィードバック極性を判定し、機械端位置検出器のフィードバック極性が逆となっていても、それを自動的に適正化するから、偏差過大、フィードバック異常等のアラームを発生させることなく、システムダウンすることなくシステムを稼働を続行できる。これによりユーザのパラメータ設定、誤接続等の影響を受けない非常に信頼性の高いサーボ制御システムを実現できる。 In the automatic optimization method and apparatus of the servo control system according to the next invention, the feedback polarity of the load-side position detector is determined by performing dual feedback control, and the feedback polarity of the load-side position detector is reversed. In addition, since it is automatically optimized, the operation of the system can be continued without generating an alarm such as an excessive deviation and a feedback abnormality, and without causing a system down. This makes it possible to realize a very reliable servo control system that is not affected by user parameter settings, erroneous connections, and the like.

 つぎの発明にかかるサーボ制御システムの自動適正化方法および装置においては、機械端位置検出器のフィードバック極性が逆となっている状態を検知した場合には、不揮発性メモリにその情報を格納し、次回の電源投入時にはこの情報を基にフィードバック極性を反転させて制御するので、設定、接続の間違いがあっても自動修正できる信頼性が高く、知能的なサーボ制御システムを実現できる。 In the automatic optimization method and apparatus of the servo control system according to the next invention, when detecting the state where the feedback polarity of the load-side position detector is reversed, the information is stored in the nonvolatile memory, The next time the power is turned on, the feedback polarity is inverted based on this information for control, so that even if there is a mistake in setting or connection, a highly reliable intelligent intelligent control system can be realized.

 つぎの発明にかかるサーボ制御システムの自動適正化方法および装置においては、早送り加減速時に必要とされたサーボアンプの出力トルクから可能な最適時定数を演算して次回加減速時にはこの最適時定数にて指令を作成するから、機械的負荷の変動があった場合でも、それに合った最適な時定数が常に得られる。 In the automatic optimizing method and apparatus of the servo control system according to the next invention, the optimal time constant is calculated from the output torque of the servo amplifier required at the time of rapid traverse acceleration / deceleration, and the optimal time constant is calculated at the next acceleration / deceleration. Therefore, even if there is a change in the mechanical load, an optimum time constant suitable for the change is always obtained.

 つぎの発明にかかるサーボ制御システムの自動適正化方法および装置においては、早送り加減速時に必要とされたサーボアンプの出力トルクから可能な最適時定数を運動方向(送り方向)毎に演算して次回加減速時には該当する運動方向の最適時定数にて指令を作成するため、上下移動軸等の負荷アンバランス軸でも移動方向に応じて最適な加減速時定数が常に得られる。 In the automatic optimization method and apparatus for a servo control system according to the next invention, the optimum time constant possible is calculated for each movement direction (feed direction) from the output torque of the servo amplifier required at the time of rapid traverse acceleration / deceleration to calculate the next time. At the time of acceleration / deceleration, since the command is created with the optimal time constant of the corresponding motion direction, an optimal acceleration / deceleration time constant is always obtained according to the moving direction even on a load imbalance axis such as a vertical movement axis.

 つぎの発明にかかるサーボ制御システムの自動適正化方法および装置においては、早送り加減速時の加速、減速のそれぞれに必要とされたサーボアンプの出力トルクから可能な最適時定数を演算して次回加減速時の該当の方向ではこの最適時定数にて指令を作成するので、通常摩擦などでトルクを助けられる減速時の時定数を小さくできるなど、加減速時間を短くすることができる。 In the automatic optimization method and apparatus for a servo control system according to the next invention, the optimum time constant that can be calculated from the output torque of the servo amplifier required for acceleration and deceleration during rapid traverse acceleration / deceleration is calculated, and the next time Since the command is created with the optimum time constant in the corresponding direction during deceleration, the acceleration / deceleration time can be shortened, for example, the time constant during deceleration that can assist the torque by friction or the like can be reduced.

 つぎの発明にかかるサーボ制御システムの自動適正化方法および装置においては、それぞれの送り方向に対する加減速時の加速、減速のそれぞれに必要とされたサーボアンプの出力トルクから可能な最適時定数を常に演算して次回加減速時には該当する最適時定数にて指令を作成するので、負荷アンバランス(重力等)、摩擦および時間的なそれらの変化に全て対応して最適な加減速時定数が得られる。 In the automatic optimizing method and apparatus of the servo control system according to the next invention, acceleration during acceleration / deceleration for each feed direction, the optimum time constant possible from the output torque of the servo amplifier required for each of the deceleration is always determined. At the next acceleration / deceleration, the command is created with the corresponding optimal time constant at the next acceleration / deceleration, so that the optimal acceleration / deceleration time constant can be obtained corresponding to all of the load imbalance (gravity, etc.), friction, and those changes over time. .

 つぎの発明にかかるサーボ制御システムの自動適正化方法および装置においては、早送り加減速時の時定数の設定が小さかったり、異常負荷の影響でサーボアンプの最大出力トルクに達する様な場合を想定して早送り加減速中のみ誤差過大アラーム判定位置偏差量を通常よりも大きい値に設定するから、誤差過大アラーム発生が起こり難くなり、信頼性の高いサーボ制御システムを実現できる。 In the automatic optimization method and apparatus of the servo control system according to the next invention, it is assumed that the time constant at the time of rapid traverse acceleration / deceleration is set small or the maximum output torque of the servo amplifier is reached due to an abnormal load. Therefore, the excessive error alarm determination position deviation is set to a value larger than usual only during the rapid traverse acceleration / deceleration, so that an excessive error alarm is less likely to occur and a highly reliable servo control system can be realized.

 つぎの発明にかかるサーボ制御システムの自動適正化方法および装置においては、早送り加減速時の時定数の設定が小さかったり、異常負荷の影響で、サーボアンプの最大出力トルクに達するような場合を想定し、早送り加減速中のみ過速度アラームの判定モータ回転数を通常より大きい値に設定するから、過速度アラーム発生が起こり難く、従来より信頼性の高いサーボ制御システムを提供できる。 In the method and apparatus for automatically adjusting the servo control system according to the next invention, it is assumed that the time constant at the time of rapid traverse acceleration / deceleration is set small or the maximum output torque of the servo amplifier is reached due to an abnormal load. In addition, the determination of the overspeed alarm is performed only during the rapid traverse acceleration / deceleration. Since the motor speed is set to a value larger than the normal value, the occurrence of the overspeed alarm is unlikely to occur, and a more reliable servo control system than before can be provided.

 つぎの発明にかかるサーボ制御システムの自動適正化方法および装置においては、早送り加減速時の時定数の設定が小さかったり、異常負荷の影響でサーボアンプの最大出力トルクに達する様な場合を想定し、予め速度指令の最高速度を一定値でクランプすることにより、オーバーシュートを抑えるので、誤差過大や過速度アラームが発生し難く、安定で信頼性の高いサーボ制御システムが得られる。 In the automatic optimization method and apparatus of the servo control system according to the next invention, it is assumed that the time constant at the time of rapid traverse acceleration / deceleration is set small or the maximum output torque of the servo amplifier is reached due to an abnormal load. Since the overshoot is suppressed by previously clamping the maximum speed of the speed command at a constant value, an excessive error or an overspeed alarm is hardly generated, and a stable and reliable servo control system can be obtained.

 この発明にかかるサーボ制御システムの自動適正化方法および装置においては、加減速中のみ速度指令の最高速度を一定値でクランプすることから、早送り加減速時の時定数の設定が小さかったり、異常負荷の影響でサーボアンプの最大出力トルクに達する様な場合でもオーバーシュートが起こり難くなり、安定で信頼性の高いサーボ制御システムが得られる。 In the method and apparatus for automatically optimizing the servo control system according to the present invention, since the maximum speed of the speed command is clamped at a constant value only during acceleration / deceleration, the setting of the time constant during rapid traverse acceleration / deceleration is small, , Overshoot hardly occurs even when the maximum output torque of the servo amplifier is reached, and a stable and highly reliable servo control system can be obtained.

 つぎの発明にかかるサーボ制御システムの自動適正化方法および装置においては、サーボアンプの最大電流制限中のみ速度指令の最高速度を一定値でクランプするから、早送り加減速時の時定数の設定が小さかったり、異常負荷の影響でサーボアンプの最大出力トルクに達するような場合でもオーバーシュートが起こり難くなり、安定で信頼性の高いサーボ制御システムが得られる。 In the automatic optimization method and apparatus of the servo control system according to the next invention, the maximum speed of the speed command is clamped at a constant value only during the maximum current limitation of the servo amplifier. Also, even when the maximum output torque of the servo amplifier is reached due to the influence of an abnormal load, overshoot hardly occurs, and a stable and highly reliable servo control system can be obtained.

 以下に、本発明の実施の形態を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。 Embodiments of the present invention will be described below in detail with reference to the drawings. The present invention is not limited by the embodiment.

 以下に添付の図を参照してこの発明を実施例について説明する。なお、この発明の実施例において上述の従来例と同一構成の部分は、上述の従来例に付した符号と同一の符号を付してその説明を省略する。 Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. In the embodiments 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.
 図1はこの発明によるサーボ制御システムの異常検出・診断方法の実施に使用するサーボモータ駆動装置の一実施例を示している。このサーボモータ駆動装置では、モータ出力端子に流れる相電流を検出する電流検出器5はU相とV相の電流に加えてW相の電流も検出する。
Embodiment 1 FIG.
FIG. 1 shows an embodiment of a servo motor driving device used for carrying out a method for detecting and diagnosing abnormality of 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 to 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 detecting circuits 9a, 9b, 9c. The voltage detection circuits 9a, 9b, and 9c divide the voltage between the U, V, and W phases 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, 9c into a digital value and outputs the digital signal to the CPU 7.

 図2はこの発明によるサーボ制御システムの異常検出・診断方法におけるモータ出力端子の結線診断ルーチンを示している。この結線診断ルーチンでは、先ず、電源オン後にステップS101において、q軸電流指令Iqaをサンプリング周期毎に検出し、つぎのステップS102へ進む。 FIG. 2 shows a motor output terminal connection diagnosis routine in the abnormality detection / diagnosis method of the servo control system according to the present invention. In this connection diagnosis routine, first, in step S101 after the power is turned on, the q-axis current command Iqa is detected for each sampling cycle, 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 the request is being made, the process proceeds to step S104. On the other hand, if it is not recognized that 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 a wrong connection in the motor output terminal connection, the first acceleration request continues until an excessive error or overload alarm occurs, so the acceleration command actual flag is turned on and the first acceleration request has already been completed. When it is recognized that the normal connection is performed, the connection diagnosis routine is terminated. On the other hand, if the acceleration command result flag has not been turned on yet, it is recognized that no acceleration command request has occurred once after power-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 the acceleration command request has occurred after the power is turned on, the acceleration command actual 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 at each sampling cycle. It is not always necessary to detect the current of the W phase, and it is sufficient to detect the current of two phases among the three phases. Here, the current of all three phases is detected.

 つぎのステップS106では、検出した各相の電流の絶対値を電流極性の正側と負側とでそれぞれ別々に前回までのピーク値と比較する。その比較結果より今回の値が前回までのピーク値を更新するか、もしくは同等のレベルと判別されるときにはつぎのステップS107へ進み、そうでないときはステップS109へ進む。 In the next step S106, the absolute value of the detected current of each phase is separately compared with the previous peak value on each of the positive and negative sides of the current polarity. If the present value is updated from the comparison result to the previous peak value or if it is determined to be the same level, 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, respectively, or a value marked with the same level value is rewritten as a new peak value used for comparison in step S106, and the process proceeds to next step S108. And proceed. In step S108, the peak value is updated on the positive side and the negative side of the current polarity, respectively, or the recognition data of the phase marked with the same level value is sequentially stored in the memory separately prepared on the positive side and the negative side. And the process proceeds to the next step S109.

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

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

 加速指令がモータ逆転要求である場合には、図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, the pattern stored in the order of U, W, and V phases with respect to the U phase on both the positive and negative sides of the current polarity is used. If so, it is determined that the connection of the normal UVW phase has been made. If both the positive and negative sides have the U, V, and W phase patterns, an erroneous connection of the VWU phase or the WUV phase is made. It is determined that there is.

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

 この場合には、図3に示されているような誤結線の判定結果に基づいてソフトウェア処理により各電圧指令出力相を相互に入れ換え、この結線が仮想的に正しい結線になるようにする。これはこの発明によるサーボ制御システムの自動適正化方法の一つの実施例である。 In this case, the respective voltage command output phases are exchanged by software processing based on the determination result of the erroneous connection as shown in FIG. 3 so that the connection is virtually correct. This is one embodiment of the method for automatically adjusting the 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 a motor output terminal and a converter bus in the abnormality detection / diagnosis method of the servo control system according to the present invention. In step S201, the data of the UV-phase voltage Vuv, VW-phase voltage Vvw, and WU-phase voltage Vwu, which are detected by the voltage detectors 9a to 9c, converted into digital signals by the A / D converter 6, and captured by the CPU 7, are output. 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, in order to make it easy to evaluate the magnitude of the phase voltage, in step S203, the motor A smooth phase voltage Vu, Vv, Vw is obtained continuously through a filter using the nominal values of the armature inductance L and the armature resistance R.
Vu = RVua / (Ls + R)
Vv = R · Vva / (Ls + R)
Vw = R · Vwa / (Ls + R)
s is Laplace operator

 図5はこの発明によるサーボ制御システムの異常検出・診断方法におけるモータ出力端子の接続診断ルーチンを示している。このモータ出力端子接続診断ルーチンでは、先ずステップS300において、i=1とし、ステップS301で相電圧Vi(Vu あるいはVv 、Vw )が所定値VR 以上であるか否かを判別する。Vi≧VR であれば、つぎのステップS302に進む。 FIG. 5 shows a motor output terminal connection diagnosis routine in the servo control system abnormality detection / diagnosis 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 step S302 follows.

 ステップ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 substantially 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 defined in advance as a U phase, i = 2 is defined as a V phase, and i = 3 is defined as a W phase, steps S301 to S303 determine i ≧ 3 in step S305 and determine in step S306 Updating of the detection target phase i by i = i + 1 is performed for each phase in the order of the U phase, the V phase, and the W phase. As a result, the disconnection of the motor output terminal is automatically and accurately detected for each of the U, V, and W phases.

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

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

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

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

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

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

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

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

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

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

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

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

実施例4.
 図10はこの発明によるサーボ制御システムの異常検出・診断方法におけるパラメータ設定診断ルーチンを示している。パラメータ設定診断ルーチンでは、先ずステップS701において、位置フィードバック信号の極性と位置指令の極性とが同極性であるか否かを判別し、これらの極性が等しければ、ステップS702へ進み、これらの極性が等しくない場合には、ステップS706へ進む。
Embodiment 4. FIG.
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. If these polarities are equal, the process proceeds to step S702, where 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 or not this is equal to 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 a certain feed amount is positioned, 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 number of rotations of the motor end detector 18 per rotation is calculated. Calculate the number of pulses. Next, in step S704, when the 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 results. Check if it is. In step S705, it is determined that the resolution setting of the motor end detector 18 is abnormal.

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

実施例5.
 図11はこの発明によるサーボ制御システムの異常検出・診断方法の実施に使用する電流制御部の内部構成を示している。この電流制御部は、図44に示されている一般的なサーボ制御システムにおける電流制御部13に相当するものであり、図44に示されている従来の電流制御部に、3相変換部26と、トルク算出部27と、モータ位置算出部28とを付加されたものである。
Embodiment 5 FIG.
FIG. 11 shows the internal configuration of a current control unit used for carrying out the method for detecting and diagnosing abnormality of a 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 is different from the conventional current control unit shown in FIG. And a torque calculation unit 27 and a motor position calculation unit 28.

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

 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 と実際のモータ端位置フィードバック値θとの差を監視して、誤差過大、あるいは過負荷のアラームが起こる直前まで、この差が電流制限後でも許容範囲内にある場合には、加減速時定数不足と判別する。これにより加減速時定数不足が認識される。 (4) The position feedback value θm of the motor model is obtained from the motor model output torque Tem calculated in this manner. 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 maintained until immediately before an excessive error or an overload alarm occurs. If it is within the allowable range even after the current limitation, it is determined that the acceleration / deceleration time constant is insufficient. Thereby, the shortage of the acceleration / deceleration time constant is recognized.

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

 図12は、この発明によるサーボ制御システムの異常検出・診断方法における電流制限時の原因追求の診断ルーチンを示している。この診断ルーチンでは、先ず、ステップS801において、モータモデルの位置フィードバック値θmを算出する。 FIG. 12 shows a diagnosis routine for pursuing a cause at the time of current limitation in the abnormality detection / diagnosis method of the servo control system according to the present invention. In this diagnostic 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, and the current is measured until immediately before these alarms occur. It is determined whether the restriction has been performed. If the current limitation has been performed, 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 motor model position feedback value θm and the actual motor end position feedback θ is within the allowable value, the process proceeds to step S805, and it is determined that the acceleration / deceleration time constant is insufficient.

 これに対し、モータモデルの位置フィードバック値θmと実際のモータ端位置フィードバックθとの差が許容値以内でない場合には、ステップS806へ進み、誤ゲート遮断等が発生していないか否かを判別する。誤ゲート遮断等が発生していなければ、ステップS807へ進み、過負荷であると判定する。 On the other hand, when 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, and it is determined whether an erroneous gate cutoff or the like has occurred. I do. If an erroneous gate cutoff or the like has not occurred, the process proceeds to step S807, and it is determined that an overload has occurred.

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

実施例6.
 この発明によるサーボ制御システムの自動適正化方法は、図43に示されているような一般的なサーボ制御システムにて実施されるものであり、アンプ電源投入時には、セミクローズドループ方式とフルクローズドループ方式のうち、常にセミクローズドループ方式でモータ端検出器18からのフィードバック信号により位置制御を行う。この時に、機械端検出器19からのフィードバック信号も同時に処理し、モータ端検出器18による累積移動距離と極性が一致しているかをチェックする。そして極性が一致している場合には、フルクローズドループ方式による位置制御に移行し、これに対し、極性が逆の場合には、機械端検出器19で累積させた位置情報を反転させてシステム停止させることなくフルクローズドループ方式による位置制御へ自動的に移行する。
Embodiment 6 FIG.
The automatic optimization method of the servo control system according to the present invention is carried out by a general servo control system as shown in FIG. 43. When the power of the amplifier is turned on, the semi-closed loop system and the fully closed loop system are used. Among the methods, the 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 and the polarity match. If the polarities match, the process shifts to the position control by the full closed loop method. On the other hand, if the polarities are opposite, the position information accumulated by the Automatically shift to full closed loop position control without stopping.

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

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

 ステップS1004では、機械端検出器19で生成された累積フィードバック量を反転する。ステップS1005では、今までに移動した分のフィードバック信号をフルクローズドループ側に切り替え、セミクローズドループ方式による位置制御よりフルクローズドループ方式による位置制御へ変更する。 In step S1004, the accumulated feedback amount generated by the load-side 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 load-side detector 19 does not match the polarity of the position designation at the time of starting the system, the system state relating to the polarity is automatically optimized, and the operation continues without system down. be able to.

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

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

 図14はこの発明によるサーボ制御システムの自動適正化方法における極性自動反転ルーチンを示している。ステップS1101では、電源投入直後に、通常通り、クローズドループ方式による位置制御モードを形成する。つぎのステップS1102では、フルクローズドループ側フィードバック位置PMAとセミクローズドループ側フィードバック位置PMOとの差が予め設定されているフルクローズドループ式フィードバック逆極性判定値CERに達し、しかも互いの符号が異なっているか否かをチェックする。その差が判定値CERに達し、しかも互いの符号が異なっていれば、ステップS1103へ進む。 FIG. 14 shows an automatic polarity reversing routine in the method for automatically adjusting the servo control system according to the present invention. In step S1101, immediately after the power is turned on, the 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 full closed-loop feedback reverse polarity determination value CER, and the signs are different from each other. Check if there is. 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 accumulated feedback position on the fully closed loop side is inverted, and the subsequent moving distance is processed as the reverse polarity. Thereby, even in this case, even if the polarity of the position feedback amount of the load-side detector 19 is reversed at the time of starting the system, the system state relating to the polarity is automatically adjusted, and the operation can be continued without the system going down. Can be. In this case as well, by storing the automatically determined feedback reverse polarity of the machine-end detector 19 in the non-volatile memory, position control can be performed with the correct feedback polarity from the first time when the power is turned on next time.

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

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

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

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

実施例9.
 図17はこの発明によるサーボ制御システムの自動適正化方法の実施に使用するサーボ制御システムの実施例を示している。このサーボ制御システムは、速度制御部12が演算した電流指令の最大値をクランプする制御部36を含んでいる。
Embodiment 9 FIG.
FIG. 17 shows an embodiment of the servo control system used for implementing the method for automatically adjusting the servo control system according to the present invention. This 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 routine for adjusting the time constant during acceleration / deceleration in the method for automatically adjusting the servo control system according to the present invention. First, in step S1501, it is determined whether fast forward is currently being performed. If fast-forwarding is being performed, 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 period (every maximum several ms) during fast-forward.

 つぎにステップ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 up to the previous time during the current rapid traverse. 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 been completed. Here, the fast-forwarding is defined as the entire time of one movement. If fast-forwarding has been completed, the process proceeds to step S1506. If not completed, the process returns to step S1502 after the sampling cycle, and samples the next current command value In. In step S1506, the ratio β of the maximum value Ip of the current command in the current rapid traverse 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 make the ideal output ratio α and to make the output ratio in the next rapid traverse acceleration / deceleration close to the ideal output ratio α, the next rapid traverse based on the current rapid traverse time constant A and the ideal output ratio α and ratio β The calculation of the constant B is performed 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 acceleration / deceleration is performed using this time constant. As a result, every time acceleration / deceleration is performed, the optimal acceleration / deceleration time constant is calculated in real time, the acceleration / deceleration time constant is automatically optimized, and acceleration / deceleration operation that is not affected by machine load fluctuations is realized. I do. When the load differs 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%程度にしておき、自動的に時定数を詰めて行くことも考えられる。 Normally, the change in mechanical load does not show a large change, so the acceleration / deceleration time constant is determined based on the average value of the acceleration / deceleration maximum values of several to several tens of times or the peak value. Is also good. In addition, since the lubrication of the machine is poor at the first power-on in the morning and the load is often the largest, the time constant at the time of power-on is set to a large value, for example, about 50% of Imax, and the time constant is automatically set. It is also conceivable to pack up.

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

 つぎにステップS1604では、サンプリングした電流指令値の絶対値|In|と今回の早送り中における前回までにサンプリングした電流指令の最大値Ip+を比較する。|In|の方が大きい場合には、ステップS1605へ進み、最大値Ip+を今回の|In|に変更する。 Next, 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 rapid traverse. If | In | is larger, the process proceeds to step S1605, and the maximum value Ip + is changed 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. Here, the entire time of one movement is also set during the fast-forward. If fast-forwarding has been completed, the process proceeds to step S1607. If not completed, the process returns to step S1603 after the sampling cycle, and samples the next current command value In. In step S1607, the ratio β of the maximum value Ip + of the current command in the current rapid traverse 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 make the ideal output ratio α and to make the output ratio in the next rapid traverse acceleration / deceleration close to the ideal output ratio α, the next rapid traverse based on the current rapid traverse time constant A + and the ideal output ratio α and ratio β The calculation of the constant B + is performed by the following equation.

 (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. The sampling of the current command value In is also performed at a constant cycle (every maximum number of ms) during fast-forward.

 つぎにステップS1610では、サンプリングした電流指令値の絶対値|In|と今回の早送り中における前回までにサンプリングした電流指令の最大値Ip−を比較する。|In|の方が大きい場合には、ステップS1611へ進み、最大値Ip−を今回の|In|に変更する。 Next, 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 rapid traverse. 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. Here, the entire time of one movement is also set during the fast-forward. If fast-forwarding has been completed, the process proceeds to step S1613. If not completed, the process returns to step S1609 after the sampling period, and samples the next current command value In. In step S1613, the ratio β of the maximum value Ip− of the current command in the current rapid traverse 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
The ideal output ratio is α, and the next rapid traverse is performed based on the current rapid traverse time constant A− and the ideal output ratio α and ratio β in order to bring the output ratio in the next rapid traverse acceleration / deceleration closer to the ideal output ratio α. The calculation of the time constant B− is performed 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 acceleration / deceleration in the − direction is performed with this time constant. Thus, every time the acceleration / deceleration is performed, the optimal acceleration / deceleration time constant for each motion direction is individually calculated in real time, the acceleration / deceleration time constant for each motion direction is automatically optimized individually, and the load on the machine is reduced. Realizes acceleration / deceleration operation in which the system stability is not affected by fluctuations. As a result, although the acceleration / deceleration time constant is determined by the torque required for raising the unbalance shaft, it can be made smaller at the time of lowering, and the machining time can be shortened.

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

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

 つぎにステップ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 up to the previous time during the current rapid traverse. 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 rapid traverse acceleration has been completed, the process proceeds to step S1708. If not completed, the process returns to step S1704 after the sampling period, and samples the next current command value In. In step S1708, the ratio β of the maximum value Ipa of the current command in the current rapid traverse to the maximum current Imax that can be output by the motor driving 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 to make the output ratio in the next rapid traverse acceleration / deceleration close to the ideal output ratio α, the next rapid traverse is performed based on the current rapid traverse time constant Aa and the ideal output ratio α and ratio β. The calculation of the constant Ba is performed by the following equation.

 (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 for Aa, and the next fast-forward 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 period during fast-forward.

 つぎにステップS1710では、サンプリングした電流指令値の絶対値|In|と今回の早送り中における前回までにサンプリングした電流指令の最大値Ip−を比較する。|In|の方が大きい場合には、ステップS1711へ進み、最大値Ipbを今回の|In|に変更する。 Next, 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 rapid traverse. 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 fast-forwarding has been completed, the process proceeds to step S1713. If not completed, the process returns to step S1709 after the sampling period, and samples the next current command value In. In step S1713, the ratio β of the maximum value Ipb of the current command in the current rapid traverse to the maximum current Imax that can be output by the motor driving device such as a servo amplifier is calculated by the following equation.

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

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

実施例12.
 図23〜27は加減速時定数の自動適正化を運動方向および加速と減速とで分けて行う時定数適正化ルーチンを示している。
Embodiment 12 FIG.
FIGS. 23 to 27 show a time constant optimizing routine for automatically optimizing the acceleration / deceleration time constant for the direction of motion and for acceleration and deceleration.

 ステップS1801では、早送りであるか否かを判別する。早送り中でない場合はステップS1801に戻り、早送り中の場合はステップS1802a〜1802dに進む。ステップS1802a〜1802dでは、早送りがつぎの4種類のうちのどれであるかを特定する。すなわちステップS1802aでは、+方向の加速であるか否かを判別し、+方向の加速の場合はステップS1803へ進む。 In step S1801, it is determined whether or not fast-forward is performed. If fast-forwarding is not being performed, the process returns to step S1801, and if fast-forwarding is being performed, the process proceeds to steps S1802a to 1802d. In steps S1802a to S1802d, one of the following four types of fast-forward 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 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 deceleration is in the + direction. In the case of deceleration in the + direction, the flow advances to step S1823. In the 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-forward.

 つぎにステップS1804では、サンプリングした電流指令値の絶対値|In|と今回の早送り中における前回までにサンプリングした電流指令の最大値Ip+aを比較する。|In|の方が大きい場合には、ステップS1805へ進み、Ip+a値を今回の|In|に変更する。 Next, 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 last time during the current rapid traverse. 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の比率βを下式により演算する。 Next, in step S1806, it is determined whether or not the current fast-forward has been completed. If fast-forwarding has been completed, the process proceeds to step S1807. If not completed, the process returns to step S1803 after the sampling period, and samples the next current command value In. In step S1807, the ratio β of the maximum value Ip + a of the current current command 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+a)/Imax
 理想的な出力比率をαとし、次回の早送り加減速における出力比率をαに近づけるために、今回の早送り時定数A+aと、理想出力比率α、比率βに基づいて次回早送り時定数B+aの演算を行う。
β = (Ip + a) / Imax
In order to set the ideal output ratio to α and make the output ratio in the next rapid traverse acceleration / deceleration close to α, the calculation of the next rapid traverse time constant B + a based on the current rapid traverse time constant A + a and the ideal output ratio α and ratio β is performed. 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 the calculation result is substituted for (A + a), and the next fast-forward + 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-forward.

 つぎにステップS1814では、サンプリングした電流指令値の絶対値|In|と今回の早送り中における前回までにサンプリングした電流指令の最大値Ip−aを比較する。|In|の方が大きい場合には、ステップS1815へ進み、Ip−a値を今回の|In|に変更する。 Next, 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 up to the previous time during the current rapid traverse. If | In | is larger, the process advances to step S1815 to change the Ip-a value 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 fast-forwarding has been completed, the process proceeds to step S1817. If not completed, the process returns to step S1813 after the sampling period, and samples the next current command value In. In step S1817, the ratio β of the maximum value Ip-a of the current current command 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−a)/Imax
 理想的な出力比率をαとし、次回の早送り加減速における出力比率をαに近づけるために、今回の早送り時定数A−aと、理想出力比率α、比率βに基づいて次回早送り時定数B−aの演算を行う。
β = (Ip−a) / Imax
In order to make the ideal output ratio α and to make the output ratio in the next rapid traverse acceleration / deceleration close to α, the next rapid traverse time constant B−a based on the current rapid traverse time constant A−a and the ideal output ratio α and ratio β The calculation of a is performed.

  (B−a)=(A−a)・β/α
       =(A−a)・{(Ip−a)/Imax・α}
 この演算結果により得られた加減速時定数(B−a)を(A−a)に代入し、この時定数で次回の早送り+方向減速指令を作成する。ステップS1823では、電流指令値Inを早送り中一定周期でサンプリングする。
(Ba) = (A-a) · β / α
= (A−a) · {(Ip−a) / Imax · α}
The acceleration / deceleration time constant (Ba) obtained as a result of this calculation is substituted into (A-a), and the next fast 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-forward.

 つぎにステップS1824では、サンプリングした電流指令値の絶対値|In|と今回の早送り中における前回までにサンプリングした電流指令の最大値Ipaを比較する。|In|の方が大きい場合には、ステップS1825へ進み、Ip+d値を今回の|In|に変更する。 Next, 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 rapid traverse. If | In | is larger, the process proceeds to step S1825, and the value of Ip + d is changed to | In |

 つぎにステップS1826では、今回の早送りが終了したか否かを判別する。早送りが終了した場合には、ステップS1827に進み、終了していない場合にはサンプリング周期後ステップS1823に戻り、つぎの電流指令値Inをサンプリングする。ステップS1827では、サーボアンプ等のモータ駆動装置が出力できる最大電流Imaxに対する今回の電流指令の最大値Ipdの比率βを下式により演算する。 Next, in step S1826, it is determined whether or not the current fast-forward has ended. If fast-forwarding has been completed, the process proceeds to step S1827. If not completed, the process returns to step S1823 after the sampling period, and samples the next current command value In. In step S1827, the ratio β of the maximum value Ipd of the current current command 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+d)/Imax
 理想的な出力比率をαとし、次回の早送り加減速における出力比率をαに近づけるために、今回の早送り時定数A+dと、理想出力比率α、比率βに基づいて次回早送り時定数B+dの演算を行う。
β = (Ip + d) / Imax
In order to make the ideal output ratio α and make the output ratio in the next rapid traverse acceleration / deceleration close to α, the calculation of the next rapid traverse time constant B + d based on the present rapid traverse time constant A + d and the ideal output ratio α and the ratio β is performed. 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 for (A + d), and the next fast-forward + 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-forward.

 つぎにステップS1834では、サンプリングした電流指令値の絶対値|In|と今回の早送り中における前回までにサンプリングした電流指令の最大値Ip−dを比較する。|In|の方が大きい場合には、ステップS1835へ進み、Ip−d値を今回の|In|に変更する。 Next, 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 rapid traverse. 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 a step S1836, it is determined whether or not the current fast-forward is completed. If fast-forwarding has been completed, the process proceeds to step S1837. If not completed, the process returns to step S1833 after the sampling period, and samples the next current command value In. In step S1837, the ratio β of the maximum value Ip-d of the current current command 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−d)/Imax
 理想的な出力比率をαとし、次回の早送り加減速における出力比率をαに近づけるために、今回の早送り時定数A−dと、理想出力比率α、比率βに基づいて次回早送り時定数B−dの演算を行う。
β = (Ip−d) / Imax
In order to make the ideal output ratio α and to make the output ratio in the next rapid traverse acceleration / deceleration close to α, the next rapid traverse time constant B− based on the current rapid traverse time constant Ad and the ideal output ratio α and the ratio β The calculation of d is performed.

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

実施例13.
 加減速時の時定数が適正化されても、電流指令値が制限値に達すると、サーボ制御による位置の追従誤差が理想値よりも遅れ、速度のオーバーシュートが起こったり、誤差過大アラームなどが発生し、システムダウンする可能性がある。このことに対策として、早送り加減速中の誤差過大幅判定値を可変にし、誤差過大アラームを発生しにくくする。
Embodiment 13 FIG.
Even if the time constant during 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, resulting in speed overshoot or excessive error alarm. May occur and the system may go down. As a countermeasure against this, an excessive error determination value during rapid traverse 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 an excessive error determination value changing routine. In step S1901, the excessive error determination value DOD is set to a standard value DB. That is, DOB = DB. The method of determining DB is usually 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-forward acceleration / deceleration is being performed based on the amount of change in the position command value per unit time output by the device C. If fast-forward acceleration / deceleration is in progress, the process advances to step S1903; otherwise, the process returns to step S1901. In step S1903, the excess error determination width DOD = DB · a. a is an acceleration / deceleration error excessively large allowable coefficient, which is set to a> 1, usually about 2.

 つぎにステップS1904では、現在の指令入力に対する理想ドループ量(位置偏差量)Diを演算する。つぎにステップS1905では、実際の現時点でのドループ量Dを検出する。つぎにステップS1906では、理想ドループDiと実ドループ量Dの差bを演算する。 Next, in step S1904, an ideal droop amount (position deviation amount) Di for the current command input is calculated. Next, in step S1905, the actual droop amount D at the present time is detected. Next, 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に戻る。これにより過速度アラーム発生が起こり難く、信頼性の高いサーボ制御システムとなる。 Next, in step S1907, it is determined whether or not the absolute value of the actual droop error b exceeds DOD. If not exceeded, the process returns to step S1901 after a lapse of a predetermined time, and if exceeded, the process proceeds to step S1908. In step S1908, an excessive error alarm is generated, an emergency stop state is set, and an NC reset is waited. In step S1909, it is determined whether there is an alarm reset request from the NC device (actually, input from the worker). If there is an alarm reset request, the process proceeds to step S1910. In step S1910, the emergency stop state is released, and the flow returns to step S1901. As a result, the occurrence of an overspeed alarm is less likely to occur, and a highly reliable servo control system is provided.

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

 通常、サーボモータの仕様最大回転数に対して1.2倍程度の速度で回転した場合、過速度アラームが発生し、システムの保護を行っているため、機械の負荷が増大または急変してこのようなモードに入ると、アラームが発生する。この様な場合に対処するために、早送り加減速中のみ過速度アラーム判定値VOSを変更し、このアラームが発生しないようにする。 Normally, when the motor rotates at a speed about 1.2 times the specified maximum rotation speed of the servo motor, an overspeed alarm is generated and the system is protected. 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 traverse acceleration / deceleration so that this alarm does not occur.

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

 つぎにステップS2004では、実際のモータ回転数Vを検出する。つぎにステップS2005では、実モータ回転数Vが過速度アラーム判定値VOSを超えているか否かを判別する。超えていない場合には一定時間経過後にステップS2001に戻り、超えている場合にはステップS2006へ進む。 Next, 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 exceeded, the process returns to step S2001 after the elapse of a predetermined time, and if exceeded, 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 waited. In step S2007, it is determined whether or not there is an alarm reset request from the NC device (actually, input from the operator). If there is an alarm reset request, the process proceeds to step S2008. In step S2008, the emergency stop state is released, and the process returns to step S2001. As a result, the occurrence of an overspeed alarm is less likely to occur, and a highly reliable servo control system is provided.

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

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

 図31はこの実施例における速度指令クランプルーチンを示している。先ずステップS2201では、速度指令のクランプを解除する。つぎにステップS2202では、NC装置が出力する単位時間当たりの位置指令の変化量により早送り加減速中であるか否かを判別する。加減速中の場合にはステップS2203へ進み、そうでない場合にはステップS2201に戻る。 FIG. 31 shows a speed command clamping routine in this embodiment. First, in step S2201, the clamp of the speed command is released. Next, in step S2202, it is determined whether fast-forward acceleration / deceleration is being performed based on the amount of change in the position command per unit time output by the NC device. If the vehicle is accelerating or decelerating, 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, the maximum clamping value of the speed command and V MAX for fast forward acceleration or deceleration. In step S2204, the speed command calculated by the position control determines whether exceeds V MAX. Proceeds to step S2205 if the speed command exceeds V MAX, in step S2205, and outputs the absolute value of the speed command as V MAX, the flow returns to step S2201.

 これにより、加減速中のみ速度指令の最高速度を一定値でクランプすることが行われ、早送り加減速時の時定数の設定が小さかったり、異常負荷の影響でサーボアンプの最大出力トルクに達する様な場合でも、オーバーシュートが起こり難くなる。 As a result, the maximum speed of the 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 the effect of abnormal load. In such a case, overshoot hardly occurs.

実施例17.
 この実施例では、電流指令値が電流制限に達した場合にのみ速度指令をクランプする。図32はこの実施例における速度指令クランプルーチンを示している。ステップS2301では、速度指令のクランプを解除し、つぎにステップS2302では、電流指令値Inをサンプリングする。
Embodiment 17 FIG.
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 clamp of the speed command is released, and then in step S2302, the current command value In is sampled.

 つぎにステップS2303では、電流指令値Inが電流制限値に達しているか否かを判別する。電流指令値Inが電流制限値に達している場合にはステップS2304に進み、達していない場合にはステップS2305へ進む。ステップS2304では、速度指令の最大クランプ値をVMAX とする。 Next, 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; otherwise, the process proceeds to step S2305. In step S2304, the maximum clamping value of the speed command to V MAX.

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

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

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

 図33はこの実施例の動作フローを示している。ステップS2401では、早送り中であるか否かを判別する。早送り中の場合はステップS2402に進み、そうでない場合はステップS2401に戻る。ステップS2402では、電流指令値が電流制限に達しているか否かを判別する。電流指令値が電流制限に達している場合にはステップS2403へ進み、そうでない場合はステップS2401へ戻る。 FIG. 33 shows the operation flow of this embodiment. In step S2401, it is determined whether fast forward is in progress. If fast-forwarding is being performed, the process proceeds to step S2402; otherwise, the process returns to step S2401. In step S2402, it is determined whether 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. And it compares the maximum position droop amount D MAX and the actual amount of droop D obtained by calculating the position loop gain from V MO, a process for thinning out position droop D ER portion of the portion beyond the position command performed during acceleration, Wait for deceleration. In step S2404, it is determined whether or not deceleration is performed. When deceleration is started, the process proceeds to step S2405. In step S2405, Komu plus position command component D ER decimated from the moment the deceleration is started at the time of deceleration. FIG. 34 shows the relationship between the speed command and the current command controlled as described above.

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

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

 図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 in progress. If fast-forwarding is being performed, the process proceeds to step S2502; otherwise, the process returns to step S2501. In step S2502, it is determined whether 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 amount of change in the position command per unit time is limited so that the current command of the servo model set inside the NC device 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 the thinning at that time is given with a certain time constant or by time distribution, and the absolute position is adjusted. As a result, overshoot is less likely to occur and an excessive error alarm is less likely to occur.

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

 図36はこの実施例の動作フローを示している。なお、一般的に加速の方が減速時よりも必要トルクが大きいから、ここでは加速時に絞って説明する。ステップS2601では、早送り中であるか否かを判別する。早送り中である場合にはステップS2602へ進む。ステップS2602では、電流指令値が電流制限値に達しているか否かを判別する。電流指令値が電流制限値に達していれば、ステップS2603へ進む。 FIG. 36 shows an operation flow of this embodiment. In general, the required torque is larger during acceleration than during deceleration. Therefore, the following description focuses on acceleration. In step S2601, it is determined whether fast forward is in progress. If fast-forwarding is being performed, the flow 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 control unit and the current limit is released, the position loop gain is increased. During the rapid traverse, if the fixed or constant speed operation is reached, 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 an abnormal load, the position loop gain of all axes is reduced only during that time, and the movement of the servo system becomes gradual. Operation can continue without happening.

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

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

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

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

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

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

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

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

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

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

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

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

 このフィードバック検出回路は、差動レシーバ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 differential inputs are connected, and an incremental counter (feedback amount creation counter) 173 counted by ABZ phase pulses. , A serial request I / F circuit 174 that supports a request portion of serial communication, a reception buffer (serial data reception I / F circuit) 175 that stores data from the detector, and a state of the initial magnetic pole UVW phase. It has a UVW phase read port 176 for observation and a phase no signal state read port 177 for observing the no signal state of each phase. Note that, as shown in FIG. 40, the termination circuit is connected to the exclusive circuit, so that the output of the exclusive circuit is always 1 in the open state.

 図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. If the driver enable line of the serial detector request line is disabled when the power is turned on, and if the detector is in a normal state for the 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 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 the next step S2902, a no-signal state is checked.

 つぎにステップS2903では、無信号状態により接続されている検出器を判定する。ステップS2904では、検出器型名を示すパラメータと接続されている検出器を照合する。ステップS2905では、検出器型名を示すパラメータと接続されている検出器とが一致しているか否かを判別する。一致しない場合には、ステップS2906へ進み、パラメータ異常アラームを発生させシステムダウンさせる。これにより、パラメータで指定された検出器タイプと実際に接続されている検出器が異なる場合にはパラメータ異常アラームが発生し、不具合発生時の原因追求が容易に行われるようになる。 Next, in step S2903, the connected detector is determined based on the no-signal state. In step S2904, the parameter indicating the detector model name is compared 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 flow advances to step S2906 to generate a parameter abnormality alarm and bring down the system. As a result, when the detector type specified by the parameter is different from the actually connected detector, a parameter abnormality alarm is generated, and the cause of the failure can be easily sought.

実施例24.
 この実施例では、上述の自動判別によってパラメータで指定された検出器と異なる場合には、実際に接続された検出器のI/Fに切り換え、検出器の接続状態を自動的に適正化する。
Embodiment 24 FIG.
In this embodiment, when the detector is different from the detector specified by the parameter by the above-described automatic determination, the interface 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, all-phase input lines are set, and in the next step S3002, a no-signal state is checked. Next, in step S3003, the connected detector is determined based on the no-signal state.

 ステップS3004では、検出器型名を示すパラメータと接続されている検出器を照合する。ステップS3005では、検出器型名を示すパラメータと接続されている検出器とが一致しているか否かを判別する。一致しない場合には、ステップS3006へ進み、接続されていると判断される検出器のI/Fに送受信部設定を合わせる。これによりパラメータ設定にミスがあっても無信号等のアラームを発生させることなく検出器に合わせた検出回路が構成され、システムが正常に動作する。 In step S3004, the parameter indicating the detector model name is compared with the connected detector. In step S3005, it is determined whether the parameter indicating the detector model name matches the connected detector. If they do not match, the process advances to step S3006 to match the setting of the transmission / reception unit to the I / F of the detector determined to be connected. Thus, even if there is an error 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 the automatic optimization method of the servo control system according to the present invention, and the abnormality detection / diagnosis device and the 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.

この発明によるサーボ制御システムの異常検出・診断方法の実施に使用するサーボモータ駆動装置の一実施例を示すブロック線図である。FIG. 2 is a block diagram showing an embodiment of a servomotor driving device used for performing a method for detecting and diagnosing abnormality of the servo control system according to the present invention. この発明によるサーボ制御システムの異常検出・診断方法におけるモータ出力端子の結線診断ルーチンを示すフローチャートである。5 is a flowchart showing a connection diagnosis routine of a motor output terminal in the abnormality detection / diagnosis method of the servo control system according to the present invention. 誤結線の判定結果を示す説明図である。FIG. 9 is an explanatory diagram illustrating a determination result of an incorrect connection. 誤結線の判定結果を示す説明図である。FIG. 9 is an explanatory diagram illustrating a determination result of an incorrect connection. この発明によるサーボ制御システムの異常検出・診断方法におけるモータ出力端子およびコンバータ母線の接続診断に使用する相電圧検出ルーチンを示すフローチャートである。4 is a flowchart showing a phase voltage detection routine used for connection diagnosis of a motor output terminal and a converter bus in the abnormality detection / diagnosis method of the servo control system according to the present invention. この発明によるサーボ制御システムの異常検出・診断方法におけるモータ出力端子の接続診断ルーチンを示すフローチャートである。5 is a flowchart showing a motor output terminal connection diagnosis routine in the servo control system abnormality detection / diagnosis method according to the present invention. この発明によるサーボ制御システムの異常検出・診断方法におけるコンバータ母線の接続診断ルーチンを示すフローチャートである。4 is a flowchart showing a converter bus connection diagnosis routine in the servo control system abnormality detection / diagnosis method according to the present invention. この発明によるサーボ制御システムの異常検出・診断方法の実施に使用する電流制御部のゲート制御回路を示すブロック線図である。FIG. 3 is a block diagram illustrating a gate control circuit of a current control unit used for performing a method of detecting and diagnosing abnormality of the servo control system according to the present invention. この発明によるサーボ制御システムの異常検出・診断方法におけるゲート遮断発生要因の診断ルーチンを示すフローチャートである。4 is a flowchart showing a routine for diagnosing a cause of gate interruption occurrence in the abnormality detection / diagnosis method of the servo control system according to the present invention. この発明によるサーボ制御システムの異常検出・診断方法におけるフィードバックケーブルの配線診断ルーチンを示すフローチャートである。4 is a flowchart showing a wiring diagnosis routine of a feedback cable in the abnormality detection / diagnosis method of the servo control system according to the present invention. この発明によるサーボ制御システムの異常検出・診断方法におけるパラメータ設定診断ルーチンを示すフローチャートである。5 is a flowchart showing a parameter setting diagnosis routine in the abnormality detection / diagnosis method of the servo control system according to the present invention. この発明によるサーボ制御システムの異常検出・診断方法の実施に使用する電流制御部の内部構成を示すブロック線図である。FIG. 2 is a block diagram showing an internal configuration of a current control unit used for performing a method for detecting and diagnosing abnormality of the servo control system according to the present invention. この発明によるサーボ制御システムの異常検出・診断方法における電流制御時の原因追求の診断ルーチンを示すフローチャートである。6 is a flowchart showing a diagnosis routine for pursuing a cause during current control in the abnormality detection / diagnosis method of the servo control system according to the present invention. この発明によるサーボ制御システムの自動適正化方法における位置制御方式自動切換ルーチンを示すフローチャートである。4 is a flowchart showing a position control system automatic switching routine in the servo control system automatic optimization method according to the present invention. この発明によるサーボ制御システムの自動適正化方法における極性自動反転ルーチンを示すフローチャートである。5 is a flowchart showing a polarity automatic reversal routine in the servo control system automatic optimization method according to the present invention. この発明によるサーボ制御システムの自動適正化方法の実施に使用するデュアルフィードバック制御方式のサーボ制御システムを示すブロック線図である。FIG. 1 is a block diagram showing a servo control system of a dual feedback control system used for implementing a method for automatically adjusting a servo control system according to the present invention. デュアルフィードバック制御方式のサーボ制御システムにおける極性自動反転ルーチンを示すフローチャートである。5 is a flowchart showing a polarity automatic reversal routine in a dual feedback control type servo control system. この発明によるサーボ制御システムの自動適正化方法の実施に使用するサーボ制御システムの実施例を示すブロック線図である。1 is a block diagram showing an embodiment of a servo control system used for carrying out a method for automatically adjusting a servo control system according to the present invention. この発明によるサーボ制御システムの自動適正化方法における時定数適正化ルーチンの一実施例を示すフローチャートである。5 is a flowchart showing one embodiment of a time constant optimizing routine in the automatic optimizing method of the servo control system according to the present invention. この発明によるサーボ制御システムの自動適正化方法における時定数適正化ルーチンの他の実施例を示すフローチャートである。9 is a flowchart showing another embodiment of the time constant adjusting routine in the automatic adjusting method of the servo control system according to the present invention. この発明によるサーボ制御システムの自動適正化方法における時定数適正化ルーチンの他の実施例を示すフローチャートである。9 is a flowchart showing another embodiment of the time constant adjusting routine in the automatic adjusting method of the servo control system according to the present invention. この発明によるサーボ制御システムの自動適正化方法における時定数適正化ルーチンのもう一つの実施例を示すフローチャートである。9 is a flowchart showing another embodiment of the time constant adjusting routine in the automatic adjusting method of the servo control system according to the present invention. この発明によるサーボ制御システムの自動適正化方法における時定数適正化ルーチンのもう一つの実施例を示すフローチャートである。9 is a flowchart showing another embodiment of the time constant adjusting routine in the automatic adjusting method of the servo control system according to the present invention. この発明によるサーボ制御システムの自動適正化方法における時定数適正化ルーチンの他のもう一つの実施例を示すフローチャートである。9 is a flowchart showing another embodiment of the time constant adjusting routine in the automatic adjusting method of the servo control system according to the present invention. この発明によるサーボ制御システムの自動適正化方法における時定数適正化ルーチンの他のもう一つの実施例を示すフローチャートである。9 is a flowchart showing another embodiment of the time constant adjusting routine in the automatic adjusting method of the servo control system according to the present invention. この発明によるサーボ制御システムの自動適正化方法における時定数適正化ルーチンの他のもう一つの実施例を示すフローチャートである。9 is a flowchart showing another embodiment of the time constant adjusting routine in the automatic adjusting method of the servo control system according to the present invention. この発明によるサーボ制御システムの自動適正化方法における時定数適正化ルーチンの他のもう一つの実施例を示すフローチャートである。9 is a flowchart showing another embodiment of the time constant adjusting routine in the automatic adjusting method of the servo control system according to the present invention. この発明によるサーボ制御システムの自動適正化方法における時定数適正化ルーチンの他のもう一つの実施例を示すフローチャートである。9 is a flowchart showing another embodiment of the time constant adjusting routine in the automatic adjusting method of the servo control system according to the present invention. この発明によるサーボ制御システムの自動適正化方法における誤差過大判定値変更ルーチンを示すフローチャートである。4 is a flowchart showing an excessive error determination value change routine in the automatic optimization method for the servo control system according to the present invention. この発明によるサーボ制御システムの自動適正化方法における過速度アラーム判定値変更ルーチンを示すフローチャートである。4 is a flowchart showing an overspeed alarm determination value changing routine in the servo control system automatic optimization method according to the present invention. この発明によるサーボ制御システムの自動適正化方法の実施に使用するサーボ制御システムの一実施例を示すブロック線図である。1 is a block diagram showing one embodiment of a servo control system used for implementing a method for automatically adjusting a servo control system according to the present invention. この発明によるサーボ制御システムの自動適正化方法における速度指令クランプルーチンの一実施例を示すフローチャートである。5 is a flowchart showing one embodiment of a speed command clamping routine in the method for automatically adjusting a servo control system according to the present invention. この発明によるサーボ制御システムの自動適正化方法における速度指令クランプルーチンの他の実施例を示すフローチャートである。9 is a flowchart showing another embodiment of the speed command clamping routine in the method for automatically adjusting the servo control system according to the present invention. この発明によるサーボ制御システムの自動適正化方法における速度・位置制御ルーチンの一実施例を示すフローチャートである。5 is a flowchart showing one embodiment of a speed / position control routine in the automatic optimization method for the servo control system according to the present invention. この発明によるサーボ制御システムの自動適正化方法が適用された場合の速度指令と電流指令との関係を示すグラフである。4 is a graph showing a relationship between a speed command and a current command when the servo control system automatic optimization method according to the present invention is applied. この発明によるサーボ制御システムの自動適正化方法における速度・位置制御ルーチンの他の実施例を示すフローチャートである。9 is a flowchart showing another embodiment of the speed / position control routine in the method for automatically adjusting the servo control system according to the present invention. この発明によるサーボ制御システムの自動適正化方法における速度・位置制御ルーチンのもう一つの実施例を示すフローチャートである。9 is a flowchart showing another embodiment of the speed / position control routine in the automatic optimization method for the servo control system according to the present invention. この発明によるサーボ制御システムの自動適正化方法における速度・位置制御ルーチンの他の一つの実施例を示すフローチャートである。9 is a flowchart showing another embodiment of the speed / position control routine in the method for automatically adjusting the servo control system according to the present invention. この発明によるサーボ制御システムの自動適正化方法における速度・位置制御ルーチンの他のもう一つの実施例を示すフローチャートである。9 is a flowchart showing another embodiment of the speed / position control routine in the method for automatically adjusting the servo control system according to the present invention. フィードバック検出回路例および3種類の検出器が接続された場合のリードポートの状態を示す図である。It is a figure which shows the example of a feedback detection circuit, and the state of a read port when three types of detectors are connected. イクスクルシブ回路の一例を示す回路図である。FIG. 2 is a circuit diagram illustrating an example of an exclusive circuit. この発明によるサーボ制御システムの異常検出・診断方法におけるパラメータ異常診断ルーチンを示すフローチャートである。4 is a flowchart showing a parameter abnormality diagnosis routine in the abnormality detection / diagnosis method of the servo control system according to the present invention. この発明によるサーボ制御システムの自動適正化方法における検出器の接続状態自動適正化ルーチンを示すフローチャートである。5 is a flowchart showing a connection state automatic adjustment routine of the detector in the automatic adjustment method for the servo control system according to the present invention. サーボ制御システムにて使用される一般的なサーボモータ駆動装置を示すブロック線図である。FIG. 2 is a block diagram showing a general servo motor driving device used in a servo control system. 一般的なサーボ制御システムを示すブロック線図である。FIG. 2 is a block diagram illustrating a general servo control system. ACサーボモータの電流制御部を示すブロック線図である。FIG. 3 is a block diagram illustrating a current control unit of the AC servomotor.

符号の説明Explanation of reference numerals

 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 各相無信号状態リードポート。 1 3-phase AC power supply, 2 rectifier circuit, 3 smoothing capacitor, 4 semiconductor switching circuit, 5 current detector, 6 A / D converter, 7 CPU, 8 AC servomotor, 9a, 9b, 9c voltage detection circuit, 10 NC Apparatus, 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 converters {23a, 23b} current controllers, 24 3 phase converters, 25 PWM converters, 26 3 phase converters, 27 torque calculators, 28 motor position calculators, 29 overcurrent detectors, 30, 31, 32 Latch circuit, 33, 34 {and gate} 35, 36, 37 controller, 171a to 171f differential receiver, 17 a to 172f Exclusive 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 phase read of each phase port.

Claims (46)

 電源投入時に複数の検出器用受信回路の送信側接続状態を検出して実際に接続されている検出器型名を自動判別し、パラメータで指定された検出器タイプと実際に接続されている検出器が異なる場合にはパラメータ異常アラームを発生することを特徴とするサーボ制御システムの異常検出・診断方法。 When the power is turned on, the transmitter connection status of multiple detector receiver circuits is detected, the type of the detector actually connected is automatically determined, and the detector type specified by the parameter and the detector actually connected A parameter abnormality alarm if the values are different, a servo control system abnormality detection / diagnosis method.  電源投入時に複数の検出器用受信回路の送信側接続状態を検出して実際に接続されている検出器型名を自動判別し、パラメータで指定された検出器タイプと実際に接続されている検出器が異なる場合には、接続されている検出器に対応する受信回路に切り換えることを特徴とするサーボ制御システムの自動適正化方法。 When the power is turned on, the transmitter connection status of multiple detector receiver circuits is detected, the type of the detector actually connected is automatically determined, and the detector type specified by the parameter and the detector actually connected If the values are different from each other, the method switches to a receiving circuit corresponding to the connected detector.  サーボモータの出力端子に流れるU相、V相、W相の電流と相電圧とを検出し、相電圧が所定値以上であるにも拘らず電流が流れない相が存在する場合にはモータ出力端子の未接続と判定することを特徴とするサーボ制御システムの異常検出・診断方法。 Detects U-phase, V-phase, and W-phase currents and phase voltages flowing through the output terminals of the servomotor, and outputs a motor output when there is a phase in which no current flows despite the phase voltage being equal to or higher than a predetermined value. An abnormality detection / diagnosis method for a servo control system, characterized in that it is determined that a terminal is not connected.  加速時、もしくは減速時におけるモータ出力端子に作用する各相の電圧をすべて検出し、すべての相電圧が0となる場合にはコンバータ母線未接続と判定することを特徴とするサーボ制御システムの異常検出・診断方法。 Servo control system abnormality characterized by detecting all voltages of each phase acting on the motor output terminal at the time of acceleration or deceleration, and determining that converter bus is not connected when all phase voltages become 0. Detection and diagnosis method.  サーボモータの出力端子の各相間の電圧を検出して各相のスイッチング電圧を算出し、算出したスイッチング電圧を入力とするフィルタを用いて連続的に滑らかな相電圧を検出することを特徴とする請求項3または4に記載のサーボ制御システムの異常検出・診断方法。 It is characterized in that a voltage between each phase of an output terminal of a servomotor is detected, a switching voltage of each phase is calculated, and a smooth phase voltage is continuously detected using a filter having the calculated switching voltage as an input. The method for detecting and diagnosing abnormality of a servo control system according to claim 3.  サーボモータの電流制御を行うインバータ部におけるトランジスタへのゲート遮断信号がアラーム作動中でない場合に発生した場合には、そのゲート遮断要求信号が発生した箇所を検知し、その信号が発生した回数を検知箇所ごとに過去の一定時間分メモリに記憶しておき、誤差過大、フィードバック異常等の制御系異常のアラームの要因を判別することを特徴とするサーボ制御システムの異常検出・診断方法。 If the gate cutoff signal to the transistor in the inverter that controls the current of the servomotor is generated when the alarm is not activated, the location where the gate cutoff request signal is generated is detected, and the number of times the signal is generated is detected. An abnormality detection / diagnosis method for a servo control system, characterized in that a predetermined amount of time is stored in a memory in the past for each location, and a cause of an alarm of a control system abnormality such as an excessive error or a feedback abnormality is determined.  機械端検出器を有するフルクローズドループ方式の位置制御において、位置指令、位置フィードバック、速度フィードバック、電流指令、電流フィードバックの極性を電源オン時から監視し、そのすべての信号がある大きさ以上となったときに位置フィードバックだけが逆極性となる場合にはフィードバックケーブル誤配線と判定することを特徴とするサーボ制御システムの異常検出・診断方法。 In the position control of the fully closed loop system with the load-side detector, the polarity of the position command, position feedback, speed feedback, current command, and current feedback is monitored from the time of power-on, and all the signals become larger than a certain magnitude. An error detection / diagnosis method for a servo control system, characterized in that when only the position feedback has the opposite polarity when the feedback is performed, it is determined that the feedback cable is incorrectly wired.  機械端検出器を有するフルクローズドループ方式の位置制御において、電源オン時にモータ一回転分等に相当するある決まった量を移動したときのモータ端検出器の検出パルス数と機械端の検出パルス数を比較し、この比較結果より機械のギヤ比、ボールねじピッチ、機械端検出器分解能等の機械パラメータのパラメータ誤設定を検出することを特徴とするサーボ制御システムの異常検出・診断方法。 In the position control of the fully closed loop system with the load-side detector, the number of pulses detected by the motor-side detector and the number of pulses detected by the load-side when the motor is moved by a certain amount equivalent to one rotation of the motor when the power is turned on. And detecting an erroneous setting of a machine parameter such as a gear ratio of a machine, a ball screw pitch, and a resolution of a machine end detector from the comparison result.  サーボモータの電流制御を行うソフトウェアにおいて、d軸、q軸電流指令を入力とするサーボモータモデルを作成し、そのモデルの位置フィードバック値と実際のモータ端位置フィードバック値との差が、電流制限後でも所定の許容範囲内にあるにも拘らず偏差過大となる場合には加減速時定数不足であると判定することを特徴とするサーボ制御システムの異常検出・診断方法。 In the software that controls the current of the servo motor, a servo motor model is created with d-axis and q-axis current commands as inputs, and the difference between the position feedback value of the model and the actual motor end position feedback value is However, if the deviation is too large despite being within a predetermined allowable range, it is determined that the acceleration / deceleration time constant is insufficient.  サーボモータの電流制御を行うソフトウェアにおいて、d軸、q軸電流指令を入力とするサーボモータモデルを作成し、そのモデルの位置フィードバック値と実際のモータ端位置フィードバック値との差が所定の許容範囲を超えたとき、イナーシャが許容範囲内にあり、また誤ゲート遮断等が発生していない場合には異常負荷が存在していると判定することを特徴とするサーボ制御システムの異常検出・診断方法。 In the software that controls the current of the servo motor, a servo motor model is created with d-axis and q-axis current commands as inputs, and the difference between the position feedback value of the model and the actual motor end position feedback value is within a predetermined allowable range. A servo control system abnormality detection / diagnosis method characterized by determining that an abnormal load is present when the inertia is within an allowable range and an erroneous gate cutoff or the like does not occur when the value exceeds .  機械端検出器を有するフルクローズドループ方式の位置制御において、電源オン時にはセミクローズドループ方式の位置制御を行い、この位置制御期間中に機械端検出器による位置フィードバック信号の極性を判定し、その極性が指令位置の方向と一致していない場合には機械端検出器の位置フィードバック量の極性を反転し、この後にフルクローズドループ方式の位置制御へ移行することを特徴とするサーボ制御システムの自動適正化方法。 In the position control of the full closed loop system having the machine-side detector, the position control of the semi-closed loop system is performed when the power is turned on, and during this position control period, the polarity of the position feedback signal by the machine-side detector is determined, and the polarity is determined. If the position does not coincide with the direction of the command position, the polarity of the position feedback amount of the load-side detector is inverted, and thereafter, the system shifts to the full closed-loop position control. Method.  機械端位置検出器を有するフルクローズドループ方式の位置制御において、電源オン時からのモータ端検出器による位置フィードバック量と機械端検出器による位置フィードバック量との差を監視し、その差が所定値以上になれば、機械端検出器による位置フィードバック量の極性を反転することを特徴とするサーボ制御システムの自動適正化方法。 In the position control of the fully closed loop system having the load-side position detector, the difference between the position feedback amount by the motor-side detector and the position feedback amount by the load-side detector from when the power is turned on is monitored. According to the present invention, there is provided an automatic optimization method for a servo control system, comprising inverting the polarity of a position feedback amount by a load-side detector.  機械端位置検出器を有するフルクローズドループ方式の位置制御において、デュアルフィードバック制御を行い、電源オン時からのモータ端検出器による位置フィードバック量と機械端検出器による位置フィードバック量との差を監視し、その差が所定値以上になれば、機械端検出器による位置フィードバック量の極性を反転することを特徴とするサーボ制御システムの自動適正化方法。 Dual-feedback control is performed in the position control of the fully closed loop system having the load-side position detector, and the difference between the position feedback amount by the motor-side detector and the position feedback amount by the load-side detector from power-on is monitored. And if the difference is equal to or greater than a predetermined value, the polarity of the position feedback amount by the machine-side detector is inverted.  機械端検出器の位置フィードバック量の極性を反転した場合には、そのことの情報を不揮発性メモリに格納し、次回の電源投入時にはこの情報を基に機械端検出器の位置フィードバック量のフィードバック極性を反転させることを特徴とする請求項11または12に記載のサーボ制御システムの自動適正化方法。 If the polarity of the position feedback amount of the load-side detector is reversed, this information is stored in the non-volatile memory, and the next time the power is turned on, the feedback polarity of the position feedback amount of the load-side detector is based on this information. 13. The method according to claim 11, wherein:  早送り加減速時に必要とされたサーボアンプの出力トルクから可能な最適加減速時定数を演算し、次回加減速時には最適加減速時定数にて指令を作成することを特徴とするサーボ制御システムの自動適正化方法。 An automatic servo control system characterized by calculating the optimal acceleration / deceleration time constant from the output torque of the servo amplifier required during rapid traverse acceleration / deceleration, and creating a command with the optimal acceleration / deceleration time constant at the next acceleration / deceleration. Optimization method.  早送り加減速時に必要とされたサーボアンプの出力トルクから可能な最適加減速時定数を運動方向毎に個別に演算し、次回加減速時には該当運動方向の最適加減速時定数にて指令を作成することを特徴とするサーボ制御システムの自動適正化方法。 The optimum acceleration / deceleration time constant that can be calculated from the servo amplifier output torque required during rapid traverse acceleration / deceleration is calculated individually for each motion direction, and the next time the acceleration / deceleration is performed, a command is created using the optimum acceleration / deceleration time constant for the motion direction. An automatic optimization method for a servo control system.  早送り加減速時に必要とされたサーボアンプの出力トルクから可能な最適加減速時定数を加速時と減速時とで個別に演算し、次回加減速時には加速と減速とに関して該当する最適加減速時時定数にて指令を作成することを特徴とするサーボ制御システムの自動適正化方法。 The optimum acceleration / deceleration time constant that can be calculated from the output torque of the servo amplifier required during rapid traverse acceleration / deceleration is calculated separately for acceleration and deceleration. An automatic optimization method for a servo control system, characterized in that a command is created with a constant.  早送り加減速時に必要とされたサーボアンプの出力トルクから可能な最適加減速時定数を加速時、減速時および各運動方向毎に個別に演算し、それぞれの送り方向に対する加減速時の加速、減速のそれぞれに必要とされたサーボアンプの出力トルクから可能な時定数を常に演算し、次回加減速時には加速と減速と運動方向に関して該当する最適加減速時時定数にて指令を作成することを特徴とするサーボ制御システムの自動適正化方法。 The optimum acceleration / deceleration time constant that can be obtained from the servo amplifier output torque required during rapid traverse acceleration / deceleration is calculated individually for acceleration, deceleration, and each motion direction, and acceleration / deceleration during acceleration / deceleration for each feed direction is performed. Calculates possible time constants from the output torque of the servo amplifier required for each of the above, and creates a command at the next optimal acceleration / deceleration time constant for acceleration, deceleration, and motion direction at the next acceleration / deceleration. Automatic optimization method of servo control system.  早送り加減速中のみ誤差過大アラーム判定位置偏差量を通常よりも大きい値に設定することを特徴とするサーボ制御システムの自動適正化方法。 。A method for automatically optimizing a servo control system, wherein the excessive error alarm judgment position deviation amount is set to a value larger than usual only during rapid traverse acceleration / deceleration.  早送り加減速中のみ過速度アラームの判定モータ回転数を通常よりも大きい値に設定することを特徴とするサーボ制御システムの自動適正化方法。 (4) An overspeed alarm judgment method only during rapid traverse acceleration / deceleration A method for automatically optimizing a servo control system, wherein the motor speed is set to a value larger than usual.  速度指令の最高速度を一定値でクランプすることを特徴とするサーボ制御システムの自動適正化方法。 自動 Automatic optimization method of servo control system characterized by clamping the maximum speed of the speed command at a constant value.  加減速中のみ速度指令の最高速度を一定値でクランプすることを特徴とするサーボ制御システムの自動適正化方法。 自動 A method for automatically optimizing a servo control system, wherein the maximum speed of a speed command is clamped at a constant value only during acceleration / deceleration.  サーボアンプの最大電流制限中のみ速度指令の最高速度を一定値でクランプすることを特徴とするサーボ制御システムの自動適正化方法。 (4) An automatic optimization method for a servo control system, characterized in that the maximum speed of the speed command is clamped at a constant value only during the maximum current limitation of the servo amplifier.  電源投入時に複数の検出器用受信回路の送信側接続状態を検出して実際に接続されている検出器型名を自動判別し、パラメータで指定された検出器タイプと実際に接続されている検出器が異なる場合にはパラメータ異常アラームを発生する制御手段を備えたことを特徴とするサーボ制御システムの異常検出・診断装置。 When the power is turned on, the transmitter connection status of multiple detector receiver circuits is detected, the type of the detector actually connected is automatically determined, and the detector type specified by the parameter and the detector actually connected An abnormality detection / diagnosis device for a servo control system, comprising a control means for generating a parameter abnormality alarm when the values are different.  電源投入時に複数の検出器用受信回路の送信側接続状態を検出して実際に接続されている検出器型名を自動判別し、パラメータで指定された検出器タイプと実際に接続されている検出器が異なる場合には、接続されている検出器に対応する受信回路に切り換える制御手段を備えたことを特徴とするサーボ制御システムの自動適正化装置。 When the power is turned on, the transmitter connection status of multiple detector receiver circuits is detected, the type of the detector actually connected is automatically determined, and the detector type specified by the parameter and the detector actually connected A control circuit for switching to a receiving circuit corresponding to the connected detector when the values are different from each other.  サーボモータの出力端子に流れるU相、V相、W相の電流と相電圧とを検出する検出手段と、
 相電圧が所定値以上であるにも拘らず電流が流れない相が存在する場合にはモータ出力端子の未接続と判定する判定手段と、
 を備えたことを特徴とするサーボ制御システムの異常検出・診断装置。
Detecting means for detecting U-phase, V-phase, and W-phase currents and phase voltages flowing to the output terminal of the servomotor;
Determining means for determining that the motor output terminal is not connected when there is a phase in which no current flows despite the phase voltage being equal to or higher than a predetermined value;
An abnormality detection / diagnosis device for a servo control system, comprising:
 加速時、もしくは減速時におけるモータ出力端子に作用する各相の電圧をすべて検出する検出手段と、
 すべての相電圧が0となる場合にはコンバータ母線未接続と判定する判定手段と、
 を備えたことを特徴とするサーボ制御システムの異常検出・診断装置。
Detecting means for detecting all voltages of each phase acting on the motor output terminal during acceleration or deceleration;
Determining means for determining that the converter bus is not connected when all the phase voltages become 0;
An abnormality detection / diagnosis device for a servo control system, comprising:
 サーボモータの出力端子の各相間の電圧を検出して各相のスイッチング電圧を算出する算出手段と、
 算出したスイッチング電圧を入力とするフィルタを用いて連続的に滑らかな相電圧を検出する検出手段と、
 をさらに備えたことを特徴とする請求項26または27に記載のサーボ制御システムの異常検出・診断装置。
Calculating means for detecting the voltage between each phase of the output terminal of the servomotor and calculating the switching voltage of each phase;
Detecting means for continuously detecting a smooth phase voltage using a filter having the calculated switching voltage as an input;
The abnormality detection / diagnosis device for a servo control system according to claim 26 or 27, further comprising:
 サーボモータの電流制御を行うインバータ部におけるトランジスタへのゲート遮断信号がアラーム作動中でない場合に発生した場合には、そのゲート遮断要求信号が発生した箇所を検知する検知手段と、
 その信号が発生した回数を検知箇所ごとに過去の一定時間分メモリに記憶しておき、誤差過大、フィードバック異常等の制御系異常のアラームの要因を判別する判別手段と、
 を備えたことを特徴とするサーボ制御システムの異常検出・診断装置。
Detecting means for detecting a place where the gate cutoff request signal is generated, when a gate cutoff signal to the transistor in the inverter unit for controlling the current of the servomotor is not in operation;
Determining means for storing the number of times the signal has been generated in a memory for a predetermined time in the past for each detection location, and determining the cause of an alarm of a control system abnormality such as excessive error, feedback abnormality, and the like;
An abnormality detection / diagnosis device for a servo control system, comprising:
 機械端検出器を有するフルクローズドループ方式の位置制御において、位置指令、位置フィードバック、速度フィードバック、電流指令、電流フィードバックの極性を電源オン時から監視する監視手段と、
 そのすべての信号がある大きさ以上となったときに位置フィードバックだけが逆極性となる場合にはフィードバックケーブル誤配線と判定する判定手段と、
 を備えたことを特徴とするサーボ制御システムの異常検出・診断装置。
In the position control of the fully closed loop system having a load-side detector, position command, position feedback, speed feedback, current command, monitoring means for monitoring the polarity of the current feedback from the time of power-on,
Determining means for determining that the feedback cable is incorrectly wired if only the position feedback has the opposite polarity when all the signals have a certain magnitude or more,
An abnormality detection / diagnosis device for a servo control system, comprising:
 機械端検出器を有するフルクローズドループ方式の位置制御において、電源オン時にモータ一回転分等に相当するある決まった量を移動したときのモータ端検出器の検出パルス数と機械端の検出パルス数を比較する比較手段と、
 この比較結果より機械のギヤ比、ボールねじピッチ、機械端検出器分解能等の機械パラメータのパラメータ誤設定を検出する検出手段と、
 を備えたことを特徴とするサーボ制御システムの異常検出・診断装置。
In the position control of the fully closed loop system with the load-side detector, the number of pulses detected by the motor-side detector and the number of pulses detected by the load-side when the motor is moved by a certain amount equivalent to one rotation of the motor when the power is turned on. Means for comparing
A detecting means for detecting a parameter setting of a mechanical parameter such as a gear ratio of a machine, a ball screw pitch, and a resolution of a machine end detector from the comparison result;
An abnormality detection / diagnosis device for a servo control system, comprising:
 サーボモータの電流制御を行うソフトウェアにおいて、d軸、q軸電流指令を入力とするサーボモータモデルを作成する作成手段と、
 そのモデルの位置フィードバック値と実際のモータ端位置フィードバック値との差が、電流制限後でも所定の許容範囲内にあるにも拘らず偏差過大となる場合には加減速時定数不足であると判定する判定手段と、
 を備えたことを特徴とするサーボ制御システムの異常検出・診断装置。
Creating means for creating a servomotor model with d-axis and q-axis current commands as input in software for controlling current of the servomotor;
If the difference between the position feedback value of the model and the actual motor end position feedback value is within the predetermined allowable range even after the current limit and the deviation is excessive, it is determined that the acceleration / deceleration time constant is insufficient. Determining means for performing
An abnormality detection / diagnosis device for a servo control system, comprising:
 d軸、q軸電流指令を入力とするサーボモータモデルと、
 そのモデルの位置フィードバック値と実際のモータ端位置フィードバック値との差が所定の許容範囲を超えたとき、イナーシャが許容範囲内にあり、また誤ゲート遮断等が発生していない場合には異常負荷が存在していると判定する判定手段と、
 を備えたことを特徴とするサーボ制御システムの異常検出・診断装置。
a servo motor model that receives d-axis and q-axis current commands,
If the difference between the position feedback value of the model and the actual motor end position feedback value exceeds a predetermined allowable range, the inertia is within the allowable range, and if no erroneous gate interruption has occurred, an abnormal load Determining means for determining that a is present;
An abnormality detection / diagnosis device for a servo control system, comprising:
 機械端検出器を有するフルクローズドループ方式の位置制御において、電源オン時にはセミクローズドループ方式の位置制御を行い、この位置制御期間中に機械端検出器による位置フィードバック信号の極性を判定し、その極性が指令位置の方向と一致していない場合には機械端検出器の位置フィードバック量の極性を反転し、この後にフルクローズドループ方式の位置制御へ移行する制御手段を備えたことを特徴とするサーボ制御システムの自動適正化装置。 In the position control of the full closed loop system having the machine-side detector, the position control of the semi-closed loop system is performed when the power is turned on, and during this position control period, the polarity of the position feedback signal by the machine-side detector is determined, and the polarity is determined. A servo control means for inverting the polarity of the position feedback amount of the load-side detector when the direction does not match the direction of the command position, and thereafter shifting to a full closed-loop position control. Automatic adjustment system for control system.  機械端位置検出器を有するフルクローズドループ方式の位置制御において、電源オン時からのモータ端検出器による位置フィードバック量と機械端検出器による位置フィードバック量との差を監視し、その差が所定値以上になれば、機械端検出器による位置フィードバック量の極性を反転する制御手段を備えたことを特徴とするサーボ制御システムの自動適正化装置。 In the position control of the fully closed loop system having the load-side position detector, the difference between the position feedback amount by the motor-side detector and the position feedback amount by the load-side detector from when the power is turned on is monitored, and the difference is a predetermined value. According to the present invention, there is provided an automatic optimization device for a servo control system, comprising: a control unit for inverting the polarity of a position feedback amount by a load-side detector.  機械端位置検出器を有するフルクローズドループ方式の位置制御において、デュアルフィードバック制御を行い、電源オン時からのモータ端検出器による位置フィードバック量と機械端検出器による位置フィードバック量との差を監視し、その差が所定値以上になれば、機械端検出器による位置フィードバック量の極性を反転する制御手段を備えたことを特徴とするサーボ制御システムの自動適正化装置。 Dual-feedback control is performed in the position control of the fully closed loop system having the load-side position detector, and the difference between the position feedback amount by the motor-side detector and the position feedback amount by the load-side detector from power-on is monitored. An automatic optimizing device for a servo control system, comprising: control means for inverting the polarity of the position feedback amount by the machine-side detector when the difference becomes a predetermined value or more.  機械端検出器の位置フィードバック量の極性を反転した場合には、そのことの情報を不揮発性メモリに格納し、次回の電源投入時にはこの情報を基に機械端検出器の位置フィードバック量のフィードバック極性を反転させる制御手段を備えたことを特徴とする請求項35または36記載のサーボ制御システムの自動適正化装置。 If the polarity of the position feedback amount of the load-side detector is reversed, that information is stored in the non-volatile memory, and the next time the power is turned on, the feedback polarity of the position feedback amount of the load-side detector is based on this information. 37. The automatic optimization device for a servo control system according to claim 35, further comprising control means for reversing the angle.  早送り加減速時に必要とされたサーボアンプの出力トルクから可能な最適加減速時定数を演算し、次回加減速時には最適加減速時定数にて指令を作成する制御手段を備えたことを特徴とするサーボ制御システムの自動適正化装置。 A control means for calculating a possible optimal acceleration / deceleration time constant from the output torque of the servo amplifier required at the time of rapid traverse acceleration / deceleration, and generating a command with the optimal acceleration / deceleration time constant at the next acceleration / deceleration. Automatic adjustment device for servo control system.  早送り加減速時に必要とされたサーボアンプの出力トルクから可能な最適加減速時定数を運動方向毎に個別に演算し、次回加減速時には該当運動方向の最適加減速時定数にて指令を作成する制御手段を備えたことを特徴とするサーボ制御システムの自動適正化装置。 The optimum acceleration / deceleration time constant that can be calculated from the servo amplifier output torque required during rapid traverse acceleration / deceleration is individually calculated for each movement direction, and the next time acceleration / deceleration is used, a command is created using the optimum acceleration / deceleration time constant for the movement direction. An automatic optimization device for a servo control system, comprising a control means.  早送り加減速時に必要とされたサーボアンプの出力トルクから可能な最適加減速時定数を加速時と減速時とで個別に演算し、次回加減速時には加速と減速とに関して該当する最適加減速時時定数にて指令を作成する制御手段を備えたことを特徴とするサーボ制御システムの自動適正化装置。 The optimum acceleration / deceleration time constant that can be calculated from the output torque of the servo amplifier required during rapid traverse acceleration / deceleration is calculated separately for acceleration and deceleration. An automatic optimizing device for a servo control system, comprising a control means for generating a command with a constant.  早送り加減速時に必要とされたサーボアンプの出力トルクから可能な最適加減速時定数を加速時、減速時および各運動方向毎に個別に演算し、それぞれの送り方向に対する加減速時の加速、減速のそれぞれに必要とされたサーボアンプの出力トルクから可能な時定数を常に演算し、次回加減速時には加速と減速と運動方向に関して該当する最適加減速時時定数にて指令を作成する制御手段を備えたことを特徴とするサーボ制御システムの自動適正化装置。 The optimum acceleration / deceleration time constant that can be obtained from the servo amplifier output torque required during rapid traverse acceleration / deceleration is calculated individually for acceleration, deceleration, and each motion direction, and acceleration / deceleration during acceleration / deceleration for each feed direction is performed. A control means that always calculates the possible time constant from the output torque of the servo amplifier required for each of the above, and creates a command at the next optimal acceleration / deceleration time constant corresponding to the acceleration, deceleration and movement direction at the next acceleration / deceleration An automatic optimization device for a servo control system, comprising:  早送り加減速中のみ誤差過大アラーム判定位置偏差量を通常よりも大きい値に設定する設定手段を備えたことを特徴とするサーボ制御システムの自動適正化装置。 (4) An automatic optimizing device for a servo control system, comprising setting means for setting an excessive error alarm determination position deviation amount to a value larger than usual only during rapid traverse acceleration / deceleration.  早送り加減速中のみ過速度アラームの判定モータ回転数を通常よりも大きい値に設定する設定手段を備えたことを特徴とするサーボ制御システムの自動適正化装置。 (4) An automatic optimizing device for a servo control system, comprising: setting means for setting a motor rotation speed to a value larger than a normal value only during determination of an overspeed alarm during rapid traverse acceleration / deceleration.  速度指令の最高速度を一定値でクランプするクランプ手段を備えたことを特徴とするサーボ制御システムの自動適正化装置。 (4) An automatic optimizing device for a servo control system, comprising a clamping means for clamping a maximum speed of a speed command at a constant value.  加減速中のみ速度指令の最高速度を一定値でクランプするクランプ手段を備えたことを特徴とするサーボ制御システムの自動適正化装置。 (4) An automatic optimizing device for a servo control system, comprising a clamp means for clamping a maximum speed of a speed command at a constant value only during acceleration / deceleration.  サーボアンプの最大電流制限中のみ速度指令の最高速度を一定値でクランプするクランプ手段を備えたことを特徴とするサーボ制御システムの自動適正化装置。 (4) An automatic optimization device for a servo control system, comprising a clamp means for clamping the maximum speed of a speed command at a constant value only during the maximum current limitation of the servo amplifier.
JP2003352775A 2003-10-10 2003-10-10 Servo control device Expired - Fee Related JP3970829B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003352775A JP3970829B2 (en) 2003-10-10 2003-10-10 Servo control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003352775A JP3970829B2 (en) 2003-10-10 2003-10-10 Servo control device

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
JP2004103031A true JP2004103031A (en) 2004-04-02
JP3970829B2 JP3970829B2 (en) 2007-09-05

Family

ID=32290838

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003352775A Expired - Fee Related JP3970829B2 (en) 2003-10-10 2003-10-10 Servo control device

Country Status (1)

Country Link
JP (1) JP3970829B2 (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007219689A (en) * 2006-02-15 2007-08-30 Okuma Corp Position controller
JP2009154274A (en) * 2007-12-27 2009-07-16 Okuma Corp Method and apparatus for diagnosing machine
EP2273168A3 (en) * 2009-07-06 2014-07-30 Rolls-Royce plc Valve failure detection
JP5669986B1 (en) * 2013-12-13 2015-02-18 三菱電機株式会社 Numerical control apparatus and numerical control method
DE102016102177A1 (en) 2015-02-16 2016-08-18 Fanuc Corporation Motor control device with a miswiring detection function
WO2016151707A1 (en) * 2015-03-20 2016-09-29 株式会社日立産機システム Fault diagnosis method and control device utilizing same and power conversion device
CN108631693A (en) * 2018-04-28 2018-10-09 北京机械设备研究所 A kind of electric steering engine step response peak point current suppressing method and system
CN111722585A (en) * 2019-03-20 2020-09-29 发那科株式会社 Control system for industrial machine
US11223194B2 (en) 2019-12-16 2022-01-11 Fanuc Corporation Motor control apparatus including protection mechanism
US11314241B2 (en) * 2016-06-07 2022-04-26 Mitsubishi Electric Corporation Abnormality diagnosis apparatus and abnormality diagnosis method
US11323060B2 (en) 2019-12-16 2022-05-03 Fanuc Corporation Motor control apparatus including protection mechanism
CN115792360A (en) * 2023-02-03 2023-03-14 深圳研控自动化科技股份有限公司 Servo pulse overvoltage detection circuit and device

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007219689A (en) * 2006-02-15 2007-08-30 Okuma Corp Position controller
JP4644137B2 (en) * 2006-02-15 2011-03-02 オークマ株式会社 Position control device
JP2009154274A (en) * 2007-12-27 2009-07-16 Okuma Corp Method and apparatus for diagnosing machine
CN101470433B (en) * 2007-12-27 2012-06-20 大隈株式会社 Machine diagnosing method and device therefor
EP2273168A3 (en) * 2009-07-06 2014-07-30 Rolls-Royce plc Valve failure detection
JP5669986B1 (en) * 2013-12-13 2015-02-18 三菱電機株式会社 Numerical control apparatus and numerical control method
WO2015087455A1 (en) * 2013-12-13 2015-06-18 三菱電機株式会社 Numerical control device and numerical control method
US9939804B2 (en) 2013-12-13 2018-04-10 Mitsubishi Electric Corporation Numerical control device and numerical control method
US9813010B2 (en) 2015-02-16 2017-11-07 Fanuc Corporation Motor control apparatus having a function of detecting miswiring
DE102016102177A1 (en) 2015-02-16 2016-08-18 Fanuc Corporation Motor control device with a miswiring detection function
DE102016102177B4 (en) 2015-02-16 2018-12-13 Fanuc Corporation Motor control device with a miswiring detection function
CN107250934A (en) * 2015-03-20 2017-10-13 株式会社日立产机系统 Method for diagnosing faults and use its control device, power inverter
WO2016151707A1 (en) * 2015-03-20 2016-09-29 株式会社日立産機システム Fault diagnosis method and control device utilizing same and power conversion device
US11314241B2 (en) * 2016-06-07 2022-04-26 Mitsubishi Electric Corporation Abnormality diagnosis apparatus and abnormality diagnosis method
CN108631693A (en) * 2018-04-28 2018-10-09 北京机械设备研究所 A kind of electric steering engine step response peak point current suppressing method and system
CN108631693B (en) * 2018-04-28 2020-07-03 北京机械设备研究所 Method and system for suppressing step response peak current of electric steering engine
CN111722585A (en) * 2019-03-20 2020-09-29 发那科株式会社 Control system for industrial machine
US11223194B2 (en) 2019-12-16 2022-01-11 Fanuc Corporation Motor control apparatus including protection mechanism
US11323060B2 (en) 2019-12-16 2022-05-03 Fanuc Corporation Motor control apparatus including protection mechanism
CN115792360A (en) * 2023-02-03 2023-03-14 深圳研控自动化科技股份有限公司 Servo pulse overvoltage detection circuit and device

Also Published As

Publication number Publication date
JP3970829B2 (en) 2007-09-05

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
JP2004103031A (en) Malfunction detection/diagnosis method and device for servo control system, and automatic rectification method and device therefor
DE60036192T2 (en) Synchronous motor control device and vehicle with the control device
EP2944502B1 (en) Electric motor vehicle
EP1814217B1 (en) Motor control method and motor control apparatus
JP6161851B1 (en) Power regeneration converter and motor control device
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
CN102208888A (en) Motor driving system, motor controller, and safety function expander
US7642740B2 (en) Servomotor controller
US9823647B2 (en) Servo control apparatus having function of sensorless controlled stop
JP2007038396A (en) Operation method of machine tool, machine tool and its component
US10996654B2 (en) Servo controller
US8810168B2 (en) Rotating machine controller
CN114377862B (en) Method and device for controlling a centrifuge, centrifuge and storage medium
DE19607688B4 (en) Method and device for detecting and diagnosing an abnormal operating condition in a servo control system
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
JPH10243693A (en) Stepping motor driving circuit
EP2632653B1 (en) Method and apparatus for monitoring and limiting the velocity of an industrial robot
CN110703690A (en) Operation method of intelligent control and monitoring system for machining process
CN108809180A (en) The method for controlling servo-driver based on pre- estimation and sliding formwork observation method

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070109

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070307

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070606

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110615

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120615

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130615

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees