JPH11267854A - Method and device for driving control of welding gun arm - Google Patents

Method and device for driving control of welding gun arm

Info

Publication number
JPH11267854A
JPH11267854A JP10068794A JP6879498A JPH11267854A JP H11267854 A JPH11267854 A JP H11267854A JP 10068794 A JP10068794 A JP 10068794A JP 6879498 A JP6879498 A JP 6879498A JP H11267854 A JPH11267854 A JP H11267854A
Authority
JP
Japan
Prior art keywords
current value
motor
gun arm
rotation speed
speed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP10068794A
Other languages
Japanese (ja)
Other versions
JP3692233B2 (en
Inventor
Hisaya Oiwa
久也 大岩
Toshiaki Nagasawa
敏明 長沢
Kaoru Shibata
薫 柴田
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.)
Honda Motor Co Ltd
Original Assignee
Honda Motor 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 Honda Motor Co Ltd filed Critical Honda Motor Co Ltd
Priority to JP06879498A priority Critical patent/JP3692233B2/en
Publication of JPH11267854A publication Critical patent/JPH11267854A/en
Application granted granted Critical
Publication of JP3692233B2 publication Critical patent/JP3692233B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To prevent generation of vibration to a gun arm in the collision in one sequential action that the gun arm is displaced in a direction for approaching a work and is stopped after the collision to the work so as to press the work. SOLUTION: When first and second gun arms 12, 14 are approaching to works W1, W2, a current value I to be supplied to a motor 20 which drives the first and second gun arms 12, 14 is obtained based on the deviation between the setting rotational velocity V0 and the actual rotational velocity V of the motor 20. When the first and second gun arms 12, 14 are collided to the works W1, W2, the current value I is obtained based on the formula I=(1-V/V0)×Ic from the setting rotational velocity V0 and the actual rotational velocity V of the motor 20 and the setting limit value Ic to set an upper limit value of the current value I to be supplied to the motor 20.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、溶接装置を構成す
るガンアームの駆動を制御するための溶接用ガンアーム
の駆動制御装置および駆動制御方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a drive control apparatus and a drive control method for a welding gun arm for controlling the drive of a gun arm constituting a welding apparatus.

【0002】[0002]

【従来の技術】一般に、ワークに対して電圧(電流)を
印加して該ワークの溶接を行う抵抗溶接機は、前記ワー
クの溶接を行う部位を挟み、加圧する一対のガンアーム
を有して構成されている。このガンアームには駆動装置
が設けられ、該駆動装置の付勢作用下に、互いに接近ま
たは離間する方向に変位する。従来より、この駆動装置
としては、流体圧式のシリンダが用いられている。
2. Description of the Related Art In general, a resistance welding machine for applying a voltage (current) to a work to weld the work has a pair of gun arms for sandwiching a portion where the work is to be welded and applying pressure. Have been. The gun arm is provided with a driving device, which is displaced toward or away from each other under the urging action of the driving device. Conventionally, a hydraulic cylinder has been used as this drive device.

【0003】[0003]

【発明が解決しようとする課題】ところで、前記駆動装
置としては、流体圧式のシリンダに代えて、電動モータ
を用いることが可能である。
By the way, an electric motor can be used as the driving device instead of a fluid pressure type cylinder.

【0004】本発明は、この電動モータを用いて構成さ
れた溶接用ガンアームの駆動制御装置および駆動制御方
法に関し、ガンアームがワークに接近する方向に変位し
て該ワークに衝突した後に停止して該ワークを加圧する
動作を好適に制御することが可能な溶接用ガンアームの
駆動制御装置および駆動制御方法を提供することを目的
とする。
The present invention relates to a drive control device and a drive control method for a welding gun arm constituted by using this electric motor, and relates to a drive control method and a drive control method in which a gun arm is displaced in a direction approaching a work and stops after colliding with the work. An object of the present invention is to provide a drive control device and a drive control method for a welding gun arm that can appropriately control an operation of pressing a work.

【0005】[0005]

【課題を解決するための手段】本発明に係る溶接用ガン
アームの駆動制御装置においては、溶接用のガンアーム
を駆動するモータは、第1演算手段でモータの設定速度
と実際の回転速度との偏差から求められる電流値または
第2演算手段で前記設定速度、回転速度および所定の設
定電流値から所定の計算式に基づいて求められる電流値
によって制御される。
In a drive control apparatus for a welding gun arm according to the present invention, a motor for driving a welding gun arm is provided by a first arithmetic unit, the difference between a set speed of the motor and an actual rotation speed. Is controlled by the current value obtained from the above or by the second calculating means from the set speed, the rotation speed and the predetermined set current value based on a predetermined calculation formula.

【0006】この場合、モータを異なる動作モードで駆
動させることができるため、例えば、ガンアームを高速
に移動させる場合には前記第1演算手段からの電流値を
前記モータに供給することによって、該モータが設定速
度に対して高い応答性を有して回転され、前記ガンアー
ムの移動時間を短縮することができるとともに、前記ガ
ンアームがワークに衝突するときには前記第2演算手段
からの電流値を前記モータに供給することによって、こ
の衝突時に発生する衝撃が低減されるようにこの電流値
を設定することができる。
In this case, the motors can be driven in different operation modes. For example, when the gun arm is moved at a high speed, the motor is supplied with the current value from the first calculating means, so that the motor can be driven. Is rotated with high responsiveness to a set speed, the moving time of the gun arm can be reduced, and when the gun arm collides with a workpiece, the current value from the second calculating means is supplied to the motor. By supplying the current, the current value can be set so that the impact generated at the time of the collision is reduced.

【0007】また、前記第1演算手段からの電流値と前
記第2演算手段からの電流値とを切換手段によって切り
換えるようにしてもよい(請求項2記載の発明)。さら
に、この切換手段における切換動作を、設定速度と回転
速度とに基づく所定のタイミングにタイミング検出手段
から出力される信号に基づいて行わせるようにしてもよ
い(請求項3記載の発明)。この場合、モータの動作モ
ードを該モータの動作スケジュールに対応して容易に切
り換えることができる。
The current value from the first calculating means and the current value from the second calculating means may be switched by a switching means (the invention according to claim 2). Further, the switching operation of the switching means may be performed at a predetermined timing based on the set speed and the rotation speed based on a signal output from the timing detecting means (the invention according to claim 3). In this case, the operation mode of the motor can be easily switched according to the operation schedule of the motor.

【0008】また、前記第2演算手段における電流値を
求めるための計算を、該電流値が前記モータの回転速度
の変化に対して傾斜状に変化するとともに、前記回転速
度が該モータの設定速度と同じときには該電流値が0と
なり、前記回転速度が0であるときには該電流値が前記
設定電流値となるように構成されている計算式に基づい
て行うようにしてもよい(請求項4記載の発明)。
[0008] Further, a calculation for obtaining a current value in the second arithmetic means is performed by determining that the current value changes in an inclined manner with respect to a change in the rotation speed of the motor, and that the rotation speed is changed to a set speed of the motor. When the rotation speed is 0, the current value is set to 0 when the rotation speed is 0, and the current value is set to the set current value. Invention).

【0009】この場合、モータの減速に伴って該モータ
に発生するトルクが0から傾斜状に増加していくため、
例えば、ガンアームがワークに衝突する際にこのモータ
に瞬間的に大きなトルクが発生して、前記ガンアームま
たはワークに大きな衝撃が加わることが回避される。
In this case, the torque generated in the motor as the motor decelerates increases from 0 in an inclined manner.
For example, when the gun arm collides with the workpiece, a large torque is instantaneously generated in the motor, and a large impact is prevented from being applied to the gun arm or the workpiece.

【0010】また、前記第2演算手段における電流値の
計算を、次の式、 I=(1−V/V0)×Ic に基づいて行うようにしてもよい(請求項5記載の発
明)。この場合、前記電流値を簡単な計算式によって求
めることができ、前記第2演算手段の構成の簡素化並び
に計算時間の短縮が実現される。
The calculation of the current value in the second calculating means may be performed based on the following equation: I = (1−V / V0) × Ic (the invention according to claim 5). In this case, the current value can be obtained by a simple calculation formula, and simplification of the configuration of the second calculation means and shortening of the calculation time are realized.

【0011】次に、請求項6記載の発明においては、ガ
ンアームがワークに接近して衝突した後に停止して該ワ
ークを加圧する一連の動作を、前記ガンアームが前記ワ
ークに接近する接近段階と、前記ガンアームが前記ワー
クに衝突して停止する衝突停止段階とで、前記モータの
動作モードを変更して行うようにしている。
[0011] Next, in the invention according to claim 6, a series of operations for stopping the gun arm after approaching and colliding with the work and pressurizing the work include an approaching step in which the gun arm approaches the work, The operation mode of the motor is changed at a collision stop stage in which the gun arm collides with the workpiece and stops.

【0012】この場合、前記接近段階では、例えば、ガ
ンアームを高速に移動させることが可能な動作モードを
選択し、前記衝突停止段階では、例えば、ガンアームが
ワークに衝突する際に発生する衝撃を低減させるととも
に、この衝突から加圧に移行する時間を短縮することが
可能な動作モードを選択することによって、溶接時間の
短縮を実現することができるとともに、前記衝突によっ
て溶接品質が低下することも回避される。
In this case, in the approaching step, for example, an operation mode in which the gun arm can be moved at a high speed is selected, and in the collision stopping step, for example, an impact generated when the gun arm collides with the work is reduced. In addition, by selecting an operation mode capable of shortening the time required for shifting from the collision to the pressurization, the welding time can be shortened, and the collision does not reduce the welding quality. Is done.

【0013】また、モータに供給すべき電流値を、前記
接近段階では前記モータの設定回転速度と実際の回転速
度との偏差に基づいて求め、前記衝突停止段階では、前
記モータの設定回転速度、実際の回転速度および所定の
設定電流値とから所定の計算式に基づいて求めるように
してもよい(請求項7記載の発明)。
In the approaching step, a current value to be supplied to the motor is obtained based on a deviation between a set rotation speed of the motor and an actual rotation speed. It may be determined from the actual rotation speed and a predetermined set current value based on a predetermined calculation formula (the invention according to claim 7).

【0014】この場合、前記接近段階では、モータの回
転速度の設定速度に対する高い応答性を得ることができ
るとともに、前記衝突停止段階では、前記ガンアームの
ワークへの衝突から該ガンアームによる前記ワークの加
圧に際して前記モータに発生させるトルクを前記計算式
に基づいて任意に設定することによって、溶接時間の短
縮とともに溶接品質の向上が実現される。
In this case, in the approaching step, high responsiveness to the set speed of the rotation speed of the motor can be obtained, and in the collision stopping step, the application of the work by the gun arm due to the collision of the gun arm with the work can be obtained. By arbitrarily setting the torque generated by the motor at the time of pressurization based on the above-described formula, the welding time can be shortened and the welding quality can be improved.

【0015】また、前記衝突停止段階で行う電流値の計
算を、モータに供給される電流値が前記モータの回転速
度の変化に対して傾斜状に変化するとともに、前記回転
速度が設定回転速度と同じときには前記電流値が0とな
り、前記モータが停止して回転速度が0となったときに
は前記電流値が前記設定電流値となるように構成されて
いる計算式に基づいて行うようにしてもよい(請求項8
記載の発明)。この場合、モータの減速に伴って該モー
タに発生するトルクが、例えば0から傾斜状に増加して
いくように設定することによって、ガンアームがワーク
に衝突する際にこのモータに瞬間的に大きなトルクが発
生し、該ガンアームまたはワークに大きな衝撃が加わる
ことが回避される。
Further, the calculation of the current value performed in the collision stop step is performed by determining that the current value supplied to the motor changes in an inclined manner with respect to a change in the rotation speed of the motor, and that the rotation speed is set to a predetermined rotation speed. At the same time, the current value may be set to 0, and when the motor stops and the rotation speed becomes 0, the current value may be set to the set current value based on a calculation formula. (Claim 8
Described invention). In this case, by setting the torque generated in the motor as the motor decelerates from, for example, 0 to increase in an inclined manner, a large torque is instantaneously applied to the motor when the gun arm collides with the workpiece. Is generated, and a large impact is applied to the gun arm or the work.

