Introduction

After the breakthrough and endearing noble prize by the MacDiarmid–Shirakawa–Heeger group, conducting polymers gained a unique status in the realm of electroactive materials for numerous prospective applications. However, the intractable and insoluble nature of acid-doped conducting polyaniline limits its significant applications such as energy storage and energy conversion. Conductive polymers (CPs) including polyaniline (PA), polypyrrole (PPy) and poly(3,4-ethylene dioxythiophene) (PEDOT), etc., have received massive attention in recent years due to their significant applications in diversified applications such as electrochemical sensors, electrochromic, electroluminescence, energy storage systems, and anticorrosive coatings [1,2,3,4,5,6,7,8,9]. Among all the conducting polymers, PA is one kind of conducting polymer [10], and plays a key role in the energy storage [10, 11] and energy conversion devices [12] besides carbonaceous materials and metal-based compounds. Owing to the high flexibility, electrical conductivity, specific capacitance, and excellent environmental stability PA exhibits potential applications in electrochemical supercapacitors [13,14,15]. For PAs, in several cases, being processable and soluble is sometimes more imperative than being highly conductive. The lower solubility and inevitable nature of PA contribute to the most exciting practical applications [16,17,18].

In the past research, enormous progress has been established to improve processability using the following chemical modifications: (i) introducing the N-substituted aniline derivatives [19,20,21,22,23]; (ii) different copolymerization techniques of aniline with appropriately substituted anilines [9, 24,25,26,27,28,29]; (iii) various post-treatments of polyaniline e.g. sulphonation on the polymer matrix [30, 31] and (iv) controlling the molecular weight of the polymer [32]. The aforementioned methods help polyaniline that is soluble in common organic solvents [33]. Among all the above-stated methods, the copolymerization strategy is the most significant and this technique could improve the processability and conductivity [9, 24]. Depending on the type of substitution groups like electron-donating and withdrawing, polyaniline and its copolymers are well properly reported in the literature [24, 34, 35]. Nevertheless, enough reports existed for the structural interpretation of polyanilines. The conventional PA are having the general formula of [(B–NH–B–NH)m (B–N=Q=N)1−m]n, whereas B denotes the benzenoid ring and Q indicates the quinonoid ring of the polymer backbone. In general, the intrinsic oxidation of the aniline-based conducting polymers can be changed from the completely reduced leucoemeraldine base (LEB, m = 1) to the half (50%) oxidized emeraldine base (EB, m = 0.5) to the fully oxidized pernigraniline base (PAB, m = 0). These various intrinsic oxidation structures of PA and copolyanilines have been characterized by formal techniques such as Fourier-transform infrared spectroscopy [36] (FT-IR), ultraviolet–visible spectroscopy [9, 24] (UV–Vis), Raman spectroscopy [37], and electron spin resonance [38] (ESR) and along with electrochemical studies, etc. But, X-ray photoelectronic spectroscopy (XPS) is the advanced and foremost analysis tool extensively used in quantitative analysis of different oxidation states of conducting polyanilines [24].

For the first time in literature, the present work discussed the binding energy and electrochemical behavior of polyaniline (PA), poly (3-aminophenol) (P-3-AP), and poly (aniline-co-3-aminophenol) (PA-co-3-AP). The XPS technique determines the chemical composition, chemical bonding of atoms, and the cyclic voltammetry helps to study the oxidation states of the elements and polymers based on their respective binding energies. The foremost characterizations of PA, P-3-AP, and PA-co-3-AP, including electrochemical and XPS studies, were methodically scrutinized as follows.

Experimental section

Chemicals and materials

Aniline, 3-aminophenol, and ammonium persulfate (APS) (99.0 purity) were purchased from Sigma-Aldrich and used as received. Analytical grade hydrochloric acid (HCl), sulfuric acid (H2SO4), and spectroscopic grade dimethyl sulfoxide (DMSO, 99.7%), N-methyl-2-pyrrolidone (NMP, 99.7%), and methanol were used as received from Sigma-Aldrich. Double-distilled water was used in the preparation of aqueous solutions.

Synthesis of PA and P-3-AP homopolymers

The polyaniline (PA) and poly (3-aminophenol) P-3-AP were synthesized as shown in Scheme 1 by chemical oxidation of aniline and 3-aminophenol distinctly with APS in 1 M HCl from our earlier reported work [24, 25]. In a typical reaction, aniline (20 mmol, 1.86 g) was added to 200 mL of 1 M HCl and the mixture was cooled to 5 °C in an ice-cold bath. An ice-cold solution of 20 mmol (4.56 g) ammonium persulphate dissolved in 200 ml of 1 M HCl was then added slowly into the monomer solution with constant stirring under a nitrogen atmosphere at 5 °C. The reaction mixture was further stirred for another 5 h and aged overnight at room temperature. A greenish precipitate of the polymer in emeraldine salt form (PA hydrochloride) was formed. It was filtered and washed with small volumes of 1 M HCl and dried in an air oven for 8 h at 80 °C. The emeraldine base was obtained after the treatment of emeraldine salt with 1 M NH4OH solution and aged for 24 h at room temperature. The separated base was washed with distilled water, filtered, and air-dried. Similarly, Poly (3-aminophenol), P-3-AP was obtained by oxidative polymerization of 3-aminophenol using APS. Finally, the as-prepared polymer procured was black powder.

Scheme 1
scheme 1

a Synthetic route for homopolymers (R=H for PA, R=OH for P-3-AP) and b PA-co-3-AP copolyanines

Synthesis of copolyanilines (PA-co-3-AP)

The synthesis of PA-co-3-AP copolymers was processed by the chemical oxidative coupling of the monomers in 1 M HCl using APS. Different copolymers were successfully prepared by varying the amount of 3-aminophenol, namely 20, 40, 60, and 80%. The polyamines with 20, 40, 60, 80% 3-aminophenol will be denoted from here on as PA-co-3-AP20, PA-co-3-AP 40, PA-co-3-AP60, and PA-co-3-AP80, respectively. The synthetic route for homopolymers PA, P-3-AP and PA-co-3-AP copolyanines is presented in Scheme 1 and the 3D repeating units for homopolymers (R=H for PA, R=OH for P-3-AP) are shown in Scheme 2.

Scheme 2
scheme 2

a 3D repeat units for homopolymers (R=H for PA, R=OH for P-3-AP) and b 3D repeat units of PA-co-3-AP copolyanines

Characterization

Cyclic voltammetry

Electrode alteration

Firstly, the working electrode, the glassy carbon electrode (GCE) was polished with 1.0 µm alumina slurry and sonicated in distilled water. The cleaned GCE was subsequently dried using a purified nitrogen stream. Electrode casting solution was prepared in DMF solvent with a concentration of 5 mg/mL. The solution was sonicated for 5 min to have a homogeneous dispersion solution. The modified electrode was prepared by a simple drop-casting method, by pipetting a volume of 10 µL on the GCE and dried at room temperature under vacuum conditions.

Electrochemical tests

All electrochemical tests were performed on a laboratory potentiostat (Gamry 3000, USA) with a glassy carbon electrode (GCE, 3 mm diameter, Bioanalytical systems, USA) used as a working electrode. Ag/AgCl/3 M KCl electrode and Pt electrode (Bioanalytical systems, USA) were applied in a three-electrode cell system as reference and counter electrodes, respectively. Cyclic voltammetric measurements were acquired under Gamry instruments framework software, and data acquired were evaluated using Echem Analyst and OriginPro 8. Cyclic voltammetry test was conducted in 0.1 M H2SO4 acid solution as the electrolyte under N2 atmosphere, in the potential range from − 0.4 to 0.8 V at a scan rate of 100 mVs−1. Scan rate influence was also studied under similar conditions except for, scan rates varied at 10, 20, 30, 40, and 50 mVs−1 in the potential range between − 0.2 to 0.7 V.

XPS Studies

The XPS signals on the powdered sample were recorded using AXIS ULTRA DLD (kratos analytical Ltd, UK) equipped with an Al Ka X-ray source. The spectra were acquired in the constant analyzer energy mode with a pass energy of 160 eV, 10 kV, and 10 mA emission current for the survey. The individual scans were performed with a pass energy of 10 eV, 15 kV, and 15 mA emission current. The vision manager 2 software was used for digital acquisition and data processing. Spectral calibration was determined using the automated calibration routine and the internal C1s standard. In 100 ml of DMSO solvent, the solubility of PA and PA-co-3-AP derivatives in the powder form is to be determined by dissolving 10 mg of the as-synthesized polymer and allowed to disperse homogeneously. The dispersion is aged for a few hours at the room temperature of 25 °C, and filtered by sintered glass crucible (porosity 2 microns).

Structural studies

UV–Visible absorption spectra of the polymer samples in NMP solvent were recorded at room temperature on a thermo spectronic genesys2 research grade spectrophotometer.

Morphological studies

Scanning electron micrographs were recorded using a JEOL-6700 field emission microscope to study the morphology of the polymers.

Results and discussion

UV–vis absorption study

UV–Vis electronic absorption spectroscopy is used to determine the extent of conjugation and the sorts of transitions involved in electrically conducting polymers [29]. Figure 1 shows the UV–Vis absorption spectra of PA, P-3-AP, and PA-co-3-AP80 copolymers salts in NMP solvent is observed in the range of 250–1000 nm. The as-synthesized polymers show two characteristic absorption bands at ~ 320–350 and ~ 600–620 nm [24, 39]. The band at lower wavelength is ascribed to the π–π* transition of the π conjugated systems and the higher wavelength band is consigned to the n–π* benzenoid to quinonoidexcitonic transition [24, 40,41,42,43,44,45]. Furthermore, the band at ~ 470 nm is signifying the polaron–π* transition [29]. A wide range of absorption at visible region ~ 600–900 nm is assigned to the π–polaron transitions, which is endorsed to the emeraldine salt form of PA, P-3-AP, and PA-co-3-AP copolyanines [42, 43]. These observations confirm the obtained PA, P-3-AP, and PA-co-3-AP copolymers exist in the conducting emeraldine salt form (ES).

Fig. 1
figure 1

UV–Visible spectra of a PA, b P-3-AP, and c PA-co-3-AP80 copolymer dissolved in NMP solvent

XPS study

X-ray photoelectronic spectroscopy (XPS) is widely used to investigate the chemical composition and elemental states, especially in conducting polymers and composite materials. Figure 2a–c shows the XPS survey spectra of PA, P-3-AP, and PA-co-3-AP80 copolymer and it confirms that the presence of anticipated elements in all the samples. Figure 3a denotes the N 1s deconvoluted spectra of PA and which includes three characteristic peaks of C–N (389.9), neutral or quinonoid imine (C=N) 400.5, and quaternary or protonated quinonoid imine (C=NH+) 402.3 eV. The deconvoluted peaks of P-3-AP, at 397.1, 398.2 and 400.2 eV in Fig. 3b, and in Fig. 3b, for PA-co-3-AP80 copolymer, at 397.2, 398.3 and 400.1 eV are perceived. The deconvoluted data found for N 1s of the three polymers are well agreed with the literature [24, 44]. As shown in Fig. 4a–c, the C 1s deconvoluted spectra of PA, P-3-AP, and PA-co-3-AP80 polymers are resolved into four distinctive peaks at ~ 283.3, 284.5, 285.6, and 286.2 eV and which endorses the C–C, C=N, C=NH+ and carbonyl (C=O) functional groups, respectively. The C 1s first peak is observed at ~ 283.3 eV, which is ascribed to the neutral C–C bonds present in the polymer backbone. The second integral peak centered at ~ 284.5 eV which is assigned to the neutral quinonoid imine (C=N) bond, which confirms the presence of the quinonoid ring in the polymer backbone. The third peak is observed at ~ 285.6 eV, which can be assigned to the protonated quinonoid imine (C=NH+) and which reveals the formation of polyaniline emeraldine salt (ES). The characteristic peak of the carbonyl (C=O) functional groups (i.e. carbon connected with oxygen) due to the realization of BQ (p–benzoquinone) and HQ (hydroquinone quinol) as degradation products in PA, P-3-AP, and PA-co-3-AP80 copolymer is perceived at utmost binding energy (~ 288 eV). In this study, the O 1s spectra were not recorded for further investigations because it is highly subjective to the moisture and other oxide impurities which are very common in the XPS technique [24].

Fig. 2
figure 2

XPS survey for a PA, b P-3-AP, c PA-co-3-AP80 copolymer

Fig. 3
figure 3

XPS spectra for N 1s region for a PA, b P-3-AP, c PA-co-3-AP80 copolymer

Fig. 4
figure 4

XPS spectra for C 1s region for a PA, b P-3-AP, c PA-co-3-AP80 copolymer

Electrochemical performance

The electrochemical study is a remarkable property of conducting polyanilines to scrutinize the application of PA as electrode material in numerous electrochemical applications. In the present study, the electrochemical tests for PA, P-3-AP, and PA-co-3-AP copolymers are performed in 0.1 M H2SO4 electrolyte under inert (N2) atmosphere using GCE electrode in a three-electrode system within the potential window of − 0.4 to 0.8 V at various scan rates of 20–50 mVs−1. In Fig. 5a, the PA shows two oxidation forward peaks at 0.269 and 0.517 V and two reduction peaks at 0.114 and 0.431 V reversibly. The oxidation peaks correspond to the transformation of leucoemeraldine base to emeraldine base (EB) and EB to PA (emeraldine base to complete oxidation state of pernigraniline state) [45]. While in Fig. 5b, d, P-3-AP and PA-co-3-AP copolymers exhibit only one single electron oxidation at ~ 0.152 V, and on reversal, the scan shows a single reduction at around 0.075 V. The current density of PA is higher when compared to the P-3-AP and which is almost 5 times greater than the copolymers. It is due to the distorted planarity of the phenyl rings while increasing the hydroxyl (–OH) groups on the polymer backbone, which results in deprived electrical conductivity and electrochemical activity. Eventually, the current density of the copolymers PA-co-3-AP20 to PA-co-3-AP80 gradually decreases with the higher weight percent of 3-aminophenol.

