JP2018097722A - Control device, control method, and program - Google Patents

Control device, control method, and program Download PDF

Info

Publication number
JP2018097722A
JP2018097722A JP2016243350A JP2016243350A JP2018097722A JP 2018097722 A JP2018097722 A JP 2018097722A JP 2016243350 A JP2016243350 A JP 2016243350A JP 2016243350 A JP2016243350 A JP 2016243350A JP 2018097722 A JP2018097722 A JP 2018097722A
Authority
JP
Japan
Prior art keywords
gravity compensation
valve opening
control
angle
drive mechanism
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2016243350A
Other languages
Japanese (ja)
Other versions
JP6757240B2 (en
Inventor
村田 直史
Tadashi Murata
直史 村田
貴幸 小谷
Takayuki Kotani
貴幸 小谷
公彦 松尾
Kimihiko Matsuo
公彦 松尾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Heavy Industries Ltd
Original Assignee
Mitsubishi Heavy Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Heavy Industries Ltd filed Critical Mitsubishi Heavy Industries Ltd
Priority to JP2016243350A priority Critical patent/JP6757240B2/en
Publication of JP2018097722A publication Critical patent/JP2018097722A/en
Application granted granted Critical
Publication of JP6757240B2 publication Critical patent/JP6757240B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To apply a gravity compensation torque that cancels a weight of a link itself to a feedback system of a hydraulic control with high accuracy.SOLUTION: A joint angle of a joint mechanism of a mechanical device having a drive mechanism including a plurality of links connected via the joint mechanism is controlled by hydraulic pressure. A gravity compensation torque that cancels a weight of the link that is operated by controlling a joint angle is calculated. The gravity compensation torque is converted into a gravity compensation valve opening degree indicating a valve opening degree of a control valve for controlling a flow rate of hydraulic pressure. A valve opening degree control command of the control valve is calculated on the basis of an angle feedback valve opening degree and a gravity compensation valve opening degree determined by a current joint angle of the joint and a target joint angle.SELECTED DRAWING: Figure 1

Description

本発明は、機械装置を構成する関節機構の関節角度を油圧により制御する制御装置、制御方法、プログラムに関する。   The present invention relates to a control device, a control method, and a program for controlling a joint angle of a joint mechanism constituting a mechanical device by hydraulic pressure.

油圧マニピュレータなどの油圧で制御される機械装置は、単位体積当たりのエネルギー効率が高いという利点がある。反面、油圧で制御される機械装置は高精度な位置決め性能のために必要な、微小動作の制御が不得手である。油圧で制御される機械装置の一例として作業機械の技術が特許文献1に開示されている。当該特許文献1の技術はバネの力により作業機構の重量を補償している。   A mechanical device controlled by hydraulic pressure such as a hydraulic manipulator has an advantage of high energy efficiency per unit volume. On the other hand, mechanical devices controlled by hydraulic pressure are not good at controlling minute movements necessary for highly accurate positioning performance. Patent Document 1 discloses a technique of a working machine as an example of a mechanical device controlled by hydraulic pressure. The technique of Patent Document 1 compensates the weight of the working mechanism by the force of the spring.

特開2015−105560号公報JP2015-105560A

ところで上述のような機械装置においては油圧制御弁の開度に基づいて油圧量を調整し関節を中心に回転する2つのリンク間の角度である関節角度を決定するなどしている。このような機械装置において関節角度を制御して動作させるリンク自体の重さを打ち消す重力補償トルクを精度良く油圧制御のフィードバック系に適用することが求められていた。   Incidentally, in the above-described mechanical device, the amount of hydraulic pressure is adjusted based on the opening of the hydraulic control valve, and the joint angle, which is the angle between two links that rotate about the joint, is determined. In such a mechanical apparatus, it has been required to accurately apply a gravity compensation torque that cancels the weight of the link itself that is operated by controlling the joint angle to a feedback system for hydraulic control.

そこでこの発明は、上述の課題を解決する制御装置、制御方法、プログラムを提供することを目的としている。   Therefore, an object of the present invention is to provide a control device, a control method, and a program that solve the above-described problems.

本発明の第1の態様によれば、駆動機構を有する機械装置の前記駆動機構を油圧により制御する制御装置が、前記駆動機構を制御して動作させる駆動機構構成部品の自重を打ち消す重力補償トルクを重力補償方程式を用いて算出する重力補償トルク算出部と、前記重力補償トルクを前記油圧の流量を制御する制御弁の弁開度を示す重力補償弁開度に変換する重力補償弁開度算出部と、前記駆動機構の現在の駆動状態量と目標の駆動状態量とにより定まるフィードバック弁開度と前記重力補償弁開度とに基づいて、前記制御弁の弁開度制御指令を算出する弁開度制御部と、を備えることを特徴とする。   According to the first aspect of the present invention, the control device that controls the drive mechanism of the mechanical device having the drive mechanism by hydraulic pressure cancels the weight of the drive mechanism component that controls and operates the drive mechanism. Gravity compensation torque calculation unit for calculating the gravity compensation torque using a gravity compensation equation, and gravity compensation valve opening calculation for converting the gravity compensation torque into a gravity compensation valve opening indicating a valve opening of a control valve that controls the flow rate of the hydraulic pressure And a valve opening degree control command for the control valve based on a feedback valve opening degree determined by a current driving state quantity of the driving mechanism and a target driving state quantity and the gravity compensation valve opening degree And an opening degree control unit.

上述の制御装置において、前記駆動機構が、関節機構を介して接続された複数のリンクを含み、前記制御装置が、前記駆動機構を有する機械装置の前記関節機構の関節角度を前記油圧により制御し、前記重力補償トルク算出部が、前記関節角度を制御して動作させる前記駆動機構構成部品であるリンクの自重を打ち消す前記重力補償トルクを重力補償方程式を用いて算出し、前記弁開度制御部が、前記関節機構の現在の前記駆動状態量である関節角度と目標の前記駆動状態量である関節角度とにより定まる角度フィードバック弁開度と前記重力補償弁開度とに基づいて、前記制御弁の弁開度制御指令を算出してもよい。   In the above-described control device, the drive mechanism includes a plurality of links connected via a joint mechanism, and the control device controls a joint angle of the joint mechanism of a mechanical device having the drive mechanism by the hydraulic pressure. The gravity compensation torque calculation unit calculates the gravity compensation torque that cancels the weight of the link that is the drive mechanism component that operates by controlling the joint angle using a gravity compensation equation, and the valve opening degree control unit Is based on an angle feedback valve opening determined by a joint angle that is the current driving state amount of the joint mechanism and a joint angle that is the target driving state amount, and the gravity compensation valve opening. The valve opening degree control command may be calculated.

また上述の制御装置において、前記重力補償弁開度算出部は、前記現在の関節角度を前記重力補償方程式に入力して算出された前記重力補償トルクと、前記目標の関節角度と、前記現在の関節角度と前記目標の関節角度との偏差と、を用いて重力補償弁開度を算出してよい。   In the above-described control device, the gravity compensation valve opening degree calculation unit may calculate the gravity compensation torque calculated by inputting the current joint angle into the gravity compensation equation, the target joint angle, and the current joint angle. The gravity compensation valve opening may be calculated using a deviation between the joint angle and the target joint angle.

また上述の制御装置において、前記重力補償弁開度算出部は、前記目標の関節角度を前記重力補償方程式に入力して算出された前記重力補償トルクと、前記目標の関節角度と、前記現在の関節角度と前記目標の関節角度との偏差と、を用いて重力補償弁開度を算出してよい。
また上述の制御装置において、前記偏差の変動周波数を抑制する変動抑制部を備えてよい。
Further, in the above-described control device, the gravity compensation valve opening calculation unit is configured to input the target joint angle to the gravity compensation equation, calculate the gravity compensation torque, the target joint angle, and the current The gravity compensation valve opening may be calculated using a deviation between the joint angle and the target joint angle.
In the above-described control device, a fluctuation suppressing unit that suppresses the fluctuation frequency of the deviation may be provided.

また上述の制御装置において、前記重力補償弁開度算出部は、前記重力補償トルクを前記重力補償弁開度に変換する可変ゲイン係数を、一定角速度で変化させる前記関節角度の定常偏差を超える角度以上の場合には当該角度の大きさに比例させて所定の係数値より大きな所定の値まで増大させ、前記関節角度の定常偏差を超えない角度未満の場合には前記所定の係数値に保持してよい。   Further, in the above-described control device, the gravity compensation valve opening calculation unit is an angle exceeding a steady deviation of the joint angle that changes a variable gain coefficient for converting the gravity compensation torque into the gravity compensation valve opening at a constant angular velocity. In the above case, it is increased to a predetermined value larger than the predetermined coefficient value in proportion to the size of the angle, and when the angle is less than the steady deviation of the joint angle, the predetermined coefficient value is held. It's okay.

また上述の制御装置において、前記重力補償トルク算出部は、前記制御弁が算出された弁開度に達するまでの応答時間に基づいて決定された所定時間分先行した時刻における重力補償トルクを算出して出力してよい。   In the above-described control device, the gravity compensation torque calculation unit calculates a gravity compensation torque at a time preceding by a predetermined time determined based on a response time until the control valve reaches the calculated valve opening. May be output.

また上述の制御装置において、前記重力補償弁開度算出部は、前記重力補償トルクを前記重力補償弁開度に変換する可変ゲイン係数を前記関節角度が目標角度に移行するまでに最速となる可変ゲイン係数を学習してよい。   In the above-described control device, the gravity compensation valve opening degree calculation unit may change a variable gain coefficient that converts the gravity compensation torque into the gravity compensation valve opening degree that becomes the fastest until the joint angle shifts to the target angle. Gain factors may be learned.

本発明の第2の態様によれば、制御方法は、駆動機構を有する機械装置の前記駆動機構を油圧により制御する制御装置の制御方法であって、前記駆動機構を制御して動作させる駆動機構構成部品の自重を打ち消す重力補償トルクを重力補償方程式を用いて算出し、前記重力補償トルクを前記油圧の流量を制御する制御弁の弁開度を示す重力補償弁開度に変換し、前記駆動機構の現在の駆動状態量と目標の駆動状態量とにより定まるフィードバック弁開度と前記重力補償弁開度とに基づいて、前記制御弁の弁開度制御指令を算出することを特徴とする。   According to the second aspect of the present invention, the control method is a control method of a control device that controls the drive mechanism of a mechanical device having a drive mechanism by hydraulic pressure, and the drive mechanism controls and operates the drive mechanism. A gravity compensation torque that cancels the weight of the component is calculated using a gravity compensation equation, and the gravity compensation torque is converted into a gravity compensation valve opening that indicates a valve opening of a control valve that controls the flow rate of the hydraulic pressure, and the drive A valve opening degree control command for the control valve is calculated based on a feedback valve opening degree determined by a current driving state quantity of the mechanism and a target driving state quantity and the gravity compensation valve opening degree.

本発明の第3の態様によれば、プログラムは、駆動機構を有する機械装置の前記駆動機構を油圧により制御する制御装置のコンピュータを、前記駆動機構を制御して動作させる駆動機構構成部品の自重を打ち消す重力補償トルクを重力補償方程式を用いて算出する重力補償トルク算出手段、前記重力補償トルクを前記油圧の流量を制御する制御弁の弁開度を示す重力補償弁開度に変換する重力補償弁開度算出手段、前記駆動機構の現在の駆動状態量と目標の駆動状態量とにより定まるフィードバック弁開度と前記重力補償弁開度とに基づいて、前記制御弁の弁開度制御指令を算出する弁開度制御手段、として機能させることを特徴とする。   According to the third aspect of the present invention, the program controls the computer of the control device that controls the drive mechanism of the mechanical device having the drive mechanism by hydraulic pressure, and controls the drive mechanism to operate the own weight of the drive mechanism component. Gravity compensation torque calculating means for calculating a gravity compensation torque that cancels using a gravity compensation equation, gravity compensation for converting the gravity compensation torque into a gravity compensation valve opening degree indicating a valve opening degree of a control valve that controls the flow rate of the hydraulic pressure Based on a feedback valve opening determined by the current drive state quantity of the drive mechanism and a target drive state quantity and the gravity compensation valve opening, a valve opening degree control command for the control valve is provided. It is made to function as a valve opening degree control means to calculate.

本発明によれば、重力補償トルクτgn[Nm]を油圧の流量を制御する制御弁の弁開度を示す重力補償弁開度agn[%]に変換する構成だけで、動作させるリンクの自重を打ち消すための弁開度制御指令を算出することができる。よって複雑なロジックを構築する必要が無く動作させるリンクの自重を打ち消すための弁開度制御指令を算出することができる。 According to the present invention, only the configuration for converting the gravity compensation torque τ gn [Nm] into the gravity compensation valve opening a gn [%] indicating the valve opening of the control valve that controls the flow rate of the hydraulic pressure can be used. A valve opening control command for canceling the dead weight can be calculated. Therefore, it is possible to calculate a valve opening control command for canceling the weight of the link to be operated without having to construct a complicated logic.

第一の実施形態による制御装置の構成を示すブロック図である。It is a block diagram which shows the structure of the control apparatus by 1st embodiment. 第一の実施形態による制御装置の処理フローを示す図である。It is a figure which shows the processing flow of the control apparatus by 1st embodiment. 第二の実施形態による制御装置の構成を示すブロック図である。It is a block diagram which shows the structure of the control apparatus by 2nd embodiment. 第二の実施形態による制御装置の処理フローを示す図である。It is a figure which shows the processing flow of the control apparatus by 2nd embodiment. 第三実施形態による制御装置の可変ゲイン係数の決定概要を示す図である。It is a figure which shows the determination outline | summary of the variable gain coefficient of the control apparatus by 3rd embodiment. 第四の実施形態による制御装置の重力補償トルクの出力タイミングを説明する図である。It is a figure explaining the output timing of the gravity compensation torque of the control apparatus by 4th embodiment.

<第一の実施形態>
以下、第一の実施形態による制御装置を図面を参照して説明する。
図1は第一の実施形態による制御装置の構成を示すブロック図である。
この図で示すように制御システムは制御装置1と機械装置2とにより構成されている。制御装置1は関節機構を介して接続された複数のリンクを含む駆動機構を有する機械装置2を制御する。制御装置1は機械装置2における関節機構の関節角度を油圧により制御する。機械装置2は例えば油圧マニピュレータなどであってよい。
<First embodiment>
Hereinafter, a control device according to a first embodiment will be described with reference to the drawings.
FIG. 1 is a block diagram showing a configuration of a control device according to the first embodiment.
As shown in this figure, the control system includes a control device 1 and a mechanical device 2. The control device 1 controls a mechanical device 2 having a drive mechanism including a plurality of links connected via a joint mechanism. The control device 1 controls the joint angle of the joint mechanism in the mechanical device 2 by hydraulic pressure. The mechanical device 2 may be a hydraulic manipulator, for example.

制御装置1はコンピュータであり、ROM(Read Only Memory)、RAM(Random Access Memory)、SSD(Solid State Drive)などの記憶部、CPU(Central Processing Unit)、通信インタフェースなどのハードウェアによって構成されてよい。   The control device 1 is a computer and is configured by hardware such as a ROM (Read Only Memory), a RAM (Random Access Memory), a storage unit such as an SSD (Solid State Drive), a CPU (Central Processing Unit), and a communication interface. Good.

制御装置1のCPUは制御装置1に電源が投入されることに基づいて起動し、記憶している制御プログラムを実行する。これにより、制御装置1には、重力補償トルク算出部11、重力補償弁開度算出部12、フィードバック制御部13、弁開度制御部14の各機能が備わる。   The CPU of the control device 1 is activated based on the power being supplied to the control device 1 and executes the stored control program. As a result, the control device 1 has the functions of a gravity compensation torque calculation unit 11, a gravity compensation valve opening calculation unit 12, a feedback control unit 13, and a valve opening control unit 14.

重力補償トルク算出部11は、機械装置2に備わる関節機構の関節角度を制御して動作させるリンクの自重を打ち消す重力補償トルクτgn[Nm]を、重力補償方程式を用いて算出する。本実施形態において関節機構は機械装置2を構成する駆動機構の一態様である。またリンクは駆動機構を制御して動作させる駆動機構構成部品の一態様である。
重力補償弁開度算出部12は、重力補償トルクτgn[Nm]を、油圧の流量を制御する制御弁の弁開度を示す重力補償弁開度agn[%]に変換する。具体的には、重力補償弁開度算出部12は、重力補償トルクτgn[Nm]と、関節角度の目標角度と、当該目標角度と関節角度の現在角度の偏差とを用いて重力補償弁開度agn[%]を算出する。
The gravity compensation torque calculation unit 11 calculates a gravity compensation torque τ gn [Nm] that cancels the weight of the link operated by controlling the joint angle of the joint mechanism provided in the mechanical device 2 using the gravity compensation equation. In the present embodiment, the joint mechanism is an aspect of a drive mechanism that constitutes the mechanical device 2. The link is one aspect of a drive mechanism component that controls and operates the drive mechanism.
The gravity compensation valve opening calculation unit 12 converts the gravity compensation torque τ gn [Nm] into a gravity compensation valve opening a gn [%] indicating the valve opening of the control valve that controls the hydraulic flow rate. Specifically, the gravity compensation valve opening calculation unit 12 uses the gravity compensation torque τ gn [Nm], the target angle of the joint angle, and the deviation of the target angle and the current angle of the joint angle. The opening degree a gn [%] is calculated.

フィードバック制御部13は、駆動機構の現在の駆動状態量と目標の駆動状態量とにより定まるフィードバック弁開度と重力補償弁開度とに基づいて、制御弁の弁開度制御指令を算出する。具体的にはフィードバック制御部13は、機械装置2に備わる関節機構の関節角度の目標角度θrnと現在角度θとを用いて、関節角度が目標角度θrnとなるようにフィードバック制御を行う。関節角度は駆動機構の駆動状態量の一態様である。フィードバック制御部13はフィードバック制御により算出した角度フィードバック弁開度afn[%]を出力する。
弁開度制御部14は、重力補償弁開度算出部12から取得した重力補償弁開度agn[%]と、フィードバック制御部13から取得した角度フィードバック弁開度afn[%]とを用いて、制御弁の弁開度制御指令を算出する。
The feedback control unit 13 calculates a valve opening degree control command for the control valve based on the feedback valve opening degree and the gravity compensation valve opening degree determined by the current driving state quantity of the driving mechanism and the target driving state quantity. Specifically, the feedback control unit 13 performs feedback control using the target angle θ rn and the current angle θ n of the joint mechanism of the mechanical device 2 so that the joint angle becomes the target angle θ rn. . The joint angle is an aspect of the drive state amount of the drive mechanism. The feedback control unit 13 outputs the angle feedback valve opening degree a fn [%] calculated by the feedback control.
The valve opening degree control unit 14 uses the gravity compensation valve opening degree a gn [%] acquired from the gravity compensation valve opening degree calculation unit 12 and the angle feedback valve opening degree a fn [%] acquired from the feedback control unit 13. Use to calculate a valve opening control command of the control valve.

制御装置1の処理によれば、重力補償トルクτgn[Nm]を、油圧の流量を制御する制御弁の弁開度を示す重力補償弁開度agn[%]に変換することができる。したがって、動作させるリンクの自重を打ち消すための弁開度制御指令を簡易な構成で算出することができる。 According to the processing of the control device 1, the gravity compensation torque τ gn [Nm] can be converted into the gravity compensation valve opening a gn [%] indicating the valve opening of the control valve that controls the hydraulic flow rate. Therefore, the valve opening degree control command for canceling the dead weight of the link to be operated can be calculated with a simple configuration.

図2は第一の実施形態による制御装置の処理フローを示す図である。
次に制御装置1の処理の詳細について説明する。
まずフィードバック制御部13は一例として、二つのリンクが接続された関節機構の関節角度の目標角度θrnと現在角度θの偏差Δθを取得する(ステップS101)。偏差はθrn−θにより算出することができる。フィードバック制御部13は偏差Δθを用いて、当該Δθが0となるような角度フィードバック弁開度afn[%]をフィードバック制御により算出する(ステップS102)。フィードバック制御部13は角度フィードバック弁開度afn[%]を弁開度制御部14へ出力する。
FIG. 2 is a diagram illustrating a processing flow of the control device according to the first embodiment.
Next, details of the processing of the control device 1 will be described.
First, as an example, the feedback control unit 13 acquires a deviation Δθ n between the target angle θ rn of the joint mechanism of the joint mechanism to which the two links are connected and the current angle θ n (step S101). The deviation can be calculated by θ rn −θ n . The feedback control unit 13 uses the deviation Δθ n to calculate an angle feedback valve opening degree a fn [%] such that Δθ n becomes 0 by feedback control (step S102). The feedback control unit 13 outputs the angle feedback valve opening degree a fn [%] to the valve opening degree control unit 14.

他方、重力補償トルク算出部11は、機械装置2から関節機構の現在角度θを取得する。重力補償トルク算出部11は現在角度θを重力補償方程式g(θ)に代入して、関節角度を制御して動作させるリンクの自重を打ち消す重力補償トルクτgn[Nm]を算出する(ステップS103)。重力補償トルク算出部11は重力補償トルクτgn[Nm]を重力補償弁開度算出部12へ出力する。 On the other hand, the gravity compensation torque calculation unit 11 acquires the current angle θ n of the joint mechanism from the mechanical device 2. The gravity compensation torque calculator 11 substitutes the current angle θ n into the gravity compensation equation g (θ n ), and calculates the gravity compensation torque τ gn [Nm] that cancels the weight of the link to be operated by controlling the joint angle ( Step S103). The gravity compensation torque calculation unit 11 outputs the gravity compensation torque τ gn [Nm] to the gravity compensation valve opening calculation unit 12.

重力補償弁開度算出部12は重力補償トルクτgn[Nm]と、目標角度θrnと、偏差Δθとを取得する。重力補償弁開度算出部12はτgn[Nm]×θrnの値を算出する(ステップS104)。重力補償弁開度算出部12はτgn[Nm]×θrnの値と偏差Δθの値とに基づいて、式(1)で表される重力補償弁開度算出式の可変ゲイン係数Kgnを決定する(ステップS105)。 The gravity compensation valve opening calculation unit 12 acquires the gravity compensation torque τ gn [Nm], the target angle θ rn, and the deviation Δθ n . The gravity compensation valve opening calculation unit 12 calculates a value of τ gn [Nm] × θ rn (step S104). The gravity compensation valve opening degree calculation unit 12 is based on the value of τ gn [Nm] × θ rn and the value of the deviation Δθ n , and the variable gain coefficient K of the gravity compensation valve opening degree calculation expression represented by the equation (1). gn is determined (step S105).

Figure 2018097722
Figure 2018097722

重力補償弁開度算出部12は可変ゲイン係数Kgnを決定する場合に、τgn[Nm]×θrnの値の正負の符号、偏差Δθの正負の符号に基づいて、可変ゲイン係数Kgnを増加させるか減少させるかを決定する。またτgn[Nm]×θrnの値や偏差Δθの値に基づいて所定の算出式により、可変ゲイン係数Kgnの数値を特定してよい。 When determining the variable gain coefficient K gn , the gravity compensation valve opening calculator 12 determines the variable gain coefficient K based on the sign of the value of τ gn [Nm] × θ rn and the sign of the deviation Δθ n. Determine whether to increase or decrease gn . Further, the numerical value of the variable gain coefficient K gn may be specified by a predetermined calculation formula based on the value of τ gn [Nm] × θ rn and the value of the deviation Δθ n .

一例としては、ステップS105の処理において重力補償弁開度算出部12は、τgn[Nm]×θrnの値が+を示し、偏差Δθの値が+を示す場合、リンクを重力と逆らう方向に駆動する状況であって目標に到達していない状況と判定する。この場合、重力補償弁開度算出部12は重力補償が足りないと判定し、可変ゲイン係数Kgnを増加させるようにその可変ゲイン係数Kgnを決定する。
また重力補償弁開度算出部12は、τgn[Nm]×θrnの値が+を示し、偏差Δθの値が−を示す場合、リンクを重力と逆らう方向に駆動する状況であって目標を超えてリンクを作動させてしまった状況と判定する。この場合、重力補償弁開度算出部12は重力補償が効きすぎであると判定し、可変ゲイン係数Kgnを減少させるようにその可変ゲイン係数Kgnを決定する。
As an example, when the value of τ gn [Nm] × θ rn indicates + and the value of deviation Δθ n indicates + in the process of step S105, the gravity compensation valve opening calculator 12 counters the link with gravity. It is determined that the vehicle is driving in the direction and has not reached the target. In this case, the gravity compensation valve opening degree calculation unit 12 determines that the gravity compensation is insufficient, and determines the variable gain coefficient K gn so as to increase the variable gain coefficient K gn .
The gravity compensation valve opening calculation unit 12 drives the link in a direction against gravity when the value of τ gn [Nm] × θ rn indicates + and the value of the deviation Δθ n indicates − It is determined that the link has been activated beyond the target. In this case, the gravity compensation valve opening calculation unit 12 determines that the gravity compensation is too effective, and determines the variable gain coefficient K gn so as to decrease the variable gain coefficient K gn .

また重力補償弁開度算出部12は、τgn[Nm]×θrnの値が−を示し、偏差Δθの値が+を示す場合、リンクを重力方向に駆動する状況であって目標に到達していない状況と判定する。この場合、重力補償弁開度算出部12は重力補償が効きすぎであると判定し、可変ゲイン係数Kgnを減少させるようにその可変ゲイン係数Kgnを決定する。
また重力補償弁開度算出部12は、τgn[Nm]×θrnの値が−を示し、偏差Δθの値が−を示す場合、リンクを重力方向に駆動する状況であって目標を超えてリンクを作動させてしまった状況と判定する。この場合、重力補償弁開度算出部12は重力補償が足りないと判定し、可変ゲイン係数Kgnを増加少させるようにその可変ゲイン係数Kgnを決定する。
In addition, the gravity compensation valve opening calculation unit 12 drives the link in the direction of gravity when the value of τ gn [Nm] × θ rn indicates − and the value of the deviation Δθ n indicates +. It is determined that the situation has not been reached. In this case, the gravity compensation valve opening calculation unit 12 determines that the gravity compensation is too effective, and determines the variable gain coefficient K gn so as to decrease the variable gain coefficient K gn .
Further, the gravity compensation valve opening calculation unit 12 drives the link in the direction of gravity when the value of τ gn [Nm] × θ rn indicates − and the value of the deviation Δθ n indicates −. It is determined that the link has been activated beyond that. In this case, the gravity compensation valve opening calculator 12 determines that the gravity compensation is insufficient, and determines the variable gain coefficient K gn so as to increase or decrease the variable gain coefficient K gn .

重力補償弁開度算出部12は可変ゲイン係数Kgnを決定すると、上記式(1)により重力補償弁開度agn[%]を算出する(ステップS106)。重力補償弁開度算出部12は重力補償弁開度agn[%]を弁開度制御部14へ出力する。 When the gravity compensation valve opening degree calculation unit 12 determines the variable gain coefficient K gn , the gravity compensation valve opening degree a gn [%] is calculated by the above equation (1) (step S106). The gravity compensation valve opening calculation unit 12 outputs the gravity compensation valve opening a gn [%] to the valve opening control unit 14.

弁開度制御部14はフィードバック制御部13から取得した角度フィードバック弁開度afn[%]と、重力補償弁開度算出部12から取得した重力補償弁開度agn[%]を加算して、弁開度制御指令を算出する(ステップS107)。弁開度制御部14は弁開度制御指令を機械装置2の対象の制御弁へ出力する(ステップS108)。 The valve opening control unit 14 adds the angle feedback valve opening a fn [%] acquired from the feedback control unit 13 and the gravity compensation valve opening a gn [%] acquired from the gravity compensation valve opening calculation unit 12. Then, a valve opening control command is calculated (step S107). The valve opening control unit 14 outputs a valve opening control command to the target control valve of the mechanical device 2 (step S108).

以上の処理によれば、重力補償トルクτgn[Nm]を油圧の流量を制御する制御弁の弁開度を示す重力補償弁開度agn[%]に変換することができる。したがって、動作させるリンクの自重を打ち消すための弁開度制御指令を算出することができる。 According to the above processing, the gravity compensation torque τ gn [Nm] can be converted into the gravity compensation valve opening degree a gn [%] indicating the opening degree of the control valve that controls the hydraulic flow rate. Therefore, it is possible to calculate a valve opening degree control command for canceling the dead weight of the link to be operated.

また上述の処理によれば、重力補償トルクτgn[Nm]を、油圧の流量を制御する制御弁の弁開度を示す重力補償弁開度agn[%]に変換する構成だけで、動作させるリンクの自重を打ち消すための弁開度制御指令を算出することができる。よって複雑なロジックを構築する必要が無く動作させるリンクの自重を打ち消すための弁開度制御指令を算出することができる。
またτgn[Nm]×θrnの値の正負の符号、偏差Δθの正負の符号に基づいて、可変ゲイン係数Kgnを増加させるか減少させるかを決定するので、重力補償トルクτgn[Nm]と目標角度の関係や、偏差Δθの正負に応じた適切な重力補償弁開度agn[%]を算出することができる。
Further, according to the above-described processing, only the configuration in which the gravity compensation torque τ gn [Nm] is converted into the gravity compensation valve opening a gn [%] indicating the valve opening of the control valve that controls the flow rate of the hydraulic pressure is operated. A valve opening degree control command for canceling the dead weight of the link to be made can be calculated. Therefore, it is possible to calculate a valve opening control command for canceling the weight of the link to be operated without having to construct a complicated logic.
Further, since it is determined whether to increase or decrease the variable gain coefficient K gn based on the sign of τ gn [Nm] × θ rn and the sign of the deviation Δθ n , the gravity compensation torque τ gn [ Nm] and the target angle, and an appropriate gravity compensation valve opening degree a gn [%] corresponding to the sign of the deviation Δθ n can be calculated.

<第二の実施形態>
以下、第二の実施形態による制御装置を図面を参照して説明する。
図3は第二の実施形態による制御装置の構成を示すブロック図である。
第二の実施形態における制御装置1、機械装置2のハードウェア構成は第一の実施形態と同様である。
制御装置1のCPUは制御装置1に電源が投入されることに基づいて起動し、記憶している制御プログラムを実行する。これにより、制御装置1には、図3に示すように重力補償トルク算出部11、重力補償弁開度算出部12、フィードバック制御部13、弁開度制御部14、変動抑制部15の各機能が備わる。
<Second Embodiment>
Hereinafter, a control apparatus according to the second embodiment will be described with reference to the drawings.
FIG. 3 is a block diagram showing the configuration of the control device according to the second embodiment.
The hardware configurations of the control device 1 and the machine device 2 in the second embodiment are the same as those in the first embodiment.
The CPU of the control device 1 is activated based on the power being supplied to the control device 1 and executes the stored control program. As a result, the control device 1 includes functions of a gravity compensation torque calculation unit 11, a gravity compensation valve opening calculation unit 12, a feedback control unit 13, a valve opening control unit 14, and a fluctuation suppression unit 15, as shown in FIG. Is provided.

重力補償トルク算出部11は、機械装置2に備わる関節の角度を制御して動作させるリンクの自重を打ち消す重力補償トルクτgn[Nm]を、重力補償方程式を用いて算出する。
重力補償弁開度算出部12は、重力補償トルクτgn[Nm]を、油圧の流量を制御する制御弁の弁開度を示す重力補償弁開度agn[%]に変換する。具体的には、重力補償弁開度算出部12は、関節角度の目標角度θrnを重力補償方程式に入力して算出された重力補償トルクτgn[Nm]と、関節角度の目標角度θrnと、関節角度の現在角度θと関節角度の目標角度θrnの偏差Δθと、を用いて重力補償弁開度を算出する。
The gravity compensation torque calculation unit 11 calculates a gravity compensation torque τ gn [Nm] that cancels the weight of the link operated by controlling the angle of the joint provided in the mechanical device 2 using the gravity compensation equation.
The gravity compensation valve opening calculation unit 12 converts the gravity compensation torque τ gn [Nm] into a gravity compensation valve opening a gn [%] indicating the valve opening of the control valve that controls the hydraulic flow rate. Specifically, the gravity compensation valve opening degree calculation unit 12 inputs the target angle θ rn of the joint angle to the gravity compensation equation and calculates the gravity compensation torque τ gn [Nm] and the target angle θ rn of the joint angle. Then, the gravity compensation valve opening is calculated using the current angle θ n of the joint angle and the deviation Δθ n of the target angle θ rn of the joint angle.

フィードバック制御部13は、機械装置2に備わる関節機構の関節角度の目標角度θrnと現在角度θとを用いて、関節角度が目標角度θrnとなるようにフィードバック制御を行う。フィードバック制御部13はフィードバック制御により算出した角度フィードバック弁開度afn[%]を出力する。
弁開度制御部14は、重力補償弁開度算出部12から取得した重力補償弁開度agn[%]にと、フィードバック制御部13から取得した角度フィードバック弁開度afn[%]とを用いて、制御弁の弁開度制御指令を算出する。
変動抑制部15は関節角度の現在角度θと関節角度の目標角度θrnの偏差Δθの変動周波数を抑制する。例えば変動抑制部15はローパスフィルタによって構成されてよい。変動抑制部15の処理により、重力補償弁開度算出部12に入力される関節角度の現在角度θと関節角度の目標角度θrnの偏差Δθは、その値の増減の頻度が抑制される。
The feedback control unit 13 performs feedback control using the target angle θ rn of the joint mechanism of the joint mechanism provided in the mechanical device 2 and the current angle θ n so that the joint angle becomes the target angle θ rn . The feedback control unit 13 outputs the angle feedback valve opening degree a fn [%] calculated by the feedback control.
The valve opening control unit 14 includes the gravity compensation valve opening a gn [%] acquired from the gravity compensation valve opening calculation unit 12 and the angle feedback valve opening a fn [%] acquired from the feedback control unit 13. Is used to calculate the valve opening control command of the control valve.
The fluctuation suppressing unit 15 suppresses the fluctuation frequency of the deviation Δθ n between the current angle θ n of the joint angle and the target angle θ rn of the joint angle. For example, the fluctuation suppressing unit 15 may be configured by a low pass filter. By the process of the fluctuation suppressing unit 15, the deviation Δθ n between the current angle θ n of the joint angle and the target angle θ rn of the joint angle input to the gravity compensation valve opening degree calculating unit 12 is suppressed from increasing or decreasing. The

図4は第二の実施形態による制御装置の処理フローを示す図である。
次に第二の実施形態による制御装置1の処理の詳細について説明する。
まずフィードバック制御部13は二つのリンクが接続された関節機構の関節角度の目標角度θrnと現在角度θの偏差Δθを取得する(ステップS201)。偏差はθrn−θにより算出することができる。フィードバック制御部13は偏差Δθを用いて、当該Δθが0となるような角度フィードバック弁開度afn[%]をフィードバック制御により算出する(ステップS202)。フィードバック制御部13は角度フィードバック弁開度afn[%]を弁開度制御部14へ出力する。
FIG. 4 is a diagram showing a processing flow of the control device according to the second embodiment.
Next, details of processing of the control device 1 according to the second embodiment will be described.
First, the feedback control unit 13 acquires a deviation Δθ n between the target angle θ rn of the joint mechanism of the joint mechanism to which the two links are connected and the current angle θ n (step S201). The deviation can be calculated by θ rn −θ n . The feedback control unit 13 uses the deviation Δθ n to calculate an angle feedback valve opening degree a fn [%] such that the Δθ n becomes 0 by feedback control (step S202). The feedback control unit 13 outputs the angle feedback valve opening degree a fn [%] to the valve opening degree control unit 14.

他方、重力補償トルク算出部11は、関節機構の目標角度θrnを取得する。重力補償トルク算出部11は目標角度θrnを重力補償方程式g(θrn)に代入して、関節角度を制御して動作させるリンクの自重を打ち消す重力補償トルクτgn[Nm]を算出する(ステップS203)。重力補償トルク算出部11は重力補償トルクτgn[Nm]を重力補償弁開度算出部12へ出力する。 On the other hand, the gravity compensation torque calculation unit 11 acquires the target angle θ rn of the joint mechanism. The gravity compensation torque calculator 11 substitutes the target angle θ rn into the gravity compensation equation g (θ rn ), and calculates the gravity compensation torque τ gn [Nm] that cancels the weight of the link operated by controlling the joint angle ( Step S203). The gravity compensation torque calculation unit 11 outputs the gravity compensation torque τ gn [Nm] to the gravity compensation valve opening calculation unit 12.

変動抑制部15は偏差Δθを取得する。変動抑制部15は取得した偏差Δθの変動周波数を抑制して重力補償弁開度算出部12へ出力する(ステップS204)。重力補償弁開度算出部12は重力補償トルクτgn[Nm]と、目標角度θrnと、変動周波数が抑制された偏差Δθとを取得する。重力補償弁開度算出部12はτgn[Nm]×θrnの値を算出する(ステップS205)。重力補償弁開度算出部12はτgn[Nm]×θrnの値と偏差Δθの値とに基づいて、式(1)で表される重力補償弁開度算出式の可変ゲイン係数Kgnを決定する(ステップS206)。 The fluctuation suppressing unit 15 acquires the deviation Δθ n . The fluctuation suppressing unit 15 suppresses the obtained fluctuation frequency of the deviation Δθ n and outputs the suppressed fluctuation frequency to the gravity compensation valve opening degree calculating unit 12 (step S204). The gravity compensation valve opening calculation unit 12 acquires the gravity compensation torque τ gn [Nm], the target angle θ rn, and the deviation Δθ n in which the fluctuation frequency is suppressed. The gravity compensation valve opening calculator 12 calculates the value of τ gn [Nm] × θ rn (step S205). The gravity compensation valve opening degree calculation unit 12 is based on the value of τ gn [Nm] × θ rn and the value of the deviation Δθ n , and the variable gain coefficient K of the gravity compensation valve opening degree calculation expression represented by the equation (1). gn is determined (step S206).

第一の実施形態と同様に、第二の実施形態の重力補償弁開度算出部12は可変ゲイン係数Kgnを決定する場合に、τgn[Nm]×θrnの値の正負の符号、偏差Δθの正負の符号に基づいて、可変ゲイン係数Kgnを増加させるか減少させるかを決定する。またτgn[Nm]×θrnの値や偏差Δθの値に基づいて所定の算出式により、可変ゲイン係数Kgnの数値を特定してよい。 Similar to the first embodiment, when the gravity compensation valve opening calculation unit 12 of the second embodiment determines the variable gain coefficient K gn , the sign of the value of τ gn [Nm] × θ rn , Based on the sign of the deviation Δθ n , it is determined whether to increase or decrease the variable gain coefficient K gn . Further, the numerical value of the variable gain coefficient K gn may be specified by a predetermined calculation formula based on the value of τ gn [Nm] × θ rn and the value of the deviation Δθ n .

重力補償弁開度算出部12は可変ゲイン係数Kgnを決定すると、上記式(1)により重力補償弁開度agn[%]を算出する(ステップS207)。重力補償弁開度算出部12は重力補償弁開度agn[%]を弁開度制御部14へ出力する。 When the gravity compensation valve opening degree calculation unit 12 determines the variable gain coefficient K gn , the gravity compensation valve opening degree a gn [%] is calculated by the above formula (1) (step S207). The gravity compensation valve opening calculation unit 12 outputs the gravity compensation valve opening a gn [%] to the valve opening control unit 14.

弁開度制御部14はフィードバック制御部13から取得した角度フィードバック弁開度afn[%]と、重力補償弁開度算出部12から取得した重力補償弁開度agn[%]を加算して、弁開度制御指令を算出する(ステップS208)。弁開度制御部14は弁開度制御指令を機械装置2の対象の制御弁へ出力する(ステップS209)。 The valve opening control unit 14 adds the angle feedback valve opening a fn [%] acquired from the feedback control unit 13 and the gravity compensation valve opening a gn [%] acquired from the gravity compensation valve opening calculation unit 12. Then, a valve opening control command is calculated (step S208). The valve opening degree control unit 14 outputs a valve opening degree control command to the target control valve of the mechanical device 2 (step S209).

以上の処理によれば、第一の実施形態と同様の効果に加え、変動抑制部15が偏差の変動周波数を抑制するため、可変ゲイン係数Kgnの変動を抑えることができる。自重補償の思想は静的な(動特性を持たない)重量負荷変化を補償するもので、細かく補償量を変える必要はない場合もある。また補償しないことによる外乱はフィードバックで賄うことができる。むしろ、急変することがかえって外乱になる可能性があり、これを防ぐべく変動の少ない入力信号となるようにしている。 According to the above process, in addition to the same effects as those of the first embodiment, the fluctuation suppressing unit 15 suppresses the fluctuation frequency of the deviation, so that the fluctuation of the variable gain coefficient K gn can be suppressed. The concept of self-weight compensation compensates for a change in weight load that is static (having no dynamic characteristics), and it may not be necessary to change the compensation amount in detail. Disturbances due to non-compensation can be covered by feedback. Rather, sudden changes may cause disturbances, and input signals with little fluctuation are used to prevent this.

<第三の実施形態>
以下、第三の実施形態による制御装置を図面を参照して説明する。
図5は第三実施形態による制御装置の可変ゲイン係数の決定概要を示す図である。
重力補償弁開度算出部12は、重力補償トルクτgn[Nm]を重力補償弁開度agn[%]に変換する可変ゲイン係数Kgnを偏差Δθの値に基づいて変化させる。例えば重力補償弁開度算出部12は、一定角速度で変化させる関節角度の定常偏差を超える角度以上に関節角度を動かす場合には、当該関節角度の大きさに比例させて所定の係数値K1より大きな所定の値K2まで可変ゲイン係数Kgnを増大させる。
<Third embodiment>
Hereinafter, a control device according to a third embodiment will be described with reference to the drawings.
FIG. 5 is a diagram showing an outline of determination of the variable gain coefficient of the control device according to the third embodiment.
The gravity compensation valve opening calculation unit 12 changes the variable gain coefficient K gn for converting the gravity compensation torque τ gn [Nm] into the gravity compensation valve opening a gn [%] based on the value of the deviation Δθ n . For example, when the joint angle is moved beyond an angle that exceeds the steady-state deviation of the joint angle that is changed at a constant angular velocity, the gravity compensation valve opening calculation unit 12 uses a predetermined coefficient value K1 in proportion to the magnitude of the joint angle. The variable gain coefficient K gn is increased to a large predetermined value K2.

重力補償弁開度算出部12は、一定角速度で変化させる関節角度の定常偏差を超えない角度未満で関節角度を動かす場合には、可変ゲイン係数Kgnを所定の係数値K1に保持する。 The gravity compensation valve opening calculation unit 12 holds the variable gain coefficient K gn at a predetermined coefficient value K1 when the joint angle is moved below an angle that does not exceed the steady-state deviation of the joint angle that is changed at a constant angular velocity.

重力補償弁開度算出部12は、偏差Δθが所定の大きさΔθ1となった場合に、当該偏差Δθの大きさに応じて、可変ゲイン係数Kgnを所定の係数値K1から比例的に増加させる。Δθ1は、一定角速度で行う関節角度の制御において発生する関節角度の定常偏差に基づいて決定する。可変ゲイン係数Kgnの上限であるK2は、出力可能な弁開度飽和値などから現実的な値を設定する。係数値K1は関節機構を静止状態で制御している時、フィードバック制御出力が殆どなく重力補償のための制御出力が主となる状態における可変ゲイン係数Kgnの値を目安として定める。 When the deviation Δθ n reaches a predetermined magnitude Δθ1, the gravity compensation valve opening calculator 12 proportionally changes the variable gain coefficient K gn from the predetermined coefficient value K1 according to the magnitude of the deviation Δθ n. Increase to. Δθ1 is determined based on a steady-state deviation of the joint angle generated in the joint angle control performed at a constant angular velocity. K2, which is the upper limit of the variable gain coefficient K gn , is set to a realistic value from a valve opening saturation value that can be output. The coefficient value K1 is determined based on the value of the variable gain coefficient K gn in a state where there is almost no feedback control output and the control output for gravity compensation is main when the joint mechanism is controlled in a stationary state.

第三の実施形態による可変ゲイン係数Kgnの決定手法によれば、その値を都度調整する必要が無く、また、下限値を明確に設定していることから可変ゲイン係数Kgnを有意な範囲内で収束させることができる。
なお第三の実施形態による可変ゲイン係数Kgnの決定手法を第一の実施形態や第二の実施系値に適用してよい。
According to the method for determining the variable gain coefficient K gn according to the third embodiment, it is not necessary to adjust the value each time, and since the lower limit value is clearly set, the variable gain coefficient K gn is set to a significant range. Can be converged within.
Note that the variable gain coefficient K gn determination method according to the third embodiment may be applied to the first embodiment and the second implementation system value.

<第四の実施形態>
以下、第四の実施形態による制御装置を図面を参照して説明する。
図6は第四の実施形態による制御装置の重力補償トルクの出力タイミングを説明する図である。
図6で示す波形は、関節機構の関節角度が目標角度θrnに達するまでの当該角度の時間的な変化を示している。関節機構の関節角度が目標角度θrnに達するまでには応答時間が必要である。重力補償トルク算出部11は、目標軌道θrnが予め与えられている場合、別途ステップ応答などで計測してある制御弁の応答時間λ分だけ先行して、リンクの自重を打ち消す重力補償トルクτgn[Nm]を重力補償方程式g(θ(t+λ))により算出して、その重力補償トルクτgn[Nm]を時刻tにおいて重力補償弁開度算出部12へ出力する。
<Fourth embodiment>
Hereinafter, a control device according to a fourth embodiment will be described with reference to the drawings.
FIG. 6 is a diagram illustrating the output timing of the gravity compensation torque of the control device according to the fourth embodiment.
The waveform shown in FIG. 6 shows a temporal change in the angle until the joint angle of the joint mechanism reaches the target angle θ rn . Response time is required until the joint angle of the joint mechanism reaches the target angle θ rn . When the target trajectory θ rn is given in advance, the gravity compensation torque calculation unit 11 precedes the response time λ of the control valve, which is separately measured by a step response or the like, and cancels the weight of the link. gn [Nm] is calculated by the gravity compensation equation g (θ n (t + λ)), and the gravity compensation torque τ gn [Nm] is output to the gravity compensation valve opening calculation unit 12 at time t.

なお、第二の実施形態の場合には、重力補償トルク算出部11は、目標軌道θrnが予め与えられている場合、別途ステップ応答などで計測してある制御弁の応答時間λ分だけ先行して、リンクの自重を打ち消す重力補償トルクτgn[Nm]を重力補償方程式g(θrn(t+λ))により算出して、その重力補償トルクτgn[Nm]を時刻tにおいて重力補償弁開度算出部12へ出力する。 In the case of the second embodiment, when the target trajectory θ rn is given in advance, the gravity compensation torque calculation unit 11 precedes the response time λ of the control valve that is separately measured by a step response or the like. Then, the gravity compensation torque τ gn [Nm] for canceling the link weight is calculated by the gravity compensation equation g (θ rn (t + λ)), and the gravity compensation torque τ gn [Nm] is opened at the time t. Output to the degree calculator 12.

油圧系は微小開度の非線形が強いため、応答遅れが無視できない。そのためこれを無駄時間と捉え、先行してリンクの自重を打ち消す重力補償トルクτgn[Nm]を重力補償方程式g(θrn)により算出して、その重力補償トルクτgn[Nm]を重力補償弁開度算出部12へ出力する。これにより例えば第三の実施形態でΔθが動き始めに大きくプラスになり、従って可変ゲイン係数Kgnが大きくなるためΔθがマイナスになり可変ゲイン係数Kgnが小さくなるといった、可変ゲイン係数Kgnのハンチングを防ぐことができる。 Since the hydraulic system has a strong non-linear nonlinearity, the response delay cannot be ignored. Therefore, this is regarded as a dead time, and a gravity compensation torque τ gn [Nm] that cancels the link weight in advance is calculated by the gravity compensation equation g (θ rn ), and the gravity compensation torque τ gn [Nm] is calculated as the gravity compensation. Output to the valve opening calculator 12. As a result, for example, in the third embodiment, Δθ n becomes large positive at the beginning of movement, and therefore the variable gain coefficient K gn increases, so that Δθ n becomes negative and the variable gain coefficient K gn becomes small. Hunting of gn can be prevented.

<第五の実施形態>
重力補償弁開度算出部12は、重力補償トルクτgn[Nm]を重力補償弁開度agn[%]に変換する可変ゲイン係数Kgnを関節角度が目標角度に移行するまでに最速となる可変ゲイン係数を学習するようにしてもよい。
例えば、重力補償弁開度算出部12は可変ゲイン係数Kgnを角速度を入力とした変数としてKgn(θn’)として可変にする。可変ゲイン係数Kgn(θn’)はある角速度(θn’)の際について何度か様々な軌道で動かし学習させるようにしてよい。
<Fifth embodiment>
The gravity compensation valve opening calculation unit 12 sets the variable gain coefficient K gn that converts the gravity compensation torque τ gn [Nm] to the gravity compensation valve opening a gn [%] as the fastest until the joint angle shifts to the target angle. The variable gain coefficient may be learned.
For example, the gravity compensation valve opening calculation unit 12 makes the variable gain coefficient K gn variable as K gn (θn ′) as a variable having the angular velocity as an input. The variable gain coefficient K gn (θn ′) may be learned by moving several times along various trajectories at a certain angular velocity (θn ′).

上述の各実施形態においては、駆動機構が、関節機構を介して接続された複数のリンクを含み、制御装置1が、駆動機構を有する機械装置2の関節機構の関節角度を油圧により制御している。そして、重力補償トルク算出部11が、関節角度を制御して動作させる駆動機構構成部品であるリンクの自重を打ち消す重力補償トルクを重力補償方程式を用いて算出する。また弁開度制御部14が、関節機構の現在の駆動状態量である関節角度と目標の駆動状態量である関節角度とにより定まる角度フィードバック弁開度と重力補償弁開度とに基づいて、制御弁の弁開度制御指令を算出する。
しかしながら駆動機構は関節機構以外の他の機構であってよい。例えば駆動機構は伸縮機構などの他の機構であってもよい。そして駆動状態量は駆動機構が伸縮機構である場合には伸び量や縮み量を示すものであってもよい。
In each of the embodiments described above, the drive mechanism includes a plurality of links connected via the joint mechanism, and the control device 1 controls the joint angle of the joint mechanism of the mechanical device 2 having the drive mechanism by hydraulic pressure. Yes. Then, the gravity compensation torque calculation unit 11 calculates a gravity compensation torque that cancels the weight of the link, which is a drive mechanism component operated by controlling the joint angle, using the gravity compensation equation. Further, the valve opening control unit 14 is based on the angle feedback valve opening and the gravity compensation valve opening determined by the joint angle that is the current driving state amount of the joint mechanism and the joint angle that is the target driving state amount. A valve opening control command for the control valve is calculated.
However, the drive mechanism may be a mechanism other than the joint mechanism. For example, the drive mechanism may be another mechanism such as an expansion / contraction mechanism. The driving state quantity may indicate the amount of expansion or contraction when the driving mechanism is an expansion / contraction mechanism.

駆動機構が関節機構以外である場合も、重力補償弁開度算出部12は、現在の駆動状態量を重力補償方程式に入力して算出された重力補償トルクと、目標の駆動状態量と、現在の駆動状態量と目標の駆動状態量との偏差と、を用いて重力補償弁開度を算出してよい。   Even when the drive mechanism is other than the joint mechanism, the gravity compensation valve opening degree calculation unit 12 inputs the current drive state quantity into the gravity compensation equation, the gravity compensation torque calculated, the target drive state quantity, The gravity compensation valve opening may be calculated using a deviation between the drive state quantity and the target drive state quantity.

また駆動機構が関節機構以外である場合も、重力補償弁開度算出部12は、目標の駆動状態量を重力補償方程式に入力して算出された重力補償トルクと、目標の駆動状態量と、現在の駆動状態量と目標の駆動状態量との偏差と、を用いて重力補償弁開度を算出してよい。   Further, even when the drive mechanism is other than the joint mechanism, the gravity compensation valve opening degree calculation unit 12 inputs the target drive state quantity into the gravity compensation equation, the gravity compensation torque calculated, the target drive state quantity, The gravity compensation valve opening may be calculated using the deviation between the current drive state quantity and the target drive state quantity.

また駆動機構が関節機構以外である場合も、偏差の変動周波数を抑制する変動抑制部を備えてよい。   Further, when the drive mechanism is other than the joint mechanism, a fluctuation suppressing unit that suppresses the fluctuation frequency of the deviation may be provided.

また駆動機構が関節機構以外である場合も、重力補償弁開度算出部12は、重力補償トルクを重力補償弁開度に変換する可変ゲイン係数を、一定度合で変化させる駆動状態量の定常偏差を超える駆動状態量以上の場合には当該駆動状態量の大きさに比例させて所定の係数値より大きな所定の値まで増大させ、駆動状態量の定常偏差を超えない駆動状態量未満の場合には所定の係数値に保持するようにしてよい。   Further, even when the drive mechanism is other than the joint mechanism, the gravity compensation valve opening degree calculation unit 12 changes the variable gain coefficient for converting the gravity compensation torque into the gravity compensation valve opening degree by a certain degree, and the steady deviation of the drive state amount If the driving state quantity exceeds the driving state quantity, the driving state quantity is increased in proportion to the magnitude of the driving state quantity to a predetermined value larger than a predetermined coefficient value. May be held at a predetermined coefficient value.

また駆動機構が関節機構以外である場合も、重力補償トルク算出部11は、制御弁が算出された弁開度に達するまでの応答時間に基づいて決定された所定時間分先行した時刻における重力補償トルクを算出して出力してよい。   Even when the drive mechanism is other than the joint mechanism, the gravity compensation torque calculation unit 11 performs gravity compensation at a time preceding the predetermined time determined based on the response time until the control valve reaches the calculated valve opening. Torque may be calculated and output.

また駆動機構が関節機構以外である場合も、重力補償弁開度算出部12は、重力補償トルクを重力補償弁開度に変換する可変ゲイン係数を駆動状態量が目標の駆動状態量に移行するまでに最速となる可変ゲイン係数を学習するようにしてもよい。   Further, even when the drive mechanism is other than the joint mechanism, the gravity compensation valve opening degree calculation unit 12 shifts the variable gain coefficient for converting the gravity compensation torque into the gravity compensation valve opening degree so that the drive state quantity shifts to the target drive state quantity. You may make it learn the variable gain coefficient used as the fastest until now.

上述の制御装置1は内部に、コンピュータシステムを有している。そして、制御装置1に上述した各処理を行わせるためのプログラムは、当該制御装置1のコンピュータ読み取り可能な記録媒体に記憶されており、このプログラムを制御装置1のコンピュータが読み出して実行することによって、上記処理が行われる。ここでコンピュータ読み取り可能な記録媒体とは、磁気ディスク、光磁気ディスク、CD−ROM、DVD−ROM、半導体メモリ等をいう。また、このコンピュータプログラムを通信回線によってコンピュータに配信し、この配信を受けたコンピュータが当該プログラムを実行するようにしても良い。   The above-described control device 1 has a computer system inside. And the program for making the control apparatus 1 perform each process mentioned above is memorize | stored in the computer-readable recording medium of the said control apparatus 1, The computer of the control apparatus 1 reads and runs this program The above processing is performed. Here, the computer-readable recording medium means a magnetic disk, a magneto-optical disk, a CD-ROM, a DVD-ROM, a semiconductor memory, or the like. Alternatively, the computer program may be distributed to the computer via a communication line, and the computer that has received the distribution may execute the program.

また、上記プログラムは、前述した各処理部の機能の一部を実現するためのものであっても良い。さらに、前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるもの、いわゆる差分ファイル(差分プログラム)であっても良い。   Further, the program may be for realizing a part of the functions of each processing unit described above. Furthermore, what can implement | achieve the function mentioned above in combination with the program already recorded on the computer system, and what is called a difference file (difference program) may be sufficient.

1・・・制御装置
2・・・機械装置
11・・・重力補償トルク算出部
12・・・重力補償弁開度算出部
13・・・フィードバック制御部
14・・・弁開度制御部
15・・・変動抑制部
DESCRIPTION OF SYMBOLS 1 ... Control apparatus 2 ... Mechanical apparatus 11 ... Gravity compensation torque calculation part 12 ... Gravity compensation valve opening degree calculation part 13 ... Feedback control part 14 ... Valve opening degree control part 15 ..Fluctuation suppression unit

Claims (10)

駆動機構を有する機械装置の前記駆動機構を油圧により制御する制御装置が、
前記駆動機構を制御して動作させる駆動機構構成部品の自重を打ち消す重力補償トルクを重力補償方程式を用いて算出する重力補償トルク算出部と、
前記重力補償トルクを前記油圧の流量を制御する制御弁の弁開度を示す重力補償弁開度に変換する重力補償弁開度算出部と、
前記駆動機構の現在の駆動状態量と目標の駆動状態量とにより定まるフィードバック弁開度と前記重力補償弁開度とに基づいて、前記制御弁の弁開度制御指令を算出する弁開度制御部と、
を備える制御装置。
A control device for controlling the drive mechanism of a mechanical device having a drive mechanism by hydraulic pressure,
A gravity compensation torque calculation unit that calculates a gravity compensation torque that cancels the weight of a drive mechanism component that controls and operates the drive mechanism using a gravity compensation equation;
A gravity compensation valve opening calculator for converting the gravity compensation torque into a gravity compensation valve opening indicating a valve opening of a control valve that controls the flow rate of the hydraulic pressure;
Valve opening control for calculating a valve opening control command for the control valve based on a feedback valve opening determined by a current driving state amount and a target driving state amount of the driving mechanism and the gravity compensation valve opening And
A control device comprising:
前記駆動機構が、関節機構を介して接続された複数のリンクを含み、
前記制御装置が、前記駆動機構を有する機械装置の前記関節機構の関節角度を前記油圧により制御し、
前記重力補償トルク算出部が、前記関節角度を制御して動作させる前記駆動機構構成部品であるリンクの自重を打ち消す前記重力補償トルクを重力補償方程式を用いて算出し、
前記弁開度制御部が、前記関節機構の現在の前記駆動状態量である関節角度と目標の前記駆動状態量である関節角度とにより定まる角度フィードバック弁開度と前記重力補償弁開度とに基づいて、前記制御弁の弁開度制御指令を算出する
請求項1に記載の制御装置。
The drive mechanism includes a plurality of links connected via a joint mechanism;
The control device controls the joint angle of the joint mechanism of the mechanical device having the drive mechanism by the hydraulic pressure;
The gravity compensation torque calculation unit calculates the gravity compensation torque that cancels the weight of the link that is the drive mechanism component that operates by controlling the joint angle using a gravity compensation equation,
The valve opening degree control unit includes an angle feedback valve opening degree and a gravity compensation valve opening degree determined by a joint angle that is the current driving state amount of the joint mechanism and a target joint angle that is the target driving state amount. The control device according to claim 1, wherein a valve opening control command for the control valve is calculated based on the control valve.
前記重力補償弁開度算出部は、前記現在の関節角度を前記重力補償方程式に入力して算出された前記重力補償トルクと、前記目標の関節角度と、前記現在の関節角度と前記目標の関節角度との偏差と、を用いて重力補償弁開度を算出する
請求項2に記載の制御装置。
The gravity compensation valve opening calculation unit is configured to input the current joint angle to the gravity compensation equation, calculate the gravity compensation torque, the target joint angle, the current joint angle, and the target joint. The control device according to claim 2, wherein the gravity compensation valve opening is calculated using a deviation from the angle.
前記重力補償弁開度算出部は、前記目標の関節角度を前記重力補償方程式に入力して算出された前記重力補償トルクと、前記目標の関節角度と、前記現在の関節角度と前記目標の関節角度との偏差と、を用いて重力補償弁開度を算出する
請求項2に記載の制御装置。
The gravity compensation valve opening calculation unit is configured to input the target joint angle to the gravity compensation equation, calculate the gravity compensation torque, the target joint angle, the current joint angle, and the target joint. The control device according to claim 2, wherein the gravity compensation valve opening is calculated using a deviation from the angle.
前記偏差の変動周波数を抑制する変動抑制部を備える請求項3または請求項4に記載の制御装置。   The control device according to claim 3, further comprising a fluctuation suppressing unit that suppresses the fluctuation frequency of the deviation. 前記重力補償弁開度算出部は、前記重力補償トルクを前記重力補償弁開度に変換する可変ゲイン係数を、一定角速度で変化させる前記関節角度の定常偏差を超える角度以上の場合には当該角度の大きさに比例させて所定の係数値より大きな所定の値まで増大させ、前記関節角度の定常偏差を超えない角度未満の場合には前記所定の係数値に保持する
請求項2から請求項5の何れか一項に記載の制御装置。
The gravity compensation valve opening calculator calculates a variable gain coefficient for converting the gravity compensation torque into the gravity compensation valve opening when the angle exceeds a steady deviation of the joint angle that changes at a constant angular velocity. 6. The predetermined coefficient value is increased to a predetermined value larger than a predetermined coefficient value in proportion to the magnitude of the joint angle, and is held at the predetermined coefficient value when the angle is less than a steady deviation of the joint angle. The control device according to any one of the above.
前記重力補償トルク算出部は、前記制御弁が算出された弁開度に達するまでの応答時間に基づいて決定された所定時間分先行した時刻における重力補償トルクを算出して出力する
請求項2から請求項6の何れか一項に記載の制御装置。
The gravity compensation torque calculation unit calculates and outputs a gravity compensation torque at a time preceding by a predetermined time determined based on a response time until the control valve reaches the calculated valve opening. The control device according to claim 6.
前記重力補償弁開度算出部は、前記重力補償トルクを前記重力補償弁開度に変換する可変ゲイン係数を前記関節角度が目標角度に移行するまでに最速となる可変ゲイン係数を学習する
請求項2から請求項7の何れか一項に記載の制御装置。
The gravity compensation valve opening degree calculation unit learns a variable gain coefficient that converts the gravity compensation torque into the gravity compensation valve opening degree so that the variable gain coefficient becomes the fastest before the joint angle shifts to a target angle. The control device according to any one of claims 2 to 7.
駆動機構を有する機械装置の前記駆動機構を油圧により制御する制御装置の制御方法であって、
前記駆動機構を制御して動作させる駆動機構構成部品の自重を打ち消す重力補償トルクを重力補償方程式を用いて算出し、
前記重力補償トルクを前記油圧の流量を制御する制御弁の弁開度を示す重力補償弁開度に変換し、
前記駆動機構の現在の駆動状態量と目標の駆動状態量とにより定まるフィードバック弁開度と前記重力補償弁開度とに基づいて、前記制御弁の弁開度制御指令を算出する
制御方法。
A control method of a control device for controlling the drive mechanism of a mechanical device having a drive mechanism by hydraulic pressure,
Calculate the gravity compensation torque that counteracts the weight of the drive mechanism component that controls and operates the drive mechanism using the gravity compensation equation,
Converting the gravity compensation torque into a gravity compensation valve opening indicating a valve opening of a control valve that controls the flow rate of the hydraulic pressure;
A control method for calculating a valve opening degree control command of the control valve based on a feedback valve opening degree determined by a current driving state quantity and a target driving state quantity of the driving mechanism and the gravity compensation valve opening degree.
駆動機構を有する機械装置の前記駆動機構を油圧により制御する制御装置のコンピュータを、
前記駆動機構を制御して動作させる駆動機構構成部品の自重を打ち消す重力補償トルクを重力補償方程式を用いて算出する重力補償トルク算出手段、
前記重力補償トルクを前記油圧の流量を制御する制御弁の弁開度を示す重力補償弁開度に変換する重力補償弁開度算出手段、
前記駆動機構の現在の駆動状態量と目標の駆動状態量とにより定まるフィードバック弁開度と前記重力補償弁開度とに基づいて、前記制御弁の弁開度制御指令を算出する弁開度制御手段、
として機能させるプログラム。
A computer of a control device for controlling the drive mechanism of a mechanical device having a drive mechanism by hydraulic pressure;
Gravity compensation torque calculation means for calculating a gravity compensation torque that cancels the weight of the drive mechanism component that controls and operates the drive mechanism using a gravity compensation equation;
Gravity compensation valve opening calculating means for converting the gravity compensation torque into a gravity compensation valve opening indicating a valve opening of a control valve that controls the flow rate of the hydraulic pressure;
Valve opening control for calculating a valve opening control command for the control valve based on a feedback valve opening determined by a current driving state amount and a target driving state amount of the driving mechanism and the gravity compensation valve opening means,
Program to function as.
JP2016243350A 2016-12-15 2016-12-15 Control device, control method, program Active JP6757240B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016243350A JP6757240B2 (en) 2016-12-15 2016-12-15 Control device, control method, program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016243350A JP6757240B2 (en) 2016-12-15 2016-12-15 Control device, control method, program

Publications (2)

Publication Number Publication Date
JP2018097722A true JP2018097722A (en) 2018-06-21
JP6757240B2 JP6757240B2 (en) 2020-09-16

Family

ID=62633716

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016243350A Active JP6757240B2 (en) 2016-12-15 2016-12-15 Control device, control method, program

Country Status (1)

Country Link
JP (1) JP6757240B2 (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05265563A (en) * 1992-03-17 1993-10-15 Matsushita Electric Ind Co Ltd Controller for robot
JPH09131679A (en) * 1995-11-08 1997-05-20 Eiji Nakano Travel controller of traveling robot
JP2003122402A (en) * 2001-10-09 2003-04-25 Yaskawa Electric Corp Method for controlling servo controller
JP2004216522A (en) * 2003-01-16 2004-08-05 Hitachi Ltd Device and method for controlling horizontal or vertical movement of manipulator
CN1651666A (en) * 2005-03-28 2005-08-10 广西柳工机械股份有限公司 Path control system used for hydraulic digger operating device and its method
JP2006252383A (en) * 2005-03-14 2006-09-21 Seiko Epson Corp Acceleration/deceleration control method and device, and program for acceleration/deceleration control method
JP2011235374A (en) * 2010-05-07 2011-11-24 Yaskawa Electric Corp Device and method for estimating load of robot
WO2011161765A1 (en) * 2010-06-22 2011-12-29 株式会社 東芝 Robot control device
JP2014512976A (en) * 2011-04-29 2014-05-29 レイセオン カンパニー Remote control robot system
JP2015077643A (en) * 2013-10-16 2015-04-23 国立大学法人信州大学 Parameter identification method for vertical multijoint hydraulic manipulator, identification apparatus, and identification program
WO2015178084A1 (en) * 2014-05-23 2015-11-26 三菱電機株式会社 Device for controlling conveyance between rollers

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05265563A (en) * 1992-03-17 1993-10-15 Matsushita Electric Ind Co Ltd Controller for robot
JPH09131679A (en) * 1995-11-08 1997-05-20 Eiji Nakano Travel controller of traveling robot
JP2003122402A (en) * 2001-10-09 2003-04-25 Yaskawa Electric Corp Method for controlling servo controller
JP2004216522A (en) * 2003-01-16 2004-08-05 Hitachi Ltd Device and method for controlling horizontal or vertical movement of manipulator
JP2006252383A (en) * 2005-03-14 2006-09-21 Seiko Epson Corp Acceleration/deceleration control method and device, and program for acceleration/deceleration control method
CN1651666A (en) * 2005-03-28 2005-08-10 广西柳工机械股份有限公司 Path control system used for hydraulic digger operating device and its method
JP2011235374A (en) * 2010-05-07 2011-11-24 Yaskawa Electric Corp Device and method for estimating load of robot
WO2011161765A1 (en) * 2010-06-22 2011-12-29 株式会社 東芝 Robot control device
JP2014512976A (en) * 2011-04-29 2014-05-29 レイセオン カンパニー Remote control robot system
JP2015077643A (en) * 2013-10-16 2015-04-23 国立大学法人信州大学 Parameter identification method for vertical multijoint hydraulic manipulator, identification apparatus, and identification program
WO2015178084A1 (en) * 2014-05-23 2015-11-26 三菱電機株式会社 Device for controlling conveyance between rollers

Also Published As

Publication number Publication date
JP6757240B2 (en) 2020-09-16

Similar Documents

Publication Publication Date Title
He et al. Boundary vibration control of variable length crane systems in two-dimensional space with output constraints
Kim et al. Disturbance-observer-based position tracking controller in the presence of biased sinusoidal disturbance for electrohydraulic actuators
JP6097174B2 (en) Robot controller
Feliu et al. Passivity-based control of single-link flexible manipulators using a linear strain feedback
CN107121932B (en) Motor servo system error symbol integral robust self-adaptive control method
CN104614984B (en) High-precision control method of motor position servo system
EP3566998B1 (en) Control of overhead cranes
KR20140147267A (en) Control Method and Device for Position-Based Impedance Controlled Industrial Robot
CN103092073A (en) Control method and system for inhibiting vibration of arm support
CN103064425A (en) Method and system for improving motion stability of arm support and engineering machinery
CN103075011A (en) Arm support track optimization method and system and engineering machinery comprising system
Feliu-Talegon et al. Improving the position control of a two degrees of freedom robotic sensing antenna using fractional-order controllers
KR101141917B1 (en) Time delay control with gradient estimator for robot manipulator and robot manipulator controller using the same
Grazioso et al. Input predictive shaping for vibration control of flexible systems
Ekaputri et al. Implementation model predictive control (MPC) algorithm-3 for inverted pendulum
JP2013254448A (en) Positioner
JP2018097722A (en) Control device, control method, and program
Bendimrad et al. Optimization of the performances of a two-joint robotic arm using sliding mode control
KR100963394B1 (en) Crane control apparatus and method
KR101057096B1 (en) Input molding control device and method using virtual mode
KR100981867B1 (en) Crane control apparatus and method
KR101311790B1 (en) System and method for controlling position for a second order mass-spring system, and a medium having computer readable program for executing the method
Vyhlídal et al. Double oscillatory mode compensation by inverse signal shaper with distributed delays
Fernandes et al. Sliding mode control with a neural network compensation scheme for electro-hydraulic systems
Aoustin et al. Simple anti-swing feedback control for a gantry crane

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20161216

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20181004

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20181109

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190827

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190910

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191111

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200121

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20200323

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200519

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20200818

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200828

R150 Certificate of patent or registration of utility model

Ref document number: 6757240

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150