Introduction

Polyaniline (PANI) is one of the most intensively investigated conducting polymers due to its excellent environmental stability, ease of synthesis, and relatively high level of electrical conductivity.1 4 Now, PANI has been widely studied for potential applications in many domains such as electrochromic devices, rechargeable batteries, electromagnetic interference shielding, and sensors.5 , 6 Since the time Deberry7 found the protective effect of PANI on iron-based metal, the anticorrosion application of PANI has attracted enormous interest among researchers.8 , 9 However, this has been controversially discussed among the experts so far. Some studies by experts such as by Williams and McMurray10 suggested  that conducting polymers could not be used successfully for corrosion protection application, which reported enhanced corrosion by PANI, and some other studies such as by Michalic and coworkers11 , 12 critically discussed the corrosion protective ability of conducting polymers. Furthermore, the benefits of PANI’s application are restricted by its poor solubility, as well as infusible and almost nonprocessable properties.13 In order to improve the application property of PANI, a number of methods, such as mixing of PANI with epoxy resin by mechanical dispersion to prepare composite coatings14 18; synthesis of PANI–Na–MMT clay nanocomposites to modify the application property19; copolymerization with water-soluble polymer through in situ polymerization to improve the water solubility20; and deposition on the surface of substrate metal by electrochemical techniques to protect material from corrosion were studied.7 , 21 , 22 Among these techniques, mixing of the PANI with epoxy resin by mechanical dispersion to prepare composite coatings is one of the most frequently used methods.

Studies on the development and application of nanotechnology in preparing PANI explored a wider range of application prospects for PANI. Nanostructure PANI carries many specific physical and chemical properties, such as specific light absorption, catalytic and magnetic properties due to the surface, quantum and macroscopic quantum tunneling influences.23 25 Currently, the main methods of preparing PANI nanostructure are the “template” method,26 electrochemical polymerization,27 interfacial polymerization,28 direct mixed reaction,29 self-assembly method,30 solid-state reaction method,31 and so on. Through these methods, various nano-morphologies such as nanoparticle, nanorod, nanofiber, nanobelt, nanotube, and so on were synthesized. However, among numerous nanostructures, the nanofibers which frequently showed one-dimensional nanoscale structure were considered extensively because of their simple method of synthesis. Furthermore, it was easy to control or adjust the morphology of PANI nanofibers.29 , 32

In this article, PANI nanofibers were prepared in four kinds of common inorganic acids by direct mixed oxidation method at room temperature. Morphology of PANI was investigated by the field emission-scanning electron microscopy (FE-SEM). More importantly, effects of different inorganic acids on morphology of PANI nanofibers were studied. Further, composite coatings of epoxy resin mixed with PANI nanofibers were prepared by mechanical grinding, and then effects of PANI on anticorrosion property of composite coatings for Q235 steel were studied in detail through electrochemical impedance spectroscopy (EIS) and Tafel polarization curve.

Experimental

Materials

Aniline (AN), ammonium peroxydisulfate (APS), hydrochloric acid (HCl), phosphoric acid (H3PO4), nitric acid (HNO3), and sulfuric acid (H2SO4) were purchased from the Industry of Fine Chemicals, Laiyang, China. Epoxy resin (828) was purchased from the Norsun Chemicals Limited Company, Langfang, China. Polyamide curing agent (450) was purchased from the Huntsman International LLC, Guangzhou, China. All the raw materials were used directly as received without purification.

Preparation of PANI

To an aqueous solution of aniline (2 mmol) in 1 M acid (10 mL) another solution of APS (1 mmol) in 1 M acid (10 mL) was added, and this solution mixture was immediately subjected to magnetic stirring to ensure sufficient mixing before reaction. The reaction was carried out for 24 h at 25°C. The resulting PANI precipitates were purified by centrifugation using de-ionized water and ethanol until the suspension reached a neutral pH value.

Preparation of PANI–epoxy resin composite coating

The epoxy resin used for preparing the composite coatings is a colorless, transparent liquid and possesses some physical properties, such as the epoxy equivalent weight of 184–194 g/Eq, the viscosity (at 25°C) of 11–15 Pa·s, the residual solvent weight of ≤500 mg/kg, and so on. The matching curing agent is yellow or brown clear liquid and possesses some physical properties, such as the amine value of 250–290 mg KOH/g, the viscosity (at 25°C) of 1–2 Pa·s, the equivalent weight of active [H] of 115 g/Eq, and so on.

A certain amount of PANI was dispersed in epoxy resin through mechanical grinding using cone-mill. Then, the mixture of epoxy and PANI was further mixed with matching curing agent in the ratio of 100:60 to obtain composite coatings.

Characteristics

Morphology of PANI was characterized by the field-emission scanning electron microscopy (FE-SEM, JSM 6700F). Molecular structures of PANI were characterized using the VERTEX70 infrared spectrometer (using pellets with KBr) and Cary 500 UV–Vis–NIR spectrophotometer. (The products were dispersed in ethanol.)

The working electrode sample of Q235 steel of 1-cm diameter was polished progressively using 600 ~ 1200-mesh abrasive paper, then cleaned, degreased and dried. It was finally coated by the composite coatings to obtain the film with a thickness of 100 ± 10 μm.33 Taking platinum electrode as auxiliary electrode and saturated calomel electrode as reference electrode, the EIS and the Tafel polarization curves were analyzed using three-electrode system through PARSTAT2273 in 3.5% sodium chloride solution: with testing frequency ranging from 100 kHz to 10 mHz, disturbance amplitude of potential, 50 mV, and testing area, 0.7854 cm2.

Results and discussion

Structure characteristic of PANI

Serving as important and basic information, the molecular structure of PANI was revealed by the IR spectrometer (Fig. 1a). It can be seen from Fig. 1a that the IR peak distributions of PANI products prepared in four kinds of inorganic acid are similar. In IR spectrometer, the following absorption peaks were observed: at 3300 cm−1 corresponding to the stretching vibration absorption of N–H; at 1570 and 1480 cm−1 corresponding to the stretching vibration absorption peaks of C=C which belong to the quinone- and benzene rings, respectively; at around 1300 cm−1 corresponding to the stretching vibration of C–N in the benzene ring; at around 1140 and 810 cm−1 corresponding to the plane bending vibrations of C–H which belong to quinone- and benzene rings, respectively. In addition, a weak absorption peak emerged at around 1440 cm−1 corresponding to the plane bending vibration of the saturated C–H which indicated the presence of a conjugate structure.

Fig. 1
figure 1

FTIR spectrum (a) and UV–Vis spectrum (b) of polyaniline doped by different acids

As another basic structure characteristic for a product with benzene ring, the UV–Vis absorption spectra of PANI prepared in four kinds of inorganic acids are shown in Fig. 1b. It can be seen from Fig. 1b that absorption peaks have emerged at both 280 nm and 390 nm for the four samples, apart from a tailing peak that has emerged at 800 nm. Here, the absorption peak at 280 nm is attributed to π–π* transition of benzene ring; at 390 nm to the transition absorption of polaron to π*, and the tail peak at 800 nm corresponds to the absorption of polaron after being doped by proton. These data taken together further indicated that the products obtained in four kinds of inorganic acids were all doped PANI.

The effects of different inorganic acids on product’s morphology

As can be seen from Fig. 2, PANI nanofibers can be obtained in four kinds of inorganic acids. In detail, PANI obtained in HCl system possessed a uniform diameter of 100 nm, and the surface of single nanofiber is relatively smooth. However, a few PANI nanoparticles were attached to the surface of fibers, and furthermore, the length of fiber (200–400 nm) was shorter (Fig. 2a). PANI obtained in H3PO4 system also showed a certain fiber morphology with diameter in the range of 100–150 nm, but there were a large number of aggregated PANI nanoparticles (Fig. 2b). PANI obtained in HNO3 system possessed good morphology with diameter in the range of 80–100 nm; however, the length of fibers (500–1000 nm) was also shorter (Fig. 2c). PANI obtained in H2SO4 system possessed the best morphology with uniform diameter of about 60 nm and the length of fibers reached several microns. Furthermore, some of fibers mingled to form the dense network structure (Fig. 2d).

Fig. 2
figure 2

SEM images of polyaniline synthesized in different acids: (a) hydrochloric acid; (b) phosphoric acid; (c) nitric acid; (d) sulfuric acid

In the experiment, acid solution of aniline was transparent before mixing. It is indicated that aniline existed in the form of aniline cations in strong acid. No template existed to decide the morphology of product (nontemplate theory). With respect to nanofiber formation mechanism of facile synthesis proposed by Huang and Kaner,29 the following theory was proposed: When aniline is dissolved in the strong acids such as HCl, H3PO4, HNO3, and H2SO4, aniline cations are generated. Moreover, taking direct mixed oxidation method, all of the oxidants were added at the same time and immediately stirred. Therefore, it may be recognized that the homogeneous solution had been formed before the reaction. In the homogeneous solution, aniline cations were oxidized to aniline oligomers; these oligomers were ionized immediately in the high acidity (pH < 1). The ionized aniline oligomers polymerized with adjacent aniline cations or other aniline oligomers to form PANI with a longer molecular chain. Moreover, in a strong acid, the PANI molecular chain grew one-dimensionally, along with the central line. With the growth of the molecular chain, solubility of PANI decreased gradually, and a large number of nanofibers were precipitated in the solution. Furthermore, some of these nanofibers mingled together to form network structure relying on Van der Waals force and hydrogen bond. While the aniline cations got exhausted, the residual aniline oligomers were adsorbed on the surface of fibers to form the granular aggregate.

Based on the above theory, the following deduction is justified: In the HCl system, due to the small radius, it is easy for Cl to access into molecules of aniline oligomers to produce a greater number of ionized aniline oligomers (the active central molecules of chain growth). These ionized aniline oligomers reacted with each other to result in generation of short fibers. In the HNO3 system, due to the strong oxidation of HNO3, a greater number of aniline oligomers appeared in a short time. This also led to a greater number of ionized aniline oligomers and resulted in generation of shorter fibers similar to those obtained in the HCl system. In the H3PO4 system, the presence of H2PO4 and HPO4 2− had an impact on the ionization of aniline oligomer. Some nonionized aniline oligomers got attached to the fibers to form granular aggregate. In the H2SO4 system, it was beneficial for the rate of ionization (aniline oligomers) and chain growth to match because of comprehensive effects of pH, oxidation, and SO4 2−. Therefore, excellent fibers several microns long and with smooth surface were obtained.

Effects of the dosage of PANI on film and anticorrosion property of epoxy resin

Selecting H2SO4-doped PANI, the composite coatings with different amount of PANI were prepared. The typical recipes are listed in Table 1. The viscosities of composite coatings without any solvent are very high (about 105 mPa·s) at room temperature. Therefore, spray is needed in the practical application. However in laboratory, the testing samples were scratched on surface of plate (150 × 70 mm) or electrode using self-prepared scratcher because of restriction in the quantity. All the samples were cured at natural environment (temperature: 25 ± 5°C, and relative humidity: 45 ± 5%) to obtain the films with a dry film thickness of 200 ± 20 μm or 100 ± 10 μm. The curing times are listed in Table 1. The effects of PANI’s content on film-forming and anticorrosion properties of epoxy resin were investigated by digital photos and the EIS.

Table 1 Typical recipes and curing times of composite coatings with different amounts of PANI

As can be seen from Fig. 3, the coatings looked relatively glossy, and dense coatings were obtained when the amount of PANI was less than 0.6%. In addition, the color of coating deepened gradually with the increasing dosage of PANI. As the dosage of PANI increased to 2%, visible pinhole defect emerged on the surface. When the amount of PANI reached to 4%, the defect became clear, and large areas of spots emerged on the surface. All these facts indicated that introduction of PANI impacted the film property of epoxy resin. During the experiment, it was found that composite coatings cured slowly when the dosage of PANI surpassed 1%; the higher the amount of the PANI added, the longer the curing time required. The results are listed in Table 1, but further research is needed to make the possible reason more clearly understood.

Fig. 3
figure 3

Digital photographs of composite coatings with different amounts of PANI

