JPH0651235B2 - Resistance welding control device - Google Patents

Resistance welding control device

Info

Publication number
JPH0651235B2
JPH0651235B2 JP27919390A JP27919390A JPH0651235B2 JP H0651235 B2 JPH0651235 B2 JP H0651235B2 JP 27919390 A JP27919390 A JP 27919390A JP 27919390 A JP27919390 A JP 27919390A JP H0651235 B2 JPH0651235 B2 JP H0651235B2
Authority
JP
Japan
Prior art keywords
welding
splash
identification code
time
value
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.)
Expired - Lifetime
Application number
JP27919390A
Other languages
Japanese (ja)
Other versions
JPH04158988A (en
Inventor
実 斉藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Amada Miyachi Co Ltd
Original Assignee
Amada Miyachi Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Amada Miyachi Co Ltd filed Critical Amada Miyachi Co Ltd
Priority to JP27919390A priority Critical patent/JPH0651235B2/en
Publication of JPH04158988A publication Critical patent/JPH04158988A/en
Publication of JPH0651235B2 publication Critical patent/JPH0651235B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Arc Welding Control (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention 【産業上の利用分野】[Industrial applications]

本発明は抵抗溶接制御装置に関し、詳しくは多条件抵抗
溶接を制御するための抵抗溶接制御装置に関する。
The present invention relates to a resistance welding control device, and more particularly to a resistance welding control device for controlling multi-condition resistance welding.

【従来の技術】 素材の厚みや熱伝導度等、溶接すべき箇所の性状が場所
に依って異なる被加工物(ワーク)、例えば自動車の車
体について抵抗溶接を実施する場合、多条件抵抗溶接が
行なわれる。 多条件抵抗溶接では、例えば厚さthで2枚重ねの溶
接箇所は識別符号ID、厚さthで3枚重ねの溶接
箇所については識別符号IDというように、溶接すべ
き夫々の箇所についてその性状を区別する識別符号が与
えられる。この識別符号に対しては、例えばIDであ
れば溶接電流はI、通電時間はT、又IDであれ
ば溶接電流はI、通電時間はTというように、その
溶接箇所の性状に応じた大きさの制御目標値が定められ
る。 そして溶接実行の際、これらの複数個の制御目標値の中
からその溶接箇所の識別符号に適合するものが選択さ
れ、これに一致するように夫々の溶接条件が制御され
る。 また抵抗溶接では所定数の溶接打点ごとに所定の割合で
電流を増加させる、所謂ステップアップ制御が行なわれ
る。この制御は、溶接の都度チップの先端が摩耗しその
径が段々大きくなって行く事による溶接点の電流密度の
低下を補正するために行なわれる。そしてこのステップ
アップ制御は前述の多条件抵抗溶接にも組合せて用いら
れる。
2. Description of the Related Art When performing resistance welding on a workpiece, such as a car body, in which the properties of the portion to be welded, such as the thickness and thermal conductivity of the material, differ depending on the location, multi-condition resistance welding Done. In the multi-condition resistance welding, for example, a welded portion having a thickness th 1 of two sheets is identified by an identification code ID 1 , and a welded portion having a thickness th 2 of three sheets is identified by an identification code ID 2 , respectively. An identification code for distinguishing the property of the place is given. For this identification code, for example, the welding current is I 1 for ID 1 , the energization time is T 1 , and the welding current is I 2 for ID 2 and the energization time is T 2 , for example. A control target value having a size corresponding to the property of is determined. Then, when performing welding, one that matches the identification code of the welding location is selected from among the plurality of control target values, and the respective welding conditions are controlled so as to match this. In resistance welding, so-called step-up control is performed in which the current is increased at a predetermined rate for each predetermined number of welding points. This control is performed in order to correct a decrease in current density at the welding point due to wear of the tip of the tip each time welding is performed and the diameter thereof gradually increases. This step-up control is also used in combination with the above-mentioned multi-condition resistance welding.

【発明が解決しようとする課題】[Problems to be Solved by the Invention]

溶接箇所の性状に対応する各制御目標値の大きさ及びこ
のステップアップ制御に於ける電流の増加率は、実験
的、論理的にある程度定めることができる。しかし実際
には、溶接箇所の性状、例えば厚板や表面状態、或は溶
接機の特性等に種々バラつきが有る為、多くは熟練者の
所謂勘と経験に基いて現場でこれらの値が設定される。 制御目標値等の設定が適切か否か、言い換えればその値
で為された溶接が良好であるか否か、特に溶接強度が十
分有るか否かを実製品について生産の現場で確認するこ
とは難しい。このため多くの現場ではスプラッシュの有
無を制御目標値等の設定の目安にする。 ところでスプラッシュが無い状態は外見上無通電や溶融
不足の場合と区別がつかない。又、制御目標値やステッ
プアップ率の設定の不的確、溶接箇所の性状のバラつき
などにより、途中からスプラッシュが発生しなくなる場
合も有ることが経験的に知られている。 この為作業者はスプラッシュが各溶接点でほぼ確実に出
るように、通電電流や通電時間等の制御目標値やステッ
プアップ率をどうしても大きめに設定してしまう。 このような傾向は、制御目標値やステップアップ率の設
定の不適切さと相俟ってともすると強いスプラッシュの
発生をもたらす。 強いスプラッシュは溶接強度の低下を招く。又チップの
寿命も縮める。更に作業者に対する危険度をも増大させ
る。そして又、ケーブル、ホース、溶接機本体、制御機
器等の劣化や絶縁低下をも促進する。
The magnitude of each control target value corresponding to the property of the welded portion and the current increase rate in this step-up control can be determined experimentally and logically to some extent. However, in reality, since there are various variations in the properties of the welded part, such as the thick plate and surface condition, or the characteristics of the welding machine, most of these values are set on site based on the so-called intuition and experience of a skilled person. To be done. It is not possible to confirm whether the setting of the control target value etc. is appropriate, in other words, whether the welding made with that value is good, especially whether there is sufficient welding strength at the production site for the actual product difficult. Therefore, in many sites, the presence or absence of splash is used as a guide for setting the control target value. By the way, the state without splash is indistinguishable from the case of non-energization or insufficient melting. It is empirically known that the splash may not occur in the middle of the process due to improper setting of the control target value or the step-up rate and variations in the properties of the welded spot. For this reason, the operator inevitably sets the control target values such as the energization current and the energization time and the step-up rate to be relatively large so that the splash will almost certainly come out at each welding point. This tendency, together with the improper setting of the control target value and the step-up rate, causes a strong splash. A strong splash causes a decrease in welding strength. It also shortens the chip life. Furthermore, the degree of danger to the worker is increased. It also promotes deterioration and insulation deterioration of cables, hoses, welder bodies, control equipment, and the like.

【課題を解決するための手段】[Means for Solving the Problems]

そこで本発明では、溶接すべき箇所ごとに与えられる識
別符号に基いて複数個の制御目標値の中から一を選択
し、該目標値に従って通電を実施する通電制御手段と、
スプラッシュ発生を検知する検知手段と、同一の識別符
号の溶接箇所についての所定の溶接実行打点数に対する
スプラッシュ発生打点数の比率を算出する算出手段と、
該比率が所定の範囲に収まるよう夫々の識別符号に対応
する制御目標値を調整する調整手段を用い上記課題の解
決を図る。
Therefore, in the present invention, an energization control unit that selects one from a plurality of control target values based on the identification code given to each place to be welded, and performs energization according to the target value,
Detecting means for detecting the occurrence of splash, a calculating means for calculating the ratio of the number of spots of splash generation to the predetermined number of welding spots to be welded for the welding portion having the same identification code
The above problem is solved by using an adjusting unit that adjusts the control target value corresponding to each identification code so that the ratio falls within a predetermined range.

【作用】[Action]

即ち本発明では、溶接すべき箇所ごとに与えられる識別
符号に従って複数個の制御目標値の中からその一つが選
択され、この制御目標値に一致するように通電制御手段
により溶接条件が制御され通電が行なわれる。この通電
の期間中に、スプラッシュが発生したか否かは検知手段
で検知される。その結果を基に算出手段により同一の識
別符号の溶接箇所についての所定の溶接実行打点数に対
するスプラッシュ発生打点数の比率が算出される。そし
てその比率が所定の範囲に収まらないときは調整手段に
よりその識別符号に対応する制御目標値が調整される。
That is, in the present invention, one of a plurality of control target values is selected according to the identification code given to each place to be welded, and the welding condition is controlled by the energization control means so as to match the control target value. Is performed. During the period of this energization, the detection means detects whether or not a splash has occurred. Based on the result, the calculating means calculates the ratio of the number of splashed spots to the predetermined number of welding spots to be welded for the welded portion having the same identification code. If the ratio does not fall within the predetermined range, the adjusting means adjusts the control target value corresponding to the identification code.

【実施例】【Example】

以下本発明の詳細を図示実施例に基いて説明する。第1
図に於いて、1は整流回路で、三相交流3φを整流し直
流電圧DCを発生する。2はチョークコイル、3は電解
コンデンサで、これらは前記直流電圧DCを平滑する。
4はインバータで、制御信号CSに従いこのデューティ
比が変化する1000Hz前後の交流AFを発生する。 5は変圧器で、インバータ4から供給される交流AFを
ステップダウンし低圧LVを発生する。6,7はダイオ
ードで、低圧LVを全波整流する。8,9は溶接チップ
で、抵抗溶接機本体(不図示)に支承されており、加圧
力によってワーク10に密着し、これに溶接電流Iを供
給する。11は電流検出コイルで、溶接電流Iの変化分
(微分値)に対応した微小電流iを発生する。12は積
分回路で、前記微小電流iを積分し、デジタル値DIを
発生する。この値DIは溶接電流Iに対応する。 13は微分回路で、チップ間電圧VCの立ち下がりに応
動してパルスDPを発生する。14はゲート回路で、ゲ
ート信号Gが供給されている間、入力端子INと出力端
子OUTが導通する。15はフリップフロップで、ゲー
ト回路14の出力でセットされ、信号Rでリセットされ
る。セットされたときその出力Qは「1」となる。16
は集積回路からなる中央処理装置(CPU)所謂マイク
ロコンピュータで、ランダムアクセスメモリ(RAM)
17を使用しながらリードオンリメモリ(ROM)18
のプログラムに従い後述の処理を実行する。19は所謂
RAMカードで、データやプログラムの格納に用いられ
る。 20は印字装置、21は表示装置であり、夫々CPU1
6から供給される制御データ(識別符号IDx、そのと
きの打点番号、装置動作状況など)を印字出力し、或い
は表示する。22はキーボードで、CPU16へのデー
タ入力に用いられる。そして23は入出力ポートで、前
述の各回路等とCPU16との間、抵抗溶接機本体制御
回路(不図示)とCPU16との間、及び外部コンピュ
ータ等(不図示)とCPU16との間のデータの受渡し
を行なう。 次に第2図を引用して本実施例に於けるスプラッシュ検
出の手法を説明する。第2図に於て図(A)は溶接電流
Iの一例を示し、ここでは通電開始時点tから終了時
間tまで定電流制御を行なっている。なお電流Iの大
きさはCPU16により増減される(後述)。 同図(B),(C)はこのときのチップ間電圧VCの変
化例を示す。同図(B)VC1はスプラッシュが発生す
ることなく通電が終った例、同図(C)VC2は通電中
にスプラッシュが発生した例を示し、この例では途中の
時点tに於いてスプラッシュが発生した為にチップ間
電圧VC2が急激に低下している。 本実施例ではこのような特性を利用してスプラッシュの
発生を検知する。具体的には微分回路13、ゲート回路
14及びフリップフロップ15を用いる。即ち微分回路
13は前述のようにチップ間電圧VCが立ち下がったと
きパルスDPを発生する(第2図(D))。 そこで通電開始時tにフリップフロップ15にリセッ
ト信号Rを供給しこれをリセットすると共に、チップ間
電圧VCが安定する適宜の時間tから通電終了の直前
の時点tまで、ゲート回路14にゲート信号Gを供給
する(第2図(E))。このようにすれば、通電終了時
に於て発生するパルスDP2はゲート回路14で阻
止され、その間に生ずるパルス、例えばパルスDP1の
みがフリップフロップ15に供給される(第2図
(F))。 これにより、フリップフロップ15の出力Qはスプラッ
シュ無しのとき「0」、スプラッシュ有りのとき「1」
となり(2回以上のときも同じ)、これでスプラッシュ
の有無が検知できる。 第3図を引用して第1の実施例の動作を説明する。先ず
ロボット等によりワーク10が溶接機本体に位置決めさ
れると、溶接機本体制御回路はCPU16に作業開始命
令JSを供給する。これに応動してCPU16はこの処
理ルーチンを開始する。 始めに通電電流の各制御目標値MI〜MInを各初期
値MS〜MSnに設定する(ステップS1)。初期値
MS〜MSnは識別符号ID〜IDnで区別される
夫々の溶接箇所の性状に合わせスプラッシュが出るか出
ないかの値に大まかに設定する。 次に各識別符号ID〜IDnが付された溶接箇所毎の
スプラッシュの発生回数Y〜Ynと、夫々の打点数積
算値P〜Pnを「0」にする(ステップS2)。次い
で溶接機本体制御回路からそのとき溶接すべき箇所に対
し付されている識別符号IDxと通電命令STが供給さ
れるのを待つ(ステップS3)。 識別符号IDxは溶接箇所の位置情報と共に溶接機本体
制御回路のメモリに格納されている。該制御回路は溶接
チップ駆動プログラムに従い、所定の溶接点に溶接チッ
プ8,9を当接した後その溶接点に付されたこの識別情
報を前記メモリから読み出してCPU16に供給する。 CPU16は受信した識別符号IDxをRAM17に格
納する。ここでは識別符号はID〜IDn迄のn+1
種類定められているものとする。前記IDxはこのとき
溶接機本体制御回路で選択されCPU16に供給された
ものを指す。なお以下の説明に於て添字「x」が付され
た変数或いは定数はこの選択された識別情報IDxに対
応する夫々の変数或いは定数を指すものとする。 また通電命令STは溶接チップ8,9が所定の溶接点に
当接されて所定の時間(スクイズ時間)が経過したと
き、溶接機本体制御回路からCPU16に供給される。 通電命令STが到来すると、CPU16はフリップフロ
ップ15にリセット信号Rを供給する(ステップS
4)。これによりフリップフロップ15の出力Qは
「0」になる。次いでインバータ4にスイッチ信号SW
を供給し、このときの識別符号IDxに対応する制御目
標値MIxで溶接電流Iの通電を開始する(ステップS
5,第2図t)。ワークを流れる溶接電流Iの大きさ
はデジタル値DIで表わされる。CPU16はこのデジ
タル値DIを基に溶接電流Iが制御目標値MIxになる
ように、制御信号CSで交流AFのデューティ比を制御
する。 次にステップS6に進み通電開始時点tから所定時間
T1が経過するのを待つ。一般にチップ間電圧VC1,
VC2は通電開始後第2図(B),(C)に示すように
変化する。そこで本実施例では通電開始後すぐにはゲー
ト回路14を導通させず、時間T1だけ遅らせてゲート
回路14を導通させる。この様にすると通電当初の電圧
降下で仮にパルスDPが発生したとしてもこれをスプラ
ッシュとして誤って検出するようなことが無い。 なおこの時間T1は識別符号ID0〜IDnが付された溶
接箇所の各性状に対応しうるよう変更可能にしておくと
良い。 時間T1が経過したらゲート回路14にゲート信号Gを
供給する(ステップS7)。次いでS8に進み所定時間
T2が経過するのを待つ(第2図(E))。 この時間T2は所定通電時間T3(第2図(A))と時
間T1の差より稍短い時間とする。この時間T2内にス
プラッシュが発生すると、ゲート回路14の出力(OU
T)にパルスDP1が現れ(第2図(F))フリップフ
ロップ15がセットされる。 所定時間T2が経過したらゲート信号Gの供給を停止す
る(ステップS9)。次いでステップS10に進みイン
バータ4へのスイッチ信号SWの供給を停止し通電を終
了する。そして溶接機本体制御回路に通電完了信号Eを
送出する(ステップS11)。溶接機本体制御回路はこ
の信号Eに応動して溶接チップ8,9を次の溶接点に移
動する。 次いでステップS12に進みCPU16はこのときのQ
の値が「1」か否かを検査する。その答が「はい」であ
るときはそのときの識別符号IDxに対応したスプラッ
シュ発生回数Yxに「1」を加える(ステップS1
3)。また、答が「いいえ」のときはこのステップS1
3をバイパスしてステップS14に進む。ここでこのと
きの識別符号IDxに対応する打点数積算値Pxに1を
加える。 そして次のステップS15でこの打点数積算値Pxが2
0になったか否かを検査する。この第1の実施例では識
別符号ID〜IDn夫々についての溶接実行打点数を
これらに対応する変数P〜Pnで別々に積算する。そ
してこの値が20に達する迄にスプラッシュを発生した
溶接打点数を識別符号ID〜IDn夫々に対応する変
数Y〜Ynで積算し、これを基にスプラッシュの比率
を求める。 このステップS14で溶接実行打点数Pxが20に達し
ていないときここでの答は「いいえ」となる。この場合
CPU16はステップS3に戻り同様の処理、即ちその
とき供給された識別符号IDxに対応した電流値I=M
Ixを通電し、スプラッシュが出れば対応するYxに
「1」を加算し、そして対応する打点数積算値Pxに
「1」を加算する、という処理を繰返す。 而して各溶接箇所の識別符号ID〜IDnに従って制
御目標値MI〜MInが選択され溶接が実行される
と、やがて打点数積算値P〜Pnの何れかが「20」
に達する。これによりこのステップS15での答は「は
い」となり、CPU16はステップS16に進む。 本実施例では同じ識別符号IDxに属する溶接打点20
打点に対するスプラッシュ発生打点数を管理するに際
し、「6」を中心値、「7」を管理上限、「5」を管理
下限とする。ステップS16,S17はこれらを判断す
るもので、管理上限を超えたときはこのステップS17
での答が「はい」となり、CPU16はそのときの識別
符号IDxに対応する制御目標値MIxから所定の調整
値MAを減算する(ステップS18)。そしてステップ
S2に戻る。 又、管理限界内にあるときはステップS16,S17で
の答が「いいえ」となり、CPU16はそのときの制御
目標値MIxを変更することなくステップS2に戻る。 又、管理下限を下回ったときは、ステップS16での答
が「いいえ」、ステップS17での答が「はい」とな
り、ステップS19に進んでCPU16はそのときの制
御目標値MIxに所定の調整値MAを加算する。 なお溶接電流Iは大き過ぎるとナゲットに欠陥が生ずる
虞れが有る。又、電流供給能力にも自ずから限界が有
る。そこで本実施例では、ステップS19でそのときの
制御目標値MIxを増加させた場合、次のステップS2
0に於いてそれが上限値MMを超えているかいないかを
検査する。そしてそのときの制御目標値MIxが上限値
MMを超えていた場合はステップS21に進み、溶接機
本体制御回路に対し最大電流到達信号MXを供給しこの
ルーチンを一旦終了する。又、増加後のMIxが上限値
MMを超えていないときはステップS2に戻る。 このステップS16〜S21の処理は打点数積算値P
〜Pnの何れかが「20」に達する都度、それに対応す
る制御目標値MI〜MInに対して実行される。 調整値MAは識別符号ID〜IDnに属する夫々の溶
接箇所の性状、ワーク、溶接機の特性に照し、手動で調
整していた従来の例に倣って定める。 次に第2の実施例の動作を説明する。この実施例では溶
接実行打点数に対するスプラッシュ発生打点数の比率を
移動平均で求める。第5図にこの為の記録手段たるRA
M17のメモリ割付けを示す。この実施例では識別符号
ID〜IDnに関し夫々20個の溶接打点についてス
プラッシュの有無を記録することとしており、アドレス
AS〜ASnを夫々の先頭アドレスとする各20個の
アドレスをこの記録の為に用いる。(第5図にはAS
〜ASを先頭アドレスとする各20個のアドレスのみ
を示す。なお各アドレスの中に表示されている数字は記
録されているデータの一例を示し、「0」はスプラッシ
ュ無し、「1」はスプラッシュ有りを示す。 第4図を引用してこの第2の実施例の動作を説明する。
CPU16は始めに識別符号ID〜IDnの夫々に対
して設定された変数A〜An(メモリアドレス指示
用)の値を夫々の先頭アドレスAS〜ASnに設定す
る(ステップS30)。次いで第1の実施例と同じ内容
のステップS1を実行する。次に識別符号ID〜ID
nの夫々に対するスプラッシュの発生回数Y〜Yn
と、同じ識別符号IDxに属する溶接打点の数が最初の
20打点に達したか否かを示す夫々のフラグR〜Rn
を「0」にする(ステップS31)。この後第1の実施
例と同じ内容のステップS3〜S11を実行する。 つぎにCPU16はそのときの識別符号IDxに対応す
るフラグRxが「1」か否かを認識する(ステップS3
2)。本実施例では同じ識別符号IDxに属する溶接箇
所について最初の20打点目迄まではアドレスAxの値
をASxからASx+19までインクリメントしつつ当
該アドレスにそのときの各溶接打点のスプラッシュの有
無を記録する。またこのときスプラッシュが有ればその
ときのスプラッシュ発生回数Yxに「1」を加算する。
一方、同じ識別符号ID〜IDnに属する溶接打点で
も21打点目以降に就いては、20打点ごとにアドレス
Aの値をASxに戻すことによりこのアドレスの範囲に
当該溶接打点から20打点前迄のスプラッシュ発生状況
が循環的に記録されるようにする。そしてこの21打点
目以降についてはその溶接打点が1つ増す毎にその前の
20打点についてのスプラッシュ発生比率を確認し溶接
電流制御目標値MIxの調整を行なう。この為夫々の識
別符号ID〜IDn毎にその最初の20打点を境に流
れを変更する必要が有り、フラグR〜Rnはこの判断
の為に使用される。 而してステップS31でRxは当初「0」に設定されて
いる。従ってこのステップS32の答は「いいえ」とな
る。CPU16は前述の通りAxが示すアドレスにフリ
ップフロップ15の出力Q、即ちスプラッシュの有無を
表すデータを格納する(ステップS33)。そして第1
の実施例と同じ内容のステップS12,S13を実行す
る。 次のステップS34でCPU16はアドレスAxがAS
x+19になったか否か、即ち最初の20打点の記録が
終ったか否かを検査する。20打点に達していないとき
ここでの答は「いいえ」であり、CPU16はAxの値
をインクリメント(ステップS35)した後ステップS
3に戻りそのとき供給された識別符号IDxに関し同様
の処理を繰返す。 同一の識別符号IDxについての最初の20打点の結果
を記録するとこのステップS34での答は「はい」とな
る。これによりCPU16はステップS36に進みフラ
グRxを「1」にした後Axの値を「ASx」に戻す
(ステップ37)。そして又ステップS3に戻る。 Rxが「1」となった後はステップS32からステップ
S38へと進む。ここでCPU16はAxが示すアドレ
スに格納されている値をBとして読出す。次いでこのB
からそのときのフリップフロップ15の出力Qを減算す
る(ステップS39)。 このステップS39は、同じ識別番号についてそこから
20打点前のフリップフロップ15の出力Qの値(変数
としてはB)とそのときの溶接点に於けるフリップフロ
ップ15の出力Qの値とを比較する為のもので、その結
果によりそのときの識別符号IDxに対応したスプラッ
シュ発生回数Yxの値を増減する。ここで先ずその差D
が「0」を示すときはそのときのスプラッシュの有無と
20打点前のスプラッシュの有無が一致している状態で
ある。従ってこの場合スプラッシュ発生数たるYxの値
を変更する必要はなく、CPU16はステップS40,
S41から第1の実施例と同じ内容のS16へと進む。 また差Dが「1」を示すときは今回スプラッシュ無し、
20打点前スプラッシュ有りの状態である。そこでステ
ップS43でそのときの識別符号IDxに対応したスプ
ラッシュ発生回数Yxの値を「1」だけ減算し、次のス
テップS44でAxが示しているアドレスに新たなQ
(=0)を記録する。 また差Dが「−1」を示すときはその逆の状態にある。
従ってCPU16はステップS45に進みそのときの識
別符号IDxに対応したスプラッシュ発生回数Yxに
「1」を加算すると共に、次のステップS44でAxが
示すアドレスに新たなQの値(=1)を記録する。 そしてCPU16は第1の実施例と同じ内容のステップ
S16〜S21を実行する。なおステップS18を実行
した後、並びにステップS17及びS20に於て答が
「いいえ」のときは、夫々ステップS34に進む。又、
同じ識別番号IDxに属する最初の20打点を終了した
ときフラグRxを「1」にしているので、それ以後の溶
接打点についてステップS36で再度フラグRxを
「1」にする必要は無い。ここでは同じルーチンを利用
しプログラムの量を少なくする為このステップS36を
再度実行している。
Hereinafter, the details of the present invention will be described based on illustrated embodiments. First
In the figure, reference numeral 1 is a rectifying circuit, which rectifies a three-phase alternating current 3φ to generate a direct current voltage DC. Reference numeral 2 is a choke coil, and 3 is an electrolytic capacitor, which smoothes the DC voltage DC.
Reference numeral 4 denotes an inverter, which generates an AC AF of about 1000 Hz whose duty ratio changes according to the control signal CS. A transformer 5 steps down the AC AF supplied from the inverter 4 to generate a low voltage LV. Reference numerals 6 and 7 are diodes for full-wave rectifying the low voltage LV. Reference numerals 8 and 9 denote welding tips, which are supported by a resistance welding machine main body (not shown), and are brought into close contact with the work 10 by a pressing force, and a welding current I is supplied thereto. Reference numeral 11 denotes a current detection coil, which generates a minute current i corresponding to a change amount (differential value) of the welding current I. An integrating circuit 12 integrates the minute current i to generate a digital value DI. This value DI corresponds to the welding current I. Reference numeral 13 is a differentiating circuit, which generates a pulse DP in response to the fall of the inter-chip voltage VC. Reference numeral 14 is a gate circuit, and the input terminal IN and the output terminal OUT are electrically connected while the gate signal G is supplied. A flip-flop 15 is set by the output of the gate circuit 14 and reset by the signal R. When set, its output Q becomes "1". 16
Is a central processing unit (CPU) that is an integrated circuit, a so-called microcomputer, and random access memory (RAM)
Read only memory (ROM) while using 17
The following processing is executed according to the program. A so-called RAM card 19 is used to store data and programs. Reference numeral 20 is a printing device and 21 is a display device.
The control data (identification code IDx, the dot number at that time, the operation status of the device, etc.) supplied from 6 is printed out or displayed. A keyboard 22 is used to input data to the CPU 16. Reference numeral 23 denotes an input / output port, which is used for data between the above-described circuits and the like and the CPU 16, between the resistance welding machine control circuit (not shown) and the CPU 16, and between the external computer and the like (not shown) and the CPU 16. To deliver. Next, a splash detection method in this embodiment will be described with reference to FIG. In FIG. 2, FIG. (A) shows an example of the welding current I, in which constant current control is performed from the energization start time t 0 to the end time t 1 . The magnitude of the current I is increased / decreased by the CPU 16 (described later). FIGS. 9B and 9C show an example of changes in the inter-chip voltage VC at this time. Examples of energization is finished without drawing (B) VC1 is splash occurs, FIG. (C) VC2 is an example splash occurs during energization, in this example splash at the time t 2 in the middle Because of the occurrence, the inter-chip voltage VC2 drops sharply. In this embodiment, the occurrence of splash is detected by utilizing such characteristics. Specifically, the differentiating circuit 13, the gate circuit 14, and the flip-flop 15 are used. That is, the differentiating circuit 13 generates the pulse DP when the inter-chip voltage VC falls as described above (FIG. 2 (D)). Therefore, the reset signal R is supplied to the flip-flop 15 at the start of energization t 0 to reset it, and the gate circuit 14 is supplied from an appropriate time t 3 when the inter-chip voltage VC stabilizes to a time t 4 immediately before the end of energization. A gate signal G is supplied (Fig. 2 (E)). In this way, the pulse DP2 generated at the end of energization t 1 is blocked by the gate circuit 14, and only the pulse generated during that time, for example, the pulse DP1 is supplied to the flip-flop 15 (FIG. 2 (F)). ). As a result, the output Q of the flip-flop 15 is "0" when there is no splash and "1" when there is splash.
Then (the same applies when the number of times is two or more), the presence or absence of splash can be detected. The operation of the first embodiment will be described with reference to FIG. First, when the workpiece 10 is positioned on the main body of the welder by the robot or the like, the control circuit of the main body of the welder supplies a work start command JS to the CPU 16. In response to this, the CPU 16 starts this processing routine. First, the control target values MI 0 to MIn of the energizing current are set to the initial values MS 0 to MSn (step S1). The initial values MS 0 to MSn are roughly set to a value indicating whether or not a splash is generated according to the properties of the respective welded portions distinguished by the identification codes ID 0 to IDn. Then a splash of occurrences Y 0 -Yn every welding point that each identification code ID 0 ~IDn is attached, the RBI number accumulated value P 0 to PN respective to "0" (Step S2). Next, the welding machine control circuit waits for the supply of the identification code IDx and the energization command ST attached to the portion to be welded at that time (step S3). The identification code IDx is stored in the memory of the welding machine main body control circuit together with the position information of the welding location. According to the welding tip drive program, the control circuit abuts the welding tips 8 and 9 on a predetermined welding point, then reads out this identification information attached to the welding point from the memory and supplies it to the CPU 16. The CPU 16 stores the received identification code IDx in the RAM 17. Here, the identification code is n + 1 from ID 0 to IDn.
The type is defined. At this time, the IDx is selected by the control circuit of the welding machine main body and supplied to the CPU 16. In the following description, the variables or constants with the subscript "x" are the variables or constants corresponding to the selected identification information IDx. Further, the energization command ST is supplied from the welding machine main body control circuit to the CPU 16 when the welding tips 8 and 9 are brought into contact with a predetermined welding point and a predetermined time (squeeze time) has elapsed. When the energization command ST arrives, the CPU 16 supplies the reset signal R to the flip-flop 15 (step S
4). As a result, the output Q of the flip-flop 15 becomes "0". Then switch signal SW to the inverter 4
Is supplied, and the welding current I is started to be supplied at the control target value MIx corresponding to the identification code IDx at this time (step S).
5, FIG. 2 t 0 ). The magnitude of the welding current I flowing through the work is represented by a digital value DI. The CPU 16 controls the duty ratio of the AC AF by the control signal CS so that the welding current I becomes the control target value MIx based on the digital value DI. Then wait for the energization start time point t 0 the process proceeds to step S6 for a predetermined time T1 elapses. Generally, the chip-to-chip voltage VC1,
VC2 changes as shown in FIGS. 2B and 2C after the start of energization. Therefore, in the present embodiment, the gate circuit 14 is not made conductive immediately after the start of energization, but is made conductive by delaying the time T1. In this way, even if the pulse DP is generated due to the voltage drop at the beginning of energization, it will not be erroneously detected as a splash. It should be noted that this time T1 is preferably changeable so as to correspond to each property of the welded portions to which the identification codes ID 0 to ID n are attached. When the time T1 has elapsed, the gate signal G is supplied to the gate circuit 14 (step S7). Next, the process proceeds to S8 and waits for the predetermined time T2 to elapse (FIG. 2 (E)). This time T2 is slightly shorter than the difference between the predetermined energization time T3 (FIG. 2 (A)) and the time T1. If a splash occurs within this time T2, the output of the gate circuit 14 (OU
The pulse DP1 appears at (T) (FIG. 2 (F)) and the flip-flop 15 is set. When the predetermined time T2 has elapsed, the supply of the gate signal G is stopped (step S9). Next, in step S10, the supply of the switch signal SW to the inverter 4 is stopped and the energization ends. Then, the energization completion signal E is sent to the welding machine control circuit (step S11). In response to this signal E, the welding machine body control circuit moves the welding tips 8 and 9 to the next welding point. Then, the process proceeds to step S12, where the CPU 16 performs the Q
Check whether the value of is "1". When the answer is "yes", "1" is added to the number Yx of splash occurrences corresponding to the identification code IDx at that time (step S1).
3). If the answer is no, then this step S1
3 is bypassed and the process proceeds to step S14. Here, 1 is added to the dot number integrated value Px corresponding to the identification code IDx at this time. Then, in the next step S15, this dot number integrated value Px is 2
Check whether it has become 0 or not. In the first embodiment integrating separately variable P 0 to PN corresponding to these welding run number strike for people identification code ID 0 ~IDn husband. Then, the number of welding spots at which splash has occurred until this value reaches 20 is integrated by the variables Y 0 to Yn corresponding to the respective identification codes ID 0 to IDn, and the splash ratio is obtained based on this. If the number of welded spots Px has not reached 20 in step S14, the answer here is "No". In this case, the CPU 16 returns to step S3 and performs the same processing, that is, the current value I = M corresponding to the identification code IDx supplied at that time.
The process of energizing Ix, adding "1" to the corresponding Yx when a splash occurs, and adding "1" to the corresponding dot number integrated value Px is repeated. Then, when the control target values MI 0 to MIn are selected according to the identification codes ID 0 to IDn of the respective welding points and welding is executed, one of the dot number integrated values P 0 to Pn is eventually “20”.
Reach As a result, the answer in step S15 is "Yes", and the CPU 16 proceeds to step S16. In this embodiment, the welding spots 20 belong to the same identification code IDx.
When managing the number of dots that generate splashes relative to the number of dots, "6" is the central value, "7" is the upper management limit, and "5" is the lower management limit. Steps S16 and S17 determine these, and when the management upper limit is exceeded, this step S17
The answer is YES, and the CPU 16 subtracts the predetermined adjustment value MA from the control target value MIx corresponding to the identification code IDx at that time (step S18). Then, the process returns to step S2. If it is within the control limit, the answer in steps S16 and S17 is "No", and the CPU 16 returns to step S2 without changing the control target value MIx at that time. When the value is below the control lower limit, the answer in step S16 is "No", the answer in step S17 is "Yes", and the process proceeds to step S19 where the CPU 16 sets the control target value MIx at that time to the predetermined adjustment value. Add MA. If the welding current I is too large, the nugget may be defective. In addition, the current supply capacity is naturally limited. Therefore, in this embodiment, when the control target value MIx at that time is increased in step S19, the next step S2
At 0 it is checked whether it exceeds the upper limit MM. If the control target value MIx at that time exceeds the upper limit value MM, the process proceeds to step S21, the maximum current arrival signal MX is supplied to the welding machine main body control circuit, and this routine is once ended. If the increased MIx does not exceed the upper limit value MM, the process returns to step S2. The processing of these steps S16 to S21 is performed by the dot number integrated value P 0.
Every time any one of ~ to Pn reaches "20", it is executed for the corresponding control target values MI 0 to MIn. The adjustment value MA is determined in accordance with the conventional example in which the adjustment value MA is manually adjusted in light of the characteristics of the welding points belonging to the identification codes ID 0 to IDn, the work, and the characteristics of the welding machine. Next, the operation of the second embodiment will be described. In this embodiment, the ratio of the number of spots for splash generation to the number of spots for welding is calculated as a moving average. RA, which is the recording means for this purpose, is shown in FIG.
The memory allocation of M17 is shown. In this embodiment, the presence / absence of splash is recorded for each of 20 welding spots for each of the identification codes ID 0 to IDn, and 20 addresses each having the head addresses of AS 0 to ASn are used for this recording. Used for. (In FIG. 5, AS 0
Only the 20 addresses each having the leading address of ~ AS 1 are shown. The numbers displayed in each address indicate an example of the recorded data. “0” indicates no splash and “1” indicates splash. The operation of the second embodiment will be described with reference to FIG.
First, the CPU 16 sets the values of the variables A 1 to An (for memory address instruction) set for the identification codes ID 0 to IDn to the respective head addresses AS 0 to ASn (step S30). Then, step S1 having the same contents as in the first embodiment is executed. Next, the identification code ID 0 to ID
Number of occurrences of splash Y 0 to Yn for each of n
And respective flags R 0 to Rn indicating whether or not the number of welding dots belonging to the same identification code IDx has reached the first 20 dots.
Is set to "0" (step S31). After this, steps S3 to S11 having the same contents as in the first embodiment are executed. Next, the CPU 16 recognizes whether or not the flag Rx corresponding to the identification code IDx at that time is "1" (step S3).
2). In the present embodiment, regarding the welding points belonging to the same identification code IDx, the value of the address Ax is incremented from ASx to ASx + 19 up to the first 20th dot, and the presence or absence of splash of each welding dot at that time is recorded in the address. If there is a splash at this time, "1" is added to the number of times Yx of splash occurrence at that time.
On the other hand, even for welding spots belonging to the same identification codes ID 0 to IDn, after the 21st spot, the value of the address A is returned to ASx every 20 spots so that the range of this address extends from the welding spot to 20 spots before. Circularly record the occurrence of splashes. For each of the 21st welding point and thereafter, every time the welding welding point increases by one, the splash generation ratio for the 20th welding point before that is checked and the welding current control target value MIx is adjusted. Therefore, it is necessary to change the flow for each of the identification codes ID 0 to IDn with the first 20 hit points as a boundary, and the flags R 0 to Rn are used for this determination. Thus, in step S31, Rx is initially set to "0". Therefore, the answer to this step S32 is "no". As described above, the CPU 16 stores the output Q of the flip-flop 15, that is, the data indicating the presence or absence of splash at the address indicated by Ax (step S33). And the first
The steps S12 and S13 having the same contents as those in the above embodiment are executed. In the next step S34, the CPU 16 determines that the address Ax is AS
It is inspected whether it becomes x + 19, that is, whether the recording of the first 20 RBIs is finished. If the 20 hit points have not been reached, the answer here is "no", and the CPU 16 increments the value of Ax (step S35) and then proceeds to step S35.
Returning to step 3, the same processing is repeated for the identification code IDx supplied at that time. When the result of the first 20 dots for the same identification code IDx is recorded, the answer in this step S34 is "Yes". As a result, the CPU 16 proceeds to step S36 to set the flag Rx to "1" and then returns the value of Ax to "ASx" (step 37). Then, the process returns to step S3. After Rx becomes "1", the process proceeds from step S32 to step S38. Here, the CPU 16 reads the value stored in the address indicated by Ax as B. Then this B
Is subtracted from the output Q of the flip-flop 15 at that time (step S39). In this step S39, the value of the output Q of the flip-flop 20 (B as a variable) 20 points before the same identification number is compared with the value of the output Q of the flip-flop 15 at the welding point at that time. The value of the splash occurrence frequency Yx corresponding to the identification code IDx at that time is increased or decreased according to the result. First, the difference D
Indicates that the presence or absence of the splash at that time and the presence or absence of the splash before 20 RBI match. Therefore, in this case, it is not necessary to change the value of Yx, which is the number of splashes generated, and the CPU 16 executes step S40,
The process proceeds from S41 to S16 having the same contents as in the first embodiment. When the difference D shows "1", there is no splash this time,
There is a splash before 20 RBI. Therefore, in step S43, the value of the number Yx of splash occurrences corresponding to the identification code IDx at that time is subtracted by “1”, and in the next step S44, a new Q is added to the address indicated by Ax.
Record (= 0). When the difference D indicates "-1", it is in the opposite state.
Therefore, the CPU 16 proceeds to step S45, adds "1" to the number of times Yx of splash occurrence corresponding to the identification code IDx at that time, and records a new Q value (= 1) at the address indicated by Ax in the next step S44. To do. Then, the CPU 16 executes steps S16 to S21 having the same contents as in the first embodiment. After executing step S18, and when the answer is "no" in steps S17 and S20, the process proceeds to step S34, respectively. or,
Since the flag Rx is set to "1" when the first 20 hit points belonging to the same identification number IDx are finished, it is not necessary to set the flag Rx to "1" again in step S36 for the subsequent welding hit points. Here, the same routine is used and step S36 is executed again in order to reduce the amount of the program.

【他の実施例】 本実施例では溶接電流について各制御目標値を調整した
が、溶接時間等、他の溶接条件について各制御目標値を
調整するようにしてもよい。また二つ以上の溶接条件に
ついて夫々の各制御目標値を同時に調整するようにして
も良い。 又、サンプルの採り方、その数、比率の求め方はワー
ク、溶接機の特性などに合せて工夫をすると良い。 更にスプラッシュの検知についても、例えば受光素子で
その発生を検知する、圧力センサで加圧力の変動を検知
する、位置センサで溶接チップ移動を検出する、A−D
変換器とCPUを用いて、或いは交流1サイクルのチッ
プ間電圧VCの積分値で溶接電流Iの積分値を除して抵
抗変化を検出するなど、実施例以外の手法を用いて構わ
ない。 更に本実施例はインバータ方式についてのものである
が、交流方式、コンデンサ方式等、他の方式のものにも
本発明を適用し得る。
Other Embodiments In the present embodiment, each control target value was adjusted for the welding current, but each control target value may be adjusted for other welding conditions such as welding time. Further, each control target value may be simultaneously adjusted for two or more welding conditions. Moreover, it is advisable to devise the method of obtaining the samples, the number of the samples, and the method of obtaining the ratio according to the characteristics of the work and the welding machine. Further, regarding the detection of splash, for example, the light-receiving element detects the occurrence thereof, the pressure sensor detects the fluctuation of the pressing force, the position sensor detects the welding tip movement, and A-D.
A method other than the embodiment may be used, such as using a converter and a CPU or detecting the resistance change by dividing the integrated value of the welding current I by the integrated value of the inter-chip voltage VC for one AC cycle. Further, although the present embodiment relates to the inverter system, the present invention can be applied to other systems such as an AC system and a capacitor system.

【発明の効果】【The invention's effect】

以上説明したように本発明ではスプラッシュが所定の比
率で発生するように1又は2以上の溶接条件に関しその
各制御目標値を調整するようにした。従ってワーク夫々
の間に或いは同じ識別符号に属する溶接箇所夫々の間に
その性状のバラつきが有ったとしてもこれに柔軟に対応
することが出来、各制御目標値を的確な値に維持するこ
とが出来る。 また溶接チップ先端が徐々に太くなっていく現象に対し
ても、その変化がスプラッシュの発生状況に反映される
ので、本発明で各制御目標値を調整するようにすれば溶
接チップ径の増加にも自然に対応し、従来のステップア
ップ制御は不用になる。 そして又この様に程々にスプラッシュが発生するような
溶接条件下では、スプラッシュは従来のものに比べ遥か
に弱いものとなる。従って作業者に対する危険度、機器
の損耗度、チップの摩耗度を一段と小さくすることが出
来る。 更に又スプラッシュが程々に出ているので、スプラッシ
ュが毎回出るような過度の値に各制御目標値を設定する
ようなことも無くなって溶接品質の向上、均一化が図れ
る。
As described above, in the present invention, each control target value is adjusted for one or more welding conditions so that the splash occurs at a predetermined ratio. Therefore, even if there are variations in the properties between the workpieces or the welding locations belonging to the same identification code, it is possible to flexibly cope with this and maintain each control target value at an appropriate value. Can be done. Further, even with respect to the phenomenon that the tip of the welding tip gradually becomes thicker, the change is reflected in the occurrence state of splash, so if the respective control target values are adjusted in the present invention, the diameter of the welding tip increases. This naturally corresponds, and the conventional step-up control becomes unnecessary. Further, under the welding conditions in which a splash is moderately generated in this way, the splash becomes far weaker than the conventional one. Therefore, the degree of danger to the operator, the degree of wear of the equipment, and the degree of wear of the tip can be further reduced. Furthermore, since the splashes are moderately present, it is possible to improve the welding quality and make the welding quality uniform without setting each control target value to an excessive value that causes the splashes every time.

【図面の簡単な説明】[Brief description of drawings]

図は本発明の一実施例を示し、第1図は回路構成を示す
ブロック図、第2図は各信号を示す波形図、第3図は第
1の実施例の処理手順を示す流れ図、第4図は第2の実
施例の処理手順を示す流れ図、第5図はメモリ割付を示
す線図である。 4,11,12,16〜19,23……通電制御手段、
13〜15……検知手段、 16〜19,23……算出手段,調整手段、 ID〜IDn,IDx……識別符号、 MI〜MIn……制御目標値。
1 shows an embodiment of the present invention, FIG. 1 is a block diagram showing a circuit configuration, FIG. 2 is a waveform diagram showing each signal, FIG. 3 is a flow chart showing a processing procedure of the first embodiment, FIG. FIG. 4 is a flow chart showing the processing procedure of the second embodiment, and FIG. 5 is a diagram showing memory allocation. 4, 11, 12, 16-19, 23 ... energization control means,
13-15 ...... detecting means, 16~19,23 ...... calculation means, adjusting means, ID 0 ~IDn, IDx ...... identification code, MI 0 ~MIn ...... control target value.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】溶接箇所ごとに与えられる識別符号に基い
て複数個の制御目標値の中から一を選択し、該目標値に
従って通電を実施する通電制御手段と、スプラッシュ発
生を検知する検知手段と、同一の識別符号の溶接箇所に
ついての所定の溶接実行打点数に対するスプラッシュ発
生打点数の比率を算出する算出手段と、該比率が所定の
範囲に収まるよう夫々の識別符号に対応する制御目標値
を調整する調整手段を備えたことを特徴とする抵抗溶接
制御装置。
1. An energization control means for selecting one from a plurality of control target values on the basis of an identification code given to each welding location, and energizing in accordance with the target values, and a detection means for detecting the occurrence of splash. And a calculating means for calculating the ratio of the number of spots for splash generation to the predetermined number of welding spots to be welded for the welding points having the same identification code, and the control target value corresponding to each identification code so that the ratio falls within a predetermined range. A resistance welding control device comprising an adjusting means for adjusting.
JP27919390A 1990-10-19 1990-10-19 Resistance welding control device Expired - Lifetime JPH0651235B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27919390A JPH0651235B2 (en) 1990-10-19 1990-10-19 Resistance welding control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27919390A JPH0651235B2 (en) 1990-10-19 1990-10-19 Resistance welding control device

Publications (2)

Publication Number Publication Date
JPH04158988A JPH04158988A (en) 1992-06-02
JPH0651235B2 true JPH0651235B2 (en) 1994-07-06

Family

ID=17607733

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27919390A Expired - Lifetime JPH0651235B2 (en) 1990-10-19 1990-10-19 Resistance welding control device

Country Status (1)

Country Link
JP (1) JPH0651235B2 (en)

Also Published As

Publication number Publication date
JPH04158988A (en) 1992-06-02

Similar Documents

Publication Publication Date Title
KR920003190B1 (en) Controller for resistance welding m/c
CN1070096C (en) Resistance welding control method
US7245978B2 (en) Managing apparatus for managing assisting work to assist substrate-related-work performing system, and managing program for managing assisting work to assist substrate-related-work performing system
US20190299316A1 (en) Method of automatically setting a welding parameter for mig/mag welding and a controller for performing the method
US5587091A (en) Method and apparatus for controlling resistance welding
CN104936736B (en) Waveform compensation system and method for welding the compensation of the inductance phenomenon in control
CN110340489B (en) Welding information calculation device, welding torch, welding power supply, and welding system
JP6709422B2 (en) Welding condition preparation device and welding condition preparation method
EP1707292A2 (en) Machining fluid level detection device for wire cut electrical discharge machines
EP0765710A1 (en) Apparatus and method for controlling resistance welding
CN109822200B (en) Self-adaptive welding method and system based on cloud platform big data
JPH0651235B2 (en) Resistance welding control device
JP6540973B2 (en) Welding system and method for detecting abnormality on welding current flow path in welding system
JP2670713B2 (en) Resistance welding control device
JPH0651234B2 (en) Resistance welding control device
JP2762201B2 (en) Resistance welding control method
EP0641622A1 (en) Method and system for determining operating characteristics of arc welding wire
WO2005082565A1 (en) Electrical discharge machining apparatus
JPH1177328A (en) Device and method of controlling quality in resistance spot welding
JPH0751278B2 (en) Resistance welding control device
EP0142582B1 (en) Adaptive schedule selective weld control
CN111185406A (en) Image-based welding spot detection method
JP2020151748A (en) Pulse arc welding control method
CN109865968B (en) Welding operation detection method and system
JPS622914B2 (en)