Detection Of Saturation Level In The Magnetic Core Of A Welding Transformer By Artificial Neural Network Detector

Rama Subbanna S *   Suryakalavarthi M **
* Department of Electrical and Electronics Engineering, St. Martins Engineering College, JNTU Hyderabad.
** Department of Electrical and Electronics Engineering, Jawaharlal Nehru Technological University, Hyderabad

Abstract

This paper aims to develop an Artificial Neural Network based controller to detect the saturation level in the magnetic core of a welding transformer. The magnetization level detector is a substantial component of a Middle-Frequency Direct Current (MFDC) Resistance Spot Welding System (RSWS). The basic circuit of a resistance spot welding system consists of an input rectifier, an inverter, a welding transformer, and a full-wave rectifier which is mounted on the output of the welding transformer. The presence of unbalanced resistances of the transformer secondary windings and the difference in characteristics of output rectifier diodes can cause the transformers magnetic core to become saturated. This produces spikes in the primary current and finally leads to the over-current protection switch-off of the entire system. To prevent the occurrence of such a phenomena, the welding system control must detect that the magnetic core is approaching saturation. In this paper,an Artificial Neural Network is designed whose only input is the primary current of the welding transformer. The proposed ANN is based on the dynamic model of the Resistance Spot Welding System. Before the ANN can be applied, its structure must be defined and an appropriate learning method must be adopted for its training. The ANN implemented in this paper is a three layered ANN and is trained using the resilient back-propagation algorithm. The ANN is trained so as to recognize the waveform of the current spikes in the primary current caused by the magnetic core saturation, which is then used for magnetization level detection.

Keywords :

Introduction

The aim of this work is to develop and evaluate a novel method to detect the magnetization level in the magnetic core of a welding transformer. It is based on an Artificial Neural Network (ANN) and requires only the measurement of the transformer's primary current. The magnetization level detector is a substantial component of a Middle-Frequency Direct Current (MFDC) Resistance Spot Welding System (RSWS), where the welding current and the flux density in the welding transformer's magnetic core are controlled by two hysteresis controllers [1].

The resistance spot welding systems described in different realizations [2]-[7], are widely used in the automotive industry. Although the alternating or Direct Currents (dc) can be used for welding, this work focuses on the RSWS (Figure 1) with dc welding current. The resistances of the two secondary windings R2, R3 and characteristics of the rectifier diodes, connected to these windings, can slightly differ. References [8]-[11] show that combination of these small differences can result in increased DC component in welding transformer's magnetic core flux density. It causes increasing magnetic core saturation with high impact on the transformer's primary current i1, where current spikes eventually appear, leading to the overcurrent protection switch-off of the entire system. However, the problematic current spikes can be prevented either passively [8] or actively [9]-[11].

When the current spikes are prevented actively, closedloop control of the welding current and magnetic core flux density is required. Thus, the welding current and the magnetic core flux density must be measured. While the welding current is normally measured by the Rogowski coil [12], the magnetic core flux density can be measured by the Hall sensor or by a probe coil wound around the magnetic core. In latter, the flux density value is obtained by analogue integration of the voltage induce in the probe coil [9]. Integration of the induced voltage can be unreliable due to the unknown integration constant in the form of remnant flux and drift in analogue electronic components. The drift can be kept under the control by the use of closed-loop compensated analogue integrator [11].

An advanced, two hysteresis controllers based control of the RSWS, where current spikes are prevented actively by the closed-loop control of the welding current and flux density in the welding transformer's magnetic core, is presented in [11]. This solution requires measuring of the welding current, while instead of measured flux density only information about magnetization level in the magnetic core is required. Some methods are tested on welding transformer's magnetic core, that can be applied for magnetization level detection as presented in [9], [10]. All these methods are required in Hall sensor or probe coils which make them less interesting for applications in industrial RSWS, due to the relatively high sensitivity on vibrations, mechanical stresses and high temperatures. In order to overcome these problems, an ANN based magnetic core magnetization level detector is introduced in this work. Its only (single) input is the measured transformer's primary current. The ANN, based on the magnetic core magnetization level detector, is trained to recognize the waveform of the current spikes, which appear in the primary current when the magnetic core is approaching the saturated region. Upon detection of a spike, the ANN target signal makes it possible for the transformer supply voltage to change the direction which also changes the magnetic flux density accordingly. This way, the system is controlled using the ANN detector and over-current protection switch-off is prevented.

Before the ANN can be applied, its structure must be defined first, and then the ANN must be trained using an appropriate learning method [10], [13], [14]. In this paper, the ANN structure appropriate for saturation detection in the transformer's magnetic core and the appropriate learning methods are found with the help of a properly built dynamic model of the RSWS [8], [15]. The mentioned dynamic model includes models of the hysteresis controllers [11] and the ANN based magnetization level detector. The well-known trial and error method was used for defining ANN structure. It is shown that the three-layer ANN with 30 neurons in the first layer, 7 neurons in the second layer, and 1 neuron in the third layer, gives acceptable results. The ANN is trained by the resilient back-propagation rule, where the measured and calculated samples of transformer's primary current, with different known levels of saturation in the magnetic core, are used. The calculated and measured results presented in this paper, shows that the proposed ANN based magnetic core magnetization level detector can be used as a part of the discussed RSWS, improving performances of the entire system.

1. Dynamic Model of the RSWS

The RSWS, shown in Figure 1, consists of an input rectifier, an H-bridge inverter, a single phase transformer and a fullwave output rectifier [11]. The three-phase Alternating Current (AC) voltages u1, u2, u3, supplied from the electric grid, are rectified in the input rectifier in order to produce the direct current (dc) bus voltage. This voltage is used in the H-bridge inverter, where different switching patterns and modulation techniques can be applied, to generate ac voltage uH, required for supply of the welding transformer. The welding transformer has one primary and secondary windings. They are marked with indices 1, 2 and 3 respectively. The currents, the number of turns, the resistance and the leakage inductances of the primary and secondary welding transformer's windings are denoted by i1, I2,I3, N1, N2, N3, R1, R2, R3 and Lσ1, Lσ2, Lσ3. The effects of the eddy current losses are accounted by the resistor Rfe,R1 and L1 are the resistance and inductance of the load. The output rectifier diodes D1 and D2 are connected to both transformer's and secondary coils. They generate the dc welding current i1 which has a dc value a few times higher than the amplitudes of ac currents i2 and i3 that appear in the transformer's secondary coils without the rectifier diodes.

Figure 1. Schematic presentation of the RSWS [1]

The dynamic model of the RSWS was built based on the schematic presentation, shown in Figure 1. The results of simulations, obtained by the dynamic model of the RSWS, shows a small difference in resistances R2, R3 and in characteristics of the rectifier diodes D1 and D2 can cause unbalanced time behavior of the magnetic core flux density B and the current spikes in the primary current i , as 1 shown in Figure 2. The a) and b) graphs in Figure 2 shows the same variables in different time scales. The current spikes appear approximately after 0.06s (Figure 2c). After 0.07s the current spikes become high enough to cause the over-current protection switch off of the RSWS.

Figure 2. (a), (b) and (c) Time behavior of primary current [I]

2. Test Results

This paper proposes an ANN based detector of magnetization level in the magnetic core. The only input for the proposed detector is the measured welding transformer's primary current i1. Its output signal (Tar.) is set to one when the preset magnetization level in transformer's magnetic core is exceeded. The ANN[13] is a parallel multi-layer information processing structure, with possibility to include an expert knowledge into an existent process. The ANN accumulates knowledge training process, while the effectiveness of the ANN depends on the quality of the training procedure. The fundamental aim of the training procedure is to adjust all weights in the artificial neural network, to obtain minimal deviations between the target and calculated outputs. Before the ANN is used, an appropriate structure and learning method must be defined. This can be attained with the proper dynamic model of the RSWS[8], [15]. Once the model is built, the proper structure of the ANN and the learning method can be easily defined by running simulations with different ANN structures. The trial and error procedure was applied in the testing.

Figure 3. Signals involved in the training process of the ANN

Figure 4. The transformer's primary current i 1 and the ANN output signal Tar

Figure 3 shows the signals involved in the learning process of the ANN. The input learning signal (pattern) of the ANN in the learning process is the absolute value of the transformer's primary current (1 pu =400A) obtained from the RSWS dynamic model. According to the magnetization level in the magnetic core, the output learning signal (target) was set to zero or one. The current spikes in the transformer's primary current clearly show that the magnetic core becomes highly saturated. In that case, the output of the ANN based magnetization level detector must be set to one. Figure 3 shows learning signals during samples 3000 and 3200, while the number of all samples is 4041.

Results of the ANN are very dependent on the ANN net configuration, hence an extensive testing of different net configurations was performed. The proper net structure can be defined with the proper model of a whole system. The high computational effort required for simulations of the whole system forced us to apply the trial and error method in determining the ANN structure, instead of applying optimization techniques. The correlation coefficients between the target signal and calculated outputs were the Root Mean Square Errors (RMSE). The learning were controlled. Based on results of the extensive numerical analysis, the ANN structure with 30 neurons in first, 7 neurons in second and 1 neuron in last layer was chosen (RMSE = 0.0037252). More or less neurons in the first layer gave worse RMSE. In addition to determining the ANN structure, the model was applied also for determining the most appropriate learning rule. From all learning rules tested, the resilient and Levenberg- Marquardt backpropagation algorithms gave the best RMSE values. However, the resilient backpropagation was adopted due to the lowest Computational effort required.