Fig. 5
figure 5

Cyclic voltammetry scan of a PA, b P-3-AP, c PA-co-3-AP20, d PA-co-3-AP80 copolymer

Solubility test

A Buchner-type filter funnel, a 100-mL round-bottom flask, and an electronic weighing balance are used to determine the solubility of the polymer powder. There are only two weighings and no undissolved polymer transfer in this simple technique. In this, method [46], the as-prepared polymer, is weighed directly into a clean, dry, filter crucible. The polymer is then dried in the filter crucible for one hour at 70 °C in an oven. The crucible is then appropriately placed in the round-bottom flask, together with a specified volume of DMSO solvent (100 mL). The left out polymer in the filter crucible is then dried at 70 °C in an oven for one hr and then reweighed. The mass of the polymer dissolved in a given volume of solvent is referred to as weight loss at a temperature of 25 ± 2 °C.

In electrochemical study, solubility plays a key role in conducting polyanilines and their potential electrochemical applications. The solubility of PA, P-3-AP and the PA-co-3-P dissolved separately in DMSO solvent, and the results are depicted in Table 1. The obtained data show the solubility of PA is lower than that of P-3-AP and PA-co-3-AP. Owing to the higher reactivity of –OH (hydrogen bonding occurs, which enhances the polarity of the molecule) group, the solubility of P-3-AP, and PA-co-3-AP copolymers was improved. As the weight percentage of 3-aminophenol (20–80%) in the polymer chain is increased, the solubility of copolymers tends to increase, with the greatest solubility of 69.84 × 10–2 to 78.70 × 10–2 (W/V percent), (g/dL)). However, the interesting property noticed here is that the copolymer PA-co-3-AP shows lower solubility than our earlier reported 2-amino phenol copolymers in our previous work [24, 25]. Due to presence of a –OH (hydrogen bonding) group on the polymer backbone, 2-amino phenol copolymers have a higher solubility than 3-amino phenol copolymers. This gives the copolymer a more polar character [24, 26]. The 3D structure of the copolymer (PA-co-3-AP) is shown in Scheme 2. The structure explains the hydrogen bonding in the molecules.

Table 1 Solubility of PA, P-3-AP, and copolymers dissolved in DMSO

Morphological studies

The field emission scanning electron microscopy (FE-SEM) is a vital tool to investigate the morphology of the conducting polymers. The surface morphology of the PA, P-3-AP, and the PA-co-3-AP copolymers were examined using the magnification of 80 k and depicted in Fig. 6. As can be realized from Fig. 6a, b both PA and P-3-AP polymer own distinct and dissimilar morphology of the sample in the size range of 0.2–1 µm. The PA has a regular granular morphology, whereas P-3-AP polymer has an aggregated globular structure. But, the PA-co-3-AP 20 polymer has both mixed granular and globular morphology Fig. 6c, while PA-co-3-AP 80 polymer has aggregated globular morphology Fig. 6d. These globules and aggregation formation could have occurred due to the formation of the hydrogen bonding between the monomer units and the rapid stirring environmental condition which furnished the doped polymer’s alteration into globular structures.

Fig. 6
figure 6

SEM images of a PA, b P-3-AP, c PA-co-3-AP20, d PA-co-3-AP80 copolymer

Conclusions

Herein, we synthesized the highly soluble (PA-quinonoid-3-AP) copolymers by the chemical oxidative polymerization method. The homopolymer P-3-AP procures better solubility than the conventional PA and copolymers. The solubility of homopolymer P-3-AP is ten-fold higher than the simple PA. The solubility of the copolymers (PA-co-3-AP) increases progressively as the weight percent of meta-hydroxy aniline monomers is increased in the polymer chain. Cyclic voltammograms suggest that the current density of PA is higher than the current density of the homopolymer and which is almost five-fold higher. This is due to the presence of distorted planarity of the entire polymer backbone, which results in poor electrical conductivity and electrochemical activity. However, the current density in the copolymers decreases gradually as the weight percent of 3-aminophenol in the polymer backbones is increased. The present study provides better insight into the method that prepares extremely soluble conducting polyanilines which will offer potential electrochemical applications including corrosion protective coatings and energy storage applications etc.