It is a simple, fast, and an effective method to study anticorrosion property of coating by the EIS plot.34 Figures 4 and 5 are the EIS plots of composite coatings with different amounts of PANI. For the EIS curves without diffusion, equivalent circuit R s(R c C) was chosen to fit, as shown in Fig. 6a.34 In the figure, R s symbolizes the solution resistance, Q c symbolizes the coating capacitance, and R c symbolizes the coating resistance. For the EIS curves with evident diffusion, equivalent circuit R s(C(R po(C d1(R t W)))) was chosen to fit, as shown in Fig. 6b.34 In this figure, Q d1 symbolizes the double electric layer capacitance, R po symbolizes the porous resistance (the same as with the R c), R t symbolizes the charge transfer resistance, and Z w symbolizes the Weber impedance. The fitting values are shown in Table 2.

Fig. 4
figure 4

EIS plots of epoxy coatings mixed with different amounts of PANI before immersion

Fig. 5
figure 5

EIS plots of epoxy coatings mixed with different amounts of PANI after being immersed for 7 days

Fig. 6
figure 6

Equivalent circuits of the EIS plots: (a) without diffusion; (b) with diffusion; (c) with two semicircles

Table 2 Fitting values of EIS plots of epoxy coatings mixed with different amounts of PANI

It can be seen from Fig. 4 and Table 2, that at the initial immersed stage, with increasing dosage of PANI, the value of R c increased first and then decreased. The greatest value appeared when the dosage of PANI was 0.6%. In addition, when the dosage of PANI did not surpass 1%, the R c values of composite coatings were greater than the value of pure epoxy coating (R c = 1.339E9). This fact showed that the introduction of PANI improved the anticorrosion property of the composite coating. While the dosage of PANI increased to 2%, the EIS plot showed evident diffusion, which indicated that the composite coating was damaged, and corrosion was caused on the metal (Fig. 4, inset diagram).

After being immersed for 7 days, it can be seen that (Fig. 5; Table 2) the value of R c was still very high when the dosage of PANI was 0.6%, but R c value of pure epoxy coating decreased significantly (R po = 2.284E6). This fact further proved that PANI can improve the protective effect of the epoxy coating. Surprisingly, when the dosage of PANI was 1.0%, the R c value of composite coating decreased more drastically (R po = 1.456E6). This was because the poor dispersion of the higher amount of PANI in the epoxy resin impacted the compactness of the coating. It was easy for the corrosion medium to permeate into the coating and damage it.

Anticorrosion properties of PANIs doped by different acids for Q235 steel

Fixing the PANI’s content at 0.5% (wt%), the epoxy composite coatings mixed with different PANIs doped by four different acids were obtained. The anticorrosion property at different immersion times was studied using the EIS and Tafel polarization curves as shown in Figs. 711. For the EIS curves without diffusion, the equivalent circuit R s(R c C) was chosen to fit, as shown in Fig. 6a. For the EIS curves of two approximately semicircular shapes, the equivalent circuit R s(R c C) (R c C) was chosen to fit, as shown in Fig. 6c. The fitting values are shown in Table 3.

Fig. 7
figure 7

EIS plots of epoxy coatings mixed with HCl-doped PANIs at different immersion times: (a) 0–6 h; (b) 24–168 h

Fig. 8
figure 8

EIS plots of epoxy coatings mixed with HNO3-doped PANI at different immersion times: (a) 0–24 h; (b) 24–168 h

Fig. 9
figure 9

EIS plots of epoxy coatings mixed with H2SO4-doped PANI at different immersion times: (a) 0–24 h; (b) 24–168 h

Fig. 10
figure 10

EIS plots of epoxy coatings mixed with H3PO4-doped PANI at different immersion times: (a) 0–24 h; (b) 24–168 h

Fig. 11
figure 11

EIS plots (a) and Tafel polarization curve (b) of epoxy coating mixed with different PANIs after being immersed for 3 months

Table 3 Fitting values of EIS plots of different composite coatings at different immersion times

