JP2023139729A - Servo control device, servo system and servo control method - Google Patents

Servo control device, servo system and servo control method Download PDF

Info

Publication number
JP2023139729A
JP2023139729A JP2022045414A JP2022045414A JP2023139729A JP 2023139729 A JP2023139729 A JP 2023139729A JP 2022045414 A JP2022045414 A JP 2022045414A JP 2022045414 A JP2022045414 A JP 2022045414A JP 2023139729 A JP2023139729 A JP 2023139729A
Authority
JP
Japan
Prior art keywords
correction amount
state quantity
unit
value
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.)
Pending
Application number
JP2022045414A
Other languages
Japanese (ja)
Inventor
剛 佐藤
Takeshi Sato
滉稀 中根
Koki Nakane
慎哉 西野
Shinya Nishino
英樹 麻生
Hideki Aso
昭太郎 赤穂
Shotaro Akaho
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
National Institute of Advanced Industrial Science and Technology AIST
Original Assignee
Mitsubishi Electric Corp
National Institute of Advanced Industrial Science and Technology AIST
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, National Institute of Advanced Industrial Science and Technology AIST filed Critical Mitsubishi Electric Corp
Priority to JP2022045414A priority Critical patent/JP2023139729A/en
Publication of JP2023139729A publication Critical patent/JP2023139729A/en
Pending legal-status Critical Current

Links

Images

Abstract

To obtain a servo control device that enables highly accurate and stable control of an actuator.SOLUTION: A servo control device 2 comprises: a command generation unit 5 that generates command information 11 for controlling an actuator; a state quantity prediction unit 7 that simultaneously calculates a predicted value of a state quantity of the actuator or a mechanical system 4 driven by the actuator, and an index for representing a reliability of the predicted value; a correction amount calculation unit 8 that calculates a correction amount for correcting command information 11 based on the predicted value and the index; and a servo control unit 6 that controls the actuator based on the command information 11 corrected using the correction amount.SELECTED DRAWING: Figure 1

Description

本開示は、アクチュエータを制御するサーボ制御装置、サーボシステムおよびサーボ制御方法に関する。 The present disclosure relates to a servo control device, a servo system, and a servo control method that control actuators.

工作機械のモータを制御するサーボ制御装置は、工具、または被加工物を固定するテーブルといった被駆動体の位置または速度が指令に追従するように、モータに供給される電流を制御する。サーボ制御装置は、加工プログラムによって指示される移動軌跡にて被駆動体を移動させる場合、被駆動体の位置を精緻に管理しながらモータを制御する。モータの制御においては、さまざまな外乱の影響によって、指令された位置と実際の位置との誤差である軌跡誤差が生じることがある。軌跡誤差を生じさせる外乱としては、モータが回転の方向を反転させる際の摩擦によって生じるロストモーション、モータを加速または減速させる際に生じる機械系の振動などが挙げられる。従来、外乱による軌跡誤差を低減させるために、さまざまな方法が提案されている。 A servo control device that controls a motor of a machine tool controls the current supplied to the motor so that the position or speed of a driven object, such as a tool or a table that fixes a workpiece, follows a command. When moving a driven object along a movement trajectory instructed by a machining program, the servo control device controls the motor while precisely managing the position of the driven object. In motor control, a trajectory error, which is an error between a commanded position and an actual position, may occur due to the effects of various disturbances. Disturbances that cause trajectory errors include lost motion caused by friction when the motor reverses the direction of rotation, and vibrations in the mechanical system that occur when the motor is accelerated or decelerated. Conventionally, various methods have been proposed to reduce trajectory errors caused by disturbances.

外乱による軌跡誤差を低減させるための方法の1つとして、モータの軸の回転方向位置のデータまたは回転速度のデータをセンサ等によって取得し、位置または速度のデータに基づいて指令値の補正量を推定するためのモデルを使うことによって指令値を補正する方法が知られている。ただし、モータの制御において生じ得る外乱についての考慮が不十分であると、モデルの使用による補正を行っても補正の効果が表れないか、または、補正により指令値が過度に変更されることで却って軌跡誤差を悪化させる場合がある。また、モデルに入力されるデータが外乱等によって乱された場合、または、未知の入力があった場合において、想定外の補正が行われる可能性がある。このように、従来の技術によって指令値が補正されても、外乱の影響により、モータの高精度かつ安定した制御が困難になる場合があった。そこで、補正の精度を高めるために、モデルから出力される推定値の信頼性を評価し、評価の結果を制御に活用することが考えられている。 One method for reducing trajectory errors caused by disturbances is to acquire data on the rotational direction position or rotational speed of the motor shaft using a sensor, etc., and then adjust the amount of correction of the command value based on the position or speed data. A method of correcting a command value by using a model for estimation is known. However, if sufficient consideration is not given to disturbances that may occur during motor control, even if correction is performed using a model, the effect of correction may not be apparent, or the command value may be changed excessively due to correction. On the contrary, it may worsen the trajectory error. Furthermore, if the data input to the model is disturbed by a disturbance or the like, or if there is an unknown input, there is a possibility that unexpected corrections will be made. As described above, even if the command value is corrected using the conventional technology, highly accurate and stable control of the motor may become difficult due to the influence of disturbances. Therefore, in order to improve the accuracy of correction, it has been considered to evaluate the reliability of the estimated value output from the model and utilize the evaluation results for control.

特許文献1には、工作機械の物理状態を表す情報をニューラルネットワークへ入力することによって、工作機械の構成要素の位置の変動量または構成要素間の距離の変動量を推定し、変動量に対する補正量を算出する装置において、推定された変動量の信頼性を評価することが開示されている。特許文献1に開示されている装置は、信頼性の評価結果に基づいて調整された補正量を算出する。 Patent Document 1 discloses that by inputting information representing the physical state of the machine tool into a neural network, the amount of variation in the position of the machine tool components or the amount of variation in the distance between the components is estimated, and the amount of variation is corrected. It is disclosed that in an apparatus for calculating a quantity, the reliability of an estimated variation quantity is evaluated. The device disclosed in Patent Document 1 calculates the adjusted correction amount based on the reliability evaluation result.

特開2020-179429号公報JP2020-179429A

特許文献1に開示されている装置は、推定を実行する時点における変動量を求めてから、求めた変動量についての信頼性を評価する。かかる手順によると、変動量を推定した時点から遅れて信頼性の評価結果が求まることから、指令値の補正には、過去の変動量についての信頼性を評価した結果に基づいて調整された補正量が使用されることとなる。変動量を推定する処理を複数回繰り返して実行してから信頼性を評価することから、信頼性の評価結果を得るための演算にはある程度の時間を要する。特許文献1の技術では、過去の変動量についての信頼性を評価した結果に基づいて調整された補正量が使用されることによって、補正によって軌跡誤差を低減させることができない場合がある。このため、特許文献1の技術によると、補正によって軌跡誤差を低減させることができない場合があるため、モータといったアクチュエータの高精度かつ安定した制御が困難であるという問題があった。 The device disclosed in Patent Document 1 determines the amount of variation at the time of performing estimation, and then evaluates the reliability of the determined amount of variation. According to this procedure, the reliability evaluation result is obtained after the estimation of the amount of variation. Therefore, when correcting the command value, corrections adjusted based on the results of evaluating the reliability of the amount of variation in the past are necessary. amount will be used. Since reliability is evaluated after the process of estimating the amount of variation is repeated multiple times, a certain amount of time is required for calculations to obtain reliability evaluation results. In the technique of Patent Document 1, since a correction amount adjusted based on the results of evaluating reliability of past fluctuation amounts is used, the trajectory error may not be reduced by correction in some cases. For this reason, according to the technique disclosed in Patent Document 1, it may not be possible to reduce the trajectory error through correction, so there is a problem in that highly accurate and stable control of an actuator such as a motor is difficult.

本開示は、上記に鑑みてなされたものであって、アクチュエータの高精度かつ安定した制御を可能とするサーボ制御装置を得ることを目的とする。 The present disclosure has been made in view of the above, and an object thereof is to obtain a servo control device that enables highly accurate and stable control of an actuator.

上述した課題を解決し、目的を達成するために、本開示にかかるサーボ制御装置は、アクチュエータを制御するための指令情報を生成する指令生成部と、アクチュエータまたはアクチュエータが駆動する機械系の状態量の予測値と予測値の信頼度を表す指標とを同時に算出する状態量予測部と、指令情報を補正するための補正量を予測値と指標とに基づいて算出する補正量演算部と、補正量を用いて補正された指令情報に基づいてアクチュエータを制御するサーボ制御部と、を備える。 In order to solve the above problems and achieve the objectives, a servo control device according to the present disclosure includes a command generation unit that generates command information for controlling an actuator, and a state quantity of the actuator or a mechanical system driven by the actuator. a state quantity prediction unit that simultaneously calculates a predicted value and an index representing the reliability of the predicted value; a correction amount calculation unit that calculates a correction amount for correcting command information based on the predicted value and the index; and a servo control section that controls the actuator based on command information corrected using the amount.

本開示にかかるサーボ制御装置は、アクチュエータの高精度かつ安定した制御が可能となるという効果を奏する。 The servo control device according to the present disclosure has the effect of enabling highly accurate and stable control of the actuator.

実施の形態1にかかるサーボシステムの構成例を示す図A diagram showing a configuration example of a servo system according to Embodiment 1. 実施の形態1にかかるサーボシステムのモータおよび機械系の構成例を示す図A diagram showing a configuration example of a motor and mechanical system of a servo system according to Embodiment 1. 実施の形態1における状態量の予測値と予測値のばらつきとを概念的に示す説明図An explanatory diagram conceptually showing predicted values of state quantities and variations in predicted values in Embodiment 1 実施の形態1にかかるサーボシステムの変形例を示す図A diagram showing a modification of the servo system according to the first embodiment 実施の形態1にかかるサーボシステムのサーボ制御装置が実行する処理の手順を示すフローチャートFlowchart showing the procedure of processing executed by the servo control device of the servo system according to the first embodiment 実施の形態2にかかるサーボシステムが有する補正量演算部の構成例を示す図A diagram showing a configuration example of a correction amount calculation unit included in the servo system according to Embodiment 2. 実施の形態2の補正量演算部における評価値の演算に用いられる評価関数の例を示す図A diagram showing an example of an evaluation function used to calculate an evaluation value in the correction amount calculation unit of Embodiment 2. 実施の形態3にかかるサーボシステムの構成例を示す図A diagram showing a configuration example of a servo system according to Embodiment 3 実施の形態3にかかるサーボシステムにおいて同定される応答特性について説明するための図Diagram for explaining response characteristics identified in the servo system according to Embodiment 3 実施の形態4にかかるサーボシステムの構成例を示す図A diagram showing a configuration example of a servo system according to a fourth embodiment 実施の形態1から4にかかるサーボシステムのサーボ制御装置を実現するハードウェアの構成例を示す図A diagram showing an example of a hardware configuration for realizing a servo control device of a servo system according to Embodiments 1 to 4.

以下に、実施の形態にかかるサーボ制御装置、サーボシステムおよびサーボ制御方法を図面に基づいて詳細に説明する。 Below, a servo control device, a servo system, and a servo control method according to embodiments will be described in detail based on the drawings.

実施の形態1.
図1は、実施の形態1にかかるサーボシステム1の構成例を示す図である。サーボシステム1は、サーボ制御装置2と、アクチュエータであるモータ3と、モータ3が駆動する機械系4と、学習部9とを有する。サーボ制御装置2は、モータ3を制御する。
Embodiment 1.
FIG. 1 is a diagram showing a configuration example of a servo system 1 according to the first embodiment. The servo system 1 includes a servo control device 2, a motor 3 as an actuator, a mechanical system 4 driven by the motor 3, and a learning section 9. Servo control device 2 controls motor 3 .

サーボ制御装置2は、モータ3を制御するための指令情報11を生成する指令生成部5と、指令情報11に基づいてモータ3を制御するサーボ制御部6と、モータ3または機械系4の状態量を予測する状態量予測部7と、指令情報11を補正するための補正量を求める補正量演算部8とを有する。状態量は、モータ3の位置、速度、加速度またはトルク、モータ3に流れる電流、機械系4が有する被駆動体の位置または速度などである。 The servo control device 2 includes a command generation unit 5 that generates command information 11 for controlling the motor 3, a servo control unit 6 that controls the motor 3 based on the command information 11, and a state of the motor 3 or the mechanical system 4. It has a state quantity prediction section 7 that predicts the amount, and a correction amount calculation section 8 that calculates the correction amount for correcting the command information 11. The state quantities include the position, speed, acceleration, or torque of the motor 3, the current flowing through the motor 3, the position or speed of a driven body included in the mechanical system 4, and the like.

指令生成部5は、生成した指令情報11を出力する。指令情報11は、モータ3の位置、速度、加速度またはトルクと、モータ3に流れる電流とのうち少なくとも1つの指令値を含む。指令生成部5は、数値制御装置またはモーションコントローラといった装置により実現される。サーボ制御部6は、サーボ制御周期おきにモータ3の位置、速度および加速度を制御する。サーボ制御部6は、モータ3の実際の動作状態をモニタし、モータ3の動作状態を指令値に一致させるように、モータ3に供給される電力を随時調整する。サーボ制御装置2は、モータ3に電圧を印加することによって、モータ3を駆動する。モータ3は、駆動対象である機械系4に接続されている。機械系4は、モータ3の回転に伴って動作する。 The command generation unit 5 outputs the generated command information 11. The command information 11 includes at least one command value among the position, speed, acceleration, or torque of the motor 3 and the current flowing through the motor 3. The command generation unit 5 is realized by a device such as a numerical control device or a motion controller. The servo control unit 6 controls the position, speed, and acceleration of the motor 3 at every servo control period. The servo control unit 6 monitors the actual operating state of the motor 3 and adjusts the power supplied to the motor 3 as needed so that the operating state of the motor 3 matches the command value. The servo control device 2 drives the motor 3 by applying a voltage to the motor 3. The motor 3 is connected to a mechanical system 4 to be driven. The mechanical system 4 operates as the motor 3 rotates.

