JP6757240B2 - Control device, control method, program - Google Patents

Control device, control method, program Download PDF

Info

Publication number
JP6757240B2
JP6757240B2 JP2016243350A JP2016243350A JP6757240B2 JP 6757240 B2 JP6757240 B2 JP 6757240B2 JP 2016243350 A JP2016243350 A JP 2016243350A JP 2016243350 A JP2016243350 A JP 2016243350A JP 6757240 B2 JP6757240 B2 JP 6757240B2
Authority
JP
Japan
Prior art keywords
gravity compensation
valve opening
angle
target
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2016243350A
Other languages
Japanese (ja)
Other versions
JP2018097722A (en
Inventor
村田 直史
直史 村田
貴幸 小谷
貴幸 小谷
公彦 松尾
公彦 松尾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi 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

Description

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

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

特開2015−105560号公報Japanese Unexamined Patent Publication No. 2015-105560

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

本発明の第1の態様によれば、駆動機構を有する機械装置の前記駆動機構を油圧により制御する制御装置が、前記駆動機構を制御して動作させる駆動機構構成部品の自重を打ち消す前記駆動機構を構成するリンク間の現在の角度またはその目標に対応する重力補償トルクを重力補償方程式を用いて算出する重力補償トルク算出部と、前記重力補償トルクと前記駆動機構を構成するリンク間の角度を示す関節角度の現在と目標との偏差と、前記目標のみに基づいて、前記重力補償トルクを、前記油圧の流量を制御する制御弁の弁開度を示す重力補償弁開度に変換する重力補償弁開度算出部と、前記駆動機構の現在の駆動状態量と目標の駆動状態量とにより定まるフィードバック弁開度に前記重力補償弁開度を加算して、前記制御弁の弁開度制御指令を算出する弁開度制御部と、を備えることを特徴とする。 According to the first aspect of the present invention, the drive mechanism in which the control device that hydraulically controls the drive mechanism of the mechanical device having the drive mechanism cancels the own weight of the drive mechanism component that controls and operates the drive mechanism. the current angle or gravity compensation torque calculation unit that calculates using gravity compensation equation gravity compensation torque corresponding to the target between links constituting the angle between the links constituting said gravity compensation torque, the drive mechanism Gravity that converts the gravity compensation torque into a gravity compensation valve opening that indicates the valve opening of the control valve that controls the flow rate of the hydraulic pressure, based only on the deviation between the current and the target of the joint angle indicating The valve opening degree control of the control valve is performed by adding the gravity compensation valve opening degree to the feedback valve opening degree determined by the compensation valve opening degree calculation unit, the current drive state amount of the drive mechanism, and the target drive state amount. It is characterized by including a valve opening degree control unit for calculating a command.

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

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

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

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

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

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

本発明の第2の態様によれば、制御方法は、駆動機構を有する機械装置の前記駆動機構を油圧により制御する制御装置の制御方法であって、前記駆動機構を制御して動作させる駆動機構構成部品の自重を打ち消す前記駆動機構を構成するリンク間の現在の角度またはその目標に対応する重力補償トルクを重力補償方程式を用いて算出し、前記重力補償トルクと前記駆動機構を構成するリンク間の角度を示す関節角度の現在と目標との偏差と、前記目標のみに基づいて、前記重力補償トルクを、前記油圧の流量を制御する制御弁の弁開度を示す重力補償弁開度に変換し、前記駆動機構の現在の駆動状態量と目標の駆動状態量とにより定まるフィードバック弁開度に前記重力補償弁開度を加算して、前記制御弁の弁開度制御指令を算出することを特徴とする。 According to the second aspect of the present invention, the control method is a control method of a control device that hydraulically controls the drive mechanism of a mechanical device having a drive mechanism, and is a drive mechanism that controls and operates the drive mechanism. the current angle or gravity compensation torque corresponding to the target between the links constituting the driving mechanism for canceling the dead weight of the components were calculated using the gravity compensation equations constituting said gravity compensation torque, the drive mechanism links Based only on the deviation between the current and target of the joint angle indicating the angle between the current and the target, the gravity compensation torque is changed to the gravity compensation valve opening indicating the valve opening of the control valve that controls the flow rate of the hydraulic pressure. The valve opening control command of the control valve is calculated by converting and adding the gravity compensation valve opening to the feedback valve opening determined by the current driving state amount of the driving mechanism and the target driving state amount. It is characterized by.

本発明の第3の態様によれば、プログラムは、駆動機構を有する機械装置の前記駆動機構を油圧により制御する制御装置のコンピュータを、前記駆動機構を制御して動作させる駆動機構構成部品の自重を打ち消す前記駆動機構を構成するリンク間の現在の角度またはその目標に対応する重力補償トルクを重力補償方程式を用いて算出する重力補償トルク算出手段、前記重力補償トルクと前記駆動機構を構成するリンク間の角度を示す関節角度の現在と目標との偏差と、前記目標のみに基づいて、前記重力補償トルクを、前記油圧の流量を制御する制御弁の弁開度を示す重力補償弁開度に変換する重力補償弁開度算出手段、前記駆動機構の現在の駆動状態量と目標の駆動状態量とにより定まるフィードバック弁開度に前記重力補償弁開度を加算して、前記制御弁の弁開度制御指令を算出する弁開度制御手段、として機能させることを特徴とする。 According to the third aspect of the present invention, the program controls the computer of the control device that hydraulically controls the drive mechanism of the mechanical device having the drive mechanism, and operates by controlling the drive mechanism by its own weight of the drive mechanism component. The gravity compensation torque calculating means for calculating the gravity compensation torque corresponding to the current angle between the links constituting the drive mechanism or the target thereof by using the gravity compensation equation, the gravity compensation torque, and the drive mechanism are configured. Based only on the deviation between the current and target of the joint angle indicating the angle between the links and the target, the gravity compensating torque indicates the valve opening degree of the control valve that controls the flow rate of the hydraulic pressure. Gravity compensation valve opening degree calculating means to convert to, the gravity compensation valve opening degree is added to the feedback valve opening degree determined by the current drive state amount of the drive mechanism and the target drive state amount, and the valve of the control valve It is characterized in that it functions as a valve opening control means for calculating an opening control command.

本発明によれば、重力補償トルクτgn[Nm]を油圧の流量を制御する制御弁の弁開度を示す重力補償弁開度agn[%]に変換する構成だけで、動作させるリンクの自重を打ち消すための弁開度制御指令を算出することができる。よって複雑なロジックを構築する必要が無く動作させるリンクの自重を打ち消すための弁開度制御指令を算出することができる。 According to the present invention, a link that operates only by 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 hydraulic flow rate. It is possible to calculate a valve opening control command for canceling its own weight. Therefore, it is possible to calculate a valve opening control command for canceling the own 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 device 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 device 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 outline of determination of the variable gain coefficient of the control device by 3rd Embodiment. 第四の実施形態による制御装置の重力補償トルクの出力タイミングを説明する図である。It is a figure explaining the output timing of the gravity compensation torque of the control device by 4th Embodiment.

<第一の実施形態>
以下、第一の実施形態による制御装置を図面を参照して説明する。
図1は第一の実施形態による制御装置の構成を示すブロック図である。
この図で示すように制御システムは制御装置1と機械装置2とにより構成されている。制御装置1は関節機構を介して接続された複数のリンクを含む駆動機構を有する機械装置2を制御する。制御装置1は機械装置2における関節機構の関節角度を油圧により制御する。機械装置2は例えば油圧マニピュレータなどであってよい。
<First Embodiment>
Hereinafter, the control device according to the 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 is composed of 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 hydraulically controls the joint angle of the joint mechanism in the mechanical device 2. The mechanical device 2 may be, for example, a hydraulic manipulator.

制御装置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 composed of hardware such as a storage unit such as a ROM (Read Only Memory), a RAM (Random Access Memory), 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 starts up based on the power being turned on to the control device 1 and executes the stored control program. As a result, the control device 1 is provided with the functions of the gravity compensation torque calculation unit 11, the gravity compensation valve opening degree calculation unit 12, the feedback control unit 13, and the valve opening degree control unit 14.

重力補償トルク算出部11は、機械装置2に備わる関節機構の関節角度を制御して動作させるリンクの自重を打ち消す重力補償トルクτgn[Nm]を、重力補償方程式を用いて算出する。本実施形態において関節機構は機械装置2を構成する駆動機構の一態様である。またリンクは駆動機構を制御して動作させる駆動機構構成部品の一態様である。
重力補償弁開度算出部12は、重力補償トルクτgn[Nm]を、油圧の流量を制御する制御弁の弁開度を示す重力補償弁開度agn[%]に変換する。具体的には、重力補償弁開度算出部12は、重力補償トルクτgn[Nm]と、関節角度の目標角度と、当該目標角度と関節角度の現在角度の偏差とを用いて重力補償弁開度agn[%]を算出する。
The gravity compensation torque calculation unit 11 calculates the gravity compensation torque τ gn [Nm] that cancels the own weight of the link that controls and operates the joint angle of the joint mechanism provided in the mechanical device 2 by using the gravity compensation equation. In the present embodiment, the joint mechanism is one aspect of the drive mechanism constituting the mechanical device 2. The link is an aspect of a drive mechanism component that controls and operates the drive mechanism.
The gravity compensation valve opening degree calculation unit 12 converts the gravity compensation torque τ gn [Nm] into a gravity compensation valve opening degree a gn [%] indicating the valve opening degree 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 between the target angle and the current angle of the joint angle to compensate the gravity valve. The opening angle 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 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 amount of the driving mechanism and the target driving state amount. Specifically, the feedback control unit 13 performs feedback control so that the joint angle becomes the target angle θ rn by using the target angle θ rn and the current angle θ n of the joint angle of the joint mechanism provided in the mechanical device 2. .. The joint angle is one aspect of the drive state quantity of the drive mechanism. The feedback control unit 13 outputs the angle feedback valve opening a fn [%] calculated by the feedback control.
The valve opening degree control unit 14 obtains the gravity compensation valve opening degree a gn [%] obtained from the gravity compensation valve opening degree calculation unit 12 and the angle feedback valve opening degree a fn [%] obtained from the feedback control unit 13. It is used to calculate the valve opening control command of the control valve.

制御装置1の処理によれば、重力補償トルクτgn[Nm]を、油圧の流量を制御する制御弁の弁開度を示す重力補償弁開度agn[%]に変換することができる。したがって、動作させるリンクの自重を打ち消すための弁開度制御指令を簡易な構成で算出することができる。 According to the process of the control device 1, the gravity compensation torque τ gn [Nm] can be converted into a gravity compensation valve opening degree a gn [%] indicating the valve opening degree of the control valve that controls the hydraulic flow rate. Therefore, the valve opening control command for canceling the own 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 showing a processing flow of the control device according to the first embodiment.
Next, the details of the processing of the control device 1 will be described.
First, as an example, the feedback control unit 13 acquires the deviation Δθ n of the target angle θ rn of the joint angle 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 the angle feedback valve opening degree a fn [%] such that the Δθ 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 calculation unit 11 substitutes the current angle θ n into the gravity compensation equation g (θ n ) to calculate the gravity compensation torque τ gn [Nm] that cancels the own weight of the link that controls and operates 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 degree calculation unit 12.

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

Figure 0006757240
Figure 0006757240

重力補償弁開度算出部12は可変ゲイン係数Kgnを決定する場合に、τgn[Nm]×θrnの値の正負の符号、偏差Δθの正負の符号に基づいて、可変ゲイン係数Kgnを増加させるか減少させるかを決定する。またτgn[Nm]×θrnの値や偏差Δθの値に基づいて所定の算出式により、可変ゲイン係数Kgnの数値を特定してよい。 When the gravity compensation valve opening calculation unit 12 determines the variable gain coefficient K gn , the variable gain coefficient K is based on the positive and negative signs of the value of τ gn [Nm] × θ rn and the positive and negative signs 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, in the process of step S105, when the value of τ gn [Nm] × θ rn shows + and the value of deviation Δθ n shows +, the gravity compensation valve opening degree calculation unit 12 opposes the link against gravity. It is determined that the situation is driving in the direction and the target has not been reached. 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 .
Further, when the value of τ gn [Nm] × θ rn indicates + and the value of deviation Δθ n indicates −, the gravity compensation valve opening degree calculation unit 12 drives the link in the direction opposite to gravity. It is determined that the link has been activated beyond the target. In this case, the gravity compensation valve opening degree calculation unit 12 determines that the gravity compensation is too effective, and determines the variable gain coefficient K gn so as to reduce the variable gain coefficient K gn .

また重力補償弁開度算出部12は、τgn[Nm]×θrnの値が−を示し、偏差Δθの値が+を示す場合、リンクを重力方向に駆動する状況であって目標に到達していない状況と判定する。この場合、重力補償弁開度算出部12は重力補償が効きすぎであると判定し、可変ゲイン係数Kgnを減少させるようにその可変ゲイン係数Kgnを決定する。
また重力補償弁開度算出部12は、τgn[Nm]×θrnの値が−を示し、偏差Δθの値が−を示す場合、リンクを重力方向に駆動する状況であって目標を超えてリンクを作動させてしまった状況と判定する。この場合、重力補償弁開度算出部12は重力補償が足りないと判定し、可変ゲイン係数Kgnを増加少させるようにその可変ゲイン係数Kgnを決定する。
Further, when the value of τ gn [Nm] × θ rn indicates − and the value of deviation Δθ n indicates +, the gravity compensation valve opening calculation unit 12 sets the target in the situation of driving the link in the direction of gravity. Judge that the situation has not been reached. In this case, the gravity compensation valve opening degree calculation unit 12 determines that the gravity compensation is too effective, and determines the variable gain coefficient K gn so as to reduce the variable gain coefficient K gn .
Further, when the value of τ gn [Nm] × θ rn indicates − and the value of deviation Δθ n indicates −, the gravity compensation valve opening degree calculation unit 12 sets a target in a situation where the link is driven in the direction of gravity. It is determined that the link has been activated beyond that. 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 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 calculation unit 12 calculates the gravity compensation valve opening degree a gn [%] by the above equation (1) (step S106). The gravity compensation valve opening degree calculation unit 12 outputs the gravity compensation valve opening degree a gn [%] to the valve opening degree 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 [%] obtained from the feedback control unit 13 and the gravity compensating valve opening a gn [%] obtained from the gravity compensating valve opening calculation unit 12. Then, the valve opening control command is calculated (step S107). 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 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 valve opening degree of the control valve that controls the hydraulic flow rate. Therefore, it is possible to calculate a valve opening control command for canceling the own weight of the link to be operated.

また上述の処理によれば、重力補償トルクτgn[Nm]を、油圧の流量を制御する制御弁の弁開度を示す重力補償弁開度agn[%]に変換する構成だけで、動作させるリンクの自重を打ち消すための弁開度制御指令を算出することができる。よって複雑なロジックを構築する必要が無く動作させるリンクの自重を打ち消すための弁開度制御指令を算出することができる。
またτgn[Nm]×θrnの値の正負の符号、偏差Δθの正負の符号に基づいて、可変ゲイン係数Kgnを増加させるか減少させるかを決定するので、重力補償トルクτgn[Nm]と目標角度の関係や、偏差Δθの正負に応じた適切な重力補償弁開度agn[%]を算出することができる。
Further, according to the above processing, the operation is performed only by converting the gravity compensation torque τ gn [Nm] into the gravity compensation valve opening degree a gn [%] indicating the valve opening degree of the control valve that controls the hydraulic flow rate. It is possible to calculate a valve opening control command for canceling the own weight of the link to be operated. Therefore, it is possible to calculate a valve opening control command for canceling the own 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 positive and negative signs of the value of τ gn [Nm] × θ rn and the positive and negative signs of the deviation Δθ n , the gravity compensation torque τ gn [ It is possible to calculate an appropriate gravity compensating valve opening degree a gn [%] according to the relationship between [Nm] and the target angle and the positive / negative of the deviation Δθ n .

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

重力補償トルク算出部11は、機械装置2に備わる関節の角度を制御して動作させるリンクの自重を打ち消す重力補償トルクτgn[Nm]を、重力補償方程式を用いて算出する。
重力補償弁開度算出部12は、重力補償トルクτgn[Nm]を、油圧の流量を制御する制御弁の弁開度を示す重力補償弁開度agn[%]に変換する。具体的には、重力補償弁開度算出部12は、関節角度の目標角度θrnを重力補償方程式に入力して算出された重力補償トルクτgn[Nm]と、関節角度の目標角度θrnと、関節角度の現在角度θと関節角度の目標角度θrnの偏差Δθと、を用いて重力補償弁開度を算出する。
The gravity compensation torque calculation unit 11 calculates the gravity compensation torque τ gn [Nm] that cancels the own weight of the link that controls the angle of the joint provided in the mechanical device 2 and operates by using the gravity compensation equation.
The gravity compensation valve opening degree calculation unit 12 converts the gravity compensation torque τ gn [Nm] into a gravity compensation valve opening degree a gn [%] indicating the valve opening degree of the control valve that controls the hydraulic flow rate. Specifically, the gravity compensation valve opening calculation unit 12 inputs the target angle θ rn of the joint angle into the gravity compensation equation to calculate the gravity compensation torque τ gn [Nm] and the target angle θ rn of the joint angle. The gravity compensation valve opening degree is calculated by 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 so that the joint angle becomes the target angle θ rn by using the target angle θ rn of the joint angle of the joint mechanism provided in the mechanical device 2 and the current angle θ n . The feedback control unit 13 outputs the angle feedback valve opening a fn [%] calculated by the feedback control.
The valve opening degree control unit 14 has a gravity compensation valve opening degree a gn [%] obtained from the gravity compensation valve opening degree calculation unit 12 and an angle feedback valve opening degree a fn [%] obtained 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 suppression unit 15 may be configured by a low-pass filter. By the processing of the fluctuation suppression 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 calculation unit 12 is suppressed in the frequency of increase / decrease. To.

図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, the details of the processing of the control device 1 according to the second embodiment will be described.
First, the feedback control unit 13 acquires the deviation Δθ n of the target angle θ rn and the current angle θ n of the joint angle of the joint mechanism to which the two links are connected (step S201). The deviation can be calculated by θ rn − θ n . The feedback control unit 13 uses the deviation Δθ n to calculate the 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 calculation unit 11 substitutes the target angle θ rn into the gravity compensation equation g (θ rn ) to calculate the gravity compensation torque τ gn [Nm] that cancels the own weight of the link that controls and operates 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 degree 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 suppression unit 15 acquires the deviation Δθ n . The fluctuation suppression unit 15 suppresses the acquired fluctuation frequency of the deviation Δθ n and outputs it to the gravity compensation valve opening degree calculation unit 12 (step S204). The gravity compensation valve opening degree 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 degree calculation unit 12 calculates a value of τ gn [Nm] × θ rn (step S205). The gravity compensation valve opening calculation unit 12 has a variable gain coefficient K of the gravity compensation valve opening calculation formula represented by the equation (1) based on the value of τ gn [Nm] × θ rn and the value of the deviation Δθ n. The gn is determined (step S206).

第一の実施形態と同様に、第二の実施形態の重力補償弁開度算出部12は可変ゲイン係数Kgnを決定する場合に、τgn[Nm]×θrnの値の正負の符号、偏差Δθの正負の符号に基づいて、可変ゲイン係数Kgnを増加させるか減少させるかを決定する。またτgn[Nm]×θrnの値や偏差Δθの値に基づいて所定の算出式により、可変ゲイン係数Kgnの数値を特定してよい。 Similar to the first embodiment, the gravity compensation valve opening degree calculation unit 12 of the second embodiment determines the positive / negative sign of the value of τ gn [Nm] × θ rn when determining the variable gain coefficient K gn . It is determined whether to increase or decrease the variable gain coefficient K gn based on the positive and negative signs of the deviation Δθ n . 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 calculation unit 12 calculates the gravity compensation valve opening degree a gn [%] by the above equation (1) (step S207). The gravity compensation valve opening degree calculation unit 12 outputs the gravity compensation valve opening degree a gn [%] to the valve opening degree 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 [%] obtained from the feedback control unit 13 and the gravity compensating valve opening a gn [%] obtained from the gravity compensating valve opening calculation unit 12. Then, the 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 processing, in addition to the same effect as in 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 idea of self-weight compensation is to compensate for static (no dynamic characteristics) weight load changes, and it may not be necessary to finely change the amount of compensation. In addition, the disturbance caused by not compensating can be covered by feedback. Rather, sudden changes may cause disturbance, and in order to prevent this, the input signal has little fluctuation.

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

重力補償弁開度算出部12は、一定角速度で変化させる関節角度の定常偏差を超えない角度未満で関節角度を動かす場合には、可変ゲイン係数Kgnを所定の係数値K1に保持する。 The gravity compensation valve opening degree 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 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 becomes a predetermined magnitude Δθ 1 , the gravity compensation valve opening degree calculation unit 12 proportionally sets the variable gain coefficient K gn from the predetermined coefficient value K1 according to the magnitude of the deviation Δθ n. To increase. Δθ1 is determined based on the steady-state deviation of the joint angle generated in the control of the joint angle 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 the outputable valve opening saturation value and the like. The coefficient value K1 is determined by using 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 the 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.
The method for determining the variable gain coefficient K gn according to the third embodiment may be applied to the first embodiment and the second embodiment system value.

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

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

<第五の実施形態>
重力補償弁開度算出部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, which converts the gravity compensation torque τ gn [Nm] into the gravity compensation valve opening a gn [%], to be 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 degree calculation unit 12 makes the variable gain coefficient K gn variable as K gn (θn') with the angular velocity as an input variable. The variable gain coefficient K gn (θn') may be trained by moving it in various trajectories several times at a certain angular velocity (θn').

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

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

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

また駆動機構が関節機構以外である場合も、偏差の変動周波数を抑制する変動抑制部を備えてよい。 Further, even when the drive mechanism is other than the joint mechanism, a fluctuation suppression 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 calculation unit 12 changes the variable gain coefficient for converting the gravity compensation torque into the gravity compensation valve opening to a certain degree, and the steady-state deviation of the drive state amount. When the amount of driving state exceeds, the amount is increased to a predetermined value larger than the predetermined coefficient value in proportion to the magnitude of the amount of driving state, and when the amount of driving state is less than the steady deviation of the amount of driving state. 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 preceded by a predetermined time determined based on the response time until the control valve reaches the calculated valve opening degree. The torque may be calculated and output.

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

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

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

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

Claims (10)

駆動機構を有する機械装置の前記駆動機構を油圧により制御する制御装置が、
前記駆動機構を制御して動作させる駆動機構構成部品の自重を打ち消す前記駆動機構を構成するリンク間の現在の角度またはその目標に対応する重力補償トルクを重力補償方程式を用いて算出する重力補償トルク算出部と、
前記重力補償トルクと前記駆動機構を構成するリンク間の角度を示す関節角度の現在と目標との偏差と、前記目標のみに基づいて、前記重力補償トルクを、前記油圧の流量を制御する制御弁の弁開度を示す重力補償弁開度に変換する重力補償弁開度算出部と、
前記駆動機構の現在の駆動状態量と目標の駆動状態量とにより定まるフィードバック弁開度に前記重力補償弁開度を加算して、前記制御弁の弁開度制御指令を算出する弁開度制御部と、
を備える制御装置。
A control device that hydraulically controls the drive mechanism of a mechanical device having a drive mechanism
Gravity compensation torque for calculating the gravity compensation torque corresponding to the current angle between the links constituting the drive mechanism or its target by using the gravity compensation equation to cancel the own weight of the drive mechanism component that controls and operates the drive mechanism. Calculation part and
Wherein a gravity compensation torque, current and deviation between the target joint angles indicating the angle between the links constituting the driving mechanism, based only on the target, said gravity compensation torque, control for controlling the flow rate of the hydraulic Gravity compensation valve opening calculation unit that converts to gravity compensation valve opening indicating the valve opening of the valve,
Valve opening control that calculates the valve opening control command of the control valve by adding the gravity compensation valve opening to the feedback valve opening determined by the current driving state amount of the driving mechanism and the target driving state amount. Department and
A control device comprising.
前記駆動機構が、関節機構を介して接続された複数のリンクを含み、
前記制御装置が、前記駆動機構を有する機械装置の前記関節機構の関節角度を前記油圧により制御し、
前記重力補償トルク算出部が、前記関節角度を制御して動作させる前記駆動機構構成部品であるリンクの自重を打ち消す前記重力補償トルクを重力補償方程式を用いて算出し、
前記弁開度制御部が、前記関節機構の現在の前記駆動状態量である関節角度と目標の前記駆動状態量である関節角度とにより定まる角度フィードバック弁開度と前記重力補償弁開度とに基づいて、前記制御弁の弁開度制御指令を算出する
請求項1に記載の制御装置。
The drive mechanism comprises 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 own weight of the link which is a component of the drive mechanism that controls and operates the joint angle by using the gravity compensation equation.
The valve opening control unit determines the angle feedback valve opening and the gravity compensating valve opening determined by the joint angle which is the current driving state amount of the joint mechanism and the joint angle which 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 degree calculation unit inputs the current joint angle into the gravity compensation equation to 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 degree is calculated using the deviation from the angle.
前記重力補償弁開度算出部は、前記目標の関節角度を前記重力補償方程式に入力して算出された前記重力補償トルクと、前記目標の関節角度と、前記現在の関節角度と前記目標の関節角度との偏差と、を用いて重力補償弁開度を算出する
請求項2に記載の制御装置。
The gravity compensation valve opening degree calculation unit inputs the target joint angle into the gravity compensation equation to 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 degree is calculated using the deviation from the angle.
前記偏差の変動周波数を抑制する変動抑制部を備える請求項3または請求項4に記載の制御装置。 The control device according to claim 3 or 4, further comprising a fluctuation suppressing unit that suppresses the fluctuation frequency of the deviation. 前記重力補償弁開度算出部は、前記重力補償トルクを前記重力補償弁開度に変換する可変ゲイン係数を、一定角速度で変化させる前記関節角度の定常偏差を超える角度以上の場合には当該角度の大きさに比例させて所定の係数値より大きな所定の値まで増大させ、前記関節角度の定常偏差を超えない角度未満の場合には前記所定の係数値に保持する
請求項2から請求項5の何れか一項に記載の制御装置。
The gravity compensation valve opening calculation unit changes the variable gain coefficient for converting the gravity compensation torque into the gravity compensation valve opening at a constant angular velocity. When the angle exceeds the steady deviation of the joint angle, the angle is equal to or greater than the constant deviation. Claims 2 to 5 increase the value to a predetermined value larger than the predetermined coefficient value in proportion to the magnitude of the above, and hold the joint angle at the predetermined coefficient value when the angle is less than the steady deviation of the joint angle. The control device according to any one of the above.
前記重力補償トルク算出部は、前記制御弁が算出された弁開度に達するまでの応答時間に基づいて決定された所定時間分先行した時刻における重力補償トルクを算出して出力する
請求項2から請求項6の何れか一項に記載の制御装置。
From claim 2, the gravity compensation torque calculation unit calculates and outputs the gravity compensation torque at a time preceding by a predetermined time determined based on the response time until the control valve reaches the calculated valve opening degree. The control device according to any one of claims 6.
前記重力補償弁開度算出部は、前記重力補償トルクを前記重力補償弁開度に変換する可変ゲイン係数を前記関節角度が目標角度に移行するまでに最速となる可変ゲイン係数を学習する
請求項2から請求項7の何れか一項に記載の制御装置。
The claim that the gravity compensation valve opening degree calculation unit learns the variable gain coefficient which converts the gravity compensation torque into the gravity compensation valve opening degree and becomes the fastest until the joint angle shifts to a target angle. The control device according to any one of claims 2 to 7.
駆動機構を有する機械装置の前記駆動機構を油圧により制御する制御装置の制御方法であって、
前記駆動機構を制御して動作させる駆動機構構成部品の自重を打ち消す前記駆動機構を構成するリンク間の現在の角度またはその目標に対応する重力補償トルクを重力補償方程式を用いて算出し、
前記重力補償トルクと前記駆動機構を構成するリンク間の角度を示す関節角度の現在と目標との偏差と、前記目標のみに基づいて、前記重力補償トルクを、前記油圧の流量を制御する制御弁の弁開度を示す重力補償弁開度に変換し、
前記駆動機構の現在の駆動状態量と目標の駆動状態量とにより定まるフィードバック弁開度に前記重力補償弁開度を加算して、前記制御弁の弁開度制御指令を算出する
制御方法。
A control method for a control device that hydraulically controls the drive mechanism of a mechanical device having a drive mechanism.
The gravity compensation torque corresponding to the current angle between the links constituting the drive mechanism or its target, which cancels the own weight of the drive mechanism component that controls and operates the drive mechanism, is calculated by using the gravity compensation equation.
Wherein a gravity compensation torque, current and deviation between the target joint angles indicating the angle between the links constituting the driving mechanism, based only on the target, said gravity compensation torque, control for controlling the flow rate of the hydraulic Converted to gravity compensation valve opening, which indicates the valve opening of the valve,
A control method for calculating a valve opening control command of the control valve by adding the gravity compensating valve opening to the feedback valve opening determined by the current driving state amount of the driving mechanism and the target driving state amount.
駆動機構を有する機械装置の前記駆動機構を油圧により制御する制御装置のコンピュータを、
前記駆動機構を制御して動作させる駆動機構構成部品の自重を打ち消す前記駆動機構を構成するリンク間の現在の角度またはその目標に対応する重力補償トルクを重力補償方程式を用いて算出する重力補償トルク算出手段、
前記重力補償トルクと前記駆動機構を構成するリンク間の角度を示す関節角度の現在と目標との偏差と、前記目標のみに基づいて、前記重力補償トルクを、前記油圧の流量を制御する制御弁の弁開度を示す重力補償弁開度に変換する重力補償弁開度算出手段、
前記駆動機構の現在の駆動状態量と目標の駆動状態量とにより定まるフィードバック弁開度に前記重力補償弁開度を加算して、前記制御弁の弁開度制御指令を算出する弁開度制御手段、
として機能させるプログラム。
A computer of a control device that hydraulically controls the drive mechanism of a mechanical device having a drive mechanism.
Gravity compensation torque for calculating the gravity compensation torque corresponding to the current angle between the links constituting the drive mechanism or its target by using the gravity compensation equation to cancel the own weight of the drive mechanism component that controls and operates the drive mechanism. Calculation method,
Wherein a gravity compensation torque, current and deviation between the target joint angles indicating the angle between the links constituting the driving mechanism, based only on the target, said gravity compensation torque, control for controlling the flow rate of the hydraulic Gravity compensation valve opening calculation means for converting to gravity compensation valve opening indicating the valve opening of the valve,
Valve opening control that calculates the valve opening control command of the control valve by adding the gravity compensation valve opening to the feedback valve opening determined by the current driving state amount of the driving mechanism and the target driving state amount. means,
A program that functions 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 JP2018097722A (en) 2018-06-21
JP6757240B2 true 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)

Family Cites Families (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
JP4281696B2 (en) * 2005-03-14 2009-06-17 セイコーエプソン株式会社 Acceleration / deceleration control method and apparatus, and acceleration / deceleration control method program
CN100464036C (en) * 2005-03-28 2009-02-25 广西柳工机械股份有限公司 Path control system used for hydraulic digger operating device and its method
JP5327722B2 (en) * 2010-05-07 2013-10-30 株式会社安川電機 Robot load estimation apparatus and load estimation method
JP5383911B2 (en) * 2010-06-22 2014-01-08 株式会社東芝 Robot controller
US9789603B2 (en) * 2011-04-29 2017-10-17 Sarcos Lc Teleoperated robotic system
JP6226320B2 (en) * 2013-10-16 2017-11-08 国立大学法人信州大学 Parameter identification method, identification device and identification program for vertical articulated hydraulic manipulator
JP6165332B2 (en) * 2014-05-23 2017-07-19 三菱電機株式会社 Roll control device between rolls

Also Published As

Publication number Publication date
JP2018097722A (en) 2018-06-21

Similar Documents

Publication Publication Date Title
US11305969B2 (en) Control of overhead cranes
Feliu et al. Passivity-based control of single-link flexible manipulators using a linear strain feedback
US20140012419A1 (en) Robot control apparatus and robot control method
JP2015030076A (en) Robot controller
CN103092073B (en) Suppress control method and the system of vibration of arm
Syed Salim et al. Position control of pneumatic actuator using self-regulation nonlinear PID
EP3306123B1 (en) Magnetic bearing control method and control device
CN103064425B (en) Improve the method for arm frame movement stability, system and engineering machinery
CN109911771B (en) Design method of variable coefficient active disturbance rejection controller and crane active disturbance rejection controller
KR101141917B1 (en) Time delay control with gradient estimator for robot manipulator and robot manipulator controller using the same
JP5989694B2 (en) Control device, control method, and control program
JP5362158B2 (en) Turntable ladder equipment
JP2011221810A5 (en)
CN114536334A (en) High-order sliding mode anti-interference control method for flexible mechanical arm system
JP5253697B2 (en) Turntable ladder equipment
JP6757240B2 (en) Control device, control method, program
KR100960304B1 (en) Crane control apparatus and method
CN108023531B (en) Compensation method for measurable speed disturbance of closed-loop position servo
Kjelland Offshore wind turbine access using knuckle boom cranes
KR100963394B1 (en) Crane control apparatus and method
Receanu Modeling and simulation of the nonlinear computed torque control in simulink/MATLAB for an industrial robot
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
Desai et al. Rendering mass using model matching framework
JP2020047063A (en) Control device, control method thereof, control program, and structure

Legal Events

Date Code Title Description
A521 Written amendment

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 Written amendment

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 Written amendment

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