This application is based on and claims the benefit of priority from Chinese Patent Application No. 202210346150.2, filed on 31 Mar. 2022, the content of which is incorporated herein by reference.
BACKGROUND OF THE INVENTION
Field of the Invention
The present invention relates to a spatter detection method. More specifically, the present invention relates to a spatter detection method for detecting an occurrence of spatter in spot welding for joining a workpiece by supplying a pulse-shaped welding current.
Related Art
In the case of welding a plurality of metal plates to each other, spot welding using a spot welding apparatus is performed. In spot welding, power is distributed between a pair of electrode chips in a state in which the plurality of metal plates as workpieces are sandwiched between the pair of electrode chips, and in this manner, a nugget is generated between the plurality of metal plates to weld the plurality of metal plates.
In a spot welding method proposed by the applicant disclosed in PCT International Publication No. WO2020/050011, a welding current having a pulse-shaped waveform is supplied to a plurality of metal plates over a plurality of cycles in a state in which the plurality of metal plates is sandwiched by a pair of electrodes, and in this manner, the plurality of metal plates is welded to each other.
- Patent Document 1: PCT International Publication No. WO2020/050011
- Patent Document 2: Japanese Unexamined Patent Application, Publication No. 2010-149144
SUMMARY OF THE INVENTION
In spot welding, while a welding current is supplied to a metal plate, a phenomenon called “spatter” occurs in which part of the metal plate is molten and scattered. When the spatter occurs, welding strength may decrease, and thus it is preferable to detect the spatter immediately when the spatter occurs.
Japanese Unexamined Patent Application, Publication No. 2010-149144 discloses a technique for detecting an occurrence of spatter based on a change in a resistance value during welding, using the fact that the resistance value of a workpiece decreases when spatter occurs. However, it is necessary to detect a voltage between a pair of electrode chips in order to monitor the resistance value of the workpiece. Therefore, in the technique disclosed in Japanese Unexamined Patent Application, Publication No. 2010-149144, it is necessary to provide a voltage detection line for detecting a voltage in the vicinity of the electrode chips. However, since the vicinity of the electrode chips is exposed to a high temperature during welding, the voltage detection line needs to be replaced periodically, which may increase costs and cycle time.
An object of the present invention is to provide a spatter detection method capable of detecting an occurrence of spatter using an existing sensor without newly providing a voltage detection line in the vicinity of electrode chips.
- (1) A spatter detection method according to the present invention is a method for detecting an occurrence of spatter at the time of joining a workpiece (e.g., a workpiece W to be described later), which is a multilayer body of a plurality of plates, using a welding apparatus (e.g., a spot welding apparatus 1 to be described later) including a pair of electrodes (e.g., an upper electrode chip 21 and a lower electrode chip 26 to be described later), a welding power circuit (e.g., a welding power circuit 3 to be described later) connected to the pair of electrodes, and a current sensor (e.g., a current sensor 3d to be described later) configured to detect a current flowing through the pair of electrodes. A spot welding method using the welding apparatus includes supplying a pulse-shaped welding current to the workpiece, the pulse-shaped welding current being generated when the welding power circuit alternately repeats power distribution control and a power distribution pause over a plurality of cycles while the workpiece is sandwiched and pressurized by the pair of electrodes. The spatter detection method includes determining, based on a current detection value detected by the current sensor in a power distribution pause section for each cycle, whether or not the spatter occurs.
- (2) In this case, preferably, the spatter detection method further includes determining whether or not the spatter occurs, based on comparison of the current detection value in the power distribution pause section for an N-th cycle (N being an integer equal to or greater than 2) with the current detection value in the power distribution pause section for an M-th cycle (M being an integer smaller than N).
- (3) In this case, preferably, the M-th cycle is a cycle immediately before the N-th cycle.
- (4) In this case, preferably, the spatter detection method further includes determining that the spatter occurs when a difference value (e.g., a maximum difference value dImax(2), . . . , dImax(Nset) to be described later) is larger than a first threshold value (e.g., a first threshold value dIth to be described later), the difference value being obtained by subtracting the current detection value in the power distribution pause section for the M-th cycle from the current detection value in the power distribution pause section for the N-th cycle.
- (5) In this case, preferably, the spatter detection method further includes determining that the spatter occurs when a difference value (e.g., dS(2), . . . , dS(Nset) to be described later) is larger than a second threshold value (e.g., a second threshold value dSth to be described later), the difference value being obtained by subtracting an integral value of the current detection value over the power distribution pause section for the M-th cycle from an integral value of the current detection value over the power distribution pause section for the N-th cycle.
- (6) In this case, the spot welding method includes: executing the power distribution control so as to maintain the welding current within a set peak current range at an end of a power distribution control section. Further, the spatter detection method preferably includes determining that the spatter occurs when a difference value (e.g., time constant difference value dτ(2), . . . , dτ(Nset) to be described later) is larger than a third threshold value (e.g., a third threshold value dτth to be described later), the difference value being obtained by subtracting a time constant when the current detection value in the power distribution pause section for the M-th cycle falls from the peak current range from a time constant when the current detection value in the power distribution pause section for the N-th cycle falls from the peak current range.
- (1) The circuit formed by a combination of the workpiece, the pair of electrodes that sandwich the workpiece, and the welding power circuit connected to the pair of electrodes can be regarded as an RL series circuit in which a resistance element corresponding to the workpiece and an inductance element corresponding to the welding power circuit are connected in series. For this reason, when the pulse-shaped welding current generated by alternately repeating the power distribution control and the power distribution pause by the welding power circuit over a plurality of cycles is supplied to the workpiece, the time constant at the time of falling of the welding current in the power distribution pause section for each cycle is inversely proportional to the resistance element corresponding to the workpiece. For this reason, when the spatter occurs while the pulse-shaped welding current as described above is being supplied, falling of the welding current in the power distribution pause section becomes gentler. In the present invention, using such a phenomenon and the current sensor already installed in the welding apparatus, it is possible to determine the presence or absence of an occurrence of spatter based on the current detection value detected by the current sensor in the power distribution pause section for each cycle.
- (2) The falling characteristics of the welding current in the power distribution pause section as described above vary according to the material and the plate thickness of the workpiece. Therefore, in the present invention, the presence or absence of the occurrence of spatter is determined, based on comparison of the current detection value in the power distribution pause section for the N-th cycle with the current detection value in the power distribution pause section for the M-th cycle (M being an integer smaller than N) before the N-th cycle. In other words, since the current detection value in the power distribution pause section for the M-th cycle before the N-th cycle is used as a comparison target for the current detection value in the power distribution pause section for the N-th cycle, there is no need to re-set the threshold value each time the type of the workpiece changes, and thus convenience is high.
- (3) When the pulse-shaped welding current as described above continues to be supplied over a plurality of cycles, the resistance value of the workpiece will gradually change even when the spatter does not occur. Therefore, in the present invention, the current detection value in the power distribution pause section for the M-th cycle (i.e., M=N−1) immediately before the N-th cycle is used as a comparison target for the current detection value in the power distribution pause section for the N-th cycle, whereby it is possible to determine the presence or absence of the occurrence of spatter and the cycle of the occurrence of spatter with high accuracy.
- (4) In the present invention, when the difference value obtained by subtracting the current detection value in the power distribution pause section for the M-th cycle from the current detection value in the power distribution pause section for the N-th cycle is larger than the first threshold value, it is determined that the spatter has occurred. Thus, it is possible to detect the occurrence of spatter with a simple calculation.
- (5) In the present invention, the difference value obtained by subtracting the integral value of the current detection value over the power distribution pause section for the M-th cycle from the integral value of the current detection value over the power distribution pause section for the N-th cycle is larger than the second threshold value, it is determined that the spatter has occurred. Thus, it is possible to detect the occurrence of spatter with good accuracy in consideration of the change in the falling characteristics of the welding current in the entire power distribution pause section.
- (6) In the spot welding method according to the present invention, the power distribution control is performed so as to maintain the welding current within the set peak current range at the end of the power distribution control section, that is, immediately before the power distribution pause section starts. Thus, since the welding current at the time of starting the power distribution pause can be aligned within the peak current range for each cycle, it is possible to accurately extract the change in the falling characteristics of the welding current in the power distribution pause section for each cycle. In the present invention, when the difference value obtained by subtracting the time constant when the current detection value in the power distribution pause section for the M-th cycle falls from the peak current range from the time constant when the current detection value in the power distribution pause section for the N-th cycle falls from the peak current range is larger than the third threshold value, it is determined that the spatter has occurred. Thus, it is possible to detect the occurrence of spatter with good accuracy in consideration of the change in the falling characteristics of the welding current in the entire power distribution pause section.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a view showing a configuration of a welding system to which a spot welding method and a spatter detection method according to one embodiment of the present invention is applied;
FIG. 2 is a diagram showing a circuit configuration of a welding power circuit;
FIG. 3 is a graph showing a relationship between an AC voltage input from an inverter circuit to a transformer and a welding current applied to a pair of electrode chips in the welding power circuit;
FIG. 4 is a view schematically showing the section of a workpiece during welding,
FIG. 4 showing the view in a state in which the welding current is applied to the workpiece while the workpiece is sandwiched and pressurized by the upper electrode chip and the lower electrode chip;
FIG. 5 is a flowchart showing the specific steps of welding current control in a control apparatus;
FIG. 6 is a graph showing the waveform of the welding current achieved by the welding current control of FIG. 5;
FIG. 7 is a flowchart showing the specific steps of power distribution control processing;
FIG. 8 is a flowchart showing the specific steps of power distribution pause processing;
FIG. 9 is a graph showing a case where waveforms of a welding current are stacked in a power distribution pause section for two cycles before and after the occurrence of spatter;
FIG. 10 is a flowchart showing the specific steps of spatter detection processing of a first example;
FIG. 11 is a graph showing a correlation between a welding diameter formed when the welding current is continuously supplied over a prescribed cycle and a timing of occurrence of spatter;
FIG. 12 is a flowchart showing the specific steps of the spatter detection processing of a second example; and
FIG. 13 is a flowchart showing the specific steps of the spatter detection processing of a third example.
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, one embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a view showing a configuration of a welding system S to which a spot welding method and a spatter detection method according to the present embodiment is applied.
The welding system S includes a spot welding apparatus 1 as a welding gun, a workpiece W as a multilayer body of metal plates joined to each other by the spot welding apparatus 1, and a robot 6 supporting the spot welding apparatus 1.
The workpiece W is a multilayer body configured such that a plurality of metal plates is stacked on each other. In the present embodiment, a case where a first metal plate W1, a second metal plate W2, and a third metal plate W3 as three metal plates are stacked on each other in this order from the top to the bottom to form a multilayer body as the workpiece W will be described, but the present invention is not limited to such a case. The number of metal plates forming the workpiece W may be two or four or more. A case will be described below in which a thickness of the first metal plate W1 is thinner than a thickness of each of the second metal plate W2 and the third metal plate W3 and the first metal plate W1, the second metal plate W2, and the third metal plate W3 are made of the same metal, but the present invention is not limited thereto. At least one metal plate of these metal plates W1 to W3 may have a rigidity different from those of the other metal plates.
The robot 6 includes a robot body 60 attached to a floor surface, an articulated arm 61 pivotally supported on the robot body 60, and a robot control apparatus 62 that controls the robot 6. The articulated arm 61 includes a first arm portion 611 pivotally supported on a base end side by the robot body 60, a second arm portion 612 pivotally supported on a base end side by the first arm portion 611, a third arm portion 613 pivotally supported on a base end side by the second arm portion 612, and a fourth arm portion 614 pivotally supported on a base end side by the third arm portion 613 and attached to the spot welding apparatus 1 on a tip end side.
The robot control apparatus 62 drives a plurality of motors provided at the robot body 60 and the articulated arm 61 to drive each of the arm portions 611 to 614, thereby controlling the position and orientation of the spot welding apparatus 1 attached to the fourth arm portion 614 and moving later-described electrode chips 21, 26 provided at the spot welding apparatus 1 to a joint portion of the workpiece W.
The spot welding apparatus 1 includes a welding power circuit 3 as a welding current supply source, a gun body 2 on which a later-described upper electrode chip movement mechanism 4 and part of the welding power circuit 3 are mounted, the upper electrode chip 21 and the lower electrode chip 26 as a pair of electrodes, an upper electrode chip support portion 22, an upper adaptor body 23, a gun arm 25, a lower electrode chip support portion 27, and a lower adaptor body 28.
The upper electrode chip support portion 22 is in the shape of a rod extending along the vertical direction, and the upper electrode chip 21 is attached to a tip end portion of the upper electrode chip support portion 22. The upper adaptor body 23 is in a columnar shape, and connects the gun body 2 and the upper electrode chip support portion 22 to each other. The upper adaptor body 23 is, relative to the gun body 2, provided slidably along a sliding direction parallel with the axis of the upper electrode chip support portion 22.
The gun arm 25 extends to curve from the gun body 2 to below the upper electrode chip 21 in the vertical direction. The lower electrode chip support portion 27 is in the shape of a rod coaxial with the upper electrode chip support portion 22, and the lower electrode chip 26 is attached to a tip end portion of the lower electrode chip support portion 27. The lower adaptor body 28 is in a columnar shape, and connects a tip end portion of the gun arm 25 and the lower electrode chip support portion 27 to each other. As shown in FIG. 1, the lower electrode chip 26 is supported by the lower electrode chip support portion 27 to face the upper electrode chip 21 with a predetermined clearance along the axes of the chip support portions 22, 27.
The upper electrode chip movement mechanism 4 includes a cylinder, a control apparatus therefor, etc., and together with the upper electrode chip support portion 22 and the upper electrode chip 21, moves the upper adaptor body 23 back and forth along the sliding direction. With this configuration, the upper electrode chip 21 can contact an upper surface of the workpiece W with the lower electrode chip 26 contacting a lower surface of the workpiece W, and the workpiece W can be further sandwiched and pressurized by these electrode chips 21, 26.
FIG. 2 is a diagram showing a circuit configuration of the welding power circuit 3. The welding power circuit 3 includes a welding control circuit 3a, a DC welding transformer 3b, power cables 3c, a current sensor 3d, and a voltage sensor 3e. The welding power circuit 3 is connected to the upper electrode chip 21 and the lower electrode chip 26 through power lines L1, L2. As shown in FIG. 1, the DC welding transformer 3b and the current sensor 3d of the welding power circuit 3 configured as described above are mounted on the gun body 2. Moreover, the welding control circuit 3a of the welding power circuit 3 is mounted on a base separated from the gun body 2, and is connected to the DC welding transformer 3b through the power cables 3c. With this configuration, the weight of the gun body 2 can be reduced.
The welding control circuit 3a includes a converter circuit 31, an inverter circuit 32, and a control apparatus 33. The DC welding transformer 3b includes a transformer 34 and a rectification circuit 35.
The converter circuit 31 performs full-wave rectification for a three-phase power input from a three-phase power source 30, thereby converting the three-phase power into a DC power and supplying the DC power to the inverter circuit 32.
The inverter circuit 32 converts the DC power input from the converter circuit 31 into a single-phase AC power, thereby outputting the single-phase AC power to the transformer 34 through the power cables 3c. More specifically, the inverter circuit 32 includes four bridge-connected switching elements. The inverter circuit 32 turns on or off these switching elements according to a gate drive signal transmitted from a gate drive circuit mounted on the control apparatus 33, thereby converting the DC power into the single-phase AC power.
The transformer 34 transforms the AC power input from the inverter circuit 32, thereby outputting the transformed AC power to the rectification circuit 35. The rectification circuit 35 rectifies the AC power input from the transformer 34, thereby outputting a DC power to between the electrode chips 21, 26 each connected to the power lines L1, L2. For example, a known full-wave rectification circuit including a combination of two rectification diodes 351, 352 and a center tap 353 is used as the rectification circuit 35.
The current sensor 3d detects a welding current supplied from the welding power circuit 3 to the chips 21, 26. The current sensor 3d is, for example, provided on the power line L1 connecting the rectification circuit 35 and the upper electrode chip 21 to each other, and to the control apparatus 33, transmits a current detection signal according to the level of the welding current flowing in the power line L1.
The voltage sensor 3e detects voltages on secondary sides (i.e., on sides of the chips 21 and 26) of the DC welding transformer 3b. The voltage sensor 3e is connected to the power lines L1 and L2 connecting the DC welding transformer 3b and the chips 21 and 26, and transmits, to the control apparatus 33, a voltage detection signal according to the level of the secondary side-voltage V2 between these power lines L1 and L2.
The control apparatus 33 includes, for example, a microcomputer that executes later-described welding current control and spatter detection processing by means of the current detection signal transmitted from the current sensor 3d and the voltage detection signal transmitted from the voltage sensor 3e and the gate drive circuit that generates the gate drive signal according to an arithmetic processing result of the microcomputer to transmit the gate drive signal to the inverter circuit 32.
FIG. 3 is a graph showing a relationship between an AC voltage Vt input from the inverter circuit 32 to the transformer 34 and the welding current Iw applied to the electrode chips 21, 26 in the welding power circuit 3 as described above.
When the inverter circuit 32 is driven, the AC voltage Vt in the shape of a square wave as shown in FIG. 3 is outputted from the inverter circuit 32. The AC voltage output from the inverter circuit 32 is transformed in the transformer 34, and is further rectified in the rectification circuit 35. Then, the DC welding current Iw is applied to the workpiece W through the electrode chips 21, 26.
As shown in FIG. 3, the welding current Iw increases as a duty cycle increases, the duty cycle being the ratio of a pulse width PW as a period in which the AC voltage Vt is Hi or Lo to a predetermined carrier cycle T. As described later with reference to FIGS. 5 and 6, the control apparatus 33 determines the pulse width PW according to a known feedback control rule such as PI control such that the output current of the welding power circuit 3 detected by the current sensor 3d reaches a target current set by not-shown processing, and performs ON/OFF drive of the plurality of switching elements in the inverter circuit 32 by PWM control with the duty cycle set according to the pulse width PW.
Next, the steps of the spot welding method for joining the workpiece W by the welding system S as described above will be described.
First, as shown in FIG. 1, the robot control apparatus 62 drives the robot body 60 and the articulated arm 61, thereby controlling the position and posture of the spot welding apparatus 1 such that the workpiece W is arranged between the upper electrode chip 21 and the lower electrode chip 26. At this point, the robot control apparatus 62 controls the position and posture of the spot welding apparatus 1 such that the lower electrode chip 26 contacts a lower surface of the third metal plate W3 of the workpiece W.
Next, as shown in FIG. 4, the upper adaptor body 23 is slid using the upper electrode chip movement mechanism 4 such that the upper electrode chip 21 approaches the lower electrode chip 26. When the upper electrode chip 21 approaches the lower electrode chip 26 and comes into contact with an upper surface of the first metal plate W1, the workpiece W is sandwiched and pressurized by the upper electrode chip 21 and the lower electrode chip 26.
Next, the control apparatus 33 of the welding power circuit 3 executes the welding current control by the steps described with reference to FIG. 5 while maintaining a state in which the workpiece W is pressurized from both sides by the electrode chips 21, 26, and applies the pulse-shaped welding current to between the upper electrode chip 21 and the lower electrode chip 26. In this manner, as shown in FIG. 4, a first nugget N1 is formed between the first metal plate W1 and the second metal plate W2, and a second nugget N2 is formed between the second metal plate W2 and the third metal plate W3. Thus, the first to third metal plates W1 to W3 are welded to each other.
FIG. 5 is a flowchart showing the specific steps of the welding current control in the control apparatus 33. FIG. 6 is a graph showing the waveform of the welding current achieved by the welding current control of FIG. 5. As shown in FIG. 6, the welding current generated by the welding current control of FIG. 5 has a pulse-shaped waveform that peak holding sections in which the welding current is maintained within a set peak current range and non-peak sections in which the welding current increases to the peak current range again after decreases to a bottom current (e.g., zero) from the peak current range are alternately achieved. In other words, under the welding current control of FIG. 5, after the welding current increases from the bottom current toward the peak current range, power distribution control to maintain the welding current within the peak current range and a power distribution pause to decrease the welding current from the peak current range toward the bottom current are alternately executed for a plurality of cycles (at least, two or more cycles), whereby a welding current having a pulse-shaped waveform as shown in FIG. 6 is generated and supplied to the workpiece W. Hereinafter, a section in which the power distribution control is performed is referred to as a power distribution control section, and a section in which the power distribution pause is performed is referred to as a power distribution pause section.
First, at S1, the control apparatus 33 sets a value of a counter N for counting the number of pulse cycles (number of pulses) of the welding current supplied to the workpiece W to an initial value of 0, and proceeds to S2.
Next, at S2, the control apparatus 33 counts up the counter N by 1 (N=N+1), and proceeds to S4.
Next, at S4, the control apparatus 33 executes power distribution control processing, and proceeds to S2. As described later with reference to FIG. 7, in the power distribution control processing, the control apparatus 33 increases the welding current from the bottom current toward the peak current range, and then maintains the welding current within the peak current range for a predetermined time.
Next, at S5, the control apparatus 33 determines whether or not a predetermined slope time has elapsed. As shown in FIG. 5, this slope time is time obtained in such a manner that current rise time which is time until the welding current reaches the upper limit of the peak current range from the bottom current and peak holding time which is time for which the welding current is maintained within the peak current range are added up, and is fixed at a preset time. In other words, the slope time is fixed for all cycles of the welding current pulse. The control apparatus 33 returns to S4 to continuously execute the power distribution control processing in a case where a determination result at S5 is NO, and proceeds to S6 in a case where the determination result at S5 is YES.
Next, at S6, the control apparatus 33 executes power distribution pause processing, and then proceeds to S8. As described later in detail with reference to FIG. 8, in this power distribution pause processing, the control apparatus 33 waits for execution of the power distribution control processing for a predetermined power distribution pause time (see FIG. 6), and records a change in a current detection value detected by the current sensor 3d during the power distribution pause section.
Next, at S8, the control apparatus 33 determines whether or not the counter N has reached a predetermined prescribed number of cycles Nset. The prescribed number of cycles Nset corresponds to the number of cycles of the welding current pulse required to join one spot of the workpiece W by the spot welding apparatus 1, and is set in advance according to the thickness and material characteristics of the workpiece W. When the determination result at S8 is NO, the control apparatus 33 returns to S2, and starts power distribution control processing for the next cycle. When the determination result at S8 is YES, the control apparatus 33 proceeds to S9. In the present embodiment, the case has been described in which the welding current is continuously supplied until the number of cycles of the welding current pulse reaches the predetermined prescribed number of cycles Nset, but the present invention is not limited thereto. For example, the welding current may be continuously supplied until a predetermined power distribution time elapses after the start of the welding current control for the first cycle.
Next, at S9, the control apparatus 33 ends the processing of FIG. 5 to start joining a next spot of the workpiece W or another workpiece W after executing spatter detection processing. As described later in detail with reference to FIG. 10, in such spatter detection processing, based on the current detection value detected by the current sensor 3d in the power distribution pause section for each cycle and stored in a storage apparatus, the presence or absence of the occurrence of spatter while the welding current is being supplied, the timing of the occurrence of spatter, and the quality of the product due to the occurrence of spatter are determined.
As described above, in the welding current control, the control apparatus 33 repeatedly executes the power distribution control processing (see S4) and the power distribution pause processing (see S6) across the power distribution time, thereby applying the welding current with the pulse-shaped waveform as shown in FIG. 6 between the electrode chips 21 and 26.
FIG. 7 is a flowchart showing the specific steps of the power distribution control processing. First, at S11, the control apparatus 33 acquires, using the current detection signal transmitted from the current sensor 3d, a present current value Ipv as a present welding current value, and proceeds to S12. At S12, the control apparatus 33 sets a target current value Isp equivalent to a target welding current value, and proceeds to S14. As shown in FIG. 6, the target current value Isp is set between predetermined current rise slopes or between the upper limit and the lower limit of the peak current range.
At S14, the control apparatus 33 calculates a current deviation Idev by subtracting the present current value Ipv acquired at S11 from the target current value Isp set at S12, and proceeds to S15.
At S15, the control apparatus 33 calculates the pulse width PW according to the feedback control rule (specifically, e.g., a PI control rule) based on the current deviation Idev calculated at S14 such that the current deviation Idev reaches zero, and proceeds to S16. More specifically, the control apparatus 33 adds up the result of multiplication of the current deviation Idev by a predetermined proportional gain Kp and the result of multiplication of an integral value of the current deviation Idev by a predetermined integral gain Ki, thereby calculating the pulse width PW.
At S16, the control apparatus 33 starts a PW counter, and proceeds to S17. At S17, the control apparatus 33 turns on the switching elements provided in the inverter circuit 32, and proceeds to S18. At S18, the control apparatus 33 determines whether or not the value of the PW counter reaches zero, i.e., whether or not time equivalent to the pulse width PW has elapsed after the start of the PW counter at S16. The control apparatus 33 returns to S17 to keep the switching elements ON in a case where a determination result at S18 is NO, and proceeds to S19 in a case where the determination result at S18 is YES.
At S19, the control apparatus 33 turns off the switching elements provided in the inverter circuit 32, and proceeds to S20. At S20, the control apparatus 33 determines whether or not the set carrier cycle has elapsed after the switching elements have been turned on at S17. The control apparatus 33 returns to S19 to keep the switching elements OFF in a case where a determination result at S20 is NO, and proceeds to S2 of FIG. 5 in a case where the determination result at S20 is YES.
FIG. 8 is a flowchart showing the specific steps of the power distribution pause processing. At S31, the control apparatus 33 turns on a pause time timer for measuring a time that has elapsed after the start of the power distribution pause (hereinafter, referred to as pause time), and proceeds to S32. At S32, the control apparatus 33 obtains a current detection value Ipv using the current detection signal transmitted from the current sensor 3d, and proceeds to S33. At S33, the control apparatus 33 stores the current detection value Ipv acquired at S32 together with the counter N indicating the present number of cycles and a measurement value t of the pause time timer indicating the pause time in the storage apparatus (not shown), and proceeds to S34. In the following description, a current detection value at a pause time t of an N-th cycle is written as Ipv(N, t).
At S34, the control apparatus 33 determines whether or not the measurement value t of the pause time timer has reached a predetermined set pause time tset. When the determination result at S34 is YES, the control apparatus 33 proceeds to S7 of FIG. 5 and starts power distribution control processing in the next cycle ((N+1)-th cycle). The control apparatus 33 returns to S32 when the determination result at S34 is No, and continues the power distribution pause until the set pause time tset elapses. As described above, the control apparatus 33 acquires, for each cycle, the current detection value from the current sensor in the power distribution pause section. In the present embodiment, the case has been described in which the power distribution pause is executed for a fixed set pause time, but the present invention is not limited thereto. The set pause time may be set according to the effective value of the detection value of the welding current, for example.
Next, the waveform of the welding current generated by execution of the welding current control as described above will be described in detail with reference to FIG. 6.
First, the control apparatus 33 repeatedly executes, between time points t1 to t3, the power distribution control processing shown in FIG. 7 until a lapse of the preset slope time. As described with reference to FIG. 7, in this power distribution control processing, the target current value Isp is set, and the pulse width PW is determined by the PI control such that the present current value Ipv acquired through the current sensor 3d reaches the target current value Isp. The inverter circuit 32 is driven by the PWM control with the pulse width PW. Accordingly, as shown in FIG. 6, the welding current increases from the bottom current to the peak current range after the time point t1, and reaches the upper limit of the peak current range at the time point t2. Thereafter, at the end of the power distribution control section after the time point t2, the welding current is maintained within the peak current range by the PI control in the control apparatus 33. Thereafter, at the time point t3, the control apparatus 33 ends the power distribution control processing (see S4) according to the fact that the predetermined slope time has elapsed after the start of the current control processing at the time point t1 (see S5), and starts the power distribution pause processing (see S6).
By execution of the power distribution control processing as described above, the welding current maintained within the peak current range is applied to the workpiece W. Thus, as shown in FIG. 4, growth of the nuggets N1, N2 is accelerated between the first metal plate W1 and the second metal plate W2 and between the second metal plate W2 and the third metal plate W3. Here, as shown in FIG. 4, since the thickness of the first metal plate W1 is smaller than each of the thicknesses of the second metal plate W2 and the third metal plate W3, the first metal plate W1 is easily deformed by pressurization. Thus, a contact area between the first metal plate W1 and the second metal plate W2 is larger than a contact area between the second metal plate W2 and the third metal plate W3. Thus, a contact resistance between the first metal plate W1 and the second metal plate W2 is smaller than a contact resistance between the second metal plate W2 and the third metal plate W3. Thus, Joule heat generated due to the contact resistance caused by the flow of welding current is greater at a portion between the second metal plate W2 and the third metal plate W3 than at a portion between the first metal plate W1 and the second metal plate W2. Thus, in the peak state, the growth rate of the nugget N2 generated between the second metal plate W2 and the third metal plate W3 is higher than the growth rate of the nugget N1 between the first metal plate W1 and the second metal plate W2.
Returning to FIG. 6, the control apparatus 33 executes, between the time points t3 to t5, the effective value control processing described with reference to FIG. 8. In this effective value control processing, the control apparatus 33 calculates the effective value Irms of the welding current (see S33), and stops driving the inverter circuit 32 until the effective value Irms reaches within the target effective value range. Thus, after the time point t3, the welding current quickly decreases to the bottom current, and reaches the bottom current at the time point t4. Thereafter, at the time point t5, according to the fact that the predetermined set pause time has elapsed after the start of the power distribution pause at the time point t3, the control apparatus 33 ends the power distribution pause processing and starts the power distribution control processing for the next cycle. Thus, after the time point t5, the welding current increases from the bottom current to the peak current range again.
By execution of the power distribution pause processing as described above, the driving of the inverter circuit 32 is stopped until the set pause time elapses. Thus, a state in which the welding current is limited to equal to or lower than the lower limit of the peak current range is maintained during the power distribution pause processing, and therefore, each of the nuggets N1 and N2 generated between the metal plates is cooled by heat dissipation. As described above, the thickness of the first metal plate W1 is smaller than each of the thicknesses of the second metal plate W2 and the third metal plate W3. Thus, heat dissipation between the second metal plate W2 and the third metal plate W3 is smaller than heat dissipation between the first metal plate W1 and the second metal plate W2. While the state in which the welding current is limited to equal to or lower than the peak current range is maintained, the amount of cooling of the nugget N2 by heat dissipation is greater than the amount of cooling of the nugget N1 by heat dissipation. Since the growth rate of the nugget N2 is higher than the growth rate of the nugget N1 in the peak state as described above, the state in which the welding current is limited to equal to or lower than the peak current range is maintained for the set pause time in this manner, and cooling of the nugget N2 is accelerated, whereby the spatter can be prevented from occurring between the second metal plate W2 and the third metal plate W3.
FIG. 9 is a graph showing a case where waveforms of a welding current are stacked in a power distribution pause section for two cycles before and after the occurrence of spatter.
As described above, in the welding current control shown in FIG. 5, the welding current is maintained within the peak current range at the end of the power distribution control section in which the power distribution control is performed, that is, immediately before the power distribution pause is started. For this reason, as shown in FIG. 9, levels of the welding current at the time of starting the power distribution pause substantially coincide with each other regardless of the presence or absence of the occurrence of spatter and the number of cycles. Further, while the welding current is supplied to the workpiece W from the spot welding apparatus 1, a circuit formed by a combination of the workpiece W and the spot welding apparatus 1 including the chips 21 and 26 and the welding power circuit 3 can be regarded as an RL series circuit in which a resistance element corresponding to the workpiece W and an inductance element corresponding to the welding power circuit 3 and the gun arm 25 are connected in series. For this reason, as shown in FIG. 9, the welding current in the power distribution pause section exponentially is reduced from the peak current range toward the bottom current. In the RL series circuit, a time constant at the time of falling of the welding current in the power distribution pause section is inversely proportional to the resistance element corresponding to the workpiece W. For this reason, as shown in FIG. 9, when the waveforms of the welding current in the power distribution pause section compare with each other at cycles before and after the occurrence of spatter, the falling of the welding current becomes gentler after the occurrence of spatter.
Therefore, the occurrence of spatter is detected in the spatter detection processing, using the change in the falling characteristics of the welding current in the power distribution pause section in the cycles before and after the occurrence of spatter. More specifically, the presence or absence of the occurrence of spatter is determined in the spatter detection processing, based on comparison of current detection values (Ipv(N, t1), Ipv(N, t2), . . . ) in the power distribution pause section for the N-th cycle (N being an integer equal to or greater than 2) with current detection values (Ipv(M, t1), Ipv(M, t2), . . . ) in the power distribution pause section for the M-th cycle (M being an integer smaller than N).
Further, when the welding current control as described above continues to be executed over a plurality of cycles, the resistance of the workpiece W will gradually change even when the spatter does not occur. Therefore, in order to underscore the change in the falling characteristics of the welding current due to the occurrence of spatter in the present embodiment, the presence or absence of the occurrence of spatter is determined, based on the comparison of the current detection values (Ipv(N, t1), Ipv(N, t2), . . . ) in the power distribution pause section for the N-th cycle with the current detection values (Ipv(M, t1), Ipv(M, t2), . . . ) in the power distribution pause section for the M-th cycle (i.e., M=N−1) immediately before the N-th cycle.
FIG. 10 is a flowchart showing the specific steps in the spatter detection processing of a first example.
First, at S51, the control apparatus 33 sets the counter N for counting the number of cycles to an initial value of 1, and proceeds to S52.
Next, at S52, the control apparatus 33 counts up the counter N by 1 (N=N+1), and proceeds to S53.
Next, at S53, the control apparatus 33 sets the N-th cycle as a target cycle, and reads current detection values (Ipv(N, t1), (Ipv(N, t2), . . . ) at respective time points in a power distribution pause section for the target cycle and current detection values (Ipv(N−1, t1), Ipv(N−1, t2), . . . ) at respective time points in a power distribution pause section for an (N−1)-th cycle immediately before the target cycle from the storage apparatus (not shown), and proceeds to S54.
Next, at S54, the control apparatus 33 calculates a difference value obtained by subtracting the current detection value for the (N−1)-th cycle from the current detection value for the N-th cycle, for each of the time points (t1, t2, . . . ) in the power distribution pause section, and proceeds to S55. Hereinafter, a difference value at a time point t for the N-th cycle is expressed as dI (N, t) (=Ipv(N, t)−Ipv(N−1, t)). The difference value calculated in this manner becomes a large value when the spatter occurs as shown in FIG. 9.
Next, at S55, the control apparatus 33 extracts the largest value from the difference values dI(N, t1), dI(N, t2), . . . calculated at the respective time point at S54, and stores the largest value as the maximum difference value dImax(N) in the storage apparatus (not shown), and proceeds to S56.
Next, at S56, the control apparatus 33 determines whether or not the counter N has reached the prescribed number of cycles Nset. The control apparatus 33 returns to S52 when the determination result at S56 is NO, and proceeds to S57 when the determination result at S56 is YES.
Next, at S57, the control apparatus 33 determines in order to determine the presence or absence of the occurrence of spatter whether or not there is any one of the maximum difference values dImax(2), . . . , dImax(Nset) for Nset−1 cycles that exceeds a predetermined first threshold value dIth.
When the determination result at S57 is NO, that is, when all of the maximum difference values dImax(2), . . . , dImax(Nset) for Nset−1 cycles are less than the first threshold value dIth, the control apparatus 33 proceeds to S58, determines that no spatter occurs, and proceeds to S59. At S59, the control apparatus 33 determines that the quality of the product manufactured by joining the workpiece W is good, and ends the processing of FIG. 9.
Further, when the determination result at S57 is YES, that is, when at least one of the maximum difference values dImax(2), . . . , dImax(Nset) for Nset−1 cycles exceeds the first threshold value dIth, the control apparatus 33 proceeds to S60, determines that spatter occurs, and proceeds to S61.
At S61, the control apparatus 33 calculates a spatter occurrence cycle P equivalent to a timing at which the spatter occurs, and proceeds to S62. More specifically, the control apparatus 33 acquires a cycle at which any of the maximum difference values dImax(2), . . . , dImax(Nset) for Nset−1 cycles exceeds the first threshold value dIth, and sets such a cycle as the spatter occurrence cycle P. Here, when there are a plurality of cycles at which any of the maximum difference values dImax(2), . . . , dImax(Nset) for Nset−1 cycles exceeds the first threshold value dIth, it is preferable to set a final cycle, at which the maximum difference value exceeds the first threshold value dIth at last, as the spatter occurrence cycle P.
At S62, the control apparatus 33 determines in order to determine the quality of the product based on the timing of the occurrence of spatter whether or not the spatter occurrence cycle P is less than a cycle threshold value Pth set from 2 to Nset.
FIG. 11 is a graph showing a correlation between a welding diameter (i.e., welding strength) formed when the welding current is continuously supplied over the prescribed cycle Nset and the timing of the occurrence of spatter. As shown in FIG. 11, the slower the timing of the occurrence of spatter, the smaller the welding diameter formed finally by welding, and accordingly the lower the welding strength. It is considered that this is because when the timing of the occurrence of spatter is at a former period of the welding, the welding diameter can be expected to grow with subsequent power distribution, whereas when the timing of the occurrence of spatter is at a latter period of the welding, the welding diameter does not grow sufficiently due to subsequent power distribution.
Returning to FIG. 10, when the determination result at S62 is YES, that is, when the spatter occurrence cycle P is less than the cycle threshold value Pth, the control apparatus 33 proceeds to S59, determines that the quality of the product is good, and ends the processing of FIG. 10. Further, when the determination result at S62 is NO, that is, when the spatter occurrence cycle P is equal to or greater than the cycle threshold value Pth, the control apparatus 33 proceeds to S63, determines that the quality of the product is defective, and ends the processing of FIG. 10.
In addition, it is preferable to check the quality again by visual inspection when it is determined that the quality of the product is defective by the above-described spatter detection processing.
FIG. 12 is a flowchart showing the specific steps in the spatter detection processing of a second example. In the processing shown in FIG. 12, steps S71 to S73, S76, and S78 to S83 are the same as steps S51 to S53, S56, and S58 to S63 in the processing shown in FIG. 10, respectively, and thus will not be described.
At S74, the control apparatus 33 calculates an integral value of the current detection value over the power distribution pause section for the N-th cycle and an integral value of the current detection value over the power distribution pause section for the (N−1)-th cycle, and proceeds to S75.
At S75, the control apparatus 33 calculates an integral difference value dS(N) by subtracting the integral value of the current detection value for the (N−1)-th cycle from the integral value of the current detection value for the N-th cycle which are calculated at S74, and proceeds to S76.
At S77, the control apparatus 33 determines in order to determine the presence or absence of the occurrence of spatter whether or not there is any one of integral difference values dS(2), . . . , dS(Nset) for Nset−1 cycles that exceeds a predetermined second threshold value dSth.
When the determination result at S77 is NO, that is, when all of the integral difference values dS(2), . . . , dS(Nset) for Nset−1 cycles are less than the second threshold value dSth, the control apparatus 33 proceeds to S78. In addition, when the determination result at S77 is YES, that is, when at least one of the integral difference values dS(2), . . . , dS(Nset) for Nset−1 cycles exceeds the second threshold value dSth, the control apparatus 33 proceeds to S80.
FIG. 13 is a flowchart showing the specific steps in the spatter detection processing of a third example. In the processing shown in FIG. 13, steps S91 to S93, S96, and S98 to S103 are the same as steps S51 to S53, S56, and S58 to S63 in the processing shown in FIG. 10, respectively, and thus will not be described.
At S94, based on time-series data (Ipv(N, t1), Ipv(N, t2), . . . ) of the current detection value for the N-th cycle acquired at S93 and time-series data (Ipv(N−1, t1), Ipv(N−1, t2), . . . ) of the current detection value for the (N−1)-th cycle, the control apparatus 33 calculates a time constant τ(N) when the current detection value in the power distribution pause section for the N-th cycle decreases from the initial value Ipv(N, t1) within the peak current range toward the bottom current and a time constant τ(N−1) when the current detection value in the power distribution pause section for the (N−1)-th cycle decreases from the initial value Ipv(N−1, t1) within the peak current range toward the bottom current, and proceeds to S95. Note that the time constants τ(N) and τ(N−1) for each cycle can be calculated by a known method based on the time-series data acquired at S93. More specifically, for example, the time taken for the current detection value for each cycle to fall below a threshold value (Ipv(N, t1)×0.632, Ipv(N−1, t1)×0.632) obtained by multiplying each initial value by 0.632 after the start of power distribution pause can be regarded as the time constant τ(N) or τ(N−1) for each cycle.
At S95, the control apparatus 33 calculates a time constant difference value dτ(N) by subtracting the time constant τ(N−1) of the current detection value in the power distribution pause section for the (N−1)-th cycle from the time constant τ(N) of the current detection value in the power distribution pause section for the N-th cycle, and proceeds to S96.
At S97, the control apparatus 33 determines in order to determine the presence or absence of the occurrence of spatter whether or not there is any one of time constant difference values dτ(2), . . . , dτ(Nset) for Nset−1 cycles that exceeds a predetermined third threshold value dτth.
When the determination result at S97 is NO, that is, when all of the time constant difference values dτ(2), . . . , dτ(Nset) for Nset−1 cycles are less than the third threshold value dτth, the control apparatus 33 proceeds to S98. In addition, when the determination result at S97 is YES, that is, when at least one of the time constant difference values dτ(2), . . . , dτ(Nset) for Nset−1 cycles exceeds the third threshold value dτth, the control apparatus 33 proceeds to S100.
According to the spatter detection method related to the present embodiment, the following effects are achieved.
- (1) The circuit formed by a combination of the workpiece W, the pair of electrode chips 21 and 26 that sandwich the workpiece W, and the welding power circuit 3 connected to the pair of electrode chips 21 and 26 can be regarded as an RL series circuit in which the resistance element corresponding to the workpiece W and the inductance element corresponding to the welding power circuit 3 are connected in series. For this reason, when the pulse-shaped welding current generated by alternately repeating the power distribution control and the power distribution pause by the welding power circuit 3 over a plurality of cycles is supplied to the workpiece W, the time constant at the time of falling of the welding current in the power distribution pause section for each cycle is inversely proportional to the resistance element corresponding to the workpiece W. For this reason, when the spatter occurs while the pulse-shaped welding current as described above is being supplied, the falling of the welding current in the power distribution pause section becomes gentler. In the present embodiment, using such a phenomenon and the current sensor 3d already installed in the spot welding apparatus 1, it is possible to determine the presence or absence of the occurrence of spatter based on the current detection value by the current sensor 3d in the power distribution pause section for each cycle.
- (2) The falling characteristics of the welding current in the power distribution pause section as described above vary according to the material and the plate thickness of the workpiece W. Therefore, in the present embodiment, the presence or absence of the occurrence of spatter is determined, based on comparison of the current detection value in the power distribution pause section for the N-th cycle with the current detection value in the power distribution pause section for the M-th cycle (M being an integer smaller than N) before the N-th cycle. In other words, since the current detection value in the power distribution pause section for the M-th cycle before the N-th cycle is used as a comparison target for the current detection value in the power distribution pause section for the N-th cycle, there is no need to re-set the threshold value each time the type of the workpiece W changes, and thus convenience is high.
- (3) When the pulse-shaped welding current as described above continues to be supplied over a plurality of cycles, the resistance value of the workpiece W will gradually change even when the spatter does not occur. Therefore, in the present embodiment, the current detection value in the power distribution pause section for the (N−1)-th cycle immediately before the N-th cycle is used as a comparison target for the current detection value in the power distribution pause section for the N-th cycle, whereby it is possible to determine the presence or absence of the occurrence of spatter and the cycle of the occurrence of spatter with high accuracy.
- (4) In the present embodiment, when the difference value dI(N, t) obtained by subtracting the current detection value in the power distribution pause section for the (N−1)-th cycle from the current detection value in the power distribution pause section for the N-th cycle is larger than the first threshold value dIth, it is determined that the spatter has occurred. Thus, it is possible to detect the occurrence of spatter with a simple calculation.
- (5) In the present embodiment, the integral difference value dS(N) obtained by subtracting the integral value of the current detection value over the power distribution pause section for the (N−1)-th cycle from the integral value of the current detection value over the power distribution pause section for the N-th cycle is larger than the second threshold value dSth, it is determined that the spatter has occurred. Thus, it is possible to detect the occurrence of spatter with good accuracy in consideration of the change in the falling characteristics of the welding current in the entire power distribution pause section.
- (6) In the spot welding method according to the present embodiment, the power distribution control is performed so as to maintain the welding current within the set peak current range at the end of the power distribution control section, that is, immediately before the power distribution pause section starts. Thus, since the welding current at the time of starting the power distribution pause can be aligned within the peak current range for each cycle, it is possible to accurately extract the change in the falling characteristics of the welding current in the power distribution pause section for each cycle. In the present embodiment, when the time constant difference value τ(N) obtained by subtracting the time constant when the current detection value in the power distribution pause section for the (N−1)-th cycle falls from the peak current range from the time constant when the current detection value in the power distribution pause section for the N-th cycle falls from the peak current range is larger than the third threshold value dτth, it is determined that the spatter has occurred. Thus, it is possible to detect the occurrence of spatter with good accuracy in consideration of the change in the falling characteristics of the welding current in the entire power distribution pause section.
One embodiment of the present invention has been described above, but the present invention is not limited to above. Detailed configurations may be changed as necessary within the scope of the gist of the present invention.
In the present embodiment, the case has been described in which the spatter detection processing is executed after the welding current is supplied over the prescribed cycle Nset to detect the occurrence of spatter, but the execution timing for the spatter detection processing is not limited thereto. In the spatter detection processing according to the present invention as described above, the occurrence of spatter is detected, based on the comparison of the welding current in the power distribution pause section for the target cycle with the welding current in the power distribution pause section for the cycle immediately before the target cycle, and thus the spatter detection processing may be executed while the welding current is supplied.