【0016】また、前記衝突停止段階で行われる電流値
の計算を、次の式、 I=(1−V/V0)×Ic に基づいて行うようにしてもよい(請求項9記載の発
明)。この場合、前記電流値を簡単な計算によって求め
ることができ、この電流値の計算を行う手段の簡素化並
びに計算時間の短縮が実現される。
The calculation of the current value performed in the collision stop stage may be performed based on the following equation: I = (1−V / V0) × Ic (the invention according to claim 9). . In this case, the current value can be obtained by a simple calculation, and the means for calculating the current value can be simplified and the calculation time can be shortened.

【0017】次に、請求項10記載の発明においては、
ガンアームがワークに接近して衝突した後に停止して該
ワークを加圧する一連の動作において、前記モータに供
給すべき電流値を、前記モータの設定回転速度、実際の
回転速度および所定の設定電流値とから所定の計算式に
基づいて求めるようにしている。この場合、ガンアーム
がワークに衝突する際に発生する衝撃を低減させるよう
に前記計算式を構成することによって、前記衝突によっ
て溶接品質が低下することが回避される。
Next, in the invention according to claim 10,
In a series of operations in which the gun arm stops and collides after approaching the work and pressurizes the work, the current value to be supplied to the motor is determined by the set rotation speed of the motor, the actual rotation speed, and the predetermined set current value. Is obtained based on a predetermined calculation formula. In this case, by configuring the calculation formula so as to reduce the impact generated when the gun arm collides with the workpiece, it is possible to avoid a decrease in welding quality due to the collision.

【0018】また、前記電流値の計算を、モータに供給
される電流値が前記モータの実際の回転速度の変化に対
して傾斜状に変化するとともに、前記回転速度が設定回
転速度と同じときには前記電流値が0となり、前記モー
タが停止して回転速度が0となったときには前記電流値
が前記設定電流値となるように構成されている計算式に
基づいて行うようにしてもよい(請求項11記載の発
明)。この場合、モータの減速に伴って該モータに発生
するトルクが、例えば0から傾斜状に増加していくよう
に設定することによって、ガンアームがワークに衝突す
る際にこのモータに瞬間的に大きなトルクが発生して、
該ガンアームまたはワークに大きな衝撃が加わることが
回避される。
Further, the calculation of the current value is performed when the current value supplied to the motor changes in an inclined manner with respect to a change in the actual rotation speed of the motor, and when the rotation speed is the same as the set rotation speed. When the current value becomes 0, and the motor stops and the rotation speed becomes 0, the calculation may be performed based on a calculation formula configured so that the current value becomes the set current value. 11). In this case, by setting the torque generated in the motor as the motor decelerates from, for example, 0 to increase in an inclined manner, a large torque is instantaneously applied to the motor when the gun arm collides with the workpiece. Occurs,
A large impact is prevented from being applied to the gun arm or the work.

【0019】また、前記電流値の計算を、次の式、 I=(1−V/V0)×Ic に基づいて行うようにしてもよい(請求項12記載の発
明)。この場合、前記電流値を簡単な計算によって求め
ることができ、この電流値の計算を行う手段の簡素化並
びに計算時間の短縮が実現される。
Further, the calculation of the current value may be performed based on the following equation: I = (1−V / V0) × Ic (the invention according to claim 12). In this case, the current value can be obtained by a simple calculation, and the means for calculating the current value can be simplified and the calculation time can be shortened.

【0020】[0020]

【発明の実施の形態】以下、本発明に係る溶接用ガンア
ームの駆動制御装置および駆動制御方法の実施の形態例
(以下、単に実施の形態に係る制御装置と記す)を図1
〜図3Cを参照しながら説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows an embodiment of a drive control device and a drive control method for a welding gun arm according to the present invention (hereinafter simply referred to as a control device according to the embodiment).
This will be described with reference to FIG. 3C.

【0021】本実施の形態に係る制御装置の説明に入る
前に、溶接装置の構成について簡単に説明する。
Before describing the control device according to the present embodiment, the configuration of the welding device will be briefly described.

【0022】図1に示すように、本実施の形態に係る制
御装置が適用される溶接装置10は、ワークW1、W2
に対して溶接を行うための一対のガンアームである第1
ガンアーム12および第2ガンアーム14を有し、該第
1ガンアーム12および第2ガンアーム14の互いに対
向する先端部には、溶接チップ16a、16bが設けら
れている。
As shown in FIG. 1, a welding device 10 to which the control device according to the present embodiment is applied includes works W1, W2
The first is a pair of gun arms for welding to
It has a gun arm 12 and a second gun arm 14, and welding tips 16 a and 16 b are provided at the distal ends of the first gun arm 12 and the second gun arm 14 facing each other.

【0023】第1ガンアーム12は、該第1ガンアーム
12に設けられた図示しない軸受け部材を介して、中空
円筒状の基体18に固定されたモータ(ACサーボモー
タ)20の回転軸に連結されたボールねじ22に螺合さ
れ、前記モータ20の駆動作用下に、前記基体18の軸
線方向に沿ってその内部を進退自在に変位する。第2ガ
ンアーム14は、基体18に固定されている。なお、第
1ガンアーム12および第2ガンアーム14には、溶接
チップ16a、16bの間に溶接用の電圧(電流)を印
加するための電源装置(図示せず)が接続されている。
The first gun arm 12 is connected to a rotating shaft of a motor (AC servo motor) 20 fixed to a hollow cylindrical base 18 via a bearing member (not shown) provided on the first gun arm 12. It is screwed to the ball screw 22 and displaces inside the base 18 so as to be able to advance and retreat along the axial direction of the base 18 under the driving action of the motor 20. The second gun arm 14 is fixed to the base 18. The first gun arm 12 and the second gun arm 14 are connected to a power supply (not shown) for applying a welding voltage (current) between the welding tips 16a and 16b.

【0024】モータ20は、ケーブル24a〜24c
(区別して説明する必要がない場合はケーブル24と記
す)を介して後述するサーボアンプ60に配線接続さ
れ、該サーボアンプ60から供給される交流電流によっ
て所定の速度および出力(トルク)で駆動される。な
お、モータ20の回転方向は、前記第1ガンアーム12
を前進させる場合を正とし、後退させる場合を負とす
る。
The motor 20 has cables 24a to 24c
The cable is connected to a servo amplifier 60 described later via a cable 24 (when it is not necessary to separately describe the cable 24), and is driven at a predetermined speed and output (torque) by an alternating current supplied from the servo amplifier 60. You. The rotation direction of the motor 20 is the same as that of the first gun arm 12.
Is positive when moving forward, and negative when moving backward.

【0025】次に、本実施の形態に係る制御装置につい
て説明する。
Next, a control device according to the present embodiment will be described.

【0026】図1に示すように、本実施の形態に係る制
御装置100は、溶接装置10並びに該制御装置100
全体の動作を制御するメインコントローラ42と、該メ
インコントローラ42から供給される速度データDv0
およびリミットデータDi並びにモータ20に設けられ
た検出器44で得られた実速度データDvおよび同期信
号Sdに基づいて、前記モータ20に供給すべき交流電
流の電流値および周波数を求めて電流値指令信号Si
c、Sidとして出力する速度制御部50と、該速度制
御部50からの電流値指令信号Sic、Sidを、ケー
ブル24a、24bに設けられた電流センサ52a、5
2bから供給される検出電流値信号Sii、Sijに基
づいて制御し、電流値指令信号Sie、Sifとして出
力する電流制御部54と、該電流制御部54からの電流
値指令信号Sie、Sifに基づいてパルス幅を変調
し、パルス列を有する交流電流信号として出力するPW
M回路56と、該PWM回路56からの交流電流信号に
基づく三相交流電流(電流値I)をモータ20に供給す
るサーボアンプ60と、前記速度データDv0および実
速度データDvに基づいて所定のタイミングを検出し、
このタイミングにタイミング信号Stを出力するタイミ
ング検出部(タイミング検出手段)82とを有して構成
されている。
As shown in FIG. 1, a control device 100 according to the present embodiment includes a welding device 10 and the control device 100.
A main controller 42 for controlling the entire operation, and speed data Dv0 supplied from the main controller 42
A current value and frequency of an alternating current to be supplied to the motor 20 based on the limit data Di, the actual speed data Dv obtained by the detector 44 provided in the motor 20, and the synchronization signal Sd. Signal Si
The speed control unit 50 outputs c and Sid, and the current value command signals Sic and Sid from the speed control unit 50 are supplied to current sensors 52a and 52a provided on the cables 24a and 24b.
2b, based on the detected current value signals Sii, Sij supplied from the current control unit 54 and output as current value command signals Sie, Sif; and based on the current value command signals Sie, Sif from the current control unit 54. PW that modulates the pulse width and outputs it as an alternating current signal having a pulse train
An M circuit 56, a servo amplifier 60 that supplies a three-phase AC current (current value I) based on the AC current signal from the PWM circuit 56 to the motor 20, and a predetermined signal based on the speed data Dv0 and the actual speed data Dv. Detect timing,
A timing detecting section (timing detecting means) 82 for outputting a timing signal St at this timing is provided.

【0027】特に、速度制御部50は、前記速度データ
Dv0、リミットデータDiおよび実速度データDvに
基づいてモータ20に供給すべき交流電流の電流値を求
めて電流値指令信号SiaまたはSihとして出力する
電流値計算手段102と、該電流値計算手段102から
の電流値指令信号SiaまたはSihの上限を前記リミ
ットデータDiに基づいて制限して電流値指令信号Si
bとして出力するリミット手段64と、該リミット手段
64からの電流値指令信号Sibを前記同期信号Sdに
基づくタイミングでパルス状の電流値指令信号Sic、
Sidとして出力する分配手段66とを有して構成され
ている。
In particular, the speed control unit 50 obtains a current value of an alternating current to be supplied to the motor 20 based on the speed data Dv0, the limit data Di and the actual speed data Dv, and outputs it as a current value command signal Sia or Sih. Current value calculating means 102, and a current value command signal Sia by limiting the upper limit of the current value command signal Sia or Sih from the current value calculating means 102 based on the limit data Di.
b, and a current value command signal Sic in the form of a pulse at a timing based on the synchronization signal Sd.
And a distribution unit 66 for outputting as Sid.

【0028】そして、電流値計算手段102は、図2に
示すように、前記速度データDv0と実速度データDv
とに基づいて速度偏差を計算して速度偏差データDσと
して出力する速度偏差計算手段(第1演算手段)68
と、該速度偏差計算手段68からの速度偏差データDσ
に基づいて電流値を計算して電流値指令信号Siaとし
て出力する偏差電流値計算手段(第1演算手段)70
と、前記速度データDv0と実速度データDvとから所
定の計算式に基づく係数を計算し、係数データDkとし
て出力する係数計算手段(第2演算手段)104と、該
係数計算手段104からの係数データDkとメインコン
トローラ42からのリミットデータDiとに基づいて、
モータ20に供給すべき交流電流の電流値を求め、電流
値指令信号Sihとして出力する係数電流値計算手段
(第2演算手段)106と、前記タイミング検出部82
からのタイミング信号Stに基づいて、前記偏差電流値
計算手段70からの電流値指令信号Siaと前記係数電
流値計算手段106からの電流値指令信号Sihとを切
り換えてリミット手段64に対して出力するセレクタ
(切換手段)108とを有して構成されている。
As shown in FIG. 2, the current value calculation means 102 calculates the speed data Dv0 and the actual speed data Dv
Speed deviation calculating means (first calculating means) 68 which calculates a speed deviation based on the above and outputs it as speed deviation data Dσ.
And speed deviation data Dσ from the speed deviation calculation means 68.
Current value calculating means (first calculating means) 70 which calculates a current value based on the above and outputs it as a current value command signal Sia.
A coefficient calculating means (second calculating means) 104 for calculating a coefficient based on a predetermined formula from the speed data Dv0 and the actual speed data Dv and outputting the coefficient as a coefficient data Dk; Based on data Dk and limit data Di from main controller 42,
A coefficient current value calculating means (second calculating means) 106 for obtaining a current value of an alternating current to be supplied to the motor 20 and outputting it as a current value command signal Sih;
And switches the current value command signal Sia from the deviation current value calculation means 70 and the current value command signal Sih from the coefficient current value calculation means 106 to the limit means 64 based on the timing signal St. And a selector (switching means) 108.

