JP2014006566A - Built-in intelligence controller, control system, control program, recording medium, and control method - Google Patents

Built-in intelligence controller, control system, control program, recording medium, and control method Download PDF

Info

Publication number
JP2014006566A
JP2014006566A JP2012139675A JP2012139675A JP2014006566A JP 2014006566 A JP2014006566 A JP 2014006566A JP 2012139675 A JP2012139675 A JP 2012139675A JP 2012139675 A JP2012139675 A JP 2012139675A JP 2014006566 A JP2014006566 A JP 2014006566A
Authority
JP
Japan
Prior art keywords
control
force
unit
neural network
fuzzy
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
JP2012139675A
Other languages
Japanese (ja)
Inventor
Yoshishige Sato
義重 佐藤
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.)
Institute of National Colleges of Technologies Japan
Original Assignee
Institute of National Colleges of Technologies Japan
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 Institute of National Colleges of Technologies Japan filed Critical Institute of National Colleges of Technologies Japan
Priority to JP2012139675A priority Critical patent/JP2014006566A/en
Publication of JP2014006566A publication Critical patent/JP2014006566A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Manipulator (AREA)
  • Feedback Control In General (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a built-in intelligence controller by which position control and force control can be smoothly switched.SOLUTION: An ICS unit 50 performs position control by a position command, and force control by a force command to a control object. A position command system 51 is a fuzzy neural network that performs position control. A force command system 52 is a fuzzy neural network that performs force control. A switching unit 135 changes output of the force command system 52 according to a value of a force sensor of the control object, and continuously switches the position control and the force control by hybrid/compliance control of position and force.

Description

本発明は、組み込み知能コントローラ、制御システム、制御プログラム、記録媒体、及び制御方法に係り、特に位置制御と制御を行うための組み込み知能コントローラ、制御システム、制御プログラム、記録媒体、及び制御方法に関する。   The present invention relates to an embedded intelligent controller, a control system, a control program, a recording medium, and a control method, and more particularly to an embedded intelligent controller, control system, control program, recording medium, and control method for performing position control and control.

近年、宇宙探査機の『はやぶさ』や医療現場などの様々な作業環境でロボットマニピュレータが使用されている。また、ロボットの自動化・自律化も進められており、高精度な制御が求められている。しかし、このような制御を実現するには大きな問題点がある。それは、ロボットマニピュレータの動特性が位置・姿勢による慣性負荷や速度による遠心力、重力負荷などの非線形性を持つこと、それに加え環境条件や外的要因による外乱によって変動をきたすことなどである。
従来から、一般的な制御方法としてPID制御が知られている。PID制御は、P(Proportional、比例)動作、I(Integral、積分)、D(Differential、Derivative、微分)動作を用いたフィードバック制御である。すなわち、PID制御は、目標値−制御量である制御の偏差に対して、比例演算、積分演算、及び微分演算を行い、操作量を算出して制御する。
PID制御は、古典制御だが扱いやすさと正確性の良さから広く使われている。しかし、PID制御のような古典制御では外乱や非線形要素への対応が困難であった。
In recent years, robot manipulators are used in various work environments such as the space probe “Hayabusa” and medical sites. In addition, automation and autonomy of robots are being promoted, and high-precision control is required. However, there is a big problem in realizing such control. This is because the dynamic characteristics of the robot manipulator have non-linearities such as inertial load due to position and posture, centrifugal force due to velocity, and gravity load, as well as fluctuations caused by disturbances due to environmental conditions and external factors.
Conventionally, PID control is known as a general control method. PID control is feedback control using P (Proportional) operation, I (Integral), and D (Differential, Derivative) operation. That is, in the PID control, a proportional calculation, an integral calculation, and a differential calculation are performed on a control deviation that is a target value-control amount, and an operation amount is calculated and controlled.
PID control is classical control, but is widely used because of its ease of handling and accuracy. However, classical control such as PID control has been difficult to cope with disturbances and nonlinear elements.

そこで、従来から、一般にマニピュレータに関するシステム設計は、制御対象が多自由度系でも1自由度系と見なし近似式を用いて制御系を設計し、関節軸ごとに独立した制御系を構築する手法が多くの製品に採用されている。
しかし、一般的には、マニピュレータは、剛性が低く、重力や遠心力を受ける非線形な多入力多出力系である。また、従来手法では、PID制御における位相補償制御、最適サーボ系、外乱オブザーバを用いた制御あるいはH∞制御等を用いて精度、振動抑制、ロバスト性などを実現しているが、十分な制御性能が得られなかった。
Therefore, conventionally, the system design related to manipulators is generally a method of constructing an independent control system for each joint axis by considering the control target as a one-degree-of-freedom system and designing the control system using an approximate expression. Used in many products.
However, in general, a manipulator is a non-linear multi-input multi-output system that has low rigidity and receives gravity and centrifugal force. In addition, the conventional method achieves accuracy, vibration suppression, robustness, etc. using phase compensation control in PID control, optimal servo system, control using disturbance observer or H∞ control, etc., but sufficient control performance Was not obtained.

ここで、従来のPID調節装置として、特許文献1を参照すると、制御対象からの制御量PVnと目標値SVnから補償演算を行って得られる実効目標値SVn0との偏差が零となるようにPIまたはPID(P:比例,I:積分,D:微分)調節演算を行い、得られる調節演算信号を操作信号MVnとして前記制御対象に印加する調節装置において、制御量の目標値から実効目標値を得るために、比例ゲイン2自由度化係数α(α:0〜1間の定数)及び積分時間2自由度化係数β(β:1〜10間の定数)を用いた補償演算手段を設け、目標値から操作信号間の伝達関数Csv(s)がKp{α+[1/(TI・s)]・[(1+TI・s)/(1+βTI・s)]}とする2自由度PID調節装置、但し、Kp:比例ゲイン、TI:積分時間、s:ラプラス演算子であるものが記載されている(以下、従来技術1とする。)。
従来技術1によれば、PID制御の2自由度化のための積分動作の2自由度化を非常にシンプルな形とし、かつ、比例ゲインの2自由度化係数αと積分時間の2自由度化係数βの相互干渉を除去できる補償演算手段を設けたことにより、(1)積分動作の2自由度化が非常に簡単になり、かつ、分かり易い形に実現できる。(2)積分動作の2自由度化において比例ゲイン2自由度化係数αの関与を排除でき、調整が簡単になる。(3)さらに、積分動作の2自由度化係数βの関与を分母のみとし、シンプルで2自由度化係数βの調整時に直感的に把握可能となる。
Here, as a conventional PID adjusting device, referring to Patent Document 1, PI is set so that a deviation between a control amount PVn from a controlled object and an effective target value SVn0 obtained by performing a compensation operation from the target value SVn becomes zero. Alternatively, in an adjustment device that performs PID (P: proportional, I: integration, D: differentiation) adjustment calculation and applies the obtained adjustment calculation signal as the operation signal MVn to the control target, the effective target value is calculated from the target value of the controlled variable. In order to obtain, a compensation operation means using a proportional gain 2 degrees of freedom coefficient α (a constant between 0 and 1) and an integration time 2 degrees of freedom coefficient β (a constant between β and 1 to 10) is provided, A two-degree-of-freedom PID adjusting device in which a transfer function Csv (s) between a target value and an operation signal is Kp {α + [1 / (TI · s)] · [(1 + TI · s) / (1 + βTI · s)]} However, Kp: Proportional gain, TI: During integration , S: what is the Laplace operator it is described (hereinafter, referred to as prior art 1.).
According to the prior art 1, the two-degree-of-freedom of the integration operation for the two-degree-of-freedom of the PID control is made very simple, and the two-degree-of-freedom coefficient α of the proportional gain and the two degrees of freedom of the integration time By providing the compensation calculation means that can remove the mutual interference of the quantization coefficient β, (1) the two degrees of freedom of the integration operation can be greatly simplified and can be realized in an easily understandable form. (2) It is possible to eliminate the involvement of the proportional gain 2-degree-of-freedom coefficient α in the 2-degree-of-freedom integral operation, and the adjustment becomes simple. (3) Furthermore, the involvement of the two-degree-of-freedom coefficient β in the integration operation is only the denominator, and it is simple and can be intuitively grasped when the two-degree-of-freedom coefficient β is adjusted.

特開平07−072901号公報Japanese Patent Application Laid-Open No. 07-072901

しかしながら、従来、遠心力・重力・クーロン摩擦などの外乱が顕著な場合には、入出力信号から状態変数を推定するオブザーバ(観測器)を用いてロバスト(堅牢)制御を行っていたものの、満足できるものではなかった。
このような従来のロバスト制御では、定常特性に関するパラメータであるゲインが固定であったため、突発的外乱の影響に対応できず、不具合発生が問題となっていたためであった。これは、従来技術1でも同等であった。
一方、産業用ロボットの組立作業は、部品の組付け時に部品同士の接触を伴うため、位置制御では対応できず、力制御が必要になっていた。
しかしながら、力制御のパラメータ調整が難しいため、位置制御と力制御の制御の切り換えがスムーズにできなかった。
このため、インテリジェント(知能化)制御を行いつつ、実用的に位置制御と力制御の制御の切り換えを行う装置が強く望まれていた。
However, when disturbances such as centrifugal force, gravity, and Coulomb friction are conspicuous, robust control has been performed using an observer that estimates state variables from input / output signals. It wasn't possible.
In such conventional robust control, the gain, which is a parameter related to the steady state characteristics, is fixed, so that it is not possible to cope with the influence of sudden disturbance, and the occurrence of problems has been a problem. This was the same in the prior art 1.
On the other hand, the assembly work of the industrial robot involves contact between parts when the parts are assembled, and thus cannot be handled by position control, and force control is required.
However, since it is difficult to adjust force control parameters, switching between position control and force control cannot be performed smoothly.
For this reason, there has been a strong demand for a device that switches between position control and force control practically while performing intelligent (intelligent) control.

本発明は、このような状況に鑑みてなされたものであり、上述の課題を解消することを課題とする。   This invention is made | formed in view of such a condition, and makes it a subject to eliminate the above-mentioned subject.

本発明の組み込み知能コントローラは、制御対象に対して、位置指令により位置制御を行い、力指令により力制御を行う組み込み知能コントローラにおいて、前記位置制御を行う位置制御系のファジィ・ニューラルネットワークと、前記力制御を行う力制御系のファジィ・ニューラルネットワークと、前記制御対象の力センサの値により前記力制御系の出力を変化させ、位置と力のハイブリッド/コンプライアンス制御により前記位置制御と力制御とを連続的に切り換える切換部とを備えることを特徴とする。
本発明の組み込み知能コントローラは、前記位置制御系において、前記制御対象の変位、速度、加速度のパラメータをニューラルネットワークにより学習させ、前記制御対象の特性の逆特性を取得するフィードフォワード手段を備え、前記力制御系において、前記制御対象の力、粘性、剛性のパラメータをニューラルネットワークにより学習させ、前記制御対象の特性の逆特性を取得するフィードフォワード手段を備えることを特徴とする。
本発明の組み込み知能コントローラは、前記位置制御系のファジィ・ニューラルネットワーク及び前記力制御系のファジィ・ニューラルネットワークは、それぞれ、非線形誤差を減少させる補償器である複数のフィードバック手段を備え、該フィードバック手段は、前記制御対象の非線形動特性のPD(比例、微分)補償を行うファジィPD手段と、前記制御対象の非線形動特性のPI(比例、積分)補償を行うファジィPI手段とを並列に備えることを特徴とする。
本発明の組み込み知能コントローラは、前記位置制御系のファジィ・ニューラルネットワークの前記フィードバック手段及び前記力制御系のファジィ・ニューラルネットワークの前記フィードバック手段は、ファジィ分割された空間において位置及び力誤差に応じた可変フィードバックゲインを設定することを特徴とする。
本発明の組み込み知能コントローラは、前記位置制御系のファジィ・ニューラルネットワーク及び前記力制御系のファジィ・ニューラルネットワークは、所定のサンプリング時間で実時間処理を行うことを特徴とする。
本発明の組み込み知能コントローラは、前記位置制御系のファジィ・ニューラルネットワーク及び前記力制御系のファジィ・ニューラルネットワークは、ソフトウェアPWM制御を行うことを特徴とする。
本発明の制御システムは、前記組み込み知能コントローラを含むことを特徴とする。
本発明の制御システムは、前記組み込み知能コントローラと、前記制御対象として力センサを備えたロボットとを備えることを特徴とする。
本発明の制御プログラムは、制御対象に対して、位置指令により位置制御を行い、力指令により力制御を行う組み込み知能コントローラの制御プログラムにおいて、前記組み込み知能コントローラに、位置制御系のファジィ・ニューラルネットワークにより、前記位置制御を行わせ、力制御系のファジィ・ニューラルネットワークにより、前記力制御を行わせ、前記制御対象の力センサの値により前記力制御系の出力を変化させ、位置と力のハイブリッド/コンプライアンス制御により前記位置制御と力制御とを連続的に切り換えさせることを特徴とする。
本発明の記録媒体は、制御対象に対して、位置指令により位置制御を行い、力指令により力制御を行う組み込み知能コントローラの制御プログラムが記録された記録媒体において、前記組み込み知能コントローラに、位置制御系のファジィ・ニューラルネットワークにより、前記位置制御を行わせ、力制御系のファジィ・ニューラルネットワークにより、前記力制御を行わせ、前記制御対象の力センサの値により前記力制御系の出力を変化させ、位置と力のハイブリッド/コンプライアンス制御により前記位置制御と力制御とを連続的に切り換えさせるためのプログラムを記録したコンピュータ読み取り可能な記録媒体であることを特徴とする。
本発明の制御方法は、制御対象に対して、位置指令により位置制御を行い、力指令により力制御を行う組み込み知能コントローラの制御方法において、前記組み込み知能コントローラに、位置制御系のファジィ・ニューラルネットワークにより、前記位置制御を行わせ、力制御系のファジィ・ニューラルネットワークにより、前記力制御を行わせ、前記制御対象の力センサの値により前記力制御系の出力を変化させ、位置と力のハイブリッド/コンプライアンス制御により前記位置制御と力制御とを連続的に切り換えさせることを特徴とする。
The embedded intelligent controller of the present invention is a position control system for performing position control on a control target, and in the built-in intelligent controller performing force control based on a force command, a fuzzy neural network of a position control system that performs the position control, A force control system fuzzy neural network that performs force control, and the output of the force control system is changed according to the value of the force sensor to be controlled, and the position control and force control are performed by position / force hybrid / compliance control. And a switching unit that switches continuously.
The built-in intelligence controller of the present invention comprises feedforward means for learning parameters of the displacement, speed, and acceleration of the controlled object by a neural network in the position control system, and acquiring a reverse characteristic of the controlled object characteristic, The force control system includes feedforward means for learning the parameters of the force, viscosity, and rigidity of the controlled object using a neural network and acquiring a reverse characteristic of the controlled object characteristic.
The embedded intelligent controller according to the present invention includes a fuzzy neural network of the position control system and a fuzzy neural network of the force control system each including a plurality of feedback means which are compensators for reducing nonlinear errors, and the feedback means Comprises in parallel a fuzzy PD means for performing PD (proportional, differential) compensation of the nonlinear dynamic characteristic of the controlled object and a fuzzy PI means for performing PI (proportional, integral) compensation of the nonlinear dynamic characteristic of the controlled object. It is characterized by.
The embedded intelligent controller of the present invention is configured such that the feedback means of the fuzzy neural network of the position control system and the feedback means of the fuzzy neural network of the force control system correspond to position and force errors in a fuzzy divided space. A variable feedback gain is set.
The embedded intelligent controller of the present invention is characterized in that the fuzzy neural network of the position control system and the fuzzy neural network of the force control system perform real-time processing with a predetermined sampling time.
The embedded intelligent controller of the present invention is characterized in that the position control system fuzzy neural network and the force control system fuzzy neural network perform software PWM control.
A control system according to the present invention includes the embedded intelligent controller.
The control system of the present invention includes the embedded intelligent controller and a robot including a force sensor as the control target.
The control program of the present invention is a control program for an embedded intelligent controller that performs position control with respect to a controlled object by a position command and performs force control by a force command. The embedded intelligent controller includes a fuzzy neural network of a position control system. The position control is performed, the force control is performed by a fuzzy neural network of the force control system, the output of the force control system is changed according to the value of the force sensor to be controlled, and a hybrid of position and force / The position control and the force control are continuously switched by compliance control.
The recording medium of the present invention is a recording medium in which a control program of an embedded intelligent controller that performs position control by a position command and performs force control by a force command is recorded on the control target. The position control is performed by the fuzzy neural network of the system, the force control is performed by the fuzzy neural network of the force control system, and the output of the force control system is changed by the value of the force sensor to be controlled. The computer-readable recording medium stores a program for continuously switching between the position control and the force control by position / force hybrid / compliance control.
The control method of the present invention is a control method for a built-in intelligent controller that performs position control with respect to a controlled object by a position command and performs force control with a force command, and the built-in intelligent controller includes a fuzzy neural network of a position control system. The position control is performed, the force control is performed by a fuzzy neural network of the force control system, the output of the force control system is changed according to the value of the force sensor to be controlled, and a hybrid of position and force / The position control and the force control are continuously switched by compliance control.

本発明によれば、ファジィ・ニューラルネットワークを用いることで、実用的な非線形動作特性をもつインテリジェント・ロバスト制御を実現しつつ、位置制御と力制御の制御の切り換えをスムーズに行う組み込み知能コントローラを提供することができる。   According to the present invention, by using a fuzzy neural network, an intelligent controller that smoothly switches between position control and force control while realizing intelligent and robust control with practical nonlinear operation characteristics is provided. can do.

本発明の第1の実施の形態に係る制御システムXの一例の外観図である。1 is an external view of an example of a control system X according to a first embodiment of the present invention. 本発明の第1の実施の形態に係る知能コントローラ部1のICS部10の外観図である。It is an external view of the ICS part 10 of the intelligent controller part 1 which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係る制御システムXの制御構成を示すブロック図である。It is a block diagram which shows the control structure of the control system X which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係るICS部10の制御構成を示すブロック図である。It is a block diagram which shows the control structure of the ICS part 10 which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係る開発/学習処理に用いるICS部10の制御構成例を示すブロック図である。It is a block diagram which shows the example of control structure of the ICS part 10 used for the development / learning process which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係る開発/学習処理のフローチャートである。It is a flowchart of the development / learning process which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係るモデル作成処理のフローチャートである。It is a flowchart of the model creation process which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係るFF−NN逆ダイナミックス処理に用いるICS部10の制御構成例を示すブロック図である。It is a block diagram which shows the example of control structure of the ICS part 10 used for the FF-NN reverse dynamics process which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係るFF−NN逆ダイナミックス処理のフローチャートである。It is a flowchart of FF-NN reverse dynamics processing concerning a 1st embodiment of the present invention. 本発明の第1の実施の形態に係るFF−NN部120のニューラルネットワークの構成例を示す概念図である。It is a conceptual diagram which shows the structural example of the neural network of the FF-NN part 120 which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係るFF−NN部120のニューラルネットワークのブロックを示す概念図である。It is a conceptual diagram which shows the block of the neural network of the FF-NN part 120 which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係るFB−FN学習処理に用いるICS部10の制御構成例を示すブロック図である。It is a block diagram which shows the control structural example of the ICS part 10 used for the FB-FN learning process which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係るFB−FN学習処理のフローチャートである。It is a flowchart of the FB-FN learning process which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係るファジィ・ニューラルネットワークの構造を示す概念図である。It is a conceptual diagram which shows the structure of the fuzzy neural network which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係るファジィPD部131とファジィPI部132の全体構成を示す概念図である。FIG. 2 is a conceptual diagram showing an overall configuration of a fuzzy PD unit 131 and a fuzzy PI unit 132 according to the first embodiment of the present invention. 本発明の第1の実施の形態に係るファジィPD部131とファジィPI部132の学習過程を示すブロック図である。It is a block diagram which shows the learning process of the fuzzy PD part 131 and the fuzzy PI part 132 which concern on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係る調整されたメンバーシップ関数の例を示す概念図である。It is a conceptual diagram which shows the example of the adjusted membership function based on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係るファジィPD部131及びファジィPI部132のファジィルールの設定方法を示す概念図である。It is a conceptual diagram which shows the setting method of the fuzzy rule of the fuzzy PD part 131 and the fuzzy PI part 132 which concern on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係るFB−FN部130のファジィ・ニューラルネットワークゲインの計算方法を示す概念図である。It is a conceptual diagram which shows the calculation method of the fuzzy neural network gain of the FB-FN part 130 which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係るFB−FN部130のゲインマトリックスを示す概念図である。It is a conceptual diagram which shows the gain matrix of the FB-FN part 130 which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係るFB−FN部130のファジィ・ニューラルネットワークによるゲインスケジューリングの概念を示すブロック図である。It is a block diagram which shows the concept of the gain scheduling by the fuzzy neural network of the FB-FN part 130 which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係るファジィPD部131のファジィPDゲインマトリックスを示す画面例である。It is an example of a screen which shows the fuzzy PD gain matrix of the fuzzy PD part 131 which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係るファジィPD部131のファジィPD制御面を示す画面例である。It is an example of a screen which shows the fuzzy PD control surface of the fuzzy PD part 131 which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係るFB−FN部130のロバスト安定性について説明するための概念図である。It is a conceptual diagram for demonstrating the robust stability of the FB-FN part 130 which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係るソフトウェアサーボ制御処理のPWM制御の概念図である。It is a conceptual diagram of the PWM control of the software servo control process which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態の実施例1に係る従来のPID制御のモデル図である。It is a model figure of the conventional PID control which concerns on Example 1 of the 1st Embodiment of this invention. 本発明の第1の実施の形態の実施例1に係るNN−PID制御のみの場合のモデル図である。It is a model figure in the case of only NN-PID control which concerns on Example 1 of the 1st Embodiment of this invention. 本発明の第1の実施の形態の実施例1に係るファジィ・ニューラルネットワーク制御のモデル図である。It is a model figure of fuzzy neural network control concerning Example 1 of the 1st mode of the present invention. 本発明の第1の実施の形態の実施例1に係るPWM部150のモデル図である。It is a model figure of the PWM part 150 which concerns on Example 1 of the 1st Embodiment of this invention. 本発明の第1の実施の形態の実施例1に係るPWM部150のSEIHUKIRIKAEブロックのモデル図である。It is a model diagram of a SEIHUKIRIKAE block of the PWM unit 150 according to Example 1 of the first embodiment of the present invention. 本発明の第1の実施の形態の実施例1に係るPWM部150のSEIHUKIRIKAEブロックのPWM18−20ブロックのモデル図である。It is a model diagram of the PWM18-20 block of the SEIHUKIRIKAE block of the PWM unit 150 according to Example 1 of the first embodiment of the present invention. 本発明の第1の実施の形態の実施例11に係る出力部170のモデル図である。It is a model figure of the output part 170 which concerns on Example 11 of the 1st Embodiment of this invention. 本発明の第1の実施の形態の実施例1に係る入力部180のモデル図である。It is a model figure of the input part 180 which concerns on Example 1 of the 1st Embodiment of this invention. 本発明の第1の実施の形態の実施例1に係るカウンタ部160のモデル図である。It is a model figure of the counter part 160 which concerns on Example 1 of the 1st Embodiment of this invention. 本発明の第1の実施の形態の実施例1に係るカウンタ部160のCOUNTERブロックのモデル図である。It is a model figure of the COUNTER block of the counter part 160 which concerns on Example 1 of the 1st Embodiment of this invention. 本発明の第1の実施の形態の実施例1に係るカウンタ部160のCOUNTERブロックのTriggered Subsystemのモデル図である。It is a model diagram of the Triggered Subsystem of the COUNTER block of the counter unit 160 according to Example 1 of the first embodiment of the present invention. 本発明の第1の実施の形態に係る従来のPID制御のモデルを用いて制御の実験結果を示すグラフである。It is a graph which shows the experimental result of control using the model of the conventional PID control which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態の実施例1に係るファジィ・ニューラルネットワーク制御の実験結果を示すグラフである。It is a graph which shows the experimental result of the fuzzy neural network control which concerns on Example 1 of the 1st Embodiment of this invention. 本発明の第2の実施の形態に係る制御システムYの制御構成を示すブロック図である。It is a block diagram which shows the control structure of the control system Y which concerns on the 2nd Embodiment of this invention. 本発明の第2の実施の形態に係るICS部50の制御構成を示すブロック図である。It is a block diagram which shows the control structure of the ICS part 50 which concerns on the 2nd Embodiment of this invention. 本発明の第2の実施の形態に係るFF−NN逆ダイナミックス処理に用いるICS部50の制御構成例を示すブロック図である。It is a block diagram which shows the control structural example of the ICS part 50 used for the FF-NN reverse dynamics process which concerns on the 2nd Embodiment of this invention. 本発明の第2の実施の形態に係るFF−NN逆ダイナミックス処理のフローチャートである。It is a flowchart of the FF-NN reverse dynamics process which concerns on the 2nd Embodiment of this invention. 本発明の第2の実施の形態に係る組み立て処理の概念図である。It is a conceptual diagram of the assembly process which concerns on the 2nd Embodiment of this invention. 本発明の第2の実施の形態に係る組み立て処理のフローチャートである。It is a flowchart of the assembly process which concerns on the 2nd Embodiment of this invention. 本発明の第2の実施の形態の実施例2に係る制御対象7の外観を示す写真である。It is a photograph which shows the external appearance of the control object 7 which concerns on Example 2 of the 2nd Embodiment of this invention. 本発明の第2の実施の形態の実施例2に係る制御対象7の制御構成を示すブロック図である。It is a block diagram which shows the control structure of the control object 7 which concerns on Example 2 of the 2nd Embodiment of this invention. 本発明の第2の実施の形態の実施例2に係るスポンジでの実験結果を示すグラフである。It is a graph which shows the experimental result in the sponge which concerns on Example 2 of the 2nd Embodiment of this invention. 本発明の第2の実施の形態の実施例2に係る積み木での実験結果を示すグラフである。It is a graph which shows the experimental result in the building block which concerns on Example 2 of the 2nd Embodiment of this invention. 本発明の第2の実施の形態の実施例2に係るぬいぐるみでの実験結果を示すグラフである。It is a graph which shows the experimental result in the stuffed toy which concerns on Example 2 of the 2nd Embodiment of this invention. 本発明の第2の実施の形態の実施例2に係る各物体での実験結果を示す図である。It is a figure which shows the experimental result in each object which concerns on Example 2 of the 2nd Embodiment of this invention.

<第1の実施の形態>
〔本発明の第1の実施の形態に係る制御システムXの構成〕
まず、図1A〜図2を参照して、本発明の第1の実施の形態に係る制御システムXの制御構成について説明する。
図1Aは、制御システムXを開発する際に用いる構成の一例の外観図である。本実施形態の制御システムXは、知能コントローラ部1が、テーブル移動装置である制御対象2と、図示しない制御装置3とに接続されている。
知能コントローラ部1は、インテリジェント・ロバスト制御に用いるICS部10(Intelligent Control System Module、組み込み知能コントローラ)を備えている制御部位である。図1Aの例では、知能コントローラ部1として、組み込みモジュールを接続できる開発用の組み込み型コンピュータを用いる例を示す。
また、制御対象2は、外乱の影響を受け、ロバスト制御が必要になる具体的な制御対象部位である。図1Aの例では、開発とシミュレーションに用いるテーブル移動装置を用いた例を示す。このテーブル移動装置は、モータドライバーやカウンタ等であるモータ駆動ドライバ20を備えている。モータ駆動ドライバ20は、駆動用のモータ230により、テーブル210を移動させ、その制御の応答を入力する。
図1Bは、ICS部10の外観図である。ICS部10は、組み込みコンピュータを用いたインテリジェント・ロバスト型組み込み知能コントローラであり、後述する学習後に、実際の制御対象の機器に装着してインテリジェント・ロバスト制御を行う。
<First Embodiment>
[Configuration of Control System X According to First Embodiment of the Present Invention]
First, the control configuration of the control system X according to the first embodiment of the present invention will be described with reference to FIGS. 1A to 2.
FIG. 1A is an external view of an example of a configuration used when developing the control system X. FIG. In the control system X of the present embodiment, the intelligent controller unit 1 is connected to a control object 2 that is a table moving device and a control device 3 (not shown).
The intelligent controller unit 1 is a control part including an ICS unit 10 (Intelligent Control System Module, embedded intelligent controller) used for intelligent and robust control. In the example of FIG. 1A, an example is shown in which a development embedded computer capable of connecting an embedded module is used as the intelligent controller unit 1.
Further, the control target 2 is a specific control target portion that is affected by disturbance and requires robust control. In the example of FIG. 1A, an example using a table moving device used for development and simulation is shown. The table moving device includes a motor drive driver 20 such as a motor driver or a counter. The motor driving driver 20 moves the table 210 by the driving motor 230 and inputs a control response.
FIG. 1B is an external view of the ICS unit 10. The ICS unit 10 is an intelligent and robust embedded intelligent controller using an embedded computer, and after learning, which will be described later, is attached to an actual device to be controlled to perform intelligent and robust control.

図2は、制御システムXの具体的な構成を示す制御ブロック図である。
制御システムXは、一例として、知能コントローラ部1と、制御対象2と、制御装置3とを含んでいる。
FIG. 2 is a control block diagram showing a specific configuration of the control system X.
As an example, the control system X includes an intelligent controller unit 1, a control target 2, and a control device 3.

知能コントローラ部1は、製品の製造時には、ロボット、自動車、自転車、航空機、ヒートポンプ等の制御が必要な各種機器そのものに、ICS部10を組み込んで用いる。ここでは、開発時の構成例として、例えば、システム開発ツールであり、主に実際の製品に搭載する前の開発段階で使用する組み込み型コンピュータを用いる例について説明する。この開発用の組み込み型コンピュータとしては、たとえば、エー・アンド・デイ社製のAD7011−EVAを用いることができる。また、知能コントローラ部1は、高速な制御手段を用いて、例えば、所定のサンプリング時間、例えば1ミリ秒〜数十ミリ秒程度にて、リアルタイム(実時間)処理を行うことができる。
制御対象2は、製品の製造時には、ロボット、自動車、自転車、航空機、ヒートポンプ等のモータやアクチュエータやヒータのように電磁的に駆動を調節する素子と、この素子の出力の状態を取得するセンサ等を含む。本実施形態では、一般的な外乱の起こる駆動系のシミュレーションを行う場合の構成として、駆動装置であるDC(直流)モータ駆動のテーブル移動装置を用いた構成の例について説明する。
制御装置3は、一般的なPC/AT互換機やMAC規格機のようなPC(Personal Computer)等を用いることができる。制御装置3は、Windows(登録商標)やLinux(登録商標)等のOS(Operating System)を用いて、制御用のソフトウェアをインストールして実行することができる。以下では、制御装置3のPCに、制御用ソフトウェアとしてMathWorks社製のMATLAB(登録商標)/Simlink(登録商標)をインストールしてファジィ/ニューラルネットを構築した例について説明するが、これに限られない。また、以下では、制御装置3において、エイ・アンド・デイ社のVCDesigner(商標)とModelDef(商標)ソフトウェアを用いてモデル定義とモデル実行画面の作成を行う例についても説明するが、これに限られず、各種のソフトウェアを用いて実現することができる。
The intelligent controller unit 1 incorporates the ICS unit 10 into various devices that need to be controlled such as robots, automobiles, bicycles, aircrafts, heat pumps, and the like when manufacturing products. Here, as a configuration example at the time of development, for example, an example of using a built-in computer that is a system development tool and is mainly used in a development stage before being installed in an actual product will be described. As an embedded computer for development, for example, AD7011-EVA manufactured by A & D Corporation can be used. Moreover, the intelligent controller unit 1 can perform real-time (real-time) processing using a high-speed control unit, for example, in a predetermined sampling time, for example, about 1 millisecond to several tens of milliseconds.
The controlled object 2 is an element that electromagnetically adjusts the drive, such as a motor, actuator, or heater such as a robot, automobile, bicycle, aircraft, heat pump, etc., and a sensor that acquires the output state of this element when manufacturing a product. including. In the present embodiment, an example of a configuration using a DC (direct current) motor-driven table moving device as a driving device will be described as a configuration for performing a simulation of a driving system in which a general disturbance occurs.
The control device 3 can use a general PC / AT compatible machine, a PC (Personal Computer) such as a MAC standard machine, or the like. The control device 3 can install and execute control software using an OS (Operating System) such as Windows (registered trademark) or Linux (registered trademark). In the following, an example will be described in which a fuzzy / neural network is constructed by installing MATLAB (registered trademark) / Simlink (registered trademark) manufactured by MathWorks as control software on the PC of the control device 3. Absent. In the following, an example of creating a model definition and a model execution screen using the VCDdesigner (trademark) and ModelDef (trademark) software of A & D Corporation in the control device 3 will be described. Instead, it can be realized using various software.

〈知能コントローラ部1の構成〉
より具体的に説明すると、知能コントローラ部1は、例えば、ICS部10、制御部11、補助記憶部14、主記憶部15、論理回路部16、I/F部17、及びコネクタ18と19を含んで構成される。
ICS部10は、EEPROM(Electrically Erasable Programmable Read−Only Memory)やNOR/NANDフラッシュメモリやSRAM(Static Random Access Memory)等を内蔵したiCS(intelligent Control System)モジュールである。ICS部10は、制御装置3で作成された制御部11のC言語等のプログラム(実行コード)であるバイナリファイル、各種モデルやパラメータに関する定義ファイルやデータ、FPGA(Field Programmable Gate Array)の論理回路データ、知能コントローラ部1のファームウェアやBIOS(Basic Input/Output System)等を記憶している記憶媒体(記録媒体)も備える。後述する開発/学習処理では、このプログラムやデータが制御部11により読み出されて実行される。また、ICS部10は、図1Aの外観図のように、それ自体が制御演算手段を備えたシングルボードコンピュータとして構成されていてもよい。
制御部11は、RISC(Reduced Instruction Set Computer、縮小命令セットコンピュータ)方式やCISC方式等の高速演算処理が可能なCPU(Central Processing Unit、中央処理装置、中央演算装置)、MPU(Micro Processing Unit)、DSP(Digital Signal Processor)、ASIC(Application Specific Processor、特定用途向けプロセッサー)等である演算・制御能力を備えた制御手段である。
補助記憶部14は、主にOS用の記憶媒体(記録媒体)として、SSD(Solid State Drive)やコンパクトフラッシュ(登録商標)ディスクやSDメモリカードやmicroSDメモリカード等のフラッシュメモリディスク、HDD(Hard Disk Drive)、磁気テープ媒体、光ディスク媒体等を備えた補助記憶手段である。補助記憶部14に記憶されたOSとしては、カーネルに組み込んで使用するリアルタイムモジュールであるXenomai拡張を用いたLinux(登録商標)や、ITRON等のリアルタイム処理が可能なOSを用いることが好適である。
主記憶部15は、主に制御/演算用の記憶媒体(記録媒体)として、SDRAM(Synchronous Dynamic Random Access Memory)やDDR(Double−Data−Rate)、DDR2、DDR3、LPDDR3、WideIO、XDR(extreme data rate)等の主記憶用に使われる高速な記憶手段を含んで構成される主記憶手段である。主記憶部15は、ICS部10の各プログラムやデータ、制御対象2から取得したセンサのデータ等を記憶する。
論理回路部16は、CPLD(Complex Programmable Logic Device)やFPGA等の論理回路及び各種アナログ回路等である。論理回路部16は、制御対象2とのインターフェイスの回路やA/D(analog−to−digital)コンバータやD/A(digital−to−analog)コンバータ等も含んで構成される。
I/F部17は、USB(Universal Serial Bus)、無線USB、シリアル、パラレル、LAN(Local Area Network)等のインターフェイスである。I/F部17は、主に制御装置3からプログラムやバイナリファイルやデータ等を転送し、制御結果等のデータを制御装置3に転送するために用いる。
コネクタ18は、主に制御装置3に接続するためのコネクタ等である。コネクタ18は、例えば、制御装置3と、LANクロスケーブルで接続できる。また、コネクタ18には、タッチパネルディスプレイ等の表示部/入力部やスピーカやマイクロフォン等を別途接続してもよい。
コネクタ19は、主に制御対象2に接続するためのコネクタであり、別途駆動用のアンプやセンサ等と接続してもよい。
<Configuration of intelligent controller unit 1>
More specifically, the intelligent controller unit 1 includes, for example, an ICS unit 10, a control unit 11, an auxiliary storage unit 14, a main storage unit 15, a logic circuit unit 16, an I / F unit 17, and connectors 18 and 19. Consists of including.
The ICS unit 10 is an iCS (intelligent control module) incorporating an EEPROM (Electrically Erasable Programmable Read-Only Memory), a NOR / NAND flash memory, an SRAM (Static Random Access Memory), and the like. The ICS unit 10 is a binary file which is a program (execution code) of C language or the like of the control unit 11 created by the control device 3, definition files and data regarding various models and parameters, and a logic circuit of an FPGA (Field Programmable Gate Array). A storage medium (recording medium) that stores data, firmware of the intelligent controller unit 1, BIOS (Basic Input / Output System), and the like is also provided. In the development / learning process described later, the program and data are read and executed by the control unit 11. Further, the ICS unit 10 may itself be configured as a single board computer provided with control calculation means as shown in the external view of FIG. 1A.
The control unit 11 is a CPU (Central Processing Unit, Central Processing Unit, Central Processing Unit), MPU (Micro Processing Unit) capable of high-speed arithmetic processing such as a RISC (Reduced Instruction Set Computer) method or a CISC method. , A digital signal processor (DSP), an application specific processor (ASIC), and other control means having a calculation / control capability.
The auxiliary storage unit 14 is mainly a storage medium (recording medium) for the OS, such as an SSD (Solid State Drive), a compact flash (registered trademark) disk, a flash memory disk such as an SD memory card or a microSD memory card, an HDD (Hard). Disk Drive), auxiliary storage means including a magnetic tape medium, an optical disk medium, and the like. As the OS stored in the auxiliary storage unit 14, it is preferable to use Linux (registered trademark) using Xenomai extension, which is a real-time module used by being incorporated in the kernel, or an OS capable of real-time processing such as ITRON. .
The main storage unit 15 is mainly an SDRAM (Synchronous Dynamic Random Access Memory), DDR (Double-Data-Rate), DDR2, DDR3, LPDDR3, WideIO, XDR (extreme) as a storage medium (recording medium) for control / calculation. This is a main storage means including a high-speed storage means used for main storage such as data rate). The main storage unit 15 stores each program and data of the ICS unit 10, sensor data acquired from the control target 2, and the like.
The logic circuit unit 16 is a logic circuit such as CPLD (Complex Programmable Logic Device) or FPGA, various analog circuits, and the like. The logic circuit unit 16 includes an interface circuit with the control target 2, an A / D (analog-to-digital) converter, a D / A (digital-to-analog) converter, and the like.
The I / F unit 17 is an interface such as USB (Universal Serial Bus), wireless USB, serial, parallel, and LAN (Local Area Network). The I / F unit 17 is mainly used to transfer programs, binary files, data, and the like from the control device 3 and transfer data such as control results to the control device 3.
The connector 18 is a connector or the like mainly connected to the control device 3. The connector 18 can be connected to the control device 3 by a LAN cross cable, for example. In addition, a display unit / input unit such as a touch panel display, a speaker, a microphone, or the like may be separately connected to the connector 18.
The connector 19 is a connector mainly connected to the control target 2 and may be connected to a driving amplifier, a sensor, or the like separately.

