1. Introduction
Both linear and matrix charge-coupled devices (so-called CCDs) are widely utilized in various tools for measuring light flux intensity of different frequency ranges [
1,
2,
3,
4,
5,
6,
7]. However, they have a considerably lower dynamic range compared to photo-detectors such as photo-multipliers. Due to this fact, it is often necessary to measure light flux intensity at the upper limit of the dynamic range, which, as presented below, leads to serious distortions in measurement results due to blooming [
8,
9,
10]. This necessitates the development of various expansion techniques of the CCD dynamic range [
11,
12,
13].
In particular, this issue applies to emission spectroscopy, a widespread elemental composition estimation method [
14,
15]. The dynamic range of the CCDs used in emission spectrometer recording systems does not exceed the value of the order of a few units of 10
4. This is often insufficient for the study of certain types of objects. Since most emission spectrometers use gas-discharge plasma, the measuring limit on the low-end concentration is due to intrinsic plasma emission noise, and on the high-end concentration it is due to the charge limit that a CCD can accumulate in a single element (pixel) without affecting neighboring elements. As a rule, it is the weak signals to which special attention is paid [
16,
17,
18], and measurements at the upper limit of the dynamic range are not sufficiently studied from the methodological point of view. When using CCD tools in emission spectroscopy, changes in intensity should be adjusted for at certain wavelengths (that is, only in individual pixels of the CCD rather than in the entire CCD). To the best of our knowledge, no such technology is currently available. In this study, we attempted to develop a mathematical algorithm that allows for adjusting the intensity recorded by individual CCD pixels subject to the blooming effect. It does not require any changes in the parameters of the spectrometer.
The elemental composition analysis using emission spectrometers occurs under certain spectrum excitation system parameters, signal accumulation times, and sampling methods, which are selected individually for a certain type of samples. This set of circumstances is commonly referred to as the analytical technique.
Often, a single technique requires determining the impurity level within a concentration range that is of the order of, or greater than, the dynamic range of the spectrometer recording system. During the recording time, a charge is accumulated in CCD pixels. This causes the blooming effect. Its essence is that when a certain value of this charge is exceeded, its electric field begins to affect neighboring pixels; the image of the analytical line begins to “blur”, and its amplitude ceases to increase (see
Figure 1 as an example). This is what is known as the integral upper limit of time intensity, which this recording system can record.
Thus, in order to determine trace concentrations of impurity elements one has to select spectrum excitation parameters and the signal accumulation time, so that it is possible to record weak (due to the low concentration of corresponding atoms in plasma) analytical lines. If spectrum excitation parameters of the source are the same but the impurity content in a sample and/or signal accumulation time are higher, it may be necessary to record the intensity at the value corresponding to its limit. This evidently leads to the underestimation of the measured analytical line intensity compared to its true value.
As an example,
Figure 2 shows data for identifying
Al in
Fe-based alloys when its concentration varies within a wide range (from 0.003 to 10%). The analytical line
Al I 394.4 nm and the reference line
Fe I 389.57 nm were used. The spectrometer used was the SPAS-05 (
https://spas05.com/en/products/emission-spectrometers/optical-emission-spectrometer-oes-spas-05-metal-analysis (accessed on 27 February 2022)), the type of discharge was a low-voltage spark in an argon atmosphere, and the integration time was 16 ms. It can be seen that, with an increase in concentration above 1%, the slope of the calibration curve (curve 3) begins to drop sharply.
The existing methods of tackling the blooming effect are mainly based on electronic methods of changing voltages in the CCD signal reading system [
19,
20] or methods of removing excess electrons from the pixels using additional electrical circuits [
21]. They are widely used in imaging with CCD receivers, but they are not applicable for quantitative measurements of intensities when the image projected on the CCD (consisting of a large number of pixels) contains pixels with and without blooming at the same time.
Another way to remove the blooming effect implies using two CCD receivers receiving the same image [
9]. One of them has a short signal integration time and is used when the blooming effect appears, while the second one having a long integration time is used at a relatively low intensity. This method is convenient for obtaining video images with a wide range of variation in the radiation intensity; however, its use in emission spectrometers significantly complicates the design of the optical unit of the spectrometer.
The proposed method for adjusting the intensity of the spectral line allows increasing the measured radiation intensity by a factor of 2 despite the presence of the blooming effect without changing the circuitry for reading the signal from the CCD.
2. Materials and Methods
Key formulas. Let us consider an algorithm for measuring the line intensity using a CCD in emission spectrometers. Intensity is measured repeatedly (each measurement will be called a “frame”), and in each frame during a certain time (frame duration), the signal is integrated. Due to the random nature of emission of radiation by atoms, with its sufficiently high intensity, the values of the charge accumulated by the pixels for some frames are higher than the upper limit of the CCD. As a result, their measured intensity, which is equal to the upper limit of the CCD, becomes lower than the actual one. However, the intensities of the remaining frames (which are below the upper limit of the CCD) are measured accurately, to a certain extent, and distributed according to a certain statistical law. The task is to use the array of measured frame intensities and the fact that all real intensities of each frame obey one statistical law to restore the real average intensity of the analytical line and its variance, which are calculated for all registered frames.
Our aim is to restore the real intensity of the spectral line as an average of a certain number of frames using frames whose intensity as a statistically variable parameter did not exceed the threshold after which the blooming effect manifests itself. In this sense, the proposed intensity adjustment method is mathematical rather than instrumental.
It is well known that the substance analysis for the content of a certain element is carried out in emission spectrometers with the so-called calibration curves—the dependences of intensities
(absolute or relative, depending on the analytical technique) on an impurity level
in a sample:
The dependence of the relative intensity of the analytical line
Al I 394.4 nm (reference line—
Fe I 389.57 nm) on the concentration
C of aluminum in steels that is shown in
Figure 2 has the following form:
A benchtop spark emission spectrometer with the following characteristics was used in the research to analyze alloys:
type of discharge—low-voltage spark in an argon atmosphere;
spectral resolution—no more than 0.05 nm;
optical configuration—Paschen–Runge;
spectral range—170–450 nm;
recording system—8 CCD TCD1304DG.
The effect considered above leads to the fact that, in the area of high concentrations, derivative
, decreases (or it can be said that the derivative
increases), which negatively affects the quality of the measurements (see
Figure 2) due to an increase in both random and systematic errors.
Thus, studying the adjustment possibility of the analytical line intensity when measured by CCD recording systems at the upper limit of the analytical signal seems to be highly relevant.
To avoid uncertainty, we consider linear CCDs. Let the analytical line image in the focal plane of a linear CCD spectrograph take pixels. We first consider some arbitrary pixel number . Taking into account the set task, first, we are interested in the pixels at the maximum of the analytical line.
As is well known, the algorithm of CCD signal accumulation in an individual pixel can be described as follows: the signal is accumulated for some time, called the accumulation time, after which it is read out, digitized, and summed with the previous signals. After completing a certain number of cycles, called the frame count, the stack is divided by the number of frames. This is the measured signal in the given pixel.
Let the frame count be
, and the distribution density of by-frame intensity probabilities (i.e., not the measured but the actual intensity) that goes into pixel
, obeys a Gaussian distribution:
where
is the intensity value during the
frame in pixel
;
is the standard deviation of the average value for the frame-by-frame distribution of
in pixel
;
is the average intensity value for
frames in pixel
;
is the normalization constant.
varies within the limits:
where
is some sufficiently small value of the order of plasma background radiation intensity at a wavelength, corresponding to the location of pixel
.
We assume that this CCD maximum allowable intensity does not depend on a pixel number and is equal to . We also assume that the measurement results in some average intensity .
The qualitative considerations clarify that if is significantly less than , the values will be close. When approaches the value of , the frames in which the pixel is exposed to radiation of an intensity exceeding will have as a measurement result. Thus, .
This circumstance must be taken into account when taking measurements. In this regard, it is necessary to find the correlation between the values
, and
. Following
Appendix A, we obtain the correlation of the actual intensity and the relative dispersion
, with the measured values
(see the definitions of values
in
Appendix A):
when
if
where
is the gamma function;
is the relative dispersion of the actual intensity;
;
.
Thus, Equation (5) represent the desired system of equations in order to obtain the actual intensity and density dispersion of its distribution probability.
The next thing to consider is that the analytical line image on a CCD has a finite width (at the base) which, in modern emission spectrometers, ranges from 3 to 10 pixels. The width depends on the linear dispersion of the spectrograph, the CCD type, and the optical circuitry (which determines the shape of the focal surface and, hence, the focusing degree of a particular CCD area).
3. Results
CCD recording systems are usually used in spectrographs based on the Paschen–Runge configuration [
22,
23]. Linear CCDs having the smallest possible horizontal pixel size and the highest possible height are typically used in emission spectrometers. The latter is designed to increase the spectrometer recording system sensitivity. For example, a Toshiba TCD1304DG CCD with a pixel size of 8 × 200 μm is very popular. Therefore, “SPAS”-05 emission spectrometers produced by Active Co., Ltd., Saint Petersburg, Russian, which use TCD1304DG CCD, have a spectrum resolution of up to 0.05 nm. The analytical line width of the intensity
in the pixel corresponding to the spectral line center is about 6 to 7 pixels at the base, when the spectrum is spark-excited in argon atmosphere. The linewidth is determined both by the conditions in the plasma (Doppler and Lorentz broadening) and by the instrumental function of the spectrometer.
At a normal width of the entrance slit, the contribution of these factors is comparable. It should be noted that, in CCD emission devices that have the Paschen–Runge configuration, in addition to the natural width of the spectral line (Doppler line profile, which is associated with a high temperature, and Lorentzian shape, which is associated with the finite lifetime of the excited level), there is one more reason for line-broadening: it is due to the fact that linear CCDs that are used have a flat shape, whereas the focal surface has a non-zero curvature. Because of this, at any position of the CCD relative to this surface, a maximum of two points of the receiver are in focus. The rest are inevitably out of focus.
Apparently, the closer the value
is to
, the greater the difference will be between
and
. Due to this fact, the effect considered will be significant for the pixels that form the spectral line center. Earlier in the paper we designated the number of pixels constituting the intensity
, by
. We number them from left to right. Then, for the actual intensity of the spectral line:
we obtain the correlation:
where
is found from Equation (5).
Thus, the algorithm for applying the results obtained when used to measure spectral line intensities is as follows. Cyclic signal accumulation occurs during the recording process simultaneously in each pixel of the CCD for a period of time, called a frame. The analog signal is then read out and sent to the ADC, where it is converted into digital format. Furthermore, there is an accumulation during the subsequent frames. As stated previously, to improve the measurement statistics (to reduce the root-mean-square value—RMS), the number of frames usually exceeds 100 depending on the measurement technique.
It should be noted that when working with relative intensities, when it is also necessary to calculate the intensity of the reference line (i.e., the properly selected base line), it is sufficient to perform adjustment according to the designed procedure only for the analytical line of the impurity or alloying element. The reference line intensity weakly depends on their concentration and, in advance, is chosen to be not too large (as a rule, not more than ); otherwise, the adjustment is also needed for the reference line.
The aforementioned mathematical model is applied according to the following algorithm. The signal accumulated in each pixel constituting the analytical line intensity during each frame is saved. Thus, we have a dimensional dataset
for one analytical line. These data are used to calculate the values
by the formulas:
After that, System (5) is solved and the actual parameters are found for each of the pixels, constituting the analytical line intensities, which are used in calibration graph plotting.
4. Discussion
We consider the performance of the values depending on the parameters . It is quite evident that when there will be the correlation . Indeed, according to the “three sigma” criterion, of all actual frame intensity values will be equal to the corresponding measured intensity values. We can conclude now that as the dispersion decreases (if ), the adjustment for the effect considered will decrease and vice versa. In this case, when the dispersion is fixed, the growth in the intensity results in the adjustment upswing (the parameter upswing) and vice versa. In the limiting case when and or, equivalently, , we obtain . These dependencies also directly result from the solution of System (5).
We now consider the case in which
. In this case, the difference between the measured spectral line intensity and the actual line intensity is higher than when
. This happens because, with the increase in
in each pixel, some of the values
(
) when measured are unaffected by
and are replaced by
. The greater the frame dispersion
and the closer
to
, the greater the difference between
and
. This is illustrated by the data in
Figure 3 and
Figure 4, which show the dependence of value
for a single pixel. It can be seen that when the relative actual by-frame dispersion is less than 10%, the adjustment is negligibly small if
. At the same time, if the dispersion
is up to 40%, the adjustment can be neglected only if
.
It should be noted that the actual dispersion is wider than the measured . The reasons for this are discussed above. Apparently, when (and therefore ) increases, this difference becomes greater.
Figure 5 and
Figure 6 represent the dependences
, and
Figure 7 and
Figure 8 show
. As we predicted, as the parameter
increases and the relative dispersion of the measured intensity increases, the parameter
increases. The same can be said of the value
. After comparison of the data from
Figure 3 and
Figure 5, we can conclude that, at the same parameter
, the in-equation
is satisfied. As we stated previously, this results from the fair correlation
.
Above, we discussed the effect of reducing the measured intensity for a single pixel. When we analyze how this effect interferes with the spectral line intensity measurement, we must remember that the intensity adjustment in different pixels will be different. To illustrate the developed algorithm, we consider the situation in which the spectral line according to the measurements has a Doppler shape. We want to emphasize that the specific form of the measured spectral line intensity in this case is of no crucial significance.
We can state that the half-width of the actual spectral line will be narrower, and the width at the base will be the same. This is true if, during the signal accumulation time in each pixel, the accumulated charge does not affect the neighboring pixels. Indeed, the analysis shows that, if the relative by-frame dispersion is the same, the intensity adjustment decreases with the reduction in the intensity itself. Thus, the adjustment results in a more significant increase in the intensity of the central pixels of the image rather than the intensity of the pixels on the spectral line wings. This will decrease the half-width of the line.
The line width at the base remains the same because, for the image forming edge pixels with low intensity, compared to , the adjustment for the effect considered is negligibly small.
We assumed previously that the measured spectral line width in pixels at the base is equal to . We now number these pixels from right to left from 1 to . Moreover, we assume, for simplicity, that the center of the spectral line coincides with the center of one of the pixels, i.e., number is odd. Based on the line width at the base, we understand that this number of pixels, when the intensity is measured in the first and the last (number ) pixels, is 10−3 of the intensity in the center. This assumption is supported for modern emission spectrometers used for the analysis of, for example, metals and alloys, and the lines with the measured intensity in the central pixel of the order of value .
As we noted previously, when developing an analytical technique for calculating analytical line intensities with spectrometer software where CCDs are used as radiation receivers in the recording system, it is necessary to indicate the pixels whose intensities should be summed.
Figure 9 shows, as an example, a view of the corresponding window of the SPAS-02 emission spectrometer software (
http://activespectr.com/en/products/emission-spectrometers/optical-emission-spectrometer-oes-spas-02-metal-analysis (accessed on 27 February 2022)) designed to analyze metals and alloys (pixels inside the yellow shading on the line
Ni 351.505 nm). As can be seen, the summed pixels occupy almost the entire line width for low
Ni concentrations (of a weak line), whereas, for high concentrations, they occupy only the central pixels, as the width of the line image increases with its intensity. Thus, the in-equation
is usually satisfied. If the intensity constituting pixels symmetrical to the center of the line is chosen, number
will also be odd.
For the measured intensity in pixel
we have:
and for the line measured intensity we obtain:
Consequently, for the actual intensity of the spectral line we obtain:
For simplicity, we assume that the relative dispersions are unrelated to the frame number and equal to value .
Figure 10 shows Formulas (9)–(11) for calculating the dependency of value
for
(typical values for modern emission spectrometers designed to analyze metals and alloys) on parameter
(i.e., parameter
calculated for the central pixel, which, if
, is number 4) at different relative dispersions
. Comparing these data with the data in
Figure 5 shows that, all other things being equal, the inequation is satisfied:
The same can be said of the value
calculations, shown in
Figure 11 (depending on
at different values of
). The reason for this, as previously discussed, is that, when moving away from the center of the line, the effect considered decreases due to a decrease in the intensity in the corresponding pixels.
Figure 12 shows the results of a numerical experiment on the application of the proposed algorithm. The frame-by-frame accumulation of the CCD signal was simulated using a random number generator with a probability density defined by Formula (3). The line contours were recorded by the recording system on CCD rulers and reconstructed using the above algorithm for our model problem when
and
. As indicated, the measured and the reconstructed contours have different half-widths if the width at the base is the same. The reasons for this are discussed above. For the central pixel, the effect considered is at its maximum, so the half-width decreases. In this case, the effect for the edge pixels is almost equal to null, which provides the same width at the base of the recorded and the actual contours.
Figure 13 shows the results of experimental application of the proposed algorithm for the case of determining
Al in steels for the experimental conditions in
Figure 2. From the data in
Figure 2, it can be seen that under the selected operating parameters of the SPAS-05 spectrometer (
https://spas05.com/en/products/emission-spectrometers/optical-emission-spectrometer-oes-spas-05-metal-analysis (accessed on 27 February 2022)), concentrations of several thousandths of a percent are reliably determined. At concentrations less than 1%, the blooming effect is not pronounced. For the relative intensity measured by the traditional method, when the concentration exceeds 1%, the derivative of the dependence
begins to drop sharply and, at a concentration above 2.2%, the intensity does not depend on the concentration. Thus, the technique for determining the concentration of
Al that is described by the calibration curve (Equation (2)) is applicable over the
Al concentration range
. At the same time, the use of the proposed algorithm makes it possible to expand the upper range of its applicability to 2.6%.