図2は、実施の形態1にかかるサーボシステム1のモータ3および機械系4の構成例を示す図である。モータ3は、サーボモータ21と、サーボモータ21に取り付けられているモータ端位置検出器22とを有する。モータ端位置検出器22の具体例は、ロータリエンコーダである。モータ端位置検出器22は、サーボモータ21の回転角度であるモータ端位置を検出する。モータ端位置検出器22は、モータ端位置の検出結果を出力する。 FIG. 2 is a diagram showing a configuration example of the motor 3 and mechanical system 4 of the servo system 1 according to the first embodiment. The motor 3 includes a servo motor 21 and a motor end position detector 22 attached to the servo motor 21. A specific example of the motor end position detector 22 is a rotary encoder. The motor end position detector 22 detects the motor end position, which is the rotation angle of the servo motor 21 . The motor end position detector 22 outputs the detection result of the motor end position.

機械系4は、サーボモータ21の動力を伝達するカップリング23と、サーボモータ21により回転駆動されるボールねじ24と、ボールねじ24の回転を直線運動に変換するボールねじナット25と、ボールねじナット25に固定されているテーブル26とを有する。ボールねじ24およびボールねじナット25は、モータ3の動力を被駆動体であるテーブル26へ伝達するための機構を構成する。ボールねじ24は、カップリング23を介してサーボモータ21に接続されている。ボールねじナット25はボールねじ24に嵌合されており、テーブル26およびボールねじナット25は一体となって駆動される。 The mechanical system 4 includes a coupling 23 that transmits the power of the servo motor 21, a ball screw 24 that is rotationally driven by the servo motor 21, a ball screw nut 25 that converts the rotation of the ball screw 24 into linear motion, and a ball screw. It has a table 26 fixed to a nut 25. The ball screw 24 and the ball screw nut 25 constitute a mechanism for transmitting the power of the motor 3 to the table 26, which is a driven body. Ball screw 24 is connected to servo motor 21 via coupling 23. The ball screw nut 25 is fitted onto the ball screw 24, and the table 26 and the ball screw nut 25 are driven together.

モータ端位置検出器22により検出された回転角度の検出単位が「度」であるとすると、モータ端位置の値にボールねじリードを乗じて、360度で除することにより回転角度をテーブル26の移動方向の長さに換算することができる。ボールねじリードは、サーボモータ21の1回転あたりのテーブル移動量である。モータ端位置検出器22は、テーブル26の移動方向の長さに換算されたモータ端位置を求め、換算されたモータ端位置を示す値を出力する。 Assuming that the detection unit of the rotation angle detected by the motor end position detector 22 is "degrees", the rotation angle can be calculated from the table 26 by multiplying the motor end position value by the ball screw lead and dividing by 360 degrees. It can be converted to the length in the moving direction. The ball screw lead is the amount of table movement per rotation of the servo motor 21. The motor end position detector 22 determines the motor end position converted to the length of the table 26 in the moving direction, and outputs a value indicating the converted motor end position.

サーボ制御部6による制御は、モータ端位置をフィードバック制御に用いるセミクローズド制御に限られず、テーブル26の位置である機械端位置をフィードバック制御に用いるフルクローズド制御であっても良い。サーボ制御部6によるフィードバック制御がフルクローズド制御である場合、テーブル26には、機械端位置検出器27と機械端位置検出器ヘッド28とが取り付けられる。機械端位置検出器27は、例えば、リニアエンコーダである。機械端位置検出器ヘッド28は、例えば、リニアエンコーダヘッドである。機械端位置検出器27は、機械端位置の検出結果を出力する。 The control by the servo control unit 6 is not limited to semi-closed control that uses the motor end position for feedback control, but may be full closed control that uses the machine end position, which is the position of the table 26, for feedback control. When the feedback control by the servo control unit 6 is full closed loop control, a machine end position detector 27 and a machine end position detector head 28 are attached to the table 26. The machine end position detector 27 is, for example, a linear encoder. The machine end position detector head 28 is, for example, a linear encoder head. The machine end position detector 27 outputs the detection result of the machine end position.

サーボ制御部6には、モータ端位置検出器22によって検出されたモータ端位置の情報または機械端位置検出器27によって検出された機械端位置の情報が入力される。フィードバック制御のために検出される位置を、フィードバック位置と称する。以下の説明では、サーボ制御部6によるフィードバック制御がセミクローズド制御である場合を例とする。 Information on the motor end position detected by the motor end position detector 22 or information on the machine end position detected by the machine end position detector 27 is input to the servo control unit 6. The position detected for feedback control is called a feedback position. In the following description, a case where the feedback control by the servo control unit 6 is semi-closed control will be exemplified.

サーボ制御部6は、モータ端位置の情報をモータ3から取得する。サーボ制御部6は、モータ端位置の情報であるフィードバック情報15を出力する。学習部9は、予測モデル16を生成し、生成した予測モデル16を出力する。状態量予測部7には、指令情報11と、フィードバック情報15と、予測モデル16とが入力される。状態量予測部7は、モータ3または機械系4の状態量の予測値と、信頼度指標とを算出する。信頼度指標は、算出された予測値の信頼度を表す指標である。状態量予測部7は、予測値の算出結果である予測状態量情報12と、信頼度指標の算出結果である指標情報13とを出力する。 The servo control unit 6 acquires information on the motor end position from the motor 3. The servo control unit 6 outputs feedback information 15 which is information on the motor end position. The learning unit 9 generates a prediction model 16 and outputs the generated prediction model 16. Command information 11 , feedback information 15 , and prediction model 16 are input to state quantity prediction unit 7 . The state quantity prediction unit 7 calculates a predicted value of the state quantity of the motor 3 or the mechanical system 4 and a reliability index. The reliability index is an index representing the reliability of the calculated predicted value. The state quantity prediction unit 7 outputs predicted state quantity information 12 which is a calculation result of a predicted value, and index information 13 which is a calculation result of a reliability index.

補正量演算部8には、予測状態量情報12と指標情報13とが入力される。補正量演算部8は、指令情報11を補正するための補正量を状態量の予測値と信頼度指標とに基づいて算出する。補正量演算部8は、補正量の算出結果である補正情報14を出力する。サーボ制御部6には、指令情報11と補正情報14とが入力される。サーボ制御部6は、指令情報11に示される指令値を、補正量を用いた演算によって補正する。サーボ制御部6は、補正量を用いて補正された指令情報11に基づいてモータ3を制御する。 Predicted state quantity information 12 and index information 13 are input to the correction amount calculation unit 8 . The correction amount calculation unit 8 calculates the correction amount for correcting the command information 11 based on the predicted value of the state quantity and the reliability index. The correction amount calculation unit 8 outputs correction information 14 which is the calculation result of the correction amount. Command information 11 and correction information 14 are input to the servo control unit 6 . The servo control unit 6 corrects the command value shown in the command information 11 by calculation using the correction amount. The servo control unit 6 controls the motor 3 based on the command information 11 corrected using the correction amount.

次に、状態量予測部7の詳細について説明する。状態量予測部7は、指令情報11とフィードバック情報15に示される状態量の実測値とを入力として、予測モデル16の使用により現在または未来の状態量を予測する。予測モデル16は、状態量の実測値および指令情報11から現在または未来の状態量を予測するための学習済みモデルである。モータ3の状態量の1つの例は、モータ端位置である。機械系4の状態量の1つの例は、機械端位置である。現在とは、状態量予測部7において状態量の予測を行った時点とする。未来とは、状態量予測部7において状態量の予測を行った時点よりも後の時点とする。 Next, details of the state quantity prediction unit 7 will be explained. The state quantity prediction unit 7 receives the command information 11 and the measured value of the state quantity shown in the feedback information 15 as input, and uses a prediction model 16 to predict the current or future state quantity. The prediction model 16 is a trained model for predicting the current or future state quantity from the actual measured value of the state quantity and the command information 11. One example of the state quantity of the motor 3 is the motor end position. One example of the state quantity of the mechanical system 4 is the machine end position. The current time is defined as the time point when the state quantity prediction unit 7 predicts the state quantity. The future is defined as a time point after the time when the state quantity prediction unit 7 predicts the state quantity.

ここで、サーボ制御周期がN周期目であるときの状態量をeN、N周期目において予測された状態量である予測状態量をμNとする。例えば、状態量予測部7は、サーボ制御周期がN周期目であるときに、N+i周期目のときにおける予測状態量μN+iの値を算出する。iは0以上の自然数とする。状態量予測部7は、N+i周期目のタイミングにおいて、予測状態量μN+iの値、すなわち状態量の予測値を補正量演算部8へ出力する。 Here, let e N be the state quantity when the servo control cycle is the Nth cycle, and μ N be the predicted state quantity that is the state quantity predicted in the Nth cycle. For example, when the servo control cycle is the Nth cycle, the state quantity prediction unit 7 calculates the value of the predicted state quantity μ N+i at the N+ith cycle. i is a natural number greater than or equal to 0. The state quantity prediction unit 7 outputs the value of the predicted state quantity μ N+i , that is, the predicted value of the state quantity, to the correction amount calculation unit 8 at the timing of the N+i cycle.

このように、状態量予測部7は、状態量の予測値を算出する時点における状態についての状態量、または状態量の予測値を算出する時点よりも後の時点における状態についての状態量を予測し、予測された状態量の時点に一致するタイミングにおいて状態量の予測値を出力する。サーボ制御装置2は、状態量予測部7から予測値を出力するタイミングを、予測された状態量の時点に一致させることによって、処理または通信などの遅延がある場合であっても指令情報11の適切な補正を行うことができる。 In this way, the state quantity prediction unit 7 predicts the state quantity for the state at the time when the predicted value of the state quantity is calculated, or the state quantity for the state at a time later than the time when the predicted value for the state quantity is calculated. Then, the predicted value of the state quantity is output at a timing that coincides with the time point of the predicted state quantity. By matching the timing of outputting the predicted value from the state quantity prediction unit 7 with the time of the predicted state quantity, the servo control device 2 can maintain the command information 11 even when there is a delay in processing or communication. Appropriate corrections can be made.

状態量予測部7は、状態量の予測値と信頼度指標とを同時に算出する。状態量予測部7は、予測モデル16を用いて、予測状態量の分布、すなわち予測される状態量の確率分布を求める。状態量予測部7は、状態量の実測値と確率分布とに基づいて、状態量の予測値と信頼度指標とを算出する。 The state quantity prediction unit 7 simultaneously calculates the predicted value of the state quantity and the reliability index. The state quantity prediction unit 7 uses the prediction model 16 to obtain a distribution of predicted state quantities, that is, a probability distribution of predicted state quantities. The state quantity prediction unit 7 calculates the predicted value and reliability index of the state quantity based on the actual measured value of the state quantity and the probability distribution.

ここで、予測モデル16の例と、予測モデル16を用いた予測状態量および信頼度指標の算出例とについて説明する。実施の形態1において、状態量予測部7は、予測モデル16から予測状態量の確率分布を算出し、予測状態量の確率分布から予測状態量と信頼度指標とを算出する。 Here, an example of the prediction model 16 and an example of calculation of the predicted state quantity and reliability index using the prediction model 16 will be described. In the first embodiment, the state quantity prediction unit 7 calculates a probability distribution of predicted state quantities from the prediction model 16, and calculates a predicted state quantity and a reliability index from the probability distribution of the predicted state quantities.

予測モデル16には、ガウス過程回帰を用いることができる。ガウス過程回帰は、予測状態量が特定の分布に従う確率変数であると仮定した場合における確率モデルの一例である。ガウス過程回帰を用いて予測状態量と信頼度指標を算出する場合、例えば、次のような演算が行われる。 Gaussian process regression can be used for the prediction model 16. Gaussian process regression is an example of a probabilistic model that assumes that the predicted state quantity is a random variable that follows a specific distribution. When calculating predicted state quantities and reliability indicators using Gaussian process regression, the following calculations are performed, for example.

モータ3を動作させているときに、予測モデル16の入力データxおよび出力データyを取得するサンプリングが行われたとする。入力データxは指令値である。出力データyは予測状態量である。サンプリングによって得られる入力データxの1つをxj、サンプリングによって得られる出力データyの1つをyjとする。jは自然数である。M点のサンプリングによって入力データx1,・・・,xMが取得されたとして、新たな入力データxM+1に対する出力データyM+1の予測値であるm(xM+1)は、次の式(1)により求まる。分散σ2(xM+1)は、次の式(2)により求まる。CMはグラム行列とする。kは、入力データx1,・・・,xMの各々と新たな入力データxM+1とを引数とした場合のカーネル関数の値を要素とするベクトルである。kは、次の式(3)により表される。cは、引数に新たな入力データxM+1を含む各カーネル関数の値に精度パラメータを加えたスカラー値とする。精度パラメータは、予測モデル16の精度を表す。信頼度指標の元となる標準偏差σ(xM+1)は、分散σ2(xM+1)の平方根を計算することによって求まる。なお、以下の説明にて、出力データyM+1の予測値であるm(xM+1)を、予測値y* M+1と表すこともある。 Assume that sampling is performed to obtain input data x and output data y of the prediction model 16 while the motor 3 is operating. Input data x is a command value. The output data y is a predicted state quantity. Let x j be one of the input data x obtained by sampling, and y j be one of the output data y obtained by sampling. j is a natural number. Assuming that input data x 1 , . , is determined by the following equation (1). The variance σ 2 (x M+1 ) is determined by the following equation (2). Let C M be a Gram matrix. k is a vector whose elements are the values of the kernel function when each of the input data x 1 , . . . , x M and new input data x M+1 are used as arguments. k is expressed by the following equation (3). Let c be a scalar value obtained by adding a precision parameter to the value of each kernel function whose argument includes new input data x M+1 . The accuracy parameter represents the accuracy of the prediction model 16. The standard deviation σ(x M+1 ), which is the basis of the reliability index, is found by calculating the square root of the variance σ 2 (x M+1 ). Note that in the following explanation, m(x M+1 ), which is a predicted value of output data y M+1 , may be expressed as predicted value y * M+1 .