As soon as the structure of the ANN and learning rule is defined, they can be applied on the measured signals, while the ANN trained with the measured signals can be applied as magnetization level detector in RSWS controlled by the advanced hysteresis control. Figure 4 shows output signals from the ANN for two different transformer's primary currents (absolute, per unit value, 1 Pu = 400A) measured on the RSWS. As soon as the ANN, through the characteristic form of the primary current, detects that the magnetization level in the magnetic core is high enough, but still not too high (Figure .2(c)), the value of the ANN output changes, causing change in the polarity of the applied supply voltage. This leads to the change in the sign of the magnetic flux density derivative. The magnetic flux density move in the opposite direction until the ANN detects increased magnetization level again. The polarity of the applied supply voltage is changed again and the complete procedure is repeated.

Conclusion

The aim of this research presents a reliable method for detection of the magnetic core saturation that does not require any additional sensor. The proposed ANN based detector requires measurement of the welding transformer's primary current. With the increasing level of the magnetic core saturation the magnitude of the current spikes in the primary current is increasing, which finally leads to the over-current protection switch-off. The ANN, used in this work, is trained to recognize the waveform of the current spikes which is used for magnetization level detection. The applied ANN contains 3 layers with 30, 7 and 1 neuron in the first, second and third layer, respectively. It is trained by the resilient backpropagation rule using samples obtained by the measurements and the dynamic model of the RSWS. Performances of the trained ANN were evaluated by tests performed with the samples used in the training procedure, and with the newly measures samples. The results of the laboratory tests are very promising and show reliable recognition of the magnetic core saturation.

References

[1]. K. Deželak, J. Pihler, G. Štumberger, B. Klopčičand D. Dolinar, (2010). “Artificial Neural Network Applied for Detection of Magnetization Level in the Magnetic Core of a Welding Transformer,” IEEE Transactions on Magnetics, Vol. 46, No. 2, pp. 634–637, February.
[2]. B. M. Brown, (1987) “A comparison of AC and DC resistance welding of automotive steels,” Welding J., Vol. 66, No. 1, pp. 18-23, Jan.
[3]. W. Li, E. Feng, D. Cerjanec, and G. A. Grzazinski, (2004). “A comparison of AC and DC resistance welding of automotive steels,” in Sheet Metal Welding Conf. XI, Sterling Heights, MI, May.
[4]. Miyachi Electronic Company, Chiba-ken, Japan, (2000). “Method and apparatus for controlling resistance welding,” U.S. Patent 6 011 235, Jan.
[5]. J. A. Sabate, V. Vlatkovic, R. B. Ridley, F. C. Lee, and B. H. Cho, (1990). “Design considerations for high-voltage high-power full bridge zero voltage-switching PWM converter,” in IEEE Appl. Power Electron Conf.,1990, pp. 275-284.
[6]. W. Li, D. Cerjanec, and G. A. Grzadzinski, (2005). “A comparative study of single AC and multiphase DC resistance spot welding,” ASME Trans. J. Manuf. Sci. Eng., Vol. 127, No. 3,pp. 583-889.
[7]. A.Canova, G. Gruosso, and B. Vusini, (2007). “Electromagnetic modelling of resistance spot welding system,” in ISEF 2007, XIII Int. Symp. Electromagnetic Fields in Mechatronics, Czech Republic.
[8]. B. Klopčič, G. Štumberger, and D. Dolinar, (2007). “Iron core saturation of a welding transformer in a medium frequency resistance spot welding system caused by the asymmetric output rectifier characteristics,” in Conf. Rec. IAS 2007 Annu. Meeting, New Orleans, LA, Sep. 2007, pp. 2319–2326.
[9]. K. Deželak, B. Klopčič, G. Štumberger and D. Dolinar, (2008). “Detecting saturation level in the iron core of a welding transformer in a resistance spot-welding system,” J. Magn. Magn. Mater. Vol. 320, No. 20, pp. 878–883, Oct.
[10]. K. Deželak, G. Štumberger, B. Klopčič, D. Dolinar, and J. Pihler, (2008). “Iron core saturation detector supplemented by an artificial neural network,” Prz. Elektrotech., Vol. 84, No. 12, pp. 157–159.
[11]. B. Klopčič, D. Dolinar, and G. Štumberger, (2008). “Advanced control of a resistance spot welding system,” IEEE Trans. Power Electron., Vol. 23, No. 1, pp. 144–152, Jan.
[12]. D. J. Ramboz, (1996). “Machinable Rogowski coil, design, and calibration,” IEEE Trans. Instrum. Meas., Vol. 45, No. 2, Apr.
[13]. J. Pihler, B.Grčar, and D. Dolinar, “Improved operation of power transformer protection using artificial neural network,” IEEE Trans. PowerDel., Vol. 12, No. 3, pp. 1128–1136.
[14]. M. El-Banna, D. Filev, and R. B. Chinnam, “Online qualitative nugget classification by using a linear vector quantization neural network for resistance spot welding,” Int. J. Adv. Manuf. Technol., Vol. 36, No. 2–4, pp. 237–248.
[15]. F. de Leon and A. Semlyen, (1994). “Complete transformer model for electromagnetic transients,” IEEE Trans. Power Del., Vol. 9, No. 1, pp. 231–239, Jan.