〈制御対象2の構成〉
また、制御対象2は、モータ駆動ドライバ20と、テーブル部21とを含んでいる。
モータ駆動ドライバ20は、一般的なDCモータを駆動するためのドライバIC(Integrated Circuit)を用いることができる。このドライバICは、知能コントローラ部1からの制御信号によりテーブル部21のモータ230を駆動する。また、モータ駆動ドライバ20は、エンコーダ220からの出力を取得して、知能コントローラ部1に送信する。
テーブル部21は、DCモータによって駆動する移動テーブルの例である。テーブル部21は、移動テーブル(ステージ)であるテーブル210と、テーブル210を駆動するDCモータ等のモータ230と、テーブル210の位置等を検知するエンコーダ220とを含んで構成される。
<Configuration of control object 2>
Further, the control target 2 includes a motor drive driver 20 and a table unit 21.
The motor drive driver 20 can use a driver IC (Integrated Circuit) for driving a general DC motor. This driver IC drives the motor 230 of the table unit 21 by a control signal from the intelligent controller unit 1. Further, the motor drive driver 20 acquires the output from the encoder 220 and transmits it to the intelligent controller unit 1.
The table unit 21 is an example of a moving table driven by a DC motor. The table unit 21 includes a table 210 that is a moving table (stage), a motor 230 such as a DC motor that drives the table 210, and an encoder 220 that detects the position of the table 210.

(ICS部10の構成)
次に、図3を参照して、ICS部10の詳細な制御構成について説明する。
ICS部10は、主にPID部110、FF−NN部120(フィードフォワード手段)、FB−FN部130(フィードバック手段)、差分部140、PWM部150、カウンタ部160、出力部170、入力部180、制御信号発生部190、外乱シミュレート部195を含んで構成される。ICS部10は、これらの構成部位を組み合わせて、各処理における各種演算を行う。
(Configuration of ICS unit 10)
Next, a detailed control configuration of the ICS unit 10 will be described with reference to FIG.
The ICS unit 10 mainly includes a PID unit 110, an FF-NN unit 120 (feed forward unit), an FB-FN unit 130 (feedback unit), a difference unit 140, a PWM unit 150, a counter unit 160, an output unit 170, and an input unit. 180, a control signal generator 190, and a disturbance simulator 195. The ICS unit 10 performs various calculations in each process by combining these components.

PID部110は、古典的なPID制御を行うためのモデルのプログラムとデータを含む部位である。
このPID部110は、フィードバック制御におけるPD(比例、微分)補償を行うためのPD補償器部111を備えている。PD補償器部111は、制御対象2の特性を把握するために用いる。
The PID unit 110 is a part including a model program and data for performing classic PID control.
The PID unit 110 includes a PD compensator unit 111 for performing PD (proportional and differential) compensation in feedback control. The PD compensator unit 111 is used to grasp the characteristics of the control target 2.

FF−NN部120は、FF−NN(Feedforward neural network)補償器のモデルのプログラムとデータを含む部位である。FF−NN部120は、制御対象の位相遅れを改善するために、ニューラルネットワークによりサーボ系逆ダイナミックス特性を学習して用いる。
この学習について、FF−NN部120は、オフラインでPD補償器部111のPD制御系の逆ダイナミックス特性をBP(Backpropagation、誤差逆伝播)法により学習する。
FF−NN部120としては、例えば、例えば、図9Aで示すような、3層、3入力、4中間ユニット、1出力のニューラルネットワークを用いることができる。ここで、入力層(Input Layer)には、変位r、速度s(dr/dt)、加速度s2(d2r/dt2)をそれぞれ入力する。また、FF−NN部120のニューラルネットワークの出力値は操作量UNNである。
このFF−NN部120の学習方法の詳細については後述する。
The FF-NN unit 120 includes a program and data of a model of an FF-NN (Feedforward neural network) compensator. The FF-NN unit 120 learns and uses the servo system inverse dynamics characteristics by a neural network in order to improve the phase delay of the controlled object.
For this learning, the FF-NN unit 120 learns the inverse dynamics characteristics of the PD control system of the PD compensator unit 111 offline by the BP (Backpropagation) method.
As the FF-NN unit 120, for example, a three-layer, three-input, four-intermediate unit, one-output neural network as shown in FIG. 9A can be used. Here, displacement r, velocity s (dr / dt), and acceleration s 2 (d 2 r / dt 2 ) are input to the input layer (Input Layer), respectively. Further, the output value of the neural network of the FF-NN unit 120 is the manipulated variable U NN .
Details of the learning method of the FF-NN unit 120 will be described later.

FB−FN部130は、FB−FN(Fuzzy neural network Based Feedforword Nonlinear error、ファジィ・ニューラルネットワークによる非線形偏差補償)補償器のモデルのプログラムとデータを含む部位である。
FB−FN部130は、制御対象2の非線形動特性の補償のために、ファジィ・ニューラルネットワークベースにより、目標信号r(t)と出力信号y(t)との偏差信号e(t)=r(t)−y(t)の二乗が最小となるようにオフラインで学習する。これらの学習後に、制御システムXを始めとする機器に組み込んで制御に使用することができる。このFB−FN部130は、ゲインスケジューリングにより出力の補償を行う。
The FB-FN unit 130 is a part including a program and data of a model of an FB-FN (Fuzzy neural network Based non-linear error, fuzzy neural network) compensator.
The FB-FN unit 130 is a deviation signal e (t) = r between the target signal r (t) and the output signal y (t) based on the fuzzy neural network base for compensating the nonlinear dynamic characteristic of the controlled object 2. Learning is performed offline so that the square of (t) -y (t) is minimized. After these learnings, the control system X can be incorporated into a device and used for control. The FB-FN unit 130 performs output compensation by gain scheduling.

また、FB−FN部130は、ファジィPD部131(ファジィPD手段)とファジィPI部132(ファジィPI手段)を主に備えている。
ファジィPD部131は、ファジィ・ニューラルネットワークを用いて、PD補償を行う部位である。また、ファジィPI部132は、ファジィPI部131と同様のファジィ・ニューラルネットワークを用いて、PI(比例、積分)補償を行う部位である。
ファジィPD部131及びファジィPI部132は、それぞれ、例えば、図12Aで示すような、2入力4層1出力のファジィ・ニューラルネットワークを用いることができる。ファジィPD部131及びファジィPI部132とも、入力層には、それぞれ、位置誤差となる変位誤差信号epと、速度誤差となる変位時間微分の速度誤差信号evを入力信号として入力する。この上で、ファジィPD部131は、PID部110のPD補償の操作量UPDの2乗を評価関数として、BP法で結合加重を修正する。また、ファジィPI部132は、PID部110のPI補償の操作量UPIの2乗を評価関数として、BP法で結合加重を修正する。ファジィPD部131は、それぞれの入力の総和を操作量UFN-PDとして出力する。また、ファジィPI部132は、操作量UFN-PIを出力する。
このファジィPD部131及びファジィPI部132のファジィ・ニューラルネットワークの学習方法の詳細については後述する。
The FB-FN unit 130 mainly includes a fuzzy PD unit 131 (fuzzy PD unit) and a fuzzy PI unit 132 (fuzzy PI unit).
The fuzzy PD unit 131 is a part that performs PD compensation using a fuzzy neural network. The fuzzy PI unit 132 is a part that performs PI (proportional, integral) compensation using a fuzzy neural network similar to the fuzzy PI unit 131.
Each of the fuzzy PD unit 131 and the fuzzy PI unit 132 can use, for example, a two-input four-layer one-output fuzzy neural network as shown in FIG. 12A. Fuzzy PD 131 and the fuzzy PI unit 132 both in the input layer, respectively, and inputs the displacement error signal e p as a position error, a speed error signal e v of the speed error displacement time derivative as an input signal. On this, fuzzy PD section 131, as the evaluation function the square of the operating amount U PD of the PD compensation PID unit 110 corrects the coupling weights with BP method. The fuzzy PI unit 132 corrects the coupling weight by the BP method using the square of the PI compensation operation amount U PI of the PID unit 110 as an evaluation function. The fuzzy PD unit 131 outputs the sum of the respective inputs as an operation amount U FN-PD . Further, the fuzzy PI unit 132 outputs an operation amount U FN-PI .
Details of the learning method of the fuzzy neural network of the fuzzy PD unit 131 and the fuzzy PI unit 132 will be described later.

差分部140は、従来の古典PD補償器であるPD補償器部111の操作信号(指令信号)の変位r、速度s(dr/dt)、加速度s2(d2r/dt2)を算出するプログラムとデータを含む部位である。差分部140は、速度sを算出する速度算出部141と、加速度s2を算出する加速度算出部142を含んでいる。また、差分部140は、変位誤差信号epと、速度誤差信号evを算出することもできる。
PWM部150は、DCモータ駆動用のソフトウェアPWM(Pulse Width Modulation、パルス幅変調)モジュールのプログラムとデータを含む部位である。このPWM部150の出力信号により、モータ駆動ドライバ20に接続されたモータ230をPWM制御することができる。
カウンタ部160は、エンコーダのカウンタのためのモジュールのプログラムとデータを含む部位である。このカウンタ部160により算出された値を用いて、差分部140が変位r、速度s、加速度s2、変位誤差信号epと、速度誤差信号evを求めることができる。
出力部170は、PWM部150からの出力をモータ駆動ドライバ20に伝えるための切り換え等を行う部位である。
入力部180は、モータ駆動ドライバ20を介して入力したエンコーダ220の信号等である制御対象2からの信号を入力し、カウンタ部160に送信する部位である。
制御信号発生部190は、図示しない外部機器からの指示信号を取得し、制御対象2を制御するための制御信号を出力するモジュールのプログラムとデータを含む部位である。制御信号発生部190は、制御のシミュレーション用に、例えばサイン波等の信号を出力することもできる。
外乱シミュレート部195は、外乱となる摩擦やガタ等による信号をシミュレートするための信号発生器等の部位である。外乱シミュレート部195は、所定出力のランダム信号等を出力可能である。
The difference unit 140 calculates the displacement r, speed s (dr / dt), and acceleration s 2 (d 2 r / dt 2 ) of the operation signal (command signal) of the PD compensator unit 111 which is a conventional classical PD compensator. This is the part that contains the program and data to be executed. The difference unit 140 includes a speed calculation unit 141 that calculates the speed s and an acceleration calculation unit 142 that calculates the acceleration s 2 . Further, the difference unit 140 may calculate the displacement error signal e p, the speed error signal e v.
The PWM unit 150 includes a program and data of a software PWM (Pulse Width Modulation) module for driving a DC motor. The motor 230 connected to the motor drive driver 20 can be PWM controlled by the output signal of the PWM unit 150.
The counter unit 160 includes a module program and data for an encoder counter. Using the value calculated by the counter unit 160, difference calculation unit 140 is displaced r, speed s, the acceleration s 2, and the displacement error signal e p, it is possible to obtain the speed error signal e v.
The output unit 170 is a part that performs switching to transmit the output from the PWM unit 150 to the motor drive driver 20.
The input unit 180 is a part that inputs a signal from the control target 2 such as a signal of the encoder 220 input via the motor drive driver 20 and transmits the signal to the counter unit 160.
The control signal generator 190 is a part that includes a program and data of a module that acquires an instruction signal from an external device (not shown) and outputs a control signal for controlling the control target 2. The control signal generator 190 can also output a signal such as a sine wave for control simulation.
The disturbance simulating unit 195 is a part such as a signal generator for simulating a signal caused by disturbance, friction, or the like as a disturbance. The disturbance simulating unit 195 can output a random signal having a predetermined output.

〔制御システムXのICS部10の開発/学習処理〕
次に、図4と図5を参照して、制御システムXにおいて、ICS部10を学習させ、制御対象2の制御に最適化するための開発/学習処理について説明する。
図4は、この制御処理における主な構成部位と信号の流れを示すブロック図である。
本発明の第1の実施の形態に係る制御システムXは、従来の制御システムの問題の解決のため、ファジィ・ニューラルネットワーク(FNN)ベースの制御を行う。ここで、ファジィとは複雑なシステムをヒトのように「暖昧」にとらえることができif−then型のファジィルールにより言語的に記述できるという特徴を持つ。一方、ニューラルネットワークの特徴は学習により入出力の関係を同定できることである。
本発明の第1の実施の形態に係る制御処理においては、制御装置3により、主に、図4のICS部10のFF−NN部120、FB−FN部130、及び差分部140のモデルを作成して開発を行う。この上で、各部位のプログラム等を知能コントローラ部1の制御部100が実行して、制御対象2のフィードバック制御のための学習をさせ、実際の制御システムを構成する。この制御システムは、例えば、ソフトウェアサーボのPWM制御により制御対象2を駆動することができる。
[Development / learning process of ICS unit 10 of control system X]
Next, a development / learning process for learning the ICS unit 10 and optimizing the control object 2 in the control system X will be described with reference to FIGS. 4 and 5.
FIG. 4 is a block diagram showing main components and signal flow in this control process.
The control system X according to the first embodiment of the present invention performs fuzzy neural network (FNN) based control in order to solve the problems of the conventional control system. Here, fuzzy is characterized in that a complicated system can be regarded as “warm” like a human being and can be described linguistically by an if-then fuzzy rule. On the other hand, a feature of neural networks is that the relationship between input and output can be identified by learning.
In the control processing according to the first embodiment of the present invention, the controller 3 mainly uses the models of the FF-NN unit 120, the FB-FN unit 130, and the difference unit 140 of the ICS unit 10 in FIG. Create and develop. Then, the control unit 100 of the intelligent controller unit 1 executes a program for each part and the like to learn for feedback control of the controlled object 2 and configure an actual control system. This control system can drive the controlled object 2 by, for example, PWM control of software servo.