【0029】図1に示す前記検出器44は、モータ20
の回転周波数を検出して回転周波数信号として出力する
速度センサと、モータ20の磁極の位置を検出して同期
信号Sdとして出力する磁極センサにて構成されてい
る。具体的には、前記速度センサおよび磁極センサを備
えたオプティカルエンコーダ、磁気エンコーダ等にて構
成されている。そして、前記検出器44からの回転周波
数信号は、F/V変換回路72にて電圧信号に変換され
た後、A/D変換回路74にてデジタルデータに変換さ
れて実速度データDv(回転速度V)として出力され
る。また、前記同期信号Sdによって、サーボアンプ6
0からモータ20に供給される三相交流電流の周波数が
決定される。
The detector 44 shown in FIG.
And a magnetic pole sensor that detects the position of the magnetic pole of the motor 20 and outputs it as a synchronization signal Sd. Specifically, it is configured by an optical encoder, a magnetic encoder, and the like including the speed sensor and the magnetic pole sensor. The rotation frequency signal from the detector 44 is converted to a voltage signal by an F / V conversion circuit 72, and then converted to digital data by an A / D conversion circuit 74, and converted to actual speed data Dv (rotation speed). V). Also, the servo amplifier 6 is controlled by the synchronization signal Sd.
From 0, the frequency of the three-phase alternating current supplied to the motor 20 is determined.

【0030】サーボアンプ60は、端子58a〜58c
(以下、端子58と記す)を介して接続される図示しな
い電源から供給される三相交流電流を一旦直流電流に変
換した後、前記PWM回路56からの交流電流信号に基
づく三相交流電流に再変換してモータ20に供給するよ
うに構成されている。
The servo amplifier 60 has terminals 58a to 58c.
After temporarily converting a three-phase AC current supplied from a power supply (not shown) connected through a terminal 58 (hereinafter referred to as a terminal 58) to a DC current, the three-phase AC current is converted to a three-phase AC current based on an AC current signal from the PWM circuit 56. It is configured to reconvert and supply to the motor 20.

【0031】速度データDv0は、モータ20の回転速
度Vのスケジュール(速度スケジュール)を設定する速
度用ルックアップテーブルとしてメインコントローラ4
2の図示しない記憶手段に格納されている。そして、こ
の速度データDv0は、前記速度用ルックアップテーブ
ルから所定時間毎に読み出され、モータ20の各時間に
おける回転速度を設定する設定回転速度としてメインコ
ントローラ42から出力される。なお、この速度用ルッ
クアップテーブルは、前記メインコントローラ42の記
憶手段に複数のデータ群として格納されており、その中
から所望のものが選択される。
The speed data Dv0 is used as a speed look-up table for setting a schedule (speed schedule) of the rotation speed V of the motor 20.
2 are stored in storage means (not shown). The speed data Dv0 is read from the speed look-up table at predetermined time intervals, and is output from the main controller 42 as a set rotation speed for setting the rotation speed of the motor 20 at each time. The speed look-up table is stored in the storage means of the main controller 42 as a plurality of data groups, and a desired one is selected from the data group.

【0032】また、リミットデータDiは、モータ20
に供給すべき交流電流の電流値Iの上限を制限するリミ
ット値のスケジュール(リミットスケジュール)を設定
するリミット用ルックアップテーブルとして前記メイン
コントローラ42の記憶手段に格納されている。そし
て、このリミットデータDiは、前記リミット用ルック
アップテーブルから所定時間毎に読み出され、前記電流
値Iの各時間におけるリミット値を設定する設定リミッ
ト値(設定電流値)としてメインコントローラ42から
出力される。なお、このリミット用ルックアップテーブ
ルは、前記速度データDv0と同様に、前記メインコン
トローラ42の記憶手段に複数のデータ群として格納さ
れており、その中から所望のものが選択される。
The limit data Di is stored in the motor 20
Is stored in the storage means of the main controller 42 as a limit look-up table for setting a limit value schedule (limit schedule) for limiting the upper limit of the current value I of the alternating current to be supplied to the main controller 42. The limit data Di is read out from the limit look-up table at predetermined time intervals and output from the main controller 42 as a set limit value (set current value) for setting the limit value of the current value I at each time. Is done. The limit look-up table is stored in the storage means of the main controller 42 as a plurality of data groups, as in the case of the speed data Dv0, and a desired one is selected therefrom.

【0033】そして、前記速度スケジュールおよびリミ
ットスケジュールによって、前記モータ20の動作スケ
ジュールが決定される。
The operation schedule of the motor 20 is determined by the speed schedule and the limit schedule.

【0034】次に、本実施の形態に係る制御装置100
の処理動作について説明する。
Next, the control device 100 according to the present embodiment
Will be described.

【0035】メインコントローラ42から電流値計算手
段102を構成する速度偏差計算手段68および係数計
算手段104に速度データDv0として設定回転速度が
供給されるとともに、前記電流値計算手段102の係数
電流値計算手段106およびリミット手段64にリミッ
トデータDiとして設定リミット値が供給される(図1
および図2参照)。また、検出器44からF/V変換回
路72およびA/D変換回路74を介し、前記速度偏差
計算手段68および係数計算手段104に実速度データ
Dvとしてモータ20の回転速度Vが供給される。
The set rotation speed is supplied as speed data Dv0 from the main controller 42 to the speed deviation calculating means 68 and the coefficient calculating means 104 constituting the current value calculating means 102, and the current value calculating means 102 calculates the coefficient current value. The set limit value is supplied to the means 106 and the limit means 64 as limit data Di (FIG. 1).
And FIG. 2). The rotational speed V of the motor 20 is supplied from the detector 44 to the speed deviation calculating means 68 and the coefficient calculating means 104 via the F / V conversion circuit 72 and the A / D conversion circuit 74 as actual speed data Dv.

【0036】タイミング検出部82は、前記速度データ
Dv0(設定回転速度)および実速度データDvに基づ
いて所定のタイミングを検出し、このタイミングにタイ
ミング信号Stをメインコントローラ42およびセレク
タ108に対して出力する。
The timing detector 82 detects a predetermined timing based on the speed data Dv0 (set rotation speed) and the actual speed data Dv, and outputs a timing signal St to the main controller 42 and the selector 108 at this timing. I do.

【0037】速度偏差計算手段68は、前記速度データ
Dv0と実速度データDvとに基づいて速度偏差を計算
し、速度偏差データDσとして出力する。この場合、こ
の速度偏差データDσの値は、前記実速度データDvの
値(モータ20の回転速度V)が前記設定回転速度を上
回るときは負の値となり、前記回転速度Vが前記設定回
転速度を下回るときは正の値となるものとする。
The speed deviation calculating means 68 calculates a speed deviation based on the speed data Dv0 and the actual speed data Dv, and outputs it as speed deviation data Dσ. In this case, the value of the speed deviation data Dσ becomes a negative value when the value of the actual speed data Dv (the rotation speed V of the motor 20) exceeds the set rotation speed, and the rotation speed V becomes equal to the set rotation speed. If the value is less than, it is assumed to be a positive value.

【0038】そして、偏差電流値計算手段70は、この
速度偏差計算手段68からの速度偏差データDσに基づ
いて電流値を計算し、電流値指令信号Siaとして出力
する。この場合、この電流値指令信号Siaの値の正負
は、前記速度偏差データDσの正負に依存する。
Then, the deviation current value calculation means 70 calculates a current value based on the speed deviation data Dσ from the speed deviation calculation means 68 and outputs it as a current value command signal Sia. In this case, the sign of the current value command signal Sia depends on the sign of the speed deviation data Dσ.

【0039】一方、係数計算手段104は、前記速度デ
ータDv0と実速度データDvとから所定の計算式に基
づく係数を計算し、係数データDkとして出力する。そ
して、係数電流値計算手段106は、前記係数計算手段
104からの係数データDkとメインコントローラ42
からのリミットデータDiとに基づいて、モータ20に
供給すべき交流電流の電流値を求め、電流値指令信号S
ihとして出力する。
On the other hand, the coefficient calculation means 104 calculates a coefficient based on a predetermined calculation formula from the speed data Dv0 and the actual speed data Dv, and outputs it as coefficient data Dk. Then, the coefficient current value calculation means 106 calculates the coefficient data Dk from the coefficient calculation means 104 and the main controller 42.
The current value of the alternating current to be supplied to the motor 20 is determined based on the limit data Di from
Output as ih.

【0040】セレクタ108は、前記タイミング検出部
82からのタイミング信号Stに基づいて、前記偏差電
流値計算手段70からの電流値指令信号Siaと前記係
数電流値計算手段106からの電流値指令信号Sihと
を切り換えてリミット手段64に対して出力する。
The selector 108 receives the current value command signal Sia from the deviation current value calculation means 70 and the current value command signal Sih from the coefficient current value calculation means 106 based on the timing signal St from the timing detection section 82. And outputs to the limit means 64.

【0041】リミット手段64は、前記セレクタ108
からの電流値指令信号SiaまたはSihの上限を前記
リミットデータDiに基づいて制限して電流値指令信号
Sibとして出力する。この場合、前記電流値指令信号
SiaまたはSihの上限は絶対値として制限され、値
の正負には依存されないものとする。
The limit means 64 is connected to the selector 108
The upper limit of the current value command signal Sia or Sih is limited based on the limit data Di and output as the current value command signal Sib. In this case, the upper limit of the current value command signal Sia or Sih is limited as an absolute value, and does not depend on the sign.

【0042】分配手段66は、前記リミット手段64か
らの電流値指令信号Sibを、検出器44から供給され
る同期信号Sdに基づくタイミングでパルス状の電流値
指令信号Sic、Sidとして出力する。
The distribution means 66 outputs the current value command signal Sib from the limit means 64 as pulsed current value command signals Sic and Sid at a timing based on the synchronization signal Sd supplied from the detector 44.

【0043】電流制御部54は、前記分配手段66から
の電流値指令信号Sic、Sidを、電流センサ52
a、52bから供給される検出電流値信号Sii、Si
jに基づいて制御し、電流値指令信号Sie、Sifと
して出力する。
The current control unit 54 receives the current value command signals Sic and Sid from the distribution unit 66 and
a, 52b detected current value signals Sii, Si
j, and outputs as current value command signals Sie and Sif.

【0044】PWM回路56は、前記電流制御部54か
らの電流値指令信号Sie、Sifに基づいてパルス幅
を変調し、パルス列を有する交流電流信号として出力す
る。この場合、この交流電流信号の周波数は、前記分配
手段66から出力される電流値指令信号Sic、Sid
のタイミング(パルスの周期)に依存する。
The PWM circuit 56 modulates the pulse width based on the current value command signals Sie and Sif from the current control unit 54 and outputs it as an alternating current signal having a pulse train. In this case, the frequency of the alternating current signal is determined by the current value command signals Sic and Sid output from the distribution means 66.
(Pulse period).

【0045】サーボアンプ60は、端子58を介して接
続される図示しない電源から供給される三相交流電流を
一旦直流電流に変換した後、前記PWM回路56からの
交流電流信号に基づく三相交流電流に再変換してモータ
20に供給する。なお、この交流電流は、前記電流値指
令信号Siaの値が正であるときには、前記モータ20
の回転磁界に対して順位相となり、負であるときには逆
位相となる。
The servo amplifier 60 temporarily converts a three-phase AC current supplied from a power supply (not shown) connected via a terminal 58 into a DC current, and then converts the three-phase AC current based on the AC current signal from the PWM circuit 56 into a three-phase AC current. The current is converted back to the current and supplied to the motor 20. When the value of the current value command signal Sia is positive, the AC current
, And the opposite phase when negative.

【0046】モータ20は、前記サーボアンプ60から
供給される交流電流の電流値Iに依存したトルクを発生
して回転する。この場合、前記交流電流の周期は、前記
モータ20の回転に同期して変調されている。そして、
このモータ20は、前記電流値Iを増減させるととも
に、位相を正逆転させることによって加速または減速さ
れる。
The motor 20 rotates by generating a torque depending on the current value I of the alternating current supplied from the servo amplifier 60. In this case, the cycle of the alternating current is modulated in synchronization with the rotation of the motor 20. And
The motor 20 is accelerated or decelerated by increasing or decreasing the current value I and rotating the phase forward or backward.

【0047】そして、このモータ20の回転によって、
第1ガンアーム12が基体18に対して進退する。な
お、第1ガンアーム12の先端に設けられた溶接チップ
16aがワークW1に当接する位置を、該第1ガンアー
ム12の溶接位置と記す。
Then, by the rotation of the motor 20,
The first gun arm 12 advances and retreats with respect to the base 18. The position where the welding tip 16a provided at the tip of the first gun arm 12 contacts the workpiece W1 is referred to as the welding position of the first gun arm 12.

【0048】このように、本実施の形態に係る制御装置
100においては、第1ガンアーム12を駆動するモー
タ20の回転速度Vを所定の速度スケジュールに基づい
て制御することができるため、前記第1ガンアーム12
の進退速度を任意に設定することが可能である。
As described above, in the control device 100 according to the present embodiment, the rotation speed V of the motor 20 for driving the first gun arm 12 can be controlled based on a predetermined speed schedule. Gun arm 12
Can be set arbitrarily.

【0049】また、メインコントローラ42からリミッ
ト手段64に供給すべきリミットデータDi(設定リミ
ット値)を、タイミング検出部82から速度データDv
0(設定回転速度)と実速度データDvとに基づく所定
のタイミングで出力されるタイミング信号Stに応じて
変更することができるため、この設定リミット値の変更
を行うタイミングを速度スケジュールに対応して設定す
ることができる。
The limit data Di (set limit value) to be supplied from the main controller 42 to the limit means 64 is transmitted from the timing detector 82 to the speed data Dv.
Since it can be changed in accordance with the timing signal St output at a predetermined timing based on 0 (set rotation speed) and the actual speed data Dv, the timing for changing the set limit value corresponds to the speed schedule. Can be set.

【0050】また、タイミング検出部82からセレクタ
108に供給されるタイミング信号Stに従って、該セ
レクタ108(即ち、電流値計算手段102)から出力
される信号を、速度偏差計算手段68および偏差電流値
計算手段70で求められた電流値指令信号Siaから係
数計算手段104および係数電流値計算手段106で求
められた電流値指令信号Sihに変更することができ
る。従って、一回の溶接作業の間に、モータ20を異な
る動作モードで駆動することが可能となる。これによっ
て、モータ20の動作モードを、例えば第1ガンアーム
12を溶接位置近傍まで変位させるときと、該第1ガン
アーム12がワークW1に衝突する直前とで変更するこ
とによって、前記第1ガンアーム12の変位を短時間で
行うとともに、該第1ガンアーム12がワークW1に衝
突する際の衝撃を緩衝することが可能となる。
In accordance with the timing signal St supplied from the timing detecting section 82 to the selector 108, the signal output from the selector 108 (ie, the current value calculating means 102) is converted into the speed deviation calculating means 68 and the deviation current value calculating means 68. The current value command signal Sia obtained by the means 70 can be changed to the current value command signal Sih obtained by the coefficient calculation means 104 and the coefficient current value calculation means 106. Therefore, it is possible to drive the motor 20 in different operation modes during one welding operation. Thereby, the operation mode of the first gun arm 12 is changed by changing the operation mode of the motor 20 between, for example, when the first gun arm 12 is displaced to the vicinity of the welding position and immediately before the first gun arm 12 collides with the workpiece W1. The displacement can be performed in a short time, and the impact when the first gun arm 12 collides with the workpiece W1 can be buffered.

【0051】なお、電流値計算手段102を複数の係数
計算手段104並びに係数電流値計算手段106で構成
することも可能である。この場合、一回の溶接作業の間
に、モータ20を複数の動作モードで駆動することがで
きる。
It should be noted that the current value calculating means 102 can be constituted by a plurality of coefficient calculating means 104 and coefficient current value calculating means 106. In this case, the motor 20 can be driven in a plurality of operation modes during one welding operation.

【0052】また、タイミング検出部82からのタイミ
ング信号Stを係数計算手段104並びに係数電流値計
算手段106に供給することによって、該係数計算手段
104並びに係数電流値計算手段106に設定されてい
る計算式を変更するように構成することも可能である。
この場合も、一回の溶接作業の間に、モータ20を複数
の動作モードで駆動することができる。
Also, by supplying the timing signal St from the timing detecting section 82 to the coefficient calculating means 104 and the coefficient current value calculating means 106, the calculation set in the coefficient calculating means 104 and the coefficient current value calculating means 106 is performed. It is also possible to configure to change the expression.
Also in this case, the motor 20 can be driven in a plurality of operation modes during one welding operation.

【0053】次に、本実施の形態に係る制御装置100
の実施例について説明する。
Next, the control device 100 according to the present embodiment
An example will be described.

【0054】この実施例においては、係数計算手段10
4での係数の計算は、次式に基づいて行われる。
In this embodiment, the coefficient calculating means 10
The calculation of the coefficient in 4 is performed based on the following equation.

【0055】k=1−V/V0 …(1) ここで、kは係数を、Vは実速度データDvとして供給
されるモータ20の回転速度を、V0は速度データDv
0として供給される該モータ20の設定回転速度(高速
速度Vaまたは低速速度Vb)をそれぞれ表す。
K = 1-V / V0 (1) where k is a coefficient, V is the rotation speed of the motor 20 supplied as the actual speed data Dv, and V0 is the speed data Dv
The set rotation speed (high speed Va or low speed Vb) of the motor 20 supplied as 0 is indicated.

【0056】一方、係数電流値計算手段106での電流
値の計算は、次式に基づいて行われる。
On the other hand, the calculation of the current value in the coefficient current value calculation means 106 is performed based on the following equation.

【0057】I=k×Ic …(2) ここで、Iは電流値指令信号Sihとして出力される電
流値(モータ20に供給される交流電流の電流値と同
値)を、kは前記係数を、IcはリミットデータDiと
して供給される設定リミット値{設定電流値(高リミッ
ト値Iaまたは低リミット値Ib)}をそれぞれ表す。
I = k × Ic (2) where I is a current value output as the current value command signal Sih (same value as the AC current supplied to the motor 20), and k is the coefficient. , Ic respectively represent a set limit value {set current value (high limit value Ia or low limit value Ib)} supplied as limit data Di.

【0058】また、図3A〜図3Cに示すように、速度
スケジュール(図3Aに点線で示す)は、設定回転速度
が時点a〜cの期間では高速速度Vaとなり、時点c以
降は低速速度Vbとなるように設定されている。一方、
リミットスケジュール(図3Bに点線で示す)は、設定
リミット値が時点a〜dの期間では高リミット値Iaと
なり、時点d以降は低リミット値Ibとなるように設定
されている。なお、この設定回転速度並びに設定リミッ
ト値は、初期状態(時点a以前)では0であるものとす
る。図3Cは第1ガンアーム12に加わる加圧力の特性
を示す。
As shown in FIGS. 3A to 3C, the speed schedule (shown by a dotted line in FIG. 3A) is such that the set rotation speed becomes the high speed Va during the period of the time points a to c, and the low speed Vb after the time point c. It is set to be. on the other hand,
The limit schedule (shown by a dotted line in FIG. 3B) is set so that the set limit value becomes the high limit value Ia during the period from the time point a to d, and becomes the low limit value Ib after the time point d. The set rotation speed and the set limit value are assumed to be 0 in an initial state (before time point a). FIG. 3C shows the characteristics of the pressing force applied to the first gun arm 12.

【0059】また、タイミング検出部82は、設定回転
速度が高速速度Vaから低速速度Vbに変更された後、
モータ20の回転速度Vが低速速度Vbに到達したこと
を検出したとき、モータ20が低速速度Vbで駆動中に
該モータ20の回転速度Vの低下を検出したとき並びに
モータ20が同じく低速速度Vbで駆動中に該モータ2
0の停止を検出したときに、タイミング信号Stを出力
するように設定されている。
After the set rotation speed is changed from the high speed Va to the low speed Vb, the timing detection unit 82
When it is detected that the rotation speed V of the motor 20 has reached the low speed Vb, when the motor 20 detects a decrease in the rotation speed V of the motor 20 while driving at the low speed Vb, and when the motor 20 Motor 2
When the stop of 0 is detected, the timing signal St is set to be output.

【0060】また、時点a〜dの期間においては、セレ
クタ108からは偏差電流値計算手段70から供給され
る電流値指令信号Siaが選択的に出力されているもの
とする。
It is assumed that the current value command signal Sia supplied from the deviation current value calculation means 70 is selectively output from the selector 108 during the period from the time points a to d.

【0061】先ず、時点aにおいて、メインコントロー
ラ42から電流値計算手段102を構成する速度偏差計
算手段68に対して、速度データDv0として設定回転
速度(高速速度Va)が供給されるとともに、リミット
手段64に対して、リミットデータDiとして設定リミ
ット値(高リミット値Ia)が供給される(図1並びに
図2参照)。これに伴って、モータ20が始動する。
First, at a time point a, the set rotation speed (high speed Va) is supplied as speed data Dv0 from the main controller 42 to the speed deviation calculation means 68 constituting the current value calculation means 102, and the limit means The set limit value (high limit value Ia) is supplied to the H.64 as limit data Di (see FIGS. 1 and 2). Accordingly, the motor 20 starts.

【0062】すなわち、この時点aにおいて、モータ2
0の回転速度Vは0であるため、速度偏差計算手段68
からは、前記回転速度Vと設定回転速度(高速速度V
a)との偏差に基づいた正の値の速度偏差データDσが
出力される。この速度偏差データDσの供給に伴って、
偏差電流値計算手段70からは、モータ20を始動させ
るべく前記速度偏差データDσに基づいた正の値の電流
値指令信号Siaの出力が開始される。
That is, at this time point a, the motor 2
Since the rotation speed V of 0 is 0, the speed deviation calculating means 68
From the rotation speed V and the set rotation speed (high speed V
Speed deviation data Dσ having a positive value based on the deviation from a) is output. With the supply of the speed deviation data Dσ,
The deviation current value calculation means 70 starts outputting a positive current value command signal Sia based on the speed deviation data Dσ in order to start the motor 20.

【0063】モータ20の回転速度Vが高速速度Vaに
到達するまで、速度偏差計算手段68から出力される速
度偏差データDσの値は、前記モータ20の回転速度V
と高速速度Vaとの偏差に基づいた正の値となるため、
偏差電流値計算手段70から出力される電流値指令信号
Siaの値も前記偏差に基づいて正の値となり、該モー
タ20が加速し続ける(時点a〜bの期間、加速領
域)。この場合、電流値指令信号Siaが高リミット値
Iaを上回ると、リミット手段64からは、前記電流値
指令信号Siaの上限をこの高リミット値Iaで制限し
た電流値指令信号Sibが出力される。
Until the rotation speed V of the motor 20 reaches the high speed Va, the value of the speed deviation data Dσ output from the speed deviation calculation means 68 is
And a high value based on the deviation between the high speed Va and
The value of the current value command signal Sia output from the deviation current value calculation means 70 also becomes a positive value based on the deviation, and the motor 20 keeps accelerating (period a and b, acceleration region). In this case, when the current value command signal Sia exceeds the high limit value Ia, the limit means 64 outputs a current value command signal Sib in which the upper limit of the current value command signal Sia is limited by the high limit value Ia.

【0064】モータ20の回転速度Vが高速速度Vaに
到達すると、速度偏差計算手段68で計算される速度偏
差が略0となるため、偏差電流値計算手段70から出力
される電流値指令信号Siaの値は、モータ20の速度
を前記高速速度Vaに維持するために必要な値(ほぼ
0)まで低下する(時点b)。そして、モータ20は、
時点cまで高速速度Vaで等速駆動される(時点b〜c
の期間、高速駆動領域)。
When the rotation speed V of the motor 20 reaches the high speed Va, the speed deviation calculated by the speed deviation calculating means 68 becomes substantially zero, so that the current value command signal Sia output from the deviation current value calculating means 70 Decreases to a value (almost 0) necessary to maintain the speed of the motor 20 at the high speed Va (time point b). And the motor 20
Driving at a constant speed at high speed Va until time point c (time points b to c
Period, high-speed driving area).

【0065】時点cにおいて、メインコントローラ42
から速度データDv0として速度偏差計算手段68に供
給される設定回転速度が高速速度Vaから低速速度Vb
に変更される。このとき、モータ20の回転速度Vがこ
の低速速度Vbを上回ることとなるため、速度偏差計算
手段68からは、前記回転速度Vと低速速度Vbとの偏
差に基づいた負の値の速度偏差データDσが出力され
る。そして、偏差電流値計算手段70からは、モータ2
0を減速させるべく前記速度偏差データDσに基づいた
負の値の電流値指令信号Siaが出力される。これに伴
って、モータ20が減速し始める。
At time point c, the main controller 42
The set rotation speed supplied to the speed deviation calculating means 68 as speed data Dv0 from the high speed Va to the low speed Vb
Is changed to At this time, since the rotation speed V of the motor 20 exceeds the low speed Vb, the speed deviation calculating means 68 outputs a negative value of the speed deviation data based on the difference between the rotation speed V and the low speed Vb. Dσ is output. Then, the deviation current value calculation means 70 outputs the motor 2
A current value command signal Sia having a negative value based on the speed deviation data Dσ is output to decelerate 0. Along with this, the motor 20 starts to decelerate.

【0066】モータ20の回転速度Vが低速速度Vbに
到達するまで、速度偏差計算手段68から出力される速
度偏差データDσは、前記回転速度Vと低速速度Vbと
の偏差に基づいた負の値となるため、偏差電流値計算手
段70から出力される電流値指令信号Siaも、前記偏
差に基づいた負の値となり、該モータ20が減速し続け
る(時点c〜dの期間、減速領域)。
Until the rotation speed V of the motor 20 reaches the low speed Vb, the speed deviation data Dσ output from the speed deviation calculation means 68 is a negative value based on the difference between the rotation speed V and the low speed Vb. Therefore, the current value command signal Sia output from the deviation current value calculation means 70 also becomes a negative value based on the deviation, and the motor 20 continues to decelerate (the period from the time point c to d, the deceleration region).

【0067】モータ20の回転速度Vが低速速度Vbに
到達すると、速度偏差計算手段68で計算される速度偏
差がほぼ0となるため、電流値指令信号Siaの値は、
モータ20の速度を前記低速速度Vbに維持するために
必要な値(ほぼ0)まで上昇(絶対値として見た場合は
低下)する(時点d)。また、このとき、タイミング検
出部82は、モータ20の回転速度Vが前記低速速度V
bに到達したことを検出すると、メインコントローラ4
2およびセレクタ108に対してタイミング信号Stを
出力する。
When the rotation speed V of the motor 20 reaches the low speed Vb, the speed deviation calculated by the speed deviation calculating means 68 becomes almost 0, so that the value of the current value command signal Sia becomes
The speed of the motor 20 increases (decreases when viewed as an absolute value) to a value (almost 0) necessary to maintain the speed of the low speed Vb (time point d). At this time, the timing detecting section 82 determines that the rotation speed V of the motor 20 is equal to the low speed V
b, the main controller 4
2 and outputs a timing signal St to the selector 108.

【0068】メインコントローラ42は、このタイミン
グ信号Stに基づいて、リミット手段64にリミットデ
ータDiとして供給すべき設定リミット値を高リミット
値Iaから低リミット値Ibに変更する(図3A並びに
図3Bの時点d参照)。
The main controller 42 changes the set limit value to be supplied as the limit data Di to the limit means 64 from the high limit value Ia to the low limit value Ib based on the timing signal St (see FIGS. 3A and 3B). See time point d).

【0069】一方、セレクタ108は、前記タイミング
検出部82からのタイミング信号Stに基づいて、前記
偏差電流値計算手段70から供給される電流値指令信号
Siaに代えて、係数電流値計算手段106から供給さ
れる電流値指令信号Sihを出力する。これによって、
モータ20の動作モードが変更される。
On the other hand, based on the timing signal St from the timing detecting section 82, the selector 108 replaces the current value command signal Sia supplied from the deviation current value calculating means 70 with the coefficient current value calculating means 106. It outputs the supplied current value command signal Sih. by this,
The operation mode of the motor 20 is changed.

【0070】このとき、係数計算手段104は、前記速
度データDv0と実速度データDvとから前記(1)式
に基づく計算を行って係数kを求め、係数データDkと
して出力する。実際には、前記速度データDv0として
前記係数計算手段104に供給される設定回転速度V0
は低速速度Vbであり、また、実速度データDvとして
前記係数計算手段104に供給されるモータ20の回転
速度Vは前記低速速度Vbに到達しているため、V/V
0=1となり、この時点dで求められる係数kはほぼ0
となる。
At this time, the coefficient calculation means 104 calculates the coefficient k from the speed data Dv0 and the actual speed data Dv based on the equation (1), and outputs the coefficient k as the coefficient data Dk. Actually, the set rotation speed V0 supplied to the coefficient calculation means 104 as the speed data Dv0
Is the low speed Vb, and since the rotation speed V of the motor 20 supplied to the coefficient calculating means 104 as the actual speed data Dv has reached the low speed Vb, V / V
0 = 1, and the coefficient k obtained at this time point d is almost 0.
Becomes

【0071】係数電流値計算手段106は、前記係数計
算手段104からの係数データDkとメインコントロー
ラ42からのリミットデータDi(低リミット値Ib)
とに基づいて、前記(2)式に基づく計算を行って電流
値Iを求め、電流値指令信号Sihとして出力する。実
際には、係数データDkとして供給される係数kはほぼ
0であるため、ここで求められる電流値Iもほぼ0とな
る。
The coefficient current value calculating means 106 calculates the coefficient data Dk from the coefficient calculating means 104 and the limit data Di (low limit value Ib) from the main controller 42.
, A current value I is obtained by performing a calculation based on the above equation (2), and is output as a current value command signal Sih. Actually, since the coefficient k supplied as the coefficient data Dk is almost 0, the current value I obtained here is also almost 0.

【0072】この結果、モータ20にはトルクが発生せ
ず、低速速度Vbで等速駆動される(時点d〜eの期
間、ランディング領域)。ただし、モータ20の回転速
度Vに変動が生じた場合は、この変動を打ち消すための
電流値Iが(1)式および(2)式に基づいて求められ
てモータ20に供給される。
As a result, no torque is generated in the motor 20 and the motor 20 is driven at a constant speed at the low speed Vb (the period from the time point de to the time point e, the landing area). However, when the rotation speed V of the motor 20 fluctuates, a current value I for canceling the fluctuation is obtained based on the equations (1) and (2) and supplied to the motor 20.

【0073】第1ガンアーム12の先端部がワークW1
に衝突すると、該第1ガンアーム12の進路が遮られて
その前進速度が低下し、これに伴って、モータ20の回
転速度Vも低下する(時点e)。この場合、他方のワー
クW2には、第2ガンアーム14の先端部の溶接チップ
16bが当接しているものとする。そして、このとき、
(1)式におけるモータ20の回転速度Vが設定回転速
度V0(低速速度Vb)より小さくなるため、V/V0
<1となり、係数計算手段104で前記(1)式に基づ
いて求められる係数kは正の値となる。
The tip of the first gun arm 12 is the workpiece W1
When the collision occurs, the path of the first gun arm 12 is interrupted and its forward speed decreases, and accordingly, the rotation speed V of the motor 20 also decreases (time point e). In this case, it is assumed that the welding tip 16b at the tip of the second gun arm 14 is in contact with the other workpiece W2. And then,
Since the rotation speed V of the motor 20 in the equation (1) is lower than the set rotation speed V0 (low speed Vb), V / V0
<1, and the coefficient k obtained by the coefficient calculation unit 104 based on the above equation (1) is a positive value.

【0074】係数電流値計算手段106で(2)式に基
づいて求められる電流値Iは、該係数電流値計算手段1
06に係数データDkとして供給される係数kが正の値
であるため、同じく正の値となる。従って、モータ20
には正の電流値の交流電流が供給され、該モータ20に
トルクが発生する。
The current value I obtained by the coefficient current value calculating means 106 based on the equation (2) is
Since the coefficient k supplied as coefficient data Dk to 06 is a positive value, the coefficient k is also a positive value. Therefore, the motor 20
Is supplied with an AC current having a positive current value, and a torque is generated in the motor 20.

【0075】モータ20の回転速度Vが低下するに従っ
て、(1)式におけるV/V0の値が減少するため、係
数計算手段104で求められる係数kの値が上昇する。
これに応じて、係数電流値計算手段106で(2)式に
基づいて求められる電流値Iが徐々に上昇し、この電流
値Iに基づいてモータ20に発生するトルクも徐々に増
加する(時点e〜iの期間、衝突領域)。
As the rotational speed V of the motor 20 decreases, the value of V / V0 in the equation (1) decreases, and the value of the coefficient k obtained by the coefficient calculating means 104 increases.
In response to this, the current value I obtained by the coefficient current value calculating means 106 based on the expression (2) gradually increases, and the torque generated in the motor 20 also gradually increases based on the current value I (time point). e-i, collision area).

【0076】モータ20が停止すると、(1)式におけ
るモータ20の回転速度Vがほぼ0となるため、V/V
0=0となり、係数計算手段104で該(1)式に基づ
いて求められる係数kはほぼ1となる。従って、係数電
流値計算手段106で(2)式に基づいて求められる電
流値Iは、低リミット値Ibとほぼ同値となる。これに
伴って、モータ20には、前記低リミット値Ibに基づ
くトルクが発生する(時点i)。
When the motor 20 stops, the rotation speed V of the motor 20 in the equation (1) becomes substantially zero, and therefore V / V
0 = 0, and the coefficient k obtained by the coefficient calculating means 104 based on the equation (1) becomes substantially 1. Therefore, the current value I obtained by the coefficient current value calculation means 106 based on the equation (2) is substantially equal to the low limit value Ib. Accordingly, a torque based on the low limit value Ib is generated in the motor 20 (time i).

【0077】そして、前記モータ20には、該モータ2
0が停止している限りは前記低リミット値Ibに基づく
ほぼ一定のトルクが発生する。従って、第1ガンアーム
12および第2ガンアーム14は、このトルクに伴って
該第1ガンアーム12および第2ガンアーム14の間に
生じるほぼ一定の加圧力によってワークW1、W2を加
圧する(時点i以降、加圧領域)。
The motor 20 includes the motor 2
As long as 0 is stopped, a substantially constant torque is generated based on the low limit value Ib. Therefore, the first gun arm 12 and the second gun arm 14 press the workpieces W1 and W2 with a substantially constant pressing force generated between the first gun arm 12 and the second gun arm 14 due to this torque (after time i). Pressurized area).

【0078】なお、前記時点iにタイミング検出部82
からセレクタ108にタイミング信号Stを供給し、該
セレクタ108から出力する信号を電流値指令信号Si
hから電流値指令信号Siaに変更してモータ20の動
作モードを再び変更するようにしてもよい。
At the time point i, the timing detector 82
Supplies the timing signal St to the selector 108, and outputs the signal output from the selector 108 to the current value command signal Si.
The operation mode of the motor 20 may be changed again by changing from h to the current value command signal Sia.

【0079】このように、本実施例においては、時点d
にタイミング検出部82からセレクタ108に対して出
力されるタイミング信号Stに基づいて、電流値計算手
段102で行われる処理は、モータ20の回転速度Vと
設定回転速度とに基づく速度偏差から電流値指令信号S
iaを求める処理から、前記回転速度Vと設定回転速度
並びに設定リミット値から前記(1)式および(2)式
に基づく電流値指令信号Sihを求める処理に変更され
る。
As described above, in the present embodiment, at the time point d
The processing performed by the current value calculating means 102 based on the timing signal St output from the timing detection section 82 to the selector 108 is based on the speed deviation based on the rotation speed V of the motor 20 and the set rotation speed. Command signal S
The process for obtaining ia is changed to a process for obtaining the current value command signal Sih based on the above equations (1) and (2) from the rotation speed V, the set rotation speed and the set limit value.

【0080】そして、この(1)式および(2)式は、
モータ20の回転速度Vが低下するに従って前記電流値
指令信号Sihがこの回転速度Vの低下に反比例して上
昇するように設定されているため、第1ガンアーム12
がワークW1に衝突して前記モータ20が減速したとき
に、該モータ20に瞬間的に大きなトルクが発生し、該
第1ガンアーム12に振動の原因となるような弾性変形
が生じることを回避することができる。
The expressions (1) and (2) are
Since the current value command signal Sih is set to increase in inverse proportion to the decrease in the rotation speed V as the rotation speed V of the motor 20 decreases, the first gun arm 12
When the motor 20 decelerates by colliding with the workpiece W1, a large torque is instantaneously generated in the motor 20 to prevent the first gun arm 12 from being elastically deformed to cause vibration. be able to.

【0081】従って、このような簡易な計算式に基づい
てモータ20に供給すべき電流の電流値を計算すること
によって、衝突領域(図3A〜図3Cの時点e〜iの期
間)が短縮され、溶接時間にロスが生じることが回避さ
れる。さらに、係数計算手段104および係数電流値計
算手段106の構成を簡素化することができる。
Accordingly, by calculating the current value of the current to be supplied to the motor 20 based on such a simple calculation formula, the collision area (the period between time points e and i in FIGS. 3A to 3C) is reduced. Thus, a loss in welding time is avoided. Further, the configurations of the coefficient calculating means 104 and the coefficient current value calculating means 106 can be simplified.

【0082】比較例 次に、本発明の特徴を明確にするために、本実施の形態
(実施例)に対する比較例について説明する。
Comparative Example Next, in order to clarify the features of the present invention, a comparative example with respect to the present embodiment (example) will be described.

【0083】先ず、第1の比較例について、図4〜図7
Cを参照しながら説明する。
First, a first comparative example will be described with reference to FIGS.
This will be described with reference to C.

【0084】図4に示すように、第1の比較例に係る制
御装置40は、図1に示す本実施の形態に係る制御装置
100に対して、タイミング検出部82を有しない構成
とされている。また、電流値計算手段62には、リミッ
トデータDiは供給されない。
As shown in FIG. 4, the control device 40 according to the first comparative example is different from the control device 100 according to the present embodiment shown in FIG. I have. Further, no limit data Di is supplied to the current value calculation means 62.

【0085】さらに、図5に示すように、電流値計算手
段62は、図2に示す電流値計算手段102に対して、
係数計算手段104、係数電流値計算手段106および
セレクタ108を有しない構成とされている。即ち、リ
ミット手段64には、偏差電流値計算手段70からの電
流値指令信号Siaのみが供給される。
Further, as shown in FIG. 5, the current value calculating means 62 is different from the current value calculating means 102 shown in FIG.
The configuration does not include the coefficient calculation means 104, the coefficient current value calculation means 106, and the selector 108. That is, only the current value command signal Sia from the deviation current value calculation means 70 is supplied to the limit means 64.

【0086】続いて、前記実施例と同じ速度スケジュー
ルおよびリミットスケジュール(図3Aおよび図3B参
照)で、第1の比較例に係る制御装置40による溶接装
置10の駆動を行った場合の動作形態について説明す
る。
Next, an operation mode in the case where the welding device 10 is driven by the control device 40 according to the first comparative example with the same speed schedule and limit schedule (see FIGS. 3A and 3B) as in the above embodiment. explain.

【0087】時点a〜dの期間では、前記実施例の場合
(図3A〜図3C参照)とほぼ同じ処理が行われる。
In the period from the time point a to the time point d, almost the same processing as in the case of the above embodiment (see FIGS. 3A to 3C) is performed.

【0088】時点dにおいて、モータ20の回転速度V
が低速速度Vbに到達すると、電流値計算手段62で計
算される速度偏差がほぼ0となるため、電流値指令信号
Siaの値は、モータ20の速度を前記低速速度Vbに
維持するために必要な値(ほぼ0)まで上昇(絶対値と
して見た場合は低下)する。また、この後、メインコン
トローラ42からリミット手段64にリミットデータD
iとして供給される設定リミット値が高リミット値Ia
から低リミット値Ibに変更される。そして、モータ2
0は、第1ガンアーム12の先端部(溶接チップ16
a)がワークW1に衝突するまでこの低速速度Vbで等
速駆動される(時点d〜eの期間、ランディング領
域)。
At time d, the rotational speed V of the motor 20
When the motor speed reaches the low speed Vb, the speed deviation calculated by the current value calculation means 62 becomes substantially zero. Therefore, the value of the current value command signal Sia is necessary to maintain the speed of the motor 20 at the low speed Vb. Value (almost 0) (lower when viewed as an absolute value). After that, the limit data D is sent from the main controller 42 to the limit means 64.
The set limit value supplied as i is the high limit value Ia
To the low limit value Ib. And motor 2
0 is the tip of the first gun arm 12 (welding tip 16
The drive is driven at a constant speed at the low speed Vb until the point a) collides with the workpiece W1 (a period from time de to time e, a landing area).

【0089】第1ガンアーム12の先端部がワークW1
に衝突すると、該第1ガンアーム12の進路が遮られて
その前進速度が低下し、これに伴って、モータ20の回
転速度Vも低下する。このモータ20の回転速度Vの低
下によって、該回転速度Vが低速速度Vbを下回ること
となるため、速度偏差計算手段68からは、前記回転速
度Vと低速速度Vbとの偏差に基づいて正の値の速度偏
差データDσが出力される。そして、偏差電流値計算手
段70からは、モータ20を加速させるべく前記速度偏
差データDσに基づいた正の値の電流値指令信号Sia
が出力される。これに伴って、モータ20には正方向の
トルクが発生する(時点e)。
The tip of the first gun arm 12 is the workpiece W1
When the collision occurs, the path of the first gun arm 12 is interrupted and its forward speed decreases, and accordingly, the rotation speed V of the motor 20 also decreases. Since the rotation speed V falls below the low speed Vb due to the decrease in the rotation speed V of the motor 20, the speed deviation calculating means 68 outputs a positive value based on the difference between the rotation speed V and the low speed Vb. The value speed deviation data Dσ is output. Then, the deviation current value calculation means 70 outputs a positive current value command signal Sia based on the speed deviation data Dσ to accelerate the motor 20.
Is output. Accordingly, a forward torque is generated in the motor 20 (time e).

【0090】時点eにおいて第1ガンアーム12の先端
部がワークW1に衝突した後、モータ20の回転速度V
が急激に低下するため、これに伴って、速度偏差計算手
段68から出力される速度偏差データDσの値が急上昇
する。そして、この速度偏差データDσに基づいて偏差
電流値計算手段70から出力される電流値指令信号Si
aの値も、急上昇して瞬時に上限値(低リミット値I
b)に到達する。この結果、リミット手段64からは、
低リミット値Ibと略同値の電流値指令信号Sibが継
続して出力される(時点e〜fの期間、衝突領域)。
After the tip of the first gun arm 12 collides with the work W1 at time point e, the rotation speed V
Rapidly decreases, and accordingly, the value of the speed deviation data Dσ output from the speed deviation calculating means 68 sharply increases. The current value command signal Si output from the deviation current value calculation means 70 based on the speed deviation data Dσ
The value of “a” also rises rapidly and instantaneously reaches the upper limit value (low limit value I).
b) is reached. As a result, from the limit means 64,
The current value command signal Sib having substantially the same value as the low limit value Ib is continuously output (period between the time points ef and the collision area).

【0091】そして、モータ20が停止すると、該モー
タ20には前記電流値指令信号Sibに基づく一定のト
ルクが発生し、このトルクによって、前記第1ガンアー
ム12および第2ガンアーム14がワークW1、W2を
一定の加圧力で加圧する(時点f以降、加圧領域)。
When the motor 20 stops, a constant torque is generated in the motor 20 based on the current value command signal Sib, and this torque causes the first gun arm 12 and the second gun arm 14 to move the workpieces W1 and W2. Is pressurized with a constant pressing force (a pressurized region after time point f).

【0092】ところで、この第1の比較例においては、
第1ガンアーム12がワークW1に衝突した後、電流値
指令信号Siaの値が急激に上昇するため、モータ20
には、低リミット値Ibと略同値の電流値指令信号Si
bに基づくトルクが瞬時に発生する。これによって、第
1ガンアーム12および第2ガンアーム14にも加圧力
が瞬時に加わることとなり、この加圧力によって前記第
1ガンアーム12および第2ガンアーム14に弾性変形
が生じ、この弾性変形が復元するときに振動が発生する
(図6A〜図6Cの時点e〜fの期間参照)。従って、
前記実施例の場合と比べて、第1ガンアーム12および
第2ガンアーム14が停止して溶接を行うことができる
状態となるまでに多くの時間を要し、このため、溶接時
間にロスが生じる(図7A並びに図7B参照)。
Incidentally, in the first comparative example,
After the first gun arm 12 collides with the work W1, the value of the current value command signal Sia sharply increases,
Includes a current value command signal Si substantially equal to the low limit value Ib.
The torque based on b is instantaneously generated. As a result, the pressing force is also instantaneously applied to the first gun arm 12 and the second gun arm 14, and the pressing force causes the first gun arm 12 and the second gun arm 14 to undergo elastic deformation. (Refer to the period from time point ef to time point f in FIGS. 6A to 6C). Therefore,
Compared to the case of the above-described embodiment, it takes much time until the first gun arm 12 and the second gun arm 14 are stopped and a state in which welding can be performed, so that welding time is lost ( 7A and 7B).

【0093】次に、第2の比較例について、図7A〜図
10Cを参照しながら説明する。
Next, a second comparative example will be described with reference to FIGS. 7A to 10C.

【0094】図8に示すように、第2の比較例に係る制
御装置80においては、図1に示す本実施の形態に係る
制御装置100に対して、電流値計算手段84にはメイ
ンコントローラ42からのリミットデータDiが供給さ
れない構成とされている。
As shown in FIG. 8, the control device 80 according to the second comparative example differs from the control device 100 according to the present embodiment shown in FIG. Is not supplied.

【0095】そして、図9に示す前記電流値計算手段8
4は、図5に示す電流値計算手段62に対して、偏差電
流値計算手段70からの電流値指令信号Siaの増減率
を所定の傾斜状に制限して電流値指令信号Sigとして
出力する増減率制限手段86を有して構成されている。
そして、この増減率制限手段86は、タイミング検出部
82からのタイミング信号Stに基づいて、前記電流値
指令信号Siaの増減率を制限する処理を開始または停
止する。
Then, the current value calculating means 8 shown in FIG.
Reference numeral 4 denotes an increase / decrease that outputs a current value command signal Sig by limiting the rate of increase / decrease of the current value command signal Sia from the deviation current value calculation means 70 to the current value calculation means 62 shown in FIG. It has a rate limiting means 86.
The rate-of-change limiting means 86 starts or stops the process of limiting the rate of change of the current value command signal Sia based on the timing signal St from the timing detecting section 82.

【0096】続いて、前記実施例と同じ速度スケジュー
ルおよびリミットスケジュール(図3Aおよび図3B参
照)で、第2の比較例に係る制御装置80による溶接装
置10の駆動を行った場合の動作形態について説明す
る。
Next, an operation mode in the case where the welding device 10 is driven by the control device 80 according to the second comparative example with the same speed schedule and limit schedule (see FIGS. 3A and 3B) as in the above embodiment. explain.

【0097】時点a〜dの期間(時点dを含む)では、
前記実施例の場合(図3A〜図3C参照)とほぼ同じ処
理が行われる(ただし、セレクタ108等における処理
を除く)。
In the period between time points a and d (including time point d),
Almost the same processing as in the case of the above-described embodiment (see FIGS. 3A to 3C) is performed (except for the processing in the selector 108 and the like).

【0098】時点eにおいて第1ガンアーム12の先端
部がワークW1に衝突した後、モータ20の回転速度V
が急激に低下するため、これに伴って、速度偏差計算手
段68から出力される速度偏差データDσの値が急激に
上昇する。そして、この速度偏差データDσに基づいて
偏差電流値計算手段70から出力される電流値指令信号
Siaも急上昇する(時点e〜gの期間、第1衝突領
域)。
After the tip of the first gun arm 12 collides with the workpiece W1 at time point e, the rotation speed V
Rapidly decreases, and accordingly, the value of the speed deviation data Dσ output from the speed deviation calculating means 68 rapidly increases. Then, the current value command signal Sia output from the deviation current value calculation means 70 based on the speed deviation data Dσ also sharply rises (a period of time points e to g, the first collision area).

【0099】タイミング検出部82は、モータ20の設
定回転速度が低速速度Vbであるときに該モータ20の
回転速度Vが低下したことを検出すると、電流値計算手
段84の増減率制限手段86に対してタイミング信号S
tを出力する(時点g)。増減率制限手段86は、この
タイミング検出部82からのタイミング信号Stに基づ
いて、偏差電流値計算手段70から供給される電流値指
令信号Siaの増減率を所定の傾斜状に制限して電流値
指令信号Sigとして出力する処理を開始する。そし
て、この電流値指令信号Sigが低リミット値Ibに到
達すると、リミット手段64からは、低リミット値Ib
と略同値の電流値指令信号Sibが継続して出力される
(時点g〜hの期間、第2衝突領域)。
When the timing detecting section 82 detects that the rotation speed V of the motor 20 has decreased when the set rotation speed of the motor 20 is the low speed Vb, the timing detection section 82 supplies the change rate limiting means 86 of the current value calculation means 84 to the change rate limiting means 86. On the other hand, the timing signal S
t is output (time point g). The increase / decrease rate limiting means 86 limits the increase / decrease rate of the current value command signal Sia supplied from the deviation current value calculation means 70 to a predetermined slope based on the timing signal St from the timing detection section 82, and The process of outputting the command signal Sig is started. When the current value command signal Sig reaches the low limit value Ib, the limit means 64 outputs the low limit value Ib.
The current value command signal Sib having substantially the same value as the above is continuously output (period between time points g and h, the second collision area).

【0100】モータ20が停止すると、該モータ20に
は、前記電流値指令信号Sib(低リミット値Ibと同
値)に基づくほぼ一定のトルクが発生し、このトルクに
よって、前記第1ガンアーム12および第2ガンアーム
14がワークW1、W2を一定の加圧力で加圧する(時
点h以降、加圧領域)。なお、タイミング検出部82に
おいて、モータ20が停止したことが検出されると、該
タイミング検出部82から電流値計算手段84の増減率
制限手段86に対してタイミング信号Stが出力され
る。増減率制限手段86は、このタイミング検出部82
からのタイミング信号Stに基づいて、偏差電流値計算
手段70から供給される電流値指令信号Siaの増減率
を制限する処理を停止する。
When the motor 20 stops, a substantially constant torque is generated in the motor 20 based on the current value command signal Sib (same value as the low limit value Ib), and this torque causes the first gun arm 12 and the first The two-gun arm 14 presses the works W1 and W2 with a constant pressing force (a pressurizing region after time point h). When the timing detecting section 82 detects that the motor 20 has stopped, the timing detecting section 82 outputs a timing signal St to the increase / decrease rate limiting section 86 of the current value calculating section 84. The increase / decrease rate limiting means 86 is provided with the timing detecting section 82
Based on the timing signal St, the processing for limiting the rate of increase / decrease of the current value command signal Sia supplied from the deviation current value calculation means 70 is stopped.

【0101】このように、第2の比較例においては、設
定回転速度が低速速度Vbであるときにモータ20の回
転速度Vの低下が検出されるとタイミング検出部82か
ら出力されるタイミング信号Stに基づいて、増減率制
限手段86における電流値指令信号Siaの増減率を制
限する処理が開始されるため、第1ガンアーム12の先
端部がワークW1に衝突するときの衝撃を緩衝すること
ができる。
As described above, in the second comparative example, when a decrease in the rotation speed V of the motor 20 is detected when the set rotation speed is the low speed Vb, the timing signal St output from the timing detection section 82 is detected. , The process of limiting the rate of increase / decrease of the current value command signal Sia in the rate-of-change limiting means 86 is started, so that the impact when the tip of the first gun arm 12 collides with the workpiece W1 can be buffered. .

【0102】しかし、前記第1ガンアーム12とワーク
W1との衝突後からこの増減率の制限の開始までの間に
前記電流値指令信号Siaの急上昇が見られるため、第
1の比較例の場合と同様に、前記第1ガンアーム12お
よび第2ガンアーム14に振動が発生した。従って、こ
の第2の比較例においては、前記実施例の場合と比べ
て、溶接時間のロスを減少させる効果は十分には得られ
なかった(図7A並びに図7C参照)。
However, since the current value command signal Sia sharply rises after the collision between the first gun arm 12 and the work W1 and before the start of the limitation of the increase / decrease rate, the first comparative example is different from the first comparative example. Similarly, vibration was generated in the first gun arm 12 and the second gun arm 14. Therefore, in the second comparative example, the effect of reducing the welding time loss was not sufficiently obtained as compared with the case of the above-described example (see FIGS. 7A and 7C).

【0103】以上のように、本実施の形態に係る制御装
置100においては、前記第1および第2の比較例に対
して優れた振動抑制効果が得られ、このため、溶接時間
の短縮が実現される。
As described above, in the control device 100 according to the present embodiment, an excellent vibration suppression effect is obtained as compared with the first and second comparative examples, and therefore, the welding time is reduced. Is done.

【0104】[0104]

【発明の効果】本発明に係る溶接用ガンアームの駆動制
御装置および駆動制御方法によれば、ガンアームがワー
クに接近する方向に変位して該ワークに衝突した後に停
止して該ワークを加圧する動作を好適に制御することに
よって、該ガンアームが前記ワークに衝突する際に振動
が発生することが抑制され、溶接時間の短縮が実現され
る。
According to the drive control device and the drive control method for a welding gun arm according to the present invention, the operation of displacing the gun arm in the direction approaching the work, stopping after the collision with the work, and pressing the work is performed. , The occurrence of vibration when the gun arm collides with the work is suppressed, and the welding time is shortened.

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

【図1】本実施の形態に係る制御装置のブロック図であ
る。
FIG. 1 is a block diagram of a control device according to the present embodiment.

【図2】本実施の形態に係る電流値計算手段の構成を示
すブロック図である。
FIG. 2 is a block diagram showing a configuration of a current value calculating unit according to the present embodiment.

【図3】本実施例におけるモータの動作を示すグラフで
あり、図3Aは、モータの実際の回転速度並びに設定回
転速度を示し、図3Bは、モータに供給すべき交流電流
の電流値並びにリミット値を示し、図3Cは、ガンアー
ムに生じる加圧力を示す図である。
3A and 3B are graphs showing the operation of the motor in the present embodiment, FIG. 3A shows the actual rotation speed and the set rotation speed of the motor, and FIG. 3B shows the current value and the limit of the AC current to be supplied to the motor. FIG. 3C is a diagram showing the pressure applied to the gun arm.

【図4】第1の比較例に係る制御装置のブロック図であ
る。
FIG. 4 is a block diagram of a control device according to a first comparative example.

【図5】第1の比較例に係る電流値計算手段の構成を示
すブロック図である。
FIG. 5 is a block diagram illustrating a configuration of a current value calculating unit according to a first comparative example.

【図6】第1の比較例におけるモータの動作を示すグラ
フであり、図6Aは、モータの実際の回転速度並びに設
定回転速度を示し、図6Bは、モータに供給すべき交流
電流の電流値並びにリミット値を示し、図6Cは、ガン
アームに生じる加圧力を示す図である。
6 is a graph showing the operation of the motor in the first comparative example, FIG. 6A shows the actual rotation speed and the set rotation speed of the motor, and FIG. 6B shows the current value of the AC current to be supplied to the motor. FIG. 6C is a diagram showing a pressing force generated in the gun arm.

【図7】図7Aは、本実施例においてガンアームに生じ
る加圧力を示し、図7Bは、第1の比較例においてガン
アームに生じる加圧力を示し、図7Cは、第2の比較例
においてガンアームに生じる加圧力を示す図である。
7A shows a pressing force generated on the gun arm in the present embodiment, FIG. 7B shows a pressing force generated on the gun arm in the first comparative example, and FIG. 7C shows a pressing force on the gun arm in the second comparative example. It is a figure which shows the pressurizing force which arises.

【図8】第2の比較例に係る制御装置のブロック図であ
る。
FIG. 8 is a block diagram of a control device according to a second comparative example.

【図9】第2の比較例に係る電流値計算手段の構成を示
すブロック図である。
FIG. 9 is a block diagram illustrating a configuration of a current value calculation unit according to a second comparative example.

【図10】第2の比較例におけるモータの動作を示すグ
ラフであり、図10Aは、モータの実際の回転速度並び
に設定回転速度を示し、図10Bは、モータに供給すべ
き交流電流の電流値並びにリミット値を示し、図10C
は、ガンアームに生じる加圧力を示す図である。
10 is a graph showing the operation of the motor in the second comparative example, FIG. 10A shows the actual rotation speed and the set rotation speed of the motor, and FIG. 10B shows the current value of the AC current to be supplied to the motor. FIG. 10C
FIG. 4 is a diagram showing a pressing force generated in a gun arm.

【符号の説明】[Explanation of symbols]

10…溶接装置 12…第1ガンアー
ム 14…第2ガンアーム 20…モータ 42…メインコントローラ 50…速度制御部 54…電流制御部 60…サーボアンプ 64…リミット手段 68…速度偏差計算手段(第1演算手段) 70…偏差電流値計算手段(第1演算手段) 82…タイミング検出部(タイミング検出手段) 100…制御装置 102…電流値計算
手段 104…係数計算手段(第2演算手段) 106…係数電流値計算手段(第2演算手段) 108…セレクタ(切換手段)
DESCRIPTION OF SYMBOLS 10 ... Welding device 12 ... 1st gun arm 14 ... 2nd gun arm 20 ... Motor 42 ... Main controller 50 ... Speed control part 54 ... Current control part 60 ... Servo amplifier 64 ... Limit means 68 ... Speed deviation calculation means (1st calculation means) ) 70: deviation current value calculation means (first calculation means) 82: timing detection section (timing detection means) 100: control device 102: current value calculation means 104: coefficient calculation means (second calculation means) 106: coefficient current value Calculation means (second calculation means) 108 ... selector (switching means)

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】ワークに対して溶接を行うためのガンアー
ムを駆動するモータの動作を制御する装置であって、 前記モータの動作スケジュールを管理するメインコント
ローラと、 前記動作スケジュールに基づいて、前記モータに供給す
べき電流値を求める電流値計算手段と、 前記電流値計算手段からの電流値に基づく電流を前記モ
ータに供給するサーボアンプとを有し、 前記電流値計算手段は、前記モータの設定速度と実際の
回転速度との偏差から前記電流値を求める第1演算手段
と、 前記設定速度、回転速度および所定の設定電流値から所
定の計算式に基づく計算を行って前記電流値を求める第
2演算手段とを有して構成されていることを特徴とする
溶接用ガンアームの駆動制御装置。
An apparatus for controlling the operation of a motor that drives a gun arm for performing welding on a workpiece, comprising: a main controller that manages an operation schedule of the motor; and a motor that is controlled based on the operation schedule. And a servo amplifier for supplying a current based on the current value from the current value calculation unit to the motor, wherein the current value calculation unit sets the motor. First calculating means for calculating the current value from a deviation between the speed and the actual rotation speed; and calculating the current value by performing a calculation based on a predetermined formula from the set speed, the rotation speed and a predetermined set current value. A drive control apparatus for a welding gun arm, comprising: two arithmetic means.
【請求項2】請求項1記載の溶接用ガンアームの駆動制
御装置において、 前記第1演算手段で求められた電流値と前記第2演算手
段で求められた電流値とを切り換えて出力する切換手段
を有して構成されていることを特徴とする溶接用ガンア
ームの駆動制御装置。
2. A drive control device for a welding gun arm according to claim 1, wherein said switching means outputs a current value obtained by said first calculation means and a current value obtained by said second calculation means. A drive control device for a welding gun arm, characterized by comprising:
【請求項3】請求項2記載の溶接用ガンアームの駆動制
御装置において、 前記設定速度と前記回転速度とに基づく所定のタイミン
グに信号を出力するタイミング検出手段を有し、前記切
換手段はこのタイミング検出手段からの信号に基づいて
切換動作を行うことを特徴とする溶接用ガンアームの駆
動制御装置。
3. A drive control device for a welding gun arm according to claim 2, further comprising timing detection means for outputting a signal at a predetermined timing based on said set speed and said rotation speed, and wherein said switching means performs said timing. A drive control device for a welding gun arm, wherein the switching operation is performed based on a signal from a detection means.
【請求項4】請求項1〜3のいずれか1項に記載の溶接
用ガンアームの駆動制御装置において、 前記第2演算手段における電流値を求めるための計算式
は、該電流値が前記モータの回転速度の変化に対して傾
斜状に変化するとともに、前記回転速度が前記設定速度
と同じときには該電流値が0となり、前記回転速度が0
であるときには該電流値が前記設定電流値となるように
構成されていることを特徴とする溶接用ガンアームの駆
動制御装置。
4. The drive control device for a welding gun arm according to claim 1, wherein a calculation formula for obtaining a current value in said second calculating means is such that the current value of said motor is The current value becomes 0 when the rotation speed is the same as the set speed, and the current value becomes 0, and the rotation speed becomes 0.
Wherein the current value is equal to the set current value.
【請求項5】請求項4記載の溶接用ガンアームの駆動制
御装置において、 前記計算式は、前記電流値をI、前記設定速度をV0、
前記回転速度をV、前記設定電流値をIcとするとき、 I=(1−V/V0)×Ic であることを特徴とする溶接用ガンアームの駆動制御装
置。
5. The drive control apparatus for a welding gun arm according to claim 4, wherein the calculation expression is such that the current value is I, the set speed is V0, and
When the rotation speed is V and the set current value is Ic, I = (1−V / V0) × Ic.
【請求項6】ワークに対して溶接を行うためのガンアー
ムを駆動するモータの動作を制御する方法であって、 前記ガンアームが前記ワークに接近して衝突した後に停
止して該ワークを加圧する一連の動作を、前記ガンアー
ムが前記ワークに接近する接近段階と、前記ガンアーム
が前記ワークに衝突して停止する衝突停止段階とで、前
記モータの動作モードを変更して行うことを特徴とする
溶接用ガンアームの駆動制御方法。
6. A method for controlling an operation of a motor for driving a gun arm for performing welding on a workpiece, the method comprising: stopping the gun arm after approaching and colliding with the workpiece to pressurize the workpiece. The operation of the motor is changed in an approaching step in which the gun arm approaches the work and in a collision stopping step in which the gun arm collides with the work and stops. Drive control method for gun arm.
【請求項7】請求項6記載の溶接用ガンアームの駆動制
御方法において、 前記モータに供給される電流値は、前記接近段階では、
前記モータの設定回転速度と実際の回転速度との偏差に
基づいて求められ、 前記衝突停止段階では、前記モータの設定回転速度、実
際の回転速度および所定の設定電流値とから所定の計算
式に基づいて求められることを特徴とする溶接用ガンア
ームの駆動制御方法。
7. The drive control method for a welding gun arm according to claim 6, wherein the current value supplied to the motor is:
It is determined based on the deviation between the set rotation speed of the motor and the actual rotation speed.In the collision stop stage, a predetermined calculation formula is obtained from the set rotation speed of the motor, the actual rotation speed, and a predetermined set current value. A drive control method for a welding gun arm, wherein the method is obtained based on the following.
【請求項8】請求項7記載の溶接用ガンアームの駆動制
御方法において、 前記計算式は、前記モータに供給される電流値が前記モ
ータの実際の回転速度の変化に対して傾斜状に変化する
とともに、前記回転速度が設定回転速度と同じときには
前記電流値が0となり、前記モータが停止してその実際
の回転速度が0となったときには前記電流値が前記設定
電流値となるように構成されていることを特徴とする溶
接用ガンアームの駆動制御方法。
8. The drive control method for a welding gun arm according to claim 7, wherein in the calculation formula, a current value supplied to the motor changes in an inclined manner with respect to a change in an actual rotation speed of the motor. When the rotation speed is the same as the set rotation speed, the current value becomes 0, and when the motor stops and the actual rotation speed becomes 0, the current value becomes the set current value. A drive control method for a welding gun arm, characterized in that:
【請求項9】請求項8記載の溶接用ガンアームの駆動制
御方法において、 前記計算式は、前記モータに供給される電流値をI、前
記設定電流値をIc、前記モータの設定回転速度をV
0、前記モータの実際の回転速度をVとするとき、 I=(1−V/V0)×Ic であることを特徴とする溶接用ガンアームの駆動制御方
法。
9. The drive control method for a welding gun arm according to claim 8, wherein the calculation expression is such that the current value supplied to the motor is I, the set current value is Ic, and the set rotation speed of the motor is V.
0. A drive control method for a welding gun arm, wherein I = (1−V / V0) × Ic, where V is an actual rotation speed of the motor.
【請求項10】ワークに対して溶接を行うためのガンア
ームを駆動するモータの動作を制御する方法であって、 前記ガンアームが前記ワークに接近して衝突した後に停
止して該ワークを加圧する一連の動作において、前記モ
ータに供給される電流値は、前記モータの設定回転速
度、実際の回転速度および所定の設定電流値とから所定
の計算式に基づいて求められることを特徴とする溶接用
ガンアームの駆動制御方法。
10. A method for controlling an operation of a motor for driving a gun arm for performing welding on a work, comprising: Wherein the current value supplied to the motor is obtained from a set rotational speed of the motor, an actual rotational speed, and a predetermined set current value based on a predetermined calculation formula. Drive control method.
【請求項11】請求項10記載の溶接用ガンアームの駆
動制御方法において、 前記計算式は、前記モータに供給される電流値が前記モ
ータの実際の回転速度の変化に対して傾斜状に変化する
とともに、前記回転速度が設定回転速度と同じときには
前記電流値が0となり、前記モータが停止してその実際
の回転速度が0となったときには前記電流値が前記設定
電流値となるように構成されていることを特徴とする溶
接用ガンアームの駆動制御方法。
11. The drive control method for a welding gun arm according to claim 10, wherein the calculation expression is such that a current value supplied to the motor changes in an inclined manner with respect to a change in an actual rotation speed of the motor. When the rotation speed is the same as the set rotation speed, the current value becomes 0, and when the motor stops and the actual rotation speed becomes 0, the current value becomes the set current value. A drive control method for a welding gun arm, characterized in that:
【請求項12】請求項11記載の溶接用ガンアームの駆
動制御方法において、 前記計算式は、前記モータに供給される電流値をI、前
記設定電流値をIc、前記モータの設定回転速度をV
0、前記モータの実際の回転速度をVとするとき、 I=(1−V/V0)×Ic であることを特徴とする溶接用ガンアームの駆動制御方
法。
12. The method for controlling the drive of a welding gun arm according to claim 11, wherein the calculation formula is such that a current value supplied to the motor is I, the set current value is Ic, and a set rotation speed of the motor is V.
0. A drive control method for a welding gun arm, wherein I = (1−V / V0) × Ic, where V is an actual rotation speed of the motor.
JP06879498A 1998-03-18 1998-03-18 Drive control device and drive control method for welding gun arm Expired - Fee Related JP3692233B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP06879498A JP3692233B2 (en) 1998-03-18 1998-03-18 Drive control device and drive control method for welding gun arm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP06879498A JP3692233B2 (en) 1998-03-18 1998-03-18 Drive control device and drive control method for welding gun arm

Publications (2)

Publication Number Publication Date
JPH11267854A true JPH11267854A (en) 1999-10-05
JP3692233B2 JP3692233B2 (en) 2005-09-07

Family

ID=13383996

Family Applications (1)

Application Number Title Priority Date Filing Date
JP06879498A Expired - Fee Related JP3692233B2 (en) 1998-03-18 1998-03-18 Drive control device and drive control method for welding gun arm

Country Status (1)

Country Link
JP (1) JP3692233B2 (en)

Also Published As

Publication number Publication date
JP3692233B2 (en) 2005-09-07

Similar Documents

Publication Publication Date Title
JP4983812B2 (en) Robot control method and control apparatus
US10108182B2 (en) Motor control apparatus
KR20120136392A (en) Motor control apparatus
US7888893B2 (en) Control apparatus and method for linear synchronous motor
JP2008022678A (en) Electric motor drive unit and electric motor braking method
EP0216940B1 (en) Device for controlling injection pressure of injection molding machine
JP3692233B2 (en) Drive control device and drive control method for welding gun arm
JPH09109220A (en) Method and apparatus for controlling injection molding machine
JP2957557B1 (en) Bonding tool support mechanism of bonding apparatus and method of controlling vertical movement of bonding tool
JPH06114762A (en) Vibration damping control method
JP3647255B2 (en) Driving control method of welding gun arm
JP2007021888A (en) Injection molding machine and injection shaft controlling method
JP2013086247A (en) Electric discharge machining device and method of controlling the same
JPH11267852A (en) Driving control of welding gun arm
JP6898759B2 (en) Injection molding machines and industrial machinery
JP6987272B2 (en) How to operate the dual mode motion control system and piezo motor
JP3049543B2 (en) Injection molding machine protection device
JP4607784B2 (en) Travel control device
JP2011062794A (en) Robot system
JP2007259640A (en) Motor control device
JP4222890B2 (en) Control method of electric welding gun
JP3723884B2 (en) Motor drive pulse generation circuit
KR100286032B1 (en) Controlling apparatus and method of servo motor
JP2022002292A5 (en)
JPH03136726A (en) Servo device for electric discharge machine

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040816

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040831

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041029

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050322

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050520

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050614

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050620

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080624

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090624

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090624

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100624

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110624

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees