A Smart High-Throughput Experiment Platform for Materials Corrosion Study

Materials corrosion study is based on plenty of contrast experiments. Traditional corrosion experiments are time-consuming and require manual corrosion grade evaluating during the experiment. To improve the efficiency of experiment, a high-throughput experiment platform is designed and accomplished. The platform mainly consists of high-throughput corrosion reaction facility, data acquisition system, and data processing system.The corrosion reaction facility supports high-throughput materials corrosion reactions under various conditions. The data acquisition system is mainly responsible for capturing the images of samples’ surface, collecting electrochemical signals, and storing them into the computer in real time. The data processing system treats the acquired data and evaluates the degree of materials corrosion in real time by program automatically. The platform not only reduces the occupation of the equipment but also improves the efficiency of sample preparation and experiment occurrence.The experimental data shows that the platform can accomplish high-throughput corrosion contrast experiment easily and reduce the time cost obviously.


Introduction
Corrosion is one of the most popular materials' failure causes.It will significantly reduce materials' strength, plastic, and toughness properties, shorten the service life, and cause catastrophic accidents [1].To investigate the factors and mechanisms of materials corrosion, a lot of experiments must be conducted.A small change of the experimental parameters often means a series of new similar experiments, which will undoubtedly consume a large amount of resources.To improve the efficiency of this kind of experiments, highthroughput method is adopted.
The idea of high-throughput originates from combinatorial chemistry [2], aiming to shorten the product development period and reduce costs by large-scale chemical synthesis technology.Its essence is to accomplish large amount of repetitive experiments in parallel and obtain experimental results through the novel design of experiment scheme and equipment.High-throughput characterization technology has been widely used in gene sequencing, drug screening, and so on.In recent years, new materials development begins to adopt high-throughput technology to improve development efficiency [3].However, there are few reports on high-throughput materials experiment method.In this paper, we try to improve the efficiency of materials corrosion experiment by high-throughput technology.
A high-throughput corrosion experiment platform has been designed and accomplished.The platform mainly comprises high-throughput corrosion reaction facility, data acquisition system, and data processing system.The corrosion reaction facility supports high-throughput materials corrosion reactions under various conditions.The data acquisition system is mainly responsible for capturing the images of samples' surface, collecting electrochemical signals, and storing them into the computer in real time.The data processing system treats the acquired data and evaluates the degree of materials corrosion in real time by program automatically.
The platform has accomplished some high-throughput materials corrosion experiments, which not only reduces the occupation of the equipment but also improves the efficiency of sample preparation and experiment conduction.Different 2 Scientific Programming from traditional artificial corrosion evaluation, the platform can treat the collected data and automatically generate corrosion evaluation results.The contribution of our method is that it provides the possibility of large-scale materials corrosion experiment and version-based data analysis.
The rest of the paper is arranged as follows.Section 2 introduces the related works about high-throughput experiment and corrosion image processing.Section 3 describes the structure and implementation of the platform.The key algorithm and programing method are presented in Section 4. The experimental procedure and result analysis are shown in Section 5. Section 6 analyzes the performance of our method.At last, Section 7 summarizes our contributions and points out the future work.

Related Works
2.1.High-Throughput Technology.High-throughput is a technology to execute parallel task with multicharacterization methods.It has been applied in several fields, including high-throughput sequencing, high-throughput screening, and combination technology.High-throughput sequencing [4] brings great promotion on the development of biological gene sequencing.It can measure millions of DNA molecules' sequence at the same time.This makes it possible to analyze the transcriptome and the genome of a species in detail.High-throughput screening [5] is a method for scientific experimentation especially used in drug discovery and relevant to the fields of biology and chemistry.It allows a researcher to quickly conduct millions of chemical, genetic, or pharmacological tests with robotics, data processing and control software, liquid handling devices, and sensitive detectors [6].Combination technology, with multichannel parallel synthesis and high-throughput rapid characterization, can synthetize samples of different compositions fleetly by finite steps, investigate its structure and properties efficiently, and develop new materials with required properties finally [7].

Corrosion Image Processing and Evaluation.
Image processing is a technology to analyze images and obtain some desired features by computer.It generally includes image compression, enhancement, restoration, matching, description, and recognition.Image description, matching, and recognition are usually adopted to accomplish some smart applications.
During the study of materials corrosion, the appearance of surface is important to evaluate the corrosion degree.The idea of image processing can be used in the grade evaluation of materials corrosion.In 1981, Itzhak et al. scanned the surface of AISI 304 material by digital scanner, which has been soaked for 20 minutes in 50 ∘ C 10% FeCl 3 solution [8].The corrosive pitting is counted and the corrosion rate is calculated by computer program according to the scanned images.Codaroa et al. analyzed the appearance of pitting of Al-Ti alloy and gave a quantitative description method for pitting.The method can be utilized to represent the evaluation procedure of corrosion [9].Wang et al. collected the morphology of sea water corrosion of carbon steel Figure 1: The structure of high-throughput corrosion experiment platform ((1) corrosion reaction facility, (2) specimen, (3) electrochemical signal acquisition system, (4) image acquisition system, and (5) computer).[10].They adopted grey correlation method to establish the relationship between the corrosion degree and the apparent color and edge.Xu et al. investigated the relationship between the apparent grey value of image and the depth of corrosive pitting in the specimen by fractal dimension method [11].They found out that the relationship was nearly linear.In this paper, corrosion images are automatically processed in real time to evaluate the corrosion grade of specimens.

Platform Structure
With the idea of high-throughput, a smart materials' corrosion experiment platform is designed.It consists of highthroughput corrosion reaction facility, data acquisition system, and data processing system, shown in Figure 1.All the systems are connected to transfer signal and data.

High-Throughput Corrosion Reaction Facility. Highthroughput corrosion reaction facility indicates the container
where the corrosion reaction occurs.We design two kinds of reaction units for high-throughput corrosion reaction: single-solution reaction unit and multiple-solution reaction unit.

Single-Solution Reaction
Unit.The appearance of singlesolution reaction unit is shown in Figure 2. It uses corrosion resistant materials, such as epoxy resin, to package several specimens into one component.Single-solution reaction unit can only investigate the corrosion behaviors of different specimens in the same solution.The specimens in one component can be distinguished from materials, roughness, and other properties.Since the specimens are packaged, they can be treated together to improve the sample making efficiency, such as polishing and surface processing.solutions during one experiment.Every specimen can be arranged into one liquid pool.After one specimen is put in, the bottom of the pool should be sealed up to avoid the leaking of solution.During the experiment procedure, each liquid pool can be plugged with an electrode.Thus, the electrochemical signals of every specimen can be collected independently.The advantage of multiple-solution reaction unit is that different specimens can be tested in different solutions at the same time.One experiment may produce independent image and electrochemical data of every specimen.It can obviously improve the corrosion reaction efficiency.

Electrochemical Signal Acquisition System.
Electrochemical signal is an important characterization parameter during materials corrosion reaction.It is usually detected by electrochemical workstation, representing the current and potential of the specimen and solution.The electrochemical signal acquisition system is composed of an electrochemical workstation, a reference electrode, and a multiplexer.The electrochemical workstation and reference electrode are working together to collect the signal of current and potential.In our high-throughput materials corrosion experiments, the two-electrode system was used to form a closed loop with a working electrode and a reference electrode.We use "Interface 5000" electrochemical workstation from Gamry5 Company.The working electrode is a bolt type materials' electrode, and the reference electrode is commonly Ag/AgCl electrode used in the study of electrochemical corrosion.Ag/AgCl electrode can be utilized as a probe part of reference electrode in the solution.
Since high-throughput experiment needs to get the electrochemical signals of all the specimens, a multiplexer is designed to accomplish the function of parallel signal collection.The multiplexer is developed based on the circuit board.It consists of several input ports and one output port.
Here we show a multiplexer with 16 input ports.All the specimens in the corrosion reaction unit can be connected with the input ports.The output port is connected with an electrochemical workstation to analyze the signal from the input ports.After circuit programing, we can realize the connecting between one input port and the output port at one moment.Thus, the multiplexers can take turns to query 16 input ports in accordance with the way specified by  Although there may have time delay on signal collection, it hardly influence the result because of slow corrosion action.

