Welding gun control device, welding gun control system, and welding system

The welding gun control device addresses workpiece deformation and trajectory deviations in spot welding by controlling electrode speeds and detecting the workpiece based on servo motor states, improving welding quality.

JP7568871B2Active Publication Date: 2024-10-16FANUC LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2023553877
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-10-15
Publication Date
2024-10-16
Estimated Expiration
2041-10-15

AI Technical Summary

Technical Problem

In spot welding, large loads applied to the workpiece can cause deformation, and vibrations or deviations from the commanded trajectory can negatively affect welding quality, particularly during workpiece detection and electrode movement.

Method used

A welding gun control device that moves the movable electrode at a first speed and the counter electrode at a slower second speed, with detection based on the servo motor's operating state, reducing load on the workpiece and suppressing vibrations by compensating frictional torque and gear backlash.

Benefits of technology

Reduces the load on the workpiece during detection and minimizes deviations from the commanded trajectory, enhancing welding quality by smoothing electrode movements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007568871000001
    Figure 0007568871000001
  • Figure 0007568871000002
    Figure 0007568871000002
  • Figure 0007568871000003
    Figure 0007568871000003
Patent Text Reader

Abstract

Provided is a welding gun control device whereby it is possible to reduce a load placed on a workpiece during workpiece detection in spot welding. This welding gun control device for controlling a welding gun for pressing an object to be welded between a movable electrode driven by a servomotor and a counter electrode facing the movable electrode and performing welding comprises: an operation control unit for causing the movable electrode to move at a first speed in a state in which the object to be welded is disposed between the movable electrode and the counter electrode, and causing the counter electrode or the object to be welded to move at a second speed slower than the first speed; and a workpiece detection unit for detecting the object to be welded on the basis of the operating state of the servomotor for driving the movable electrode, while the movable electrode and the counter electrode are caused to move by the operation control unit.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a welding gun control device, a welding gun control system, and a welding system. [Background technology]

[0002] Conventionally, in a welding system for spot welding, a technique for detecting a workpiece by monitoring a current value of a servo motor has been proposed. For example, Patent Document 1 discloses that the current or torque of a servo motor of a welding gun is monitored, and when the trend of change in the current or torque of the servo motor changes, it is determined that the movable electrode has come into contact with the welding workpiece or that the movable electrode has completely left the welding workpiece, and the movable electrode is positioned at the position where it has come into contact or left. In such a welding system, when detecting a workpiece by a movable electrode, it is necessary to first bring the movable electrode into contact with the workpiece, so usually only the movable electrode is moved and the counter electrode is kept stationary. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2011-88177 A Summary of the Invention [Problem to be solved by the invention]

[0004] In such spot welding, if the load applied to the workpiece is large, the workpiece may be deformed, so the smaller the load applied to the workpiece when the workpiece is detected, the better. Therefore, in spot welding, it is desired to reduce the load applied to the workpiece when the workpiece is detected. In addition, when the counter electrode is moved toward the contact position after detecting the contact between the movable electrode and the workpiece, it is desirable to suppress vibration of the spot welding gun and to prevent the actual trajectory from deviating from the command trajectory. This is because vibration of the spot welding gun may adversely affect the welding quality, and if the actual trajectory deviates from the command trajectory, there is a high possibility that the welding point will shift. [Means for solving the problem]

[0005] A welding gun control device according to one embodiment of the present disclosure is a welding gun control device that controls a welding gun that applies pressure to a workpiece between a movable electrode driven by a servo motor and a counter electrode opposite the movable electrode to weld the workpiece, and includes an operation control unit that moves the movable electrode at a first speed and moves the counter electrode or the workpiece at a second speed slower than the first speed while the workpiece is positioned between the movable electrode and the counter electrode, and a detection unit that detects the workpiece based on the operating state of the servo motor that drives the movable electrode while moving the movable electrode and the counter electrode by the operation control unit.

