Because you are not logged-in to the journal, it is now our policy to display a 'text-only' version of the paper. This version is obtained by extracting the text from the PDF or HTML file, and it is not guaranteed that the text will be a true image of the text of the paper. The text-only version is intended to act as a reference for search engines when they index the site, and it is not designed to be read by humans!
If you wish to view the human-readable version of the paper, then please Register (if you have not already done so) and Login. Registration is completely free.JCSE Volume 3 Paper 4 Submitted 10th June 2000 Simulation of Electrochemical Noise Due to Metastable Pitting R.A. Cottis Corrosion and Protection Centre, UMIST, P.O. Box 88, Manchester M60 1QD, UK mailto2('Bob.Cottis','manchester.ac.uk') §1 Abstract This paper presents a program that simulates electrochemical noise time records for a process that produces pulses of charge. The output from the simulation is discussed in relation to a range of criteria that have been proposed for the interpretation of electrochemical noise data, and, in particular, for the identification of localized corrosion. The nature of the simulation introduces some artificial limitations, and the results do not adequately test parameters relating to the shape of power spectra. Of the other parameters, the characteristic charge and characteristic frequency are proposed as useful general purpose parameters for the interpretation of electrochemical noise data, while the skew and kurtosis may be useful single parameters for the identification of localized corrosion in well-characterized situations. Keywords: Electrochemical noise, pitting corrosion, simulation. §2 Introduction The measurement of electrochemical noise has received considerable attention for corroding systems since the original publication of Iverson [crossref(1)] (Tyagai published earlier work on a basic shot noise analysis [crossref(2)], but this has rarely been read or referenced by corrosion workers, probably because it is mostly in Russian). The theoretical basis of the analysis of electrochemical noise is relatively well-established for general corrosion, where the electrochemical noise resistance and impedance techniques appear valid under most circumstances [crossref(3)]. However, electrochemical noise measurements for general corrosion offer little that cannot be achieved by conventional dc or ac methods, and the most interesting application is to the identification and quantification of localized corrosion. Several parameters have been suggested as being indicators of localized corrosion, but relatively little agreement has been reached about their validity. One factor that has contributed to this has been the lack of good quality electrochemical noise data with known corrosion properties. Thus many workers who have nominally been studying the application of EN techniques to the identification of localized corrosion have compared the analytical parameters to a visual interpretation of the EN time record, rather than testing them against independent measures of the type of corrosion. The objective of this paper is to present a simple simulation of corrosion occurring according to a well-defined physical process, thereby providing artificial data that can be used to investigate the behaviour of the range of possible parameters. §3 The Model The simulation is based on the conventional three-electrode method in which potential and current noise are measured simultaneously. The current noise is measured as the current between two nominally identical working electrodes (using a zero-resistance ammeter to eliminate potential differences), and the potential noise is measured relative to a quiet reference electrode (in the case of this simulation the reference electrode is, of course, ideally quiet!). §4 A shot noise model is assumed for the corrosion process. The anodic reaction is assumed to consist of instantaneous pulses of charge (mathematically they are Dirac delta functions, current pulses with zero width and infinite height, but finite charge). The amplitude of these pulses may be constant, or it may have an exponential distribution (i.e. there will be many small pulses and few large pulses). The pulses are assumed to be independent of one another (i.e. this is a Poisson process), such that the interval between pulses will have an exponential distribution. The probability of a pulse being emitted, expressed as the mean inter-pulse interval, l (s), is assumed to depend on the electrode potential according to a Tafel type law. In order to permit the examination of the effects of asymmetry of the two working electrodes, the mean inter-pulse interval on one electrode may differ from that for the other electrode (this is expressed as the relative probability of a pulse occurring on working electrode 1). The cathodic reaction is assumed to occur at a constant current, as would be the case for mass-transport limited oxygen reduction. This is probably not very realistic, but it allows for a simple analytical solution for the integration of the potential and current, and thereby provides faster computation. The immediate effect of the anodic pulses of charge is to change the potential of the electrode on which they occur by adding charge to the double-layer capacitance. This leads to a difference in potential of the two working electrodes and the current between them will be a result of the potential difference applied across the solution resistance. §5 In order to avoid artefacts associated with aliasing (due to sampling at a single time) and quantization (due to always starting a pulse at a fixed time relative to the sample time), a relatively complex calculation procedure is used. From a given starting point the time to the next pulse on each of the two working electrodes is computed as a sample from an exponential distribution with the mean inter-pulse time being determined by the electrode potential (the two electrodes are treated independently to allow for the possibility that they may be at significantly different potentials). The potential and current are then integrated analytically up to the next pulse or the next sample time. This minimizes the extent of aliasing of frequencies above the Nyquist frequency into the sample. §6 The estimate of the time to the next pulse is based on the assumption that the potential will not change significantly (and thereby change the probability of emitting a pulse) before the next pulse occurs. In many circumstances (particularly with a large cathodic current or a long mean inter-pulse interval) this assumption will not be valid. It is difficult to solve this problem in a general way. The ideal approach would be to modify the distribution used to account for the change in potential; this may be possible for a single electrode, but it is inherently not possible when the potential of the other electrode may change and thereby change the potential of the coupled working electrode pair. As a simple, though imperfect, solution the time to the next pulse is recalculated at every sample interval. This is valid because the probability of the time to the next pulse is independent of the history of the electrode (given the assumptions made in this model); it may not be valid for other distributions. §7 Implementation The simulation has been programmed in Object Pascal (Delphi V5.0 - Inprise Corporation). The source code for the main module and two supplementary modules forms a part of this paper, as does the complete program. §8 Performance The simulation can potentially process very many pulses in a time record, with the worst case being very frequent pulses in a very long time record. For large numbers of pulses relative to the number of samples the algorithm is first order in the number of pulses processed, and Figure 1 shows the processing time as a function of the expected number of pulses for a fixed time record duration of 65536 seconds. These results were obtained using a computer based on a 350 MHz Pentium II running Windows NT. §9 Figure 1 Processing time for a simulation over 65536 seconds as a function of the expected number of pulses for a constant pulse amplitude. (click on the image for an enlarged view) §10 Results The simulation has been used to investigate the applicability of a range of parameters that may be able to identify whether a given corrosion process is localized or not. These results have been presented in greater detail elsewhere [crossref(4)], but some of the main conclusions are summarized here. §11 Coefficient of Variation The coefficient of variation suffers from its dependence on the mean current, which is a largely arbitrary result of the asymmetry of the two electrodes. Thus Figure 2 shows the effect of electrode asymmetry on the coefficient of variation. This result is to be expected, since the coefficient of variation is only valid for a variable that can only have values that are one side of zero. One solution to this problem is to use the corrosion current, Icorr, rather than the mean current. This can be done by estimating Icorr from Rn, which leads to the conclusion that the standard deviation of potential should be a good indicator of localized corrosion (see also the characteristic frequency below). §12 Figure 2a Effect of electrode asymmetry on coefficient of variation §13 Figure 2b Effect of electrode asymmetry on coefficient of variation (enlargement of y axis) §14 Localization Index The localization index is a simple transformation of the coefficient of variation [crossref(3)], and suffers from the same limitations. §15 Characteristic Charge The characteristic charge may be deduced from a shot-noise analysis [crossref(3) - but see the addendum], and is identical to the charge used in this simulation. It is hardly surprising, therefore, that the calculation provides an accurate estimate. Note, however, that the analysis is based on the low frequency limit of the potential and current noise, and an erroneous value will be obtained if data containing too high a frequency are used (figure 3). The term 'characteristic charge' is suggested to cover the general situation where the data may not be derived from a shot noise process, and where it is not strictly valid to talk in terms of individual events that have a particular charge. In the more general case the large amplitude of both potential and current noise that is required to obtain a large characteristic charge are still expected to be an indicator of the severity of the corrosion process. §16 Figure 3 Effect on sampling frequency (and hence measurement bandwidth) on estimated charge and pulse frequency §17 Note that a large characteristic charge does not, of itself, indicate that localized corrosion is occurring as it may equally well indicate a very high rate of general corrosion. It should therefore be taken as an indicator of the severity or intensity of the corrosion, and it is suggested that it may correlate with the maximum penetration rate. §18 Characteristic Frequency As it is possible to calculate the characteristic charge (from the shot noise analysis) and the corrosion rate (from Rn), it is also possible to calculate a characteristic frequency - the number of characteristic charges per second that are equal to the corrosion current (i.e. Icorr/q). It can be shown [crossref(4)] that this is inversely proportional to the variance of potential. Then a large characteristic frequency (of the order of 1000 Hz/cm2 or above) implies a relatively uniform corrosion process, while a lower frequency implies a more localized corrosion process. Note that the frequency is expected to be proportional to the specimen area, as implied in the units above (see [crossref(3)] and [crossref(4)] for a general discussion of the area dependence of electrochemical noise parameters). §19 When coupled with the estimate of the characteristic charge, the characteristic frequency provides the ability to discriminate a range of corrosion types. Thus experimental work to be reported elsewhere [crossref(4)] has shown that uniform corrosion, pitting corrosion and passivity can be distinguished for a specific system by using these parameters. §20 Roll-off Slope The roll-off slope has been found in relatively narrow sets of experiments to be an indicator of localized corrosion, with a larger slope corresponding to localized corrosion. However, more general comparisons tend to show considerable overlap for the various corrosion types [crossref(5)]. This simulation effectively fixes the roll-off slope by the assumptions made, and does not provide a valid test of this parameter. §21 Skew Providing the pitting process produces distinct uni-directional transients (as it does for the potential noise in some situations and for the current noise when the electrodes are asymmetrical), then the resultant distribution of values will be skewed, and the skew may be a useful parameter for the identification of localized corrosion processes. However, when bi-directional transients occur, or when there are many overlapping transients, then the skew will tend to zero, and will not be a reliable indicator. This is illustrated in Figures 4 and 5. The measured skew is also strongly sensitive to the nature of any drift in the signal [crossref(6)]. §22 Figure 4 Effect of electrode asymmetry on skew §23 Figure 5 Effect of mean inter-pulse interval on skew Where the skew does provide information about a localized corrosion process (e.g. in the case of potential noise), it does have interesting characteristics. By optimizing the sampling frequency, and hence the measurement bandwidth (or by taking the PSD at a specific frequency) skew due to high frequency transients that may be attributable to relatively uniform processes may be lost (in effect this is the central limit theorem at work), while lower frequency transients will show up as a significant skew. §24 Kurtosis The normalized kurtosis (the kurtosis with 3 subtracted from it to make it zero for a normal distribution) will typically be positive for signals showing distinct transients (whether uni- or bi-directional), and it has been used as an indicator of localized corrosion [crossref(7)]. It can be seen from figures 7 that the kurtosis is not much affected by the electrode asymmetry, and in Figure 8 it can be seen that the kurtosis is strongly affected by the frequency of transients. This is particularly true for the current kurtosis in this simulation (since the potential wave transient shape tends not to lead to a large effect on the kurtosis, even when there are few large transients). The current kurtosis (if measured over the optimal frequency range) is effectively an indicator of few, large transients, and as such appears to be a good indicator of the occurrence of localized corrosion. §25 Figure 6 Effect of electrode asymmetry on normalized kurtosis §26 Figure 7a Effect of mean inter-pulse interval on kurtosis §27 Figure 7b Effect of mean inter-pulse interval on kurtosis (enlarged y axis) §28 Noise Resistance and Impedance The electrochemical noise resistance and impedance are not expected to reveal useful information about localized corrosion, but it is interesting to see how the results obtained for this simulation compare with that predicted from simple theory. Note that the model does not incorporate an explicit charge transfer resistance, this being provided indirectly by the response of the pulse emission process to potential. This model therefore provides a slightly more complete test of the relationship between Rn and Rp than is provided by most previous theoretical analyses, which assume either explicitly or implicitly that the current noise is described by the effect of the potential noise on the metal-solution impedance (or vice versa). §29 Figure 8 shows a comparison of the measured electrochemical noise impedance, the set value of the double-layer capacitance, Cdl, and the expected value of Rct. §30 Figure 8 Comparison of amplitude of impedance (average of 6 MEM spectra with order 50) derived from electrochemical noise analysis and from equivalent circuit analysis Conclusions comment(31)This simulation has allowed the examination of a range of electrochemical noise parameters where the true properties of the noise signal are known. While some of the assumptions made in the simulation are questionable, it has provided a clarification of the validity of the various parameters. comment(32)The electrochemical noise resistance and impedance methods have been confirmed for this simulation as giving equivalent results to conventional measurements for symmetrical working electrodes. comment(33)Of the various parameters that have been proposed for the identification of localized corrosion, the characteristic charge and frequency appear to be particularly useful, both because of their theoretical basis for shot noise processes, and because the two parameters combine to allow the discrimination of a wider range of corrosion types and severities. comment(34)Skew and kurtosis are somewhat more system specific than the characteristic charge and frequency, but can give useful indications of the occurrence of localized corrosion for well-defined situations. §35 References defref(1) "Transient Voltage Changes Produced in Corroding Metals", W.P. Iverson, J. Electrochem. Soc., vol. 115, p.617, 1968. defref(2) "Faradaic Noise of Complex Electrochemical Reactions", V.A. Tyagai, Electrochimica Acta, vol. 16, 1647-1654 (1971). defref(3) "Corrosion Testing Made Easy : Electrochemical Impedance and Electrochemical Noise", S. Turgoose and R.A. Cottis, NACE International, February 2000. (see also the Addendum Web page) defref(4) "Electrochemical Noise Analysis of Carbon Steel in Sodium Chloride Solution with Sodium Nitrite as an Inhibitor", H.A. Al-Mazeedi, R.A. Cottis and S.Turgoose, to be presented to EuroCorr 2000, London, September 2000 defref(5) G. Bagley, PhD Thesis, UMIST, 1999 defref(6) "Higher order measures for the analysis of electrochemical noise", G. Bagley, R.A. Cottis and P.J. Laycock, Paper 191 Corrosion 1999, NACE International, 1999. defref(7) "Noise monitoring at Canada's Simonette Sour Oil Processing Facility", E.E. Barr, R. Goodfellow and L.M. Rosenthal, Paper 414, Corrosion 2000, NACE International, 2000.