より具体的には、本発明の第1の実施の形態に係るファジィ・ニューラルネットワークを用いたロバスト・ゲインスケジューリング制御系は、ニューラルネットワークによりサーボ系逆ダイナミックス特性を学習しているフィードフォワード補償を行うFF−NN部120、及びファジィ・ニューラルネットワークによるゲインスケジューリングを行うFB−FN部130の2つの補償要素から構成される。この制御系は、目標値応答特性と閉ループ特性が独立設計できる2自由度制御系とし、目標入力に対する追従および、外乱の影響の除去を実現することができる。モデル化誤差及び断続する外乱等による定常偏差の減少、メカトロ位置改善のために、FF−NN部120ではオフラインで従来の固定PD制御系の逆ダイナミックス特性を学習する。つぎに、非線形動特性の補償のために、FB−FN部130は、目標信号r(t)と出力信号y(t)との偏差信号e(t)=r(t)−y(t)の二乗が最小となるようにオフラインやオンラインで学習する。これらの学習後に提案する制御システムが構成される。
以下で、図5のフローチャートを参照して、この開発/学習処理の詳細について説明する。
More specifically, the robust gain scheduling control system using the fuzzy neural network according to the first embodiment of the present invention performs the feedforward compensation learning the servo system inverse dynamics characteristics by the neural network. The FF-NN unit 120 is configured by two compensation elements, and the FB-FN unit 130 performs gain scheduling by a fuzzy neural network. This control system is a two-degree-of-freedom control system in which the target value response characteristic and the closed loop characteristic can be independently designed, and can follow the target input and remove the influence of disturbance. The FF-NN unit 120 learns the inverse dynamics characteristics of the conventional fixed PD control system off-line in order to reduce the steady-state deviation due to modeling errors and intermittent disturbances and improve the mechatronic position. Next, in order to compensate for the nonlinear dynamic characteristic, the FB-FN unit 130 has a deviation signal e (t) = r (t) −y (t) between the target signal r (t) and the output signal y (t). Study offline or online to minimize the square of. The proposed control system is configured after learning.
Details of the development / learning process will be described below with reference to the flowchart of FIG.

(ステップS101)
まず、制御装置3により、ICS部10の各部に対応するモデルをMATLAB/Simulink、Model Def、VCDesigner等のソフトウェアを用いて作成する。
制御装置3は、この作成したモデルをコンパイル等してプログラムのバイナリファイルに変換し、ICS部10に転送する。このバイナリファイルは、実際にバイナリファイルを実行する定義ファイルや各種データと共にICS部10の補助記憶手段に記憶される。
ICS部10に記憶されたプログラム等は、知能コントローラ部1の制御部11が単独で実行して、下記の学習処理等を行うことができる。
(Step S101)
First, a model corresponding to each part of the ICS unit 10 is created by the control device 3 using software such as MATLAB / Simulink, Model Def, and VCDdesigner.
The control device 3 compiles the created model into a program binary file and transfers it to the ICS unit 10. This binary file is stored in the auxiliary storage means of the ICS unit 10 together with a definition file for actually executing the binary file and various data.
The program or the like stored in the ICS unit 10 can be executed independently by the control unit 11 of the intelligent controller unit 1 to perform the following learning process or the like.

(ステップS102)
次に、知能コントローラ部1の制御部11は、FF−NN部120を用いて、FF−NN逆ダイナミックス処理を行う。
この処理においては、制御対象2の非線形特性に対する逆ダイナミックスを獲得し、システム特性を線形化するための学習を行う。
ここで、制御対象の位相遅れを改善するために、FF−NN部120は、オフラインでPD補償器部111(図3)のPD制御系の逆ダイナミックス特性をBP法により学習する。
FF−NN部120による制御では、位相の遅れに対しての改善が期待できる。
(Step S102)
Next, the control unit 11 of the intelligent controller unit 1 uses the FF-NN unit 120 to perform FF-NN inverse dynamics processing.
In this process, inverse dynamics for the nonlinear characteristic of the controlled object 2 is acquired, and learning for linearizing the system characteristic is performed.
Here, in order to improve the phase delay of the controlled object, the FF-NN unit 120 learns the inverse dynamics characteristics of the PD control system of the PD compensator unit 111 (FIG. 3) offline by the BP method.
The control by the FF-NN unit 120 can be expected to improve the phase delay.

(ステップS103)
次に、知能コントローラ部1の制御部11は、FB−FN部130を用いてFB−FN学習処理を行う。
ここで、上述のFF−NN部120の制御だけでは、制御対象2のモータ230の軌道等の目標になる信号(目標軌道信号)に対し、非線形誤差が発生する。これは入力補償としてNNが制御対象の非線形特性の一部のみの補償に限定されるためである。
このため、本ステップにおいて、FB−FN部130を用いた非線形動特性の補償のための学習を行う。
FB−FN部130は、上述したように、差分部140から取得した目標信号r(t)と出力信号y(t)との偏差信号e(t)=r(t)−y(t)の二乗が最小となるように学習する。この学習は、制御中であるオンライン状態又は制御後のデータを用いたオフライン状態で実行可能である。
これらの学習後に制御システムXが構成される。
(Step S103)
Next, the control unit 11 of the intelligent controller unit 1 performs an FB-FN learning process using the FB-FN unit 130.
Here, only by the control of the FF-NN unit 120 described above, a nonlinear error occurs with respect to a target signal (target trajectory signal) such as the trajectory of the motor 230 of the control target 2. This is because NN is limited to compensation for only a part of the nonlinear characteristic to be controlled as input compensation.
For this reason, in this step, learning for compensation of nonlinear dynamic characteristics using the FB-FN unit 130 is performed.
As described above, the FB-FN unit 130 calculates the deviation signal e (t) = r (t) −y (t) between the target signal r (t) acquired from the difference unit 140 and the output signal y (t). Learn to minimize the square. This learning can be executed in the online state during the control or in the offline state using the data after the control.
After these learnings, the control system X is configured.

このように、FF−NN部120とFB−FN部130とを用いて学習することで、制御における追従性の向上及び誤差低減を達成することができる。
よって、様々な制御系に対応する汎化能力をもたせることができ、知能化制御を実現することができる。
In this way, by using the FF-NN unit 120 and the FB-FN unit 130 for learning, it is possible to achieve improvement in tracking performance and error reduction in control.
Therefore, generalization ability corresponding to various control systems can be provided, and intelligent control can be realized.

(ステップS104)
また、知能コントローラ部1の制御部11は、PWM部150を用いて、ソフトウェアサーボ制御処理を行うことができる。
具体的には、上述の各学習時、及び学習後に構成された制御システムXにおいて、知能コントローラ部1の制御部11は、ソフトウェアサーボの処理を行い、実際の制御対象2を制御することが可能である。
以上により、開発/学習処理を終了する。
(Step S104)
Further, the control unit 11 of the intelligent controller unit 1 can perform software servo control processing using the PWM unit 150.
Specifically, in the control system X configured at the time of each learning described above and after learning, the control unit 11 of the intelligent controller unit 1 can perform software servo processing and control the actual control target 2. It is.
Thus, the development / learning process ends.

〈モデル作成処理の詳細〉
ここで、図6のフローチャートを参照して、モデルの作成と知能コントローラ部1のICS部10への転送をするモデル作成処理の詳細について説明する。
<Details of model creation process>
Here, with reference to the flowchart of FIG. 6, the details of the model creation processing for creating a model and transferring it to the ICS unit 10 of the intelligent controller unit 1 will be described.

(ステップS111)
まず、制御装置3は、ユーザの指示を検知し、モデル作成処理を行う。具体的には、MATLAB/Simulinkソフトウェアにより制御システムブロック図を作成する。
より具体的に説明すると、MATLAB/Simulinkは、制御系設計支援ソフトウェアである。ここで、MATLABは、MATrix LABoratoryを略したものであり、行列・ベクトル演算に基づく数値解析ソフトウェアである。MATLABは、インタプリタ(対話)形式の高級フログラミング言語であり、BASIC言語に類似したMATLAB言語で記載された「Mファイル」が用いられる。MATLABは、制御ツールボックス、通信ツールボックスを始めとして、豊富なツールボックスを備えておりユーザが解析に利用できる。また、ブロック線図入力により制御系のシミュレータを構築できるSimulinkが準備されている。MATLAB/Simulinkにより設計されたコントローラを組み込みCPUにより実装するためのRealTime Workshopも製品化されているため、本実施形態で好適に利用できる。
Simulinkはアナログ計算機の機能をデジタル環境で実行させるソフトウェアであり、微分方程式の解析に便利なツールである。
(Step S111)
First, the control device 3 detects a user instruction and performs model creation processing. Specifically, a control system block diagram is created by MATLAB / Simulink software.
More specifically, MATLAB / Simulink is control system design support software. Here, MATLAB is an abbreviation of MATrix LAB Laboratory, and is numerical analysis software based on matrix / vector operations. MATLAB is an interpreter (interactive) format high-level programming language, and uses an “M file” described in the MATLAB language similar to the BASIC language. MATLAB has abundant toolboxes including a control toolbox and a communication toolbox, and can be used by users for analysis. Also, Simulink that can construct a control system simulator by inputting a block diagram is prepared. A RealTime Workshop for mounting a controller designed by MATLAB / Simulink using an embedded CPU is also commercialized, and can be suitably used in this embodiment.
Simulink is software that allows analog computer functions to be executed in a digital environment, and is a convenient tool for analyzing differential equations.

また、知能制御用ソフトウェアとして、Neural Network Toolbox、Fuzzy Logic Toolboxを適宜MATLAB/SIMULINKと合わせて用いることができる。
Neural Network Toolboxは、非線形システムに対し、パターン認識や同定、制御等で利用できるようなニューラルネットワークシステムの設計やシミュレーションに必要なMファイル群である。Neural Network Toolboxは、初期化、伝達関数、教師付ネットワーク/学習ルール、パーセプトロン、バックプロパゲーション(BP)、Levenberg−Marquardtバックプロパゲーション、Radial basisネットワーク、リカレントネットワーク(Elman,Hopfield)等に対応している。
Fuzzy Logic Toolboxは、ファジィ推論システムの作成、編集ができるプログラムである。Fuzzy Logic Toolboxは、ファジィ推論システムをグラフイカルツールまたはコマンド関数を使って簡単に作ることができる。SIMULINKを併用すれば、ブロック線図シミュレーション環境の中でファジィシステムをテストすることができる。また、Fuzzy Logic Toolboxは、Real−Time Workshopを使用できる環境ならば、SIMULINKの環境からリアルタイムまたはノンリアルタイムコードのいずれかを生成できる。
In addition, as a software for intelligent control, a neural network toolbox and a fuzzy logic toolbox can be used in combination with MATLAB / SIMULLINK as appropriate.
The neural network toolbox is a group of M files necessary for designing and simulating a neural network system that can be used for pattern recognition, identification, control, and the like for a nonlinear system. Neural Network Toolbox corresponds to initialization, transfer function, supervised network / learning rules, perceptron, backpropagation (BP), Leavenberg-Marquardt backpropagation, Radial basis network, recurrent network (Elman, Hopfield), etc. Yes.
Fuzzy Logic Toolbox is a program that can create and edit a fuzzy inference system. Fuzzy Logic Toolbox makes it easy to create a fuzzy inference system using graphical tools or command functions. By using SIMULLINK together, it is possible to test a fuzzy system in a block diagram simulation environment. In addition, the Fuzzy Logic Toolbox can generate either real-time or non-real-time code from the SIMULLINK environment as long as the Real-Time Workshop can be used.

作成されたモデルは、例えば、後述する実施例1で示す図19A〜図20Cのようなものとなる。   The created model is, for example, as shown in FIGS. 19A to 20C shown in Example 1 described later.

(ステップS112)
次に、制御装置3は、ユーザの指示を検知し、Cコード作成/コンパイル処理を行う。
この処理においては、MATLABのReal−Time Workshopによって作成したモデルから、例えばC言語で記載されたCコードやオブジェクトコードや実行コードを自動生成させる。
(Step S112)
Next, the control device 3 detects a user instruction and performs C code creation / compilation processing.
In this processing, for example, C code, object code, and execution code written in C language are automatically generated from a model created by Real-Time Workshop of MATLAB.

(ステップS113)
次に、制御装置3は、ユーザの指示を検知し、モデル定義/ビルド処理を行う。
ここでは、ModelDefというソフトを使用し、モデルのパラメータや信号の定義を行う。
このモデル定義を行うことで、MATLAB/Simulinkで作成したモデル上のパラメータや信号を実行時に使用可能にする定義ファイルを作成することができる。
(Step S113)
Next, the control device 3 detects a user instruction and performs model definition / build processing.
Here, model def is used to define model parameters and signals.
By performing this model definition, it is possible to create a definition file that makes it possible to use parameters and signals on the model created by MATLAB / Simulink at the time of execution.

(ステップS114)
次に、制御装置3は、ユーザの指示を検知し、VC(Virtual Console)画面作成処理を行う。
この処理においては、VCDesignerソフトウェアを用いて画面作成を行う。具体的には、制御装置3のPCの表示装置と、知能コントローラ部1の表示部に表示されるユーザインタフェイスとなる「VC画面」を作成できる。
また、VCDesignerでは、作成したモデルを実行するVC画面の設計ができる。
これにより、作成したモデルを実行するときに、ユーザが扱いやすいような画面の設計を行うことができる。
(Step S114)
Next, the control device 3 detects a user instruction and performs a VC (Virtual Console) screen creation process.
In this process, screen creation is performed using the VCDdesigner software. Specifically, a “VC screen” serving as a user interface displayed on the PC display device of the control device 3 and the display unit of the intelligent controller unit 1 can be created.
In addition, VCDesigner can design a VC screen for executing the created model.
This makes it possible to design a screen that is easy for the user to handle when the created model is executed.

(ステップS115)
次に、制御装置3は、ユーザの指示を検知し、実行コード転送処理を行う。
具体的に説明すると、制御装置3は、VCDesignerにより、プログラムを実行できる。ユーザは、制御装置3のエミュレータ等で実行テストを行った後で、実行コードのバイナリファイルや定義ファイルや各種データ等(以下、プログラム等という。)を転送する。
なお、制御装置3は、VCDesigner起勤時に制御装置3と知能コントローラ部1とが接続状態になっていれば、生成された実行コード等を自動的に転送することもできる。
(Step S115)
Next, the control device 3 detects a user instruction and performs an execution code transfer process.
More specifically, the control device 3 can execute a program by the VCDdesigner. After performing an execution test using an emulator or the like of the control device 3, the user transfers an executable code binary file, definition file, various data, and the like (hereinafter referred to as a program or the like).
Note that the control device 3 can also automatically transfer the generated execution code or the like if the control device 3 and the intelligent controller unit 1 are in a connected state when the VCDdesigner starts working.

(ステップS116)
次に、知能コントローラ部1は、実行コード取得/実行処理を行う。
ここでは、知能コントローラ部1の制御部11が、上述の制御装置3から取得したプログラム等をICS部10の補助記憶手段に記憶する。
この実行コードを取得後に、実行コード等を知能コントローラ部1側単体で実行が可能となる。
(Step S116)
Next, the intelligent controller unit 1 performs an execution code acquisition / execution process.
Here, the control part 11 of the intelligent controller part 1 memorize | stores the program etc. which were acquired from the above-mentioned control apparatus 3 in the auxiliary storage means of the ICS part 10. FIG.
After acquiring the execution code, the execution code or the like can be executed by the intelligent controller unit 1 alone.

作成したプログラム等を実行するときも、VCDesignerを用いることができる。
具体的には、ユーザは、制御装置3と知能コントローラ部1が接続状態で、画面作成が終わったら、VCDesignerの実行ボタンを押下する。この実行ボタンを押下により、設計した画面が制御装置3と知能コントローラ部1の表示部上に描画され、実行可能となる。
なお、この実行においては、ステップ実行や、制御対象2からのデータの取得等を行うこともできる。知能コントローラ部1は、逐次、制御装置3に取得したデータ等を送信することもできる。また、所定時間後に、取得したデータを送信することもできる。
The VCDdesigner can also be used when executing the created program or the like.
Specifically, when the control device 3 and the intelligent controller unit 1 are in a connected state and the screen creation is completed, the user presses the execution button of the VCDdesigner. When the execution button is pressed, the designed screen is drawn on the display unit of the control device 3 and the intelligent controller unit 1 and can be executed.
In this execution, step execution, acquisition of data from the control target 2, and the like can also be performed. The intelligent controller unit 1 can also sequentially transmit acquired data and the like to the control device 3. The acquired data can also be transmitted after a predetermined time.

(ステップS117)
次に、制御装置3は、制御結果取得分析処理を行う。
具体的には、制御装置3は、取得したデータやモデルの状態等を、MATLAB/Simulink、VCDesigner、又は解析用のソフトウェアで確認することができる。これにより、モデルの動作を確認し、下記で説明する学習処理を行うことが可能になる。
なお、VCDesignerを用いて実行している際には、ユーザは、知能コントローラ部1の画面のボタンでは指示ができず、制御装置3のユーザインタフェイスの画面で指示を行う。制御装置3で実行テストを行ったあとで、知能コントローラ部1単体で実行が可能となる。
以上により、モデル作成処理を終了する。
(Step S117)
Next, the control device 3 performs control result acquisition analysis processing.
Specifically, the control device 3 can check the acquired data, the state of the model, and the like with MATLAB / Simulink, VCDdesigner, or analysis software. As a result, it is possible to confirm the operation of the model and perform the learning process described below.
Note that when executing using the VCDdesigner, the user cannot give an instruction using the button on the screen of the intelligent controller unit 1, but gives an instruction on the user interface screen of the control device 3. After the execution test is performed by the control device 3, the intelligent controller unit 1 can be executed alone.
This completes the model creation process.

〈FF−NN逆ダイナミックス処理の詳細〉
次に、図7〜図9Bを参照して、FF−NN逆ダイナミックス処理の詳細について説明する。この処理では、古典的なPD制御の結果の信号を用いて、フィードフォワードによる、FF−NN部120の学習を行う。
図7は、このFF−NN逆ダイナミックス処理に用いるICS部10の各部と制御対象との関係を示すブロック図である。このように、制御対象の動特性を改善するため、ニューラルネットワークであるFF−NN部120を用いる。FF−NN部120のニューラルネットワークは、サーボ系である制御対象2の逆ダイナミックスをオンライン又はオフラインで学習し、それをフィードフォワード補償器として利用する。
以下で、図8のフローチャートを基に、このFF−NN逆ダイナミックス処理の詳細をステップ毎に説明する。
<Details of FF-NN reverse dynamics processing>
Next, details of the FF-NN inverse dynamics processing will be described with reference to FIGS. In this processing, learning of the FF-NN unit 120 is performed by feedforward using a signal resulting from classical PD control.
FIG. 7 is a block diagram showing a relationship between each part of the ICS unit 10 used for the FF-NN inverse dynamics process and a control target. Thus, in order to improve the dynamic characteristics of the controlled object, the FF-NN unit 120 that is a neural network is used. The neural network of the FF-NN unit 120 learns the inverse dynamics of the controlled object 2 that is a servo system online or offline, and uses it as a feedforward compensator.
The details of this FF-NN inverse dynamics process will be described step by step based on the flowchart of FIG.

(ステップS201)
まず、知能コントローラ部1の制御部11は、ICS部10のPD補償器部111等を用いて、FF−NN用意処理を行う。
ここでは、図7のブロック図に示したように、従来の古典PD補償器であるPD補償器部111により、制御対象2の特性を把握する試験を行い、指令信号の変位(y)、速度(dy/dx)、加速度(d2y/dt2)の各信号を取得する。この取得においては、差分部140の速度算出部141により速度を、加速度算出部142により加速度を算出する。また、この試験は、摩擦、ガタ等の非線形特性が、この動作により含まれることが重要点である。
また、このPD制御の際のPDゲインは制御対象2が移動可能な小さい値とする。
なお、速度、加速度信号は、変位信号収得後、オフラインにて差分部140が数値演算処理により算出してもよい。
(Step S201)
First, the control unit 11 of the intelligent controller unit 1 performs the FF-NN preparation process using the PD compensator unit 111 of the ICS unit 10 or the like.
Here, as shown in the block diagram of FIG. 7, the PD compensator unit 111, which is a conventional classical PD compensator, performs a test for grasping the characteristics of the controlled object 2, and the command signal displacement (y), speed (Dy / dx) and acceleration (d 2 y / dt 2 ) signals are acquired. In this acquisition, the speed is calculated by the speed calculation unit 141 of the difference unit 140, and the acceleration is calculated by the acceleration calculation unit 142. In addition, it is important for this test that non-linear characteristics such as friction and play are included by this operation.
In addition, the PD gain in the PD control is set to a small value at which the control target 2 can move.
The speed and acceleration signals may be calculated by the numerical calculation process by the difference unit 140 offline after obtaining the displacement signal.

(ステップS202)
次に、制御部11は、FF−NN部120を用いてFF−NN学習処理を行う。
ここで、まず、位置と速度フィードバック則を適用したプラントの動特性は非線形特性を2次系として近似し線形化すると、以下の式(1)にて表現できる。
(Step S202)
Next, the control unit 11 performs an FF-NN learning process using the FF-NN unit 120.
Here, first, the dynamic characteristics of the plant to which the position and velocity feedback law is applied can be expressed by the following equation (1) when the nonlinear characteristic is approximated as a quadratic system and linearized.

Figure 2014006566
Figure 2014006566

ここで、u(t)は入力、y(t)は位置、kp,kvは、それぞれ、位置と速度のフィードバックゲインである。ただしkvについては、サーボモータの逆起電力定数keが含まれているものとする。サーボ系の逆ダイナミックスは、r(t)を目標軌道とすると、上述の式(1)をy(t)=r(t)として逆に解くことにより、以下の式(2)となる。 Here, u (t) is an input, y (t) is a position, and k p and k v are position and velocity feedback gains, respectively. However for the k v, it is assumed to include the counter electromotive force constant k e of the servomotor. Assuming that r (t) is a target trajectory, the inverse dynamics of the servo system is expressed by the following equation (2) by solving the above equation (1) as y (t) = r (t).

Figure 2014006566
Figure 2014006566

つまり、変位r(k)、速度dr/dt(k)、加速度d2r/dt2(k)からu(t)の関係をFF−NN部120のニューラルネットワークに学習させる。したがって、ネットワークへの入力I(k)を[3*1]の列ベクトルとし、下記の式で表せる:

I(k)=[r(k),kp/kv・dr/dt(k),J/kp・d2r/dt2(k)]T

各ユニットの入出力関係は線形関数f(x)=xを用いる。また、ネットワークの出力はプラントの入力の推定値φkとなる。
中間層の出力をψi(k)とすると、ニューラルネットワークの出力は、次の式(3)のように表せる。
That is, the neural network of the FF-NN unit 120 learns the relationship of the displacement r (k), the speed dr / dt (k), and the acceleration d 2 r / dt 2 (k) to u (t). Therefore, the input I (k) to the network is a column vector of [3 * 1] and can be expressed by the following formula:

I (k) = [r ( k), k p / k v · dr / dt (k), J / k p · d 2 r / dt 2 (k)] T

The linear function f (x) = x is used for the input / output relationship of each unit. The output of the network is the estimated value φ k of the plant input.
If the output of the intermediate layer is ψ i (k), the output of the neural network can be expressed as the following equation (3).

Figure 2014006566
Figure 2014006566

ただし、nは中間層のユニット数、mは入力層のユニット数である。
ニューラルネットワークの学習は、評価関数として、以下の式(4)を定義し、バックプロパゲーション(BP)法により行う。
Here, n is the number of units in the intermediate layer, and m is the number of units in the input layer.
Learning of the neural network is performed by the back propagation (BP) method by defining the following expression (4) as an evaluation function.

Figure 2014006566
Figure 2014006566

すなわち、式(4)は、FF−NN部120のニューラルネットワークから計算されるプラント入力の推定値から、制御対象2であるプラントからの信号の入力を引いて2乗して1/2で割ることで求める。   That is, the expression (4) is obtained by subtracting the input of the signal from the plant that is the control target 2 from the estimated value of the plant input calculated from the neural network of the FF-NN unit 120, and squared to divide by 1/2. Ask for it.

〔FF−NN部120のニューラルネットワークの構成例〕
次に、図9Aを参照して、FF−NN補償器であるFF−NN部120のニューラルネットワークの構成例について説明する。FF−NN部120では、3層3入力4中間ユニット1出力のニューラルネットワークを用いた。
入力信号は変位r、速度dr/dt、加速度d2r/dt2の信号である。これにより、プラントの動特性を2次系として近似し、線形化する。
具体的には、FF−NN部120入力として、NN学習処理で収得した変位、速度、加速度のデータを入力することができる。データは所定量、例えば1秒間に100程度とする。この場合、サンプリング周波数は10msecである。
[Configuration Example of Neural Network of FF-NN Unit 120]
Next, a configuration example of a neural network of the FF-NN unit 120 which is an FF-NN compensator will be described with reference to FIG. 9A. In the FF-NN unit 120, a neural network having three layers, three inputs, four intermediate units and one output is used.
The input signal is a signal of displacement r, speed dr / dt, and acceleration d 2 r / dt 2 . Thereby, the dynamic characteristic of the plant is approximated as a secondary system and linearized.
Specifically, the displacement, speed, and acceleration data obtained by the NN learning process can be input as the FF-NN unit 120 input. The data is a predetermined amount, for example, about 100 per second. In this case, the sampling frequency is 10 msec.

FF−NN部120のニューラルネットワークの学習に必要なソフトウェアとしては、以下に示すMATLAB用のニューラルネットワーク生成コマンドの例を入力して用いることができる。   As software necessary for learning the neural network of the FF-NN unit 120, an example of a neural network generation command for MATLAB shown below can be input and used.

P=[変位;
速度;
加速度];
T=[教師信号];
net=newff([-5 5 ; -5 5 ;-5 5],[3 1],{'tansig','purelin'},'trainlm');
y=sim(net,P);
plot(P,T,P,y,'o');
net.trainParam.show=10;
net.trainParam.epochs=20000;
net.trainParam.goal=(0.0037^2);
net=train(net,P,T);
y=sim(net,P);
plot(P,T,P,y,'o');
gensim(net,-1);

return
P = [Displacement;
speed;
acceleration];
T = [teacher signal];
net = newff ([-5 5; -5 5; -5 5], [3 1], {'tansig', 'purelin'}, 'trainlm');
y = sim (net, P);
plot (P, T, P, y, 'o');
net.trainParam.show = 10;
net.trainParam.epochs = 20000;
net.trainParam.goal = (0.0037 ^ 2);
net = train (net, P, T);
y = sim (net, P);
plot (P, T, P, y, 'o');
gensim (net, -1);

return

ここで、P=変位、速度、加速度、T=教師信号である。
ただし、教師信号は操作信号yとし、特性把握に必要な時間(3周期程度)とする。
Here, P = displacement, velocity, acceleration, and T = teacher signal.
However, the teacher signal is the operation signal y, and the time required for grasping the characteristics (about three cycles).

図9Bを参照して説明すると、MATLABによりニューラルネットワークの学習が終了すると、ニューラルネットワーク(NN)のブロックが生成される。
このNNのブロックを制御ブロックとして、FF−NN部120に用いる。
以上により、FF−NN逆ダイナミックス処理を終了する。
Referring to FIG. 9B, when learning of the neural network is completed by MATLAB, a neural network (NN) block is generated.
This NN block is used as a control block in the FF-NN unit 120.
Thus, the FF-NN inverse dynamics process is completed.

〈FB−FN学習処理の詳細〉
次に、図10〜図17を参照して、FB−FN学習処理の詳細について説明する。
図10は、FB−FN学習処理に対応するICS部10の各部の関係を示すブロック図である。
具体的には、FB−FN部130は、ファジィ・ニューラルネットワークにより、ファジィPDとファジィPIの制御を行う。
ファジィ・ニューラルネットワークは、ニューロの学習能力とファジィの推論能力とを相補的に組み合わせて、それぞれの長所を生かし短所を補うよう融合したものである。
本実施形態のFB−FN部130は、非線形摩擦により変化および速度の制御誤差が生じた場合、制御ゲインを適応調整するファジィ・ニューラルネットワークによる非線形偏差補償特性により、制御誤差を減少させる特徴がある。
ここで、制御対象2の実際のモデルには、製品ごとに慣性モーメント等の値がバラツキ、2次モデルで表現できない非線形要素が存在する。すなわち、制御対象2の制御においては、目標軌道信号に対して制御対象の非線形摩擦誤差が発生する。
そこで、モデル化誤差、摩擦、未知な外乱等により生じる偏差信号を適応的に減少させる作用が働くように、ファジィPIDコントローラであるFB−FN部130によりフィードバック補償を行う。このため、FB−FN補償器であるFB−FN部130を、取得したデータを用いて学習させ、非線形誤差信号を減少させる。
このようにFB−FN部130を学習させることで、軌道誤差やモデル誤差による偏差を、ファジィPIDによるフィードバックによって押さえられる。これにより、知能化とロバスト性を兼ね備える、インテリジェント・ロバスト制御システム(IRCS)を実現できる。
以下で、図11のフローチャートを参照して、このFB−FN学習処理の各ステップの詳細について説明する。
<Details of FB-FN learning process>
Next, the details of the FB-FN learning process will be described with reference to FIGS.
FIG. 10 is a block diagram illustrating a relationship among the units of the ICS unit 10 corresponding to the FB-FN learning process.
Specifically, the FB-FN unit 130 controls the fuzzy PD and the fuzzy PI using a fuzzy neural network.
A fuzzy neural network is a combination of neurological learning ability and fuzzy reasoning ability that are complementarily combined to make use of their strengths to compensate for their shortcomings.
The FB-FN unit 130 according to the present embodiment has a feature of reducing a control error by a non-linear deviation compensation characteristic by a fuzzy neural network that adaptively adjusts a control gain when a change and a speed control error occur due to non-linear friction. .
Here, the actual model of the controlled object 2 includes non-linear elements that vary in value of the moment of inertia or the like for each product and cannot be expressed by a quadratic model. That is, in the control of the control target 2, a nonlinear friction error of the control target occurs with respect to the target trajectory signal.
Therefore, feedback compensation is performed by the FB-FN unit 130 which is a fuzzy PID controller so that an action of adaptively reducing a deviation signal caused by modeling error, friction, unknown disturbance, and the like works. For this reason, the FB-FN unit 130, which is an FB-FN compensator, is trained using the acquired data, and the nonlinear error signal is reduced.
By learning the FB-FN unit 130 in this way, deviations due to trajectory errors and model errors can be suppressed by feedback using fuzzy PID. This makes it possible to realize an intelligent robust control system (IRCS) having both intelligence and robustness.
Hereinafter, the details of each step of the FB-FN learning process will be described with reference to the flowchart of FIG.

(ステップS301)
まず、知能コントローラ部1の制御部11は、ICS部10のFB−FN部130のファジィ・ニューラルネットワーク設定処理を行う。
ここで、図12A〜図12Dを参照して、ファジィPD部131とファジィPI部132に共通に使われる、本発明の第1の実施の形態に係るファジィ・ニューラルネットワーク(FNN)の構成について説明する。
ファジィ・ニューラルネットワークは、BP法による学習を可能としながら、階層型ニューラルネットワークの結合を工夫してファジィ推論ルールとの対応関係を持たせ、ニューラルネットワークの獲得した入出力関係に関するパターンの知識をファジィルールというシンボルの知識として把握することができる。また、ファジィ推論システムにおける問題点であるファジィルールの同定、メンバーシップ関数の調整の困難さを、ニューラルネットワークの学習機能により改善できる。
(Step S301)
First, the control unit 11 of the intelligent controller unit 1 performs fuzzy neural network setting processing of the FB-FN unit 130 of the ICS unit 10.
Here, with reference to FIGS. 12A to 12D, the configuration of the fuzzy neural network (FNN) according to the first embodiment of the present invention, which is used in common for the fuzzy PD unit 131 and the fuzzy PI unit 132, will be described. To do.
The fuzzy neural network enables learning by the BP method, and devise the combination of the hierarchical neural network to have a correspondence with the fuzzy inference rules, and the fuzzy neural network acquires the knowledge about the pattern related to the input / output relationship acquired by the neural network. It can be grasped as knowledge of the symbol called rule. Further, the difficulty of identifying fuzzy rules and adjusting the membership function, which are problems in the fuzzy inference system, can be improved by the learning function of the neural network.

まず、Fuzzy Logic Toolboxによるファジィ・ニューラルネットワークの作成方法について説明する。
まずは、Fuzzy Logic Toolboxのメニューを呼び出す。メニューには:
1) メンバーシップ関数エディタ
2) FISエディタ
3) ルールエディタ
4) ルールビューワ
5) サーフェスビューワ
が存在する。
ここで、本実施形態におけるファジィ・ニューラルネットワークを用いたファジィ推論システムにおいては、まずはFISエディタを選択してモデルを作成する。
その際に、
a) tipperと入力するとウィンドウが表示される。
b) メンバーシップ関数エディタを使用し、メンバーシップ関数の名前、位置、型を設定する。
・Range [0 10]
また、ガウス曲線を設定する。
Gauss2mf
2つのガウス曲線の組み合わせによるメンバーシップ関数の作成を行う。
たとえば、以下の式(5)を用いることができる。
First, a method for creating a fuzzy neural network using the Fuzzy Logic Toolbox will be described.
First, the menu of the Fuzzy Logic Toolbox is called. On the menu:
1) Membership function editor 2) FIS editor 3) Rule editor 4) Rule viewer 5) Surface viewer
Here, in the fuzzy inference system using the fuzzy neural network in this embodiment, a model is first created by selecting the FIS editor.
At that time,
a) If you type tipper, a window is displayed.
b) Use the membership function editor to set the membership function name, position, and type.
・ Range [0 10]
A Gaussian curve is set.
Gauss2mf
Create a membership function by combining two Gaussian curves.
For example, the following formula (5) can be used.

Figure 2014006566
Figure 2014006566

このようにして、本実施形態に係るファジィ推論システムが作成できる。   In this way, the fuzzy inference system according to this embodiment can be created.

〔ファジィ・ニューラルネットワークの構造、構成例〕
図12Aは、本発明の第1の実施の形態に係るファジィ・ニューラルネットワークの構造を示す。
この図12Aの例では、(A)層の入力層は、変位誤差信号epと変位時間微分の速度誤差信号evを入力信号としており、この入力信号を次層のユニットに分配している。
次に、(B)層の中間層では、メンバーシップ関数を内部関数に持ちガウス関数を用いる。各ユニットの出力はメンバーシップ関数の値であり、前件部と呼ぶ。
(C)層はファジィルールで推論する後件部であり、(B)層で入力空間を9分割し、分割された空間の適合度をファジィルールの前件部適合度の式により計算し、(C)層の全ユニットで得られる前件部適合度の総和で規格した値μiを出力する。
(D)層は入力の総和を出力する線形ユニットである。
以上により、ファジィルール的構造を持つニューラルネットが構成でき、これをファジィ・ニューラルネットワークと称する。このファジィ・ニューラルネットワークはBP法による学習を可能としながら、階層型ニューラルネットワークの結合を工夫して、ファジィ推論ルールとの対応関係を持たせることができる。
[Structure and configuration example of fuzzy neural network]
FIG. 12A shows the structure of a fuzzy neural network according to the first embodiment of the present invention.
In the example of FIG. 12A, the input layer of the layer (A), the displacement error signal e p and the displacement time derivative of the speed error signal e v is the input signal, and distributes the input signal to the unit follows layer .
Next, the intermediate layer of the (B) layer has a membership function as an internal function and uses a Gaussian function. The output of each unit is the value of the membership function and is called the antecedent part.
(C) layer is a consequent part inferring with fuzzy rules, (B) the input space is divided into nine by layer, and the fitness of the divided space is calculated by the formula of the antecedent part of fuzzy rules, (C) A value μ i that is standardized by the sum of the antecedent part conformity obtained in all units of the layer is output.
The (D) layer is a linear unit that outputs the sum of inputs.
As described above, a neural network having a fuzzy rule structure can be constructed, which is called a fuzzy neural network. While this fuzzy neural network enables learning by the BP method, it is possible to have a correspondence relationship with fuzzy inference rules by devising the combination of hierarchical neural networks.

図12Bは、本発明の第1の実施の形態に係るファジィPD部131とファジィPI部132の全体構成を示す概念図である。
このように、ファジィPD部131とファジィPI部132とをパラレルに組み合わせることにより、全体としてファジィPIDを実現することができる。
FIG. 12B is a conceptual diagram showing the overall configuration of the fuzzy PD unit 131 and the fuzzy PI unit 132 according to the first embodiment of the present invention.
In this way, by combining the fuzzy PD unit 131 and the fuzzy PI unit 132 in parallel, a fuzzy PID can be realized as a whole.

(ステップS302)
次に、制御部11は、ICS部10のFB−FN部130のFNN学習処理を行う。
図13は、FB−FN部130のファジィPD部131とファジィPI部132の学習過程を表わすブロック図である。
ファジィ・ニューラルネットワークの学習は、上述のPD補償器部111によるPD制御の特性把握試験のデータを基にして、変位誤差、速度誤差を入力とする。この上で、PIDの操作量を求めて、これを教師信号として、BP法と最小二乗法を組み合わせた方法でファジィPD部131とファジィPI部132の学習を行う。
FB−FN部130のニューラルネットワークでは、フィードバックゲインの学習を位置誤差の2乗:

p =1/2ep 2

が最小となるように行う。また、kij≧0(j=I,p,v)の条件を常に満たすように、kij=Wijとする。
より具体的に説明すると、学習に利用する入力データは、サーボ系がスムーズに動作するようにゲイン調整した線形PD制御および線形PI制御の位置誤差epとその変化分であるevとし、教師データは線形PD制御及び線形PI制御の出力信号Uとする。また、大きな誤差(ステップ)の学習については、方形波のステップ信号を入力データとし、教師データは上記同様の線形PD制御および線形PI制御の出力信号Uとする。
(Step S302)
Next, the control unit 11 performs an FNN learning process of the FB-FN unit 130 of the ICS unit 10.
FIG. 13 is a block diagram illustrating a learning process of the fuzzy PD unit 131 and the fuzzy PI unit 132 of the FB-FN unit 130.
In the learning of the fuzzy neural network, displacement error and speed error are input based on the data of the PD control characteristic grasp test by the PD compensator unit 111 described above. Then, the operation amount of the PID is obtained, and this is used as a teacher signal to learn the fuzzy PD unit 131 and the fuzzy PI unit 132 by a method combining the BP method and the least square method.
In the neural network of the FB-FN unit 130, feedback gain learning is performed using the square of the position error:

E p = 1/2 e p 2

To minimize. Further, k ij = W ij is set so that the condition of k ij ≧ 0 (j = I, p, v) is always satisfied.
To be more specific, the input data used for learning, the position error e p linear PD control and linear PI control gain adjustment as a servo system to operate smoothly and its a variation e v, teachers The data is an output signal U of linear PD control and linear PI control. For learning of a large error (step), a square wave step signal is used as input data, and teacher data is output signal U of linear PD control and linear PI control similar to those described above.

ここで、図13を参照して、ファジィPD部131のファジィPD学習について説明する。
ファジィPD部131のファジィPD学習は、モデル化誤差、非線形摩擦を補償するための学習の根拠となる。すなわち、制御対象2の実際のモデルには、慣性モーメント等のバラツキ、2次モデルで表現できない非線形要素が存在するため、これを学習する。
これらのモデル化誤差、非線形摩擦の誤差を表わすと、以下の式になる:

e = Td + fd(y)
ここで、Tdは、未知の外乱としてモデル化誤差を含める。
d(y)はsgn(y’){(Fs−Fc)exp(−|y’|/e)+Fc}とする。

ファジィPD学習は、上述の式で示されるモデル化誤差及び非線形摩擦誤差の偏差出力信号をフィードバックPD出力信号として獲得した教師信号により逆ダイナミックスとして学習する。
学習方法は非線形誤差学習方式としてuPDの2乗であるE(uPD)=l/2uPD 2を評価関数とし、BP法で結合荷重を修正する。
Here, the fuzzy PD learning of the fuzzy PD unit 131 will be described with reference to FIG.
The fuzzy PD learning of the fuzzy PD unit 131 is a basis for learning to compensate for modeling errors and nonlinear friction. That is, the actual model of the controlled object 2 has variations such as moment of inertia, and there are nonlinear elements that cannot be expressed by the quadratic model.
These modeling errors and nonlinear friction errors are expressed as follows:

e = Td + fd (y)
Here, T d includes a modeling error as an unknown disturbance.
Let f d (y) be sgn (y ′) {(Fs−Fc) exp (− | y ′ | / e) + Fc}.

In the fuzzy PD learning, learning is performed as inverse dynamics by a teacher signal obtained as a feedback PD output signal of the deviation output signal of the modeling error and the nonlinear friction error expressed by the above formula.
Learning is a square in which E (u PD) = l / 2u PD 2 the evaluation function u PD as a nonlinear error learning method to correct the connection weights in the BP method.

ここで、図13を更に参照して、ファジィPI部132のファジィPI学習について説明する。
ファジィPI部132のファジィPI学習は、クーロン摩擦、未知外乱による定常偏差の学習の根拠となる。つまり、制御対象2では、クーロン摩擦により定常偏差が生じる。これは、加速度が0のときの位置偏差である。また、未知外乱による定常偏差も発生する。
これらの誤差を表わすと、以下の式になる:

e = eFC + eTd

ここで、eFCはクーロン摩擦により発生する定常偏差eTdは未知外乱により発生する定常偏差である。ファジィPI学習は、上記の式で示されるクーロン摩擦および未知外乱による定常偏差を、フィードバックPI出力信号として獲得した教師信号により逆ダイナミックスとして学習する。
非線形誤差学習の方式としては、式としてuPIの2乗であるE(uPI)=1/2uPI 2を評価関数として、BP法で結合荷重を修正する。
Here, the fuzzy PI learning of the fuzzy PI unit 132 will be described with further reference to FIG.
The fuzzy PI learning of the fuzzy PI unit 132 is a basis for learning steady deviation due to Coulomb friction and unknown disturbance. That is, in the controlled object 2, a steady deviation occurs due to Coulomb friction. This is a positional deviation when the acceleration is zero. In addition, a steady deviation due to unknown disturbances also occurs.
Expressing these errors, we have the following formula:

e = e FC + e Td

Here, e FC is a steady deviation e Td caused by Coulomb friction, and a steady deviation caused by unknown disturbance. In the fuzzy PI learning, the stationary deviation due to the Coulomb friction and the unknown disturbance expressed by the above formula is learned as inverse dynamics by the teacher signal acquired as the feedback PI output signal.
As a non-linear error learning method, the coupling weight is corrected by the BP method using E (u PI ) = ½u PI 2 that is the square of u PI as an expression function.

(ステップS303)
次に、制御部11は、ICS部10のFB−FN部130のメンバーシップ関数設定処理を行う。
図14を参照して、このメンバーシップ関数設定処理の説明をする。
上述したように、ファジィPD部131、ファジィPI部132における、ファジィ・ニューラルネットワークの前件部には、メンバーシップ関数を用いる。本実施の形態においては、このメンバーシップ関数に、ここではガウス関数を使用する。
上述のFNN学習処理による学習結果、メンバーシップ関数の形が決定されることにより、パラメータが自動調整される。
図14及び図12Aの下部は、この調整されたメンバーシップ関数の例である。
(Step S303)
Next, the control unit 11 performs membership function setting processing of the FB-FN unit 130 of the ICS unit 10.
The membership function setting process will be described with reference to FIG.
As described above, the membership function is used for the antecedent part of the fuzzy neural network in the fuzzy PD part 131 and the fuzzy PI part 132. In this embodiment, a Gaussian function is used here for this membership function.
As a result of learning by the above-described FNN learning process, the shape of the membership function is determined, so that the parameters are automatically adjusted.
The lower part of FIGS. 14 and 12A is an example of this adjusted membership function.

(ステップS304)
次に、制御部11は、ICS部10のFB−FN部130に対して、ファジィルール設定処理を行う。
図15は、ファジィPD部131及びファジィPI部132のファジィルールの設定方法を示す概念図である。
本発明の第1の実施の形態に係るファジィ・ニューラルネットワークでは、制御ゲインを適応調整するため、誤差入力量に対応して出力を調整するファジィルールを設定する。
つまり、FB−FN部130のゲインをマトリックス状に配置するために、ファジィPD部131、ファジィPI部132における後件部に以下に示すファジィルールを設定する。
(Step S304)
Next, the control unit 11 performs a fuzzy rule setting process on the FB-FN unit 130 of the ICS unit 10.
FIG. 15 is a conceptual diagram illustrating a fuzzy rule setting method of the fuzzy PD unit 131 and the fuzzy PI unit 132.
In the fuzzy neural network according to the first embodiment of the present invention, in order to adaptively adjust the control gain, a fuzzy rule for adjusting the output corresponding to the error input amount is set.
That is, in order to arrange the gains of the FB-FN unit 130 in a matrix, the fuzzy rules shown below are set in the consequent units in the fuzzy PD unit 131 and the fuzzy PI unit 132.

より詳細に説明すると、図12Bにおける出力UFNは、プラントの直接的な入力である。ファジィ部では、入力空間を9分割し、分割された空間の適合度を以下の式で与える。