Image Acquisition System.
Since the surface appearance of specimen is one important characterization for corrosion study, specimen surface image must be collected continuously.The image acquisition system is composed of a camera, a ring light, and a light shield.We choose "MER-500-7UC" camera from Daheng5 Graphics Company.The specific parameters of the camera are shown in Table 1.The camera adopts USB 2.0 port to connect with computer and provides programing interface to control its action.Its size is only 29 mm * 29 mm * 29 mm and it is easy to be used in various environments.
For enough light on the specimens, we take LED ring light as a light source.It can supply an even light for the measured object.To avoid the influence from the environmental light, a light shielding cover was used.The stable light condition makes the direct comparison of images at different stages possible.Light shield selection was relatively simple, as long as it can cover the whole system and block the environmental light in.

Algorithm and Programing
4.1.Electrochemical Signal Extracting.In our high-throughput experiment, the electrochemical data of all specimens are collected together.The electrochemical workstation collects signals sequentially and stores them into one DAT format file.To analyze the electrochemical signal of every specimen, the signal data of every specimen should be extracted from the DAT file.Based on the time stamp in the file and multiplexer, each specimen's electrochemical data can be attained by a program.
To avoid the error of data collecting, we set the data collecting with a higher frequency than the realistic demand.In the electrochemical data split program, the data with big error is picked out.An average data value of the remaining data with small error is adopted as the electrochemical signal value of the specimen by the program.After the program treatment, the data in DAT file is separated into several electrochemical signals.Every group of independent signals is corresponding to one specimen.

Image-Based Smart Corrosion Evaluation.
The surface morphology and corrosion grade evaluation are important for the study of corrosion mechanism.During traditional corrosion experiment, the specimen corrosion grade is evaluated manually.With our smart high-throughput experiment platform, the specimen corrosion grade can be evaluated by the program automatically.
In the past decades, image processing technology has been successfully applied in corrosion description and evaluation.Most of the related works focused on the analysis of grey image.Here we give a quick corrosion degree evaluation method for color corrosion image.For the RGB image, each pixel point has three color channels: red, green, and blue.Each color channel can take any value from 0 to 255 (with 8 bits' format), so the whole color space is a total of 256 3 (about 16 million) kinds of color combination.The calculation of comparing the distribution of these 16 million combinations is too large, so we design a quick method to evaluate the color image by characteristic value.The RGB value from 0 to 255 is divided into four ranges: 0 to 63 is the first range; 64 to 127 is the second range; 128 to 191 is the third range; and 193 to 255 is the fourth range.Each color channel can be divided into four districts, so 4 3 (64) kinds of color combinations can be reformed.The 64 kinds of combinations can be regarded as a space of 64 dimensions.
Here we define the concept of characteristic vector  of an image. is a 64-dimension vector.The element of  is the total number of pixels with the color of certain dimension, denoted as   .Thus a color image can be represented by a 64dimensional vector.For example, the characteristic vector of the left top brass specimen in Figure 8(a) can be denoted as  = (7414, 230, 0, 0, 8, . . ., 109, 0, 0, 3415, 53929) .(1) The details of RGB district and characteristic vector are shown in Table 2.The elements in column "" compose a vector, that is, the characteristic vector.It can be regarded as a "fingerprint" of an image.The similarity between two images can be determined by comparing their characteristic vectors [12].In this way, we can improve the efficiency of image similarity determination while ensuring the relative uniqueness.
To quickly evaluate the corrosion grade of a specimen, we establish a standard corrosion image database.The database consists of a series of standard corrosion images with manual corrosion grade evaluation.The characteristic vectors of the images are also stored in the database.The main idea of quick corrosion grade evaluation is to specify one standard image's grade to an image, whose characteristic vector is the nearest to the standard image.The procedure of corrosion grade evaluation based on characteristic vector similarity mainly consists of the following five steps: (1) Load the corrosion images to be evaluated.
(2) Calculate the characteristic vector of the image to be evaluated.(3) Compare the calculated characteristic vector with that of the standard image one by one.(4) Find out the standard image with the nearest characteristic vector.(5) Output the corrosion grade of the standard image as that of the input image.
Based on the procedure above, we have developed a program to calculate corrosion grade of collected images.Consequently, the high-throughput experiment platform can output the corrosion grade of every specimen in real time.

Experiments and Data Analysis
With the smart high-throughput experiment platform, we have conducted several experiments of materials corrosion in NaCl solution.

Electrochemical Signal.
The experiment monitors the open circuit potential signal of the specimens by twoelectrode system.Ag/AgCl electrode is adopted as the reference electrode of the corrosion system.The reference electrode is connected with the electrochemical workstation.The specimens can be regarded as working electrode.All the working electrodes are connected with the input ports of the multiplexer one by one with extension wire.The output port of the multiplexer is directly connected with the Gamry electrochemical workstation.Thus the specimens, electrochemical workstation, multiplexer, and reference electrode compose a connected loop.In order to obtain stable data output, we maintain 5second period of switching on with each specimen by multiplexer control program.At the same time, the Gamry potential signal scanning period is set to 0.5 seconds.Consequently, the signal scanning may complete about 10 times in each specimen's switching on interval.After removing the data with big offset, the average of the remaining data is calculated.The average value is specified as the potential value of the specimen in the switching on period.The platform can accomplish a complete scan circle for all the specimens in 80 seconds.The data of one complete circle is shown in Figure 6.Every point in the diagram is original data from the electrochemical workstation.

Surface Image.
During the experiment, the image acquisition system records the specimens' surface image automatically.Since the corrosion action is not fast, the system captures the surface image once per hour by the program.The corrosion morphology images of the specimens within 0∼7 hours are shown in Figure 7. From the images, researchers can investigate the corrosion morphology.The corrosion morphology comparison on different materials and different corrosion time can be executed easily.stainless steel.To verify the correctness of high-throughput experiment, we conduct a carbon steel corrosion experiment with traditional independent experiment.The data of the independent experiment is also shown by black squares in Figure 9. From the comparison result, the independent experimental potential data is consistent with the data obtained by high-throughput experiment of the same materials in the same condition.Therefore, the phenomenon shows the correctness of high-throughput experiment in one respect.

Image Processing and Corrosion
Grade.Since highthroughput experiment produces images with multiple specimens, the image of every single specimen should be extracted.Based on image edge detection method, the image of single specimen can be easily attained.The high-throughput image segmentation is shown in Figure 8.After the treatment by the program, the image of every specimen is extracted, shown in Figure 8(b).
Based on the standard GB/T 6461-2002, China standard of corrosion evaluation, the corrosion grade can be evaluated.The standard proposes two basic parameters: corrosion area ratio and corrosion grade, to evaluate the corrosion grade.The corresponding relationship between corrosion grade and corrosion area ratio is shown in Table 4. Corrosion area ratio is the percentage ratio between corrosion surface area and total surface area.The corrosion grade is from 1 to 10.The higher the grade is, the more serious the corrosion status is.
To verify the correctness of corrosion evaluation, the corrosion images are also submitted to an expert of materials corrosion.The evaluation result of 7 h experiment by our program and the expert is shown in Table 5.From the table, it can be seen that there are some differences of the evaluated grade.It is because the expert uses his/her eyes to evaluate the corrosion grade by his/her experiences.After the confirmation of the expert, the program produced result is better than manual result.

Performance Analysis and Discussion
Compared with traditional corrosion experiments, the highthroughput experiment platform shows high efficiency, especially in time cost.Table 6 shows the time and equipment cost comparison of a typical high-throughput corrosion experiment with parallel experiment and one-by-one experiment.
Here, the high-throughput experiment with 16 specimens is taken as an example.From the data in Table 6, it is clear that the high-throughput experiment costs much less time than traditional experiment way.The parallel experiment and high-throughput experiment cost less time than one-by-one experiment.However, more testing equipment is occupied by parallel experiment than one-by-one experiment and high-throughput experiment.Although the high-throughput method takes some time for sample packaging, it reduces the sample polishing time.The parallel experiment costs more time for polishing because the high-throughput sample can be polished together.From the total time cost data in Table 6, it is obvious that high-throughput experiment has the highest efficiency.From the analysis above, it can be concluded that the high-throughput experiment method designed in this paper has a great advantage in the equipment occupation and the overall time consumption.

Conclusion and Future Work
In this paper, we propose a smart high-throughput experiment platform for the research of materials corrosion.Intelligent analysis of the corrosion of materials was successfully accomplished by the experimental platform.The corrosion grade can be calculated by the program automatically.The calculated results are matched closely with the manual analyzed results.Unfortunately, for the experiment with little surface changing, the image-based corrosion evaluation may not work well.
In the future, we will try to collect other types of data during materials corrosion, such as microstructure, solution changes, and other characterization data.By analyzing the new types of data, it is expected to accomplish more comprehensive understanding of the mechanisms of materials corrosion.At the same time, through adding the new type of data to the standard library, the corrosion evaluation results can be more accurate.

Figure 3 .
It is a reaction vessel consisting of a set of parallel tactic groove liquid pool arrays.Each liquid pool can contain different

3. 3 .
Data Processing System.Data processing of our platform is automatically accomplished by programing, which is running on a computer.The data produced from the platform mainly includes the electrochemical signals and specimen surface images.The program can separate the electrochemical data of each specimen from the electrochemical workstation file, which contains the mixed data of all the specimens.The program can also process the surface image of specimens.The corrosion grade of each specimen is evaluated by image processing based program.The details of the method and algorithm will be introduced in Section 4.

Figure 5 :
Figure 5: The solution container on single-solution corrosion unit.(a) Sticking method.(b) Solution container with an electron.

5. 1 .
Experiment Preparation.Four kinds of materials, including aluminum, brass, copper, and steel, are selected as the objects to be investigated.Every kind of material is made into four specimens as parallel reference separately.They are made into bar sample, with 5 mm diameter and 20 mm length.The intersecting surface is polished as the corrosion surface, by 200#, 400#, 800#, and 1500# sandpaper, respectively.Thus the effect of surface roughness on materials corrosion can be studied.The polishing sandpaper types and surface roughness are shown in Table3.The corrosion experiment is conducted in 3.5% NaCl solution.Here we use the single-solution corrosion reaction unit as reaction container.After the specimens are polished, a pipe made of PTFE (Polytetrafluoroethylene) is stuck to the package surface by 704 silicone rubber.Then the NaCl solution can be contained in the pipe space.The appearance of stuck single-solution unit is shown in Figure5(a).A reference electrode is plugged into the container to collect the electrochemical signals, shown in Figure 5(b).

Figure 6 :
Figure 6: Open circuit potential of a full sampling period.
CMOS Pixel size 2.2 m × 2.2 m Spectrum Black-and-white/color the program.The appearance of the multiplexer is shown in Figure 4(a).Figure 4(b) shows the connecting mode with the experimental sample.With the help of the multiplexer, one single channel electrochemical workstation can accomplish the function of multichannel electrochemical workstation.

Table 2 :
RGB and characteristic vector of image.

Table 3 :
The polishing sandpaper types and surface roughness.

Table 4 :
The corresponding relationship of grade value and corrosion area ratio.

Table 5 :
Corrosion evaluation result of 7 h experiment.

Table 6 :
Time cost comparison of one-by-one, parallel and highthroughput experiment mode.