It can be seen from Figs. 710 that during the immersion time, the excellent protective effect for Q235 steel was provided by the composite coatings mixed with the PANI doped by HNO3, H2SO4, and H3PO4. The values of the coating resistance were still high even after immersion of the material for 168 h. For the composite coating mixed with HCl-doped PANI, corrosion occurred on the substrate after being immersed for 24 h. On further analyzing the data given in Table 3, it was found that with the extension of soaking time, the R c value of composite coating mixed with HCl-doped PANI decreased gradually. After being immersed for 24 h, the value of R c decreased to 107, which indicated that corrosion had occurred. Interestingly, the R c value showed recovery sign after being immersed for 3 months. The R c value of composite coating mixed with HNO3-doped PANI decreased first and stabilized gradually after 24 h, the values being maintained at 8.3E9–8.9E9, which indicated good protective effect. After being immersed for 3 months, the R c was still maintained at a relatively high value (5.550E9). The R c values of composite coatings mixed with H2SO4- and H3PO4-doped PANIs decreased first and recovered gradually to their initial levels after being immersed for 72 h. After being immersed for 3 months, the R c still maintaining very high values showed the superior protective effect.

From Tafel polarization curves, it can be observed that the anticorrosion properties of different PANI-epoxy composite coatings were further revealed clearly and directly. It can be seen from Fig. 11 and Table 4 that the composite coatings mixed with H3PO4-doped PANI indicated the highest corrosion potential (V corr = −30.785 mV) which was higher than the self-corrosion potential of Q235 steel (V corr = −0.69 to −0.66).35 The corrosion potential of composite coating mixed with H2SO4-doped PANI, V corr = −127.108 mV, was also higher than the self-corrosion potential of Q235 steel. Then, the corrosion potential of composite coatings mixed with HNO3-doped PANI, V corr = −437.347, was still higher than self-corrosion potential of Q235 steel. Composite coating mixed with HCl-doped PANI showed the lowest corrosion potential, V corr = −651.959, which was close to the self-corrosion potential of Q235 steel. However, the sequence of the corrosion current (I corr) is just the opposite. All these data showed that composite coatings mixed with H3PO4-doped PANI showed the best protective effect, followed by composite coating mixed with H2SO4-doped PANI, and then this was followed by the composite coating mixed with HNO3-doped PANI. The composite coating mixed with HCl-doped PANI provided the worst protective effect.

Table 4 Fitting values of Tafel curve of different composite coatings after being immersed for 3 months

In a metallic corrosion environment, the doped PANI (Emeraldine base) was prone to be reduced to release the counter-anion and thus become de-doped PANI (Lecucoemeradine base).36 The Cl released from the HCl-doped PANI was the crude corrosion medium and would promote corrosion to accelerate the damage to coating. The increase of R c value after being immersed for 3 months may be caused by the shielding effect of Lecucoemeradine-based PANI or corrosion products.37 The PO4 3− released from H3PO4-doped PANI possessed catalytic function to passive metal which would help form excellent passive film on the substrate surface. Moreover, PO4 3− can react with corrosion products to produce dense complex film to provide protection.8 , 38 In the case of the composite coatings mixed with H2SO4, and HNO3-doped PANIs, the superior protection should be attributed to their excellent fiber morphology and network structure. The doped PANI was provided with relatively high level of conductivity and interesting redox property. As for the doped PANI with long fibers and network structure, it was easier to form a conductive pathway in the coating and take place of redox reaction with substrate to passive metal or separate cathode and anode reaction of corrosion. These may also lead to high corrosion potential and low corrosion current.39 , 40 Therefore, it can be concluded that both morphology and counter-anion would impact the anticorrosion effect of doped PANI.

Conclusions

PANI nanofibers were prepared in four kinds of inorganic acids by direct mixed oxidation method. Especially in H2SO4, the best morphology with uniform diameter and several microns length was observed. IR and UV spectra of all the products obtained in different acids were similar. The study found that curing time of epoxy resin was delayed, when added with PANI. EIS analysis indicated that the optimum dosage of PANI (around 0.6%) existed, which improves the protective effect of epoxy coating.

Morphology and counter-anion would impact on the anticorrosion effect of the doped PANI. The results of this study showed that H3PO4-doped PANI showed the best protective effect, followed by H2SO4-doped PANI, and then followed by HNO3-doped PANI. HCl-doped PANI provided the worst protective effect.