m(xM+1)=kT・(CM -1)・y ・・・(1)
σ2(xM+1)=c-kT・(CM -1)・k ・・・(2)
m(x M+1 )=k T・(C M -1 )・y...(1)
σ 2 (x M+1 )=c−k T・(C M −1 )・k (2)

Figure 2023139729000002
Figure 2023139729000002

新たな入力データxM+1に対する予測値y* M+1の確率分布p(y* M+1)はガウス分布に従うことから、確率分布p(y* M+1)は、次の式(4)により表される。 Since the probability distribution p ( y* M+1) of the predicted value y*M+1 for new input data xM +1 follows a Gaussian distribution, the probability distribution p(y * M +1 ) is calculated using the following formula ( 4).

Figure 2023139729000003
Figure 2023139729000003

ここで、状態量の予測値と予測値のばらつきとについて説明する。図3は、実施の形態1における状態量の予測値と予測値のばらつきとを概念的に示す説明図である。図3には、予測値と予測値のばらつきの範囲とがガウス過程回帰を用いて算出される例を示す。図3において、グラフの横軸は、入力データxを表す。グラフの縦軸は、出力データyを表す。図3における黒塗りの丸は、サンプリングによって取得されたデータを表す。 Here, the predicted value of the state quantity and the dispersion of the predicted value will be explained. FIG. 3 is an explanatory diagram conceptually showing predicted values of state quantities and variations in predicted values in the first embodiment. FIG. 3 shows an example in which the predicted value and the range of variation in the predicted value are calculated using Gaussian process regression. In FIG. 3, the horizontal axis of the graph represents input data x. The vertical axis of the graph represents output data y. The black circles in FIG. 3 represent data acquired by sampling.

ガウス過程回帰を用いた予測では、出力データyがガウス分布に従うものとして出力データyの予測値が算出される。このため、予測値をガウス分布の平均m(x)とし、予測の不確実性を示す指標をガウス分布の標準偏差σ(x)とすると、実際の出力データyは、約95%の確率で、m(x)-2σ(x)以上かつm(x)+2σ(x)以下の範囲に入ることが統計的に示される。図3において、実線である曲線は、出力データyの予測値である平均m(x)を表す。破線である曲線は、m(x)-2σ(x)とm(x)+2σ(x)とを表す。図3に示されるように、サンプリングにより取得されたデータに近い箇所では予測値のばらつきは小さくなり、かつ、サンプリングにより取得されたデータから離れた箇所では予測値のばらつきは大きくなる傾向がある。 In prediction using Gaussian process regression, a predicted value of output data y is calculated on the assumption that output data y follows a Gaussian distribution. Therefore, if the predicted value is the mean m(x) of the Gaussian distribution, and the index indicating the uncertainty of the prediction is the standard deviation σ(x) of the Gaussian distribution, then the actual output data y will have a probability of approximately 95%. , m(x)-2σ(x) or more and m(x)+2σ(x) or less. In FIG. 3, the solid curve represents the average m(x) that is the predicted value of the output data y. The dashed curves represent m(x)-2σ(x) and m(x)+2σ(x). As shown in FIG. 3, the variation in predicted values tends to be small at locations close to the data obtained by sampling, and the variation in predicted values tends to increase at locations far from the data obtained by sampling.

このような統計的な観点から、実施の形態1では、信頼度指標は標準偏差を基に定義されるものとする。例えば、標準偏差を信頼度指標として用いた場合、信頼度指標が小さいほど、予測値のばらつきが小さく、予測値が確からしいことを表す。 From such a statistical viewpoint, in the first embodiment, the reliability index is defined based on the standard deviation. For example, when standard deviation is used as a reliability index, the smaller the reliability index, the smaller the variation in predicted values, and the more likely the predicted values are.

状態量予測部7は、予測される状態量の確率分布を算出し、確率分布から、予測状態量である平均m(x)と信頼度指標である標準偏差σ(x)とを同時に算出する。状態量予測部7は、ある制御周期における平均m(x)と、かかる平均m(x)についての信頼度を示す標準偏差σ(x)とを、同じタイミングにおいて算出する。 The state quantity prediction unit 7 calculates the probability distribution of the predicted state quantities, and simultaneously calculates the average m(x), which is the predicted state quantity, and the standard deviation σ(x), which is the reliability index, from the probability distribution. . The state quantity prediction unit 7 calculates the average m(x) in a certain control period and the standard deviation σ(x) indicating the reliability of the average m(x) at the same timing.

なお、予測状態量と信頼度指標とを同時に算出するとは、予測状態量が算出されるタイミングと信頼度指標が算出されるタイミングとが必ずしも一致することを指すものではない。予測状態量と信頼度指標とを同時に算出するとは、モータ3または機械系4の同じタイミングにおける動作に基づいて予測状態量と信頼度指標とを算出することであっても良い。または、予測状態量と信頼度指標とを同時に算出するとは、モータ3または機械系4の同じタイミングにおける動作について、複数の推定処理ではなく一度の推定処理によって予測状態量と信頼度指標とを算出することであっても良い。推定処理とは、予測モデル16の演算を行うことを指すものとする。状態量予測部7は、予測状態量と信頼度指標とを同時に算出することによって、短い時間での演算によって予測状態量と信頼度指標との算出が可能である。予測状態量と信頼度指標とを同時に算出することは、高速な演算が必要となる組み込み機器の1つであるサーボ制御装置2に適している。 Note that calculating the predicted state amount and the reliability index at the same time does not necessarily mean that the timing at which the predicted state amount is calculated and the timing at which the reliability index is calculated are the same. Simultaneously calculating the predicted state quantity and the reliability index may mean calculating the predicted state quantity and the reliability index based on the operation of the motor 3 or the mechanical system 4 at the same timing. Alternatively, calculating the predicted state quantity and the reliability index simultaneously means that the predicted state quantity and the reliability index are calculated by a single estimation process rather than multiple estimation processes for the operation of the motor 3 or the mechanical system 4 at the same timing. It may be something you do. The estimation process refers to calculating the prediction model 16. The state quantity prediction unit 7 can calculate the predicted state quantity and the reliability index by calculating the predicted state quantity and the reliability index in a short time by calculating the predicted state quantity and the reliability index simultaneously. Simultaneously calculating the predicted state quantity and the reliability index is suitable for the servo control device 2, which is an embedded device that requires high-speed calculation.

なお、信頼度指標には、ガウス分布の分散σ2(x)が用いられても良い。または、信頼度指標には、分散σ2(x)、標準偏差σ(x)および平均m(x)のうちの1つ以上を用いた演算の結果が用いられても良い。予測状態量は、平均m(x)、標準偏差σ(x)および分散σ2(x)のうちの1つ以上を用いた演算の結果値が用いられても良い。以下の説明では、予測状態量は平均m(x)であって、かつ信頼度指標は標準偏差σ(x)であるものとする。 Note that the variance σ 2 (x) of a Gaussian distribution may be used as the reliability index. Alternatively, the reliability index may be the result of an operation using one or more of the variance σ 2 (x), the standard deviation σ(x), and the average m(x). As the predicted state quantity, a result value of an operation using one or more of the average m(x), the standard deviation σ(x), and the variance σ 2 (x) may be used. In the following explanation, it is assumed that the predicted state quantity is the average m(x), and the reliability index is the standard deviation σ(x).

予測モデル16にガウス過程回帰を用いる場合における予測状態量および信頼度指標の算出例を説明したが、予測状態量および信頼度指標を算出する方法は、ガウス過程回帰を用いるものに限られない。予測状態量の算出には、例えば、決定木、線形回帰、ブースティングまたはニューラルネットワークといった機械学習の手法が用いられても良い。信頼度指標の算出には、例えば、密度推定、混合密度ネットワーク等といった手法が用いられても良い。予測状態量の確率分布は、ガウス分布に限られず、指数分布またはt分布等であっても良く、複数の種類の分布を組み合わせたものであっても良い。 Although an example of calculating the predicted state quantity and reliability index when Gaussian process regression is used in the prediction model 16 has been described, the method for calculating the predicted state quantity and reliability index is not limited to using Gaussian process regression. For example, a machine learning method such as a decision tree, linear regression, boosting, or neural network may be used to calculate the predicted state quantity. For example, methods such as density estimation, mixed density network, etc. may be used to calculate the reliability index. The probability distribution of the predicted state quantity is not limited to a Gaussian distribution, but may be an exponential distribution, a t-distribution, or a combination of multiple types of distributions.

次に、学習部9の詳細について説明する。学習部9は、状態量予測部7で用いられる予測モデル16を学習する。具体的には、学習部9は、予測モデル16に適用されるパラメータであるモデルパラメータまたはハイパーパラメータを最適化する学習を行う。 Next, details of the learning section 9 will be explained. The learning unit 9 learns the prediction model 16 used by the state quantity prediction unit 7. Specifically, the learning unit 9 performs learning to optimize model parameters or hyperparameters that are parameters applied to the prediction model 16.

学習部9が用いる学習アルゴリズムはどのようなものを用いても良い。一例として、教師あり学習アルゴリズムの1つであるガウス過程回帰を適用した場合について説明する。予測モデル16にガウス過程回帰を用いた場合、カーネル関数等に使用されているパラメータを訓練データから推定し、予測モデル16を更新する。訓練データは、フィードバック情報15に示される状態量の実測値と指令情報11とを組み合わせたデータである。状態量の実測値は教師データである。パラメータの推定方法としては最尤推定等を用いることで、より確からしい予測モデル16を構築することができるが、パラメータの推定方法はこの方法に限定されない。 Any learning algorithm may be used by the learning section 9. As an example, a case will be described in which Gaussian process regression, which is one of the supervised learning algorithms, is applied. When Gaussian process regression is used in the prediction model 16, the parameters used in the kernel function and the like are estimated from training data, and the prediction model 16 is updated. The training data is data that is a combination of the actual measured values of the state quantities shown in the feedback information 15 and the command information 11. The actual measured values of the state quantities are teacher data. A more reliable prediction model 16 can be constructed by using maximum likelihood estimation or the like as a parameter estimation method, but the parameter estimation method is not limited to this method.

学習部9は、学習が収束した場合に、学習結果である予測モデル16を出力する。学習部9は、学習結果として、学習済みのモデル情報を出力しても良い。学習済みのモデル情報は、予測モデル16に適用されるパラメータ、すなわち学習したモデルパラメータまたはハイパーパラメータである。学習が収束したか否かの判定には、公知の判定手法を用いることができる。 The learning unit 9 outputs a prediction model 16 as a learning result when the learning converges. The learning unit 9 may output learned model information as a learning result. The learned model information is a parameter applied to the prediction model 16, that is, a learned model parameter or hyperparameter. A known determination method can be used to determine whether learning has converged.

図1に示す学習部9は、サーボ制御装置2の外部の装置である情報処理装置によって実現される。学習部9として機能する装置は、サーボ制御装置2に接続される。学習部9として機能する装置は、ネットワークを介してサーボ制御装置2に接続可能な装置であっても良い。学習部9として機能する装置は、クラウドサーバ上に存在する装置であっても良い。学習部9は、サーボ制御装置2の外部の装置によって実現されるものに限られず、サーボ制御装置2の内部に備えられても良い。 The learning section 9 shown in FIG. 1 is realized by an information processing device that is an external device to the servo control device 2. A device functioning as the learning section 9 is connected to the servo control device 2. The device functioning as the learning section 9 may be a device connectable to the servo control device 2 via a network. The device functioning as the learning unit 9 may be a device existing on a cloud server. The learning section 9 is not limited to being implemented by a device external to the servo control device 2, and may be provided inside the servo control device 2.

図4は、実施の形態1にかかるサーボシステム1の変形例を示す図である。図4に示す変形例であるサーボシステム1は、サーボ制御装置2の内部に学習部9が備えられている。変形例であるサーボシステム1は、サーボ制御装置2の内部に学習部9が備えられている点以外については、図1に示すサーボシステム1と同様である。 FIG. 4 is a diagram showing a modification of the servo system 1 according to the first embodiment. A servo system 1 that is a modified example shown in FIG. 4 includes a learning section 9 inside a servo control device 2. As shown in FIG. The servo system 1 which is a modified example is the same as the servo system 1 shown in FIG. 1 except that the learning section 9 is provided inside the servo control device 2.

次に、補正量演算部8の詳細について説明する。以下の説明では、指令情報11は、モータ3の指令位置を示す指令値とする。状態量予測部7が算出する予測状態量は、指令位置に対するモータ3の位置の誤差である位置誤差とする。なお、予測状態量はモータ3のフィードバック位置であっても良い。この場合、補正量演算部8は、指令位置とフィードバック位置の予測値との差分を計算することによって、位置誤差である予測状態量を求めることができる。予測状態量は、指令位置に限られず、速度、トルクまたは電流量といった物理量であっても良い。 Next, details of the correction amount calculation section 8 will be explained. In the following description, the command information 11 is assumed to be a command value indicating the command position of the motor 3. The predicted state quantity calculated by the state quantity prediction unit 7 is a position error that is an error in the position of the motor 3 with respect to the commanded position. Note that the predicted state amount may be the feedback position of the motor 3. In this case, the correction amount calculation unit 8 can obtain the predicted state quantity, which is the position error, by calculating the difference between the command position and the predicted value of the feedback position. The predicted state quantity is not limited to the command position, but may be a physical quantity such as speed, torque, or amount of current.

