JP7517867B2 - Mechanical system with correction function for changing operating speed - Google Patents
Mechanical system with correction function for changing operating speed Download PDFInfo
- Publication number
- JP7517867B2 JP7517867B2 JP2020090045A JP2020090045A JP7517867B2 JP 7517867 B2 JP7517867 B2 JP 7517867B2 JP 2020090045 A JP2020090045 A JP 2020090045A JP 2020090045 A JP2020090045 A JP 2020090045A JP 7517867 B2 JP7517867 B2 JP 7517867B2
- Authority
- JP
- Japan
- Prior art keywords
- correction amount
- correction
- change rate
- speed change
- unit
- 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
Links
- 230000008859 change Effects 0.000 claims description 144
- 230000007246 mechanism Effects 0.000 claims description 32
- 230000001133 acceleration Effects 0.000 claims description 13
- 230000004048 modification Effects 0.000 claims description 9
- 238000012986 modification Methods 0.000 claims description 9
- 230000015654 memory Effects 0.000 description 22
- 238000004364 calculation method Methods 0.000 description 7
- 238000000034 method Methods 0.000 description 5
- 239000003638 chemical reducing agent Substances 0.000 description 3
- 230000007423 decrease Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000003247 decreasing effect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000010276 construction Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
- 238000003466 welding Methods 0.000 description 1
Images
Landscapes
- Manipulator (AREA)
Description
本発明は、機械システムに関し、特に動作速度変更時の補正量修正機能を備えた機械システムに関する。 The present invention relates to a mechanical system, and in particular to a mechanical system equipped with a correction amount correction function when the operating speed is changed.
ロボット、工作機械等の機械の動作を高速化し、タクトタイムを短縮することは作業効率に直結する。しかし、機械の動作を一定以上高速化した場合には、減速機や機械機構部の剛性不足等に起因して機械先端部に振動が発生してしまう。斯かる問題の対処法としては次の文献が公知である。 Increasing the speed of robots, machine tools, and other machines and shortening takt time directly leads to improved work efficiency. However, when the speed of a machine is increased beyond a certain level, vibrations occur at the tip of the machine due to factors such as a lack of rigidity in the reducer or mechanical mechanism. The following literature is known as a method for dealing with this problem:
特許文献1には、機械先端部にセンサを取付けて動作中の振動を計測することで機械の動作速度を高速化しながら機械先端部の振動を学習制御する方法が記載されている。
特許文献2には、スポット溶接ロボットの高速動作によって発生する軌跡誤差や振動成分によってロボットの最適動作が阻害されるという問題を解決するため、制御対象部位に設置されたセンサの検出結果から制御対象部位の軌跡又は位置を算出し、該軌跡と目標軌跡との間の軌跡誤差、又は該位置と目標位置との間の位置誤差を補正するための、若しくはロボット機構部を動作させたときに生じる制御対象部位の振動を抑制するための学習補正量を学習制御により算出する学習制御部を備え、学習制御部は、学習補正量を算出する過程でロボット機構部に設定可能な最大動作速度を算出し、最大動作速度に至るまで1回又は複数回に渡って動作速度を増加させながら学習補正量を算出することが記載されている。 Patent Document 2 describes a problem in which optimal robot operation is hindered by trajectory errors and vibration components generated by high-speed operation of a spot welding robot, and describes a learning control unit that calculates the trajectory or position of the controlled part from the detection results of a sensor installed in the controlled part, and calculates a learning correction amount by learning control to correct the trajectory error between the trajectory and a target trajectory, or the position error between the position and the target position, or to suppress vibration of the controlled part that occurs when the robot mechanism is operated, and describes that in the process of calculating the learning correction amount, the learning control unit calculates the maximum operating speed that can be set for the robot mechanism, and calculates the learning correction amount while increasing the operating speed one or more times until it reaches the maximum operating speed.
特許文献3には、生産ラインにおける運用を考慮して学習制御を行うロボットにおいて、学習制御部は、ロボット機構部の動作速度を増加又は減少するために設定される動作速度変更率の最大値を超えない範囲内で、且つ、制御対象部位で発生する振動の許容条件の範囲内で、複数回に渡って動作速度変更率を増加又は減少させる動作速度変更率調整部を備えることが記載されている。 Patent document 3 describes a robot that performs learning control in consideration of operations on a production line, and describes that the learning control unit is equipped with an operating speed change rate adjustment unit that increases or decreases the operating speed change rate multiple times within a range that does not exceed the maximum operating speed change rate that is set to increase or decrease the operating speed of the robot mechanism and within the range of allowable conditions for vibrations generated in the controlled part.
特許文献4には、速度一定が要求されるアプリケーションで学習制御を行うロボットにおいて、学習制御部は、速度一定を教示した作業プログラムに従って行われる加工作業中にロボット機構部の制約によって生じた最大速度及び最小速度を記憶しておき、最大速度と最小速度の比に相当する速度変動の許容条件を算出し、算出した速度変動の許容条件と記憶した最大速度及び最小速度とに基づいてロボット機構部の動作速度を増加又は減少させるために使用される動作速度変更率を設定する動作速度変更率調整部を備えることが記載されている。 Patent document 4 describes a robot that performs learning control in an application that requires a constant speed, and describes that the learning control unit stores the maximum and minimum speeds that arise due to constraints on the robot mechanical part during processing work performed according to a work program that teaches a constant speed, calculates the allowable conditions for speed fluctuations that correspond to the ratio of the maximum and minimum speeds, and includes an operating speed change rate adjustment unit that sets an operating speed change rate used to increase or decrease the operating speed of the robot mechanical part based on the calculated allowable conditions for speed fluctuations and the stored maximum and minimum speeds.
振動を打ち消すための補正量を算出して動作指令を補正するが、動作速度の変更直後に適用する補正量は動作速度の変更前に算出された補正量であるため、動作速度を変更したことによる振動の変化分が考慮されていない。例えば動作速度を増加させた直後にはそれに伴う振動の増加分を補正しきれずに振動が増加し、一方で、動作速度を減少させた直後には過度に補正することで振動が増加してしまう可能性がある。ひいては、動作速度の変更直後の振動の増加によって、機械がワーク等の周囲物体に干渉したり、補正量が収束するまでに時間が掛かったりすることがある。 The motion commands are corrected by calculating a compensation amount to cancel out the vibration, but the compensation amount applied immediately after changing the motion speed is the compensation amount calculated before changing the motion speed, and does not take into account the change in vibration caused by changing the motion speed. For example, immediately after increasing the motion speed, the associated increase in vibration cannot be fully compensated for, resulting in an increase in vibration, while immediately after decreasing the motion speed, excessive compensation may result in an increase in vibration. Ultimately, the increase in vibration immediately after changing the motion speed may cause the machine to interfere with surrounding objects such as workpieces, or it may take a long time for the compensation amount to converge.
そこで、動作速度の変更直後の振動の増加を抑制する技術が求められている。 Therefore, there is a need for technology that can suppress the increase in vibration immediately after changing the operating speed.
本開示の一態様は、制御対象部位の位置を検出するためのセンサを備えた機械機構部と、機械機構部の動作を制御する制御装置と、を備えた機械システムであって、制御対象部位の目標軌跡又は目標位置に関する動作指令によって機械機構部を動作させて、センサに基づき検出された制御対象部位の位置を目標位置に近づけるための補正量を導出する補正制御部と、動作指令が与えられ、与えられた動作指令及び導出された補正量を用いて機械機構部の動作を制御する機械制御部と、を備え、補正制御部は、機械機構部の動作速度を変更しながら補正量を算出し、過去の動作速度の変更前後の補正量の差分に対して前記補正量の修正分を求め、前記修正分を前記補正量に加算することで、動作速度の変更直後に適用する補正量を修正する補正量修正部を有する、機械システムを提供する。 One aspect of the present disclosure provides a mechanical system including a mechanical mechanism unit having a sensor for detecting the position of a part to be controlled, and a control device for controlling the operation of the mechanical mechanism unit, the mechanical mechanism unit being configured to operate the mechanical mechanism unit according to an operation command related to a target trajectory or target position of the part to be controlled, and to derive a correction amount for bringing the position of the part to be controlled detected based on the sensor closer to the target position, and a mechanical control unit to which an operation command is given, and which controls the operation of the mechanical mechanism unit using the given operation command and the derived correction amount, the correction control unit calculating the correction amount while changing the operating speed of the mechanical mechanism unit, determining a correction amount for the correction amount for the difference between the correction amounts before and after past changes in the operating speed, and adding the correction amount to the correction amount to correct the correction amount to be applied immediately after the operating speed is changed.
本開示の一態様によれば、過去の動作速度の変更前後の補正結果に基づき、動作速度の変更直後に適用する補正量を修正するため、修正した補正量が動作速度の変更に伴う振動の増加分を抑制することになる。ひいては、動作速度変更時における周囲物体への機械の干渉を抑制でき、また、補正量の収束時間を低減できることになる。 According to one aspect of the present disclosure, the amount of correction applied immediately after changing the operating speed is corrected based on the correction results before and after past changes in operating speed, so the corrected amount of correction suppresses the increase in vibration that accompanies the change in operating speed. As a result, it is possible to suppress interference of the machine with surrounding objects when changing the operating speed, and also to reduce the convergence time of the amount of correction.
以下、添付図面を参照して本開示の実施形態を詳細に説明する。各図面において、同一又は類似の構成要素には同一又は類似の符号が付与されている。また、以下に記載する実施形態は、特許請求の範囲に記載される発明の技術的範囲及び用語の意義を限定するものではない。 The embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. In each drawing, the same or similar components are given the same or similar reference numerals. Furthermore, the embodiments described below do not limit the technical scope of the invention described in the claims and the meaning of the terms.
図1は本実施形態に係る機械システム10の構成を示している。機械システム10は、制御対象部位の位置を検出するためのセンサ11を備えた機械機構部12と、センサ11を用いて機械機構部12の動作を制御する制御装置13と、を備えている。センサ11及び機械機構部12は、動力線や信号線等の線条体14を介して制御装置13に接続されるが、無線を介して接続されてもよい。センサ11は、制御対象部位である機械先端部15に取付けられるが、振動を発生し得る部位であれば他の制御対象部位に取付けられてもよい。センサ11は、制御対象部位の位置を検出可能なセンサであればよく、例えば加速度センサ、ジャイロセンサ、慣性センサ、力センサ、レーザトラッカ、カメラ、モーションキャプチャシステム等でよい。
Figure 1 shows the configuration of a
図2は機械機構部12の一例を示している。機械機構部12は、例えば多関節ロボットであるが、パラレルリンク型ロボット、ヒューマノイド、工作機械、建設機械等の他の機械機構部でもよい。多関節ロボットの場合、機械機構部12は複数の関節軸J1~J6を備え、各関節軸J1~J6には、例えばサーボモータ等の駆動源、減速機等(図示せず)のアクチュエータが配設される。関節軸J1の近傍にはワールド座標系C1が規定され、フランジ16の近傍にはインタフェイス座標系C2が規定されるが、他のユーザ座標系が規定されてもよい。制御装置13は、これら座標系に基づく制御対象部位の目標軌跡又は目標位置(以下「目標位置」と称する。)に関する動作指令に応じて機械機構部12を動作させ、センサ11に基づき検出された制御対象部位の位置(以下「センサ位置」と称する。)をこれら座標系に基づく位置に適宜変換する。
Figure 2 shows an example of the
図3は制御装置13の一例を示している。制御装置13は、CPU(central processing unit)、FPGA(field-programmable gate array)、ASIC(application specific integrated circuit)等のプロセッサ、半導体集積回路等を備えたコンピュータ装置でよい。制御装置13は機械制御部18及び補正制御部19を備えているが、補正制御部19は上位コンピュータ装置等の外部装置に実装されてもよい。機械制御部18は動作プログラム17に従って動作指令が与えられ、与えられた動作指令及び導出された補正量を用いて機械機構部12の動作を制御する。動作指令は、例えば時間に関する位置指令でよいが、速度指令、加速度指令、トルク指令等でもよい。
Figure 3 shows an example of the
機械制御部18は、機械機構部12に設けたモータ等の駆動源(図示せず)の位置を検出する位置検出器(図示せず)を用いて、制御対象部位の実位置、実速度、実加速度、実トルク等を、目標位置、目標速度、目標加速度、目標トルク等に一致させるように位置、速度、加速度、トルク等のフィードバック制御を行う。しかしながら、斯かる制御を行っても機械機構部12の動作を高速化した場合には、減速機や機械機構部の剛性不足等に起因して機械先端部15に振動が発生し、現在位置が目標位置から位置ずれして位置偏差を生じることがある。このため補正制御部19が振動を打ち消すための補正量を導出し、機械制御部18が導出された補正量に基づき動作指令を補正して機械機構部12の動作を制御することで、振動を抑制するとよい。
The
補正制御部19は、制御対象部位の振動成分である差分量を算出する差分量算出部21を備えているとよい。差分量は、例えばセンサ位置と目標位置の差分量でよいが、センサ速度と目標速度の差分量、センサ加速度と目標加速度の差分量、センサトルクと目標トルクの差分量でもよい。このため、センサ位置と目標位置、センサ速度と目標速度、センサ加速度と目標加速度、センサトルクと目標トルク等を時系列に関連付けて第1メモリ20に記憶しておくとよい。
The
また補正制御部19は、算出された差分量(振動成分)に基づき、センサ位置を目標位置に近づけるための補正量を算出する補正量算出部22を備えているとよい。補正量は、振動を打ち消すために動作指令を補正するものでよく、例えば位置補正量、速度補正量、加速度補正量、トルク補正量等でもよい。また補正量は、時系列データであるとよい。補正量算出部22は、過去の補正量と、算出された差分量とに基づき、新たな補正量を算出する学習制御を行うが、差分量のみに基づき補正量を算出してもよい。学習制御を行うため又は後述する補正量の修正を行うため、過去及び現在の補正量を時系列に関連付けて第2メモリ23に記憶しておくとよい。
The
さらに補正制御部19は、算出された差分量(振動成分)に基づき、動作速度を変更するために使用される動作速度変更率を調整する動作速度変更率調整部25を備えているとよい。動作速度変更率は、動作速度に乗算する倍率でよく、例えば110%、90%等として表される。動作速度変更率調整部25は、動作速度変更率の最大値を超えない範囲内で、且つ、振動の許容条件(例えば振幅の許容値等でよい。)の範囲内で、過去の動作速度変更率を新たな動作速度変更率に調整するとよい。動作速度変更率を調整するため又は後述する補正量の修正のため、過去及び現在の動作速度変更率を時系列に関連付けて第2メモリ23に記憶しておくとよい。また過去及び現在の動作速度変更率を過去及び現在の補正量と時系列に関連付けて第2メモリ23に記憶しておくとよい。さらに動作速度変更率の最大値及び振動の許容条件を満たすように動作速度変更率を調整するため、動作速度変更率の最大値と振動の許容条件を第4メモリ24に記憶しておくとよい。
The
加えて補正制御部19は、過去の動作速度の変更前後の補正結果に基づき、動作速度の変更直後に適用する補正量を修正する補正量修正部26を備えているとよい。例えば補正量修正部26は、過去の動作速度変更率の調整前後の補正結果に基づき、動作速度変更率の調整直後に適用する補正量を修正するとよい。修正した補正量は動作速度の変更に伴う振動の増加分を抑制することになる。ひいては、動作速度変更時における周囲物体への機械の干渉を抑制でき、また、補正量の収束時間を低減できることになる。
In addition, the
また補正制御部19は、動作速度の変更直後に適用する補正量の適用時間を修正する適用時間修正部27を備えているとよい。例えば適用時間修正部27は、動作速度変更率の調整前後の動作速度変更率に基づき、動作速度変更率の調整直後に適用する補正量の適用時間を修正するとよい。適用時間を修正した補正量の適用タイミングは動作速度の変更直後の動作に一致するようになるため、修正した補正量が動作速度の変更に伴う振動の増加分を適時に抑制するようになる。ひいては、動作速度変更時における周囲物体への機械の干渉を抑制でき、また、補正量の収束時間を低減できることになる。なお、補正制御部19は、補正量修正部26を備えず、適用時間修正部27のみを備えていてもよい。修正した補正量は過去及び現在の補正量として第2メモリ23に記憶しておくとよい。
The
さらに補正制御部19は、現在の補正量と過去の補正量を比較し、現在の動作速度変更率と過去の動作速度変更率を比較する比較部28を備えているとよい。例えば比較部28は、現在の補正量と過去の補正量との比が所定範囲内であるか否かを判定し、現在の動作速度変更率と過去の動作速度変更率の比が所定範囲内であるか否かを判定するとよい。これにより、補正量及び動作速度変更率が収束したか否かを判定できる。収束した補正量と収束した動作速度変更率を機械システム10の電源切断後に再利用するため、収束した補正量と収束した動作速度変更率を時系列に関連付けて第3メモリ29に記憶しておくとよい。収束した補正量と収束した動作速度変更率を電源切断後であっても記憶しておくため、第3メモリ29は不揮発性メモリであるとよい。収束した補正量と収束した動作速度変更率を機械システム10の電源投入後に第3メモリ29から第2メモリ23に読み出して再利用するとよい。なお、第1メモリ20、第2メモリ23、第4メモリ24は、揮発性メモリでよいが、不揮発性メモリでもよい。
Furthermore, the
図4は補正量の修正例を示すタイムチャートである。図4には、動作速度変更率の初期値をO0に設定し、第一回から第六回までの補正回T1~T6において動作速度変更率がO1からO4へ調整されていき、第七回の補正回で補正量と動作速度変更率が収束した例が示されている。このとき、補正量算出部22の出力(補正量)がA1からA6へ変化し、補正量修正部26の出力(動作速度の変更に伴い修正した補正量)がA1'からA6'へ変化し、適用時間修正部27の出力(適用時間をさらに修正した補正量)がA1'tからA6'tへ変化し、適用時間修正部27の出力(適用時間のみを修正した補正量)がA1tからA6tへ変化していくとする。
Figure 4 is a time chart showing an example of correction amount adjustment. Figure 4 shows an example in which the initial value of the motion speed change rate is set to O0, the motion speed change rate is adjusted from O1 to O4 in the first to sixth correction times T1 to T6, and the correction amount and motion speed change rate converge in the seventh correction time. At this time, the output (correction amount) of the correction
例えば第二回のT2時に動作速度変更率がO1からO2へ調整された場合、補正量修正部26は、過去の動作速度変更率の調整前後(例えばO0からO1への調整前後)の補正結果、つまり動作速度変更率O0で動作させて適用時間のみを修正した補正量A1tと、動作速度変更率O1で動作させて算出した補正量A2と、に基づき、動作速度変更率をO1からO2へ調整した直後の補正量A2を修正するとよい。修正後の補正量A2’は例えば次式から求めることができる。
For example, if the motion speed change rate is adjusted from O1 to O2 at the second time T2, the correction
式中、A2-A1tは過去の動作速度変更率の調整前後(O0からO1への調整前後)の補正量の差分を表し、O2-O1は現在の動作速度変更率調整量(O1からO2への調整量)であり、O1-O0は過去の動作速度変更率調整量(O0からO1への調整量)であり、(O2-O1)/(O1-O0)は現在及び過去の動作速度変更率調整量の比である。 In the formula, A2-A1t represents the difference in the correction amount before and after the past adjustment of the motion speed change rate (before and after adjustment from O0 to O1), O2-O1 is the current motion speed change rate adjustment amount (adjustment amount from O1 to O2), O1-O0 is the past motion speed change rate adjustment amount (adjustment amount from O0 to O1), and (O2-O1)/(O1-O0) is the ratio of the current and past motion speed change rate adjustment amounts.
つまり補正量修正部26は、過去の動作速度変更率の調整前後の補正量の差分に対して現在及び過去の動作速度変更率調整量の比を乗算することで補正量の修正分((A2-A1t)×(O2-O1)/(O1-O0))を求め、補正量の修正分を動作速度変更率の調整時に算出された補正量A2に加算することで補正量A2の修正を行うとよい。
In other words, the correction
同様に第三回のT3時に動作速度変更率がO2からO3へ調整された場合、補正量修正部26は、過去の動作速度変更率の調整前後(O1からO2への調整前後)の補正結果、つまり動作速度変更率O1で動作させて算出し適用時間のみを修正した補正量A2tと、動作速度変更率O2で動作させて算出した補正量A3と、に基づき、動作速度変更率をO2からO3へ調整した直後の補正量A3を修正するとよい。修正後の補正量A3'は例えば次式から求めることができる。
Similarly, if the motion speed change rate is adjusted from O2 to O3 at the third time T3, the correction
つまり補正量修正部26は、過去の動作速度変更率の調整前後の補正量の差分(A3-A2t)に対して現在及び過去の動作速度変更率調整量の比((O3-O2)/(O2-O1))を乗算することで補正量の修正分((A3-A2t)×(O3-O2)/(O2-O1))を求め、補正量の修正分を動作速度変更率の調整時に算出された補正量A3に加算することで補正量A3の修正を行うとよい。
In other words, the correction
また第四回のT4時と第五回のT5時には動作速度変更率がO3のまま調整されていないため、補正量修正部26は補正量A4、A5を修正する必要はない。つまり、修正後の補正量A4'は修正前の補正量A4と同じでよく、修正後の補正量A5'は修正前の補正量A5と同じでよい。
Also, at the fourth time T4 and the fifth time T5, the motion speed change rate remains at O3 and is not adjusted, so the correction
さらに第六回のT6時に動作速度変更率がO3からO4へ調整された場合、補正量修正部26は、過去の動作速度変更率の調整前後(O2からO3への調整前後)の補正結果、つまり動作速度変更率O2で動作させて算出し適用時間のみを修正した補正量A3tと、動作速度変更率O3で動作させて算出した補正量A4と、に基づき、動作速度変更率をO3からO4へ調整した直後の補正量A6を修正するとよい。修正後の補正量A6'は例えば次式から求めることができる。
Furthermore, if the motion speed change rate is adjusted from O3 to O4 at time T6 for the sixth time, the correction
つまり補正量修正部26は、過去の動作速度変更率の調整前後の補正量の差分(A4-A3t)に対して現在及び過去の動作速度変更率調整量の比((O4-O3)/(O3-O2))を乗算することで補正量の修正分((A4-A3t)×(O4-O3)/(O3-O2))を求め、補正量の修正分を動作速度変更率の調整時に算出された補正量A6に加算することで補正量A6の修正を行うとよい。
In other words, the correction
なお、補正量の修正で使用される「過去の動作速度変更率の調整前後の補正結果」は、「直前」の動作速度変更率の調整前後の補正結果でよいが、「それ以前」の動作速度変更率の調整前後の補正結果でもよい。例えば第六回のT6時に動作速度変更率がO3からO4へ調整された場合、補正量修正部26は、「直前」の動作速度変更率の調整(O2からO3への調整)前後の補正結果(A4-A3t)を使用するのではなく、「それ以前」の動作速度変更率の調整(O1からO2への調整)前後の補正結果(A3-A2t)を使用してもよい。この場合、修正後の補正量A6'は例えば次式から求めることができる。
The "past correction results before and after adjustment of the motion speed change rate" used in correcting the correction amount may be the correction results before and after the "most recent" adjustment of the motion speed change rate, but may also be the correction results before and after the "previous" adjustment of the motion speed change rate. For example, if the motion speed change rate is adjusted from O3 to O4 at time T6 of the sixth time, the correction
図5は補正量の修正例を示すグラフである。太い実線及び細い実線は夫々、過去の動作速度変更率の調整(100%から110%への調整)前後の補正量A1t(動作速度変更率100%で動作させて算出し適用時間のみを修正した補正量)と補正量A2(動作速度変更率110%で動作させて算出した補正量)とを表している。また太い破線は、過去の動作速度変更率の調整前後の補正量の差分A2-A1tを表している。さらに細い破線は、過去の動作速度変更率の調整前後の補正量の差分A2-A1tに基づき、動作速度変更率の調整(110%から120%への調整)直後に適用する補正量A2を修正した補正量A2'(適用時間修正前)を表している。このグラフによれば、修正した補正量A2’が修正前の補正量A2より大きくなっていることが分かる。つまり修正した補正量A2’は動作速度の変更に伴う振動の増加分を抑制できることが分かる。 Figure 5 is a graph showing an example of correction amount. The thick solid line and thin solid line respectively represent the correction amount A1t (the correction amount calculated by operating at a motion speed change rate of 100% and correcting only the application time) and the correction amount A2 (the correction amount calculated by operating at a motion speed change rate of 110%) before and after a past adjustment of the motion speed change rate (adjustment from 100% to 110%). The thick dashed line represents the difference A2-A1t in the correction amount before and after the past adjustment of the motion speed change rate. The thin dashed line represents the correction amount A2' (before the application time is corrected) obtained by correcting the correction amount A2 applied immediately after the adjustment of the motion speed change rate (adjustment from 110% to 120%) based on the difference A2-A1t in the correction amount before and after the past adjustment of the motion speed change rate. From this graph, it can be seen that the corrected correction amount A2' is larger than the correction amount A2 before the correction. In other words, it can be seen that the corrected correction amount A2' can suppress the increase in vibration caused by the change in motion speed.
図6は補正量の適用時間の修正例を示すグラフである。太い破線は、動作速度変更率100%で動作させて修正した適用時間修正前の補正量A1'を表している。また太い実線は、動作速度変更率100%で動作させて修正した適用時間修正後の補正量A1'tを表している。第一回のT1時に動作速度変更率が100%から110%へ調整された場合、機械先端部15は動作開始から11秒後に到達していた位置に10秒後に到達するようになるため、動作速度変更率100%で動作させて修正した補正量A1'を動作速度変更率110%の動作にそのまま適用すると、補正量の適用タイミングが動作速度の変更に伴う動作に一致しなくなってしまう。そこで、適用時間修正部27は、補正量A1'の適用時間を100%/110%に縮めるように補正量A1'を修正するとよい。適用時間を修正した補正量A1'tの適用タイミングは動作速度変更率110%へ調整した直後の動作に一致するようになるため、修正した補正量A1'tが動作速度の変更に伴う振動の増加分を適時に抑制できるようになる。
Figure 6 is a graph showing an example of correction of the application time of the correction amount. The thick dashed line represents the correction amount A1' before the application time correction, which is corrected by operating with an operating speed change rate of 100%. The thick solid line represents the correction amount A1't after the application time correction, which is corrected by operating with an operating speed change rate of 100%. If the operating speed change rate is adjusted from 100% to 110% at the first T1, the
図7は補正量の修正の変形例を示している。補正量修正部26は、ピーク値を含む区間に時系列の補正量を分割し、区間毎に求めた修正前後の補正量のピーク値に基づき動作速度変更率の調整直後に適用する補正量を区間毎に修正する点で、前述のものと異なる。例えば補正量修正部26は、補正量が0である時点を境界として補正量の山に分割すればよい。そして、補正量修正部26は、区間毎に求めた修正前後の補正量のピーク値に基づき区間修正率を区間毎に求め、区間内の任意の補正量に対して区間修正率を乗算することで補正量を区間毎に修正するとよい。
Figure 7 shows a modified example of the correction amount. The correction
例えば第一区間の場合、補正量修正部27は、次式から、過去の動作速度変更率の調整(100%から110%への調整)前後の補正量のピーク値の差分(A2P1-A1tP1)に基づき、修正後の補正量のピーク値A2'P1を区間毎に求める。
For example, in the case of the first section, the correction
次に補正量修正部27は、次式から、修正前後の補正量のピーク値の比(A2'P1/A2P1)に基づき、区間修正率I1を区間毎に求める。
Next, the correction
そして補正量修正部27は、第一区間内の任意の補正量A2に対して区間修正率I1を乗算することで動作速度変更率の調整直後に適用する補正量A2を区間毎に修正するとよい。第一区間の修正後の補正量A2’は例えば次式から求めることができる。
The correction
また、例えば第四区間より後の区間では、補正量のピーク値の変化が小さいため、補正量修正部27は補正量を修正しないと判定してもよい。
Also, for example, in sections after the fourth section, the change in the peak value of the correction amount is small, so the correction
このように振動の影響が大きい時点を示す補正量のピーク値に基づき区間修正率を求め、動作速度変更率の調整直後に適用する補正量を区間修正率に基づき修正することで、計算速度向上、メモリ容量節約といった種々の利点を得ることができる。 In this way, by calculating the section correction rate based on the peak value of the correction amount, which indicates the point at which the influence of vibration is greatest, and correcting the correction amount to be applied immediately after adjusting the operating speed change rate based on the section correction rate, various advantages can be obtained, such as improved calculation speed and reduced memory capacity.
図8は本実施形態に係る機械システム10の動作を示すフローチャートである。先ずステップS10では、振動の許容条件が作業者によって手動で設定される。このため機械システム10は振動の許容条件を入力する手段を備えているとよい。ステップS11では、動作指令に基づき機械機構部を動作させ、動作速度の最大値ω_maxjとトルクの最大値τ_maxj(jは軸番号)を夫々記憶しておき、その動作に対して設定可能な動作速度変更率の最大値αmaxを予め算出する。動作速度変更率の最大値αmaxは例えば次式から求めることができる。ここで、ω_alwj、τ_alwjは夫々、動作速度の許容値、トルクの許容値である。
8 is a flowchart showing the operation of the
なお、機械システム10は動作速度変更率の最大値を入力する手段を備えていてもよく、この場合には動作速度変更率の最大値は作業者によって手動で設定される。
The
ステップS12では、動作速度変更率の最大値を超えない範囲内で且つ振動の許容条件の範囲内で初期設定した動作速度変更率に基づき機械機構部12を動作させ、センサ位置と目標位置との差分量を算出する。差分量は、センサ速度と目標速度の差分量、センサ加速度と目標加速度の差分量、センサトルクと目標トルクの差分量等でもよい。ステップS13では、差分量に基づきセンサ位置を目標位置に近づけるための補正量を算出する。補正量は学習制御に基づき算出されてもよい。
In step S12, the
ステップS14では、差分量に基づき動作速度変更率を調整する。例えば差分量が振動の許容条件を満たしていない場合には動作速度変更率を減少させ、差分量が振動の許容条件を満たしている場合には動作速度変更率を増加させる。この際、動作速度変更率の上限を動作速度変更率の最大値αmaxで制限するとよい。 In step S14, the motion speed change rate is adjusted based on the difference amount. For example, if the difference amount does not satisfy the vibration tolerance condition, the motion speed change rate is decreased, and if the difference amount satisfies the vibration tolerance condition, the motion speed change rate is increased. In this case, it is preferable to limit the upper limit of the motion speed change rate to the maximum value α max of the motion speed change rate.
ステップS15では、過去の動作速度変更率の調整前後の補正結果に基づき、動作速度変更率の調整直後に適用する補正量を修正する。過去の動作速度変更率の調整前後の補正結果は、過去の動作速度変更率の調整前後の補正量の差分を使用してもよいし、又は修正前後の補正量のピーク値に基づき求めた区間修正率を使用してもよい。これにより、修正した補正量は動作速度の変更に伴う振動の増加分を抑制することになる。ひいては、動作速度変更時における周囲物体への機械の干渉を抑制でき、また、補正量の収束時間を低減できることになる。 In step S15, the correction amount to be applied immediately after adjusting the operating speed change rate is corrected based on the correction results before and after past adjustments of the operating speed change rate. The correction results before and after past adjustments of the operating speed change rate may use the difference in the correction amounts before and after past adjustments of the operating speed change rate, or may use a section correction rate calculated based on the peak values of the correction amounts before and after the correction. This allows the corrected correction amount to suppress the increase in vibration associated with changes in the operating speed. This in turn makes it possible to suppress interference of the machine with surrounding objects when changing the operating speed, and also to reduce the convergence time of the correction amount.
ステップS16では、動作速度変更率の調整前後の動作速度変更率に基づき、動作速度変更率の調整直後に適用する補正量の適用時間を修正する。これにより、適用時間を修正した補正量の適用タイミングが動作速度の変更直後の動作に一致するようになるため、修正した補正量が動作速度の変更に伴う振動の増加分を適時に抑制するようになる。ひいては、動作速度変更時における周囲物体への機械の干渉を抑制でき、また、補正量の収束時間を低減できることになる。 In step S16, the application time of the correction amount to be applied immediately after adjusting the motion speed change rate is corrected based on the motion speed change rate before and after the adjustment. This causes the application timing of the correction amount with the corrected application time to match the motion immediately after the motion speed is changed, so that the corrected correction amount timely suppresses the increase in vibration caused by the motion speed change. This in turn makes it possible to suppress interference of the machine with surrounding objects when the motion speed is changed, and also to reduce the convergence time of the correction amount.
ステップS17では、現在の補正量と過去の補正量との比、及び現在の動作速度変更率と過去の動作速度変更率との比が所定範囲内か否かを夫々判定する。つまり補正量と動作速度変更率が夫々収束したか否かを判定する。補正量と動作速度変更率の少なくとも一方が収束していない場合には(ステップS17のNO)、ステップS12に戻り、補正量と動作速度変更率が収束するまで補正制御を繰り返す。補正量と動作速度変更率の双方が収束した場合には(ステップS17のYES)、ステップS18において収束した補正量と収束した動作速度変更率を不揮発性メモリに記憶して終了する。 In step S17, it is determined whether the ratio of the current correction amount to the past correction amount, and the ratio of the current motion speed change rate to the past motion speed change rate are each within a predetermined range. In other words, it is determined whether the correction amount and the motion speed change rate have each converged. If at least one of the correction amount and the motion speed change rate has not converged (NO in step S17), the process returns to step S12, and correction control is repeated until the correction amount and the motion speed change rate converge. If both the correction amount and the motion speed change rate have converged (YES in step S17), the converged correction amount and the converged motion speed change rate are stored in non-volatile memory in step S18, and the process ends.
以上の実施形態によれば、過去の動作速度の変更前後の補正結果に基づき、動作速度の変更直後に適用する補正量を修正するため、修正した補正量が動作速度の変更に伴う振動の増加分を抑制することになる。ひいては、動作速度変更時における周囲物体への機械の干渉を抑制でき、また、補正量の収束時間を低減できることになる。 According to the above embodiment, the correction amount to be applied immediately after changing the operating speed is corrected based on the correction results before and after the previous change in operating speed, so the corrected correction amount suppresses the increase in vibration caused by the change in operating speed. As a result, it is possible to suppress interference of the machine with surrounding objects when changing the operating speed, and also to reduce the convergence time of the correction amount.
なお、前述のプロセッサで実行されるプログラムや前述のフローチャートを実行するプログラムは、コンピュータ読取り可能な非一時的記録媒体、例えばCD-ROM等に記録して提供してもよいし、或いは有線又は無線を介してWAN(wide area network)又はLAN(local area network)上のサーバ装置から配信して提供してもよい。 The program executed by the aforementioned processor or the program executing the aforementioned flowchart may be provided by recording it on a computer-readable non-transitory recording medium, such as a CD-ROM, or may be provided by distributing it from a server device on a WAN (wide area network) or LAN (local area network) via wired or wireless connection.
本明細書において種々の実施形態について説明したが、本発明は、前述の実施形態に限定されるものではなく、特許請求の範囲に記載された範囲内において種々の変更を行えることを認識されたい。 Although various embodiments have been described herein, it should be recognized that the present invention is not limited to the above-described embodiments and that various modifications may be made within the scope of the claims.
10 機械システム
11 センサ
12 機械機構部
13 制御装置
14 線条体
15 機械先端部
16 フランジ
17 動作プログラム
18 機械制御部
19 補正制御部
20 第1メモリ
21 差分量算出部
22 補正量算出部
23 第2メモリ
24 第4メモリ
25 動作速度変更率調整部
26 補正量修正部
27 適用時間修正部
28 比較部
29 第3メモリ
T1~T6 補正回
O0~O4 動作速度変更率
A1~A6 補正量
A1'~A6' 動作速度の変更に伴い修正した補正量
A1't~A6't 適用時間をさらに修正した補正量
A1t~A6t 適用時間のみを修正した補正量
A1tP1 第一区間の補正量A1tのピーク値
A2P1 第一区間の補正量A2のピーク値
I1 第一区間の区間修正率
LIST OF
Claims (9)
前記制御対象部位の目標軌跡又は目標位置に関する動作指令によって前記機械機構部を動作させて、前記センサに基づき検出された前記制御対象部位の位置を前記目標位置に近づけるための補正量を導出する補正制御部と、
前記動作指令が与えられ、与えられた前記動作指令及び導出された補正量を用いて前記機械機構部の動作を制御する機械制御部と、
を備え、
前記補正制御部は、前記機械機構部の動作速度を変更しながら前記補正量を算出し、過去の前記動作速度の変更前後の補正量の差分に対して前記補正量の修正分を求め、前記修正分を前記補正量に加算することで、前記動作速度の変更直後に適用する前記補正量を修正する補正量修正部を有する、
機械システム。 A mechanical system including a mechanical mechanism unit having a sensor for detecting a position of a control target part, and a control device for controlling an operation of the mechanical mechanism unit,
a correction control unit that operates the mechanical mechanism unit according to an operation command related to a target trajectory or a target position of the control target part, and derives a correction amount for bringing the position of the control target part detected based on the sensor closer to the target position;
a machine control unit that receives the operation command and controls the operation of the mechanical mechanism unit using the received operation command and the derived correction amount;
Equipped with
the correction control unit includes a correction amount correction unit that calculates the correction amount while changing the operation speed of the mechanical mechanism unit, obtains a correction amount of the correction amount for a difference between the correction amounts before and after a past change in the operation speed, and adds the correction amount to the correction amount, thereby correcting the correction amount to be applied immediately after the change in the operation speed.
Mechanical systems.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020090045A JP7517867B2 (en) | 2020-05-22 | 2020-05-22 | Mechanical system with correction function for changing operating speed |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020090045A JP7517867B2 (en) | 2020-05-22 | 2020-05-22 | Mechanical system with correction function for changing operating speed |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2021183373A JP2021183373A (en) | 2021-12-02 |
| JP7517867B2 true JP7517867B2 (en) | 2024-07-17 |
Family
ID=78766971
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2020090045A Active JP7517867B2 (en) | 2020-05-22 | 2020-05-22 | Mechanical system with correction function for changing operating speed |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7517867B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN120603687A (en) * | 2023-02-22 | 2025-09-05 | 松下知识产权经营株式会社 | Drive system |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2018149606A (en) | 2017-03-09 | 2018-09-27 | ファナック株式会社 | Robot for executing learning control taking application in production line into consideration and method for control thereof |
-
2020
- 2020-05-22 JP JP2020090045A patent/JP7517867B2/en active Active
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2018149606A (en) | 2017-03-09 | 2018-09-27 | ファナック株式会社 | Robot for executing learning control taking application in production line into consideration and method for control thereof |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2021183373A (en) | 2021-12-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4741637B2 (en) | Servo motor drive control device and drive control method | |
| US11000949B2 (en) | Robot for controlling learning in view of operation in production line, and method of controlling the same | |
| US10618164B2 (en) | Robot system having learning control function and learning control method | |
| JP5480198B2 (en) | Spot welding robot with learning control function | |
| US10254741B2 (en) | Robot apparatus having learning function | |
| JP6392825B2 (en) | Robot controller with learning control function | |
| US20110208356A1 (en) | Robot having learning control function | |
| US10627807B2 (en) | Motor controller | |
| US11175647B2 (en) | Motor controller | |
| JP2008296310A (en) | Control device for machining robot | |
| US20190001490A1 (en) | Robot that carries out learning control in applications requiring constant speeds, and control method thereof | |
| US10507581B2 (en) | Robot system | |
| US10948899B2 (en) | Motor controller that uses an acceleration/deceleration time constant of the motor | |
| US10739734B2 (en) | Motor control apparatus | |
| JP4299793B2 (en) | Control device | |
| US20190184577A1 (en) | Robot system | |
| JP2018139044A (en) | Servo motor control device, servo motor control method, and servo motor control program | |
| JP2018092319A (en) | Servo motor control device, servo motor control method, and servo motor control program | |
| JP7517867B2 (en) | Mechanical system with correction function for changing operating speed | |
| JP6705847B2 (en) | Robot system for performing learning control based on processing result and control method thereof | |
| JP6568035B2 (en) | Servo motor control device, servo motor control method, and servo motor control program | |
| US11230003B2 (en) | Robot system configured to perform learning control | |
| KR20160003864A (en) | Command generation device | |
| JP6661676B2 (en) | Robot controller | |
| JP7227018B2 (en) | Learning controller, robot controller and robot |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20230308 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20231122 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20240109 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20240308 |
|
| 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: 20240604 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20240704 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7517867 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |