JP2007029994A - Deterioration diagnosing device, and deterioration diagnosing method and program - Google Patents

Deterioration diagnosing device, and deterioration diagnosing method and program Download PDF

Info

Publication number
JP2007029994A
JP2007029994A JP2005217255A JP2005217255A JP2007029994A JP 2007029994 A JP2007029994 A JP 2007029994A JP 2005217255 A JP2005217255 A JP 2005217255A JP 2005217255 A JP2005217255 A JP 2005217255A JP 2007029994 A JP2007029994 A JP 2007029994A
Authority
JP
Japan
Prior art keywords
pressurization
welding gun
deterioration
spot welding
analysis
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.)
Withdrawn
Application number
JP2005217255A
Other languages
Japanese (ja)
Inventor
Shinji Kato
真次 加藤
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.)
Nachi Fujikoshi Corp
Original Assignee
Nachi Fujikoshi Corp
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 Nachi Fujikoshi Corp filed Critical Nachi Fujikoshi Corp
Priority to JP2005217255A priority Critical patent/JP2007029994A/en
Publication of JP2007029994A publication Critical patent/JP2007029994A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Resistance Welding (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To diagnose deterioration of an electric-powered spot welding gun by finding out a sign of deterioration of the gun. <P>SOLUTION: A deterioration diagnosing device 1 is provided with: a pressurizing time-obtaining means 22 for obtaining a pressurizing time from the time of driving start of an electrode 161 until the time when electrodes hold members with predetermined force; a pressurizing position-obtaining means 23 for obtaining a position of the electrode 161 in the state that the electrodes hold members with the predetermined force; an analyzing means 24 for analyzing, by a statistical method, analysis data 421, which are determined by the pressurizing time and the pressurizing position of a spot welding gun 16 in an analysis section; and deterioration diagnosing means 25, 26 for diagnosing the deterioration of the spot welding gun 16 by diagnostic data 422, which are determined by the pressurizing time and the pressurizing position of the spot welding gun 16 in a control section, based on the analysis result of the analysis data 421 by the analyzing means 24. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、スポット溶接を行う溶接ロボットにおけるスポット溶接ガンの劣化を診断する劣化診断装置、劣化診断方法及びプログラムに関する。   The present invention relates to a deterioration diagnosis apparatus, a deterioration diagnosis method, and a program for diagnosing deterioration of a spot welding gun in a welding robot that performs spot welding.

産業用ロボットにおいては、ロボット各軸の特性データを収集し、統計学的に解析し、ロボットアームの劣化を診断することができる(例えば、特許文献1参照。)。これは、サイクルタイムや平均トルク、減速機寿命といった特性データを過去から現在までにわたって蓄積し、これを統計学的手法で解析することによって、減速機の交換時期が到来する前に劣化の兆候を検出しようとするものである。
一方、産業用ロボットに接続される電動式スポット溶接ガンは、経年劣化により駆動系における支点軸の摩耗およびボールネジの摩耗が発生する。現在はモータの電流を一定に保つ加圧力制御が主流なので、これらの劣化により実加圧力は低下し、通電時にスパッタ、チリを発生させ、溶接品質を悪くする要因となりえる。
特開2005−148873号公報
In an industrial robot, characteristic data of each axis of the robot can be collected and statistically analyzed to diagnose deterioration of the robot arm (see, for example, Patent Document 1). This is because characteristic data such as cycle time, average torque, and reduction gear life is accumulated from the past to the present, and this is analyzed by statistical methods to show signs of deterioration before the reduction gear replacement period arrives. It is something to be detected.
On the other hand, in an electric spot welding gun connected to an industrial robot, wear of a fulcrum shaft and wear of a ball screw in a drive system occur due to aging. At present, pressurization control that keeps the motor current constant is the mainstream, so the actual pressurization decreases due to these deteriorations, which can cause spatter and dust when energized, which can cause poor welding quality.
JP 2005-148873 A

しかし、これらの劣化の兆候を特許文献1のような方法で捉えようとすると、ワーク位置のばらつきからサイクルタイムにスポット溶接ガンの影響を見出すことが困難であり、また、加圧時はモータに流れる電流を一定に保つ制御をしていることから、平均トルク、最大トルクにスポット溶接ガンの劣化兆候を見出すのも困難であるという問題があった。従って、ロボット本体軸の劣化診断はできても電動式スポット溶接ガンの劣化診断はすることができなかった。   However, when trying to catch these signs of deterioration using a method such as Patent Document 1, it is difficult to find the influence of the spot welding gun on the cycle time due to the variation in the work position. Since control is performed to keep the flowing current constant, there is a problem that it is difficult to find signs of deterioration of the spot welding gun in terms of average torque and maximum torque. Therefore, even if the deterioration of the robot body axis can be diagnosed, the deterioration diagnosis of the electric spot welding gun cannot be performed.

そこで、本発明は、上記課題を解決するためになされたものであり、電動式スポット溶接ガンの劣化兆候を見出すことで、電動式スポット溶接ガンの劣化診断をすることができる劣化診断装置、劣化診断方法及びプログラムを提供することを目的とする。   Accordingly, the present invention has been made to solve the above-described problem, and a deterioration diagnosis device capable of diagnosing deterioration of an electric spot welding gun by finding a deterioration sign of the electric spot welding gun. An object is to provide a diagnostic method and a program.

請求項1に記載の発明は、電動機により電極を駆動させて、接合される部材同士を前記電極で所定の加圧力で挟んだ状態で電流を流して前記部材同士を接合するスポット溶接ガンの劣化を診断する劣化診断装置において、前記電極の駆動開始から前記部材同士を前記所定の加圧力で挟んだ状態になるまでの加圧時間を取得する加圧時間取得手段と、前記部材同士を前記所定の加圧力で挟んだ状態における前記電極の位置を取得する加圧位置取得手段と、前記スポット溶接ガンの所定の動作区間における前記加圧時間取得手段により取得された加圧時間と前記加圧位置取得手段により取得された加圧位置とから定まる解析用データを統計学的手法により解析する解析手段と、前記解析手段による前記解析用データの解析結果に基づいて、前記スポット溶接ガンの所定の動作区間以降の区間における前記加圧時間取得手段により取得された加圧時間と前記加圧位置取得手段により取得された加圧位置とから定まる診断用データにより前記スポット溶接ガンの劣化を診断する劣化診断手段と、を備えることを特徴とする。
ここで、所定の動作区間とは、劣化診断を行う前に、統計学的手法により解析するために解析用データを収集、蓄積する区間であり、いわゆる解析区間をいう。
また、所定の動作区間以降の区間とは、解析区間の後、すなわち、回帰式を求めた後、その回帰式に基づいてスポット溶接ガンの劣化診断を行うために診断用データを収集、蓄積する区間であり、いわゆる管理区間をいう。
The invention according to claim 1 is a degradation of a spot welding gun in which an electrode is driven by an electric motor and a current is passed in a state in which members to be joined are sandwiched between the electrodes with a predetermined pressing force to join the members together. In the deterioration diagnosis apparatus, the pressurization time acquisition means for acquiring the pressurization time from the start of driving the electrodes to the state where the members are sandwiched by the predetermined pressurizing force, and the members are connected to the predetermined Pressure position acquisition means for acquiring the position of the electrode in a state of being sandwiched by the applied pressure, and the pressure time and pressure position acquired by the pressure time acquisition means in a predetermined operation section of the spot welding gun Based on the analysis result of the analysis data determined by the statistical method, the analysis data determined from the pressurization position acquired by the acquisition means, and based on the analysis result of the analysis data by the analysis means The spot welding is based on diagnostic data determined from the pressurization time acquired by the pressurization time acquisition means and the pressurization position acquired by the pressurization position acquisition means in a section after a predetermined operation section of the welding gun. And a deterioration diagnosis means for diagnosing deterioration of the gun.
Here, the predetermined operation section is a section in which analysis data is collected and stored for analysis by a statistical method before performing deterioration diagnosis, and is a so-called analysis section.
The section after the predetermined operation section is after the analysis section, that is, after obtaining a regression equation, and collecting and accumulating diagnostic data for performing deterioration diagnosis of the spot welding gun based on the regression equation. This is a section, which is a so-called management section.

請求項2に記載の発明は、請求項1に記載の劣化診断装置において、前記解析手段は、前記解析用データに基づいてn次(nは自然数)の回帰式を算出することを特徴とする。   According to a second aspect of the present invention, in the deterioration diagnosis apparatus according to the first aspect, the analysis means calculates an nth-order (n is a natural number) regression equation based on the analysis data. .

請求項3に記載の発明は、請求項2に記載の劣化診断装置において、前記劣化診断手段は、前記n次(nは自然数)の回帰式に基づく回帰線と、前記診断用データとの距離を算出し、算出された距離に基づいて前記スポット溶接ガンの劣化を診断することを特徴とする。   According to a third aspect of the present invention, in the degradation diagnostic apparatus according to the second aspect, the degradation diagnostic unit is configured to provide a distance between a regression line based on the regression equation of the nth order (n is a natural number) and the diagnostic data. And the deterioration of the spot welding gun is diagnosed based on the calculated distance.

請求項4に記載の発明は、請求項1〜3のいずれか一項に記載の劣化診断装置において、前記スポット溶接ガンの駆動制御を行う溶接ガン制御装置に通信接続され、前記溶接ガン制御装置から前記加圧時間に関する加圧時間データと前記加圧位置に関する加圧位置データとを受信する通信手段を備えることを特徴とする。   According to a fourth aspect of the present invention, in the deterioration diagnosis device according to any one of the first to third aspects, the welding gun control device is connected in communication with a welding gun control device that performs drive control of the spot welding gun. Communication means for receiving pressurization time data relating to the pressurization time and pressurization position data relating to the pressurization position.

請求項5に記載の発明は、請求項4に記載の劣化診断装置において、前記通信手段は、複数の溶接ガン制御装置に通信接続可能に構成され、前記劣化診断手段は、前記加圧時間取得手段及び前記加圧位置取得手段が前記通信手段を介して複数の溶接ガン制御装置から取得した解析用データ及び診断用データに基づいて、スポット溶接ガン毎に同時に劣化診断可能であることを特徴とする。   According to a fifth aspect of the present invention, in the deterioration diagnosis apparatus according to the fourth aspect, the communication means is configured to be communicably connected to a plurality of welding gun control apparatuses, and the deterioration diagnosis means acquires the pressurization time. And the pressurization position acquisition means are capable of simultaneously diagnosing deterioration for each spot welding gun based on analysis data and diagnosis data acquired from a plurality of welding gun control devices via the communication means. To do.

請求項6に記載の発明は、電動機により電極を駆動させて、接合される部材同士を前記電極で所定の加圧力で挟んだ状態で電流を流して前記部材同士を接合するスポット溶接ガンの劣化を診断する劣化診断方法において、前記電極の駆動開始から前記部材同士を前記所定の加圧力で挟んだ状態になるまでの加圧時間を取得する加圧時間取得工程と、前記部材同士を前記所定の加圧力で挟んだ状態における前記電極の位置を取得する加圧位置取得工程と、前記スポット溶接ガンの所定の動作区間における前記加圧時間取得工程により取得された加圧時間と前記加圧位置取得工程により取得された加圧位置とから定まる解析用データを統計学的手法により解析する解析工程と、前記解析工程による前記解析用データの解析結果に基づいて、前記スポット溶接ガンの所定の動作区間以降の区間における前記加圧時間取得工程により取得された加圧時間と前記加圧位置取得工程により取得された加圧位置とから定まる診断用データにより前記スポット溶接ガンの劣化を診断する劣化診断工程と、を備えることを特徴とする。   The invention according to claim 6 is a deterioration of a spot welding gun in which electrodes are driven by an electric motor and members to be joined are sandwiched between the electrodes with a predetermined pressure, and current is passed to join the members together. In the deterioration diagnosis method, a pressurization time acquisition step of acquiring a pressurization time from the start of driving of the electrodes to a state where the members are sandwiched with the predetermined pressurizing force, and the members between the predetermined A pressurization position acquisition step of acquiring the position of the electrode in a state of being sandwiched between the pressurization pressures, a pressurization time acquired by the pressurization time acquisition step in a predetermined operation section of the spot welding gun, and the pressurization position Based on the analysis process for analyzing the analysis data determined from the pressure position acquired in the acquisition process by a statistical method, and the analysis result of the analysis data in the analysis process, Spot welding based on diagnostic data determined from the pressurization time acquired by the pressurization time acquisition step and the pressurization position acquired by the pressurization position acquisition step in a section after a predetermined operation section of the welding gun A deterioration diagnosis step of diagnosing deterioration of the gun.

請求項7に記載の発明は、プログラムにおいて、電動機により電極を駆動させて、接合される部材同士を前記電極で所定の加圧力で挟んだ状態で電流を流して前記部材同士を接合するスポット溶接ガンの劣化を診断するコンピュータに、前記電極の駆動開始から前記部材同士を前記所定の加圧力で挟んだ状態になるまでの加圧時間を取得する加圧時間取得機能と、前記部材同士を前記所定の加圧力で挟んだ状態における前記電極の位置を取得する加圧位置取得機能と、前記スポット溶接ガンの所定の動作区間における前記加圧時間取得機能により取得された加圧時間と前記加圧位置取得機能により取得された加圧位置とから定まる解析用データを統計学的手法により解析する解析機能と、前記解析機能による前記解析用データの解析結果に基づいて、前記スポット溶接ガンの所定の動作区間以降の区間における前記加圧時間取得機能により取得された加圧時間と前記加圧位置取得機能により取得された加圧位置とから定まる診断用データにより前記スポット溶接ガンの劣化を診断する劣化診断機能と、を実現させることを特徴とする。   According to a seventh aspect of the present invention, in the program, spot welding is performed such that, in the program, the electrodes are driven by an electric motor and the members to be joined are joined with each other with a predetermined pressure applied between the members to be joined. A computer for diagnosing deterioration of a gun, a pressurization time acquisition function for acquiring a pressurization time from the start of driving of the electrodes to a state where the members are sandwiched with the predetermined pressure, and the members Pressurization position acquisition function for acquiring the position of the electrode in a state sandwiched by a predetermined pressurizing force, pressurization time acquired by the pressurization time acquisition function in a predetermined operation section of the spot welding gun, and the pressurization Based on the analysis function for analyzing the analysis data determined from the pressurization position acquired by the position acquisition function by a statistical method, and the analysis result of the analysis data by the analysis function And the diagnostic data determined from the pressurization time acquired by the pressurization time acquisition function and the pressurization position acquired by the pressurization position acquisition function in a section after the predetermined operation section of the spot welding gun. And a deterioration diagnosis function for diagnosing deterioration of a spot welding gun.

請求項1に記載の発明によれば、スポット溶接ガンの所定の動作区間において、加圧時間取得手段により電極の駆動開始から部材同士を所定の加圧力で挟んだ状態になるまでの加圧時間を取得し、加圧位置取得手段により部材同士を所定の加圧力で挟んだ状態における電極の位置を取得する。ここで、スポット溶接ガンの所定の動作区間で取得された加圧時間と加圧位置が解析用データとなる。
そして、解析手段が解析用データを統計学的手法により解析すると、劣化診断手段は解析用データの解析結果に基づいて、スポット溶接ガンの所定の動作区間以降の区間における加圧時間取得手段により取得された加圧時間と加圧位置取得手段により取得された加圧位置とから定まる診断用データによりスポット溶接ガンの劣化を診断する。
According to the first aspect of the present invention, in the predetermined operation section of the spot welding gun, the pressurization time from the start of driving the electrodes to the state where the members are sandwiched with the predetermined pressurization force by the pressurization time acquisition means And the position of the electrode in a state in which the members are sandwiched with a predetermined pressure by the pressurization position acquisition means. Here, the pressurization time and the pressurization position acquired in a predetermined operation section of the spot welding gun are used as analysis data.
Then, when the analysis means analyzes the analysis data by a statistical technique, the deterioration diagnosis means is acquired by the pressurization time acquisition means in a section after the predetermined operation section of the spot welding gun based on the analysis result of the analysis data. The deterioration of the spot welding gun is diagnosed based on the diagnostic data determined from the applied pressurization time and the pressurization position acquired by the pressurization position acquisition means.

すなわち、スポット溶接ガンの劣化診断は、電極の加圧時間と加圧位置に基づいて行われており、ワーク位置のばらつきにより影響を受けるサイクルタイムから劣化兆候を見い出す必要がなくなる。また、電動機に流れる電流を一定に保つ制御をしている場合に影響を受ける最大トルクから劣化兆候を見い出す必要がなくなる。
よって、電動式スポット溶接ガンの劣化兆候をスポット溶接ガンの電極に関するデータから見い出すことができるようになり、電動式スポット溶接ガンの劣化診断をすることができる。
That is, the deterioration diagnosis of the spot welding gun is performed based on the pressurization time and pressurization position of the electrode, and it is not necessary to find a sign of deterioration from the cycle time affected by the variation in the work position. Further, it is not necessary to find a sign of deterioration from the maximum torque that is affected when control is performed to keep the current flowing through the motor constant.
Therefore, it becomes possible to find the deterioration sign of the electric spot welding gun from the data regarding the electrode of the spot welding gun, and the deterioration diagnosis of the electric spot welding gun can be performed.

請求項2に記載の発明によれば、解析手段は、解析用データに基づいてn次(nは自然数)の回帰式を算出し、この回帰式に基づいて電動式スポット溶接ガンの劣化診断を行うので、簡単な手法で劣化診断を行うことができ、解析にかかる負荷を低く抑えることができる。   According to the second aspect of the present invention, the analysis means calculates an nth-order regression equation (n is a natural number) based on the analysis data, and performs deterioration diagnosis of the electric spot welding gun based on the regression equation. Therefore, deterioration diagnosis can be performed by a simple method, and the load on analysis can be kept low.

請求項3に記載の発明によれば、劣化診断手段は、n次(nは自然数)の回帰式に基づく回帰線と、診断用データとの距離を算出し、算出された距離に基づいてスポット溶接ガンの劣化を診断するので、簡単な手法で劣化診断を行うことができ、解析にかかる負荷を低く抑えることができる。   According to the invention of claim 3, the deterioration diagnosis means calculates the distance between the regression line based on the regression equation of nth order (n is a natural number) and the diagnostic data, and spots based on the calculated distance Since the deterioration of the welding gun is diagnosed, the deterioration diagnosis can be performed by a simple method, and the load on the analysis can be kept low.

請求項4に記載の発明によれば、通信手段を介して加圧時間データ及び加圧位置データを受信することができるので、劣化診断装置と溶接ガン制御装置とが離れていても、劣化診断装置を操作することにより、加圧時間データ及び加圧位置データを劣化診断装置に取り込むことができる。   According to the fourth aspect of the present invention, since the pressurization time data and the pressurization position data can be received via the communication means, the deterioration diagnosis can be performed even if the deterioration diagnosis device and the welding gun control device are separated. By operating the apparatus, the pressurization time data and the pressurization position data can be taken into the deterioration diagnosis apparatus.

請求項5に記載の発明によれば、劣化診断装置は通信手段を介して複数の溶接ガン制御装置から取得した解析用データ及び診断用データに基づいて、スポット溶接ガン毎に同時に劣化診断することができるので、スポット溶接ガン毎に劣化診断装置を設ける必要がなく、コストの低減化、管理の容易化を図ることができる。   According to the invention described in claim 5, the deterioration diagnosis device simultaneously diagnoses deterioration for each spot welding gun based on the analysis data and the diagnosis data acquired from the plurality of welding gun control devices via the communication means. Therefore, it is not necessary to provide a deterioration diagnosis device for each spot welding gun, and cost can be reduced and management can be facilitated.

請求項6,7に記載の発明によれば、スポット溶接ガンの所定の動作区間において、加圧時間取得機能により電極の駆動開始から部材同士を所定の加圧力で挟んだ状態になるまでの加圧時間を取得し(加圧時間取得工程)、加圧位置取得機能により部材同士を所定の加圧力で挟んだ状態における電極の位置を取得する(加圧位置取得工程)。ここで、スポット溶接ガンの所定の動作区間で取得された加圧時間と加圧位置が解析用データとなる。
そして、解析機能により解析用データを統計学的手法により解析すると(解析工程)、劣化診断機能により、解析用データの解析結果に基づいて、スポット溶接ガンの所定の動作区間以降の区間における加圧時間取得機能により取得された加圧時間と加圧位置取得機能により取得された加圧位置とから定まる診断用データによりスポット溶接ガンの劣化を診断する(劣化診断工程)。
According to the sixth and seventh aspects of the present invention, in a predetermined operation section of the spot welding gun, the pressurization time acquisition function is used until the member is sandwiched with the predetermined pressure from the start of driving the electrodes. The pressure time is acquired (pressurization time acquisition step), and the position of the electrode in a state where the members are sandwiched with a predetermined pressure by the pressurization position acquisition function is acquired (pressurization position acquisition step). Here, the pressurization time and the pressurization position acquired in a predetermined operation section of the spot welding gun are used as analysis data.
Then, when the analysis data is analyzed by a statistical method using the analysis function (analysis process), the deterioration diagnosis function is used to pressurize in a section after a predetermined operation section of the spot welding gun based on the analysis result of the analysis data. Deterioration of the spot welding gun is diagnosed based on diagnostic data determined from the pressurization time acquired by the time acquisition function and the pressurization position acquired by the pressurization position acquisition function (deterioration diagnosis step).

すなわち、スポット溶接ガンの劣化診断は、電極の加圧時間と加圧位置に基づいて行われており、ワーク位置のばらつきにより影響を受けるサイクルタイムから劣化兆候を見い出す必要がなくなる。また、電動機に流れる電流を一定に保つ制御をしている場合に影響を受ける最大トルクから劣化兆候を見い出す必要がなくなる。
よって、電動式スポット溶接ガンの劣化兆候をスポット溶接ガンの電極に関するデータから見い出すことができるようになり、電動式スポット溶接ガンの劣化診断をすることができる。
That is, the deterioration diagnosis of the spot welding gun is performed based on the pressurization time and pressurization position of the electrode, and it is not necessary to find a sign of deterioration from the cycle time affected by the variation in the work position. Further, it is not necessary to find a sign of deterioration from the maximum torque that is affected when control is performed to keep the current flowing through the motor constant.
Therefore, it becomes possible to find the deterioration sign of the electric spot welding gun from the data regarding the electrode of the spot welding gun, and the deterioration diagnosis of the electric spot welding gun can be performed.

以下、図面を参照して、本発明に係る劣化診断装置、劣化診断方法及びプログラムの最良の形態について詳細に説明する。
<スポット溶接ロボットの構成>
最初に、劣化診断装置により劣化診断されるスポット溶接ロボットの構成について説明する。
図1は、スポット溶接ロボット10の概略構成を示す図である。
スポット溶接ロボット10は、ロボット制御装置11により駆動制御が行われるように構成され、複数のスポット溶接ロボット10,10を設けることにより、ロボットシステムを構成している。
スポット溶接ロボット10は、土台となるベース12と、関節13で連結された複数のマニピュレータ14と、各関節13に設けられた駆動源としてのサーボモータ(図示略)と、各サーボモータの軸角度をそれぞれ検出するエンコーダ(図示略)とを備えている。そして、連結された各マニピュレータ14の先端部15には、スポット溶接ガン16が装備されている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The best mode of a deterioration diagnosis apparatus, a deterioration diagnosis method, and a program according to the present invention will be described below in detail with reference to the drawings.
<Configuration of spot welding robot>
First, the configuration of a spot welding robot that is diagnosed for deterioration by the deterioration diagnosis apparatus will be described.
FIG. 1 is a diagram showing a schematic configuration of the spot welding robot 10.
The spot welding robot 10 is configured such that drive control is performed by the robot control device 11, and a plurality of spot welding robots 10 and 10 are provided to constitute a robot system.
The spot welding robot 10 includes a base 12 as a base, a plurality of manipulators 14 connected by joints 13, servo motors (not shown) as drive sources provided at the joints 13, and shaft angles of the servo motors. And an encoder (not shown). A spot welding gun 16 is provided at the tip 15 of each connected manipulator 14.

各関節13は、マニピュレータ14の一端部を揺動可能として他端部を軸支する揺動関節と、マニピュレータ14自身をその長手方向を中心に回転可能に軸支する回転関節とのいずれかから構成される。つまり、スポット溶接ロボット10は、いわゆる多関節型ロボットに相当する。また、スポット溶接ロボット10は、六つの関節13を備えており、その先端部15を任意の位置に位置決めすることが可能となっている。
スポット溶接ガン16は、図2に示すように、二つの電極161,162を備えており、一方の電極161は、アーム163とともに固定され、他方の電極162は、ボールネジ165により一方の電極161に向かってアーム164とともに駆動するように構成されている。すなわち、ボールネジ165を駆動させて電極161と電極162の間隔を狭めていくことにより、接合される部材同士を挟持することができるようになっている。このボールネジ165は、ロボット制御装置11により駆動制御され、ロボット制御装置11は、溶接ガン制御装置として機能する。
なお、スポット溶接ガンは、図3に示すようなスポット溶接ガン17を用いてもよい。スポット溶接ガン17は、二つの電極171,172を備えており、一方の電極171は、アーム173に設けられ、他方の電極172は、アーム174に設けられている。そして、アーム173とアーム174は、支点軸175を介して連結され、駆動伝達アーム176の駆動により、アーム173がアーム174に対して接離するようになっている。すなわち、駆動伝達アーム176を駆動させて電極171と電極172の間隔を狭めていくことにより、接合される部材同士を挟持することができるようになっている。
Each joint 13 includes a swing joint that pivots one end of the manipulator 14 and pivotally supports the other end, and a rotary joint that pivots the manipulator 14 so that the manipulator 14 can rotate about its longitudinal direction. Composed. That is, the spot welding robot 10 corresponds to a so-called articulated robot. In addition, the spot welding robot 10 includes six joints 13 and can position the tip portion 15 at an arbitrary position.
As shown in FIG. 2, the spot welding gun 16 includes two electrodes 161 and 162, one electrode 161 is fixed together with the arm 163, and the other electrode 162 is attached to one electrode 161 by a ball screw 165. It is comprised so that it may drive with the arm 164 toward. That is, the members to be joined can be held by driving the ball screw 165 to narrow the distance between the electrode 161 and the electrode 162. The ball screw 165 is driven and controlled by the robot control device 11, and the robot control device 11 functions as a welding gun control device.
As the spot welding gun, a spot welding gun 17 as shown in FIG. 3 may be used. The spot welding gun 17 includes two electrodes 171 and 172, one electrode 171 is provided on the arm 173, and the other electrode 172 is provided on the arm 174. The arm 173 and the arm 174 are connected via a fulcrum shaft 175, and the arm 173 is brought into contact with and separated from the arm 174 by driving of the drive transmission arm 176. That is, by driving the drive transmission arm 176 and narrowing the distance between the electrode 171 and the electrode 172, the members to be joined can be sandwiched.

<劣化診断装置の構成>
次に、スポット溶接ロボット10の劣化診断を行う劣化診断装置について説明する。
図4は、劣化診断装置1の構成を示すブロック図である。
劣化診断装置1は、劣化診断に関する制御を行う診断制御装置2と、ユーザの操作指示が入力される入力装置5と、スポット溶接ロボット10の駆動制御を行うロボット制御装置11に通信接続され、ロボット制御装置11からスポット溶接ガン16の加圧時間に関する加圧時間データ及び加圧位置に関する加圧位置データを受信する通信手段としての通信装置6と、診断制御装置2の制御により劣化診断された結果を表示する表示装置7と、を備えている。
<Configuration of deterioration diagnosis device>
Next, a deterioration diagnosis apparatus that performs deterioration diagnosis of the spot welding robot 10 will be described.
FIG. 4 is a block diagram illustrating a configuration of the deterioration diagnosis apparatus 1.
The deterioration diagnosis apparatus 1 is connected in communication with a diagnosis control apparatus 2 that performs control relating to deterioration diagnosis, an input apparatus 5 that receives user operation instructions, and a robot control apparatus 11 that performs drive control of the spot welding robot 10. Deterioration diagnosis result by control of the communication device 6 as communication means for receiving pressurization time data regarding the pressurization time of the spot welding gun 16 and pressurization position data regarding the pressurization position from the control device 11 and control of the diagnostic control device 2 And a display device 7 for displaying.

(診断制御装置)
診断制御装置2は、劣化診断に関する処理プログラムに従って各処理を実行するCPU3と、各処理を実行するための処理プログラムや処理データ等が記憶されるメモリ4と、を備えている。
メモリ4には、劣化診断を行うに当たって必要なプログラムが記憶されたプログラムエリア41と、劣化診断を行うに当たって必要なデータが記憶されたデータエリア42と、種々のワークメモリやカウンタなどが設けられ、各処理が行われる作業エリア43と、が形成されている。
(Diagnostic control device)
The diagnosis control device 2 includes a CPU 3 that executes each process in accordance with a process program related to deterioration diagnosis, and a memory 4 that stores a process program, process data, and the like for executing each process.
The memory 4 is provided with a program area 41 in which a program necessary for performing deterioration diagnosis is stored, a data area 42 in which data necessary for performing deterioration diagnosis is stored, various work memories and counters, and the like. A work area 43 in which each process is performed is formed.

プログラムエリア41には、電極162の駆動開始から部材同士を所定の加圧力で挟んだ状態になるまでの加圧時間を取得する機能を実現する加圧時間取得プログラム411が記憶されている。
また、プログラムエリア41には、部材同士を所定の加圧力で挟んだ状態における電極162の位置を取得する機能を実現する加圧位置取得プログラム412が記憶されている。
The program area 41 stores a pressurization time acquisition program 411 that realizes a function of acquiring a pressurization time from the start of driving of the electrode 162 until the member is sandwiched with a predetermined pressure.
The program area 41 stores a pressurization position acquisition program 412 that realizes a function of acquiring the position of the electrode 162 in a state where the members are sandwiched with a predetermined pressure.

また、プログラムエリア41には、スポット溶接ガン16の所定の動作区間において取得した加圧時間と加圧位置とから定まる解析用データ421を統計学的手法により解析する機能を実現する解析プログラム413が記憶されている。ここで、所定の動作区間とは、劣化診断を行う前に、統計学的手法により解析するために解析用データ421を収集、蓄積する区間であり、いわゆる解析区間である。また、統計学的手法とは、解析区間で取得した加圧時間と加圧位置とから回帰分析を行ってn次(nは自然数)の回帰式を求める手法をいう。本実施形態においては、一次の回帰式を求める。なお、回帰式は一次のものに限らず、重回帰分析を行うことにより二次回帰式や三次回帰式を求めてもよい。   In the program area 41, there is an analysis program 413 that realizes a function of analyzing the analysis data 421 determined from the pressurization time and the pressurization position acquired in a predetermined operation section of the spot welding gun 16 by a statistical method. It is remembered. Here, the predetermined operation section is a section in which the analysis data 421 is collected and accumulated for analysis by a statistical method before the deterioration diagnosis, and is a so-called analysis section. The statistical method refers to a method of performing regression analysis from the pressurization time and the pressurization position acquired in the analysis section to obtain an nth-order (n is a natural number) regression equation. In this embodiment, a linear regression equation is obtained. The regression equation is not limited to a linear one, and a secondary regression equation or a cubic regression equation may be obtained by performing multiple regression analysis.

また、プログラムエリア41には、解析プログラム413による解析用データ421の解析結果に基づいて、スポット溶接ガン16の所定の動作区間以降の区間において取得した加圧時間と加圧位置とから定まる診断用データ422によりスポット溶接ガン16の劣化を診断する機能を実現する劣化診断プログラム414が記憶されている。ここで、所定の動作区間以降の区間とは、解析区間の後、すなわち、回帰式を求めた後、その回帰式に基づいてスポット溶接ガン16の劣化診断を行うために診断用データ422を収集、蓄積する区間であり、いわゆる管理区間である。   Further, in the program area 41, for diagnosis determined from the pressurization time and the pressurization position acquired in a section after a predetermined operation section of the spot welding gun 16 based on the analysis result of the analysis data 421 by the analysis program 413. A deterioration diagnosis program 414 that realizes a function of diagnosing deterioration of the spot welding gun 16 based on the data 422 is stored. Here, the section after the predetermined operation section is after the analysis section, that is, after the regression equation is obtained, the diagnostic data 422 is collected to perform the deterioration diagnosis of the spot welding gun 16 based on the regression equation. , A section to be accumulated, a so-called management section.

データエリア42には、解析用データ421が記憶されている。解析用データ421は、回帰式を求めるための解析区間において、加圧時間取得プログラム411及び加圧位置取得プログラム412の実行により収集、蓄積された加圧時間データ423、加圧位置データ424により定まるデータである。
また、データエリア42には、診断用データ422が記憶されている。診断用データ422は、劣化診断を行う管理区間において、加圧時間取得プログラム411及び加圧位置取得プログラム412の実行により収集、蓄積された加圧時間データ425、加圧位置データ426により定まるデータである。
In the data area 42, analysis data 421 is stored. The analysis data 421 is determined by the pressurization time data 423 and pressurization position data 424 collected and accumulated by the execution of the pressurization time acquisition program 411 and the pressurization position acquisition program 412 in the analysis section for obtaining the regression equation. It is data.
In the data area 42, diagnostic data 422 is stored. The diagnosis data 422 is data determined by the pressurization time data 425 and the pressurization position data 426 collected and accumulated by the execution of the pressurization time acquisition program 411 and the pressurization position acquisition program 412 in the management section in which the deterioration diagnosis is performed. is there.

図5は、劣化診断装置1の機能を示すブロック図である。
診断制御装置2は、CPU3が加圧時間取得プログラム411を実行することにより、電極162の駆動開始から部材同士を所定の加圧力で挟んだ状態になるまでの加圧時間を取得する加圧時間取得部22を有し、この加圧時間取得部22が加圧時間取得手段として機能する。
また、診断制御装置2は、CPU3が加圧位置取得プログラム412を実行することにより、部材同士を所定の加圧力で挟んだ状態における電極162の位置を取得する加圧位置取得部23を有し、この加圧位置取得部23が加圧位置取得手段として機能する。
また、診断制御装置2は、CPU3が解析プログラム413を実行することにより、解析区間内で取得した解析用データ421を回帰分析により解析して回帰式を求める解析部24を有し、この解析部24が解析手段として機能する。
また、診断制御装置2は、CPU3が劣化診断プログラム414を実行することにより、解析部24で求めた回帰式に基づく回帰線と管理区間内で取得した診断用データ422との距離を算出する距離算出部25を有し、この距離算出部25が劣化診断手段として機能する。
また、診断制御装置2は、CPU3が劣化診断プログラム414を実行することにより、距離算出部25により算出された距離に基づいてスポット溶接ガン16の劣化を診断する劣化診断部26を有し、この劣化診断部26が劣化診断手段として機能する。
また、診断制御装置2は、劣化診断部26によるスポット溶接ガン16の診断結果を表示部27としての機能を有する表示装置7に表示させる。
FIG. 5 is a block diagram illustrating functions of the deterioration diagnosis apparatus 1.
The diagnosis control apparatus 2 executes the pressurization time acquisition program 411 so that the pressurization time for acquiring the pressurization time from the start of driving the electrode 162 to the state where the members are sandwiched with a predetermined pressurizing force is obtained. It has the acquisition part 22, and this pressurization time acquisition part 22 functions as a pressurization time acquisition means.
In addition, the diagnostic control device 2 includes a pressurization position acquisition unit 23 that acquires the position of the electrode 162 in a state where the members are sandwiched with a predetermined pressurizing force by the CPU 3 executing the pressurization position acquisition program 412. The pressurization position acquisition unit 23 functions as a pressurization position acquisition unit.
In addition, the diagnostic control apparatus 2 includes an analysis unit 24 that analyzes the analysis data 421 acquired in the analysis section by regression analysis by the CPU 3 executing the analysis program 413, and obtains a regression equation. 24 functions as an analysis means.
Further, the diagnosis control device 2 causes the CPU 3 to execute the deterioration diagnosis program 414 to calculate the distance between the regression line based on the regression equation obtained by the analysis unit 24 and the diagnostic data 422 acquired in the management section. The distance calculation unit 25 has a calculation unit 25 and functions as a deterioration diagnosis unit.
Further, the diagnosis control device 2 includes a deterioration diagnosis unit 26 that diagnoses deterioration of the spot welding gun 16 based on the distance calculated by the distance calculation unit 25 by the CPU 3 executing the deterioration diagnosis program 414. The deterioration diagnosis unit 26 functions as a deterioration diagnosis unit.
Further, the diagnosis control device 2 displays the diagnosis result of the spot welding gun 16 by the deterioration diagnosis unit 26 on the display device 7 having a function as the display unit 27.

<劣化診断処理>
次に、劣化診断装置1を用いたスポット溶接ガン16の劣化診断処理について説明する。この劣化診断処理は、解析用データ421を取得して解析を行う解析区間と、診断用データ422を取得して劣化診断を行う管理区間とがあるため、各区間に分けて処理を説明する。
(解析区間)
図6は、劣化診断装置1によるスポット溶接ガン16の劣化診断における解析区間の処理の流れを示すフローチャートである。
劣化診断装置1の起動により、CPU3は、加圧時間取得プログラム411、加圧位置取得プログラム412を作業エリア43に展開して実行することにより、ロボット制御装置11から通信装置6を介して解析用データ421となる加圧時間データ423、加圧位置データ424を取得する(加圧時間取得工程、加圧位置取得工程、ステップS101)。ここで、取得した加圧時間データ423、加圧位置データ424は、解析用データ421としてデータエリア42に記憶される。
<Deterioration diagnosis processing>
Next, the deterioration diagnosis process of the spot welding gun 16 using the deterioration diagnosis apparatus 1 will be described. Since this degradation diagnosis process includes an analysis section in which analysis data 421 is acquired and analyzed, and a management section in which diagnosis data 422 is acquired and deterioration diagnosis is performed, the process will be described separately for each section.
(Analysis section)
FIG. 6 is a flowchart showing the flow of processing in the analysis section in the deterioration diagnosis of the spot welding gun 16 by the deterioration diagnosis apparatus 1.
When the deterioration diagnosis device 1 is activated, the CPU 3 develops the pressurization time acquisition program 411 and the pressurization position acquisition program 412 in the work area 43 and executes them for analysis from the robot control device 11 via the communication device 6. Pressurization time data 423 and pressurization position data 424 to be data 421 are acquired (pressurization time acquisition process, pressurization position acquisition process, step S101). Here, the acquired pressurization time data 423 and pressurization position data 424 are stored in the data area 42 as analysis data 421.

次いで、CPU3は、取得した解析用データ421が回帰分析を行うために必要なデータ数n個取得したか否かを判断する(ステップS102)。ここで、CPU3が、取得したデータ数がn個未満であると判断した場合(ステップS102:NO)、CPU3は、ステップS101の処理に戻り、加圧時間データ423、加圧位置データ424を取得する。一方、CPU3が、解析用データ421のデータ数がn個以上であると判断した場合(ステップS102:YES)、CPU3は、解析用データ421のデータ数がn個であるか否かを判断する(ステップS103)。   Next, the CPU 3 determines whether or not the acquired analysis data 421 has acquired the number n of data necessary for performing regression analysis (step S102). If the CPU 3 determines that the number of acquired data is less than n (step S102: NO), the CPU 3 returns to the process of step S101 and acquires the pressurization time data 423 and the pressurization position data 424. To do. On the other hand, when the CPU 3 determines that the number of data in the analysis data 421 is n or more (step S102: YES), the CPU 3 determines whether the number of data in the analysis data 421 is n. (Step S103).

ステップS103において、CPU3が、解析用データ421のデータ数がn個であると判断した場合(ステップS103:YES)、CPU3は、解析プログラム413を作業エリア43に展開して実行することにより、加圧時間データ423と加圧位置データ424に基づいて回帰分析を行い、一次の回帰式を求める(解析工程、ステップS104)。具体的には、図7に示すように、縦軸に加圧時間(sec)、横軸に加圧位置(mm)をとって解析用データ421をプロットし、各解析用データ421から回帰線Lまでの距離の総和が最小となるような回帰式を求める。本実施形態においては、一次の回帰式であるため、回帰線Lは直線近似される。
回帰式の算出後、CPU3は、ステップS101に戻り、さらに解析用データ421を取得する。
In step S103, when the CPU 3 determines that the number of data of the analysis data 421 is n (step S103: YES), the CPU 3 expands and executes the analysis program 413 in the work area 43, thereby adding. A regression analysis is performed based on the pressure time data 423 and the pressure position data 424 to obtain a primary regression equation (analysis process, step S104). Specifically, as shown in FIG. 7, the analysis data 421 is plotted with the pressurization time (sec) on the vertical axis and the pressurization position (mm) on the horizontal axis, and a regression line is obtained from each analysis data 421. A regression equation that minimizes the sum of distances to L is obtained. In the present embodiment, since the linear regression equation is used, the regression line L is linearly approximated.
After calculating the regression equation, the CPU 3 returns to step S101 and further acquires analysis data 421.

ステップS103において、CPU3が、解析用データ421のデータ数がn個ではないと判断した場合、換言すれば、取得した解析用データ421のデータ数がn個を超えた場合(ステップS103:NO)、CPU3は、各解析用データ421から回帰線Lまでの距離の総和を算出し(ステップS105)、予め定められた群の大きさだけ解析用データ421を取得したか否かを判断する(ステップS106)。ここで、CPU3が群の大きさだけ解析用データ421を取得したと判断した場合(ステップS106:YES)、CPU3は、各解析用データ421のXバー(平均値)とR(範囲)を算出する(ステップS107)。一方、CPU3が群の大きさだけ解析用データ421を取得していないと判断した場合(ステップS106:NO)、CPU3は、ステップS101に戻り、さらに解析用データ421を取得する。   In step S103, when the CPU 3 determines that the number of data of the analysis data 421 is not n, in other words, when the number of data of the acquired analysis data 421 exceeds n (step S103: NO). The CPU 3 calculates the sum of the distances from the analysis data 421 to the regression line L (step S105), and determines whether or not the analysis data 421 has been acquired for a predetermined group size (step S105). S106). If the CPU 3 determines that the analysis data 421 has been acquired by the size of the group (step S106: YES), the CPU 3 calculates the X bar (average value) and R (range) of each analysis data 421. (Step S107). On the other hand, when the CPU 3 determines that the analysis data 421 is not acquired by the size of the group (step S106: NO), the CPU 3 returns to step S101 and further acquires the analysis data 421.

ステップS107において、Xバー(平均値)とR(範囲)を算出するのは、本実施形態における劣化診断の管理をXバー−R管理図によって行うためである。
具体的には、Xバーは、群毎にステップS105で求めたデータと回帰線との距離の平均値であり、Rは、その範囲である。
In step S107, the reason why the X bar (average value) and R (range) are calculated is that the deterioration diagnosis in this embodiment is managed by the X bar-R control chart.
Specifically, the X bar is the average value of the distance between the data obtained in step S105 for each group and the regression line, and R is the range.

次いで、CPU3は、取得した解析用データ421の数が解析区間の群の数となったか否かを判断する(ステップS108)。ここで、CPU3が、取得した解析用データ421の数が解析区間の群の数となったと判断した場合(ステップS108:YES)、CPU3は、管理限界線を算出する(ステップS109)。一方、CPU3が、取得した解析用データ421の数が解析区間の群の数になっていないと判断した場合(ステップS108:NO)、CPU3は、CPU3は、ステップS101に戻り、さらに解析用データ421を取得する。   Next, the CPU 3 determines whether or not the number of acquired analysis data 421 has reached the number of groups in the analysis section (step S108). Here, when the CPU 3 determines that the number of acquired analysis data 421 is the number of groups in the analysis section (step S108: YES), the CPU 3 calculates a management limit line (step S109). On the other hand, when the CPU 3 determines that the number of acquired analysis data 421 is not the number of groups in the analysis section (step S108: NO), the CPU 3 returns to step S101 and further analyzes data. 421 is acquired.

ここで、管理限界線とは、平均値を通る管理中心線CLに対して上方の管理限界を示す上方管理限界線UCLと、平均値を通る管理中心線に対して下方の管理限界を示す下方管理限界線LCLとからなり、ステップS107で算出したXバーから求めるXバーの総平均Xバーバーと範囲Rの平均Rバーを用いて、それぞれ以下の式により求められる。
CL=Xバーバー
UCL=Xバーバー+k*Rバー
LCL=Xバーバー−k*Rバー
ここで、kは群の大きさで決まる係数である。
以上の処理により、解析区間、すなわち、劣化診断を行うための基準が定められる。
Here, the management limit line is an upper management limit line UCL indicating an upper management limit with respect to the management center line CL passing through the average value, and a lower side indicating a lower management limit with respect to the management center line passing through the average value. Using the control limit line LCL, the total X bar of the X bar and the average R bar of the range R obtained from the X bar calculated in step S107 are obtained by the following equations, respectively.
CL = X bar bar UCL = X bar bar + k * R bar LCL = X bar bar-k * R bar Here, k is a coefficient determined by the size of the group.
With the above processing, an analysis section, that is, a criterion for performing deterioration diagnosis is determined.

(管理区間)
図8は、劣化診断装置1によるスポット溶接ガン16の劣化診断における管理区間の処理の流れを示すフローチャートである。
解析区間における処理が終了すると、CPU3は、加圧時間取得プログラム411、加圧位置取得プログラム412を作業エリア43に展開して実行することにより、ロボット制御装置11から通信装置6を介して診断用データ422となる加圧時間データ425、加圧位置データ426を取得する(加圧時間取得工程、加圧位置取得工程、ステップS201)。ここで、取得した加圧時間データ425、加圧位置データ426は、診断用データ422としてデータエリア42に記憶される。
(Management section)
FIG. 8 is a flowchart showing the process flow of the management section in the deterioration diagnosis of the spot welding gun 16 by the deterioration diagnosis apparatus 1.
When the processing in the analysis section ends, the CPU 3 develops the pressurization time acquisition program 411 and the pressurization position acquisition program 412 in the work area 43 and executes them for diagnosis from the robot controller 11 via the communication device 6. Pressurization time data 425 and pressurization position data 426 to be data 422 are acquired (pressurization time acquisition process, pressurization position acquisition process, step S201). Here, the acquired pressurization time data 425 and pressurization position data 426 are stored in the data area 42 as diagnostic data 422.

次いで、CPU3は、各診断用データ422から解析区間で求めた回帰線Lまでの距離の総和を算出し(ステップS202)、予め定められた群の大きさだけ診断用データ422を取得したか否かを判断する(ステップS203)。ここで、CPU3が群の大きさだけ診断用データ422を取得したと判断した場合(ステップS203:YES)、CPU3は、各診断用データ422のXバー(平均値)とR(範囲)を算出する(ステップS204)。一方、CPU3が群の大きさだけ診断用データ422を取得していないと判断した場合(ステップS203:NO)、CPU3は、ステップS201に戻り、さらに診断用データ422を取得する。   Next, the CPU 3 calculates the sum of the distances from the respective diagnostic data 422 to the regression line L obtained in the analysis section (step S202), and whether or not the diagnostic data 422 has been acquired for a predetermined group size. Is determined (step S203). If the CPU 3 determines that the diagnostic data 422 has been acquired by the size of the group (step S203: YES), the CPU 3 calculates the X bar (average value) and R (range) of each diagnostic data 422. (Step S204). On the other hand, when the CPU 3 determines that the diagnostic data 422 is not acquired by the size of the group (step S203: NO), the CPU 3 returns to step S201 and further acquires the diagnostic data 422.

ステップS204において、Xバー(平均値)とR(範囲)を算出するのは、本実施形態における劣化診断の管理をXバー−R管理図によって行うためである。
具体的には、Xバーは、群毎にステップS202で求めたデータと回帰線との距離の平均値であり、Rは、その範囲である。
The reason why the X bar (average value) and R (range) are calculated in step S204 is that the deterioration diagnosis in this embodiment is managed by the X bar-R control chart.
Specifically, the X bar is the average value of the distance between the data obtained in step S202 and the regression line for each group, and R is the range.

次いで、CPU3は、算出されたXバーとRが解析区間内で算出した上方管理限界線UCLと下方管理限界線LCLとの間にあるか否か、すなわち、管理内か否かを判断する(ステップS205)。ここで、CPU3が、XバーとRが上方管理限界線UCLと下方管理限界線LCLとの間にあると判断した場合(ステップS205:YES)、CPU3は、スポット溶接ガン16が劣化していないと判断し、管理区間の処理を終了させる。一方、CPU3が、XバーとRが上方管理限界線UCLと下方管理限界線LCLとの間にないと判断した場合(ステップS205:NO)、CPU3は、スポット溶接ガン16が劣化している兆候があると判断し、その旨を表示装置7に表示させる(ステップS206)。   Next, the CPU 3 determines whether or not the calculated X bar and R are between the upper control limit line UCL and the lower control limit line LCL calculated in the analysis interval, that is, whether or not they are within the control ( Step S205). Here, when the CPU 3 determines that the X bar and R are between the upper control limit line UCL and the lower control limit line LCL (step S205: YES), the CPU 3 determines that the spot welding gun 16 has not deteriorated. And the processing of the management section is terminated. On the other hand, when the CPU 3 determines that the X bar and R are not between the upper control limit line UCL and the lower control limit line LCL (step S205: NO), the CPU 3 indicates that the spot welding gun 16 has deteriorated. It is determined that there is, and that effect is displayed on the display device 7 (step S206).

<劣化診断装置及び劣化診断方法の作用効果>
上記実施形態における劣化診断装置1及び劣化診断装置1を用いた劣化診断方法によれば、解析区間において、解析用データ421(加圧時間データ423、加圧位置データ424)を取得し、解析プログラム413の実行により解析用データ421に基づいて回帰分析により回帰式を求め、次いで、劣化診断プログラム414の実行により回帰式に基づいて、管理区間において取得した診断用データ422(加圧時間データ425、加圧位置データ426)によりスポット溶接ガン16の劣化を診断する。
すなわち、スポット溶接ガン16の劣化診断は、電極162の加圧時間と加圧位置に基づいて行われており、ワーク位置のばらつきにより影響を受けるサイクルタイムから劣化兆候を見い出す必要がなくなる。また、電動機に流れる電流を一定に保つ制御をしている場合に影響を受ける最大トルクから劣化兆候を見い出す必要がなくなる。
よって、スポット溶接ガン16の劣化兆候をスポット溶接ガン16の電極162に関するデータから見い出すことができるようになり、スポット溶接ガン162の劣化診断をすることができる。
<Operational effects of the deterioration diagnosis device and the deterioration diagnosis method>
According to the deterioration diagnosis apparatus 1 and the deterioration diagnosis method using the deterioration diagnosis apparatus 1 in the above embodiment, the analysis data 421 (pressurization time data 423, pressurization position data 424) is acquired in the analysis section, and the analysis program By executing 413, a regression equation is obtained by regression analysis based on the analysis data 421, and then, by executing the deterioration diagnosis program 414, diagnostic data 422 (pressurization time data 425, The deterioration of the spot welding gun 16 is diagnosed based on the pressure position data 426).
That is, the deterioration diagnosis of the spot welding gun 16 is performed based on the pressurization time and pressurization position of the electrode 162, and it becomes unnecessary to find a deterioration sign from the cycle time affected by the variation of the work position. Further, it is not necessary to find a sign of deterioration from the maximum torque that is affected when control is performed to keep the current flowing through the motor constant.
Therefore, the deterioration sign of the spot welding gun 16 can be found from the data related to the electrode 162 of the spot welding gun 16, and the deterioration of the spot welding gun 162 can be diagnosed.

また、統計的解析手法として回帰分析を用い、診断用データ422と回帰線Lとの距離により劣化診断を行うので、解析及び劣化診断の処理にかかる負荷を低く抑えることができる。
また、通信装置6を介して加圧時間データ423,425及び加圧位置データ424,426を受信することができるので、劣化診断装置1とロボット制御装置11とが離れていても、劣化診断装置1を操作することにより、加圧時間データ423,425及び加圧位置データ424,426を劣化診断装置1に取り込むことができる。
Further, since regression analysis is used as a statistical analysis method and deterioration diagnosis is performed based on the distance between the diagnostic data 422 and the regression line L, the load on the analysis and deterioration diagnosis processing can be kept low.
In addition, since the pressurization time data 423 and 425 and the pressurization position data 424 and 426 can be received via the communication device 6, even if the deterioration diagnosis device 1 and the robot control device 11 are separated, the deterioration diagnosis device. By operating 1, the pressurization time data 423, 425 and the pressurization position data 424, 426 can be taken into the deterioration diagnosis device 1.

<その他>
なお、本発明は上記実施形態に限られるものではない。例えば、各プログラムは機能毎に別個に作成してもよいし、全てのプログラムを処理の流れに沿って一体に作成して一つのプログラムとしてもよい。また、全ての処理をプログラムによりソフト的に処理するものに限らず、その一部又は全部の処理をハードウェアで処理するようにしてもよい。その他、発明の範囲内で自由に置換、変更が可能である。
<Others>
The present invention is not limited to the above embodiment. For example, each program may be created separately for each function, or all programs may be created integrally along the processing flow to form one program. Further, not all of the processing is processed by software by a program, but part or all of the processing may be processed by hardware. In addition, substitution and change are possible freely within the scope of the invention.

スポット溶接ロボットの概略構成を示す図である。It is a figure which shows schematic structure of a spot welding robot. スポット溶接ガンの概略構成を示す図である。It is a figure which shows schematic structure of a spot welding gun. 他のスポット溶接ガンの概略構成を示す図である。It is a figure which shows schematic structure of another spot welding gun. 劣化診断装置の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of a deterioration diagnostic apparatus. 劣化診断装置の機能を示すブロック図である。It is a block diagram which shows the function of a deterioration diagnostic apparatus. 劣化診断装置による解析区間の処理を示すフローチャートである。It is a flowchart which shows the process of the analysis area by a deterioration diagnostic apparatus. 加圧位置と加圧時間との関係を回帰線により表したグラフである。It is the graph which represented the relationship between a pressurization position and pressurization time with the regression line. 劣化診断装置による管理区間の処理を示すフローチャートである。It is a flowchart which shows the process of the management area by a deterioration diagnostic apparatus.

符号の説明Explanation of symbols

1 劣化診断装置
6 通信装置(通信手段)
16 スポット溶接ガン
22 加圧時間取得部(加圧時間取得手段)
23 加圧位置取得部(加圧位置取得手段)
24 解析部(解析手段)
25 距離算出部(劣化診断手段)
26 劣化診断部(劣化診断手段)
161 電極
162 電極
411 加圧時間取得プログラム
412 加圧位置取得プログラム
413 解析プログラム
414 劣化診断プログラム
421 解析用データ
422 診断用データ
423 加圧時間データ
424 加圧位置データ
425 加圧時間データ
426 加圧位置データ
L 回帰線
1 Deterioration diagnosis device 6 Communication device (communication means)
16 Spot welding gun 22 Pressurization time acquisition part (Pressurization time acquisition means)
23 Pressurization position acquisition part (Pressure position acquisition means)
24 Analysis unit (analysis means)
25 Distance calculator (degradation diagnostic means)
26 Deterioration diagnosis unit (degradation diagnosis means)
161 Electrode 162 Electrode 411 Pressurization time acquisition program 412 Pressurization position acquisition program 413 Analysis program 414 Degradation diagnosis program 421 Analysis data 422 Diagnosis data 423 Pressurization time data 424 Pressurization position data 425 Pressurization time data 426 Pressurization position Data L regression line

Claims (7)

電動機により電極を駆動させて、接合される部材同士を前記電極で所定の加圧力で挟んだ状態で電流を流して前記部材同士を接合するスポット溶接ガンの劣化を診断する劣化診断装置において、
前記電極の駆動開始から前記部材同士を前記所定の加圧力で挟んだ状態になるまでの加圧時間を取得する加圧時間取得手段と、
前記部材同士を前記所定の加圧力で挟んだ状態における前記電極の位置を取得する加圧位置取得手段と、
前記スポット溶接ガンの所定の動作区間における前記加圧時間取得手段により取得された加圧時間と前記加圧位置取得手段により取得された加圧位置とから定まる解析用データを統計学的手法により解析する解析手段と、
前記解析手段による前記解析用データの解析結果に基づいて、前記スポット溶接ガンの所定の動作区間以降の区間における前記加圧時間取得手段により取得された加圧時間と前記加圧位置取得手段により取得された加圧位置とから定まる診断用データにより前記スポット溶接ガンの劣化を診断する劣化診断手段と、
を備えることを特徴とする劣化診断装置。
In the deterioration diagnosis device for diagnosing deterioration of a spot welding gun that drives electrodes by an electric motor and flows current in a state in which the members to be bonded are sandwiched between the electrodes with a predetermined pressurizing force.
A pressurization time acquisition means for acquiring a pressurization time from the start of driving of the electrodes to a state where the members are sandwiched by the predetermined pressurizing force;
A pressure position acquisition means for acquiring a position of the electrode in a state where the members are sandwiched by the predetermined pressure force;
Analytical data determined by the pressurization time acquired by the pressurization time acquisition means and the pressurization position acquired by the pressurization position acquisition means in a predetermined operation section of the spot welding gun is analyzed by a statistical method. Analysis means to
Based on the analysis result of the analysis data by the analysis unit, acquired by the pressurization time and the pressurization position acquisition unit acquired by the pressurization time acquisition unit in a section after a predetermined operation section of the spot welding gun. Deterioration diagnosis means for diagnosing deterioration of the spot welding gun based on diagnostic data determined from the applied pressure position;
A deterioration diagnostic apparatus comprising:
前記解析手段は、前記解析用データに基づいてn次(nは自然数)の回帰式を算出することを特徴とする請求項1に記載の劣化診断装置。   2. The deterioration diagnosis apparatus according to claim 1, wherein the analysis unit calculates an nth-order regression equation (n is a natural number) based on the analysis data. 前記劣化診断手段は、前記n次(nは自然数)の回帰式に基づく回帰線と、前記診断用データとの距離を算出し、算出された距離に基づいて前記スポット溶接ガンの劣化を診断することを特徴とする請求項2に記載の劣化診断装置。   The deterioration diagnosing means calculates a distance between a regression line based on the n-th order (n is a natural number) regression equation and the diagnostic data, and diagnoses deterioration of the spot welding gun based on the calculated distance. The deterioration diagnostic apparatus according to claim 2, wherein: 前記スポット溶接ガンの駆動制御を行う溶接ガン制御装置に通信接続され、前記溶接ガン制御装置から前記加圧時間に関する加圧時間データと前記加圧位置に関する加圧位置データとを受信する通信手段を備えることを特徴とする請求項1〜3のいずれか一項に記載の劣化診断装置。   Communication means connected to a welding gun control device for controlling driving of the spot welding gun and receiving pressurization time data related to the pressurization time and pressurization position data related to the pressurization position from the welding gun control device. The deterioration diagnostic apparatus according to any one of claims 1 to 3, further comprising: 前記通信手段は、複数の溶接ガン制御装置に通信接続可能に構成され、
前記劣化診断手段は、前記加圧時間取得手段及び前記加圧位置取得手段が前記通信手段を介して複数の溶接ガン制御装置から取得した解析用データ及び診断用データに基づいて、スポット溶接ガン毎に同時に劣化診断可能であることを特徴とする請求項4に記載の劣化診断装置。
The communication means is configured to be communicably connected to a plurality of welding gun control devices,
The deterioration diagnosis unit is configured to detect spot welding guns based on analysis data and diagnosis data acquired by the pressurization time acquisition unit and the pressurization position acquisition unit from a plurality of welding gun control devices via the communication unit. 5. The deterioration diagnosis apparatus according to claim 4, wherein deterioration diagnosis is possible simultaneously.
電動機により電極を駆動させて、接合される部材同士を前記電極で所定の加圧力で挟んだ状態で電流を流して前記部材同士を接合するスポット溶接ガンの劣化を診断する劣化診断方法において、
前記電極の駆動開始から前記部材同士を前記所定の加圧力で挟んだ状態になるまでの加圧時間を取得する加圧時間取得工程と、
前記部材同士を前記所定の加圧力で挟んだ状態における前記電極の位置を取得する加圧位置取得工程と、
前記スポット溶接ガンの所定の動作区間における前記加圧時間取得工程により取得された加圧時間と前記加圧位置取得工程により取得された加圧位置とから定まる解析用データを統計学的手法により解析する解析工程と、
前記解析工程による前記解析用データの解析結果に基づいて、前記スポット溶接ガンの所定の動作区間以降の区間における前記加圧時間取得工程により取得された加圧時間と前記加圧位置取得工程により取得された加圧位置とから定まる診断用データにより前記スポット溶接ガンの劣化を診断する劣化診断工程と、
を備えることを特徴とする劣化診断方法。
In the deterioration diagnosis method for diagnosing deterioration of a spot welding gun that drives electrodes by an electric motor and flows currents in a state where the members to be joined are sandwiched by the electrodes with a predetermined pressure, and joins the members.
A pressurization time acquisition step of acquiring a pressurization time from the start of driving of the electrodes to a state where the members are sandwiched by the predetermined pressurizing force;
A pressurization position acquisition step of acquiring a position of the electrode in a state where the members are sandwiched by the predetermined pressure force;
Analytical data determined from the pressurization time acquired by the pressurization time acquisition step and the pressurization position acquired by the pressurization position acquisition step in a predetermined operation section of the spot welding gun is analyzed by a statistical method. Analysis process to
Based on the analysis result of the analysis data by the analysis step, acquired by the pressurization time acquired by the pressurization time acquisition step and the pressurization position acquisition step in a section after a predetermined operation section of the spot welding gun. A deterioration diagnosis step of diagnosing deterioration of the spot welding gun based on diagnostic data determined from the applied pressure position;
A degradation diagnosis method comprising:
電動機により電極を駆動させて、接合される部材同士を前記電極で所定の加圧力で挟んだ状態で電流を流して前記部材同士を接合するスポット溶接ガンの劣化を診断するコンピュータに、
前記電極の駆動開始から前記部材同士を前記所定の加圧力で挟んだ状態になるまでの加圧時間を取得する加圧時間取得機能と、
前記部材同士を前記所定の加圧力で挟んだ状態における前記電極の位置を取得する加圧位置取得機能と、
前記スポット溶接ガンの所定の動作区間における前記加圧時間取得機能により取得された加圧時間と前記加圧位置取得機能により取得された加圧位置とから定まる解析用データを統計学的手法により解析する解析機能と、
前記解析機能による前記解析用データの解析結果に基づいて、前記スポット溶接ガンの所定の動作区間以降の区間における前記加圧時間取得機能により取得された加圧時間と前記加圧位置取得機能により取得された加圧位置とから定まる診断用データにより前記スポット溶接ガンの劣化を診断する劣化診断機能と、
を実現させるためのプログラム。
In a computer that diagnoses the deterioration of the spot welding gun that drives the electrodes by an electric motor and passes the current in a state where the members to be joined are sandwiched by the electrodes with a predetermined pressure, and joins the members.
A pressurization time acquisition function for acquiring a pressurization time from the start of driving of the electrodes to a state in which the members are sandwiched with the predetermined pressurizing force;
A pressurization position acquisition function for acquiring the position of the electrode in a state in which the members are sandwiched by the predetermined pressing force;
Analytical data determined by the pressurization time acquired by the pressurization time acquisition function in the predetermined operation section of the spot welding gun and the pressurization position acquired by the pressurization position acquisition function by a statistical method Analysis function to
Based on the analysis result of the analysis data by the analysis function, acquired by the pressurization time and the pressurization position acquisition function acquired by the pressurization time acquisition function in a section after a predetermined operation section of the spot welding gun A deterioration diagnosis function for diagnosing deterioration of the spot welding gun based on diagnostic data determined from the pressed position,
A program to realize
JP2005217255A 2005-07-27 2005-07-27 Deterioration diagnosing device, and deterioration diagnosing method and program Withdrawn JP2007029994A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005217255A JP2007029994A (en) 2005-07-27 2005-07-27 Deterioration diagnosing device, and deterioration diagnosing method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005217255A JP2007029994A (en) 2005-07-27 2005-07-27 Deterioration diagnosing device, and deterioration diagnosing method and program

Publications (1)

Publication Number Publication Date
JP2007029994A true JP2007029994A (en) 2007-02-08

Family

ID=37789880

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005217255A Withdrawn JP2007029994A (en) 2005-07-27 2005-07-27 Deterioration diagnosing device, and deterioration diagnosing method and program

Country Status (1)

Country Link
JP (1) JP2007029994A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2011598A2 (en) 2007-07-03 2009-01-07 Fanuc Ltd Method of determining deterioration of pressurizing performance of spot welding gun
DE102014004102A1 (en) 2013-03-28 2014-10-02 Fanuc Corporation Spot welding system, including spot welding gun
CN105328303A (en) * 2015-11-18 2016-02-17 湘潭大学 Pose identification method of arc sensing welding gun
WO2020262038A1 (en) * 2019-06-25 2020-12-30 日本郵船株式会社 Program and information processing method
EP4000817A1 (en) * 2020-11-16 2022-05-25 Kabushiki Kaisha Yaskawa Denki Diagnosis of state of device

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2011598A2 (en) 2007-07-03 2009-01-07 Fanuc Ltd Method of determining deterioration of pressurizing performance of spot welding gun
US7600435B2 (en) 2007-07-03 2009-10-13 Fanuc Ltd Method of determining deterioration of pressurizing performance of spot welding gun
DE102014004102A1 (en) 2013-03-28 2014-10-02 Fanuc Corporation Spot welding system, including spot welding gun
JP2014188585A (en) * 2013-03-28 2014-10-06 Fanuc Ltd Spot weld system having spot weld gun
US9440306B2 (en) 2013-03-28 2016-09-13 Fanuc Corporation Spot welding system including spot welding gun
DE102014004102B4 (en) 2013-03-28 2019-09-05 Fanuc Corporation Spot welding system with a spot welding gun
CN105328303A (en) * 2015-11-18 2016-02-17 湘潭大学 Pose identification method of arc sensing welding gun
WO2020262038A1 (en) * 2019-06-25 2020-12-30 日本郵船株式会社 Program and information processing method
WO2020261364A1 (en) * 2019-06-25 2020-12-30 日本郵船株式会社 Program and information processing method
JPWO2020262038A1 (en) * 2019-06-25 2021-09-13 日本郵船株式会社 Program and information processing method
EP4000817A1 (en) * 2020-11-16 2022-05-25 Kabushiki Kaisha Yaskawa Denki Diagnosis of state of device
US11833695B2 (en) 2020-11-16 2023-12-05 Kabushiki Kaisha Yaskawa Denki Diagnosis of state of device

Similar Documents

Publication Publication Date Title
JP2007029994A (en) Deterioration diagnosing device, and deterioration diagnosing method and program
US7600435B2 (en) Method of determining deterioration of pressurizing performance of spot welding gun
CN109834695B (en) Teaching device and teaching method for teaching operation of robot
JP2011218371A (en) Spot welding system and dressing determination method
JP5870125B2 (en) Spot welding system for managing electrode inspection and robot used therefor
CN109719756B (en) Life prediction device
CN104070278A (en) Spot welding system including spot welding gun
JP2002154085A (en) Maintenance support method and maintenance support device for working robot system
JP2015213937A (en) Tip dressing system with dressing device for cutting electrode tip of spot welding gun
US9764414B2 (en) Spot welding system and spot welding method
TW201625186A (en) Rehabilitation system with stiffness measurement
JP6858353B2 (en) Robot control device, abnormality diagnosis method, and abnormality diagnosis program
US20070282557A1 (en) Device for observing internal data of control device
JPWO2015193985A1 (en) Positioning system
US10052757B2 (en) Robot control device and robot control method
JP4967410B2 (en) Welding robot controller
JP6710969B2 (en) Robot controller and robot system
JP2020110877A (en) Robot diagnostic method, drobot diagnostic device, control program, recording medium, production system and manufacturing method of article
JP2021060313A (en) Diagnosing device and machine learning device
JP2005148873A (en) Robot deterioration diagnostic device
CN113021411B (en) Robot failure prediction device and system, and robot failure prediction method
JP7278803B2 (en) Information processing method, information processing device, robot system, robot system control method, article manufacturing method using robot system, program, and recording medium
CN110337781B (en) Motor capacity selection device and motor capacity selection method
JP2020138305A5 (en) Information processing method, information processing device, robot system, robot system control method, article manufacturing method using robot system, program and recording medium
JP5088206B2 (en) Plant information display system and plant information display method

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20081007