1 Introduction

Inorganic-polymer nanocomposite is considered as a new class of materials with better applications in electrical energy storage, gas sensors, anticorrosion, barrier properties, with the increased thermal properties [1,2,3,4,5,6,7,8,9]. The conjugated conducting polymers such as polyaniline (PANI) and polypyrrole have been studied extensively investigated due to their higher electrical properties and environmental stability which can be modified by changing oxidation state of the main chain and protonation mechanism when the doping of PANI is carried out using hydrochloric acid [10,11,12,13,14,15]. Actually, the PANI and their derivatives have been widely used in anticorrosive coatings of steel [16,17,18,19,20,21,22,23,24]. However, PANI has restricted uses as in the case of transport of the electron due to its immiscibility with the other solvents and the non-conducting polymers. But the development of the characteristics such as thermal, mechanical, and the anticorrosion of PANI could be possible with in situ polymerization of the PANI charged by nanolayers [25,26,27].

The object of this work is to study the electrical conductivity and thermal stability of nanocomposite (PANI–Mmt) in strict conditions.

In the first part of our manuscript we started with the synthesis and characterization of the polyaniline and nanocomposite by simple methods then we started the degradation of these materials in corrosive mediums. Different analysis techniques such as IR, AFM UV, TEM, AFM and SEM were used for the characterization of prepared samples. Then we showed the thermal stability of the materials in the corrosive mediums by using several thermal techniques. The last part describes evolution of conductivity according to conditions applied using electrical resistivity four probe method.

2 Materials and methods

2.1 Synthesis of the polyaniline

The various optimization of molar ratio of oxidant/aniline (0.25, 2.5 and 4) and temperatures (0 °C, 10 °C and 20 °C) were studied. Polyaniline was prepared by the oxidation of 0.5 M aniline hydrochloride with 0.2 M ammonium peroxydisulfate, started at 10 °C. A part of the product was deprotonated in 1 M of excess ammonium hydroxide to yield the corresponding PANI base (Fig. 1).

Fig. 1
figure 1

Synthetic reaction scheme of PANI-ES

2.2 Synthesis of PANI/Mmt nanocomposites

2.2.1 Intercalation of the sodic montmorillonite with an organic molecule

The elaboration of nanocomposite is conditioned by a complete dispersion of the silicates layer in the polymer matrix in order to increase the interactions between these two phases [28, 29]. The sodic clay (montmorillonite KSF, Aldrich) is processed by alkylammonium salt which gives an organophile character with the cationic exchange (Na+) with the ammonium cations. For these syntheses we have chosen as agent of organophilization; the bromide of hexadecyltrimethylammonium (HDTMAB) a cationic surface active agent of formula: (H3C–(CH2)15–N + –(CH3)3, Br). Five grams of sodic montmorillonite is mixed with 3 mm mol/g of HDTMAB, the inorganic/organic mixture is added to 250 ml of distilled water, the montmorillonite here present, therefore, excellent inflating properties in suspension, better aptitudes for a cationic exchange. He mixture is placed in a trial balloon plunged in oil bath at 80 °C under magnetic stirring [3000 rpm (rate per min)] for 4 h to ensure that the reactions be completed. After the cationic exchange, the suspension is filtered, the recuperated organophilized montmorillonite is rinsed with distilled water to eliminate the bromide ions, it is then dried, pounded and sifted.

2.2.2 Synthesis of nanocomposites

About 5% organoclay was added to 100 ml of 1 M HCl (Biochem) solution. It was stirred for 1 h and kept overnight. PANI/Mmt nanocomposites were prepared by the initial insertion of aniline (99%, Merck), into the colloidal suspension with room temperature during 24 h under magnetic stirring to intercalate the monomer in the space of clay. The mixture is brought to 5 °C in a bath of ice. When this temperature is reached, the ammonium persulfate ((NH4)2S2O8) dissolved in 100 ml of aqueous solution of 1 M HCl (molar ratio aniline/oxidant equal to 4 to obtain good electrical conductivity), was added drop by drop to the suspension Mmt-aniline. The reaction was stopped after 8 h. The final nanocomposite was recovered by filtration, washed with water until the filtrate was colourless. The precipitate was filtered with methanol and then an acetone to remove the oligomeric impurities [30, 31], excess oxidant and residual aniline monomer.

2.2.3 Degradation of the nanocomposites in the corrosive conditions

After the synthesis of PANI/Mmt nanocomposites, we prepared solutions concentrated with 5 M HCl then we put 3 g of nanocomposite in 30 ml of this concentrated solution at temperature of 80 °C under conditions described in Table 1.

Table 1 Degradation of nanocomposites in corrosive conditions

2.3 Characterizations

The infra-red analysis of Nanocomposite were realized in laboratory materials at the university of Oran by the spectrometer ALPHA BRUKER Optik (2000–600 nm), It is necessary to make a heat dried polymer powders at 65 °C, for 24 h then to convert them into KBr pellets. The thermal characterizations are made using TG–DSC SETARAM LABSYS Evo, It is necessary just before the polymer powder is dried, to raise the temperature with a step of 10 °C until the temperature 850 °C is reached. The identification by MEB is made on powder samples and pellets but the AFM on pastille with a BRUKER microscope.

The determination of the PANI structure with UV is made by a spectrometer ANALYTIC JENA Specord 210 and the structural of the nanocomposite were determined by a XRD (X-ray diffraction) with diffractometer INAL (the sample is powder: one selected the interval theta = 0–40 as well as the step = 2).

Finally an electrical conductivity test is made by the four point probe method, it is necessary to dry the polymer powders 24 h before at 65 °C then to convert them into pellet thickness of 1 mm.

3 Results and interpretation

3.1 Structure and morphology stability of PANI/Mmt nanocomposite in aggressive media

We noticed that the mass loss increased with the residence time in the acid solution, the phenomenon is more rapid at 25 °C but quantitatively more significant at 80 °C. We also noted that this weight loss was greater in the case of PANI ES aged under the same conditions. The difference is on average 2–3%. We conclude that the presence of clay reduces the departure oligomers and therefore reserve the sample from the corrosive effects of acidic solutions (Fig. 2).

Fig. 2
figure 2

Percentage of mass loss depending of the aging time

On the diffractogramme (Fig. 3), the absence of the peaks of diffraction is clearly what ensures an exfoliate structure of the PANI/Mmt nanocomposites. This statement is confirmed by transmission electronic microscopy, Fig. 4 shows exfoliate layers dispersed in the matrix, and the agglomerates layers intercalated by the PANI [32, 33].

Fig. 3
figure 3

DRX of PANI/Mmt nanocomposite synthesized in a 1 M HCl solution

Fig. 4
figure 4

TEM image of PANI/Mmt nanocomposite; white arrow: exfoliated layers, black arrow: intercalated layers

We observe on the diffractogram of PANI/Mmt nanocomposite degraded 3 months in aggressive media (Fig. 5), the disappearance of the first diffraction peak of the montmorillonite organophilic characteristic of the interlayer distance (d001), the layers do not show any crystalline organization, the interlayer distance becomes greater than that measured by X-rays diffraction, the clay layers are individualized and dispersed in the matrix, therefore the sample has an exfoliated structure [32, 33].

Fig. 5
figure 5

DRX of PANI/Mmt nanocomposite degraded 3 months in aggressive media

The infra-red spectrum on Fig. 6 revealed the existence of the two phases of organics and inorganics visibly [34,35,36,37], show the same absorption bands as that of PANI ES6 with an additional peak corresponding to the bond Si–O located at 1060 cm−1 characteristic of clay.

Fig. 6
figure 6

FTIR spectra of PANI/Mmt nanocomposite, PANI and Mmt-org

The FTIR spectra of simple after degradation for 3 months in acidic media (Fig. 7) did not show any structure changes of the nanocomposites polyaniline/Mmt org. Figure 7 revealed two intense tops at 1567 cm−1 and 1491 cm−1 corresponding respectively to the shifts of bond valence by vibrations of the cycles quinoïde (C=N) and the cycles benzoïdes (C–N).

Fig. 7
figure 7

FTIR spectrum of NanoPANI6 80 3 degraded for 3 months

The micrograph AFM (Fig. 8a) illustrates clearly the surface quality [37] of PANI/Mmt nanocomposite, the results of microanalyses AFM reveals the topographic state of the nanocomposite rigorous surface however not the influence of surface degradation, it does not have any contrast there on the image in phase mode, which means that the relief of surface, is the same after 4 months of thermal degradation under the sulphuric acid, our nanocomposite is always meadows use. Moreover the micrograph of the height mode gives a deep distance of Z = 1.2 μm, which is near to that of the nanocomposite before degradation (Fig. 8b, c). This conclusion is affirmed by the histogram on Fig. 8d which reveals no change of the value roughness RMS = 0.1721.

Fig. 8
figure 8