μi=Ai1(ep)Ai2(ev

ここで、i=1,2,…,9, i1,i2=1,2,3
また、Aijはメンバーシップ関数でファジィ変数を表す。
また、Ai1,Ai2はそれぞれPositive big、Small、Negative bigに対する適合度を表す。
ただし、適合度は、下記の式(6)のように正規化しておく。
More specifically, the output U FN in FIG. 12B is a direct plant input. In the fuzzy part, the input space is divided into nine, and the fitness of the divided space is given by the following expression.

μ i = A i1 (e p ) A i2 (e v)

Here, i = 1, 2,..., 9, i1, i2 = 1, 2, 3
A ij is a membership function and represents a fuzzy variable.
A i1 and A i2 represent the degrees of conformity to Positive big, Small, and Negative big, respectively.
However, the fitness is normalized as shown in the following formula (6).

Figure 2014006566
Figure 2014006566

そして、制御ゲインを適応調整するため、誤差入力量に対応して出力を調整するファジィルールを設定する。
ここで、図12Cのように、ファジィ分割として9を設定し、ファジィルールは以下のように設定する。

i番目のファジィルールは:

i: IF ep is Ai1 and ev is Ai2 THEN y=fi(ep,ev

ここで、i=1,2, ... ,9, i1,i2=1,2,3

である。
また、uFN-PD出力は、下記の式(7)として求める。
Then, in order to adaptively adjust the control gain, a fuzzy rule for adjusting the output corresponding to the error input amount is set.
Here, as shown in FIG. 12C, 9 is set as the fuzzy division, and the fuzzy rules are set as follows.

The i-th fuzzy rule is:

R i: IF e p is A i1 and e v is A i2 THEN y = fi (e p, e v)

Where i = 1, 2,. . . , 9, i 1 , i 2 = 1 , 2, 3

It is.
The u FN-PD output is obtained as the following equation (7).

Figure 2014006566
Figure 2014006566

ここで、各uFNの加算出力であるuFN-PID出力は、下記の式(8)で求める。 Here, the u FN-PID output which is the addition output of each u FN is obtained by the following equation (8).

Figure 2014006566
Figure 2014006566

また、ファジィ推論は、下記の式(9)で求める。   Further, fuzzy inference is obtained by the following equation (9).

Figure 2014006566
Figure 2014006566

ここで、fは、uFN-PIDとuFNが等しいとすると、下記の式(10)となる。 Here, f is represented by the following formula (10), assuming that u FN-PID and u FN are equal.

Figure 2014006566
Figure 2014006566

ただし、kij≧0(j=I,p,v)は、後述するフィードバックゲインである。
ここで、式(10)の制御方法においては、誤差応答によりファジィPDとファジィPIを切り換える動作を行う。この際、外乱やパラメータ変動による制御系の影響に対し、応答を速やかに目標値に近づけるため、図15内の表で示すように、外乱やパラメータ変動による制御系の影響に対し、応答を速やかに目標値に近づけるために、変位誤差信号epと速度誤差信号evがいずれもSmallのときはPID制御、epがSmallでなくevの絶対値|ev|がbigのときは、ダンピングを小さくし速い応答を得るためにP制御、その他はPD制御とすることが好適である。
各フィードバックは、後段のニューラルネットワークで事前に学習することにより、制御則を構成する。各フィードバックゲインは後段のニューラルネットワークで事前に学習する。このような構成により制御則を構成する。つまり、誤差に適応した制御則を構成することができる。
図16Aは、このフィードバックであるファジィ・ニューラルネットワークゲインの計算方法を示す。
However, k ij ≧ 0 (j = I, p, v) is a feedback gain described later.
Here, in the control method of Expression (10), an operation of switching between the fuzzy PD and the fuzzy PI by an error response is performed. At this time, in order to quickly bring the response close to the target value with respect to the influence of the control system due to disturbance or parameter fluctuation, as shown in the table in FIG. 15, the response to the influence of the control system due to disturbance or parameter fluctuation is promptly made. when is big, | to approach the target value, PID control when the both displacement error signal e p and the speed error signal e v is Small, an absolute value of e p is not Small e v in | e v In order to reduce the damping and obtain a fast response, it is preferable to use the P control and the other are the PD control.
Each feedback constitutes a control law by learning in advance with a neural network in the subsequent stage. Each feedback gain is learned in advance by a neural network in the subsequent stage. A control law is comprised by such a structure. That is, a control law adapted to the error can be configured.
FIG. 16A shows a calculation method of the fuzzy neural network gain which is this feedback.

また、図16Bに、FB−FN部130のゲインマトリックスを示す。
フィードバックゲインkijはファジィ分割された誤差空間ごとに学習するので、誤差量に依存するダイナミック補償器としての役割を果たす。このように、制御ゲインを適応調整するため、誤差入力量に対応して出力を調整する、上述のi番目のファジィルールを設定する。
すなわち、ファジィ推論の効果として、誤差が少ないときは低いゲインとなる。ただし、ゲインの最適調整は、ニューラルネットワークの学習により行われる。つまり、モデル化誤差、摩擦、未知な外乱等により位置と速度の誤差が生じると大きなゲインとなり、誤差の減少が期待できる。また、後述する図16BのC7の部分のように大きな誤差に対しては、フィードバックの効果が期待できる。このような構成により、外乱やパラメータ変動にロバストとなることが期待できる。
FIG. 16B shows a gain matrix of the FB-FN unit 130.
Since the feedback gain k ij is learned for each fuzzy-divided error space, it plays a role as a dynamic compensator depending on the error amount. Thus, in order to adaptively adjust the control gain, the above-mentioned i-th fuzzy rule for adjusting the output in accordance with the error input amount is set.
That is, as an effect of fuzzy reasoning, when the error is small, the gain is low. However, the optimum gain adjustment is performed by learning a neural network. In other words, if position and speed errors occur due to modeling errors, friction, unknown disturbances, etc., a large gain is obtained, and a reduction in errors can be expected. Also, for large errors as part of the C 7 of Fig. 16B to be described later, the effect of the feedback can be expected. Such a configuration can be expected to be robust against disturbances and parameter fluctuations.

図16Cは、ファジィ・ニューラルネットワークによるゲインスケジューリングのブロック図を示す。
このゲインスケジューリングにより決定されたCi=μi(kipp+kiv+kiI∫fepdt)式により、図16BのC1〜C9の各ゲインが算出される。
FIG. 16C shows a block diagram of gain scheduling by a fuzzy neural network.
The gain scheduling determined by C i = μ i (k ip e p + k iv + k iI ∫f ep dt) wherein each gain of C 1 -C 9 in FIG. 16B is calculated.

図16Dは、ファジィPD部131のファジィPDゲインマトリックスを示す。これはファジィPDについて入力のCpとCvが9個のウィンドウに分割された入力空間で図16Aに示す通り計算がされたゲインである。入力誤差に対して制御ゲインが適応調整される。
図16Eは、ファジィPD部131のファジィPD制御面を示す。これはファジィPDについてCpとCvの入力に対する制御出力がどのように変化するかを表わしている。図16Eの制御面によれば、ステップ状の大きな外乱に対してロバスト性及びロバスト安定性を有することがわかる。
FIG. 16D shows a fuzzy PD gain matrix of the fuzzy PD unit 131. This is C p and C v gain which is the street calculation shown in FIG. 16A in divided input space into nine windows input for fuzzy PD. The control gain is adaptively adjusted to the input error.
FIG. 16E shows a fuzzy PD control surface of the fuzzy PD unit 131. This represents how the control output for the inputs of C p and C v changes for the fuzzy PD. According to the control surface of FIG. 16E, it can be seen that the control surface has robustness and robust stability against a large step-like disturbance.

〔ロバスト安定性の根拠〕
ここで、図17を参照して、本発明の第1の実施の形態に係るFB−FN部130のロバスト安定性の根拠について説明する。
FB−FN部130は、パラメータ変動が微小ではなく、ある有限な範囲で生じるとして、その変動範囲で制御性能を保証する制御系を設計する必要がある。そこで、パラメータの変動範囲をカバーする多数の基準点を仮定しこの点におけるパラメータ感度を小さくすることが好適である。また、各基準点での感度を小さくする割合はメンバーシップ関数を用いることにより、システムの要求に応じて設定できる。
また、ファジィ・ニューラルネットコントローラの誤差のロバスト性を確保するには、パラメータがある基準点まわりで微小変動することを前提とし、その変動に対するパラメータ感度を最小化する必要がある。図17に、そのメンバーシップ関数と、ファジィPIの制御面を示す。
ここで、図17の古典PIの制御面に示す通り、eかe・(eの上点)の移行方向に順じた、あるいは逆らった方向にeかe・が摂動すると、duの変化が増大する。
これに対して、図17のファジィPIの制御面においては、制御誤差であるeかe・の変化量が小さいときはファジィPIには、さほど影響しない。すなわち、ファジィPIの制御面はe−e・が、ほぼ平行であり、摂動すると、eとe・が2つ以上のルールが作動する過渡的な領域に入っていくだけで、制御出力には影響しない。つまり、定常偏差を減少させる機能が働いていることがわかる。
これにより、ファジィPIDコントローラのロバスト性の根拠が説明できる。
[The basis for robust stability]
Here, the basis of the robust stability of the FB-FN unit 130 according to the first embodiment of the present invention will be described with reference to FIG.
The FB-FN unit 130 needs to design a control system that guarantees control performance in the fluctuation range, assuming that the parameter fluctuation is not minute but occurs in a certain finite range. Therefore, it is preferable to assume a large number of reference points that cover the parameter fluctuation range and to reduce the parameter sensitivity at this point. Further, the ratio for decreasing the sensitivity at each reference point can be set according to the system requirements by using a membership function.
In order to ensure the robustness of the error of the fuzzy neural network controller, it is necessary to minimize the parameter sensitivity to the fluctuation on the assumption that the parameter fluctuates around a certain reference point. FIG. 17 shows the membership function and the control surface of the fuzzy PI.
Here, as shown in the control surface of the classical PI in FIG. 17, when e or e. Perturbs in the direction of e or e. Increase.
On the other hand, in the control surface of the fuzzy PI of FIG. 17, when the change amount of e or e · which is a control error is small, the fuzzy PI is not so affected. In other words, the control surface of fuzzy PI is almost parallel to ee ·, and if perturbed, e and e · will only enter a transient region where two or more rules are activated, and the control output will be affected. do not do. That is, it turns out that the function which reduces a steady-state deviation is working.
This explains the basis for the robustness of the fuzzy PID controller.

(ステップS305)
次に、制御部11は、ICS部10のFB−FN部130に対して、ファジィ推論処理を行う。
このファジィ推論処理においては、上述したシングルトン出力のメンバーシップ関数を使用して、ダイナミックスな非線形システムの種々の操作条件に適用する複数の線形コントローラを内挿的に組み込むことができる。
本実施の形態に係るこのファジィ推論処理においては、入力空間をスムーズに内挿して線形ゲインを求め、効果的なゲインスケジューラとし、非線形システムをモデル化できる。
つまり、ファジィ推論システムを使い、入出力データからBP法等のアルゴリズムを使ってチューニングする。ここでは、推論システムのパラメータを同定するためのハイブリッドな学習アルゴリズムを使う。非線形パラメータに対し、上述したように、最小二乗法とバックプロバゲーション勾配降下法(BP法)を適用する。
以上により、FB−FN学習処理を終了する。
(Step S305)
Next, the control unit 11 performs fuzzy inference processing on the FB-FN unit 130 of the ICS unit 10.
In this fuzzy inference process, a singleton output membership function described above can be used to interpolate a plurality of linear controllers applied to various operating conditions of a dynamic nonlinear system.
In this fuzzy inference process according to the present embodiment, a linear gain can be obtained by smoothly interpolating the input space to obtain an effective gain scheduler, and a nonlinear system can be modeled.
In other words, a fuzzy inference system is used to tune from input / output data using an algorithm such as the BP method. Here we use a hybrid learning algorithm to identify the parameters of the inference system. As described above, the least square method and the back-propagation gradient descent method (BP method) are applied to the nonlinear parameters.
Thus, the FB-FN learning process is terminated.

〔ファジィPD部131の例〕
以下で、作成して学習させたファジィPD部131であるFUZZY_PDのMファイルの例を示す:

[Input1]
Name='input1'
Range=[-0.2868 0.2804]
NumMFs=3
MF1='in1mf1':'gauss2mf',[0.0478592834462299 -0.371325 0.0319561439415608 -0.217974284608918]
MF2='in1mf2':'gauss2mf',[0.0608664733050278 -0.0978076222858487 0.0555142362386605 0.0852892043051262]
MF3='in1mf3':'gauss2mf',[0.0138714984932358 0.20884527353354 0.0478592834462299 0.361225]

[Input2]
Name='input2'
Range=[-1.0472 1.0472]
NumMFs=3
MF1='in2mf1':'gauss2mf',[0.177881957852323 -1.36136 0.178084149908005 -0.73222056738112]
MF2='in2mf2':'gauss2mf',[0.150801124394399 -0.302584545101134 0.1487581237134 0.303271696091688]
MF3='in2mf3':'gauss2mf',[0.178465822406237 0.732532304938343 0.177881957852323 1.36136]

[Output1]
Name='output'
Range=[-9.121 8.9183]
NumMFs=9
MF1='out1mf1':'linear',[29.9502149922501 0.502141541225866 -0.0114363187815991]
MF2='out1mf2':'linear',[0.699802412554496 2.88172200515163 -3.69267448235734]
MF3='out1mf3':'linear',[2.42419964633644e-009 1.94710601114873e-009 -4.46135969104574e-008]
MF4='out1mf4':'linear',[29.8646225385097 0.522490654609605 0.00109243397029133]
MF5='out1mf5':'linear',[29.9872760919535 0.502942439065712 -0.000137735051368041]
MF6='out1mf6':'linear',[29.9929707105531 0.500833500934634 0.000342857488096674]
MF7='out1mf7':'linear',[1.73151335707348e-014 7.40165806871063e-014 9.36256379708729e-014]
MF8='out1mf8':'linear',[0.60924632277904 2.59412276828522 3.30948675859052]
MF9='out1mf9':'linear',[29.9947186987529 0.494510357242337 0.00687566067744605]


[Rules]
1 1, 1 (1) : 1
1 2, 2 (1) : 1
1 3, 3 (1) : 1
2 1, 4 (1) : 1
2 2, 5 (1) : 1
2 3, 6 (1) : 1
3 1, 7 (1) : 1
3 2, 8 (1) : 1
3 3, 9 (1) : 1
[Example of fuzzy PD unit 131]
The following is an example of an M file of FUZZY_PD, which is a fuzzy PD section 131 created and learned:

[Input1]
Name = 'input1'
Range = [-0.2868 0.2804]
NumMFs = 3
MF1 = 'in1mf1': 'gauss2mf', [0.0478592834462299 -0.371325 0.0319561439415608 -0.217974284608918]
MF2 = 'in1mf2': 'gauss2mf', [0.0608664733050278 -0.0978076222858487 0.0555142362386605 0.0852892043051262]
MF3 = 'in1mf3': 'gauss2mf', [0.0138714984932358 0.20884527353354 0.0478592834462299 0.361225]

[Input2]
Name = 'input2'
Range = [-1.0472 1.0472]
NumMFs = 3
MF1 = 'in2mf1': 'gauss2mf', [0.177881957852323 -1.36136 0.178084149908005 -0.73222056738112]
MF2 = 'in2mf2': 'gauss2mf', [0.150801124394399 -0.302584545101134 0.1487581237134 0.303271696091688]
MF3 = 'in2mf3': 'gauss2mf', [0.178465822406237 0.732532304938343 0.177881957852323 1.36136]

[Output1]
Name = 'output'
Range = [-9.121 8.9183]
NumMFs = 9
MF1 = 'out1mf1': 'linear', [29.9502149922501 0.502141541225866 -0.0114363187815991]
MF2 = 'out1mf2': 'linear', [0.699802412554496 2.88172200515163 -3.69267448235734]
MF3 = 'out1mf3': 'linear', [2.42419964633644e-009 1.94710601114873e-009 -4.46135969104574e-008]
MF4 = 'out1mf4': 'linear', [29.8646225385097 0.522490654609605 0.00109243397029133]
MF5 = 'out1mf5': 'linear', [29.9872760919535 0.502942439065712 -0.000137735051368041]
MF6 = 'out1mf6': 'linear', [29.9929707105531 0.500833500934634 0.000342857488096674]
MF7 = 'out1mf7': 'linear', [1.73151335707348e-014 7.40165806871063e-014 9.36256379708729e-014]
MF8 = 'out1mf8': 'linear', [0.60924632277904 2.59412276828522 3.30948675859052]
MF9 = 'out1mf9': 'linear', [29.9947186987529 0.494510357242337 0.00687566067744605]


[Rules]
1 1, 1 (1): 1
1 2, 2 (1): 1
1 3, 3 (1): 1
2 1, 4 (1): 1
2 2, 5 (1): 1
2 3, 6 (1): 1
3 1, 7 (1): 1
3 2, 8 (1): 1
3 3, 9 (1): 1

〔ファジィPI部132のファイル例〕
以下で、作成して学習させたファジィPI部132であるFUZZY_PIのMファイルの例についても示す:

[System]
Name='FNN_PI'
Type='sugeno'
Version=2.0
NumInputs=2
NumOutputs=1
NumRules=9
AndMethod='prod'
OrMethod='probor'
ImpMethod='prod'
AggMethod='sum'
DefuzzMethod='wtaver'

[Input1]
Name='input1'
Range=[-0.2275 0.2108]
NumMFs=3
MF1='in1mf1':'gauss2mf',[0.0372257745066239 -0.293245 0.0620222208404797 -0.145616701160321]
MF2='in1mf2':'gauss2mf',[0.0509989814349655 -0.0938664146504105 0.061773470568765 0.0711977845073082]
MF3='in1mf3':'gauss2mf',[0.0451928100610181 0.122287868166051 0.0372257745066239 0.276545]

[Input2]
Name='input2'
Range=[-1.0472 1.0472]
NumMFs=3
MF1='in2mf1':'gauss2mf',[0.177881957852323 -1.36136 0.194858188187073 -0.725976617084914]
MF2='in2mf2':'gauss2mf',[0.184472713520267 -0.318507248879403 0.182769544067602 0.316484420470913]
MF3='in2mf3':'gauss2mf',[0.189973693378099 0.727208320141822 0.177881957852323 1.36136]

[Output1]
Name='output'
Range=[-7.2538 6.6378]
NumMFs=9
MF1='out1mf1':'linear',[43.4662552481124 15.4046594018716 18.8528571837822]
MF2='out1mf2':'linear',[-72.3728068591604 -8.21719705183032 -35.8241392764794]
MF3='out1mf3':'linear',[-0.746178588917306 -0.0969956028725818 -409.511443589854]
MF4='out1mf4':'linear',[43.6763652955075 4.47961924229057 -1.2979557058011]
MF5='out1mf5':'linear',[-188.845013085459 16.3752420684739 2.26580569880905]
MF6='out1mf6':'linear',[52.6504877364809 13.6637475028015 -2.81582668956971]
MF7='out1mf7':'linear',[1.36664656988905 -101.944112740175 561.037900146712]
MF8='out1mf8':'linear',[-37.7754372896572 -2.37931907009803 20.5924135196645]
MF9='out1mf9':'linear',[77.3693139104994 7.01860325733576 -18.4498686710174]

[Rules]
1 1, 1 (1) : 1
1 2, 2 (1) : 1
1 3, 3 (1) : 1
2 1, 4 (1) : 1
2 2, 5 (1) : 1
2 3, 6 (1) : 1
3 1, 7 (1) : 1
3 2, 8 (1) : 1
3 3, 9 (1) : 1
[File example of fuzzy PI section 132]
The following also shows an example of an M file of FUZZY_PI, which is a fuzzy PI section 132 created and learned:

[System]
Name = 'FNN_PI'
Type = 'sugeno'
Version = 2.0
NumInputs = 2
NumOutputs = 1
NumRules = 9
AndMethod = 'prod'
OrMethod = 'probor'
ImpMethod = 'prod'
AggMethod = 'sum'
DefuzzMethod = 'wtaver'

[Input1]
Name = 'input1'
Range = [-0.2275 0.2108]
NumMFs = 3
MF1 = 'in1mf1': 'gauss2mf', [0.0372257745066239 -0.293245 0.0620222208404797 -0.145616701160321]
MF2 = 'in1mf2': 'gauss2mf', [0.0509989814349655 -0.0938664146504105 0.061773470568765 0.0711977845073082]
MF3 = 'in1mf3': 'gauss2mf', [0.0451928100610181 0.122287868166051 0.0372257745066239 0.276545]

[Input2]
Name = 'input2'
Range = [-1.0472 1.0472]
NumMFs = 3
MF1 = 'in2mf1': 'gauss2mf', [0.177881957852323 -1.36136 0.194858188187073 -0.725976617084914]
MF2 = 'in2mf2': 'gauss2mf', [0.184472713520267 -0.318507248879403 0.182769544067602 0.316484420470913]
MF3 = 'in2mf3': 'gauss2mf', [0.189973693378099 0.727208320141822 0.177881957852323 1.36136]

[Output1]
Name = 'output'
Range = [-7.2538 6.6378]
NumMFs = 9
MF1 = 'out1mf1': 'linear', [43.4662552481124 15.4046594018716 18.8528571837822]
MF2 = 'out1mf2': 'linear', [-72.3728068591604 -8.21719705183032 -35.8241392764794]
MF3 = 'out1mf3': 'linear', [-0.746178588917306 -0.0969956028725818 -409.511443589854]
MF4 = 'out1mf4': 'linear', [43.6763652955075 4.47961924229057 -1.2979557058011]
MF5 = 'out1mf5': 'linear', [-188.845013085459 16.3752420684739 2.26580569880905]
MF6 = 'out1mf6': 'linear', [52.6504877364809 13.6637475028015 -2.81582668956971]
MF7 = 'out1mf7': 'linear', [1.36664656988905 -101.944112740175 561.037900146712]
MF8 = 'out1mf8': 'linear', [-37.7754372896572 -2.37931907009803 20.5924135196645]
MF9 = 'out1mf9': 'linear', [77.3693139104994 7.01860325733576 -18.4498686710174]

[Rules]
1 1, 1 (1): 1
1 2, 2 (1): 1
1 3, 3 (1): 1
2 1, 4 (1): 1
2 2, 5 (1): 1
2 3, 6 (1): 1
3 1, 7 (1): 1
3 2, 8 (1): 1
3 3, 9 (1): 1

〈ソフトウェアサーボ制御処理の詳細〉
次に、図18を参照して、本発明の第1の実施の形態に係るソフトウェアサーボ制御処理について説明する。
本発明の第1の実施の形態に係るソフトウェアサーボ制御処理においては、DCモータ駆動用PWM(パルス幅変調)モジュールと位置検出用エンコーダのアップダウンカウンタモジュールを、ソフトウェアで作成して実現する。これにより、ハードウェア部品の省力化と、ハードウェアによる動作時間遅れやノイズの対策ができる。
PWM部150のPWMモジュールについて、設計によりソフトウェア化を行っている。すなわち、本実施形態においては、MATLAB/Simulinkによりロジック回路を作成し、PWMモジュールを実現させている。すなわち、図18のように、制御部11が信号の振幅を変更して出力することで、モータ230の駆動ができる。このPWMモジュールの例を、後述する実施例1の図20A〜図20Cに示す。
また、COUNTER(カウンタ)モジュールについても、設計によりソフトウェア化を行っている。すなわち、本実施形態においては、MATLAB/Simulinkによりロジック回路を作成し、COUNTERモジュールを実現させている。このCOUNTERモジュールの例を、後述する実施例1の図20F〜図20Hに示す。
このように、知能コントローラの演算処理の高速化により、インテリジェント・ロバスト制御を実現することができる。
<Details of software servo control processing>
Next, the software servo control process according to the first embodiment of the present invention will be described with reference to FIG.
In the software servo control processing according to the first embodiment of the present invention, a DC motor driving PWM (pulse width modulation) module and an up / down counter module of a position detecting encoder are created by software and realized. As a result, it is possible to save hardware components and to take measures against delays in operation time and noise caused by hardware.
The PWM module of the PWM unit 150 is softwareized by design. That is, in this embodiment, a logic circuit is created by MATLAB / Simulink and a PWM module is realized. That is, as shown in FIG. 18, the motor 230 can be driven by the control unit 11 changing and outputting the signal amplitude. Examples of this PWM module are shown in FIGS. 20A to 20C of Example 1 described later.
The COUNTER (counter) module is also made into software by design. That is, in this embodiment, a logic circuit is created by MATLAB / Simulink and a COUNTER module is realized. Examples of this COUNTER module are shown in FIGS. 20F to 20H of Example 1 described later.
In this way, intelligent and robust control can be realized by increasing the processing speed of the intelligent controller.

以上のように構成することで、以下のような効果を得ることができる。
まず、従来、産業界で問題となっている現代制御理論(Model Based Control)による電子制御の不具合が多発していた。これは、制御ゲインが固定ゲインであることに起因するものであった。
本発明の第1の実施の形態に係る制御システムXは、次世代のファジィ・ニューラルネットワークベースト制御によるインテリジェント・ロバスト組み込み知能コントローラであるICS部10を用いることで、この問題を唯一解決することができる。
ICS部10には、目標軌道誤差の変化に適応的にゲインを可変調整するファジィ・ニューラルベースト制御の新規インテリジェント・ロバストゲイン補償器であるFB−FN部130が組み込まれている。これにより、システムパラメータ変動、突発的な外乱および目標変化に対して、十分な目標軌道追従制御性能が得られる。
With the configuration described above, the following effects can be obtained.
First, there have been many problems with electronic control based on modern control theory that has been a problem in the industry. This is because the control gain is a fixed gain.
The control system X according to the first embodiment of the present invention can only solve this problem by using the ICS unit 10 which is an intelligent and robust embedded intelligent controller based on the next generation fuzzy neural network based control. it can.
The ICS unit 10 incorporates an FB-FN unit 130 that is a new intelligent robust gain compensator of fuzzy neural base control that adaptively variably adjusts the gain in response to a change in the target trajectory error. Thereby, sufficient target trajectory tracking control performance can be obtained with respect to system parameter fluctuations, sudden disturbances and target changes.

また、本発明の第1の実施の形態に係る制御システムXの制御方法は、従来のPID制御方法を多変数系に拡張させることができる。
すなわち、本実施形態の制御方法は、非線形の運動方程式を直接使用して、FF−NN部120のニューラルネットワークにより線形化を行い、FB−FN部130のファジィ・ニューラルネットワークにより外乱抑制および非干渉化を行う。
本実施形態の制御方法は、時間によってパラメータが変化する非線形系がいつも臨界減衰となるように、時間によってゲインが適応的に変化する制御則を考案し、多変数系における各軸の相互干渉を非干渉化させる。このことにより、インテリジェント制御による多変数系制御を行い、マニピュレータの完全追従制御を実現することができる。
In addition, the control method of the control system X according to the first embodiment of the present invention can extend the conventional PID control method to a multivariable system.
That is, in the control method of the present embodiment, the nonlinear motion equation is directly used, linearization is performed by the neural network of the FF-NN unit 120, and disturbance suppression and non-interference are performed by the fuzzy neural network of the FB-FN unit 130. To do.
The control method of this embodiment devised a control law in which the gain adaptively changes with time so that the nonlinear system whose parameter changes with time always becomes critical damping, and the mutual interference of each axis in the multivariable system is devised. Make it non-interfering. As a result, multivariable control by intelligent control can be performed, and complete follow-up control of the manipulator can be realized.

また、本実施形態に係る制御システムXは、ファジィの推論能力とニューラルネットワークの学習能力を組み合わせることで、制御ゲインを可変調整し、未知の要素に対して適応させることができる。
実際に、下記の実施例1にて構築したファジィ・ニューラルネットワーク制御システムを従来のPID制御、FF−NN制御のみのシステムと比較する実験を行ったところ、ファジィ・ニューラルネットワーク制御の有効性は高かった。
In addition, the control system X according to the present embodiment can adjust the control gain variably and adapt it to unknown elements by combining fuzzy reasoning ability and neural network learning ability.
Actually, when the experiment comparing the fuzzy neural network control system constructed in Example 1 below with the conventional PID control and FF-NN control only system, the effectiveness of the fuzzy neural network control is high. It was.

また、従来、マニピュレータに関するシステム設計は、制御対象が多自由度系でも1自由度系と見なし近似式を用いて制御系を設計し、関節軸ごとに独立した制御系を構築する手法が多くの製品に採用されていた。
本実施形態に係る制御システムXは、この多自由度系設計化の未解決な課題を、インテリジェント制御により解決することができる。
すなわち、本実施形態に係る制御システムXは、ロバストで自動的なゲイン調整が可能な制御系を構築するために、ファジィ分割された空間において位置及び力誤差に応じた可変フィードバックゲインが設定される制御系を、多自由度系化の設計に用いることができる。
Conventionally, there are many methods for designing manipulators, in which even if the controlled object is a multi-degree-of-freedom system, the control system is designed using an approximation formula and an independent control system is constructed for each joint axis. It was adopted in the product.
The control system X according to the present embodiment can solve this unsolved problem of multi-degree-of-freedom system design by intelligent control.
That is, in the control system X according to the present embodiment, a variable feedback gain corresponding to the position and force error is set in a fuzzy-divided space in order to construct a control system capable of robust and automatic gain adjustment. The control system can be used to design a multi-degree-of-freedom system.

また、本実施形態に係る制御システムXは、ファジィ・ニューラルネットワークの学習によるゲインの自動設定ができ、インテリジェント制御によるロバスト性を実現することができる。
これにより、マニピュレータおよび多変数系メカニカルシステムに対する実用的なインテリジェント・ロバスト制御システムを実現し、ロボット、自動車、電動自転車、船舶、航空機、宇宙機、ロケット、温度制御、電動制御等、目標値を設定して制御する従来の制御が用いられていたあらゆる制御対象機器について、応用可能である。
また、本実施形態に係る制御システムXは、モデル化誤差、摩擦、未知の外乱等により変位および速度の制御誤差が生じた場合、制御ゲインを適応調整するファジィ・ニューラルネットワークによる非線形偏差補償が可能になる。
すなわち、ファジィ・ニューラルネットワークによるインテリジェント・ロバスト制御手法が確立し、多変数系メカニカルシステムに対する実用的なインテリジェント制御システムを実現することができる。
Further, the control system X according to the present embodiment can automatically set a gain by learning a fuzzy neural network, and can realize robustness by intelligent control.
This realizes a practical intelligent and robust control system for manipulators and multivariable mechanical systems, and sets target values for robots, automobiles, electric bicycles, ships, aircraft, spacecrafts, rockets, temperature control, electric control, etc. Thus, the present invention can be applied to any device to be controlled for which conventional control for controlling is used.
In addition, the control system X according to the present embodiment can compensate for non-linear deviation by a fuzzy neural network that adaptively adjusts the control gain when displacement and speed control errors occur due to modeling errors, friction, unknown disturbances, etc. become.
In other words, an intelligent and robust control method using a fuzzy neural network is established, and a practical intelligent control system for a multivariable mechanical system can be realized.

また、本実施形態に係る制御システムXは、組み込み型コンピュータを知能コントローラ部1として用いて、通常のPC等による制御装置3によるRTW(Real−Time Workshop)を用いたモデルベースでのシステム開発により、短期間でのシステム開発を行うことが可能である。
さらに、MATLAB/Simulinkのようなソフトウェアを用いることで、シミュレーションも簡単に行えるため、システム開発のコストダウンや時間削減に大きな効果が得られる。
Further, the control system X according to the present embodiment uses a model-based system development using an RTW (Real-Time Workshop) by a control device 3 such as a normal PC using an embedded computer as the intelligent controller unit 1. It is possible to develop a system in a short period of time.
Furthermore, by using software such as MATLAB / Simulink, the simulation can be easily performed, so that a great effect can be obtained in the cost reduction and time reduction of the system development.

また、本実施形態に係る制御システムXは、目標軌道誤差の変化に適応的にゲインを可変調整する新しい方式のインテリジェント・ロバストゲイン補償器(ファジィ・ニューラルベースド制御)が組み込まれており、システムパラメータ変動、外乱および目標変化に対して、十分な目標軌道追従制御性能が得られる。具体的には、ロバストで自動的なゲイン調整が可能な制御系を構築するために、ファジィ分割された空間において位置及び力誤差に応じた可変フィードバックゲインが設定される制御系を構成している。
また、本実施形態に係る制御システムXは、制御系を2自由度制御構成とし、フィードフォワード部をニューラルネットワークにより構成し、変位、速度、加速度のパラメータによりプラントの特性を学習させ、プラント特性の逆特性を取得しシステムを線形化している。
また、フィードバック部は、ファジィ・ニューラルネットワークにより非線形誤差を減少させる補償器であり、完全追従性能を実現させている。
これらの制御系は、リアルタイム(実時間)処理で、例えばサンプリング時間が1ミリ秒で実行されていることを特徴とする。
In addition, the control system X according to the present embodiment incorporates a new intelligent robust gain compensator (fuzzy neural base control) that variably adjusts the gain adaptively to changes in the target trajectory error. Sufficient target trajectory tracking control performance can be obtained for fluctuations, disturbances, and target changes. Specifically, in order to construct a control system capable of robust and automatic gain adjustment, a control system in which variable feedback gains according to position and force errors are set in a fuzzy divided space is configured. .
In the control system X according to the present embodiment, the control system has a two-degree-of-freedom control configuration, the feedforward unit is configured by a neural network, and the plant characteristics are learned by parameters of displacement, speed, and acceleration, The inverse characteristic is acquired and the system is linearized.
The feedback unit is a compensator that reduces non-linear errors using a fuzzy neural network, and realizes perfect tracking performance.
These control systems are characterized in that they are executed in real time (real time) processing, for example, with a sampling time of 1 millisecond.

〔実施例1〕
ここで、図19A〜図21Bを参照して、実際に上述のICS部10の構成と各処理を用いて、インテリジェント・ロバスト制御を行った実施例1について説明する。
本実施例1においては、組み込み型コンピュータであるICS部10を含む知能コントローラ部1によって制御対象2の位置制御を行う。制御対象2としては、DCモータによって駆動する移動テーブルを用いた。
ICS部10のOSには、Linux(登録商標)+Xenomai(商標)を用いており、リアルタイムでの制御が可能である。パソコンである制御装置3は、知能コントローラ部1とLANクロスケーブルにより直接接続して、イーサネット(登録商標)で通信を行った。
知能コントローラ部1は、知能コントローラ部1のD/Aコンバータから制御信号を送出する。この制御信号は、モータ駆動ドライバ20を介して、モータ230へと出力される。モータ230が回転すると、エンコーダ220からパルス波が出力される。このパルス波は、知能コントローラ部1のA/Dコンパータによって、知能コントローラ部1が取得する。このパルス波を1/8に分周させてあり、このパルス波をカウントすることによりモータ230の位置情報をフィードバックすることができる。
[Example 1]
Here, with reference to FIG. 19A to FIG. 21B, a description will be given of a first embodiment in which intelligent and robust control is actually performed using the configuration and each process of the ICS unit 10 described above.
In the first embodiment, the position of the controlled object 2 is controlled by the intelligent controller unit 1 including the ICS unit 10 that is an embedded computer. As the control object 2, a moving table driven by a DC motor was used.
The OS of the ICS unit 10 uses Linux (registered trademark) + Xenomai (trademark), and can be controlled in real time. The control device 3 which is a personal computer is directly connected to the intelligent controller unit 1 by a LAN cross cable and communicates by Ethernet (registered trademark).
The intelligent controller unit 1 sends a control signal from the D / A converter of the intelligent controller unit 1. This control signal is output to the motor 230 via the motor drive driver 20. When the motor 230 rotates, a pulse wave is output from the encoder 220. This pulse wave is acquired by the intelligent controller unit 1 by the A / D converter of the intelligent controller unit 1. The pulse wave is divided into 1/8, and the position information of the motor 230 can be fed back by counting the pulse wave.

また、本実施例では、モータ駆動ドライバ20として、東芝セミコンダクター社製のTA7281Pを用いた。また、モータ230として、ツカサ電工社製のTG−47C−SMを用いた。TG−47C−SMは、定格電圧12[V]、定格回転数4400[rpm]、定格電流160[mA]、無負荷回転数5250[rpm]、無負荷電流60[mA]である。
また、エンコーダ220として、TG−47C−SMに付属のロータリエンコーダを用いた。当該ロータリエンコーダは、1回転につき8パルス出力する。
In the present embodiment, TA7281P manufactured by Toshiba Semiconductor was used as the motor driver 20. As the motor 230, TG-47C-SM manufactured by Tsukasa Electric Co., Ltd. was used. TG-47C-SM has a rated voltage of 12 [V], a rated speed of 4400 [rpm], a rated current of 160 [mA], a no-load speed of 5250 [rpm], and a no-load current of 60 [mA].
As the encoder 220, a rotary encoder attached to the TG-47C-SM was used. The rotary encoder outputs 8 pulses per rotation.

(実験方法)
本実施例では、MATLAB/Simulinkによりファジィ・ニューラルネットワークの制御システムXのためのモデルを構築した。また、比較のため、従来のPID制御、NN−PIDのみの制御システムのモデルも同様に構築した。
これらの制御システムのモデルを図19A〜図19Cに示す。また、この各制御システムの各部位のモデル図を、図20A〜図20Hに示す。
(experimental method)
In this embodiment, a model for a control system X of a fuzzy neural network is constructed by MATLAB / Simulink. For comparison, a model of a conventional PID control and NN-PID-only control system was similarly constructed.
Models of these control systems are shown in FIGS. 19A to 19C. Moreover, the model figure of each site | part of this each control system is shown to FIG. 20A-FIG. 20H.

より具体的には、図19Aは、従来のPID制御のモデル図である。このモデルのPIDパラメータについては、比例ゲインP=12、積分ゲインI=0、微分ゲインD=0、としてモータ駆動ドライバ20の制御を行った。
また、図19Bは、NN−PID制御のみの場合のモデル図である。FF−NN部120のニューラルネットワークの学習にはPID制御のデータを基にして行い、指令信号の変位、速度、加速度を入力とし、PIDの操作量を教師信号としてBP法で学習を行った。これによって得られたニューラルネットワークをPIDの操作量にフィードフォワードさせている。PIDパラメータはPID制御と同様である。
また、図19Cは、本実施例に係るファジィ・ニューラルネットワーク制御のモデル図である。FNNの学習には、図19AのPID制御のデータを基にして行い、変位誤差、速度誤差を入力とし、PIDの操作量を教師信号としてBP法と最小二乗法を組み合わせた方法で学習を行った。この際に、図19BのNN−PID制御のパラメータ等も、ファジィ・ニューラルネットワークの制御システムに用いた。
More specifically, FIG. 19A is a model diagram of conventional PID control. For the PID parameters of this model, the motor driver 20 was controlled with a proportional gain P = 12, an integral gain I = 0, and a differential gain D = 0.
FIG. 19B is a model diagram in the case of only NN-PID control. Learning of the neural network of the FF-NN unit 120 is performed based on PID control data, and learning is performed by the BP method using the displacement, speed, and acceleration of the command signal as inputs and the operation amount of the PID as a teacher signal. The neural network obtained in this way is fed forward to the manipulated variable of PID. PID parameters are the same as PID control.
FIG. 19C is a model diagram of fuzzy neural network control according to the present embodiment. FNN learning is performed based on the PID control data shown in FIG. 19A, with displacement error and speed error as inputs, and learning is performed using a combination of the BP method and the least squares method with the PID operation amount as a teacher signal. It was. At this time, the parameters of the NN-PID control in FIG. 19B were also used in the control system of the fuzzy neural network.

制御対象2は、1つのDCモータ230によって動く移動テーブルとし、構築した制御システムにより位置制御を行う。指令信号は振幅5、周期30[s]のsin波とし、サンプリングタイムは1[msec]でモータの制御を行った。
また、比較のための動作テストとして外乱あり、外乱なしの状態で3つの制御システムを実行し性能比較を行った。外乱はモデル上で再現し、実行してから10秒後に+5の値を操作量に加えるようにした。
The control object 2 is a moving table that is moved by one DC motor 230, and the position is controlled by the constructed control system. The command signal was a sine wave with an amplitude of 5 and a period of 30 [s], and the motor was controlled with a sampling time of 1 [msec].
In addition, as a comparative operation test, performance was compared by executing three control systems with and without disturbance. The disturbance was reproduced on the model, and a value of +5 was added to the manipulated variable 10 seconds after execution.

(実験結果)
図21Aと図21Bを参照して、実験結果について説明する。
図21Aは、従来のPID制御のモデル(比較例)を用いて制御を行った結果である。従来のPID制御では、外乱がない場合には、1自由度の位置制御でも時間遅れがあり若干の誤差が見られた。さらに、従来のPID制御では、外乱が発生すると定常情差として誤差が現れ、外乱の信号に合わせて出力が上にずれていた。なお、図示しない図19BのNN−PIDのみの制御は、フィードフォワード補償により時間遅れを多少解消できていた。しかし、NN−PIDのみの場合、外乱がない場合にはそれほど制御信号とはズレないものの、外乱がある場合には従来のPID制御と同様な結果であり、ロバスト性がなく不十分であった。
図21Bは、本実施例に係るファジィ・ニューラルネットワーク制御を用いた結果である。ファジィ・ニューラルネットワーク制御では、制御対象の非線形要素に対応できると考えられる。すなわち、ファジィ・ニューラルネットワーク制御では外乱あり、外乱なしの両方で指令信号に追従できていたことから、制御ゲインを適応的に調整していると考えられる。このことから、ファジィ・ニューラルネットワーク制御はロバスト性のある制御方法であり、外乱や制御機器の非線形要素に対して有効であった。
(Experimental result)
The experimental results will be described with reference to FIGS. 21A and 21B.
FIG. 21A shows the result of control using a conventional PID control model (comparative example). In the conventional PID control, when there is no disturbance, there is a time delay even in the position control with one degree of freedom, and a slight error is observed. Further, in the conventional PID control, when a disturbance occurs, an error appears as a steady state difference, and the output is shifted upward according to the signal of the disturbance. Note that the control of only NN-PID in FIG. 19B (not shown) was able to eliminate the time delay somewhat by feedforward compensation. However, in the case of only NN-PID, when there is no disturbance, the control signal does not deviate so much, but when there is a disturbance, the result is the same as the conventional PID control, which is not robust and insufficient. .
FIG. 21B shows the result of using the fuzzy neural network control according to the present embodiment. In fuzzy neural network control, it is considered that it can cope with nonlinear elements to be controlled. That is, in the fuzzy neural network control, the control gain can be adaptively adjusted because the command signal can be tracked both with and without disturbance. Therefore, fuzzy neural network control is a robust control method and is effective for disturbances and nonlinear elements of control equipment.

<第2の実施の形態>
〔本発明の第2の実施の形態に係る制御システムYの構成〕
次に、図22〜図30を参照して、本発明の第2の実施の形態に係る制御システムYについて説明する。
本実施形態の制御システムYは、上述の第1の実施の形態に係るインテリジェント・ロバスト制御を用いた「インテリジェント・インピーダンス制御」により、位置制御と力制御を連続的に切り換える「位置と力のハイブリッド/コンプライアンス制御」を行うことで、柔軟な運動特性をロボット等に実現させることができる。これにより、ロボット等を環境特性に順応させつつ、自律的に組立作業をさせられる。
<Second Embodiment>
[Configuration of Control System Y According to Second Embodiment of the Present Invention]
Next, a control system Y according to a second embodiment of the present invention will be described with reference to FIGS.
The control system Y of this embodiment is a “position / force hybrid” that continuously switches between position control and force control by “intelligent impedance control” using the intelligent robust control according to the first embodiment described above. By performing “/ compliance control”, a flexible motion characteristic can be realized in a robot or the like. As a result, the assembly work can be autonomously performed while adapting the robot or the like to the environmental characteristics.

まず、図22を参照して、第2の実施の形態に係る制御システムYの構成について説明する。図22において、図2の第1の実施の形態に係る制御システムXと同じ符号の部位は同様の構成を示している。
知能コントローラ部5は、第1の実施の形態に係るICS部10と同様に、インテリジェント・インピーダンス制御に用いるための組み込み型コンピュータである。知能コントローラ部5の詳細構成については後述する。
制御対象6は、第1の実施の形態に係る制御対象2と同様に、外乱の影響を受け、位置制御と力制御が必要になる具体的な制御対象部位である。本実施形態では、制御対象6として、主に多関節アームのロボットを用いる例について説明する。なお、制御対象6としては、ロボットに限られず、例えば、物体を把持したり押下したりといった各種作業にて力を加える制御対象であれば、どのようなものでも用いることができる。
画像音声入力部70は、CCDやCMOS素子等の撮像手段と、コンデンサマイクとA/Dコンバータ等の音声入力手段を備えた、画像と音声を入力する部位である。画像音声入力部70としては、ロボット61の動作位置を画像認識可能で、あまり画像解像度が高くなくてもよい、一般的なウェブカメラ等を用いることができる。
First, the configuration of the control system Y according to the second embodiment will be described with reference to FIG. In FIG. 22, the same reference numerals as those in the control system X according to the first embodiment in FIG.
The intelligent controller unit 5 is an embedded computer for use in intelligent impedance control, like the ICS unit 10 according to the first embodiment. The detailed configuration of the intelligent controller unit 5 will be described later.
Similar to the control target 2 according to the first embodiment, the control target 6 is a specific control target part that is affected by a disturbance and requires position control and force control. In the present embodiment, an example in which an articulated arm robot is mainly used as the control target 6 will be described. The control target 6 is not limited to the robot, and any control target 6 can be used as long as it is a control target to which force is applied in various operations such as gripping or pressing an object.
The image / sound input unit 70 is a part for inputting an image and sound, which includes image pickup means such as a CCD or CMOS element, and sound input means such as a condenser microphone and an A / D converter. As the image / sound input unit 70, a general web camera or the like that can recognize the operation position of the robot 61 and does not need to have a high image resolution can be used.

〈制御対象6の構成〉
制御対象6は、サーボコントローラ60、ロボット61、及び力センサ62を備えている。
サーボコントローラ60は、第1の実施の形態に係るモータ駆動ドライバ20と同様、各種指令により、ロボット61の動作を制御するための回路である。サーボコントローラ60は、知能コントローラ部5から逆運動学に係る位置指令θ(k)を受信し、ロボット61に、ハンド及びアーム等の各関節の角度である関節角θに係る電気信号を出力する。また、サーボコントローラ60は、ロボット61からのトルクτに係る信号から角関節の位置や角度を算出し、変位qとして知能コントローラ部5に送信する。
<Configuration of control object 6>
The control target 6 includes a servo controller 60, a robot 61, and a force sensor 62.
The servo controller 60 is a circuit for controlling the operation of the robot 61 by various commands, like the motor drive driver 20 according to the first embodiment. The servo controller 60 receives a position command θ (k) related to inverse kinematics from the intelligent controller unit 5 and outputs an electrical signal related to a joint angle θ, which is an angle of each joint such as a hand and an arm, to the robot 61. . Further, the servo controller 60 calculates the position and angle of the corner joint from the signal related to the torque τ from the robot 61, and transmits it to the intelligent controller unit 5 as the displacement q.

ロボット61は、1軸のロボットハンド及び物体を把持して3次元空間内の位置を4軸等で移動させるアーム等を備えた、多関節のロボット等である。
ロボット61は、物体を把持して物体の填め込み、ネジ孔作成、ネジ留め、溶接等の各種作業を行わせることができる。
ロボット61は、各関節のモータやアクチュエータの関節位置や負荷等に係るデータであるトルクτをサーボコントローラに出力する。ロボット61として、軸数:5、移動精度:0.1mm程度のアームロボット、例えば、三菱電機社製のマイクロロボット「MOVEMASTER RV−M2」等を用いることが可能である。
The robot 61 is a multi-joint robot or the like that includes a one-axis robot hand and an arm that grips an object and moves a position in a three-dimensional space by four axes.
The robot 61 can perform various operations such as gripping an object, filling the object, creating a screw hole, screwing, and welding.
The robot 61 outputs torque τ, which is data related to the joint positions and loads of the motors and actuators of each joint, to the servo controller. As the robot 61, it is possible to use an arm robot having a number of axes of 5 and a movement accuracy of about 0.1 mm, for example, a micro robot “MOVEMASTER RV-M2” manufactured by Mitsubishi Electric Corporation.

力センサ62は、例えば、6軸の力覚センサを用いることができる。力センサ62は、例えば、X,Y,Z軸それぞれに対し力とモーメントとを検出可能である。力センサ62としては、例えば、株式会社ワコーテック製の「6軸力覚センサ WDF−6A200−4−UG2」等を用いることができる。   As the force sensor 62, for example, a six-axis force sensor can be used. For example, the force sensor 62 can detect a force and a moment for each of the X, Y, and Z axes. As the force sensor 62, for example, “6-axis force sensor WDF-6A200-4-UG2” manufactured by Wako Tech Co., Ltd. can be used.

(ICS部50の構成)
次に、図23を参照して、ICS部50の詳細な制御構成について説明する。
図23において、第1の実施の形態に係るICS部10(図3)と同じ符号の部位は同様の構成を示している。
具体的に、ICS部50は、FNNの処理に係る部位として位置指令系51(位置制御系のファジィ・ニューラルネットワーク)及び力指令系52(力制御系のファジィ・ニューラルネットワーク)の二系統を備えて、これらを連続的に切り換える切換部135を備えている。
ICS部50は、これに加えて、画像認識部710、及び音声認識部720を備えている。
(Configuration of ICS unit 50)
Next, a detailed control configuration of the ICS unit 50 will be described with reference to FIG.
In FIG. 23, the site | part of the same code | symbol as the ICS part 10 (FIG. 3) which concerns on 1st Embodiment has shown the same structure.
Specifically, the ICS unit 50 includes two systems of a position command system 51 (position control system fuzzy neural network) and a force command system 52 (force control system fuzzy neural network) as parts related to the processing of the FNN. In addition, a switching unit 135 that continuously switches these is provided.
In addition to this, the ICS unit 50 includes an image recognition unit 710 and a voice recognition unit 720.

位置指令系51は、第1の実施の形態に係るICS部10(図3)でのインテリジェント・ロバスト制御と同様に、制御対象6の位置制御に用いるためのFNN処理を行う部位である。
位置指令系51は、上述の第1の実施の形態と同様に、サーボコントローラ60への位置指令θ(k)から得られた変位qを用いて、逆運動学に係る変位(y)、速度(dy/dx)、加速度(d2y/dt2)の各信号を算出し、FNN処理を行う。この位置指令θ(k)は、ロボット61が把持する物体を移動させる座標を、例えば、ロボット61の各関節角の角度や位置等により算出して表現する値である。
The position command system 51 is a part that performs FNN processing for use in position control of the controlled object 6, similarly to the intelligent robust control in the ICS unit 10 (FIG. 3) according to the first embodiment.
As in the first embodiment, the position command system 51 uses the displacement q obtained from the position command θ (k) to the servo controller 60, and uses the displacement k (y) and speed related to inverse kinematics. Each signal of (dy / dx) and acceleration (d 2 y / dt 2 ) is calculated, and FNN processing is performed. The position command θ (k) is a value that expresses the coordinates for moving the object gripped by the robot 61 by, for example, the angle and position of each joint angle of the robot 61.

力指令系52は、制御対象6の力制御に用いるための部位である。力指令系52は、位置指令系51と同様の構成により、制御対象6の力センサ62から得た力データfを用いてFNN処理を行う。
具体的に、力指令系52は、力センサ62からの力データfから、順運動学に係る力(y)、粘性(dy/dx)、剛性(d2y/dt2)の各信号を、それぞれ、変位、速度、加速度の代わりに算出してFNN処理を行う。
このため、力指令系52は、位置指令系51のPID部110に対応するPID部510、PD補償器部111に対応するPD補償器部511、FF−NN部120に対応するFF−NN部520(フィードフォワード手段)、FB−FN部130に対応するFB−FN部530(フィードバック手段)、ファジィPD部131に対応するファジィPD部531、ファジィPI部132に対応するファジィPI部532、差分部140に対応する差分部540、速度算出部141に対応する粘性算出部541、及び加速度算出部142に対応する剛性算出部542を備えている。
粘性算出部541は、力fから粘性を算出する部位である。この粘性としては、後述するように力センサ62が6軸の力覚センサである場合、6×6の行列から算出することができる。
剛性算出部542は力fから剛性を算出する部位である。この剛性についても、6×6の行列から算出することができる。
The force command system 52 is a part used for force control of the control target 6. The force command system 52 performs FNN processing using force data f obtained from the force sensor 62 of the control target 6 with the same configuration as the position command system 51.
Specifically, the force command system 52 receives signals (force (y), viscosity (dy / dx), stiffness (d 2 y / dt 2 )) relating to forward kinematics from the force data f from the force sensor 62. In this case, FNN processing is performed by calculating instead of displacement, velocity, and acceleration.
For this reason, the force command system 52 includes a PID unit 510 corresponding to the PID unit 110 of the position command system 51, a PD compensator unit 511 corresponding to the PD compensator unit 111, and an FF-NN unit corresponding to the FF-NN unit 120. 520 (feed forward means), FB-FN section 530 (feedback means) corresponding to the FB-FN section 130, fuzzy PD section 531 corresponding to the fuzzy PD section 131, fuzzy PI section 532 corresponding to the fuzzy PI section 132, difference A difference calculating unit 540 corresponding to the unit 140, a viscosity calculating unit 541 corresponding to the speed calculating unit 141, and a stiffness calculating unit 542 corresponding to the acceleration calculating unit 142.
The viscosity calculation unit 541 is a part that calculates the viscosity from the force f. This viscosity can be calculated from a 6 × 6 matrix when the force sensor 62 is a six-axis force sensor as described later.
The rigidity calculation unit 542 is a part that calculates rigidity from the force f. This stiffness can also be calculated from a 6 × 6 matrix.

切換部135は、位置制御から力制御に切り換えるため、位置と力のハイブリッド/コンプライアンス制御によって力制御系52の出力を連続的に調整する部位である。
切換部135は、力fから求めた剛性Kh(パラメータα)の値により、力制御系52の出力を変更することができる。これにより、連続的に位置制御から力制御に切り換える位置と力のハイブリッド/コンプライアンス制御を実現する。この位置と力のハイブリッド/コンプライアンス制御の詳細については後述する。
また、切換部135は、剛性Kh(パラメータα)の値により力制御の出力を変更する「通常モード」の他に、制御部11(図22)からの切換指令により、剛性Kh(パラメータα)の値に関わらず、力制御及び位置制御を行う「離脱モード」に切り換えることも可能である。これらのモードにより、部品等の取り付けに失敗した場合でも、柔軟に対応可能となる。
なお、切換部135は、変位qから算出した加速度の値により、力指令系52の出力を調整してもよい。また、切換部135は、力制御系52のみならず位置制御系51の出力を含めて変更する構成も可能であるものの、力制御系52の出力を変更する方が位置と力のハイブリッド/コンプライアンス制御を好適に実現できる。
The switching unit 135 is a part that continuously adjusts the output of the force control system 52 by position / force hybrid / compliance control in order to switch from position control to force control.
The switching unit 135 can change the output of the force control system 52 according to the value of the stiffness K h (parameter α) obtained from the force f. This realizes a hybrid position / force hybrid / compliance control that continuously switches from position control to force control. Details of this position / force hybrid / compliance control will be described later.
In addition to the “normal mode” in which the output of the force control is changed depending on the value of the stiffness K h (parameter α), the switching unit 135 receives the stiffness K h (parameter Regardless of the value of α), it is possible to switch to the “disengagement mode” in which force control and position control are performed. With these modes, even if the attachment of components or the like fails, it is possible to flexibly cope with them.
Note that the switching unit 135 may adjust the output of the force command system 52 based on the acceleration value calculated from the displacement q. In addition, although the switching unit 135 can be changed to include not only the force control system 52 but also the output of the position control system 51, the change of the output of the force control system 52 is better when the position / force is hybrid / compliance. Control can be suitably realized.

画像認識部710は、画像音声入力部70からの画像データの画像処理を行って、ロボット61が把持する物体を移動させるための位置指令θ(k)を設定するための演算部位である。画像認識部710は、制御装置3により設定された、物体を載置する箇所の所定形状を認識して、移動させる座標を設定する。この上で、制御部11(図22)は、この移動させる座標からθ(k)を設定できる。
なお、移動させる座標は、制御装置3が設定することも、ICS部50の差分部140で算出、設定することもできる。
The image recognition unit 710 is an operation part for performing image processing of the image data from the image / sound input unit 70 and setting a position command θ (k) for moving an object held by the robot 61. The image recognizing unit 710 recognizes a predetermined shape set by the control device 3 at the place where the object is placed, and sets the coordinates to be moved. On this basis, the control unit 11 (FIG. 22) can set θ (k) from the coordinates to be moved.
The coordinates to be moved can be set by the control device 3 or can be calculated and set by the difference unit 140 of the ICS unit 50.

音声認識部720は、画像音声入力部70からの信号を入力して音声認識する部位である。これにより、音声認識部720は、認識結果を制御装置3に送信して、位置指令θ(k)を設定してもよい。   The voice recognition unit 720 is a part that recognizes voice by inputting a signal from the image / sound input unit 70. Thereby, the voice recognition unit 720 may transmit the recognition result to the control device 3 and set the position command θ (k).

〔制御システムXのICS部50の開発/学習処理〕
次に、図24と図25を参照して、本発明の第2の実施の形態に係る制御システムYにおいて、ICS部50を学習させ、制御対象6の制御に最適化するための開発/学習処理について説明する。
まず、このICS部50の開発/学習処理としては、上述の第1の実施の形態に係る開発/学習処理(図5)と同様の処理を行う。
この上で、第1の実施の形態のステップS102のFF−NN逆ダイナミックス処理と同様の処理を位置指令系51に行った上で力指令系52に対して行う二系統FF−NN(フィードフォワードニューラルネット)逆ダイナミックス処理を行う。
以下で、図25のフローチャートを参照して、この二系統FF−NN逆ダイナミックス処理の詳細について説明する。
[Development / learning process of ICS unit 50 of control system X]
Next, with reference to FIG. 24 and FIG. 25, in the control system Y according to the second embodiment of the present invention, the development / learning for learning the ICS unit 50 and optimizing the control of the controlled object 6 Processing will be described.
First, as the development / learning process of the ICS unit 50, the same process as the development / learning process (FIG. 5) according to the first embodiment is performed.
Then, the same processing as the FF-NN reverse dynamics processing in step S102 of the first embodiment is performed on the position command system 51, and then the dual command FF-NN (feed) is performed on the force command system 52. Forward neural network) Performs reverse dynamics processing.
The details of this dual-system FF-NN inverse dynamics process will be described below with reference to the flowchart of FIG.

〈二系統FF−NN逆ダイナミックス処理の詳細〉
(ステップS211)
まず、知能コントローラ部5の制御部11は、位置指令系FF−NN用意処理を行う。この処理は、第1の実施の形態に係るステップS201のFF−NN用意処理(図8)と同様の処理を、制御対象2の変位rの代わりに、制御対象6の変位qを用い、位置指令に対して行う。
<Details of dual-line FF-NN reverse dynamics processing>
(Step S211)
First, the control unit 11 of the intelligent controller unit 5 performs a position command system FF-NN preparation process. This process is the same as the FF-NN preparation process (FIG. 8) in step S201 according to the first embodiment, using the displacement q of the control target 6 instead of the displacement r of the control target 2, To the directive.

(ステップS212)
次に、知能コントローラ部5の制御部11は、位置指令系FF−NN学習処理を行う。この処理についても、第1の実施の形態に係るステップS202のFF−NN学習処理(図8)と同様の処理を変位rの代わり変位qを用いて行う。
(Step S212)
Next, the control unit 11 of the intelligent controller unit 5 performs a position command system FF-NN learning process. Also for this process, the same process as the FF-NN learning process (FIG. 8) in step S202 according to the first embodiment is performed using the displacement q instead of the displacement r.

(ステップS213)
次に、知能コントローラ部5の制御部11は、ICS部50のPD補償器部511等を用いて、力指令系FF−NN用意処理を行う。
ここでは、上述のステップS211と同様に、制御対象6の特性を把握し、制御システムYの特性を線形化するための学習を行う。
具体的には、従来の古典PD補償器であPD補償器部111と同様のPD補償器部511を用いて、制御対象6の特性を把握する試験を行い、力指令に対応する力fから各軸に対応する力(y)、粘性(dy/dx)、剛性(d2y/dt2)の各信号を収得する。
この取得においては、差分部540の粘性算出部541により粘性を、剛性算出部542により剛性を算出する。
この際に、PDゲインは制御対象6が移動可能な小さい値とする。
なお、粘性、剛性の信号は、力fの信号収得後、オフラインにて数値演算処理により算出してもよい。
(Step S213)
Next, the control unit 11 of the intelligent controller unit 5 performs a force command system FF-NN preparation process using the PD compensator unit 511 of the ICS unit 50 and the like.
Here, as in step S211, the characteristics of the controlled object 6 are grasped, and learning for linearizing the characteristics of the control system Y is performed.
Specifically, using a PD compensator unit 511 similar to the PD compensator unit 111 which is a conventional classical PD compensator, a test for grasping the characteristics of the controlled object 6 is performed, and the force f corresponding to the force command is determined. Each signal of force (y), viscosity (dy / dx), and rigidity (d 2 y / dt 2 ) corresponding to each axis is acquired.
In this acquisition, the viscosity is calculated by the viscosity calculation unit 541 of the difference unit 540 and the rigidity is calculated by the rigidity calculation unit 542.
At this time, the PD gain is set to a small value at which the control target 6 can move.
Note that the viscosity and stiffness signals may be calculated by numerical calculation processing offline after obtaining the signal of the force f.

より具体的には、制御部11は、ニューラルネットワークの入力として上述の力指令に対応し収得した力、粘性、剛性のデータを入力する。データとしては、上述の位置指令系FF−NN学習処理と同様に、1秒間に100程度あれば好適に学習できる。すなわち、サンプリング周波数10msec程度が好適である。
また、制御部11は、ニューラルネットワークの学習に必要なソフトウェアを上述の第1の実施の形態と同様に、例えば、MATLAB用のニューラルネットワーク生成コマンドを入力して、準備することができる。
More specifically, the control unit 11 inputs force, viscosity, and rigidity data acquired in response to the above-described force command as an input of the neural network. As the data, as in the above-described position command system FF-NN learning process, it can be suitably learned if it is about 100 per second. That is, a sampling frequency of about 10 msec is suitable.
Further, the control unit 11 can prepare software necessary for learning of the neural network by inputting a neural network generation command for MATLAB, for example, as in the first embodiment.

この際、制御部11は、P=力、粘性、剛性、T=教師信号としてニューラルネットワーク生成コマンドを準備することができる。
また、教師信号は操作信号yとし、特性把握に必要な時間を3周期程度とすることができる。
At this time, the control unit 11 can prepare a neural network generation command with P = force, viscosity, stiffness, and T = teacher signal.
Further, the teacher signal can be the operation signal y, and the time required for grasping the characteristics can be set to about three cycles.

MATLABによりニューラルネットワークの学習が終了すると、ニューラルネットワークのブロックであるFF−NN部520が生成される。このFF−NN部520を制御ブロックとして使用する。   When learning of the neural network is completed by MATLAB, an FF-NN unit 520 that is a block of the neural network is generated. This FF-NN unit 520 is used as a control block.

(ステップS214)
次に、知能コントローラ部5の制御部11は、力指令系FF−NN学習処理を行う。
この処理は、上述のステップS212と同様に、制御対象6の力データfを用いて、力指令に対して行う。
具体的に、このFB−FN学習処理として、第1の実施の形態と同様に、シングルトン出力メンバーシップ関数を使用した位置指令と力指令に係るFB−FN学習を行う。
これは、ダイナミックスな非線形システムの種々の操作条件に適用する複数の線形コントローラを内挿的に組み込む推論の処理となる。この推論により、入力空間をスムーズに内挿して線形ゲインを求め、効果的なゲインスケジューラとし、非線形システムをモデル化できる。
具体的には、ファジィPIDコントローラであるFB−FN部130により上述の位置指令又はデータを用いて学習させ、位置に係るフィードバック補償を行う。また、同様にファジィPIDコントローラであるFB−FN部530を用いて、力に係るフィードバック補償を行う。これにより、取得した非線形誤差信号を減少させる。
より具体的には、上述の第1の実施の形態と同様に、入出力データからバックプロバゲーションを使ってチューニングする。この際、推論システムのパラメータを同定するためのハイブリッドな学習アルゴリズムを使用し、非線形パラメータに対し、最小二乗法とバックプロバゲーション勾配降下法を用いて学習を行う。
以上により、本発明の第2の実施の形態に係る二系統FF−NN逆ダイナミックス処理を終了する。
(Step S214)
Next, the control unit 11 of the intelligent controller unit 5 performs a force command system FF-NN learning process.
This process is performed for the force command using the force data f of the control target 6 as in step S212 described above.
Specifically, as this FB-FN learning process, as in the first embodiment, FB-FN learning related to a position command and a force command using a singleton output membership function is performed.
This is an inference process that interpolates a plurality of linear controllers applied to various operating conditions of a dynamic nonlinear system. By this inference, a linear gain can be obtained by smoothly interpolating the input space, and an effective gain scheduler can be obtained to model a nonlinear system.
Specifically, the FB-FN unit 130, which is a fuzzy PID controller, learns using the position command or data described above, and performs feedback compensation related to the position. Similarly, feedback compensation for force is performed using the FB-FN unit 530 which is a fuzzy PID controller. Thereby, the acquired nonlinear error signal is reduced.
More specifically, as in the first embodiment described above, tuning is performed from input / output data using back-propagation. At this time, a hybrid learning algorithm for identifying parameters of the inference system is used, and learning is performed on the nonlinear parameters using the least square method and the back-propagation gradient descent method.
Thus, the two-line FF-NN inverse dynamics process according to the second embodiment of the present invention is completed.

〈本発明の第2の実施の形態に係る組み立て処理〉
次に、図26と図27とを参照して、本発明の第2の実施の形態に係るインテリジェント・インピーダンス制御を用い、位置と力のハイブリッド/コンプライアンス制御を行って、ロボット61に部品を組み付けさせる組み立て処理の詳細について説明する。
<Assembly processing according to the second embodiment of the present invention>
Next, referring to FIG. 26 and FIG. 27, the position / force hybrid / compliance control is performed using the intelligent impedance control according to the second embodiment of the present invention, and the parts are assembled to the robot 61. Details of the assembly process to be performed will be described.

従来から、産業用ロボットの組み立て作業は、部品の組付け時に部品同士の接触を伴うために、単純な位置制御では対応できず、力制御が必要になる。しかしながら、産業界では、力制御の適応事例は少なかった。これは、力センサが高価であるのと、力制御のパラメータ調整が難しいためであった。
従来の力制御として、コンプライアンス(柔らかさ)制御を実用化した例が存在するものの、位置制御と力制御の切り換えがスムーズにできないという問題があった。
これに対して、本実施形態の制御システムYは、知能コントローラ部5を用いて、インテリジェント・インピーダンス制御によって、位置制御〜位置と力のハイブリッド/コンプライアンス制御〜力制御をスムーズに切り換えて、組み立てを行わせることが可能となる。
Conventionally, the assembly work of an industrial robot involves contact between parts when the parts are assembled, and thus cannot be handled by simple position control, and force control is required. However, in the industry, there were few application examples of force control. This is because the force sensor is expensive and it is difficult to adjust parameters for force control.
Although there is an example in which compliance (softness) control is put to practical use as conventional force control, there is a problem that switching between position control and force control cannot be performed smoothly.
On the other hand, the control system Y of this embodiment uses the intelligent controller unit 5 to smoothly switch from position control to position / force hybrid / compliance control to force control by intelligent impedance control. It is possible to make it happen.

まず、図26を参照して、本発明の第2の実施の形態に係る位置と力のハイブリッド/コンプライアンス制御の具体例について説明する。
図26(a)は、本実施形態の位置と力のハイブリッド/コンプライアンス制御を用いて、力センサ62を備えたロボット61により、ワークピン等の部品であるピン800を取付孔810に取り付ける概念を示す。本実施形態の知能コントローラ部5は、この取り付けのタスク動作の際、まず、位置指令によりピン800を移動させ、取付孔810に接触させる。その後、知能コントローラ部5は、位置制御と力制御とを同時に行う位置と力のハイブリッド/コンプライアンス制御によりピン800の取り付けを調整する。位置と力の調整が終わった後、知能コントローラ部5は、主に力指令のみにより押しつけることで、最終的な取り付けを行う。すなわち、位置と力のハイブリッド/コンプライアンス制御により、位置制御と力制御を連続的に、スムーズに切り換えることができる。
知能コントローラ部5は、画像音声入力部70によりピン800を把持し、取付孔810の位置を認識して位置制御を行い、ロボット61を、取付孔810まで移動させる。ここで、ピン800が取付孔810に接触した際、位置が多少ずれていたとしても、知能コントローラ部5が力制御に自動的に切り換え、スムーズに取り付けることができる。
図26(b)は、力センサ62が6軸の場合における、ワークピンに係るコンプライアンス(柔らかさ)のモデルについての概念図である。このコンプライアンスについて、詳細は後述する。
以下、図27を参照して、本実施形態に係る位置制御、位置と力のハイブリッド/コンプライアンス制御、及び力制御を用いた組み立て処理の詳細についてステップ毎に説明する。
First, a specific example of position / force hybrid / compliance control according to the second embodiment of the present invention will be described with reference to FIG.
FIG. 26A shows the concept of attaching a pin 800, which is a component such as a work pin, to the attachment hole 810 by the robot 61 having the force sensor 62 using the position / force hybrid / compliance control of the present embodiment. Show. In the task operation of attachment, the intelligent controller unit 5 of the present embodiment first moves the pin 800 according to a position command to contact the attachment hole 810. Thereafter, the intelligent controller unit 5 adjusts the mounting of the pin 800 by position / force hybrid / compliance control that simultaneously performs position control and force control. After the adjustment of the position and force is completed, the intelligent controller unit 5 performs final attachment mainly by pressing only with a force command. That is, position control and force control can be continuously and smoothly switched by hybrid position / force / compliance control.
The intelligent controller unit 5 holds the pin 800 by the image / sound input unit 70, recognizes the position of the mounting hole 810, performs position control, and moves the robot 61 to the mounting hole 810. Here, when the pin 800 contacts the mounting hole 810, even if the position is slightly shifted, the intelligent controller unit 5 automatically switches to force control and can be mounted smoothly.
FIG. 26B is a conceptual diagram of a compliance (softness) model related to work pins when the force sensor 62 has six axes. Details of this compliance will be described later.
Hereinafter, with reference to FIG. 27, the details of the assembly process using the position control, the position / force hybrid / compliance control, and the force control according to the present embodiment will be described step by step.

(ステップS501)
まず、知能コントローラ部5の制御部11は、ICS部50の位置指令系51を主に用いて、接近接触動作制御処理を行う。
具体的には、制御部11は、制御装置3の指示により、画像音声入力部70によりピン800の位置を認識して、ロボット61にこれを把持させる。
その後、制御部11は、ピン800を把持したロボット61を、変位qにより上述のソフトウェアサーボ制御処理と同様に位置制御して、取り付け位置となる取付孔810まで移動させる。この際に、力センサ62からの出力はほぼ、把持に係る力fの出力のみとなる。
取付孔810へピン800が接触すると、制御部11は、ロボット61のアームやロボットハンドに加わる力fを検知することができる。
(Step S501)
First, the control unit 11 of the intelligent controller unit 5 performs an approaching contact operation control process mainly using the position command system 51 of the ICS unit 50.
Specifically, the control unit 11 recognizes the position of the pin 800 by the image / sound input unit 70 in accordance with an instruction from the control device 3 and causes the robot 61 to hold it.
Thereafter, the control unit 11 controls the position of the robot 61 holding the pin 800 by the displacement q in the same manner as in the above-described software servo control process, and moves the robot 61 to the mounting hole 810 serving as the mounting position. At this time, the output from the force sensor 62 is almost only the output of the force f related to gripping.
When the pin 800 comes into contact with the mounting hole 810, the control unit 11 can detect the force f applied to the arm of the robot 61 or the robot hand.

(ステップS502)
次に、知能コントローラ部5の制御部11は、ICS部50の位置指令系51から力指令系52に連続的に切り換える押しつけ動作制御処理を行う。
この処理では、制御部11は、ピン800が取付孔810に接触した場合に、変位qと力fから、コンプライアンス値1/Kdを求めて、切換部135に入力する。
ここで、制御部11は、コンプライアンス値1/Kdの変化により、位置指令系51を力指令系52に連続的に切り換える位置と力のハイブリッド/コンプライアンス制御を行うことができる。すなわち、制御部11は、ピン800を位置制御から力制御にスムーズに調整して取り付ける。これにより、ヒトが孔にピンを差し込む時に手に掛かる孔の位置との微妙のズレを感知して押し込みを調整するのと同様の処理を実現できる。
(Step S502)
Next, the control unit 11 of the intelligent controller unit 5 performs a pressing operation control process for continuously switching from the position command system 51 of the ICS unit 50 to the force command system 52.
In this process, when the pin 800 comes into contact with the mounting hole 810, the control unit 11 obtains a compliance value 1 / K d from the displacement q and the force f and inputs it to the switching unit 135.
Here, the control unit 11 can perform position / force hybrid / compliance control by continuously switching the position command system 51 to the force command system 52 by changing the compliance value 1 / Kd . That is, the control unit 11 attaches the pin 800 by smoothly adjusting the position from the position control to the force control. As a result, it is possible to realize the same processing as that for adjusting the push-in by detecting a slight deviation from the position of the hole applied to the hand when the human inserts the pin into the hole.

この制御部11による位置と力のハイブリッド/コンプライアンス制御のために、以下の式(11)のようなモデルを用いる。   For the hybrid position / force hybrid / compliance control by the control unit 11, a model such as the following equation (11) is used.

Figure 2014006566
Figure 2014006566

式(11)においては、X:現在の角関節の位置、Xd:位置指令θ(k)、Mx:実慣性行列、Ba:ダンパー行列、Kd:仮想バネ行列(仮想剛性)、F:力応答、Fd:力指令、S:スイッチング行列 diag(S1,……,S6)、Kf:力ゲイン、E:単位行列を示す。
また、6軸の力センサ62を用いる場合は、S、M、B、Kは、それぞれ6×6の行列となる。
In Expression (11), X: current angular joint position, X d : position command θ (k), M x : real inertia matrix, B a : damper matrix, K d : virtual spring matrix (virtual stiffness), F: force response, F d : force command, S: switching matrix diag (S1,..., S6), K f : force gain, E: unit matrix.
When the 6-axis force sensor 62 is used, S, M, B, and K are each a 6 × 6 matrix.

ここで、本実施形態においては、下記式(12)が第1の実施の形態に係るインテリジェント・ロバスト制御に対応する、インテリジェント・インピーダンス制御の式となる。制御部11は、このインテリジェント・インピーダンス制御を用いて、位置と力のハイブリッド/コンプライアンス制御を行う。   Here, in the present embodiment, the following equation (12) is an intelligent impedance control equation corresponding to the intelligent robust control according to the first embodiment. The control unit 11 performs hybrid position / force / compliance control using this intelligent impedance control.

Figure 2014006566
Figure 2014006566

式(12)においては、Mx2は予めロボット61やピン800の特性等により設定された所定値の実質剛性値である。
また、BaSは、上述の力指令系FF−NN学習処理で学習された仮想粘性である。
また、Kdは、上述の力指令系FF−NN学習処理で学習された仮想剛性である。仮想剛性Kdを1で割った値、1/Kdが、柔らかさを示すコンプライアンス値となる。
In the equation (12), M x S 2 is a predetermined value of the substantial rigidity set in advance according to the characteristics of the robot 61 and the pin 800 or the like.
B a S is the virtual viscosity learned by the above-described force command system FF-NN learning process.
K d is the virtual stiffness learned by the above-described force command system FF-NN learning process. A value obtained by dividing the virtual stiffness K d by 1 and 1 / K d is a compliance value indicating softness.

ここで、制御部11は、切換部135を用いて、力センサ62で測定された力fから各軸に係る剛性Khを算出する。剛性Khは、0から上述の仮想剛性Kdの値に対応するKhmaxまでの値をとる。
以下、この剛性Khの値を、位置制御と力制御を連続的に切り換えるためのパラメータαとする。本実施形態の制御システムYは、この一つのパラメータαを調節するだけで、位置制御、力制御、位置と力のハイブリッド/コンプライアンス制御の三つの制御モードを連続的に設定可能となる。
Here, the control unit 11 uses the switching unit 135 to calculate the stiffness K h related to each axis from the force f measured by the force sensor 62. The rigidity K h takes a value from 0 to K hmax corresponding to the value of the virtual rigidity K d described above.
Hereinafter, the value of the stiffness K h is set as a parameter α for continuously switching between position control and force control. The control system Y of the present embodiment can continuously set three control modes of position control, force control, and position / force hybrid / compliance control only by adjusting this one parameter α.

切換部135におけるパラメータαは、α=Kc/Kh+Kcとして、算出する。
hは、仮想バネ係数を示し、Kh=0〜4000N/m程度の値となる。
また、Kcは定数であり、Khの1/10〜1/20に設定する。すなわち、Kc=100,200,500N/m程度の値を用いる。以下の例では、Khの1/20に設定して、Kc=200とした例を示す。
また、α=1の場合は力制御となり、α≒0の場合は位置制御となる。0≦α<1の場合に、位置と力のコンプライアンス制御となる。
例えば、Kh=4000N/mの場合、α=200/4000+200≒0.05と算出され、位置制御となる。
また、Kh=0N/mの場合、α=200/0+200=1と算出されるため、力制御となる。
The parameter α in the switching unit 135 is calculated as α = K c / K h + K c .
K h represents a virtual spring coefficient, and K h = 0 to 4000 N / m.
Also, K c is a constant, set to 1 / 10-1 / 20 of the K h. That is, a value of about Kc = 100, 200, 500 N / m is used. The following example is set to 1/20 of the K h, showing an example in which Kc = 200.
Further, when α = 1, force control is performed, and when α≈0, position control is performed. When 0 ≦ α <1, position and force compliance control is performed.
For example, when K h = 4000 N / m, α = 200/4000 + 200≈0.05 is calculated, and position control is performed.
Further, in the case of K h = 0 N / m, α = 200/0 + 200 = 1 is calculated, so that force control is performed.

より具体的に説明すると、まず、Kh=Khmax(α=0)の場合には、制御部11は、上述の式(11)を下記式(13)として位置制御を行う。これが、位置指令によりピン800を取付孔810の位置まで移動させる段階にあたる。 More specifically, first, in the case of K h = K hmax (α = 0), the control unit 11 performs position control by setting the above equation (11) as the following equation (13). This corresponds to the stage of moving the pin 800 to the position of the mounting hole 810 by a position command.

Figure 2014006566
Figure 2014006566

次に、0<Kh<Khmax(1>α>0)の場合には、制御部11は、上述の式(11)を下記式(14)として、位置と力のハイブリッド/コンプライアンス制御を行う。これは、ピン800を取付孔810に接触させた際、多少位置がずれていても、力fにより調整しつつ押し込み始める段階にあたる。 Next, in the case of 0 <K h <K hmax (1>α> 0), the control unit 11 changes the above formula (11) to the following formula (14) and performs hybrid position / force hybrid / compliance control. Do. This is the stage where the pin 800 starts to be pushed in while being adjusted by the force f even if the position is slightly shifted when the pin 800 is brought into contact with the mounting hole 810.

Figure 2014006566
Figure 2014006566

最終的に、Kh=0(α=1)の場合には、制御部11は、上述の式(11)を下記式(15)として、力制御を行う。これは、力指令によりピン800が押しつけられる段階にあたる。 Finally, in the case of K h = 0 (α = 1), the control unit 11 performs force control by setting the above equation (11) as the following equation (15). This corresponds to a stage where the pin 800 is pressed by a force command.

Figure 2014006566
Figure 2014006566

(ステップS503)
次に、制御部11は、ICS部50の力指令系52を主に用いて、軸合わせ取り付け動作処理を行う。
具体的には、図26の例では、上述のαがほぼ1の状態が所定秒間続いた場合、力制御に切り換えが済んだとして、力制御のままピン800を取付孔810内にそのまま押し込んでゆく。
この際に、制御部11は、変位qからピン800が確かに取付孔810内に押し込まれているのかを確認する。
(Step S503)
Next, the control unit 11 performs an axis alignment mounting operation process mainly using the force command system 52 of the ICS unit 50.
Specifically, in the example of FIG. 26, if the above-described α is substantially 1 for a predetermined time, it is assumed that switching to force control has been completed, and the pin 800 is pushed into the mounting hole 810 as it is with force control. go.
At this time, the control unit 11 confirms whether the pin 800 is surely pushed into the mounting hole 810 from the displacement q.

(ステップS504)
ここで、制御部11は、ピン800が取付孔810内に取り付けられたか否かを判定する。具体的には、制御部11は、力fが所定値以上で、変位qの所定秒内の変化が所定値以下になり、変位qが取付孔810の挿入後の取り付け位置の座標に対応した値になった際に、取り付け成功としてYesと判定する。それ以外の場合は、取り付け失敗としてNoと判定する。
Yesの場合、制御部11は処理をステップS508に進める。
Noの場合、制御部11は処理をステップS505に進める。
なお、制御部11は、画像音声入力部70で取得した画像等から、取り付け成功を判断してもよい。
(Step S504)
Here, the control unit 11 determines whether or not the pin 800 is attached in the attachment hole 810. Specifically, the control unit 11 determines that the force f is equal to or greater than a predetermined value, the change of the displacement q within a predetermined second is equal to or smaller than the predetermined value, and the displacement q corresponds to the coordinates of the mounting position after the mounting hole 810 is inserted. When the value is reached, it is determined as Yes as a successful attachment. In other cases, No is determined as an attachment failure.
In the case of Yes, the control part 11 advances a process to step S508.
In No, the control part 11 advances a process to step S505.
The control unit 11 may determine the attachment success from the image acquired by the audio / video input unit 70 or the like.

(ステップS505)
ピン800の取り付けが失敗した場合、制御部11は、力解除動作処理を行う。
具体的には、制御部11は、取り付け位置を調整するため、力制御を解除する。このため、切換部135に、力fが所定値以上であっても位置制御も行う離脱モードにするよう指示する。
(Step S505)
When the attachment of the pin 800 fails, the control unit 11 performs a force release operation process.
Specifically, the control unit 11 cancels the force control in order to adjust the attachment position. Therefore, the switching unit 135 is instructed to enter the separation mode in which position control is performed even when the force f is equal to or greater than a predetermined value.

(ステップS506)
次に、制御部11は、離脱動作処理を行う。
この処理において、制御部11は、例えば、ピン800を引き上げるといった、新たな座標に係る位置指令を行う。
この際、制御部11は、位置制御と、位置と力のハイブリッド/コンプライアンス制御を併用して、ピン800を移動させることが好適である。これにより、取り付け位置がずれて、孔に予期しない角度でピン800が引っかかった場合等でも、スムーズに取り外すことができる。
(Step S506)
Next, the control unit 11 performs a detachment operation process.
In this process, the control unit 11 issues a position command related to a new coordinate, for example, pulling up the pin 800.
At this time, it is preferable that the control unit 11 moves the pin 800 by using both position control and position / force hybrid / compliance control. Thereby, even when the mounting position is shifted and the pin 800 is caught in the hole at an unexpected angle, it can be removed smoothly.

(ステップS507)
次に、制御部11は、回転動作処理を行う。
具体的に、制御部11はロボット61が新たな座標に到達した場合、切換部135を「離脱モード」から「通常モード」に変更する。
この上で、制御部11は、所定のパターンに従って、取り付け位置に係る座標を微調整する。このため、位置指令θ(k)を所定角度づつ回転等させる。
その後、制御部11は、処理をステップS501に戻して、取り付け作業をリトライする。
なお、所定回数のリトライを行っても、取り付け失敗した場合には、制御部11は、エラー処理を行うことができる。
(Step S507)
Next, the control unit 11 performs a rotation operation process.
Specifically, when the robot 61 reaches a new coordinate, the control unit 11 changes the switching unit 135 from “leave mode” to “normal mode”.
Then, the control unit 11 finely adjusts the coordinates related to the attachment position according to a predetermined pattern. For this reason, the position command θ (k) is rotated by a predetermined angle.
Then, the control part 11 returns a process to step S501, and retries attachment work.
If the attachment fails even after performing a predetermined number of retries, the control unit 11 can perform error processing.

(ステップS508)
ピン800の取り付けが成功した場合、制御部11は、組み付け動作処理を行う。
この処理においては、制御部11は、挿入され係止されたピン800を螺着したり、溶接したり、リベット撃ちをしたり、更に押し込んでノッチをかけたりといった、部品の最終的な組み付けに係る動作を行う。
以上により、組み立て処理を終了する。
(Step S508)
When the attachment of the pin 800 is successful, the control unit 11 performs an assembly operation process.
In this process, the control unit 11 performs final assembly of parts such as screwing, welding, rivet shooting, and further pressing to insert and locked the pin 800 inserted and locked. Perform this operation.
This completes the assembly process.

以上のように構成することで、以下のような効果を得ることができる。
近年、産業界で環境変化に柔軟に対応できる制御装置が待望されていた。
ここで、従来は、国内外のロボット等では、位置と力の制御をそれぞれ別途用いて行われていた。しかしながら、力制御の最適パラメータ調整が難しいため、位置と力の制御の切り換えがスムーズにできないという問題があった。
本発明の第2の実施の形態に係る制御システムYは、インテリジェント・インピーダンス制御により、位置制御と力制御の間を、位置と力のハイブリッド/コンプライアンス制御により滑らかに連続的に切り換えることが可能となる。また、インテリジェント・インピーダンス制御においては、第1の実施の形態に係るインテリジェント・ロバスト制御と同様、各種最適パラメータの設定を自動的に行うことができる。これにより、柔軟な運動特性をもつロボットを実現させることができる。当該ロボットは、環境の特性に順応しながら、しなやかな動作により自律的に組立作業を行うことができる。
また、本実施形態に係る制御システムYは、ファジィ・ニューラルネットワークの学習によってインピーダンス制御のパラメータを自動設定でき、インテリジェント制御によりロバスト性のあるインピーダンス制御を実現することができる。これにより、ロボットマニピュレータおよびメカニカルシステムに対するインテリジェント・インピーダンス制御システムを実用することができ、制御に係る産業用の装置へ広く応用することができる。特に、環境の特性に順応しながら、しなやかな動作によりスキルを獲得する、ロバストな自律型インテリジェントシステムにより、一体のロボットに、調整を必要せずに各種組立作業を行わせることができる。
以上をまとめると、本実施形態に係る制御システムYは、ファジィ・ニューラルネットワークを用いた制御によるインテリジェント・インピーダンス制御により、位置と力のハイブリッド/コンプライアンス制御モードを滑らかに連続的に切り換えることができる。また、制御システムYは、各種最適パラメータの設定がオフライン学習により自動化されている。これにより、柔軟な運動特性をロボットに実現させることができ、環境の特性に順応しながら、しなやかな動作により自律的に組立作業ができる。
With the configuration described above, the following effects can be obtained.
In recent years, there has been a long-awaited demand for a control device that can flexibly respond to environmental changes in the industrial world.
Here, conventionally, in domestic and overseas robots and the like, position and force control are separately performed. However, since it is difficult to adjust optimal parameters for force control, there is a problem that switching between position and force control cannot be performed smoothly.
The control system Y according to the second embodiment of the present invention can switch between position control and force control smoothly and continuously by position / force hybrid / compliance control by intelligent impedance control. Become. In the intelligent impedance control, various optimum parameters can be automatically set as in the intelligent robust control according to the first embodiment. Thereby, a robot having flexible motion characteristics can be realized. The robot can autonomously perform assembling work by a flexible operation while adapting to environmental characteristics.
In addition, the control system Y according to the present embodiment can automatically set impedance control parameters by learning a fuzzy neural network, and can realize robust impedance control by intelligent control. Thereby, the intelligent impedance control system for the robot manipulator and the mechanical system can be put into practical use, and can be widely applied to industrial devices related to control. In particular, a robust autonomous intelligent system that adapts to the characteristics of the environment and acquires skills through supple movements allows an integrated robot to perform various assembly tasks without the need for adjustments.
In summary, the control system Y according to the present embodiment can smoothly and continuously switch the position / force hybrid / compliance control mode by intelligent impedance control by control using a fuzzy neural network. In the control system Y, setting of various optimum parameters is automated by offline learning. As a result, the robot can realize flexible motion characteristics, and can assemble autonomously by a flexible operation while adapting to the environmental characteristics.

〔実施例2〕
ここで、実施例2として、図28A〜図30を参照して、上述のインテリジェント・インピーダンス制御を用いた実験例について説明する。
実施例2では、インテリジェント・インピーダンス制御による、位置制御、位置と力のハイブリッド/コンプライアンス制御、力制御の切り換えの効果を示すため、制御対象6のロボット61の代わりにより単純化した装置である制御対象7を用いた。
図28A及び図28Bによると、実施例2の制御対象7は、第1の実施の形態の制御対象2と同様の構成の移動テーブルを用いて、力センサ62の代わりに歪ゲージ63により制御を行った例である。
すなわち、実施例2では、移動するテーブル210と、その先に設置した金属板211との間に物体801を位置制御により挟み、物体801にも制御対象7に負荷をかけず、位置制御〜位置と力のハイブリッド/コンプライアンス制御〜力制御により把持する実験を行った。
これは、ロボット61のロボットハンドで物体801を把持する際の1軸の制御に対応する。
[Example 2]
Here, as Example 2, an experimental example using the above-described intelligent impedance control will be described with reference to FIGS. 28A to 30.
In the second embodiment, in order to show the effects of position control, position / force hybrid / compliance control, and force control switching by intelligent impedance control, the control target is a simplified device instead of the robot 61 of the control target 6. 7 was used.
According to FIG. 28A and FIG. 28B, the control object 7 of Example 2 is controlled by the strain gauge 63 instead of the force sensor 62, using a moving table having the same configuration as the control object 2 of the first embodiment. This is an example.
In other words, in the second embodiment, the object 801 is sandwiched by position control between the moving table 210 and the metal plate 211 installed at the end, and the load is not applied to the control target 7 in the object 801 as well. And force hybrid / compliance control to force control.
This corresponds to one-axis control when the object 801 is gripped by the robot hand of the robot 61.

なお、ICS部50を含むそれ以外の構成は、上述した第2の実施の形態に係る制御システムYと同様である。
すなわち、ICS部50のOSには、Linux(登録商標)+Xenomai(商標)を用いており、リアルタイムでの制御が可能である。パソコンである制御装置3は、知能コントローラ部5とLANクロスケーブルにより直接接続して、イーサネット(登録商標)で通信を行った。
The rest of the configuration including the ICS unit 50 is the same as that of the control system Y according to the second embodiment described above.
That is, the OS of the ICS unit 50 uses Linux (registered trademark) + Xenomai (trademark), and can be controlled in real time. The control device 3 which is a personal computer is directly connected to the intelligent controller unit 5 by a LAN cross cable and communicates by Ethernet (registered trademark).

(実験方法)
まず、上述の第2の実施の形態に係る二系統FF−NN逆ダイナミックス処理(図25)により、把持する物体801の特性の違いについて学習させた。
ここで、本実施例で着目したのは物体801の柔らかさの違いであり、物体801として柔らかさの異なる実験対象を準備した。
具体的には、市販の発泡スチロール(デスクトップパソコン用補強材、エプソン製)、積み木、スポンジ、バネ、チョーク、ぬいぐるみ(Mistletoe(商標)2001、Ty INC製)を用意した。いずれも容易に入手可能で一般的な素材を用いた。
実験の結果は、上述のVCDesignerを用いて、リアルタイムで制御装置3に表示されるようにした。この結果としては、モータ230が動作する指令信号である電圧(V)、歪ゲージ63から出力される電圧(V)が表示される。
(experimental method)
First, the difference in characteristics of the object 801 to be grasped was learned by the two-line FF-NN inverse dynamics process (FIG. 25) according to the second embodiment described above.
Here, attention is paid to the difference in softness of the object 801 in this embodiment, and test objects having different softness are prepared as the object 801.
Specifically, commercially available polystyrene (reinforcing material for desktop personal computers, manufactured by Epson), building blocks, sponges, springs, chalk, and stuffed animals (Mistletoe ™ 2001, manufactured by Ty INC) were prepared. All were easily available and used general materials.
The result of the experiment was displayed on the control device 3 in real time using the above-described VCDdesigner. As a result, a voltage (V) that is a command signal for operating the motor 230 and a voltage (V) output from the strain gauge 63 are displayed.

図29A〜図29Cは、この実験の結果を示すグラフである。
それぞれ、図29Aはスポンジでの実験結果、図29Bは積み木での実験結果、図29Cはぬいぐるみでの実験結果の代表例を示す。このように、本実施例において、各物体は所定時間経過後に安定して把持されることが分かる。
29A to 29C are graphs showing the results of this experiment.
29A shows a representative example of the experimental result of the sponge, FIG. 29B shows the experimental result of the building block, and FIG. 29C shows the representative example of the experimental result of the stuffed animal. Thus, in this embodiment, it can be seen that each object is stably gripped after a predetermined time.

図30は、各物体801が位置制御から力制御へ切り替わるまでの時間や圧力が0.5Vへ安定するまでの時間を示すまとめである。
この図30により、各物体801の持つコンプライアンス(柔らかさ)特性が分かる。すなわち、積み木等の硬い物体801は、歪ゲージ63の出力が大きくなることで、早く収束する。また、スポンジ等の柔らかい物体801は反発する力が小さく、歪ゲージの出力が小さくなり、結果として、収束するのが遅くなる。このような結果によると、従来のPID制御では、理論的に物体の柔らかさに対応することができないことが分かる。これに対して、本実施例のインテリジェント・インピーダンス制御を用いることで、チョーク等の壊れやすい物体801や、柔らかい物体801を好適に把持することが可能になる。すなわち、FNNの学習機能によってゲインを自動調整することで、所定時間内に必要な圧力を印加して、様々な物性をもつ物体を把持することができる。
また、物体のコンプライアンス特性の差によって、制御の時間が変化することが確認できる。
FIG. 30 is a summary showing the time until each object 801 switches from position control to force control and the time until the pressure stabilizes to 0.5V.
FIG. 30 shows the compliance (softness) characteristic of each object 801. That is, a hard object 801 such as a building block converges quickly as the output of the strain gauge 63 increases. In addition, a soft object 801 such as a sponge has a small repulsive force, and the output of the strain gauge becomes small. As a result, the convergence is delayed. According to such a result, it can be understood that the conventional PID control cannot theoretically cope with the softness of the object. On the other hand, by using the intelligent impedance control of the present embodiment, it is possible to suitably grip a fragile object 801 such as a choke or a soft object 801. That is, by automatically adjusting the gain by the learning function of the FNN, a necessary pressure can be applied within a predetermined time and an object having various physical properties can be gripped.
Further, it can be confirmed that the control time varies depending on the difference in the compliance characteristics of the object.

なお、上記実施の形態の構成及び反応及び動作は例であって、本発明の趣旨を逸脱しない範囲で適宜変更して実行することができることは言うまでもない。   It should be noted that the configuration, reaction, and operation of the above-described embodiment are examples, and it is needless to say that they can be appropriately modified and executed without departing from the spirit of the present invention.

本発明は、インテリジェント・ロバスト制御及びインテリジェント・インピーダンス制御を行う制御手段を提供することで、様々な装置の制御に使用でき、産業上利用可能である。   The present invention provides a control means for performing intelligent robust control and intelligent impedance control, and thus can be used for controlling various devices and is industrially applicable.

1、5 知能コントローラ部
2、6、7 制御対象
3 制御装置
10、50 ICS部
11 制御部
14 補助記憶部
15 主記憶部
16 論理回路部
17 I/F部
18、19 コネクタ
20 モータ駆動ドライバ
21 テーブル部
51 位置指令系
52 力指令系
60 サーボコントローラ
61 ロボット
62 力センサ
63 歪ゲージ
70 画像音声入力部
110、510 PID部
111、511 PD補償器部
120、520 FF−NN部
130、530 FB−FN部
131、531 ファジィPD部
132、532 ファジィPI部
135 切換部
140、540 差分部
141 速度算出部
142 加速度算出部
150 PWM部
160 カウンタ部
170 出力部
180 入力部
190 制御信号発生部
195 外乱シミュレート部
210 テーブル
211 金属板
220 エンコーダ
230 モータ
541 粘性算出部
542 剛性算出部
710 画像認識部
720 音声認識部
800 ピン
801 物体
810 取付孔
X、Y 制御システム
1, 5 Intelligent controller unit 2, 6, 7 Control target 3 Control device 10, 50 ICS unit 11 Control unit 14 Auxiliary storage unit 15 Main storage unit 16 Logic circuit unit 17 I / F unit 18, 19 Connector 20 Motor drive driver 21 Table unit 51 Position command system 52 Force command system 60 Servo controller 61 Robot 62 Force sensor 63 Strain gauge 70 Image audio input unit 110, 510 PID unit 111, 511 PD compensator unit 120, 520 FF-NN unit 130, 530 FB- FN unit 131, 531 Fuzzy PD unit 132, 532 Fuzzy PI unit 135 Switching unit 140, 540 Difference unit 141 Speed calculation unit 142 Acceleration calculation unit 150 PWM unit 160 Counter unit 170 Output unit 180 Input unit 190 Control signal generation unit 195 Disturbance simulation G part 210 Table 211 Metal plate 220 Encoder 230 motor 541 viscosity calculating section 542 rigid calculation unit 710 image recognition unit 720 a voice recognition unit 800 pin 801 object 810 mounting hole X, Y control system

Claims (11)

制御対象に対して、位置指令により位置制御を行い、力指令により力制御を行う組み込み知能コントローラにおいて、
前記位置制御を行う位置制御系のファジィ・ニューラルネットワークと、
前記力制御を行う力制御系のファジィ・ニューラルネットワークと、
前記制御対象の力センサの値により前記力制御系の出力を変化させ、位置と力のハイブリッド/コンプライアンス制御により前記位置制御と力制御とを連続的に切り換える切換部とを備える
ことを特徴とする組み込み知能コントローラ。
In a built-in intelligent controller that performs position control with a position command and performs force control with a force command,
A fuzzy neural network of a position control system for performing the position control;
A fuzzy neural network of a force control system for performing the force control;
A switching unit that changes the output of the force control system according to the value of the force sensor to be controlled, and continuously switches between the position control and the force control by hybrid hybrid / compliance control of the position and force. Embedded intelligence controller.
前記位置制御系において、前記制御対象の変位、速度、加速度のパラメータをニューラルネットワークにより学習させ、前記制御対象の特性の逆特性を取得するフィードフォワード手段を備え、
前記力制御系において、前記制御対象の力、粘性、剛性のパラメータをニューラルネットワークにより学習させ、前記制御対象の特性の逆特性を取得するフィードフォワード手段を備える
ことを特徴とする請求項1に記載の組み込み知能コントローラ。
In the position control system, comprising a feedforward means for learning the parameters of the displacement, speed, and acceleration of the controlled object by a neural network, and acquiring a reverse characteristic of the controlled object characteristic,
2. The force control system according to claim 1, further comprising feedforward means for learning parameters of the force, viscosity, and rigidity of the control object using a neural network and acquiring a reverse characteristic of the characteristic of the control object. Embedded intelligence controller.
前記位置制御系のファジィ・ニューラルネットワーク及び前記力制御系のファジィ・ニューラルネットワークは、それぞれ、非線形誤差を減少させる補償器である複数のフィードバック手段を備え、
該フィードバック手段は、
前記制御対象の非線形動特性のPD(比例、微分)補償を行うファジィPD手段と、
前記制御対象の非線形動特性のPI(比例、積分)補償を行うファジィPI手段とを並列に備える
ことを特徴とする請求項1又は2に記載の組み込み知能コントローラ。
The position control system fuzzy neural network and the force control system fuzzy neural network each include a plurality of feedback means which are compensators for reducing nonlinear errors,
The feedback means includes
Fuzzy PD means for performing PD (proportional, differential) compensation of the non-linear dynamic characteristics of the controlled object;
The embedded intelligent controller according to claim 1 or 2, further comprising fuzzy PI means for performing PI (proportional, integral) compensation of the nonlinear dynamic characteristics of the controlled object in parallel.
前記位置制御系のファジィ・ニューラルネットワークの前記フィードバック手段及び前記力制御系のファジィ・ニューラルネットワークの前記フィードバック手段は、
ファジィ分割された空間において位置及び力誤差に応じた可変フィードバックゲインを設定する
ことを特徴とする請求項3に記載の組み込み知能コントローラ。
The feedback means of the fuzzy neural network of the position control system and the feedback means of the fuzzy neural network of the force control system are:
The built-in intelligent controller according to claim 3, wherein a variable feedback gain is set in accordance with a position and a force error in a fuzzy divided space.
前記位置制御系のファジィ・ニューラルネットワーク及び前記力制御系のファジィ・ニューラルネットワークは、
所定のサンプリング時間で実時間処理を行う
ことを特徴とする請求項3又は4に記載の組み込み知能コントローラ。
The fuzzy neural network of the position control system and the fuzzy neural network of the force control system are:
The embedded intelligence controller according to claim 3 or 4, wherein real-time processing is performed at a predetermined sampling time.
前記位置制御系のファジィ・ニューラルネットワーク及び前記力制御系のファジィ・ニューラルネットワークは、ソフトウェアPWM制御を行う
ことを特徴とする請求項3乃至5のいずれか1項に記載の組み込み知能コントローラ。
The embedded intelligent controller according to any one of claims 3 to 5, wherein the fuzzy neural network of the position control system and the fuzzy neural network of the force control system perform software PWM control.
請求項1乃至6のいずれか1項に記載の組み込み知能コントローラを含む
ことを特徴とする制御システム。
A control system comprising the embedded intelligent controller according to any one of claims 1 to 6.
請求項1乃至6のいずれか1項に記載の組み込み知能コントローラと、
前記制御対象として力センサを備えたロボットとを備える
ことを特徴とする制御システム。
Embedded intelligence controller according to any one of claims 1 to 6;
A control system comprising: a robot having a force sensor as the control target.
制御対象に対して、位置指令により位置制御を行い、力指令により力制御を行う組み込み知能コントローラの制御プログラムにおいて、前記組み込み知能コントローラに、
位置制御系のファジィ・ニューラルネットワークにより、前記位置制御を行わせ、
力制御系のファジィ・ニューラルネットワークにより、前記力制御を行わせ、
前記制御対象の力センサの値により前記力制御系の出力を変化させ、位置と力のハイブリッド/コンプライアンス制御により前記位置制御と力制御とを連続的に切り換えさせる
ことを特徴とする制御プログラム。
In a control program for an embedded intelligent controller that performs position control with a position command and performs force control with a force command, the embedded intelligent controller
The position control is performed by a fuzzy neural network of a position control system,
Force control is performed by a fuzzy neural network of force control system,
A control program that changes the output of the force control system according to the value of the force sensor to be controlled, and continuously switches between the position control and the force control by position / force hybrid / compliance control.
制御対象に対して、位置指令により位置制御を行い、力指令により力制御を行う組み込み知能コントローラの制御プログラムが記録された記録媒体において、前記組み込み知能コントローラに、
位置制御系のファジィ・ニューラルネットワークにより、前記位置制御を行わせ、
力制御系のファジィ・ニューラルネットワークにより、前記力制御を行わせ、
前記制御対象の力センサの値により前記力制御系の出力を変化させ、位置と力のハイブリッド/コンプライアンス制御により前記位置制御と力制御とを連続的に切り換えさせるための
プログラムを記録したコンピュータ読み取り可能な記録媒体。
In a recording medium in which a control program of a built-in intelligent controller that performs position control by a position command and performs force control by a force command is recorded on a control target, the built-in intelligent controller
The position control is performed by a fuzzy neural network of a position control system,
Force control is performed by a fuzzy neural network of force control system,
A computer-readable recording program that changes the output of the force control system according to the value of the force sensor to be controlled and continuously switches between the position control and force control by hybrid hybrid / compliance control of position and force Recording medium.
制御対象に対して、位置指令により位置制御を行い、力指令により力制御を行う組み込み知能コントローラの制御方法において、前記組み込み知能コントローラに、
位置制御系のファジィ・ニューラルネットワークにより、前記位置制御を行わせ、
力制御系のファジィ・ニューラルネットワークにより、前記力制御を行わせ、
前記制御対象の力センサの値により前記力制御系の出力を変化させ、位置と力のハイブリッド/コンプライアンス制御により前記位置制御と力制御とを連続的に切り換えさせる
ことを特徴とする制御方法。
In the control method of the built-in intelligent controller that performs position control with a position command and performs force control with a force command with respect to the control target, in the built-in intelligent controller,
The position control is performed by a fuzzy neural network of a position control system,
Force control is performed by a fuzzy neural network of force control system,
A control method comprising: changing an output of the force control system according to a value of a force sensor to be controlled, and continuously switching between the position control and the force control by position / force hybrid / compliance control.
JP2012139675A 2012-06-21 2012-06-21 Built-in intelligence controller, control system, control program, recording medium, and control method Pending JP2014006566A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012139675A JP2014006566A (en) 2012-06-21 2012-06-21 Built-in intelligence controller, control system, control program, recording medium, and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012139675A JP2014006566A (en) 2012-06-21 2012-06-21 Built-in intelligence controller, control system, control program, recording medium, and control method

Publications (1)

Publication Number Publication Date
JP2014006566A true JP2014006566A (en) 2014-01-16

Family

ID=50104258

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012139675A Pending JP2014006566A (en) 2012-06-21 2012-06-21 Built-in intelligence controller, control system, control program, recording medium, and control method

Country Status (1)

Country Link
JP (1) JP2014006566A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016193776A (en) * 2015-03-31 2016-11-17 ブラザー工業株式会社 Control system
DE102016125675A1 (en) 2015-12-25 2017-06-29 Jtekt Corporation Engine control unit
EP3190471A1 (en) 2016-01-08 2017-07-12 Jtekt Corporation Motor control device
US9908237B2 (en) 2014-09-29 2018-03-06 Seiko Epson Corporation Compliant motion control for robot
EP3357649A3 (en) * 2017-02-06 2018-10-10 Seiko Epson Corporation Control device, robot, and robot system
EP3357651A3 (en) * 2017-02-06 2018-10-10 Seiko Epson Corporation Control device, robot, and robot system
CN108748101A (en) * 2018-06-21 2018-11-06 南京航空航天大学 A kind of mechanical arm control system equipped with pneumatic software end piece
JP2020011360A (en) * 2018-07-20 2020-01-23 オムロン株式会社 Control system, control system control method and control system program
CN111278613A (en) * 2017-11-02 2020-06-12 三菱电机株式会社 Calibration device, calibration method, and control device
US10907722B2 (en) 2015-09-14 2021-02-02 Tolomatic, Inc. Actuator diagnostics and prognostics
CN112372637A (en) * 2020-10-27 2021-02-19 东方红卫星移动通信有限公司 Adaptive impedance compliance control method, module and system for low-orbit satellite space manipulator
CN113883743A (en) * 2021-09-16 2022-01-04 国网浙江省电力有限公司湖州供电公司 Ground source heat pump self-adaptive intelligent fuzzy control system and method
WO2023053514A1 (en) * 2021-09-28 2023-04-06 オムロン株式会社 Control device, control system, and control method
DE102019006725B4 (en) 2018-10-02 2023-06-01 Fanuc Corporation control device and control system
JP7389115B2 (en) 2018-10-24 2023-11-29 プラッサー ウント トイラー エクスポート フォン バーンバウマシーネン ゲゼルシャフト ミット ベシュレンクテル ハフツング Track building machine and method for compacting the lower part of track sleepers

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9908237B2 (en) 2014-09-29 2018-03-06 Seiko Epson Corporation Compliant motion control for robot
JP2016193776A (en) * 2015-03-31 2016-11-17 ブラザー工業株式会社 Control system
US10907722B2 (en) 2015-09-14 2021-02-02 Tolomatic, Inc. Actuator diagnostics and prognostics
DE102016125675A1 (en) 2015-12-25 2017-06-29 Jtekt Corporation Engine control unit
EP3190471A1 (en) 2016-01-08 2017-07-12 Jtekt Corporation Motor control device
US9859829B2 (en) 2016-01-08 2018-01-02 Jtekt Corporation Motor control device
EP3357649A3 (en) * 2017-02-06 2018-10-10 Seiko Epson Corporation Control device, robot, and robot system
EP3357651A3 (en) * 2017-02-06 2018-10-10 Seiko Epson Corporation Control device, robot, and robot system
CN111278613A (en) * 2017-11-02 2020-06-12 三菱电机株式会社 Calibration device, calibration method, and control device
CN111278613B (en) * 2017-11-02 2022-10-04 三菱电机株式会社 Calibration device, calibration method, and control device
CN108748101A (en) * 2018-06-21 2018-11-06 南京航空航天大学 A kind of mechanical arm control system equipped with pneumatic software end piece
WO2020017426A1 (en) * 2018-07-20 2020-01-23 オムロン株式会社 Control system, method for controlling control system, and control system program
JP2020011360A (en) * 2018-07-20 2020-01-23 オムロン株式会社 Control system, control system control method and control system program
JP7131162B2 (en) 2018-07-20 2022-09-06 オムロン株式会社 Control system, control system control method, and control system program
DE102019006725B4 (en) 2018-10-02 2023-06-01 Fanuc Corporation control device and control system
JP7389115B2 (en) 2018-10-24 2023-11-29 プラッサー ウント トイラー エクスポート フォン バーンバウマシーネン ゲゼルシャフト ミット ベシュレンクテル ハフツング Track building machine and method for compacting the lower part of track sleepers
CN112372637A (en) * 2020-10-27 2021-02-19 东方红卫星移动通信有限公司 Adaptive impedance compliance control method, module and system for low-orbit satellite space manipulator
CN112372637B (en) * 2020-10-27 2022-05-06 东方红卫星移动通信有限公司 Adaptive impedance compliance control method, module and system for low-orbit satellite space manipulator
CN113883743A (en) * 2021-09-16 2022-01-04 国网浙江省电力有限公司湖州供电公司 Ground source heat pump self-adaptive intelligent fuzzy control system and method
WO2023053514A1 (en) * 2021-09-28 2023-04-06 オムロン株式会社 Control device, control system, and control method

Similar Documents

Publication Publication Date Title
JP2014006566A (en) Built-in intelligence controller, control system, control program, recording medium, and control method
He et al. Design and adaptive control for an upper limb robotic exoskeleton in presence of input saturation
JP2013003845A (en) Built-in intelligence controller, control system, control program, recording medium, and control method
Della Santina et al. Dynamic control of soft robots interacting with the environment
Liu et al. Adaptive neural control for dual-arm coordination of humanoid robot with unknown nonlinearities in output mechanism
Li et al. Adaptive human–robot interaction control for robots driven by series elastic actuators
Park et al. A haptic teleoperation approach based on contact force control
Peternel et al. Robotic assembly solution by human-in-the-loop teaching method based on real-time stiffness modulation
Dietrich et al. Whole-body impedance control of wheeled mobile manipulators: Stability analysis and experiments on the humanoid robot Rollin’Justin
Yang et al. Human-like adaptation of force and impedance in stable and unstable interactions
Cortesão et al. Real-time adaptive control for haptic telemanipulation with kalman active observers
CN115008473A (en) Robot control
Zeng et al. Encoding multiple sensor data for robotic learning skills from multimodal demonstration
Sun et al. Single master bimanual teleoperation system with efficient regulation
Yu et al. Cooperative control of dual-arm robots in different human-robot collaborative tasks
Zhou et al. Robust decentralized force/position fault-tolerant control for constrained reconfigurable manipulators without torque sensing
Zhao et al. Stability and performance limits of latency-prone distributed feedback controllers
Hamedani et al. Adaptive impedance control of uncertain robot manipulators with saturation effect based on dynamic surface technique and self-recurrent wavelet neural networks
Haninger et al. Model predictive control with gaussian processes for flexible multi-modal physical human robot interaction
Mazare et al. Adaptive variable impedance control for a modular soft robot manipulator in configuration space
Leylavi Shoushtari et al. A review on the evolvement trend of robotic interaction control
Yang et al. Fixed-time coordination control for bilateral telerobotics system with asymmetric time-varying delays
Nath et al. Teleoperation with kinematically redundant robot manipulators with sub-task objectives
Pedrammehr et al. Model-based control of axisymmetric hexarot parallel manipulators
Kebria et al. Robust adaptive synchronisation of a single-master multi-slave teleoperation system over delayed communication