Dressing quality determination method for resistance welding electrodes and device for the same
11666983 · 2023-06-06
Assignee
Inventors
Cpc classification
B23K11/3063
PERFORMING OPERATIONS; TRANSPORTING
International classification
Abstract
To accurately make a dressing quality determination based on resistance waveforms, a dressing quality determination method determines the quality of dressing performed for electrodes when resistance welding is performed at a plurality of welding points. This method includes accumulating a known resistance waveform immediately after dressing the electrodes, and a known resistance waveform immediately before dressing the electrodes; creating, by a statistical method, a model for setting a threshold value for dressing quality determination, based on a plurality of known resistance waveforms immediately after dressing and a plurality of known resistance waveforms immediately before dressing; acquiring an unknown resistance waveform immediately after dressing the electrodes; and determining whether dressing is normal or dressing is abnormal by comparing the unknown resistance waveform immediately after dressing with the threshold value for dressing quality determination.
Claims
1. A dressing quality determination method for resistance welding electrodes that determines quality of dressing performed for a pair of electrodes when resistance welding to weld a plurality of metal plates is performed at a plurality of welding points by applying a current to a workpiece formed of a stack of the plurality of metal plates while applying pressure with the electrodes, the dressing quality determination method comprising: accumulating a plurality of known resistance waveforms immediately after dressing, each of which is a known resistance waveform immediately after dressing the electrodes, and a plurality of known resistance waveforms immediately before dressing, each of which is a known resistance waveform immediately before dressing the electrodes, at a welding point subject to dressing quality determination among the plurality of welding points; creating, by a statistical method, a model for setting a threshold value for dressing quality determination, based on the plurality of known resistance waveforms immediately after dressing and the plurality of known resistance waveforms immediately before dressing, at the welding point subject to determination; acquiring an unknown resistance waveform immediately after dressing, which is an unknown resistance waveform immediately after dressing the electrodes, at the welding point subject to determination; and determining whether dressing performed for the electrodes is normal or abnormal by comparing the unknown resistance waveform immediately after dressing with the threshold value, at the welding point subject to determination, wherein the creating of a model includes: deriving a probability density function of a multidimensional normal distribution by maximum likelihood estimation based on a plurality of known resistance waveforms immediately after dressing for training, which are part of the plurality of known resistance waveforms immediately after dressing; setting the threshold value that covers abnormality detection efficiency, which represents a predetermined proportion from a higher abnormality degree defined by the Mahalanobis distance pertaining to the probability density function, in a first probability distribution obtained by substituting the plurality of known resistance waveforms immediately before dressing for the probability density function; and setting a proportion of a portion having the abnormality degree equal to or higher than the threshold value in a second probability distribution as a false detection rate, the second probability distribution being obtained by substituting a plurality of known resistance waveforms immediately after dressing for validation, which are other part of the plurality of known resistance waveforms immediately after dressing, for the probability density function, and the determining compares the abnormality degree of the unknown resistance waveform immediately after dressing with the threshold value, determines that dressing is normal when the abnormality degree is equal to or less than the threshold value, and determines that dressing is abnormal when the abnormality degree is equal to or higher than the threshold value.
2. The dressing quality determination method for resistance welding electrodes according to claim 1, wherein a welding point set composed of a plurality of successive welding points subject to determination is formed, the dressing quality determination method further comprises re-determining dressing quality by considering likelihood of a determination result in the determining, at each of the welding points in the welding point set, and the re-determining includes: deriving negative log-likelihood based on the determination result and the false detection rate under a normal assumption, the normal assumption being an assumption that dressing is normal, and deriving negative log-likelihood based on the determination result and the abnormality detection efficiency under an abnormal assumption, and the abnormal assumption being an assumption that dressing is abnormal; deriving a sum total of the negative log-likelihood under the normal assumption of each of the welding points in the welding point set, and a sum total of the negative log-likelihood under the abnormal assumption of each of the welding points in the welding point set; and re-determining that dressing is normal when the sum total of the negative log-likelihood under the normal assumption is equal to or less than the sum total of the negative log-likelihood under the abnormal assumption, and re-determining that dressing is abnormal when the sum total of the negative log-likelihood under the normal assumption is equal to or higher than the sum total of the negative log-likelihood under the abnormal assumption.
3. The dressing quality determination method for resistance welding electrodes according to claim 2, wherein the unknown resistance waveform immediately after dressing on which the re-determination was made that dressing was normal in the re-determining is further accumulated as the known resistance waveform immediately after dressing.
4. The dressing quality determination method for resistance welding electrodes according to claim 3, wherein the dressing quality determination method is incorporated into a welding process in a production line, and the determination is made in parallel with performing the resistance welding.
5. A dressing quality determination device for resistance welding electrodes that determines quality of dressing performed for a pair of electrodes when resistance welding to weld a plurality of metal plates is performed at a plurality of welding points by applying a current to a workpiece formed of a stack of the plurality of metal plates while applying pressure with the electrodes, the dressing quality determination device comprising: a processor configured to: accumulate a plurality of known resistance waveforms immediately after dressing, each of which is a known resistance waveform immediately after dressing the electrodes, and a plurality of known resistance waveforms immediately before dressing, each of which is a known resistance waveform immediately before dressing the electrodes, at a welding point subject to dressing quality determination among the plurality of welding points; create, by a statistical method, a model for setting a threshold value for dressing quality determination, based on the plurality of known resistance waveforms immediately after dressing and the plurality of known resistance waveforms immediately before dressing, at the welding point subject to determination; acquire an unknown resistance waveform immediately after dressing, which is an unknown resistance waveform immediately after dressing the electrodes, at the welding point subject to determination; and determine whether dressing performed for the electrodes is normal or abnormal by comparing the unknown resistance waveform immediately after dressing with the threshold value, at the welding point subject to determination.
6. The dressing quality determination device for resistance welding electrodes according to claim 5, wherein the processor creates the model by: deriving a probability density function of a multidimensional normal distribution by maximum likelihood estimation based on a plurality of known resistance waveforms immediately after dressing for training, which are part of the plurality of known resistance waveforms immediately after dressing; setting the threshold value that covers abnormality detection efficiency, which represents a predetermined proportion from a higher abnormality degree defined by the Mahalanobis distance pertaining to the probability density function, in a first probability distribution obtained by substituting the plurality of known resistance waveforms immediately before dressing for the probability density function; and setting a proportion of a portion having the abnormality degree equal to or higher than the threshold value in a second probability distribution as a false detection rate, the second probability distribution being obtained by substituting a plurality of known resistance waveforms immediately after dressing for validation, which are other part of the plurality of known resistance waveforms immediately after dressing, for the probability density function, and the processor, to determine whether dressing performed for the electrodes is normal or abnormal, compares the abnormality degree of the unknown resistance waveform immediately after dressing with the threshold value, and determines that dressing is normal when the abnormality degree is equal to or less than the threshold value, and determines that dressing is abnormal when the abnormality degree is equal to or higher than the threshold value.
7. The dressing quality determination device for resistance welding electrodes according to claim 6, wherein a welding point set composed of a plurality of successive welding points subject to determination is formed, the processor is further configured to re-determine dressing quality by considering likelihood of a determination result when the processor determines whether dressing performed for the electrodes is normal or abnormal, at each of the welding points in the welding point set, and the processor, to re-determine dressing quality: derives negative log-likelihood based on the determination result and the false detection rate under a normal assumption, the normal assumption being an assumption that dressing is normal, and derives negative log-likelihood based on the determination result and the abnormality detection efficiency under an abnormal assumption, the abnormal assumption being an assumption that dressing is abnormal; derives a sum total of the negative log-likelihood under the normal assumption of each of the welding points in the welding point set, and a sum total of the negative log-likelihood under the abnormal assumption of each of the welding points in the welding point set; and re-determines that dressing is normal when the sum total of the negative log-likelihood under the normal assumption is equal to or less than the sum total of the negative log-likelihood under the abnormal assumption, and re-determines that dressing is abnormal when the sum total of the negative log-likelihood under the normal assumption is equal to or higher than the sum total of the negative log-likelihood under the abnormal assumption.
8. The dressing quality determination device for resistance welding electrodes according to claim 7, wherein the unknown resistance waveform immediately after dressing on which the re-determination was made that dressing was normal by the re-determination is further accumulated as the known resistance waveform immediately after dressing when the processor accumulates the plurality of known resistance waveforms.
9. The dressing quality determination device for resistance welding electrodes according to claim 8, wherein the dressing quality determination device is installed in a resistance welding device introduced in a production line, and makes the determination in parallel with the resistance welding device performing the resistance welding.
10. A dressing quality determination method for resistance welding electrodes that determines quality of dressing performed for a pair of electrodes when resistance welding to weld a plurality of metal plates is performed at a plurality of welding points by applying a current to a workpiece formed of a stack of the plurality of metal plates while applying pressure with the electrodes, the dressing quality determination method comprising: accumulating a plurality of known resistance waveforms immediately after dressing, each of which is a known resistance waveform immediately after dressing the electrodes, and a plurality of known resistance waveforms immediately before dressing, each of which is a known resistance waveform immediately before dressing the electrodes, at a welding point subject to dressing quality determination among the plurality of welding points; creating, by a statistical method, a model for setting a threshold value for dressing quality determination, based on the plurality of known resistance waveforms immediately after dressing and the plurality of known resistance waveforms immediately before dressing, at the welding point subject to determination; acquiring an unknown resistance waveform immediately after dressing, which is an unknown resistance waveform immediately after dressing the electrodes, at the welding point subject to determination; and determining whether dressing performed for the electrodes is normal or abnormal by comparing the unknown resistance waveform immediately after dressing with the threshold value, at the welding point subject to determination, wherein the dressing quality determination method is incorporated into a welding process in a production line, and the determination is made in parallel with performing the resistance welding.
11. The dressing quality determination method for resistance welding electrodes according to claim 1, wherein the dressing quality determination method is incorporated into a welding process in a production line, and the determination is made in parallel with performing the resistance welding.
12. The dressing quality determination method for resistance welding electrodes according to claim 2, wherein the dressing quality determination method is incorporated into a welding process in a production line, and the determination is made in parallel with performing the resistance welding.
13. The dressing quality determination device for resistance welding electrodes according to claim 5, wherein the dressing quality determination device is installed in a resistance welding device introduced in a production line, and makes the determination in parallel with the resistance welding device performing the resistance welding.
14. The dressing quality determination device for resistance welding electrodes according to claim 6, wherein the dressing quality determination device is installed in a resistance welding device introduced in a production line, and makes the determination in parallel with the resistance welding device performing the resistance welding.
15. The dressing quality determination device for resistance welding electrodes according to claim 7, wherein the dressing quality determination device is installed in a resistance welding device introduced in a production line, and makes the determination in parallel with the resistance welding device performing the resistance welding.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
DETAILED DESCRIPTION
(10) Hereinafter, an embodiment of the present disclosure will be described in detail based on the drawings. The following description of the preferred embodiment essentially just shows an example, and does not intend to limit the present disclosure, and objects or application to which the present disclosure is applied.
(11) <Configuration of Spot Welding Device>
(12) A dressing quality determination device for resistance welding electrodes according to the embodiment of the present disclosure is installed in a spot welding device as a resistance welding device. The spot welding device resistance-welds a plurality of metal plates. Specifically, the spot welding device welds the plurality of metal plates by applying a current to a workpiece formed of a stack of the plurality of metal plates while applying pressure with a pair of electrodes.
(13) In the present embodiment, a plurality of spot welding devices are introduced in a welding step in an automobile production line. In the welding step, the spot welding devices perform resistance welding of a plurality of pressed parts formed in a previous step, that is, a press step, at a plurality of welding points. The number of the pressed parts is, for example, several hundreds to several thousands. The number of the welding points is, for example, several thousands to tens of thousands.
(14)
(15) The welding gun 11 is a C-type welding gun, and includes an arm 16, a pair of mutually facing electrodes (fixed electrode 17 and movable electrode 18) mounted on the arm 16, and a servomotor 19 for driving the movable electrode 18. The servomotor 19 is controlled by the robot control apparatus 13.
(16) The robot 12 is a multi-joint robot having six joint axes J1 to J6. The robot 12 includes, on a base 21, a revolving portion 22, a lower arm 23, an upper arm 24, and first to third distal end portions 25 to 27, which are configured to be mutually swingable. The robot 12 includes servomotors (not shown) that drive members around the respective joint axis J1 to J6. The servomotors are controlled by the robot control apparatus 13.
(17) The voltmeter 15 measures the magnitude of voltage between the electrodes 17 and 18, at predetermined time intervals. The welding control apparatus 14 controls the welding current flowing time and the magnitude of the current, and monitors the time and the magnitude of flowing welding current. The welding control apparatus 14 calculates a resistance value between the electrodes 17 and 18, at predetermined time intervals, based on the current value of the welding current and the voltage value between the electrodes 17 and 18 measured by the voltmeter 15. The welding control apparatus 14 produces a waveform representing the relationship between the resistance value between the electrodes 17 and 18 and the weld time (hereinafter referred to as the “resistance waveform”).
(18) The welding control apparatus 14 applies, based on welding conditions and a welding command received from the robot control apparatus 13, the controlled welding current from the electrodes 17 and 18 to a workpiece W in a state in which the workpiece W is held between the electrodes 17 and 18 with a specified pressing force. After completion of applying the current, a welding completion signal is sent from the welding control apparatus 14 to the robot control apparatus 13. The dressing quality determination device 30 is connected to the welding control apparatus 14.
(19) The dressing quality determination device 30 determines the quality of dressing performed for the electrodes, at a welding point subject to determination. The welding point subject to determination is a welding point where resistance welding is performed immediately after dressing the electrodes, among a plurality of welding points at which the spot welding device 10 performs resistance welding. Specifically, the welding point subject to determination is a welding point in a range from the first welding point to the tenth or so welding point immediately after dressing the electrodes, and is a welding point where resistance welding is performed in a state in which the electrode tips are not worn. In this embodiment, there are a plurality of welding points subject to determination. Hereinafter, among the plurality of welding points subject to determination, a welding point X and a welding point Y will be shown as examples.
(20) <Form of Resistance Waveform at Each Welding Point>
(21)
(22) The solid line shown in
(23) The broken line shown in
(24) Here, as shown in
(25)
(26) The broken line shown in
(27) Here, as shown in
(28) As described above, since the forms of the resistance waveforms vary depending on each welding point, the quality of the separation between the resistance waveform when dressing is normal and the resistance waveform when dressing is abnormal also varies depending on each welding point. In short, at the welding point X, it is relatively easy to make a dressing quality determination based on the resistance waveforms. On the other hand, at the welding point Y, it is relatively difficult to make a dressing quality determination based on the resistance waveforms.
(29) <Configuration of Dressing Quality Determination Device for Resistance Welding Electrodes>
(30)
(31) (Accumulation of Data About Known Resistance Waveforms)
(32) The data accumulation means 31 accumulates a plurality of known resistance waveforms A immediately after dressing, which are known resistance waveforms immediately after dressing the electrodes, at each welding points subject to determination (for example, the welding points X, Y). Moreover, the data accumulation means 31 accumulates a plurality of known resistance waveforms B immediately before dressing, which are known resistance waveforms immediately before dressing the electrodes, at each of the welding points subject to determination. For the known resistance waveforms A immediately after dressing and the known resistance waveforms B immediately before dressing, a statistically sufficient number of pieces of data (for example, 100 resistance waveforms for each welding point) are required.
(33) (Creation of Determination Model)
(34) The model creation means 32 creates, by a statistical method, a model for setting a threshold value for dressing quality determination and a later-described false detection rate, based on a plurality of known resistance waveforms A immediately after dressing and a plurality of known resistance waveforms B immediately before dressing, at each welding point subject to determination. In the present embodiment, Hotelling's T-squared method is used as the statistical method. The statistical method is not limited to Hotelling's T-squared method, and various known methods may be used.
(35) The model creation means 32 has data separation means 36, function deriving means 37, threshold value setting means 38, and false detection rate setting means 39.
(36) The data separation means 36 separates data about the plurality of known resistance waveforms A immediately after dressing into two groups. Specifically, part of the plurality of known resistance waveforms A immediately after dressing is grouped as a plurality of known resistance waveforms A1 immediately after dressing for training. Meanwhile, other part of the plurality of known resistance waveforms A immediately after dressing is grouped as a plurality of known resistance waveforms A2 immediately after dressing for validation. The ratio of the two groups is, for example, the known resistance waveforms A1 immediately after dressing for training the known resistance waveforms A2 immediately after dressing for validation=4:1.
(37) The function deriving means 37 determines a parameter of a multidimensional normal distribution by maximum likelihood estimation, based on the plurality of known resistance waveforms A1 immediately after dressing for training, and derives a probability density function P. Specifically, the probability density function P is a probability density function of M-dimensional normal distribution as shown in Equation (1) below. Here, the number M of dimensions is based on the number M of measurement points (for example, 12) at predetermined time intervals in each resistance waveform (see
(38) [Expression 1]
(39)
(40) In Equation (1), x is a random variable, and the bold letter represents a vector. μ, is the mean, and Σ is the covariance, which are shown in Equations (2) and (3) below. α is the Mahalanobis distance and shown in Equation (4) below.
(41) [Expression 2]
(42)
(43) [Expression 3]
(44)
(45) [Expression 4]
α=√{square root over ((x−μ).sup.TΣ.sup.−1(x−μ))} Equation (4)
(46) In Equations (2) and (3), N is the number of pieces of data about the known resistance waveform A1 for training at each welding point. i and j are measurement points at predetermined time intervals in each resistance waveform, and are substituted with numerical values 1 to M (for example, M=12). By substituting Equation (4) into Equation (1), Equation (5) below is obtained.
(47) [Expression 5]
(48)
(49) When the plurality of known resistance waveforms B immediately before dressing are substituted for the probability density function P represented by Equation (5), a first probability distribution Q is obtained. Here, the Mahalanobis distance a (Equation (4)) pertaining to the probability density function P is defined as the abnormality degree (hereinafter may be referred to as the “abnormality degree α”).
(50) The threshold value setting means 38 sets the threshold value H for dressing quality. Specifically, as shown in
(51) When the plurality of known resistance waveforms A2 immediately after dressing for validation is substituted for the probability density function P, a second probability distribution R is obtained.
(52) The false detection rate setting means 39 sets the false detection rate f. The false detection rate f is a probability that dressing is erroneously determined to be abnormal despite the fact that dressing is actually normal. Specifically, in the second probability distribution R as shown in
(53) (Acquisition of Unknown Resistance Waveform)
(54) The waveform acquisition means 33 acquires data about an unknown resistance waveform C immediately after dressing, which is an unknown resistance waveform immediately after dressing the electrodes, at each welding point subject to determination.
(55) (Dressing Quality Determination)
(56) The determination means 34 determines whether dressing performed for the electrodes are normal or abnormal by comparing the unknown resistance waveform C immediately after dressing with the threshold value for dressing quality determination, at each welding point subject to determination.
(57) Specifically, as shown in
(58) (Dressing Quality Re-determination)
(59)
(60) Hence, the re-determination means 35 makes a re-determination for dressing quality by considering the reliability of the dressing quality determination made by the determination means 34 for each welding point. First, a welding point set composed of a plurality of successive welding points subject to determination is formed. Then, the re-determination means 35 makes a re-determination for dressing quality by considering the likelihood of the result of the determination made by the determination means 34, for each of the welding points in the welding point set.
(61) The re-determination means 35 has log-likelihood deriving means 41, log-likelihood sum deriving means 42, and log-likelihood sum comparing means 43.
(62) Defining an assumption that dressing is normal as a normal assumption, the log-likelihood deriving means 41 derives negative log-likelihood d based on a determination result y and the false detection rate f under the normal assumption. On the other hand, defining an assumption that dressing is abnormal as an abnormal assumption, the log-likelihood deriving means 41 derives negative log-likelihood based on the determination result y and the abnormality detection efficiency g under the abnormal assumption. The negative log-likelihood d under the normal assumption is shown in Equation (6) below. The negative log-likelihood e under the abnormal assumption is shown in Equation (7) below.
(63) [Expression 6]
d.sub.i=−{y.sub.ilnf.sub.i+(1−y.sub.i)ln(1−f.sub.i)} Equation (6)
(64) [Expression 7]
e.sub.i=−{y.sub.i ln g.sub.i+(1−y.sub.i)ln(1−g.sub.i)}Equation (7)
(65) In Equations (6) and (7), yi is the result of determination made by the determination means 34. When the determination means 34 determines that dressing is normal, 0 is substituted for yi. When the determination means 34 determines that dressing is abnormal, 1 is substituted for yi. i represents each welding point in the welding point set. In the present embodiment, 0.99 is substituted for the abnormality detection efficiency gi in Equation (7).
(66) The log-likelihood sum deriving means 42 derives a sum total D of the negative log-likelihood d under the normal assumption of each of the welding points in the welding point set. Moreover, the log-likelihood sum deriving means 42 derives a sum total E of the negative log-likelihood e under the abnormal assumption of each of the welding points in the welding point set. The sum total D of the negative log-likelihood d under the normal assumption and the sum total E of the negative log-likelihood e under the abnormal assumption are shown in Equations (8) and (9), respectively.
(67) [Expression 8]
D=Σd.sub.i Equation (8)
(68) [Expression 9]
E=Σe.sub.i Equation (9)
(69) In Equations (8) and (9), i represents each welding point in the welding point set.
(70) When the sum total D of the negative log-likelihood d under the normal assumption is equal to or less than the sum total E of the negative log-likelihood e under the abnormal assumption, the log-likelihood sum comparing means 43 re-determines that dressing is normal. On the other hand, when the sum total D of the negative log-likelihood d under the normal assumption is equal to or higher than the sum total E of the negative log-likelihood e under the abnormal assumption, the log-likelihood sum comparing means 43 re-determines that dressing is abnormal.
(71) One example is shown. For the sake of simplicity, assume that the number of welding points in a welding point set to be considered by the re-determination means 35 is three. At the first welding point, the false detection rate f1=0.01 (1%), and the result of determination made by the determination means 34 is a “normality determination”. At the second welding point, the false detection rate f2=0.08 (8%), and the result of determination made by the determination means 34 is an “abnormality determination”. At the third welding point, the false detection rate f3=0.15 (15%), and the result of determination made by the determination means 34 is an “abnormality determination”. In this case, the sum total D of the negative log-likelihood d under the normal assumption at each of the first to third welding points is D=0.010+2.526+1.897=4.43. On the other hand, the sum total E of the negative log-likelihood e under the abnormal assumption at each of the first to third welding points is E=4.605+0.010+0.010=4.63. At a total of two welding points, namely the second and third welding points, among the three welding points, abnormality determinations are made by the determination means 34, but since D<E, a final determination (re-determination) made by the re-determination means 35 is a normality (re-)determination.
(72) The unknown resistance waveform C immediately after dressing on which the re-determination was made that dressing was normal by the re-determination means 35 is further accumulated as the known resistance waveform A immediately after dressing in the data accumulation means 31.
(73) The determination means 34 and the re-determination means 35 determine and re-determine the dressing quality in parallel with the spot welding device 10 performing resistance welding in the production line.
(74) <Dressing Quality Determination Method for Electric Resistance Welding Electrodes>
(75) A flow of the dressing quality determination method for electric resistance welding electrodes will be described.
(76) As shown in
(77) Next, in the model creation step S2, a model for setting a threshold value for dressing quality determination by a statistical method (Hotelling's T-squared method) is created, based on the plurality of known resistance waveforms A immediately after dressing and the plurality of known resistance waveforms B immediately before dressing, for each welding point subject to determination.
(78) The model creation step S2 has, as small steps, a data separation step t1, a function deriving step t2, a threshold value setting step t3, and a false detection rate setting step t4.
(79) In the data separation step t1, part of the plurality of known resistance waveforms A immediately after dressing is separated as a plurality of known resistance waveforms A1 immediately after dressing for training Meanwhile, in the data separation step t1, other part of the plurality of known resistance waveforms A immediately after dressing is separated as a plurality of known resistance waveforms A2 immediately after dressing for validation.
(80) Next, in the function deriving step t2, a parameter of a multidimensional (M-dimensional) normal distribution is determined by maximum likelihood estimation, based on the plurality of known resistance waveforms A1 immediately after dressing for training, and the probability density function P is derived.
(81) Subsequently, in the threshold value setting step t3, the plurality of known resistance waveforms B immediately before dressing are substituted for the probability density function P to obtain the first probability distribution Q. In the first probability distribution Q, a predetermined proportion (99%) from the higher abnormality degree α defined by the Mahalanobis distance pertaining to the probability density function P is taken as the abnormality detection efficiency g. Then, the threshold value H that covers the abnormality detection efficiency g is set.
(82) Next, in the false detection rate setting step t4, the plurality of known resistance waveforms A2 immediately after dressing for validation are substituted for the probability density function P to obtain the second probability distribution R. Then, the proportion of a portion of the second probability distribution R with the abnormality degree α equal to or higher than the threshold value H is set as the false detection rate f.
(83) Subsequently, in the waveform acquisition step S3, the unknown resistance waveform C immediately after dressing, which is an unknown resistance waveform immediately after dressing the electrodes, is acquired for each welding point subject to determination. Next, in the determination step S4, whether dressing performed for the electrodes is normal or abnormal is determined by comparing the unknown resistance waveform C immediately after dressing with a threshold value for dressing quality, for each welding point subject to determination.
(84) Specifically, in the determination step S4, the abnormality degree α of the unknown resistance waveform C immediately after dressing is compared with the threshold value H. In the determination step S4, when the abnormality degree a of the unknown resistance waveform C immediately after dressing is equal to or less than the threshold value H, dressing is determined to be normal. On the other hand, in the determination step S4, when the abnormality degree α of the unknown resistance waveform C immediately after dressing is equal to or higher than the threshold value H, dressing is determined to be abnormal.
(85) Next, in the re-determination step S5, the dressing quality is re-determined by considering the likelihood of the result of determination made in the determination step S4, for each of the welding points in the welding point set. The re-determination step S5 has, as small steps, a log-likelihood deriving step u1, a log-likelihood sum deriving step u2, and a log-likelihood sum comparing step u3.
(86) In the log-likelihood deriving step u1, defining an assumption that dressing is normal as a normal assumption, the negative log-likelihood d based on the determination result y and the false detection rate f under the normal assumption is derived. Meanwhile, in the log-likelihood deriving step u1, defining an assumption that dressing is abnormal as an abnormal assumption, the negative log-likelihood e based on the determination result y and the abnormality detection efficiency g under the abnormal assumption is derived.
(87) Subsequently, in the log-likelihood sum deriving step u2, the sum total D of the negative log-likelihood d under the normal assumption of each of the welding points in the welding point set is derived. Moreover, in the log-likelihood sum deriving step u2, the sum total E of the negative log-likelihood e under the abnormal assumption of each of the welding points in the welding point set is derived.
(88) Next, in the log-likelihood sum comparing step u3, when the sum total D of the negative log-likelihood d under the normal assumption is equal to or less than the sum total E of the negative log-likelihood e under the abnormal assumption, dressing is re-determined to be normal. On the other hand, in the log-likelihood sum comparing step u3, when the sum total D of the negative log-likelihood d under the normal assumption is equal to or higher than the sum total E of the negative log-likelihood e under the abnormal assumption, dressing is re-determined to be abnormal.
(89) Data about the unknown resistance waveform C immediately after dressing on which the re-determination was made that dressing was normal in the re-determination step S5 is further accumulated as data about the known resistance waveform A immediately after dressing.
(90) The dressing quality determination method according to the present embodiment is incorporated into the welding step in the production line, and the determination and the re-determination are made in parallel with performing resistance welding.
Functions and Effects of the Present Embodiment
(91) Usually, the probability of dressing being normal is higher than the probability of dressing being abnormal. That is, most of the plurality of known resistance waveforms A immediately after dressing are resistance waveforms when dressing is normal. On the other hand, the known resistance waveform B immediately before dressing is a resistance waveform in a state in which the electrodes immediately before dressing are considerably worn, and approximates a resistance waveform when dressing is abnormal. Using these resistance waveforms when dressing is normal (known resistance waveforms A immediately after dressing) and resistance waveforms when dressing is abnormal (known resistance waveforms B immediately before dressing), an appropriate threshold value for dressing quality determination can be set by a statistical method. Therefore, it is possible to accurately make a dressing quality determination based on the resistance waveforms.
(92) The reliability of a determination result of dressing quality in the determination step S4 (determination means 34) can be found based on the false detection rate f. By considering the false detection rate f, it is possible to examine whether or not the determination result obtained in the determination step S4 (determination means 34) is correct.
(93) Since the forms of the resistance waveforms vary depending on each welding point, the reliability of the false detection rate f, that is, the determination result in the determination step S4 (determination means 34) also varies depending of each welding point. According to this configuration, a welding point set constituted by successive welding points subject to determination is formed. Then, the negative log-likelihood d and e of each of welding points in the welding point set are derived. Thus, a weight based on the reliability of the determination result at each welding point is given. Using the sum totals D and E of the negative log-likelihood d and e at each of welding points for dressing quality determination, a re-determination of dressing quality for the entire welding point set is made by placing great importance on the determination result at the welding point having high reliability (low false detection rate f) (for example, the welding point X). Hence, it is possible to make a more reliable dressing quality determination.
(94) Since new data about the known resistance waveform A immediately after dressing can be accumulated while performing resistance welding, good efficiency is achieved.
(95) The dressing quality can be determined without extending production tact time.
(96) Since the present disclosure is applicable to a dressing quality determination method for resistance welding electrodes and a device for the same, the present disclosure is extremely useful and has high industrial applicability.