[0006] A welding gun control system according to one aspect of the present disclosure includes a welding gun including a movable electrode driven by a servo motor and a counter electrode opposed to the movable electrode, the welding gun applying pressure to a workpiece between the movable electrode and the counter electrode to weld the workpiece, and a welding gun control device that controls the welding gun. the welding gun control system comprising: a motion control unit that moves the movable electrode at a first speed while the workpiece is disposed between the movable electrode and the counter electrode, and moves the counter electrode or the workpiece at a second speed slower than the first speed; and a detection unit that detects the workpiece based on an operating state of the servo motor that drives the movable electrode while moving the movable electrode and the counter electrode by the operation control unit.

[0007] A welding system according to one aspect of the present disclosure includes a welding gun having a movable electrode driven by a servo motor and a counter electrode opposite the movable electrode, and welding a workpiece by applying pressure between the movable electrode and the counter electrode, a welding gun control device controlling the welding gun, a robot holding the welding gun or the workpiece and having a robot-side servo motor that drives multiple axes, and a robot control device controlling the servo motor of the welding gun and the robot-side servo motor, wherein the welding gun control device includes an operation control unit that moves the movable electrode at a first speed and moves the counter electrode or the workpiece at a second speed slower than the first speed while the workpiece is positioned between the movable electrode and the counter electrode, and a detection unit that detects the workpiece based on the operating state of the servo motor that drives the movable electrode while moving the movable electrode and the counter electrode by the operation control unit. Effect of the Invention

[0008] According to the present invention, the load applied to the workpiece when detecting the workpiece in spot welding can be reduced. Also, according to the present invention, the vibration of the spot welding gun can be suppressed compared to the case where the counter electrode is made stationary before contact detection, and deviation from the command trajectory can be reduced. [Brief description of the drawings]

[0009] [Figure 1] 1 is a diagram showing a configuration of a spot welding system according to an embodiment of the present invention. [Diagram 2] FIG. 2 is a diagram showing a functional configuration of a welding gun control device. [Figure 3A] 5A and 5B are diagrams illustrating the operation of a movable electrode and a counter electrode. [Figure 3B] 5A and 5B are diagrams illustrating the operation of a movable electrode and a counter electrode. [Figure 3C] 5A and 5B are diagrams illustrating the operation of a movable electrode and a counter electrode. [Figure 3D] 5A and 5B are diagrams illustrating the operation of a movable electrode and a counter electrode. [Figure 3E] 5A and 5B are diagrams illustrating the operation of a movable electrode and a counter electrode. [Figure 4] 5A and 5B are diagrams illustrating changes in speed of a movable electrode and a counter electrode according to the first embodiment. [Diagram 5] 5 is a flowchart showing an operation of closing a spot welding gun by the welding gun control device according to the first embodiment. [Figure 6] 10 is a flowchart showing an operation of closing a spot welding gun by a welding gun control device according to a second embodiment. [Figure 7] FIG. 1 is a diagram showing a configuration of a spot welding system equipped with an X-shaped spot welding gun. [Figure 8] FIG. 1 is a diagram showing a configuration of a spot welding system equipped with a fixed spot welding gun. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. Fig. 1 is a diagram showing a configuration of a spot welding system 1 according to this embodiment. As shown in Fig. 1, the spot welding system 1 uses a robot 10 to move a spot welding gun 20 and a workpiece W relatively to each other, bring the spot welding gun 20 into contact with the workpiece W, and perform spot welding on the workpiece W. The spot welding system 1 includes the robot 10, the spot welding gun 20, a robot control device 30, and a welding gun control device 40.

[0011] The robot 10 is, for example, a six-axis vertical articulated robot, and has a base 11, a lower arm 12, an upper arm 13, and an arm tip 14. The base 11 is placed on the floor. One end of the lower arm 12 is connected to the base 11 so as to be rotatable around a first axis (vertical axis) J1 and a second axis (horizontal axis) J2.

[0012] One end of an upper arm 13 is connected to the other end of the lower arm 12 so as to be rotatable about a third axis (horizontal axis) J3. An arm tip 14 is connected to the other end of the upper arm 13 so as to be rotatable about a fourth axis J4 perpendicular to the third axis J3, and is also connected to the other end of the upper arm 13 so as to be rotatable about a fifth axis J5 perpendicular to the fourth axis J4. A spot welding gun 20 is attached to the arm tip 14 so as to be rotatable about a sixth axis J6 perpendicular to the fifth axis J5.

[0013] In addition, the robot 10 is not limited to a 6-axis vertical articulated type, and may be another type of articulated robot, such as a 4-axis vertical articulated robot, as long as the spot welding gun 20 and the workpiece W can be moved relative to each other.

[0014] The robot 10 incorporates a plurality of servo motors 15 (only one is shown for convenience) for driving a plurality of drive axes, namely, a first axis J1 to a sixth axis J6. The servo motors 15 are driven by control signals from a robot control device 30. The position and posture of the spot welding gun 20 are changed by driving the servo motors 15.

[0015] Hereinafter, the first axis J1 to the sixth axis J6 of the robot 10 will also be referred to as robot axes, and the servo motors 15 that drive these robot axes will also be referred to as robot axis motors. The first axis J1, the second axis J2, and the third axis J3, which are vertical or horizontal axes, are also referred to as basic axes, and the fourth axis J4, the fifth axis J5, and the sixth axis J6 are also referred to as wrist axes. The basic axes J1 to J3, which are vertical or horizontal axes, mainly determine the position of the arm tip 14 of the robot 10. On the other hand, the wrist axes J4 to J6 mainly determine the posture of the arm tip 14 of the robot 10.

[0016] The spot welding gun 20 is a so-called C-type spot welding gun. The spot welding gun 20 has a C-shaped gun arm 23 connected to the arm tip 14, and a servo motor 24 for clamping a workpiece.

[0017] The gun arm 23 has a rod-shaped counter electrode 22 protruding from an end of an L-shaped frame 23a, and a rod-shaped movable electrode 21 protruding opposite the counter electrode 22. The movable electrode 21 and the counter electrode 22 are arranged on the same axis. The counter electrode 22 is fixed to the frame 23a, and the movable electrode 21 is movable coaxially with the counter electrode 22 relative to the frame 23a.

[0018] In the spot welding gun 20, the movable electrode 21 presses the counter electrode 22, elastically deforming a metal arm to which the counter electrode 22 is attached, thereby generating a required pressure force between the movable electrode 21 and the counter electrode 22. In this way, the spot welding gun 20 applies pressure to the workpiece W, which is the object to be welded, to perform welding.

[0019] Servo motor 24 is driven by a control signal from welding gun control device 40. Movable electrode 21 approaches counter electrode 22 and moves away from counter electrode 22 by being driven by servo motor 24. Workpiece W is sandwiched between movable electrode 21 and counter electrode 22 in the plate thickness direction and spot welded. Workpiece W is supported by a workpiece supporting device (not shown).

[0020] It should be noted that servo motor 24 that drives movable electrode 21 may be driven by an external control device, such as robot control device 30 or a numerical control device, instead of welding gun control device 40.

[0021] Hereinafter, the axis of relative movement between the movable electrode 21 and the counter electrode 22 of the spot welding gun 20 will be referred to as the gun axis, and the servo motor 24 that drives the gun axis will be referred to as the gun axis motor.

[0022] Each servo motor 15 for the robot axis is provided with an encoder 15a. The encoder 15a detects the rotation angle around the axis of the servo motor 15. The detected rotation angle is fed back to the robot control device 30. The position and posture of the spot welding gun 20 at the arm tip 14 is controlled based on the feedback control in the robot control device 30. As a result, the spot welding system 1 can position the counter electrode 22 integrated with the frame 23a at a clamping position in the plate thickness direction of the workpiece W, and can detect the position and posture of the counter electrode 22 by the signal from the encoder 15a.

[0023] In addition, an encoder 24a is provided on servo motor 24 for the gun shaft. Encoder 24a detects the rotation angle around the shaft of servo motor 24. The detected rotation angle is fed back to welding gun controller 40. Movable electrode 21 is positioned with respect to counter electrode 22 by feedback control in welding gun controller 40.

[0024] The amount of separation between the movable electrode 21 and the counter electrode 22 changes depending on the rotation angle of the servo motor 24. In this embodiment, the spot welding system 1 sets in advance, as a reference value, the rotation angle of the servo motor 24 when the movable electrode 21 is brought into contact with the counter electrode 22, i.e., when the amount of separation is 0. This allows the spot welding system 1 to detect the rotation angle from the reference value based on the signal from the encoder 24a, and thus to detect the amount of separation between the movable electrode 21 and the counter electrode 22.

[0025] Robot controller 30 and welding gun controller 40 each include a processor having a CPU, ROM, RAM, other peripheral circuits, etc. Robot controller 30 and welding gun controller 40 are communicatively connected to each other and transmit and receive signals to and from each other.

[0026] The robot control device 30 stores operation programs (work programs) and teaching data for the robot 10 and the spot welding gun 20. The teaching data includes welding point data, which is the positions and postures of the robot 10 and the spot welding gun 20 when spot welding a workpiece W at multiple welding points. The working program for automatic operation is created based on the teaching data.

[0027] During automatic operation, the robot control device 30 controls the position and attitude of the spot welding gun 20 relative to the workpiece W by the robot 10 in accordance with a work program, and positions the workpiece W between the movable electrode 21 and the counter electrode 22.

[0028] Welding gun control device 40 operates movable electrode 21 in accordance with the work program, and controls the pressure applied by movable electrode 21 and counter electrode 22 to workpiece W. Furthermore, welding gun control device 40 controls the current supplied to movable electrode 21 and counter electrode 22 in accordance with the work program, and performs spot welding at a predetermined welding point position.

[0029] Furthermore, the robot controller 30 or the welding gun controller 40 may be communicatively connected to a support device (not shown) that supports the workpiece W, and configured to be able to control the workpiece support device.

[0030] 2 is a diagram showing a functional configuration of welding gun control device 40. As shown in FIG. 2, welding gun control device 40 includes a control unit 41 and a storage unit . Control unit 41 is a part that controls the entire welding gun control device 40, and may be, for example, a CPU. Control unit 41 realizes various functions by appropriately reading and executing various programs from storage unit 42. Storage unit 42 is composed of a ROM, RAM, flash memory, hard disk (HDD), etc., and stores various programs, data, etc.

[0031] The control unit 41 also includes an operation control unit 411, a workpiece detection unit 412 (detection unit), and a contact position estimation unit 413. The operation control unit 411 controls the operations of the movable electrode 21 and the counter electrode 22. Specifically, in a state in which the workpiece W is disposed between the movable electrode 21 and the counter electrode 22, the operation control unit 411 moves the movable electrode 21 at a search speed (first speed) and moves the counter electrode 22 or the workpiece W at a slow speed (second speed) slower than the search speed.

[0032] In addition, when the workpiece W is detected by the workpiece detection unit 412, the operation control unit 411 moves the movable electrode 21 Second After decelerating the movable electrode, the operation control unit 411 accelerates the movable electrode 21 to a contact speed (third speed) that is faster than the slow speed (second speed). The search speed, slow speed, and contact speed will be described later.

[0033] Furthermore, when the workpiece W is detected by the workpiece detection unit 412, the operation control unit 411 accelerates the counter electrode 22 toward the target position calculated by the contact position estimation unit 413 at a third speed.

[0034] The work detection unit 412 detects the work W based on the operating state of the servo motor 24 that drives the movable electrode 21 while moving the movable electrode 21 and the counter electrode 22 by the operation control unit 411. Specifically, the work detection unit 412 acquires the current value or speed of the servo motor 24 as the operating state of the servo motor 24. The work detection unit 412 detects the work W by determining contact between the movable electrode 21 and the work W based on the acquired current value or speed of the servo motor 24. The work detection unit 412 may also determine contact between the movable electrode 21 and the work W by an external sensor such as a contact sensor.

[0035] When the workpiece W is detected by the workpiece detection unit 412 , the contact position estimation unit 413 estimates the contact position between the movable electrode 21 and the workpiece W, and calculates the target position of the counter electrode 22 .

[0036] First Embodiment 3A to 3E are diagrams showing the operation of the movable electrode 21 and the counter electrode 22 according to the first embodiment. Fig. 4 is a diagram showing changes in the speed of the movable electrode 21 and the counter electrode 22 according to the first embodiment.

[0037] As shown in FIG. 3A, in a state in which a workpiece W is placed between the movable electrode 21 and the counter electrode 22, the operation control unit 411 starts an operation to close the spot welding gun 20.

[0038] When the operation of closing the spot welding gun 20 is started, as shown in FIG. 3B, the operation control unit 411 moves the movable electrode 21 at a search speed and moves the counter electrode 22 at a slow speed.

[0039] 4, the search speed is the speed at which the movable electrode 21 moves to detect the workpiece W, and the search speed is set to a speed that is sufficiently faster than the slow speed. The slow speed is a speed that is sufficiently slower than the search speed, for example, about 1 mm / s to 2 mm / s. Therefore, the counter electrode 22 does not stop, but the moving distance is short.

[0040] As shown in FIG. 3C, when the workpiece W is detected by the workpiece detector 412, the operation controller 411 decelerates the movable electrode 21 to a very slow speed, as shown in FIG.

[0041] 3D, the operation control unit 411 decelerates the movable electrode 21, and then accelerates the movable electrode 21 to the contact speed. Here, the contact speed is set to a speed that is sufficiently faster than the above-mentioned slow speed. In addition, the operation control unit 411 accelerates the counter electrode 22 to the contact speed toward the target position calculated by the contact position estimation unit 413.

[0042] Then, as shown in FIG. 3E, the operation control unit 411 brings the movable electrode 21 and the counter electrode 22 into contact with the workpiece W, completing the operation of closing the spot welding gun 20.

[0043] FIG. 5 is a flowchart showing an operation of closing the spot welding gun 20 by the welding gun control device 40 according to the first embodiment. In step S1, in a state in which a workpiece W is placed between the movable electrode 21 and the counter electrode 22, the operation control section 411 moves the movable electrode 21 at a search speed and moves the counter electrode 22 at a slow speed.

[0044] In step S2, the workpiece detection unit 412 acquires the current value of the servo motor 24 as the operating state of the servo motor 24. Then, the workpiece detection unit 412 judges whether or not the acquired current value of the servo motor 24 exceeds the threshold value T1. If the current value exceeds the threshold value T1 (YES), the workpiece detection unit 412 judges that the movable electrode 21 and the workpiece W are in contact. As a result, the workpiece detection unit 412 detects the workpiece W, and the process proceeds to step S3. On the other hand, if the current value is equal to or less than the threshold value T1 (NO), the workpiece detection unit 412 judges that the movable electrode 21 and the workpiece W are not in contact, and the process returns to step S1.

[0045] In step S3, the contact position estimation unit 413 estimates the contact position between the movable electrode 21 and the workpiece W, and calculates the target position of the counter electrode 22.

[0046] In step S4, the operation control unit 411 decelerates the movable electrode 21 to a very slow speed. After decelerating the movable electrode, the operation control unit 411 accelerates the movable electrode 21 to a contact speed faster than the very slow speed. When the workpiece W is detected by the workpiece detection unit 412, the operation control unit 411 accelerates the counter electrode 22 to the contact speed toward the target position calculated by the contact position estimation unit 413. Thereafter, the operation control unit 411 brings the movable electrode 21 and the counter electrode 22 into contact with the workpiece W, completing the operation of closing the spot welding gun 20.

[0047] <Second embodiment> Next, an operation of closing the spot welding gun 20 by the welding gun control device 40 according to the second embodiment will be described. The welding gun control device 40 according to the second embodiment differs from the first embodiment in that flexible control is used to search for the workpiece W by the movable electrode 21 and detection of the workpiece W is determined by using a threshold value T2.

[0048] Specifically, in a state where the workpiece W is disposed between the movable electrode 21 and the counter electrode 22, the operation control section 411 uses flexible control to move the movable electrode 21 at a search speed and to move the counter electrode 22 or the workpiece W at a very slow speed slower than the search speed. Here, flexible control refers to control that makes the electrode follow an external force. Flexible control can be realized, for example, by limiting the output of the motor torque of the servo motor 24 or by reducing the position / speed loop gain.

[0049] Furthermore, the workpiece detection unit 412 acquires the speed of the servo motor 24 as the operating state of the servo motor 24. The workpiece detection unit 412 determines whether the acquired speed of the servo motor 24 is below a threshold value T2, thereby determining contact between the movable electrode 21 and the workpiece W. In this way, the workpiece detection unit 412 detects the workpiece W.

[0050] FIG. 6 is a flow chart showing an operation of closing the spot welding gun 20 by the welding gun control device 40 according to the second embodiment. In step S11, in a state in which the workpiece W is placed between the movable electrode 21 and the counter electrode 22, the operation control section 411 moves the movable electrode 21 at a search speed and moves the counter electrode 22 at a slow speed.

[0051] In step S12, the work detection unit 412 acquires the speed of the servo motor 24 as the operating state of the servo motor 24. The work detection unit 412 determines whether the acquired speed of the servo motor 24 is below the threshold value T2. If the speed of the servo motor 24 is below the threshold value T2 (YES), the work detection unit 412 determines that the movable electrode 21 and the work W are in contact. That is, the work detection unit 412 detects the work W, and the process proceeds to step S13. On the other hand, if the speed of the servo motor 24 is equal to or higher than the threshold value T2 (NO), the work detection unit 412 determines that the movable electrode 21 and the work W are not in contact, and the process returns to step S11.

[0052] In step S13, the contact position estimation unit 413 estimates the contact position between the movable electrode 21 and the workpiece W, and calculates the target position of the counter electrode 22.

[0053] In step S14, the operation control unit 411 decelerates the movable electrode 21 to a very slow speed. After decelerating the movable electrode, the operation control unit 411 accelerates the movable electrode 21 to a contact speed faster than the very slow speed. When the workpiece W is detected by the workpiece detection unit 412, the operation control unit 411 accelerates the counter electrode 22 to the contact speed toward the target position calculated by the contact position estimation unit 413. Thereafter, the operation control unit 411 brings the movable electrode 21 and the counter electrode 22 into contact with the workpiece W, completing the operation of closing the spot welding gun 20.

[0054] In the above-described embodiment, the operation control unit 411, in a state in which the workpiece W is disposed between the movable electrode 21 and the counter electrode 22, moves the movable electrode 21 at the search speed and moves the counter electrode 22 at a slow speed. However, instead of moving the counter electrode 22 at a slow speed, the operation control unit 411 may move the workpiece W at a slow speed by controlling a support device (not shown). In other words, in a state in which the workpiece W is disposed between the movable electrode 21 and the counter electrode 22, the operation control unit 411 may move the movable electrode 21 at the search speed and move the workpiece W at a slow speed.

[0055] In the above-described embodiment, the spot welding system 1 includes the C-type spot welding gun 20, but may include other types of spot welding guns. Examples of other types of spot welding guns include a so-called X-type spot welding gun and a fixed installation type spot welding gun.

[0056] Fig. 7 is a diagram showing the configuration of a spot welding system 1A including an X-shaped spot welding gun 20. As shown in Fig. 7, the X-shaped spot welding gun 20 has a pair of openable and closable gun arms 26a, 26b, and a movable electrode 21 and a counter electrode 22 attached to the tip of each of the gun arms 26a, 26b.

[0057] Fig. 8 is a diagram showing the configuration of a spot welding system 1B including a fixed spot welding gun 20. As shown in Fig. 8, the spot welding system 1B supports the spot welding gun 20 by a gun stand 25 fixed at a predetermined position, and holds a workpiece W via a robot hand 19 at the tip of the arm of the robot 10. In this way, the spot welding system 1B moves the workpiece W relative to the spot welding gun 20 by driving the robot 10, and places the workpiece W between the movable electrode 21 and the counter electrode 22. The spot welding system 1A including such an X-shaped spot welding gun 20 and the spot welding system 1B including the fixed spot welding gun 20 can execute an operation of closing the spot welding gun 20 by the welding gun control device 40, similar to the spot welding system 1 described above.

[0058] As described above, the welding gun control device 40 is a welding gun control device 40 that controls the spot welding gun 20 that performs welding by applying pressure to the workpiece W between the movable electrode 21 driven by a servo motor and the counter electrode 22 opposite the movable electrode 21, and is equipped with an operation control unit 411 that moves the movable electrode 21 at a search speed while moving the counter electrode 22 or the workpiece W at a very slow speed slower than the search speed when the workpiece W is positioned between the movable electrode 21 and the counter electrode 22, and a work detection unit 412 that detects the workpiece W based on the operating state of the servo motor 24 that drives the movable electrode 21 while moving the movable electrode 21 and the counter electrode 22 by the operation control unit 411.

[0059] As a result, the welding gun control device 40 not only moves the movable electrode 21 at the search speed, but also moves the counter electrode 22 or the workpiece W at a slow speed, so that when accelerating the counter electrode 22 to the abutment speed, friction torque can be compensated from the beginning and speed change can be reduced compared to when the counter electrode 22 is stopped before contact detection. Therefore, the welding gun control device 40 can smoothly accelerate the counter electrode 22 or the workpiece W and suppress vibration of the spot welding gun 20. In addition, by moving the counter electrode 22 or the workpiece W at a slow speed, the welding gun control device 40 can reduce, for example, deviation from a commanded trajectory due to a backlash of a gear being clogged.

[0060] Furthermore, the workpiece detection unit 412 detects the workpiece W by determining contact between the movable electrode 21 and the workpiece W based on the current value or speed of the servo motor 24 as the operating state of the servo motor 24. When the workpiece W is detected by the workpiece detection unit 412, the operation control unit 411 decelerates the movable electrode 21 to a very slow speed, and after decelerating the movable electrode 21, accelerates the movable electrode 21 to a contact speed that is faster than the search speed and the very slow speed, and accelerates the counter electrode 22 to the contact speed.

[0061] As a result, the welding gun control device 40 can reduce the load on the workpiece W when the workpiece W is detected by rapidly decelerating the movable electrode 21 upon contact detection. Furthermore, by operating the counter electrode 22 at a slow speed before contact detection, the welding gun control device 40 can compensate for friction torque from the beginning when accelerating the counter electrode 22 to the abutment speed, and can reduce speed change, compared to when the counter electrode 22 is stopped before contact detection. Therefore, the welding gun control device 40 can smoothly accelerate the counter electrode 22 and suppress vibration of the spot welding gun 20. Furthermore, by operating the counter electrode 22 at a slow speed, the welding gun control device 40 can reduce, for example, deviation from the commanded trajectory due to backlash of the gears being clogged.

[0062] In addition, welding gun control device 40 further includes a contact position estimation unit 413 that, when workpiece W is detected by workpiece detection unit 412, estimates the contact position between movable electrode 21 and workpiece W and calculates a target position of counter electrode 22, and operation control unit 411 moves counter electrode 22 at a contact speed to the target position calculated by contact position estimation unit 413. This allows welding gun control device 40 to move counter electrode 22 to the target position.

[0063] In addition, servo motor 24 that drives movable electrode 21 may be driven by an external control device. This allows welding gun control device 40 to drive movable electrode 21 using the external control device. In addition, work detection unit 412 may determine contact between movable electrode 21 and workpiece W by an external sensor. This allows welding gun control device 40 to determine contact between movable electrode 21 and workpiece W by using the external sensor.

[0064] Although the embodiment of the present invention has been described above, the above-mentioned spot welding system 1 can be realized by hardware, software, or a combination of these. In addition, the control method performed by the above-mentioned spot welding system 1 can also be realized by hardware, software, or a combination of these. Here, being realized by software means being realized by a computer reading and executing a program.

[0065] The program can be stored and provided to a computer using various types of non-transitory computer readable media. The non-transitory computer readable media includes various types of tangible storage media. Examples of the non-transitory computer readable media include magnetic recording media (e.g., hard disk drives), magneto-optical recording media (e.g., magneto-optical disks), CD-ROM (Read Only Memory), CD-R, CD-R / W, and semiconductor memory (e.g., mask ROM, PROM (Programmable ROM), EPROM (Erasable PROM), flash ROM, and RAM (random access memory)).

[0066] Furthermore, although the above-described embodiments are preferred embodiments of the present invention, the scope of the present invention is not limited to only the above-described embodiments, and the present invention can be implemented in various modified forms without departing from the gist of the present invention. [Explanation of symbols]

[0067] 1 Spot welding system 10. Robot 11 Foundation 12 Lower Arm 13 Upper Arm 14 Arm tip 15 Servo motor 15a Encoder 20 Spot welding gun 21 Movable electrode 22 Counter electrode 23 Gun Arm 23a Frame 24 Servo motor 24a Encoder 30 Robot control device 40 Welding gun control device 41 Control section 42 Storage section 411 Motion control section 412 Work detection unit (detection unit) 413 Contact position estimation part

Claims

1. A welding gun control device controls a welding gun that performs welding by applying pressure to a workpiece between a movable electrode driven by a servo motor and a counter electrode opposed to the movable electrode, an operation control unit that moves the movable electrode at a first speed and moves the counter electrode or the workpiece at a second speed slower than the first speed in a state in which the workpiece is disposed between the movable electrode and the counter electrode; a detection unit that detects the workpiece based on an operation state of the servo motor that drives the movable electrode while the movable electrode and the counter electrode are moved by the operation control unit; A welding gun control device comprising:

2. The detection unit is detecting the workpiece by determining contact between the movable electrode and the workpiece based on a current value or a speed of the servo motor as the operating state of the servo motor; The operation control unit is When the detection unit detects the workpiece, the movable electrode is decelerated to the second speed, and after the movable electrode is decelerated, the movable electrode is accelerated to a third speed that is faster than the second speed; When the detection unit detects the workpiece, the counter electrode is accelerated to the third speed. The welding gun control system of claim 1 .

3. a contact position estimation unit that estimates a contact position between the movable electrode and the workpiece when the detection unit detects the workpiece and calculates a target position of the counter electrode; the operation control unit moves the counter electrode at the third speed to the target position calculated by the contact position estimating unit. The welding gun control device of claim 2 .

4. The welding gun control device according to claim 1 , wherein the servo motor that drives the movable electrode is driven by an external control device.

5. The welding gun control device according to claim 2 , wherein the detection unit determines whether the movable electrode is in contact with the workpiece by an external sensor.

6. a welding gun including a movable electrode driven by a servo motor and a counter electrode opposed to the movable electrode, the welding gun applying pressure to a workpiece between the movable electrode and the counter electrode to perform welding; A welding gun control device that controls the welding gun; A welding gun control system comprising: The welding gun control device includes: an operation control unit that moves the movable electrode at a first speed and moves the counter electrode or the workpiece at a second speed slower than the first speed in a state in which the workpiece is disposed between the movable electrode and the counter electrode; a detection unit that detects the workpiece based on an operation state of the servo motor that drives the movable electrode while the movable electrode and the counter electrode are moved by the operation control unit; A welding gun control system comprising:

7. a welding gun including a movable electrode driven by a servo motor and a counter electrode opposed to the movable electrode, the welding gun applying pressure to a workpiece between the movable electrode and the counter electrode to perform welding; A welding gun control device that controls the welding gun; a robot that holds the welding gun or the workpiece and has a robot-side servo motor that drives multiple axes; a robot control device that controls the servo motor of the welding gun and the robot-side servo motor; A welding system comprising: The welding gun control device includes: an operation control unit that moves the movable electrode at a first speed and moves the counter electrode or the workpiece at a second speed slower than the first speed in a state in which the workpiece is disposed between the movable electrode and the counter electrode; a detection unit that detects the workpiece based on an operation state of the servo motor that drives the movable electrode while the movable electrode and the counter electrode are moved by the operation control unit; A welding system comprising:

Citation Information

Patent Citations

  • Pressure controlling method of spot welding gun

    JP1998249535A

  • Method for positioning spot welding gun

    JP2001150150A

  • Motor driven pressure type resistance welding machine

    JP2001179462A

  • Method for detecting position of welding workpiece

    JP2011088177A