a Atomic force micrograph of PANI/Mmt nanocomposite with 512p resolution. Left: 2D image (x, y) and the depth Z = 1.30 μm. A right: 3D image. Middle: 3D image in phase mode. b Atomic force micrograph of nanocomposite PANI6 25 4 with 512p resolution. Left: 2D image (x, y) and the depth Z = 1.89 μm. A right: 3D image. Middle: 3D image in phase mode. c Atomic force micrograph of nanocomposite PANI6 80 4 with 512p resolution. Left: 2D image (x, y) and the depth Z = 1.89 μm. A right: 3D image in phase mode. d Atomic force micrograph of nanocomposite PANI6 80 4 2D (x, y) with the depth Z = 1.2 μm

3.2 Thermal stability of PANI/Mmt nanocomposite in aggressive media

PANI/Mmt nanocomposites were investigated by thermogravimetric analysis (TGA) and we compared this results with that of the PANI.

For all the samples, the initial weight loss is slightly observed at nearly 110 °C, it is due to the loss of moisture [38], and it represents approximately 5% of initial weight of the product. The mass decrease is observed between 204 and 328 °C for organophilized Montmorillonite and nanocomposite (NanoPANI6), this behavior is associated with the elimination of HCl and the decomposition of Surfactants which is degraded in this interval [39]. The mass loss recorded equal to 29%. It is noticed that the loss of the doping agent is delayed in the NanoPANI6 sample compared with polymer.

The principal loss masses in both nanocomposite and PANI6 correspond to the decomposition of the matrix PANI which begins at 450 °C in the NanoPANI6 sample. This temperature is definitely higher than that for polyaniline whose decomposition starts towards 420 °C. The mass loss recorded for the NanoPANI6 sample is of 10%. Compared to 17.4% for PANI6, the nanocomposites are thermally stable up to the PANI (Fig. 9). This increase in thermal stability of the nanocomposites is justified by the barrier effect of the clay layers [35, 36]. During the decomposition, the oxygen gas and molecules resulting from the products distribute more slowly, slowed down in their ways by the clay layers dispersed in the polymeric matrix [39,40,41,42,43,44] so degradation is prolonged and a thermal behavior increases. The nanocomposites charged with a value > 5% show a more stable thermal behavior because the clay concentration is more, the thermal barrier effect is more important and tortuosity is accentuated but that with detriment of the conductivity of material.

Fig. 9
figure 9

Thermogram TG of PANI/Mmt nanocomposite

The differential thermal analysis DTA of NanoPANI6 and PANI6 is confirmed by exothermic pick in the various intervals of TGA mass loss (Fig. 10).

Fig. 10
figure 10

Thermogram ATD of PANI/Mmt nanocomposite

After the synthesis of our Nanocomposite, we prepare solutions concentrated of 5 M HCl then put 3 mg of this Nanocomposite in 30 ml of this concentrated solution under a temperature of 80 °C for 3 months, we obtain the sample Nano PANI6 80 3.

Thermogram TG of Nanocomposite PANI6 80 3 (Fig. 11) presents a three level profile, it shows two weight losses. We observe initially, the gradual weak mass loss between 50 and 110 °C resulting from elimination of hygroscopic water, it represents approximately 3% of initial weight of the product dried one night in a drying oven at 50 °C. A second mass loss is recorded in the interval of temperatures from 255 to 614 °C and represents weight loss of 45%. It is allotted to the decomposition of the material.

Fig. 11
figure 11

Thermogram ATG of nanocomposite PANI6 80 3

Thermogravimetric analysis and differential thermal analysis (Fig. 12) of the nanocomposite PANI6 80 3 shows the similarity with that of initial nanocomposite. It is thus noted that this material is stable during 3 months of degradation in a strongly acid medium with a high temperature.

Fig. 12
figure 12

Thermogram ATD of the nanocomposite PANI6 80 3

Figure 13 represents thermogram DSC of the PANI–Mmt nanocomposite. We observe a first endothermic peak at 155 °C characteristic of evaporating physically absorbed water. The peak located at 245 °C is allotted to the relaxing of the polymeric chains. The presence of endothermic peak at 300 °C is related to elimination of the HDTMAB. The crosslinked chains of the PANI in the nanocomposite manifest itself towards 360 °C and is thus tardy compared to the PANI for the reason that there is presence of clay. This phenomenon is followed by decomposition of the polyaniline which starts towards 430 °C in nanocomposite whereas it was initiated at 415 °C in the PANI.

Fig. 13
figure 13

Thermogram DSC of PANI/Mmt nanocomposite

Nanocomposite (NanoPANI6 80 3) degraded for 3 months in a corrosive media at temperature of 80 °C present, on Fig. 14 same peaks as the NanoPANI6, which reflects opposite stability under these conditions.

Fig. 14
figure 14

Thermogram DSC of the nanocomposite PANI6 80 3

We measured the lost mass of NanoPANI6 aged at temperature of 265 °C during 10 h under atmosphere of nitrogen, shows a very great stability estimated on the thermogram, only mass loss was observed, it is negligible and related to the separation of moisture with time (Fig. 15).

Fig. 15
figure 15

Stability thermique of PANI/Mmt nanocomposite

3.3 Evolution of the electric conductivity

3.3.1 Electrical conductivity stability of Nanocomposite according the time of degradation in different temperature

We followed the effects of the application constraints like thermal degradation and on aggressive solutions for the period of 6 months on uncharged Materials and charged nanocomposite, followed by measure of Electrical conductivity during this degradation (Table 2).

Table 2 Conditions and values of the electrical conductivity of synthesized samples

The electrical conductivity of the nanocomposite is definitely inferior to that of the PANI6 but this variation after thermal degradation under the corrosive conditions is negligible because of the barrier effect of the clay reinforcement.

3.3.2 Influence of temperature on electrical conductivity

After that, we undertook the influence of temperature on synthesized materials, by accelerating thermal degradation at various temperatures during 30 days in a drying oven. Then measurement of electrical conductivity is necessary for the visibility of the study.

The temperatures of degradation used are 60, 80, 100, 150 and 200 °C.

The results presented in Table 3 show that electrical conductivity is verily influenced by the temperature. When the temperature increases in the free air, we notice a reduction in the electrical conductivity of PANI-ES. Initially feeble for 80 °C, the conductivity continues to decrease gradually with the increase in the temperature of the heat treatment until the polymer becomes less conducting. The nanocomposite adopts a different behavior, we noticed at the start a moderate reduction followed by a fast reduction. Although a less good conductor than the PANI, the nanocomposite adopted an insulating state more tardily.

Table 3 Electrical conductivity of the samples subjected to a heat treatment

When the temperature increases, minor amounts of acid evaporate from chains of polymer, this effect is marked towards 200 °C. This protonation loss of PANI made the material become gradually non-conducting. This phenomenon of loss of doping agent is differed in the nanocomposites.

According to the results brought back on Fig. 16. We see that with room temperature, for the selected samples (PANI, nanocomposite), the electric conductivity decreases slowly when the contact duration increases. This decrease is however less important for the charged samples.

Fig. 16
figure 16

Evolution of the electrical conductivity of PANI and nanocomposite as a function of time

But at high temperature (120 °C), the profiles of the curves diverged. The conductivity of the PANI decreases noticeably after more than 30 days of exposure, the loss is higher than 85%. It is cancelled after 45 days. That of nanocomposites seems more stable, it decreases more slowly than that of PANI. The loss of conductivity reaches 72% in 60 days of exposure for nanocomposites.

We can conclude that the nanocomposites have conductivity more stable in time when the temperature increases.

3.3.3 Study of the conductivity of NanoPANI6 according to the clay rate added

The more the rate of Mmt-org increases and the more conductivity decreases, that is interpreted by the fact that Mmt-org forms an electrical barrier which prevents the current passing as shown in the Fig. 17 [45,46,47,48]. The displacement of the electric charge through the polyaniline is done by a proton along the chain of polymer (Fig. 18), this is why conductivity is significant, however in nanocomposite the electric transport is stopped by the obstacles of 5% phyllosilicates. The break-even seems located towards 5%, after this critical report, conductivity decreases clearly with several magnitudes. In this case, the clay particles are a cause of this reduction. The need of connectivity between the chains of PANI separated by the clay particles, limits inter-chains transport.

Fig. 17
figure 17

Electrical conductivity of the nanocomposite as a function of % clay

Fig. 18
figure 18

Connectivity PANI chains separated by the clay particles

4 Conclusion

In this work, we wanted to increase the fundamental knowledge of intrinsic conducting polymer and nanocomposite in order to improve their electrical properties for industrial applications. And also see the effect of corrosive media in high temperatures caused by these applications.

The continuation of this work was devoted to electric characterizations study by the method of the four points and to see its thermal behavior using the thermal analysis ATD–ATG and DSC.

The experimental results of thermal and electrical stability of polyaniline during 6 months defined the lifetime under very difficult conditions.

The nanocomposite showed a better stability in extreme degradation following the barrier effect caused by the clay layers dispersed in polymer but it has at the beginning a less electric conductivity.

This work shows the interest of diversity characterizations for the study of these materials. Indeed, characterizations defined the state of material during the time of use as cathode in the battery or anti-corrosive painting for the pipeline which respectively requires a strongly acid medium with relatively high temperature. For the continuation of this work, it would be interesting to use the strong sensitivity of measurements to degradation study of the samples and to obtain further information concerning the ways of conduction.