Introduction

The protection of metals from corrosion plays an important role in industrial and academic topic. Conducting polymers have been proved to be the environmental friendly materials with excellent anti-corrosion capability [1]. Many conducting polymers, such as polyaniline and polypyrrole (PPy), have been widely used as either protective coating or anti-corrosion film inhibitors because of its easy processability, excellent environment stability and interesting redox properties associated with the chain of nitrogen [2, 3]. Among the conducting polymers, PPy has attracted increasing attention due to its excellent electrical properties, good environmental stability and ease of preparation, which enable its wide applications in electronic devices, rechargeable batteries and supercapacitors, solid electrolytes for capacitors, sensors and corrosion protection materials [4,5,6,7,8,9]. In recent years, a lot of studies have revealed that PPy coating has well protective behavior on active metals [10,11,12]. Lei et al. [13] synthesized PPy films electrochemically on copper, which exhibited good adhesivity and corrosion-resistant behavior in 3.5% NaCl solution. PPy/carbon nanotubes composites have been successfully prepared as anti-corrosion material for carbon steel in 3.5% NaCl solution and exhibited good anti-corrosion protecting ability [12]. In spite of the fact that many studies about the anti-corrosion ability of PPy have been performed, development of facile and efficient anti-corrosion coatings is still in great demand. In addition, the dopant for PPy to obtain new composites is usually required in order to obtain enhanced conductivity and permeability. The increasing demand for corrosion-inhibiting coating motivates the researchers to develop new materials with high corrosion-resistant properties for applications in naval architecture and ocean engineering [14].

In the past few years, extensive researches on graphene have been performed in the fields of applied physics, chemistry, materials science and engineering because of its outstanding mechanical and hydrophobic characteristics, good thermal and electrical conductivity and highly accessible surface areas, etc. [15,16,17,18]. It has been reported that graphene can be exploited to be a robust barrier for molecules [19]. The other unique characteristics, such as chemical inertness, excellent thermal and electrical conductivity, remarkable flexibility and impermeability to molecules make graphene a potential anti-corrosion material [20,21,22,23]. Bunch et al. [19] demonstrated that a monolayer graphene membrane was impermeable to standard gases including helium. Graphene coating on copper also showed enhanced resistance to electrochemical degradation [24]. It has been proved that graphene coatings on Ni and Cu could serve as barriers to electrochemical corrosion in aqueous media [25].

In this paper, we chose PPy as one dopant for reduced graphene oxide (rGO) to afford a novel polypyrrole/graphene oxide (PPy/GO) nanocomposite on carbon steel surface using a facile one-step potentiostatic technique for anti-corrosion application. PPy/GO was fabricated onto carbon steel surface by the in situ reduction of GO and pyrrole (Py) monomer via scanning cyclic voltammetry (CV) method. The anti-corrosion performance of the composite coatings with varying PPy content was investigated. The composition and morphology as well as the structure of the coatings were studied using Fourier transform infrared spectroscopy (FTIR), X-ray photoelectron spectroscopy (XPS) and scanning electron microscope (SEM). The anti-corrosion behaviors of the composite coatings were investigated using potentiodynamic polarization measurements, electrochemical impedance spectroscopy (EIS), open-circuit potential (E ocp) and Bode plot.

Experimental section

Materials

Py (99%, Aladdin) was purified through distillation under vacuum and stored at a temperature less than 5 °C. Sulfuric acid (98%), hydrogen peroxide (30%), potassium persulfate (99.5%), sodium sulfate (99.5%), potassium permanganate (99.5%), phosphorus (V) oxide (98%) and hydrochloric acid (37%) were purchased from Shandong Laiyang Economic and Technological Development Zone Chemical Plant. KH2PO4 (AR), K2HPO4 (AR) and high-precision regenerated cellulose dialysis membrane (3500 cutoff) were purchased from Ebioeasy, Shanghai. Graphite micro-powder was donated by Xiamen Knano Graphite Technology Corporation Limited. Sheet-shaped carbon steel was purchased from Jiangsu Miaomiao Water Technology. All the other chemicals were purchased from Heowns and were used without further purification.

Preparation of PPy/GO nanocomposite coating

The GO was synthesized according to a modified Hummers’ method as described in previous report [26]. The as-prepared GO was purified by dialysis in double-distilled water for three days using a 3500-Da cutoff dialysis membrane tube. The GO suspension was dried by vacuum freezing drying to obtain the GO powder. The stable GO suspension (1 mg/mL) was obtained by sonication under ambient conditions for 1 h and then bubbled by N2 for 30 min to remove O2 in case of Py oxidation.

Py (67 mg, 1 mmol) was added into GO suspension (10 mL, 1 mg/mL) and then sonicated under ambient condition for 3 h to obtain the homogeneous GO and Py colloidal suspension. The PPy/GO composite was directly self-assembled on the surface of carbon steel by electrochemical polymerization using the potentiostatic method (Scheme 1). A constant potential of 1.2 V was applied for 20 min to form the PPy/GO composite onto the surface of carbon steel. After self-assembly of PPy/GO nanocomposite coating onto carbon steel surfaces, the carbon steel was carefully rinsed with double-distilled water to remove the adsorbed Py and GO and then was dried under an ultrapure nitrogen stream. The PPy/GO composites coatings with different weight ratios of PPy to rGO (16.7, 33.5 and 83.8, respectively) were prepared from the GO solution (1 mg/mL) containing 0.1, 0.2 and 0.5 M pyrrole, respectively. Accordingly, the PPy/GO composites were simplified as 0.1, 0.2 and 0.5 PPy/GO, respectively. Meanwhile, 0.1, 0.2 and 0.5 PPy/rGO represent the samples prepared by electroreduction of the corresponding PPy/GO composites, respectively.

Scheme 1
scheme 1

Schematic for formation of the PPy/rGO nanocomposite coating on carbon steel via electrochemical co-deposition of GO and pyrrole using potentiostatic oxidation technique at 1.2 V and subsequent reduction of GO into rGO by repeating CV scanning from −1.5 to 0 V at 10 mV s−1

In situ electroreduction of PPy/GO nanocomposite coating

The GO in the PPy/GO composite was reduced by scanning CV method. Nitrogen was bubbled into saturated 0.5 M Na2SO4 solution to remove the O2. The reduction reaction was then conducted by CV scanning from −1.5 to 0 V in saturated 0.5 M Na2SO4 for 5 cycles at a scan rate of 10 mV s−1 until the reduction peak at −1.34 V completely disappeared. The obtained PPy/rGO-coated carbon steel was dried under vacuum at 50 °C for 3 h after rinsing with double-distilled water. For comparison, pure PPy was coated on carbon steel using a solution containing 0.5 M Py monomer and 0.5 M H2SO4 via the same procedure as mentioned above. The pure GO was self-assembled onto the surface of carbon steel from 1 mg/mL GO suspension and reduction using the same procedure. The mechanism for formation of PPy/GO and PPy/rGO composites is proposed in Scheme 1.

Characterizations and measurements

The working electrode was prepared by polishing the sheet-shaped carbon steel on emery papers of various grades (1000–5000 grit), followed by rinsing with distilled water and then ethanol under sonication. Both the electrochemical self-assembly and reduction experiments were carried out on a CHI 760D electrochemical workstation (CHI Instruments, Shanghai, China) in a three-electrode cell, with the processed carbon steel as working electrodes, a piece of Pt sheet as auxiliary electrode and an Ag/AgCl (3.0 M NaCl) electrode as reference. The carbon steel was composed of 98.69 Fe, 0.08 C, 0.15 Si, 0.40 Mn, 0.03 P, 0.12 Cr, 0.25 Ni and 0.25 Cu weight percent. The morphology of the coatings was characterized with a SEM (JEOL JSM-7500F). XPS analysis was performed on an Escalab 250 X-ray photoelectron spectroscopy with an Mg K X-Ray source. FTIR analysis was performed on a Tensor 27 from Bruker Corporation. The anti-corrosion performances of different composite coatings on the carbon steel were carried out on a CHI 760D electrochemical workstation (CHI Instruments, Shanghai, China) using the composites coated carbon steel as the working electrode with working area of 1 cm2, a Pt sheet as auxiliary electrode and an Ag/AgCl (3.0 M NaCl) electrode as the reference. EIS, potentiodynamic polarization and E ocp measurement were obtained with the electrochemical workstation at room temperature. EIS measurements were carried out over a frequency range of 10−2–105 Hz with 5 mV amplitude of sinusoidal potential variation around the open-circuit potential. The potentiodynamic polarization measurements were carried out by scanning from cathodic to the anodic direction (E ocp ± 250 mV) at a scan rate of 5 mV s−1.

Results and discussion

The procedures for the preparation of PPy/rGO is Scheme 1. The Py monomers are first adsorbed onto the GO surface by electrostatic interaction, followed by the self-assembly and then co-depositing of the Py adsorbed GO onto carbon steel surface via potentiostatic oxidation technique at a constant potential of 1.2 V. Finally, GO in the nanocomposite is converted into rGO via in situ electroreduction. During the process of electrochemical self-assembly, the anionic GO served as a counterion to be driven onto the carbon steel surface and simultaneously Py monomers were electrochemically polymerized onto the GO nanosheets to form the special ordered PPy/rGO composite coating on the carbon steel.

Morphology and wettability analysis

The structure and morphology of the PPy, PPy/GO and PPy/rGO nanocomposite were characterized using SEM and the respective images are shown in Fig. 1a–f. The PPy nanostructures showed thin chrysanthemum-like appearance with sub-micrometer dimensions (Fig. 1a, d). Comparatively, the PPy/GO and PPy/rGO composites exhibited typically layered structure and the GO sheets are surrounded by PPy polymer (Fig. 1b, e). For the PPy/GO or PPy/rGO composite, some wrinkles appeared on the surface of the coating, suggesting that GO was successfully modified with PPy nanosheets. After electroreduction, the morphology of the PPy/rGO coating is barely altered as shown in Fig. 1e and f. The SEM images of PPy, PPy/GO and PPy/rGO coatings at high magnifications are shown in Fig. 1d–f. The rGO sheets are covered by PPy polymer, forming an ordered PPy/rGO composite structure. Such structure might provide an appropriate roughness to increase the contact angle to prevent the diffusion of O2 and H2O to the surface of carbon steel, thus, a better anti-corrosion effect should be expected.

Figure 1
figure 1

SEM images of PPy (a, d), PPy/GO nanocomposite coating (b, e) and PPy/rGO nanocomposite coating (c, f) at low and high magnifications, respectively (inset corresponding static water contact angles)

The wettability of PPy, PPy/GO and PPy/rGO coatings was also evaluated in terms of water contact angle (CA) measurements, as shown in the inset in Fig. 1. The CA for PPy surface was measured to be 90°, exhibiting a relatively hydrophilic character. The CA of PPy/rGO surface was measured to be 137.5°, which was much higher than that of PPy/GO surface (85.7°) because rGO possesses less hydrophilic groups than GO. It is well known that the CA depends not only on the chemical structures but also on the surface roughness of the coatings [27, 28]. The good hydrophobic property of PPy/rGO should be resulted from the synergistic effect of the special ordered structure and the high CA of the PPy/rGO coating. The coatings with a high CA can be expected to prevent the absorption and diffusion of water and thus provide a better anti-corrosion effect.

Preparation of rGO/PPy coatings

The PPy/GO composite was self-assembled onto the carbon steel surface by the potentiostatic technique and the current–time curve is shown in Fig. 2a. It can be seen that the plot exhibited three stages: a fast initial decrease to a minimum in the first 5 s, followed by a slower increase till 800 s, and then a gradual plateau level appeared at 1000 s. The initial current decrease was probably due to the insulativity of pyrrole and GO to the electrolyte solution. In the second stage, it could be noted that the oxidation current was gradually increased with time, indicating that the electrochemical polymerization of pyrrole on the carbon steel was successful. When the deposition time reached 800 s, the oxidation current came to a saturated value of approximately 1.68 mA, suggesting that the electrochemical polymerization on the carbon steel surface reached a balance and the PPy/GO coating was formed at constant current and potential conditions. The current–time plot showed the occurrence of pyrrole polymerization process and composites formation in an incubation period of approximately 1200 s at a constant potential of 1.2 V.

Figure 2
figure 2

a Current–time plot for PPy/GO coating formation using potentiostatic technique (potential, 1.2 V; pyrrole, 0.2 M; GO, 1 mg/mL). b CVs of electrochemical reduction of GO in the PPy/GO composite coating into rGO at 10 mV s−1 in 0.5 M Na2SO4 for 5 cycles

To increase the hydrophobicity of the nanocomposite coatings, GO in the PPy/GO was reduced by repeating CV scanning from −1.5 to 0 V in N2 saturated 0.5 M Na2SO4 solution at a scan rate of 10 mV s−1 for 5 cycles. The CV curves for the electroreduction of PPy/GO nanocomposite coatings are shown in Fig. 2b. Interestingly, it could be seen that a notable reduction peak appeared at about −1.34 V in the first scanning cycle and then weakened obviously in the next few cycles and finally disappeared completely after five cycles. It can be concluded that GO in the composite coating was effectively reduced by the electrochemical process. The reduction peak should be resulted from the reduction of the oxygen-containing groups, such as –OH and –COOH in the PPy/GO coating [29, 30]. The reduction potential of GO is consistent with those previous reported [31].

FTIR and XPS analysis

FTIR measurements were carried out to demonstrate the successful preparation of PPy/rGO nanocomposite and the spectra of GO, PPy, PPy/GO and PPy/rGO are shown in Fig. 3a. In the spectrum of GO, the peak at 1722 cm−1 can be attributed to the C=O stretching of carbonyl. The peaks observed at 1402 and 1233 cm−1 represent the O–H deformation and C–OH stretching vibration, respectively. The peak at 1062 cm−1 should be attributed to the characteristic C–O stretching vibration of epoxide group [32]. The peaks at 1548, 1461 and 911 cm−1 should be assigned to the C–C, C–N and C–H stretching vibration in the pyrrole ring, respectively. The peaks at 1165 and 1072 cm−1 pertain to the C–H in-plane deformation vibration of the PPy ring. The peak at 1632 cm−1 is due to the C=C backbone stretching. In PPy/GO spectrum, the characteristic peaks of PPy appeared at 1557 and 1465 cm−1, suggesting the presence of PPy in the PPy/GO. As reported before, the peak assigned to the C=O in the PPy/GO coating downshifted to 1709 cm−1,which should be due to the ππ interactions and hydrogen bonding between the GO layers and aromatic PPy rings [33]. In addition, the peak at 1072 cm−1 due to C–H in-plane vibration of PPy ring shifted to 1048 cm−1 and the peak at 911 cm−1 owning to C–H stretching vibration as mentioned earlier shifted to 923 cm−1 [34]. These peak shifts revealed the chemical environment change as a result of the GO doping into PPy. These peak shifts confirmed that PPy and GO components have been well combined with each other in the coating. As evidenced by the PPy/rGO spectrum shown in Fig. 3a, the peaks resulted from the oxygen functional groups were significantly weakened after the electrochemical reduction, indicating that most GO nanosheets have been reduced into rGO.

Figure 3
figure 3

a FTIR spectra of GO, PPy, PPy/GO and PPy/rGO. b Survey spectra of PPy/GO and PPy/rGO nanocomposite; c deconvoluted C1s XPS spectrum of PPy/GO; d deconvoluted C1s XPS spectra of PPy/rGO (the black curves in c and d are experimental data, and the red curves represent the four deconvoluted Lorentzian peaks)

XPS analysis was also used to confirm the reduction of GO in the as-prepared PPy/GO coatings. In Fig. 3b, the peak at 400 eV in the survey spectra for PPy/GO and PPy/rGO composite coatings indicated the existence of PPy distributed on the surface of rGO sheets [35]. The presence of the elements C, N and O in the coating was evidenced by the C1s, N1s and O1s peaks at 285, 400 and 531 eV as shown in Fig. 3b. The C/O ratio of PPy/GO was 0.81, and after electrochemical reduction the ratio of PPy/rGO was increased to 1.67, indicating that most GO in PPy/GO was successfully reduced into rGO by CV scanning. As shown in Fig. 3c, the C1s narrow scan spectrum of the PPy/GO composite can be deconvoluted into four Lorentzian peaks with different binding energies at 284.1, 285.2, 286.6 and 288.1 eV, which should be attributed to C–C, C–N, C–O and C=O, respectively [36]. The C1s peaks should be resulted from C–N groups from PPy, suggesting the successful doping of PPy. The C1s peak at 286.9 eV in deconvoluted spectrum for C–O functionality of PPy/rGO (Fig. 3d) decreased significantly, indicating the successful reduction of GO during the electrochemical CV reduction process. It can be concluded that C–O and C=O functionality have been substantially removed after electrochemical reduction [37].

Potentiodynamic polarization plots analysis

The potentiodynamic polarization measurement was also carried out to investigate the anti-corrosion performance of different composite coatings in 3 wt% NaCl solution, and the results are shown in Fig. 4a. The carbon steel was immersed in the NaCl solution until the potential reached an equilibrium to obtain E ocp. The potentiodynamic polarization plots were obtained for a potential range from −250 to 250 mV relative to E ocp. It can be seen from Fig. 4a that the bare carbon steel displayed an oxidation peak at about −0.65 V under anodic polarization due to its dissolution in NaCl solution media. However, no oxidation peaks can be observed from the polarization plot of the carbon steel coated with PPy, rGO and PPy/rGO, indicating their good impermeable performances. In addition, the corrosion currents for the carbon steel coated with rGO, PPy or PPy/rGO were less than that of bare carbon steel (Fig. 4b). The polarization plots of PPy or rGO alone exhibited larger corrosion current and higher corrosion potential than that of PPy/rGO. This is probably due to the porous structure of PPy or rGO, through which H2O, O2 and Cl can pass through and access the carbon steel surface, subsequently causing the corrosion. For PPy/rGO composite coatings, the impermeability performance was significantly enhanced probably due to the decreased coating porosity and increased tortuosity of diffusion pathways as a result of the rGO doping [38, 39].

Figure 4
figure 4

a Potentiodynamic polarization plots for different coatings after immersing in 3 wt% NaCl solution for 1 h. b E corr and I corr for coated and bare carbon steel. c Corrosion rates for different coatings extracted from potentiodynamic polarization plots. d Protection efficiency (P EF %) for different coatings calculated from potentiodynamic polarization plots [bare carbon steel (gray), carbon steel coated with rGO (blue), PPy (green), 0.01 PPy/rGO (red), 0.02 PPy/rGO (dark cyan) and 0.05 PPy/rGO (magenta)]

The quantitative analysis of the potentiodynamic polarization was also investigated, and the result is summarized in Table 1. The anti-corrosion performances of coatings were investigated quantitatively by evaluating the corrosion rate (ν corr, mm/year) and enhanced protection efficiency (PEF %). The ν corr was calculated by the following formula:

$$ \nu_{\text{corr}} ({\text{mm}}/{\text{year}}) = \frac{{I_{\text{corr}} ({\text{A}}\;{\text{cm}}^{ - 2} ) \cdot M({\text{g}})}}{{D({\text{g}}\;{\text{cm}}^{ - 3} ) \cdot V}} \times 3270 $$

where I corr is the corrosion current density (A cm−2), M is the molecular mass, D is the density of carbon steel (g cm−3), V is the valence (the number of electrons that were lost during the corrosion reaction) and 3270 is the constant.

Table 1 Corrosion parameters for coatings on carbon steel in 3 wt% NaCl solution

P EF % can be evaluated by the following formula:

$$ P_{\text{EF}} {\% = }\frac{{I_{\text{corr}}^{0} - I_{\text{corr}}^{\text{c}} }}{{I_{\text{corr}}^{0} }} \times 100 $$

where I 0corr is the corrosion current density of bare carbon steel (A cm−2) and I ccorr the corrosion current density of carbon steel with coatings (A cm−2).

The R p values can be calculated from potentiodynamic polarization plots by the Stern–Geary equation [40]:

$$ R_{\text{p}} = \frac{{\beta_{\text{a}} \beta_{\text{c}} }}{{2.303(\beta_{\text{a}} + \beta_{\text{c}} )I_{\text{corr}} }} $$

where I corr is the corrosion current density and β a and β c are the anodic and cathodic slopes (ΔE/Δlog I), respectively.

It is well known that the corrosion protection of coating could be evaluated by the values of E corr, R p, I corr and ν corr. The corrosion potential (E corr) and polarization resistance (R p) increased, and corrosion current density (I corr) decreased after the rGO was introduced into the coating, indicating that the PPy/rGO composite coating provided better corrosion protection for the carbon steel. As shown in Fig. 4b and Table 1, the E corr values of PPy- and rGO-coated carbon steel shifted toward positive potential, which suggested the decreased corrosion tendency. In addition, compared with the bare carbon steel, the E corr values for 0.1, 0.2 and 0.5 PPy/rGO-coated carbon steel shifted to more positive potentials, that is, 189, 312 and 300 mV, respectively, indicating better anti-corrosion performance for PPy/rGO coating than PPy and rGO.

The corrosion current densities (I corr) were calculated by the built-in software of CHI 760D electrochemical workstation. Compared with bare carbon steel, the corrosion currents (I corr) for PPy- and rGO-coated carbon steel were significantly decreased (Fig. 4b), indicating that the rGO and PPy could inhibit the corrosion reaction and reduce the corrosion rate correspondingly. In addition, the decrease in I corr from 20.66 µA cm−2 for bare carbon steel to 0.85 µA cm−2 for 0.2 PPy/rGO-coated carbon steel (Table 1; Fig. 4b) revealed the significantly enhanced anti-corrosion performance for 0.2 PPy/rGO coating. It should be noted that the corrosion rate increased slightly when the concentration of PPy in the electrolyte solution was more than 0.2 M. In other words, as shown in Table 1, the I corr of sample PPy/rGO was more than one order lower than that of bare carbon, suggesting that PPy/rGO coating could efficiently protect carbon steel from corrosion. It could not be ignored that the I corr of 0.2 PPy/rGO was lower than that of 0.1 and 0.5 PPy/rGO, suggesting that 0.2 PPy/rGO had the best anti-corrosion performance.

As shown in Fig. 4c, the calculated ν corr for 0.2 PPy/rGO-coated carbon steel (0.99 × 10−2 mm/y) was about 24 times lower than that for bare carbon steel (24.01 × 10−2 mm/y). The results of ν corr and P EF % revealed that the PPy/rGO coating exhibited higher anti-corrosion performance than rGO or PPy alone, and the best anti-corrosion performance was obtained when the PPy-doped ratio was 0.2 M. All results proved that the 0.2 PPy/rGO composite coating can be utilized as an efficient barrier for carbon steel protection.

R p measurement was also carried out for coated carbon steel. As shown in Table 1, the carbon steel coated with 0.2 PPy/rGO showed an R p value of 66.9 kΩ cm2, which was higher than that of the bare carbon steel (R p = 1.53 kΩ cm2), rGO (R p = 4.24 kΩ cm2), PPy (R p = 6.33 kΩ cm2), 0.1 PPy/rGO (R p = 36.7 kΩ cm2) and 0.5 PPy/rGO (R p = 54.1 kΩ cm2) coated ones. The protection efficiency (P EF) was also calculated, and the P EF of PPy/rGO coating was higher than that of pure PPy or rGO coating. From the result in Fig. 4d, the 0.2 PPy/rGO coating exhibited the highest P EF enhancement (95.9%) compared with that of bare carbon steel and the PPy or rGO coating alone yielded only an increase of 54.8 and 33.4 %. In addition, the PPy/rGO coatings exhibited better anti-corrosion performance than polyaniline/graphene composite materials reported previously [38].

Open-circuit potential (E ocp) and EIS measurements

E ocp were recorded for bare carbon steel, and 0.1, 0.2, 0.5 coated carbon steel with increasing time in 3 wt% NaCl solution at a constant potential. As shown in Fig. 5a, the curves exhibited a stable and linear behavior for all sample coatings after 24 h in spite of slight fluctuations. It should be noted that the E ocp values of all samples decreased during the first 24 h and then remained stable. In addition, the E ocp of PPy/rGO-coated carbon steel showed more positive potential than the bare carbon steel. It is well known that E ocp directly reflects the corrosion susceptibility [41]. The positive shift in E ocp indicated that PPy/rGO coating could protect the carbon steel from being corrosion. In addition, the 0.2 PPy/rGO-coated carbon steel showed the highest E ocp value, demonstrating that the best anti-corrosion performance was obtained when the PPy doping concentration was designed at 0.2 M in electrolyte solution.

Figure 5
figure 5

a Open-circuit potential (E ocp) versus the immersing time in 3 wt% NaCl solution for bare carbon steel, 0.1, 0.2 and 0.5 PPy/rGO-coated carbon steel. b Nyquist plots in 3.5% NaCl solution for bare carbon steel and PPy/rGO-coated carbon steel

The anti-corrosion performance of the coatings was also studied using the EIS measurement. The semicircle curve reflected that electron transfer process was inhibited on the electrode surface [42]. The diameter of the Nyquist plot could be a parameter to measure the polarization resistance. The semicircle diameters were in the sequence 0.2 > 0.5 > 0.1 PPy/rGO > bare carbon steel. The anti-corrosion properties were enhanced when rGO was doped due to the increase in charge transfer resistance. As shown in Fig. 5b, the Z′ values of bare carbon steel and carbon steel coated with 0.1, 0.5 and 0.2 PPy/rGO composite coatings were 2.0, 8.1, 12.9 and 14.1 kΩ cm−2, respectively. The resulting 0.2 PPy/rGO-coated carbon steel exhibited 7 times higher corrosion resistance than that of bare carbon steel. In other words, the 0.2 PPy/rGO showed the largest radius of the semicircle, indicating the best anti-corrosion performance and lowest electrons transfer rate, which is consistent with the potentiodynamic polarization plots and E ocp results. Compared with the PPy/rGO curve, an inductive loop in low frequency appeared in the bare carbon steel curve. This inductive loop might be induced by the accelerated pitting corrosion on the surface of carbon steel due to the adsorption of Cl [42]. The pitting corrosion occurred at the fixed regions of carbon steel by electrochemical reaction until the carbon steel was corroded completely.

Bode analysis

The 0.2 PPy/rGO-coated carbon steel was chosen to investigate the anti-corrosion performance with immersing time. The 0.2 PPy/rGO-coated carbon steel was immersed in 3% NaCl aqueous solution and was measured by EIS to obtain the Bode phase and modulus plots as depicted in Fig. 6c and d. The bare carbon steel was also tested for comparison (Fig. 6a, b). In low-frequency region, the charge transfer impedance (corrosion resistance) between anodic and cathodic could be measured by impedance modulus (|Z|) [43, 44]. The impedance of 0.2 PPy/rGO (Fig. 6c) was higher than that of the bare carbon steel (Fig. 6a), even though the 0.2 PPy/rGO coating has been immersed into the NaCl solution for 240 h prior to measurement. In addition, the impedance modulus at 0.1 Hz decreased with time for bare carbon steel (Fig. 6b). However, the impedance of 0.2 PPy/rGO-coated carbon steel was relatively stable during the immersion in NaCl solution for 96 h and only decreased slightly with the increasing time up to 240 h, which is probably due to the permeation of O2, H2O and Cl. Larger |Z| value means less possibility for corrosion to occur; therefore, these Bode modulus measurement results indicated that PPy/rGO coating could efficiently protect carbon steel from corrosion. In a word, the EIS results further illustrated that the PPy/rGO can act as an efficient anti-corrosion coating for carbon steel.

Figure 6
figure 6

a Bode modulus plots for bare carbon steel, b phase plots for bare carbon steel, c Bode modulus plots for 0.2 PPy/rGO-coated carbon steel, d phase plots for 0.2 PPy/rGO-coated carbon steel against different immersing time up to 240 h

The time constant at high frequency could be assigned to the coating layer, while at low frequency corresponded to a corrosion process at the metal/coating interface [45]. For bare carbon steel, the Bode phase plots displayed two peaks, indicating that there were two time constants in the corrosion process (Fig. 6b). The peak at low frequencies (30 mHz) corresponded to an electrochemical corrosion process at the surface of the carbon steel. The peak intensity increased with the increasing immersing time, indicating that electrochemical corrosion process occurred. The other peak at intermediate frequencies (60 Hz) could be assigned to the Fe oxide/hydroxide layer, which will be damaged gradually during the corrosion reaction. The Bode phase plot for 0.2 PPy/rGO-coated carbon steel (Fig. 6d) showed two time constants at the first 96 h: one at intermediate frequencies (15 Hz) due to Fe oxide/hydroxide layer and the other one at high frequencies (3.2 kHz) due to the existence of 0.2 PPy/rGO coating. The absence of the low-frequency time constant in the first 24 h demonstrated that no corrosion processes occurred on 0.2 PPy/rGO-coated carbon steel, exhibiting good corrosion protection. With the increasing immersion time, the time constant at intermediate frequencies decreased slightly in 124 h, indicating that the barrier properties of the coating decreased gradually. Although an additional peak at low frequencies (30 mHZ) appeared when 0.2 PPy/rGO-coated carbon steel was immersed for 124 h, which was due to the electrochemical corrosion beneath the coating, the time constant at high frequencies due to the PPy/rGO coating still maintained for 240 h of immersion. Only two time constants could be detected (Fig. 6d), indicating that the PPy/rGO was impermeable to corrosive electrolyte and maintained its high anti-corrosion performance throughout the 124-h immersion. However, with the longer immersing time up to 240 h in NaCl solution, the time constant was still visible at high frequencies (103 Hz) due to the protection by 0.2 PPy/rGO coating.

Anti-corrosion mechanism for PPy/rGO nanocomposite coatings

The anti-corrosion mechanisms for PPy-, rGO- or PPy/rGO-coated carbon steel surfaces are shown in Fig. 7. The combination and interaction between PPy and rGO endow the composite coating with good protection efficiency for carbon steel. The protection mechanism could be explained by the physical barrier effect of the PPy/rGO coatings. The PPy-coated carbon steel surfaces exhibited a loose and thin chrysanthemum-like appearance (Fig. 7a), and the rGO on the surface of carbon steel showed smooth and porous structures (Fig. 7b). The electrolyte could diffuse through the coatings into the surface of carbon steel. As the SEM image shown in Fig. 7c, the rGO was embedded among the PPy to form an ordered nanostructures, which could serve as an barrier to increase the coating impermeability and the tortuosity of the diffusion pathway and correspondingly enhance the anti-corrosion performance. As previously reported, fillers with large filler–matrix interfacial area would help increase the tortuosity of the diffusion pathway [38]. In this aspect, the interfacial area of PPy/rGO coating could be increased due to the attachment of PPy nanostructures on rGO nanosheets to form an ordered structure. The addition of PPy increased the tortuosity of the pathway for the diffusion of O2, H2O and Cl, leading to a slower corrosion process for carbon steel.

Figure 7
figure 7

Schematic representation of the anti-corrosion mechanisms for a PPy-, b rGO- and c PPy/rGO-coated carbon steel surfaces, respectively

It has been reported that the conductive coating could not only serve as a barrier for corrosive media, but also an active coating participating the reaction on the surface of the metal [46]. On the other hand, the conductive coating might induce the formation of a complex oxide passivation, which could terminate the electron transfer required for continued corrosion and then improve the corrosion protective performance of the coating [47]. In addition, it is well known that graphene has large conjugated structure and sufficient electron cloud, so the electrons might be captured by rGO when they are lost from the carbon steel surface. The electron transfer is greatly limited by the coating, and the electrochemical oxidation reactions will be inhibited.

The corrosion and rust formation on carbon steel surface may include several steps, and the oxidation and reduction process can be expressed by the equations as follows:

$$ \begin{aligned} & {\text{Fe}} - 2{\text{e}}^{ - } \to {\text{Fe}}^{2 + } \\ & {\text{Fe}}^{2 + } - {\text{e}}^{ - } \to {\text{Fe}}^{3 + } \\ & {\text{O}}_{2} ({\text{g}}) + 2{\text{H}}_{2} {\text{O}} + 4{\text{e}}^{ - } \to 4{\text{OH}}^{ - } \\ & 2{\text{Fe}}^{2 + } ({\text{aq}}) + {\text{O}}_{2} ({\text{g}}) + 2{\text{H}}_{2} {\text{O}} \to 2{\text{FeOOH}} + 2{\text{H}}^{ + } \\ \end{aligned} $$

The existence of H2O and O2 is necessary for the formation of rust and dissolution of carbon steel. If the diffusion of H2O and O2 is inhibited by the coating, the corrosion process could be slow down. Therefore, the prevention of the corrosion of carbon steel can be achieved by increasing the tortuosity of the diffusion pathways for H2O and O2 to reach the surface of the carbon steel. The introduction of rGO into PPy created a special ordered structure, which can be used as an efficient barrier for better corrosion protection ability.

Equivalent electrical circuit analysis

The equivalent electrical circuit that included resistors and capacitors was introduced to quantitatively assess the EIS results and the time-dependent performance of the PPy/rGO coating. In the equivalent circuit depicted in Fig. 8a, CPEdl is the constant phase element of an electric double-layer capacitance due to the charge accumulation at the interface between the carbon steel and the coating. CPEc is the constant phase element related to the coating capacitance. R s represents the resistance of the electrolyte solution, R c is the resistance of the coating, R t represents the polarization resistance or charge transfer resistance in parallel with CPEdl, reflecting the possibility and degree of difficulty for carbon steel corrosion, and the higher Rt means the lower corrosion rate.

Figure 8
figure 8

a Equivalent electrical circuit used for the impedance plots fitting of the PPy/rGO coating on carbon steel for different immersion time periods in 3 wt% NaCl solution. b Evolution of R c (blue) and CPEc (red) of the 0.2 PPy/rGO coating

Table 2 summarizes the values of important electrochemical parameters obtained from the EIS measurement. The anti-corrosion performance of the coating could be reflected by these EIS parameters. It was observed that the R c decreased as the immersing time increases, which manifested that the electrolyte has permeated into the inside of the 0.2 PPy/rGO coating. As shown in Fig. 8b, the CPEc values increased with the diffusion of the electrolyte solution into the coating. As the electrolyte gradually permeated into the coating, the CPEdl values increased due to the parallel capacitance characteristics of the coating. It could be seen in Table 2 that the R t and CPEdl values kept steadily in 96 h. The decreased Rt and increased CPEdl indicated that the barrier function of the coating attenuated slightly after 124 h. The relatively higher CPEdl for 0.2 PPy/rGO-coated carbon steel demonstrated a comparatively higher exposure of the carbon steel surface to dissolved oxygen or chloride ions, since the capacitance was directly proportional to the area of the capacitor. Table 2 shows that 0.2 PPy/rGO-coated carbon steel exhibited the better anti-corrosion ability than pure rGO or PPy. However, its anti-corrosion ability decreased obviously within 124 h, which might be due to the generation of small particles as evidenced by the SEM image of the coating sample after 124-h corrosion, as shown in Supporting Information.

Table 2 Electrochemical impedance parameters obtained by simulation of the EIS results for 0.2 PPy/rGO-coated carbon steel

Conclusions

In summary, a facile, efficient and environmentally friendly in situ electrochemical self-assembly method was employed for preparation of ordered PPy/rGO nanocomposite structure onto carbon steel for anti-corrosion application. The synergistic effect between PPy and rGO endows the special structure with an excellent anti-corrosion property for carbon steel. The anti-corrosive behavior of PPy/rGO nanocomposite coatings with different PPy contents was investigated and found that the best anti-corrosion efficiency for carbon steel was achieved when the weight ratio of PPy and rGO was controlled at 33.5. Potentiodynamic polarization plots, Bode and equivalent electrical circuit were used to investigate the anti-corrosion performance of the nanocomposite. The improved anti-corrosion performance of the PPy/rGO coating could result from the higher contact angles and prolonged diffusion route for O2 and H2O to reach the carbon steel. This special structure exhibited good hydrophobic character, environmentally friendly advantage and efficient anti-corrosion performance for carbon steel and may have tremendous potentiality in naval architecture and ocean engineering.