ここでは、状態量予測部7によって算出される予測状態量である位置誤差をμ、状態量予測部7によって算出される信頼度指標をσ、実際に生じる位置誤差をe、補正量をCoとする。サーボ制御部6は、予測された位置誤差μの値を指令位置の値から減算することによって指令位置を補正する。サーボ制御部6は、位置誤差μに相当する補正量Coを用いて指令位置を補正することによって、モータ3または機械系4の動作により生じる誤差を相殺させ、指令位置に実際の位置を正確に合わせることが可能となる。しかしながら、予測された位置誤差μが実際に生じた位置誤差eとは異なる場合、適切な補正を行うことができず位置精度が悪化する可能性がある。そこで、補正量演算部8は、信頼性指標を用いることによって、適切な補正を行い得る有効な補正量Coを算出する。これにより、サーボシステム1は、補正による位置精度の悪化を防ぐことができる。 Here, the position error which is the predicted state quantity calculated by the state quantity prediction unit 7 is μ, the reliability index calculated by the state quantity prediction unit 7 is σ, the actually occurring position error is e, and the correction amount is Co. do. The servo control unit 6 corrects the command position by subtracting the predicted position error μ from the command position value. The servo control unit 6 corrects the command position using a correction amount Co corresponding to the position error μ, thereby canceling out the error caused by the operation of the motor 3 or the mechanical system 4, and accurately adjusting the actual position to the command position. It is possible to match. However, if the predicted positional error μ is different from the actually generated positional error e, appropriate correction may not be possible and the positional accuracy may deteriorate. Therefore, the correction amount calculation unit 8 uses the reliability index to calculate an effective correction amount Co that can perform appropriate correction. Thereby, the servo system 1 can prevent deterioration of position accuracy due to correction.

ここで、補正量演算部8が状態量の予測値と信頼度指標とに基づいて補正量を算出する方法の第1および第2の例について説明する。標準偏差である信頼度指標σが大きいほど、予測値である位置誤差μの値の不確かさが大きいことを表す。第1の例では、サーボシステム1は、信頼度指標σの閾値をあらかじめ設定しておき、信頼度指標σが閾値を超える場合は指令値の補正を停止する。サーボシステム1は、信頼度指標σが閾値以下である場合に、指令値の補正を行う。 Here, first and second examples of the method in which the correction amount calculation unit 8 calculates the correction amount based on the predicted value of the state quantity and the reliability index will be described. The larger the reliability index σ, which is the standard deviation, represents the greater the uncertainty in the value of the position error μ, which is the predicted value. In the first example, the servo system 1 sets a threshold value for the reliability index σ in advance, and stops correcting the command value when the reliability index σ exceeds the threshold value. The servo system 1 corrects the command value when the reliability index σ is less than or equal to the threshold value.

第1の例において、補正量演算部8は、閾値をtとして、次の式(5)に従い補正量Coを算出する。 In the first example, the correction amount calculation unit 8 calculates the correction amount Co according to the following equation (5), with the threshold value being t.

Figure 2023139729000004
Figure 2023139729000004

このように、第1の例では、予測値が適正な値か否かを判断するための信頼度指標σの閾値が設定されており、補正量演算部8は、算出された信頼度指標σの値が閾値により定まる範囲から外れた値である場合に、補正量Coをゼロとする。これにより、サーボシステム1は、補正による位置精度の悪化を防ぐことができる。 In this way, in the first example, the threshold value of the reliability index σ for determining whether the predicted value is an appropriate value is set, and the correction amount calculation unit 8 calculates the calculated reliability index σ. When the value of is outside the range determined by the threshold value, the correction amount Co is set to zero. Thereby, the servo system 1 can prevent deterioration of position accuracy due to correction.

次に、補正量演算部8が補正量を算出する方法の第2の例について説明する。実際の位置誤差eの確率分布p(e)は、位置誤差μおよび分散σ2のガウス分布に従う。確率分布p(e)は、p(e)=N(μ,σ2)の式から、予測された位置誤差μと信頼度指標σとを用いて計算できる。サーボ制御部6が指令位置の値から補正量Coを減算することによって補正を行う場合、実際の位置誤差eと補正量Coとが次の式(6)を満たすと、補正による位置精度の悪化が生じる。 Next, a second example of how the correction amount calculation section 8 calculates the correction amount will be described. The probability distribution p(e) of the actual position error e follows a Gaussian distribution with position error μ and variance σ 2 . The probability distribution p(e) can be calculated from the equation p(e)=N(μ, σ 2 ) using the predicted position error μ and the reliability index σ. When the servo control unit 6 performs correction by subtracting the correction amount Co from the command position value, if the actual position error e and the correction amount Co satisfy the following equation (6), the position accuracy due to correction will deteriorate. occurs.

|e|<|e-Co| ・・・(6) |e|<|e-Co| ...(6)

式(6)を満たす位置誤差eの範囲において確率分布p(e)を積分することにより、位置精度が悪化する確率を補正前に計算することができる。第2の例では、目標とする確率をあらかじめ設定しておくことで、補正量演算部8は、位置精度が悪化する確率が、目標とする確率以下となるような補正量Coを決定することが可能となる。 By integrating the probability distribution p(e) within the range of position error e that satisfies Equation (6), the probability that the position accuracy deteriorates can be calculated before correction. In the second example, by setting the target probability in advance, the correction amount calculation unit 8 determines the correction amount Co such that the probability that the position accuracy deteriorates is less than or equal to the target probability. becomes possible.

このように、補正量演算部8は、状態量の予測値と信頼度指標とに基づいて補正量を算出することで、適切な補正を行い得る有効な補正量を得ることができる。サーボシステム1は、補正による位置精度の悪化を低減しつつ、軌跡誤差を低減させる補正が可能となる。補正量演算部8は、サーボ制御周期おきの演算によって補正量を算出する。サーボシステム1は、補正量演算部8による連続的な補正量の算出によって、移動軌跡を高精度に補正することができる。 In this way, the correction amount calculation unit 8 can obtain an effective correction amount that allows appropriate correction by calculating the correction amount based on the predicted value of the state quantity and the reliability index. The servo system 1 is capable of correction that reduces trajectory errors while reducing deterioration in positional accuracy due to correction. The correction amount calculation unit 8 calculates the correction amount by calculation at every servo control period. The servo system 1 can correct the movement locus with high precision by continuously calculating the correction amount by the correction amount calculating section 8.

図5は、実施の形態1にかかるサーボシステム1のサーボ制御装置2が実行する処理の手順を示すフローチャートである。図5には、サーボ制御周期における処理の手順を示す。 FIG. 5 is a flowchart showing the procedure of processing executed by the servo control device 2 of the servo system 1 according to the first embodiment. FIG. 5 shows a processing procedure in a servo control cycle.

ステップS1において、サーボ制御装置2の指令生成部5は、指令情報11を生成する。指令生成部5は、生成された指令情報11を出力する。ステップS2において、サーボ制御装置2の状態量予測部7は、状態量の実測値と指令情報11とを入力として、予測モデル16の使用により状態量の予測値と信頼度指標とを同時に算出する。状態量予測部7は、フィードバック情報15から状態量の実測値を取得する。状態量予測部7は、予測値の算出結果である予測状態量情報12と、信頼度指標の算出結果である指標情報13とを出力する。 In step S1, the command generation unit 5 of the servo control device 2 generates command information 11. The command generation unit 5 outputs the generated command information 11. In step S2, the state quantity prediction unit 7 of the servo control device 2 inputs the actual measured value of the state quantity and the command information 11, and simultaneously calculates the predicted value of the state quantity and the reliability index by using the prediction model 16. . The state quantity prediction unit 7 acquires the actual measured value of the state quantity from the feedback information 15. The state quantity prediction unit 7 outputs predicted state quantity information 12 which is a calculation result of a predicted value, and index information 13 which is a calculation result of a reliability index.

ステップS3において、サーボ制御装置2の補正量演算部8は、予測値と信頼度指標とに基づいて補正量を算出する。補正量演算部8は、補正量の算出結果である補正情報14を出力する。ステップS4において、サーボ制御装置2のサーボ制御部6は、補正量を用いて補正された指令情報11に基づいてモータ3を制御する。サーボ制御装置2は、モータ3の駆動を開始してからモータ3の駆動を終了するまでの期間において、図5に示す手順による処理を繰り返す。 In step S3, the correction amount calculation unit 8 of the servo control device 2 calculates the correction amount based on the predicted value and the reliability index. The correction amount calculation unit 8 outputs correction information 14 which is the calculation result of the correction amount. In step S4, the servo control unit 6 of the servo control device 2 controls the motor 3 based on the command information 11 corrected using the correction amount. The servo control device 2 repeats the processing according to the procedure shown in FIG. 5 during a period from starting driving the motor 3 to ending driving the motor 3.

実施の形態1によると、サーボ制御装置2は、状態量の予測値と信頼度指標とを予測モデル16に基づいて同時に算出し、状態量の予測値と信頼度指標とに基づいて補正量を算出する。サーボ制御装置2は、状態量の予測値と信頼度指標とを同時に算出することにより、過去に推定された状態量についての信頼度指標に基づいて補正量が算出される場合に比べて、移動軌跡を高精度に補正可能とする補正量を算出することができる。以上により、サーボシステム1およびサーボ制御装置2は、アクチュエータの高精度かつ安定した制御が可能となるという効果を奏する。 According to the first embodiment, the servo control device 2 simultaneously calculates the predicted value of the state quantity and the reliability index based on the prediction model 16, and calculates the correction amount based on the predicted value of the state quantity and the reliability index. calculate. By simultaneously calculating the predicted value of the state quantity and the reliability index, the servo control device 2 can move more easily than when the correction amount is calculated based on the reliability index of the state quantity estimated in the past. It is possible to calculate a correction amount that allows the trajectory to be corrected with high accuracy. As described above, the servo system 1 and the servo control device 2 have the effect of enabling highly accurate and stable control of the actuator.

実施の形態2.
実施の形態2では、補正量演算部8の変形例について説明する。図6は、実施の形態2にかかるサーボシステム1が有する補正量演算部8Aの構成例を示す図である。実施の形態2にかかるサーボシステム1は、補正量演算部8の変形例である補正量演算部8Aを有する。実施の形態2にかかるサーボシステム1のうち補正量演算部8A以外の構成は、実施の形態1にかかるサーボシステム1と同様である。実施の形態2では、上記の実施の形態1と同一の構成要素には同一の符号を付し、実施の形態1とは異なる構成について主に説明する。
Embodiment 2.
In the second embodiment, a modification of the correction amount calculation unit 8 will be described. FIG. 6 is a diagram illustrating a configuration example of a correction amount calculation unit 8A included in the servo system 1 according to the second embodiment. The servo system 1 according to the second embodiment includes a correction amount calculation section 8A that is a modification of the correction amount calculation section 8. The configuration of the servo system 1 according to the second embodiment other than the correction amount calculation section 8A is the same as that of the servo system 1 according to the first embodiment. In Embodiment 2, the same components as in Embodiment 1 described above are given the same reference numerals, and configurations that are different from Embodiment 1 will be mainly explained.

補正量演算部8Aは、補正量の候補値34を算出する補正量候補値演算部31と、補正量の評価値35を算出する補正量評価部32と、評価値35に基づいて補正量の値を決定する補正量決定部33とを有する。補正量演算部8Aは、補正量評価部32において算出された評価値35に基づいて補正量決定部33が補正量の値を決定することにより、評価値35に基づいて補正量を算出する。 The correction amount calculation unit 8A includes a correction amount candidate value calculation unit 31 that calculates a correction amount candidate value 34, a correction amount evaluation unit 32 that calculates a correction amount evaluation value 35, and a correction amount evaluation unit 32 that calculates a correction amount evaluation value 35. and a correction amount determining section 33 that determines the value. The correction amount calculation unit 8A calculates the correction amount based on the evaluation value 35 by the correction amount determination unit 33 determining the value of the correction amount based on the evaluation value 35 calculated by the correction amount evaluation unit 32.

以下の説明では、指令情報11は、モータ3の指令位置を示す指令値とする。状態量予測部7が算出する予測状態量は、指令位置に対するモータ3の位置の誤差である位置誤差とする。なお、予測状態量はモータ3のフィードバック位置であっても良い。この場合、補正量演算部8Aは、指令位置とフィードバック位置の予測値との差分を計算することによって、位置誤差である予測状態量を求めることができる。予測状態量は、指令位置に限られず、速度、トルクまたは電流量といった物理量であっても良い。 In the following description, the command information 11 is assumed to be a command value indicating the command position of the motor 3. The predicted state quantity calculated by the state quantity prediction unit 7 is a position error that is an error in the position of the motor 3 with respect to the commanded position. Note that the predicted state amount may be the feedback position of the motor 3. In this case, the correction amount calculation unit 8A can obtain the predicted state quantity, which is the position error, by calculating the difference between the command position and the predicted value of the feedback position. The predicted state quantity is not limited to the command position, but may be a physical quantity such as speed, torque, or amount of current.

補正量候補値演算部31には、予測状態量情報12と指標情報13とが入力される。補正量候補値演算部31は、補正量の1つ以上の候補値34を決定する。例えば、補正量候補値演算部31は、予測状態量情報12に示される状態量の予測値と指標情報13に示される信頼性指標とを用いた演算によって候補値34を決定する。補正量候補値演算部31は、決定された候補値34を出力する。補正量候補値演算部31は、状態量の予測値と信頼性指標とに基づいて決定された候補値34を出力することに代えて、テーブルにあらかじめ設定された候補値34を出力しても良い。 The predicted state quantity information 12 and the index information 13 are input to the correction amount candidate value calculation unit 31 . The correction amount candidate value calculation unit 31 determines one or more candidate values 34 for the correction amount. For example, the correction amount candidate value calculation unit 31 determines the candidate value 34 by calculation using the predicted value of the state quantity shown in the predicted state quantity information 12 and the reliability index shown in the index information 13. The correction amount candidate value calculation unit 31 outputs the determined candidate value 34. Instead of outputting the candidate value 34 determined based on the predicted value of the state quantity and the reliability index, the correction amount candidate value calculation unit 31 may output the candidate value 34 set in advance in the table. good.

補正量評価部32には、予測状態量情報12と、指標情報13と、補正量候補値演算部31によって決定された候補値34とが入力される。補正量評価部32は、あらかじめ設定された評価関数に基づいて複数の候補値34の各々についての評価値35を算出する。補正量評価部32は、候補値34ごとに算出された評価値35を出力する。 The predicted state quantity information 12 , the index information 13 , and the candidate value 34 determined by the correction amount candidate value calculating section 31 are input to the correction amount evaluation section 32 . The correction amount evaluation unit 32 calculates an evaluation value 35 for each of the plurality of candidate values 34 based on a preset evaluation function. The correction amount evaluation unit 32 outputs an evaluation value 35 calculated for each candidate value 34.

補正量決定部33には、補正量候補値演算部31によって決定された候補値34と、補正量評価部32によって算出された評価値35とが入力される。補正量決定部33は、候補値34ごとの評価値35に基づいて、補正量とする値を候補値34の中から決定する。このように、補正量演算部8Aは、複数の候補値34の各々について算出された評価値35に基づいて、複数の候補値34の中から補正量の値を決定する。 The correction amount determination section 33 receives the candidate value 34 determined by the correction amount candidate value calculation section 31 and the evaluation value 35 calculated by the correction amount evaluation section 32. The correction amount determination unit 33 determines a value to be the correction amount from among the candidate values 34 based on the evaluation value 35 for each candidate value 34 . In this way, the correction amount calculation unit 8A determines the value of the correction amount from among the plurality of candidate values 34 based on the evaluation value 35 calculated for each of the plurality of candidate values 34.

ここで、補正量評価部32による評価値35の算出方法の例について説明する。補正量評価部32は、予測状態量情報12に示される予測状態量と指標情報13に示される信頼度指標とに基づいて評価値35を算出する。実施の形態1と同様に、状態量予測部7によって算出される予測状態量である位置誤差をμ、状態量予測部7によって算出される信頼度指標をσ、実際に生じる位置誤差をe、補正量をCoとする。サーボ制御部6は、指令位置の値から補正量Coを減算することによって指令位置を補正するものとする。 Here, an example of a method for calculating the evaluation value 35 by the correction amount evaluation section 32 will be described. The correction amount evaluation unit 32 calculates the evaluation value 35 based on the predicted state amount shown in the predicted state amount information 12 and the reliability index shown in the index information 13. As in Embodiment 1, the position error which is the predicted state quantity calculated by the state quantity prediction unit 7 is μ, the reliability index calculated by the state quantity prediction unit 7 is σ, the actually occurring position error is e, Let Co be the correction amount. It is assumed that the servo control unit 6 corrects the command position by subtracting the correction amount Co from the command position value.

実際の位置誤差eの確率分布p(e)は、予測された位置誤差μと信頼度指標σとにより定義される。確率分布p(e)は、ガウス分布であっても、ガウス分布以外の分布であっても良い。ここでは、確率分布p(e)は、位置誤差μおよび分散σ2のガウス分布に従うものとする。確率分布p(e)は、p(e)=N(μ,σ2)の式から、予測された位置誤差μと信頼度指標σとを用いて計算できる。 The probability distribution p(e) of the actual position error e is defined by the predicted position error μ and the reliability index σ. The probability distribution p(e) may be a Gaussian distribution or a distribution other than a Gaussian distribution. Here, it is assumed that the probability distribution p(e) follows a Gaussian distribution with a position error μ and a variance σ 2 . The probability distribution p(e) can be calculated from the equation p(e)=N(μ, σ 2 ) using the predicted position error μ and the reliability index σ.

補正量候補値演算部31から補正量評価部32へ入力された候補値34である補正量候補値の各々を、Con(n=1,2,3,・・・)と表す。補正量評価部32には、補正量候補値Conの評価値を算出するための評価関数が与えられる。評価関数は、補正量Coを用いた補正の精度が低いほど評価値35が大きい値となるように定められる。 Each of the correction amount candidate values, which are the candidate values 34 input from the correction amount candidate value calculating section 31 to the correction amount evaluation section 32, is expressed as Con (n=1, 2, 3, . . . ). The correction amount evaluation unit 32 is provided with an evaluation function for calculating the evaluation value of the correction amount candidate value Con . The evaluation function is determined such that the lower the accuracy of the correction using the correction amount Co, the larger the evaluation value 35 becomes.

指令位置の値から補正量Coを減算することによって指令位置を補正することから、補正量Coと実際の位置誤差eとが一致する場合に、補正後の位置精度は最も高くなる。補正量Coと実際の位置誤差eとの乖離が大きいほど、補正後の位置精度は低くなる。そこで、評価関数は、補正量候補値Conと位置誤差eとの差の絶対値が大きいほど評価値が大きい値となるように設定される。 Since the commanded position is corrected by subtracting the correction amount Co from the value of the commanded position, when the correction amount Co and the actual position error e match, the positional accuracy after correction becomes the highest. The larger the deviation between the correction amount Co and the actual positional error e, the lower the positional accuracy after correction. Therefore, the evaluation function is set such that the evaluation value becomes larger as the absolute value of the difference between the correction amount candidate value Con and the position error e becomes larger.

また、サーボ制御装置2によるモータ3の制御は、補正量Coの値が大きいほど不安定になり得る。すなわち、補正量Coの値が実際の位置誤差eからプラスに乖離する場合、補正量Coの値が実際の位置誤差eからマイナスに乖離する場合に比べて、補正後の位置精度は低くなり易い。そこで、評価関数は、補正量候補値Conが位置誤差eよりも大きい値であるときに、補正量候補値Conが位置誤差eよりも小さい値であるときよりも評価値が大きい値となるように設定される。 Further, the control of the motor 3 by the servo control device 2 may become more unstable as the value of the correction amount Co becomes larger. In other words, when the value of the correction amount Co deviates positively from the actual positional error e, the positional accuracy after correction tends to be lower than when the value of the correction amount Co deviates negatively from the actual positional error e. . Therefore, the evaluation function is such that when the correction amount candidate value Con is larger than the position error e, the evaluation value is larger than when the correction amount candidate value Con is smaller than the position error e. It is set so that

図7は、実施の形態2の補正量演算部8Aにおける評価値35の演算に用いられる評価関数の例を示す図である。図7には、評価関数の例であるL(Con,e)のグラフを示す。図7において、グラフの縦軸はL(Con,e)、グラフの横軸は実際の位置誤差eである。 FIG. 7 is a diagram showing an example of an evaluation function used to calculate the evaluation value 35 in the correction amount calculation unit 8A of the second embodiment. FIG. 7 shows a graph of L( Con , e), which is an example of the evaluation function. In FIG. 7, the vertical axis of the graph is L( Con , e), and the horizontal axis of the graph is the actual position error e.

L(Con,e)は、次の式(7)により表される。 L( Con , e) is expressed by the following equation (7).

Figure 2023139729000005
Figure 2023139729000005

L(Con,e)は、位置誤差eからの補正量候補値Conのずれに応じたペナルティーすなわち損失を与えるもので、損失関数とも称される。 L( Con , e) gives a penalty or loss depending on the deviation of the correction amount candidate value Con from the position error e, and is also referred to as a loss function.

評価関数に基づく評価値35は、評価関数と確率分布p(e)との積を積分した値により定義される。評価値35の例であるE(Con)は、次の式(8)に示すように、L(Con,e)と確率分布p(e)との積を積分することにより求まる。 The evaluation value 35 based on the evaluation function is defined by the value obtained by integrating the product of the evaluation function and the probability distribution p(e). E( Con ), which is an example of the evaluation value 35, is found by integrating the product of L( Con , e) and the probability distribution p(e), as shown in the following equation (8).

Figure 2023139729000006
Figure 2023139729000006

補正量決定部33は、補正量候補値Conごとに算出されたE(Con)を比較し、E(Con)が最も小さい補正量候補値Conを選択する。補正量決定部33は、補正量候補値Conの中から選択された補正量候補値Conを補正量Coの値に決定する。 The correction amount determining unit 33 compares E(Con ) calculated for each correction amount candidate value Con , and selects the correction amount candidate value Con with the smallest E(Con ) . The correction amount determining unit 33 determines the correction amount candidate value Con selected from among the correction amount candidate values Con as the value of the correction amount Co.

このように、補正量決定部33は、複数の候補値34のうち評価値35が最も小さい候補値34を補正量の値に決定する。なお、補正量演算部8Aは、補正量決定部33において、あらかじめ設定された閾値以下である候補値34を補正量の値に決定しても良い。補正量演算部8Aは、補正量決定部33において決定された補正量の値である補正情報14を出力する。 In this way, the correction amount determination unit 33 determines the candidate value 34 with the smallest evaluation value 35 among the plurality of candidate values 34 as the value of the correction amount. Note that the correction amount calculation unit 8A may determine, in the correction amount determination unit 33, a candidate value 34 that is less than or equal to a preset threshold value as the value of the correction amount. The correction amount calculation unit 8A outputs correction information 14 that is the value of the correction amount determined by the correction amount determination unit 33.

補正量演算部8Aは、評価値35に基づいて候補値34の中から補正量の値を決定することによって、適切な補正を行い得る有効な補正量を算出することができる。これにより、サーボシステム1は、補正による位置精度の悪化を防ぐことができる。 The correction amount calculating section 8A can calculate an effective correction amount that can perform appropriate correction by determining the value of the correction amount from among the candidate values 34 based on the evaluation value 35. Thereby, the servo system 1 can prevent deterioration of position accuracy due to correction.

なお、評価関数は、補正量を用いた補正の精度が低いほど評価値35が小さい値となるように定められた物であっても良い。この場合、補正量決定部33は、複数の候補値34のうち評価値35が最も大きい候補値34を補正量の値に決定する。また、評価関数は、一次関数に限られず、高次関数であっても良い。評価関数は、モータ3または機械系4の機械特性、あるいはサーボ制御部6の制御特性を考慮して設定されたものであっても良い。 Note that the evaluation function may be determined such that the lower the accuracy of correction using the correction amount, the smaller the evaluation value 35. In this case, the correction amount determination unit 33 determines the candidate value 34 with the largest evaluation value 35 among the plurality of candidate values 34 as the value of the correction amount. Furthermore, the evaluation function is not limited to a linear function, but may be a higher-order function. The evaluation function may be set in consideration of the mechanical characteristics of the motor 3 or the mechanical system 4, or the control characteristics of the servo control section 6.

実施の形態2によると、補正量演算部8Aは、評価関数に基づいて候補値34の評価値35を算出し、評価値35に基づいて候補値34の中から補正量の値を決定する。補正量演算部8Aは、移動軌跡を高精度に補正し得る補正量を算出することができる。以上により、サーボシステム1およびサーボ制御装置2は、アクチュエータの高精度かつ安定した制御が可能となるという効果を奏する。 According to the second embodiment, the correction amount calculation unit 8A calculates the evaluation value 35 of the candidate value 34 based on the evaluation function, and determines the value of the correction amount from among the candidate values 34 based on the evaluation value 35. The correction amount calculation unit 8A can calculate a correction amount that can correct the movement trajectory with high precision. As described above, the servo system 1 and the servo control device 2 have the effect of enabling highly accurate and stable control of the actuator.

実施の形態3.
図8は、実施の形態3にかかるサーボシステム1Aの構成例を示す図である。サーボシステム1Aは、補正量に対するモータ3または機械系4の応答特性に基づいて補正量を修正する。実施の形態3では、上記の実施の形態1または2と同一の構成要素には同一の符号を付し、実施の形態1または2とは異なる構成について主に説明する。
Embodiment 3.
FIG. 8 is a diagram showing a configuration example of a servo system 1A according to the third embodiment. The servo system 1A corrects the amount of correction based on the response characteristics of the motor 3 or mechanical system 4 to the amount of correction. In Embodiment 3, the same components as in Embodiment 1 or 2 described above are given the same reference numerals, and configurations that are different from Embodiment 1 or 2 will be mainly explained.

サーボシステム1Aは、サーボ制御装置2Aと、モータ3と、機械系4と、学習部9と、応答特性同定部40とを有する。サーボ制御装置2Aは、補正量修正部41を有する。サーボ制御装置2Aのうち補正量修正部41以外の構成は、実施の形態1にかかるサーボシステム1のサーボ制御装置2と同様である。 The servo system 1A includes a servo control device 2A, a motor 3, a mechanical system 4, a learning section 9, and a response characteristic identification section 40. The servo control device 2A includes a correction amount correction section 41. The configuration of the servo control device 2A other than the correction amount correction unit 41 is the same as that of the servo control device 2 of the servo system 1 according to the first embodiment.

以下の説明では、指令情報11は、モータ3の指令位置を示す指令値とする。状態量予測部7が算出する予測状態量は、指令位置に対するモータ3の位置の誤差である位置誤差とする。なお、予測状態量はモータ3のフィードバック位置であっても良い。この場合、補正量演算部8は、指令位置とフィードバック位置の予測値との差分を計算することによって、位置誤差である予測状態量を求めることができる。予測状態量は、指令位置に限られず、速度、トルクまたは電流量といった物理量であっても良い。 In the following description, the command information 11 is assumed to be a command value indicating the command position of the motor 3. The predicted state quantity calculated by the state quantity prediction unit 7 is a position error that is an error in the position of the motor 3 with respect to the commanded position. Note that the predicted state amount may be the feedback position of the motor 3. In this case, the correction amount calculation unit 8 can obtain the predicted state quantity, which is the position error, by calculating the difference between the command position and the predicted value of the feedback position. The predicted state quantity is not limited to the command position, but may be a physical quantity such as speed, torque, or amount of current.

サーボ制御部6において補正量を用いて指令値を補正した場合に、モータ3または機械系4の機械特性、あるいはサーボ制御部6の制御特性の影響によって、想定されていた補正がなされず補正の効果が低減する場合がある。機械特性は、モータ3または機械系4の構造に起因する。そこで、実施の形態3では、サーボ制御装置2Aは、機械特性または制御特性の影響を考慮して補正量を修正する。 When the command value is corrected using the correction amount in the servo control unit 6, due to the influence of the mechanical characteristics of the motor 3 or the mechanical system 4, or the control characteristics of the servo control unit 6, the expected correction may not be made and the correction may not be completed. The effect may be reduced. The mechanical properties are due to the structure of the motor 3 or mechanical system 4. Therefore, in the third embodiment, the servo control device 2A corrects the correction amount by taking into account the influence of the mechanical characteristics or control characteristics.

応答特性同定部40は、補正量に対するモータ3または機械系4の応答特性を同定する。応答特性同定部40は、同定された応答特性を示す情報である応答特性情報42を出力する。 The response characteristic identification unit 40 identifies the response characteristic of the motor 3 or mechanical system 4 with respect to the correction amount. The response characteristic identification unit 40 outputs response characteristic information 42 that is information indicating the identified response characteristic.

ここで、応答特性同定部40が伝達関数により応答特性を同定する例について説明する。指令値を「0」とし、かつ補正量演算部8で算出される補正量の代わりに補正量に相当するホワイトノイズが与えられた状態において、フィードバック位置が測定される。このとき測定されるフィードバック位置は、モータ3の位置または機械系4の被駆動体の位置の補正において実際に作用する補正量を表す。以下、モータ3の位置または被駆動体の位置の補正において実際に作用する補正量を、実補正量と称する。機械特性または制御特性の影響によって、実補正量には、算出された補正量からのずれが生じる。なお、応答特性を同定する際には、ホワイトノイズの代わりにサインスイープ波が用いられても良い。フィードバック位置の測定は、モータ3および機械系4を実際に動作させて行われるほかに、シミュレーションを活用して行われても良い。 Here, an example in which the response characteristic identifying section 40 identifies a response characteristic using a transfer function will be described. The feedback position is measured in a state where the command value is set to "0" and white noise corresponding to the correction amount is applied instead of the correction amount calculated by the correction amount calculating section 8. The feedback position measured at this time represents the amount of correction that actually acts in correcting the position of the motor 3 or the position of the driven body of the mechanical system 4. Hereinafter, the amount of correction that actually acts in correcting the position of the motor 3 or the position of the driven body will be referred to as an actual correction amount. Due to the influence of mechanical characteristics or control characteristics, the actual correction amount deviates from the calculated correction amount. Note that when identifying the response characteristics, a sine sweep wave may be used instead of white noise. The feedback position may be measured by actually operating the motor 3 and the mechanical system 4, or by using simulation.

図9は、実施の形態3にかかるサーボシステム1Aにおいて同定される応答特性について説明するための図である。応答特性同定部40は、補正量のデータと実補正量のデータとを取得する。応答特性同定部40は、補正量および実補正量に対してフーリエ変換等の数値処理を行うことによって、応答特性である周波数伝達関数を算出する。応答特性同定部40は、周波数領域におけるゲインおよび位相の各々により表される伝達関数を同定する。 FIG. 9 is a diagram for explaining response characteristics identified in the servo system 1A according to the third embodiment. The response characteristic identification unit 40 acquires correction amount data and actual correction amount data. The response characteristic identification unit 40 calculates a frequency transfer function, which is a response characteristic, by performing numerical processing such as Fourier transform on the correction amount and the actual correction amount. The response characteristic identification unit 40 identifies a transfer function represented by each of gain and phase in the frequency domain.

図9に示すように、伝達関数は、ゲイン特性を表すゲイン線図と位相特性を表す位相線図とにより表される。ゲイン線図において、横軸は周波数を表す対数軸であって、縦軸はデシベル値であるゲインを表す。位相線図において、横軸は周波数を表す対数軸であって、縦軸は位相を表す。ゲイン線図において、共振点は正のピークとして表され、反共振点は負のピークとして表される。伝達関数を表す線図には、周波数軸に対してフーリエ変換後の実数部と虚数部とを別々にプロットしたコクアド線図が用いられても良い。コクアド線図において、横軸は周波数を表す対数軸であって、縦軸は実数部および虚数部である。 As shown in FIG. 9, the transfer function is represented by a gain diagram representing gain characteristics and a phase diagram representing phase characteristics. In the gain diagram, the horizontal axis is a logarithmic axis representing frequency, and the vertical axis represents gain, which is a decibel value. In the phase diagram, the horizontal axis is a logarithmic axis representing frequency, and the vertical axis represents phase. In the gain diagram, the resonance point is represented as a positive peak, and the anti-resonance point is represented as a negative peak. As the diagram representing the transfer function, a co-quad diagram in which the real part and imaginary part after Fourier transform are plotted separately on the frequency axis may be used. In the Koquad diagram, the horizontal axis is a logarithmic axis representing frequency, and the vertical axis is the real part and imaginary part.

応答特性同定部40は、同定された応答特性である伝達関数の情報である応答特性情報42を出力する。なお、応答特性同定部40は、多項式またはニューラルネットワークといった、伝達関数以外の手段を用いて応答特性を同定しても良い。 The response characteristic identification unit 40 outputs response characteristic information 42 that is information on a transfer function that is the identified response characteristic. Note that the response characteristic identifying section 40 may identify the response characteristic using a means other than the transfer function, such as a polynomial or a neural network.

応答特性同定部40は、サーボ制御装置2Aの外部の装置である情報処理装置によって実現される。応答特性同定部40として機能する装置は、サーボ制御装置2Aに接続される。応答特性同定部40として機能する装置は、ネットワークを介してサーボ制御装置2Aに接続可能な装置であっても良い。応答特性同定部40として機能する装置は、クラウドサーバ上に存在する装置であっても良い。応答特性同定部40は、サーボ制御装置2Aの外部の装置によって実現されるものに限られず、サーボ制御装置2Aの内部に備えられても良い。 The response characteristic identification section 40 is realized by an information processing device that is a device external to the servo control device 2A. A device functioning as the response characteristic identification section 40 is connected to the servo control device 2A. The device functioning as the response characteristic identification section 40 may be a device connectable to the servo control device 2A via a network. The device functioning as the response characteristic identification section 40 may be a device existing on a cloud server. The response characteristic identification section 40 is not limited to being implemented by a device external to the servo control device 2A, and may be provided inside the servo control device 2A.

補正量修正部41には、補正情報14と応答特性情報42とが入力される。補正量修正部41は、補正量演算部8によって算出された補正量を、応答特性情報42に基づいて修正する演算を行う。補正量修正部41は、応答特性同定部40によって同定された応答特性に基づいて補正量を修正する。補正量修正部41は、補正量演算部8によって算出された補正量と伝達関数の逆モデルとを用いて、修正された補正量を算出する。 The correction information 14 and the response characteristic information 42 are input to the correction amount correction unit 41 . The correction amount modification unit 41 performs a calculation to modify the correction amount calculated by the correction amount calculation unit 8 based on the response characteristic information 42. The correction amount modification unit 41 modifies the correction amount based on the response characteristic identified by the response characteristic identification unit 40. The correction amount modification unit 41 calculates the corrected correction amount using the correction amount calculated by the correction amount calculation unit 8 and the inverse model of the transfer function.

ここで、補正量修正部41が補正量を修正する方法の例について説明する。補正量修正部41には、応答特性情報42として伝達関数の情報が入力されるものとする。補正量演算部8によって算出される補正量をCo、伝達関数をG(s)とする。 Here, an example of how the correction amount modification unit 41 modifies the correction amount will be described. It is assumed that transfer function information is input to the correction amount modification unit 41 as the response characteristic information 42. It is assumed that the correction amount calculated by the correction amount calculating section 8 is Co, and the transfer function is G(s).

補正量修正部41は、次の式(9)により、修正された補正量Co’を算出する。G-1(s)は、G(s)の逆伝達関数であって、G(s)G-1(s)=1を満足する。 The correction amount correction unit 41 calculates the corrected correction amount Co' using the following equation (9). G -1 (s) is an inverse transfer function of G(s) and satisfies G(s)G -1 (s)=1.

Co’=G-1(s)Co ・・・(9) Co'=G -1 (s)Co...(9)

補正量修正部41は、修正された補正量を示す修正補正情報43を出力する。サーボ制御部6には、指令情報11と修正補正情報43とが入力される。サーボ制御部6は、指令情報11に示される指令値を、修正された補正量を用いた演算によって修正する。サーボ制御部6は、修正された補正量を用いて補正された指令情報11に基づいてモータ3を制御する。 The correction amount correction unit 41 outputs correction correction information 43 indicating the corrected correction amount. Command information 11 and modification correction information 43 are input to the servo control unit 6 . The servo control unit 6 corrects the command value shown in the command information 11 by calculation using the corrected correction amount. The servo control unit 6 controls the motor 3 based on the command information 11 corrected using the corrected correction amount.

補正量修正部41は、同定された応答特性に基づいて補正量を修正することによって、モータ3または機械系4の機械特性、あるいはサーボ制御部6の制御特性の影響を低減させるように補正量を修正することができる。すなわち、補正量修正部41は、実補正量に一致するように補正量を修正することができる。なお、サーボ制御装置2Aは、補正量演算部8の代わりに、実施の形態2の補正量演算部8Aを有しても良い。 The correction amount modification unit 41 adjusts the correction amount so as to reduce the influence of the mechanical characteristics of the motor 3 or the mechanical system 4, or the control characteristics of the servo control unit 6, by modifying the correction amount based on the identified response characteristics. can be corrected. That is, the correction amount modification unit 41 can modify the correction amount so that it matches the actual correction amount. Note that the servo control device 2A may include the correction amount calculation section 8A of the second embodiment instead of the correction amount calculation section 8.

実施の形態3によると、補正量修正部41は、補正量に対するモータ3または機械系4の応答特性に基づいて補正量を修正することによって、実補正量に一致するように補正量を修正することができる。サーボ制御装置2Aは、修正された補正量に基づいて指令情報11を補正することによって、移動軌跡を高精度に補正することができる。以上により、サーボシステム1Aおよびサーボ制御装置2Aは、モータ3の高精度かつ安定した制御が可能となるという効果を奏する。 According to the third embodiment, the correction amount correction unit 41 corrects the correction amount to match the actual correction amount by correcting the correction amount based on the response characteristics of the motor 3 or the mechanical system 4 to the correction amount. be able to. The servo control device 2A can correct the movement trajectory with high precision by correcting the command information 11 based on the corrected correction amount. As described above, the servo system 1A and the servo control device 2A have the effect of enabling highly accurate and stable control of the motor 3.

実施の形態4.
図10は、実施の形態4にかかるサーボシステム1Bの構成例を示す図である。サーボシステム1Bは、訓練データの作成に使用される状態量の実測値を、補正量に対するモータ3または機械系4の応答特性に基づいて修正する。訓練データは、学習部9が予測モデル16の学習に使用する学習用のデータである。実施の形態4では、上記の実施の形態1から3と同一の構成要素には同一の符号を付し、実施の形態1から3とは異なる構成について主に説明する。
Embodiment 4.
FIG. 10 is a diagram showing a configuration example of a servo system 1B according to the fourth embodiment. The servo system 1B corrects the measured value of the state quantity used to create training data based on the response characteristics of the motor 3 or mechanical system 4 to the correction amount. The training data is learning data used by the learning unit 9 to learn the prediction model 16. In Embodiment 4, the same components as in Embodiments 1 to 3 described above are given the same reference numerals, and configurations that are different from Embodiments 1 to 3 will be mainly described.

サーボシステム1Bは、サーボ制御装置2Bと、モータ3と、機械系4と、学習部9と、応答特性同定部40と、状態量修正部50と、情報蓄積部51とを有する。サーボ制御装置2Bの構成は、実施の形態1にかかるサーボシステム1のサーボ制御装置2と同様である。サーボ制御装置2Bは、指令情報11とフィードバック情報15とを情報蓄積部51へ出力する点が、サーボ制御装置2とは異なる。 The servo system 1B includes a servo control device 2B, a motor 3, a mechanical system 4, a learning section 9, a response characteristic identification section 40, a state quantity correction section 50, and an information storage section 51. The configuration of the servo control device 2B is similar to the servo control device 2 of the servo system 1 according to the first embodiment. Servo control device 2B differs from servo control device 2 in that it outputs command information 11 and feedback information 15 to information storage section 51.

以下の説明では、指令情報11は、モータ3の指令位置を示す指令値とする。状態量予測部7が算出する予測状態量は、指令位置に対するモータ3の位置の誤差である位置誤差とする。なお、予測状態量はモータ3のフィードバック位置であっても良い。この場合、補正量演算部8は、指令位置とフィードバック位置の予測値との差分を計算することによって、位置誤差である予測状態量を求めることができる。予測状態量は、指令位置に限られず、速度、トルクまたは電流量といった物理量であっても良い。 In the following description, the command information 11 is assumed to be a command value indicating the command position of the motor 3. The predicted state quantity calculated by the state quantity prediction unit 7 is a position error that is an error in the position of the motor 3 with respect to the commanded position. Note that the predicted state amount may be the feedback position of the motor 3. In this case, the correction amount calculation unit 8 can obtain the predicted state quantity, which is the position error, by calculating the difference between the command position and the predicted value of the feedback position. The predicted state quantity is not limited to the command position, but may be a physical quantity such as speed, torque, or amount of current.

応答特性同定部40は、補正量に対するモータ3または機械系4の応答特性を同定する。応答特性同定部40は、周波数領域におけるゲインおよび位相の各々により表される伝達関数を同定する。応答特性同定部40は、同定された応答特性である伝達関数の情報である応答特性情報42を出力する。なお、応答特性同定部40は、多項式またはニューラルネットワークといった、伝達関数以外の手段を用いて応答特性を同定しても良い。 The response characteristic identification unit 40 identifies the response characteristic of the motor 3 or mechanical system 4 with respect to the correction amount. The response characteristic identification unit 40 identifies a transfer function represented by each of gain and phase in the frequency domain. The response characteristic identification unit 40 outputs response characteristic information 42 that is information on a transfer function that is the identified response characteristic. Note that the response characteristic identifying section 40 may identify the response characteristic using a means other than the transfer function, such as a polynomial or a neural network.

情報蓄積部51は、指令情報11とフィードバック情報15とを互いに対応付けて記憶する。フィードバック情報15は、状態量の実測値を含む。状態量修正部50は、指令情報11とフィードバック情報15とを情報蓄積部51から読み出す。また、状態量修正部50には、応答特性情報42が入力される。状態量修正部50は、フィードバック情報15に含まれる状態量の実測値を、応答特性情報42に基づいて修正する演算を行う。状態量修正部50は、応答特性同定部40によって同定された応答特性に基づいて状態量の実測値を修正する。状態量修正部50は、フィードバック情報15に含まれる状態量の実測値と伝達関数の逆モデルとを用いて、修正された実測値を算出する。 The information storage unit 51 stores the command information 11 and the feedback information 15 in association with each other. Feedback information 15 includes actual measured values of state quantities. The state quantity correction unit 50 reads out the command information 11 and the feedback information 15 from the information storage unit 51. Further, response characteristic information 42 is input to the state quantity correction unit 50. The state quantity correction unit 50 performs a calculation to correct the measured value of the state quantity included in the feedback information 15 based on the response characteristic information 42. The state quantity correction unit 50 corrects the actual measured value of the state quantity based on the response characteristic identified by the response characteristic identification unit 40. The state quantity correction unit 50 calculates a corrected actual measurement value using the actual measurement value of the state quantity included in the feedback information 15 and the inverse model of the transfer function.

ここで、状態量修正部50が状態量の実測値を修正する方法の例について説明する。以下、状態量修正部50によって修正された状態量の実測値を、修正された状態量と称する。状態量修正部50には、応答特性情報42として伝達関数の情報が入力されるものとする。伝達関数はG(s)であるものとする。また、状態量の実測値は、位置誤差eであるものとする。 Here, an example of a method by which the state quantity correction unit 50 corrects the actual measured value of the state quantity will be described. Hereinafter, the actual measured value of the state quantity corrected by the state quantity correction unit 50 will be referred to as a corrected state quantity. It is assumed that transfer function information is input to the state quantity correction unit 50 as the response characteristic information 42. It is assumed that the transfer function is G(s). Further, it is assumed that the actual measured value of the state quantity is the position error e.

状態量修正部50は、次の式(10)により、修正された位置誤差e’を算出する。G-1(s)は、G(s)の逆伝達関数であって、G(s)G-1(s)=1を満足する。 The state quantity correction unit 50 calculates the corrected position error e' using the following equation (10). G -1 (s) is an inverse transfer function of G(s) and satisfies G(s)G -1 (s)=1.

e’=G-1(s)Co ・・・(10) e'=G -1 (s)Co...(10)

状態量修正部50は、指令情報11と、修正された状態量を示す修正状態量情報52とを出力する。学習部9には、指令情報11と、修正状態量情報52とが入力される。学習部9は、指令情報11に示される指令値と修正された状態量とを含めた訓練データを作成し、訓練データを用いて予測モデル16を学習する。修正された状態量は教師データである。 The state quantity correction unit 50 outputs command information 11 and modified state quantity information 52 indicating the corrected state quantity. Command information 11 and modified state quantity information 52 are input to the learning section 9 . The learning unit 9 creates training data including the command value shown in the command information 11 and the modified state quantity, and learns the prediction model 16 using the training data. The modified state quantity is the teacher data.

状態量修正部50は、同定された応答特性に基づいて状態量の実測値を修正することによって、モータ3または機械系4の機械特性、あるいはサーボ制御部6の制御特性の影響を低減させるように状態量の実測値を修正することができる。学習部9は、モータ3または機械系4の機械特性、あるいはサーボ制御部6の制御特性の影響が低減された予測モデル16を生成することができる。サーボ制御装置2Bは、予測モデル16に基づいて算出された状態量の予測値と信頼度指標とを用いて補正量を算出することで、モータ3または機械系4の機械特性、あるいはサーボ制御部6の制御特性の影響を低減させ得る補正を行うことができる。 The state quantity correction unit 50 reduces the influence of the mechanical characteristics of the motor 3 or the mechanical system 4, or the control characteristics of the servo control unit 6, by correcting the measured value of the state quantity based on the identified response characteristic. The actual measured value of the state quantity can be corrected. The learning unit 9 can generate a prediction model 16 in which the influence of the mechanical characteristics of the motor 3 or the mechanical system 4 or the control characteristics of the servo control unit 6 is reduced. The servo control device 2B calculates the correction amount using the predicted value of the state quantity calculated based on the prediction model 16 and the reliability index, thereby adjusting the mechanical characteristics of the motor 3 or the mechanical system 4, or the servo control unit. Corrections can be made that can reduce the influence of the control characteristics of No. 6.

学習部9と、応答特性同定部40と、状態量修正部50と、情報蓄積部51との各部は、サーボ制御装置2Bの外部の装置である情報処理装置によって実現される。当該各部として機能する装置は、サーボ制御装置2Bに接続される。当該各部として機能する装置は、ネットワークを介してサーボ制御装置2Bに接続可能な装置であっても良い。当該各部として機能する装置は、クラウドサーバ上に存在する装置であっても良い。当該各部は、サーボ制御装置2Bの外部の装置によって実現されるものに限られず、サーボ制御装置2Bの内部に備えられても良い。学習部9と、応答特性同定部40と、状態量修正部50と、情報蓄積部51は、1つの装置に集約されるものに限られず、2以上の装置に分散されても良い。 The learning section 9, the response characteristic identification section 40, the state quantity correction section 50, and the information storage section 51 are realized by an information processing device that is a device external to the servo control device 2B. The devices functioning as the respective parts are connected to the servo control device 2B. The devices functioning as the respective parts may be devices connectable to the servo control device 2B via a network. The devices that function as the respective units may be devices that exist on a cloud server. The respective parts are not limited to those implemented by devices external to the servo control device 2B, and may be provided inside the servo control device 2B. The learning section 9, the response characteristic identification section 40, the state quantity modification section 50, and the information storage section 51 are not limited to being integrated into one device, but may be distributed among two or more devices.

なお、サーボ制御装置2Bは、補正量演算部8の代わりに、実施の形態2の補正量演算部8Aを有しても良い。サーボ制御装置2Bは、実施の形態4にて説明した処理と、実施の形態3で説明した処理とを行っても良い。 Note that the servo control device 2B may include the correction amount calculation section 8A of the second embodiment instead of the correction amount calculation section 8. The servo control device 2B may perform the processing described in the fourth embodiment and the processing described in the third embodiment.

実施の形態4によると、学習部9は、状態量修正部50において修正された状態量を含む訓練データに基づいて予測モデル16を学習する。サーボ制御装置2Bは、予測モデル16に基づいて状態量の予測値と信頼度指標とを算出し、状態量の予測値と信頼度指標とに基づいて補正量を算出する。サーボ制御装置2Bは、補正量に基づいて指令情報11を補正することによって、移動軌跡を高精度に補正することができる。以上により、サーボシステム1Bおよびサーボ制御装置2Bは、アクチュエータの高精度かつ安定した制御が可能となるという効果を奏する。 According to the fourth embodiment, the learning unit 9 learns the prediction model 16 based on training data including the state quantities modified by the state quantity modification unit 50. The servo control device 2B calculates a predicted value of the state quantity and a reliability index based on the prediction model 16, and calculates a correction amount based on the predicted value of the state quantity and the reliability index. The servo control device 2B can correct the movement trajectory with high precision by correcting the command information 11 based on the correction amount. As described above, the servo system 1B and the servo control device 2B have the effect of enabling highly accurate and stable control of the actuator.

次に、サーボ制御装置2,2A,2Bを実現するハードウェアについて説明する。図11は、実施の形態1から4にかかるサーボシステム1,1A,1Bのサーボ制御装置2,2A,2Bを実現するハードウェアの構成例を示す図である。図11には、サーボ制御装置2,2A,2Bを処理回路60によって実現する場合の構成例を示す。処理回路60は、プロセッサ62とメモリ63とを有する。 Next, hardware that implements the servo control devices 2, 2A, and 2B will be explained. FIG. 11 is a diagram showing an example of the hardware configuration for realizing the servo control devices 2, 2A, 2B of the servo systems 1, 1A, 1B according to the first to fourth embodiments. FIG. 11 shows a configuration example in which the servo control devices 2, 2A, and 2B are implemented by a processing circuit 60. Processing circuit 60 includes a processor 62 and memory 63.

プロセッサ62は、CPU(Central Processing Unit、中央処理装置、処理装置、演算装置、マイクロプロセッサ、マイクロコンピュータ、プロセッサ、またはDSP(Digital Signal Processor)ともいう)、システムLSI(Large Scale Integration)などである。メモリ63は、RAM(Random Access Memory)、ROM(Read Only Memory)、フラッシュメモリ、EPROM(Erasable Programmable Read Only Memory)、EEPROM(登録商標)(Electrically Erasable Programmable Read-Only Memory)等の、不揮発性または揮発性の半導体メモリ、磁気ディスク、フレキシブルディスク、光ディスク、コンパクトディスク、ミニディスクまたはDVD(Digital Versatile Disc)等である。 The processor 62 is a CPU (Central Processing Unit, also referred to as a central processing unit, a processing unit, an arithmetic unit, a microprocessor, a microcomputer, a processor, or a DSP (Digital Signal Processor)), a system LSI (Large Scale Integration), or the like. The memory 63 is a non-volatile or These include volatile semiconductor memories, magnetic disks, flexible disks, optical disks, compact disks, mini disks, and DVDs (Digital Versatile Discs).

メモリ63には、サーボ制御装置2,2A,2Bの要部である指令生成部5、サーボ制御部6、状態量予測部7、補正量演算部8,8A、学習部9、補正量修正部41として動作するためのプログラムが格納される。このプログラムをプロセッサ62が読み出して実行することにより、サーボ制御装置2,2A,2Bの要部を実現することが可能である。なお、メモリ63に格納される、サーボ制御装置2,2A,2Bの要部として動作するためのプログラムは、例えば、CD(Compact Disc)-ROM、DVD-ROMなどの記憶媒体に書き込まれた状態でユーザ等に提供される形態であっても良いし、ネットワークを介して提供される形態であっても良い。また、プロセッサ62は、演算結果等のデータをメモリ63の揮発性メモリに出力する。または、プロセッサ62は、演算結果等のデータを、メモリ63の揮発性メモリを介して補助記憶装置に出力することによってデータを保存する。 The memory 63 includes a command generation section 5, a servo control section 6, a state quantity prediction section 7, a correction amount calculation section 8, 8A, a learning section 9, and a correction amount correction section, which are the main parts of the servo control devices 2, 2A, and 2B. A program for operating as 41 is stored. By having the processor 62 read and execute this program, it is possible to realize the main parts of the servo control devices 2, 2A, and 2B. Note that the programs stored in the memory 63 and operating as the main parts of the servo control devices 2, 2A, and 2B may be written on a storage medium such as a CD (Compact Disc)-ROM or DVD-ROM, for example. The information may be provided to users etc. via a network, or may be provided via a network. Further, the processor 62 outputs data such as calculation results to the volatile memory of the memory 63. Alternatively, the processor 62 stores data such as calculation results by outputting the data to an auxiliary storage device via the volatile memory of the memory 63.

入力部61は、サーボ制御装置2,2A,2Bに対する入力信号を外部から受信する回路である。出力部64は、サーボ制御装置2,2A,2Bで生成した信号を外部へ出力する回路である。 The input unit 61 is a circuit that receives input signals to the servo control devices 2, 2A, and 2B from the outside. The output unit 64 is a circuit that outputs signals generated by the servo control devices 2, 2A, and 2B to the outside.

図11は、汎用のプロセッサ62およびメモリ63によりサーボ制御装置2,2A,2Bを実現する場合のハードウェアの例であるが、プロセッサ62およびメモリ63の代わりに専用の処理回路でサーボ制御装置2,2A,2Bを実現してもよい。すなわち、専用の処理回路でサーボ制御装置2,2A,2Bを実現しても良い。ここで、専用の処理回路は、単一回路、複合回路、ASIC(Application Specific Integrated Circuit)、FPGA(Field Programmable Gate Array)、またはこれらを組み合わせた回路である。なお、サーボ制御装置2,2A,2Bの一部をプロセッサ62およびメモリ63で実現し、残りを専用の処理回路で実現しても良い。 FIG. 11 shows an example of hardware in which the servo control devices 2, 2A, 2B are implemented using a general-purpose processor 62 and memory 63. , 2A, 2B may be realized. That is, the servo control devices 2, 2A, and 2B may be implemented using dedicated processing circuits. Here, the dedicated processing circuit is a single circuit, a composite circuit, an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or a combination thereof. Note that a part of the servo control devices 2, 2A, and 2B may be realized by the processor 62 and the memory 63, and the rest may be realized by a dedicated processing circuit.

サーボシステム1,1A,1Bにおいてサーボ制御装置2,2A,2Bの外部に備えられる学習部9、応答特性同定部40、状態量修正部50および情報蓄積部51の各々は、図11に示すハードウェアと同様のハードウェアにより実現できる。 In the servo systems 1, 1A, 1B, each of the learning section 9, the response characteristic identification section 40, the state quantity correction section 50, and the information storage section 51 provided outside the servo control devices 2, 2A, 2B is constructed using the hardware shown in FIG. This can be realized using hardware similar to hardware.

実施の形態1から4において、モータ3は、アクチュエータの一例である。サーボ制御装置2,2A,2Bは、モータ3以外のアクチュエータを制御するものであっても良い。すなわち、サーボシステム1,1A,1Bは、モータ3以外のアクチュエータを有するものであっても良い。 In the first to fourth embodiments, the motor 3 is an example of an actuator. The servo control devices 2, 2A, and 2B may control actuators other than the motor 3. That is, the servo systems 1, 1A, and 1B may include actuators other than the motor 3.

以上の各実施の形態に示した構成は、本開示の内容の一例を示すものである。各実施の形態の構成は、別の公知の技術と組み合わせることが可能である。各実施の形態の構成同士が適宜組み合わせられても良い。本開示の要旨を逸脱しない範囲で、各実施の形態の構成の一部を省略または変更することが可能である。 The configurations shown in each of the embodiments above are examples of the contents of the present disclosure. The configuration of each embodiment can be combined with other known techniques. The configurations of each embodiment may be combined as appropriate. It is possible to omit or change a part of the configuration of each embodiment without departing from the gist of the present disclosure.

1,1A,1B サーボシステム、2,2A,2B サーボ制御装置、3 モータ、4 機械系、5 指令生成部、6 サーボ制御部、7 状態量予測部、8,8A 補正量演算部、9 学習部、11 指令情報、12 予測状態量情報、13 指標情報、14 補正情報、15 フィードバック情報、16 予測モデル、21 サーボモータ、22 モータ端位置検出器、23 カップリング、24 ボールねじ、25 ボールねじナット、26 テーブル、27 機械端位置検出器、28 機械端位置検出器ヘッド、31 補正量候補値演算部、32 補正量評価部、33 補正量決定部、34 候補値、35 評価値、40 応答特性同定部、41 補正量修正部、42 応答特性情報、43 修正補正情報、50 状態量修正部、51 情報蓄積部、52 修正状態量情報、60 処理回路、61 入力部、62 プロセッサ、63 メモリ、64 出力部。 1, 1A, 1B servo system, 2, 2A, 2B servo control device, 3 motor, 4 mechanical system, 5 command generation section, 6 servo control section, 7 state quantity prediction section, 8, 8A correction amount calculation section, 9 learning part, 11 command information, 12 predicted state quantity information, 13 index information, 14 correction information, 15 feedback information, 16 prediction model, 21 servo motor, 22 motor end position detector, 23 coupling, 24 ball screw, 25 ball screw Nut, 26 Table, 27 Machine end position detector, 28 Machine end position detector head, 31 Correction amount candidate value calculation section, 32 Correction amount evaluation section, 33 Correction amount determination section, 34 Candidate value, 35 Evaluation value, 40 Response Characteristic identification section, 41 Correction amount correction section, 42 Response characteristic information, 43 Correction correction information, 50 State amount correction section, 51 Information storage section, 52 Correction state amount information, 60 Processing circuit, 61 Input section, 62 Processor, 63 Memory , 64 output section.

Claims (16)

アクチュエータを制御するための指令情報を生成する指令生成部と、
前記アクチュエータまたは前記アクチュエータが駆動する機械系の状態量の予測値と前記予測値の信頼度を表す指標とを同時に算出する状態量予測部と、
前記指令情報を補正するための補正量を前記予測値と前記指標とに基づいて算出する補正量演算部と、
前記補正量を用いて補正された前記指令情報に基づいて前記アクチュエータを制御するサーボ制御部と、
を備えることを特徴とするサーボ制御装置。
a command generation unit that generates command information for controlling the actuator;
a state quantity prediction unit that simultaneously calculates a predicted value of a state quantity of the actuator or a mechanical system driven by the actuator and an index representing reliability of the predicted value;
a correction amount calculation unit that calculates a correction amount for correcting the command information based on the predicted value and the index;
a servo control unit that controls the actuator based on the command information corrected using the correction amount;
A servo control device comprising:
前記状態量予測部は、前記予測値を算出する時点における状態についての前記状態量、または前記予測値を算出する時点よりも後の時点における状態についての前記状態量を予測し、予測された前記状態量の時点に一致するタイミングにおいて前記予測値を出力することを特徴とする請求項1に記載のサーボ制御装置。 The state quantity prediction unit predicts the state quantity for the state at the time of calculating the predicted value or the state quantity for the state at a time after the time of calculating the predicted value, and The servo control device according to claim 1, wherein the predicted value is output at a timing that coincides with a time point of the state quantity. 前記状態量予測部は、前記状態量の実測値と前記指令情報とを入力として、予測モデルの使用により現在または未来の前記状態量を予測することを特徴とする請求項1または2に記載のサーボ制御装置。 3. The state quantity prediction unit predicts the current or future state quantity by using a prediction model, using the actual measured value of the state quantity and the command information as input. Servo control device. 前記状態量予測部は、前記予測モデルを用いて、予測される前記状態量の確率分布を求め、前記確率分布に基づいて前記予測値と前記指標とを算出することを特徴とする請求項3に記載のサーボ制御装置。 3. The state quantity prediction unit uses the prediction model to obtain a probability distribution of the predicted state quantity, and calculates the predicted value and the index based on the probability distribution. Servo control device described in. 前記予測モデルを学習する学習部をさらに備えることを特徴とする請求項3または4に記載のサーボ制御装置。 The servo control device according to claim 3 or 4, further comprising a learning section that learns the prediction model. 前記指令情報は、前記アクチュエータの位置、速度、加速度またはトルクと、前記アクチュエータに流れる電流とのうち少なくとも1つの指令値を含み、
前記実測値は、前記アクチュエータの位置、速度、加速度またはトルクと、前記アクチュエータに流れる電流と、前記機械系が有する被駆動体の位置または速度とのうち少なくとも1つの値を含むことを特徴とする請求項3から5のいずれか1つに記載のサーボ制御装置。
The command information includes a command value of at least one of the position, speed, acceleration, or torque of the actuator, and a current flowing through the actuator,
The actual measured value includes at least one of the position, speed, acceleration, or torque of the actuator, the current flowing through the actuator, and the position or speed of a driven body of the mechanical system. The servo control device according to any one of claims 3 to 5.
前記予測値が適正な値か否かを判断するための前記指標の閾値が設定されており、
前記補正量演算部は、算出された前記指標の値が前記閾値により定まる範囲から外れた値である場合に、前記補正量をゼロとすることを特徴とする請求項1から6のいずれか1つに記載のサーボ制御装置。
A threshold value of the index is set for determining whether the predicted value is an appropriate value,
Any one of claims 1 to 6, wherein the correction amount calculation unit sets the correction amount to zero when the calculated value of the index is outside a range determined by the threshold value. Servo control device described in.
前記補正量の評価値を算出する補正量評価部をさらに備え、
前記補正量演算部は、前記評価値に基づいて前記補正量を算出することを特徴とする請求項1から7のいずれか1つに記載のサーボ制御装置。
further comprising a correction amount evaluation unit that calculates an evaluation value of the correction amount,
The servo control device according to any one of claims 1 to 7, wherein the correction amount calculation section calculates the correction amount based on the evaluation value.
前記補正量評価部は、あらかじめ設定された評価関数に基づいて前記補正量の複数の候補値の各々についての前記評価値を算出し、
前記補正量演算部は、前記複数の候補値の各々について算出された前記評価値に基づいて、前記複数の候補値の中から前記補正量の値を決定することを特徴とする請求項8に記載のサーボ制御装置。
The correction amount evaluation unit calculates the evaluation value for each of the plurality of candidate values for the correction amount based on a preset evaluation function,
9. The correction amount calculation unit determines the value of the correction amount from among the plurality of candidate values based on the evaluation value calculated for each of the plurality of candidate values. The servo control device described.
前記補正量に対する前記アクチュエータまたは前記機械系の応答特性に基づいて前記補正量を修正する補正量修正部をさらに備えることを特徴とする請求項1から9のいずれか1つに記載のサーボ制御装置。 The servo control device according to any one of claims 1 to 9, further comprising a correction amount correction unit that corrects the correction amount based on response characteristics of the actuator or the mechanical system with respect to the correction amount. . アクチュエータと、
前記アクチュエータを制御するための指令情報を生成する指令生成部と、
前記アクチュエータまたは前記アクチュエータが駆動する機械系の状態量の予測値と前記予測値の信頼度を表す指標とを予測モデルに基づいて同時に算出する状態量予測部と、
前記指令情報を補正するための補正量を前記予測値と前記指標とに基づいて算出する補正量演算部と、
前記補正量を用いて補正された前記指令情報に基づいて前記アクチュエータを制御するサーボ制御部と、
前記状態量の実測値を含む訓練データを用いて前記予測モデルを学習する学習部と、
を備えることを特徴とするサーボシステム。
an actuator;
a command generation unit that generates command information for controlling the actuator;
a state quantity prediction unit that simultaneously calculates a predicted value of a state quantity of the actuator or a mechanical system driven by the actuator and an index representing reliability of the predicted value based on a prediction model;
a correction amount calculation unit that calculates a correction amount for correcting the command information based on the predicted value and the index;
a servo control unit that controls the actuator based on the command information corrected using the correction amount;
a learning unit that learns the predictive model using training data including actual measured values of the state quantities;
A servo system comprising:
前記補正量に対する前記アクチュエータまたは前記機械系の応答特性を同定する応答特性同定部と、
同定された前記応答特性に基づいて前記補正量を修正する補正量修正部と、をさらに備えることを特徴とする請求項11に記載のサーボシステム。
a response characteristic identification unit that identifies a response characteristic of the actuator or the mechanical system with respect to the correction amount;
The servo system according to claim 11, further comprising a correction amount modification unit that modifies the correction amount based on the identified response characteristic.
前記応答特性同定部は、周波数領域におけるゲインおよび位相の各々により表される伝達関数を同定し、
前記補正量修正部は、前記補正量と前記伝達関数の逆モデルとを用いて、修正された前記補正量を算出することを特徴とする請求項12に記載のサーボシステム。
The response characteristic identification unit identifies a transfer function represented by each of gain and phase in the frequency domain,
The servo system according to claim 12, wherein the correction amount modification unit calculates the corrected correction amount using the correction amount and an inverse model of the transfer function.
前記補正量に対する前記アクチュエータまたは前記機械系の応答特性を同定する応答特性同定部と、
前記訓練データの作成に使用される前記実測値を、同定された前記応答特性に基づいて修正する状態量修正部と、をさらに備えることを特徴とする請求項11に記載のサーボシステム。
a response characteristic identification unit that identifies a response characteristic of the actuator or the mechanical system with respect to the correction amount;
The servo system according to claim 11, further comprising: a state amount modification unit that modifies the measured value used to create the training data based on the identified response characteristic.
前記応答特性同定部は、周波数領域におけるゲインおよび位相の各々により表される伝達関数を同定し、
前記状態量修正部は、前記実測値と前記伝達関数の逆モデルとを用いて、修正された前記実測値を算出することを特徴とする請求項14に記載のサーボシステム。
The response characteristic identification unit identifies a transfer function represented by each of gain and phase in the frequency domain,
The servo system according to claim 14, wherein the state quantity correction unit calculates the corrected actual measurement value using the actual measurement value and an inverse model of the transfer function.
サーボ制御装置がアクチュエータを制御するサーボ制御方法であって、
前記アクチュエータを制御するための指令情報を生成するステップと、
前記アクチュエータまたは前記アクチュエータが駆動する機械系の状態量の予測値と前記予測値の信頼度を表す指標とを同時に算出するステップと、
前記指令情報を補正するための補正量を前記予測値と前記指標とに基づいて算出するステップと、
前記補正量を用いて補正された前記指令情報に基づいて前記アクチュエータを制御するステップと、
を含むことを特徴とするサーボ制御方法。
A servo control method in which a servo control device controls an actuator,
generating command information for controlling the actuator;
simultaneously calculating a predicted value of a state quantity of the actuator or a mechanical system driven by the actuator and an index representing reliability of the predicted value;
calculating a correction amount for correcting the command information based on the predicted value and the index;
controlling the actuator based on the command information corrected using the correction amount;
A servo control method comprising:
JP2022045414A 2022-03-22 2022-03-22 Servo control device, servo system and servo control method Pending JP2023139729A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022045414A JP2023139729A (en) 2022-03-22 2022-03-22 Servo control device, servo system and servo control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022045414A JP2023139729A (en) 2022-03-22 2022-03-22 Servo control device, servo system and servo control method

Publications (1)

Publication Number Publication Date
JP2023139729A true JP2023139729A (en) 2023-10-04

Family

ID=88204872

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022045414A Pending JP2023139729A (en) 2022-03-22 2022-03-22 Servo control device, servo system and servo control method

Country Status (1)

Country Link
JP (1) JP2023139729A (en)

Similar Documents

Publication Publication Date Title
Xu et al. Efficient reinforcement learning using recursive least-squares methods
US11527984B2 (en) Abnormality determination system, motor control apparatus, and abnormality determination apparatus
CN110832422B (en) Machine learning device, correction parameter adjustment device, and machine learning method
US11366433B2 (en) Reinforcement learning method and device
US20110125293A1 (en) Fast algorithm for model predictive control
JP2016100009A (en) Method for controlling operation of machine and control system for iteratively controlling operation of machine
KR101242678B1 (en) PID control method of changing parameters adaptively and apparatus thereof
US20190317472A1 (en) Controller and control method
US20190361421A1 (en) Servo control device
JP2023139729A (en) Servo control device, servo system and servo control method
CN116569120A (en) Information processing apparatus and information processing method
US11287801B2 (en) Control device, CNC device, and control method
US20230134186A1 (en) Machine learning data generation device, machine learning model generation method, and storage medium
CN115336167A (en) Friction compensation device, collision detection device, torque feedforward calculation device, robot control device, and friction compensation method
JP4301491B2 (en) Autonomous design method, autonomous design apparatus and motor control system for motor control system
Jin et al. An adaptive and dynamical neural network for machine remaining useful life prediction
WO2021245916A1 (en) Servo control device
Emaletdinova et al. Algorithms of constructing a neural network model for a dynamic object of control and adjustment of PID controller parameters
JP6896196B1 (en) Numerical control device and learning device
Kobilarov Sample complexity bounds for iterative stochastic policy optimization
JP7467133B2 (en) Control device, control method, and motor control device
US20200356622A1 (en) Arithmetic processing apparatus, arithmetic processing method, and non-transitory computer-readable storage medium for storing arithmetic processing program
US9460742B1 (en) Selecting servo controller based on predicted position error signal spectrum
WO2021130988A1 (en) Positioning control device and positioning control method
JP7485302B2 (en) Reliability Evaluation Equipment

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20220324