Introduction

Cellulose has been considered an alternative material to nondegradable fossil fuel-based polymers due to its abundance and biodegradability (Moon et al. 2011; George and Sabapathi 2015; Yang et al. 2015; He et al. 2019). The chemical structure of cellulose is based on β-1,4-linked glucopyranose units, which bear three hydroxyl groups (Klemm et al. 2005; Zhao et al. 2007; Gurjanov et al. 2008; Mo et al. 2009). Consequently, the hydroxyl groups covering the cellulose backbones (Jie et al. 2019; Svenningsson et al. 2019) as well as the regular arrangement of their macromolecules allow the interaction with a variety of materials (Sharifi et al. 2018; Fei et al. 2019). Bamboos are often called ‘‘tree grasses’’ because of their large branches and woody stems (Xu et al. 2020). As a perennial woody grass, bamboo has become one of the most potential renewable non-woody cellulosic materials because of its high productivity, rapid growth and easy propagation (Visakh et al. 2012; Tanpichai et al. 2019). Bambusa vulgaris (L.) (Poaceae) has been extensively found in tropical and subtropical areas (Yakubu and Bukoye 2009) and represents a potential source of cellulose.

Cellulose has been extensively applied in the development of nanocomposites together with conjugated polymers (Tian et al. 2017; Zhou et al. 2017; Alonso et al. 2018; Hajlaoui et al. 2020) aiming to improve physicochemical and mechanical properties, as well as to propose new technological applications (Palaniappan and Devi 2008; Mo et al. 2009; Luo et al. 2013; Sangamithirai et al. 2015; Zheng et al. 2017; Picanço et al. 2018; Liu et al. 2019; Wang et al. 2019b; Woigk et al. 2019; Cao et al. 2020; Yang et al. 2020; Trindade et al. 2020). However, few studies report a systematic structural approach based on X-ray diffraction analysis (XRD), Rietveld refinement (De Figueiredo and Ferreira 2014; Manzato et al. 2017; Hernandez et al. 2018) and Fourier-transform Infrared spectroscopy (FTIR) focusing on the interaction between both phases as a consequence of the in-situ polymerization.

In order to report the effect of the in-situ polymerization of aniline on the extracted cellulose from B. vulgaris, the PANI-ES/Cellulose nanocomposite was characterized by XRD to examine the long-range order achieved as consequence of very short-range interactions. Rietveld refinement was performed to obtain lattice parameters, crystallite size and microstrain. FTIR technique was applied to molecular structural characterization, as well as to verify some possible chemical interaction between PANI-ES and cellulose fibers. TG/dTG were conducted to evaluate the thermal stability of the bamboo in-natura, extracted cellulose and developed nanocomposite. SEM analysis was carried out to confirm the polymerization of aniline over the cellulose fibers, as well as to evaluate the resulting morphology. Then, these results were correlated with the electrical conductivity data obtained by Complex Impedance Spectroscopy (CIS) analysis.

Experimental

Materials

Chemicals

Aniline, sodium chlorite and ammonium persulfate (APS) were purchased from Sigma-Aldrich®, São Paulo, Brazil. Sodium hydroxide (NaOH), hidrochloric acid (HCl) 37%, glacial acetic acid and acetone were purchased from Synth®, Diadema, Brazil. Reverse osmosis water was used in the whole process.

Plant material

Bambusa vulgaris culms (SisGen n° A26CD5E) were collected in Manaus/AM – Brazil and dried under controlled humidity (50% R.H.) at 27 °C. Botanical identification was carried out at the Federal University of Amazonas (UFAM) following the established protocol.

Methods

Cellulose extraction

B. vulgaris culms were cut into pieces (about 10 cm) and washed using distilled water under constant stirring at (70 ± 2) °C for 60 min. Pieces were dried and then subjected to a knife mill (MA1340, Marconi). The specific chemical treatments employed for cellulose extraction was performed in the following order: extractives, alkalinization and bleaching. For removing the extractives, the milled culms were subjected to a solvent mixture of ethanol/acetone (95:5, v/v) for 20 min at (70 ± 2) °C. The system was filtered using a 14 µm pore size filter paper, after reach room temperature. The fibers were washed using distilled water and dried in oven for 4 h at (60 ± 2) °C.

Alkalinization treatment was applied to swell raw fibers. Then, fibers were treated with 4 wt% NaOH solution for 1 h at (60 ± 2) °C to reduce hemicellulose and lignin contents. Lignocellulosic fibers resulting from this chemical treatment were washed using distilled water until reach pH 7 and dried to constant weight at 100 °C in oven.

Bleaching treatment was performed to extract cellulose fibers. A solution was prepared using distilled water (360 mL), glacial acetic acid (3 mL) and sodium chlorite (7.5 g). Then, 9.00 g of dry lignocellulosic fibers were added to this solution under constant stirring for 1 h at (70 ± 2) °C. Three additions of the previous amount of glacial acetic acid and sodium chlorite were added to the system at constant stirring in intervals of 1 h. The system was allowed to reach the room temperature, filtered, and washed using distilled water until reach pH 7 for the obtainment of the bleached fibers. These fibers were dried at room temperature and a mass of 7.00 g was obtained.

Nanocomposite preparation

Two different solutions were prepared for the nanocomposite preparation: in Solution I, the dry cellulose extracted previously (3.00 g) was added to 0.72 g of hydrochloride aniline powder monomer in HCl (60 mL, 0.1 mol/L). On the other hand, Solution II was obtained by adding 1.14 g of ammonium persulfate (APS) in HCl (20 mL, 0.1 mol/L). Then, Solution II was added drop-by-drop to Solution I at room temperature. The system remained under constant stirring for 3 h allowing the in-situ polymerization of aniline over cellulose surface. The PANI-ES/Cellulose nanocomposite was vacuum filtered, washed using distilled water and maintained in a desiccator until reach constant weight of 3.19 g.

X-ray diffraction and Rietveld refinement

X-ray diffraction technique (XRD) was performed on a Panalytical Empyrean diffractometer, CuKα (λ = 1.54056 Å), 40 kV and 40 mA, equipped with a Bragg–Brentano HD mirror, 0.02 rad soller slit, 1° ant-scattering slit and 1/4° divergence slit in the incident beam. The X-ray photons were detected with a PIXcel3D-Medipix3, (1 × 1) area detector. Measurements were performed using a Si single crystal sample-holder from 5° to 100° (2θ), step of 0.01313° and 60 s/step. A LaB6 standard NIST (660b) was used to account instrumental effects. Rietveld method (Rietveld 1967) implemented in the GSAS software package (Larson and Von Dreele 2004) was used to refine structural parameters and line widths, following the recommendations of IUCr (Mccusker et al. 1999).

The peak profile analysis was carried out using the modified Thompson–Cox–Hasting pseudo-Voigt profile function (THOMPSON et al. 1987). Chebyschev polynomials were used to fit the background scattering. The relative intensities of the relevant hkl reflections was considered by using spherical harmonics preferential orientation model (ODF) (Larson and Von Dreele 2004; Vitalij K. Pecharsky and Zavalij 2009), allowing the obtainment of the texture index. All atomic displacements were fixed at 0.025 Å2. The FWHM (Γ) is expressed as follows (Larson and Von Dreele 2004):

$${\Gamma } = \sqrt[5]{{{\Gamma }_{{\text{G}}}^{5} + 2.69269{\Gamma }_{{\text{G}}}^{4} {\Gamma }_{{\text{L}}} + 2.42843{\Gamma }_{{\text{G}}}^{3} {\Gamma }_{{\text{L}}}^{2} + 4.47163{\Gamma }_{{\text{G}}}^{2} {\Gamma }_{{\text{L}}}^{3} + 0.07842 {\Gamma }_{{\text{G}}} {\Gamma }_{{\text{L}}}^{4} + {\Gamma }_{{\text{L}}}^{5} }}$$
(1)

where (ΓG) and (ΓL) are Gaussian and Lorentzian parts, respectively:

$${\Gamma }_{{\text{G}}} = \left[ {\left( {U + \left( {1 - \eta } \right)^{2} d_{{{\text{hkl}}}}^{4} {\Gamma }_{{\text{S}}}^{2} \left( {hkl} \right)} \right){\text{tan}}^{2} \theta + V{\text{tan}}\theta + W + \frac{P}{{{\text{cos}}^{2} \theta }}} \right]^{1/2}$$
(2)
$${\Gamma }_{{\text{L}}} = \eta d_{{{\text{hkl}}}}^{2} {\Gamma }_{{\text{S}}} \left( {hkl} \right) {\text{tan}}\theta + \frac{{X + X_{{\text{e}}} {\text{cos}}\phi }}{{{\text{cos}}\theta }}$$
(3)

The parameter η determines the contributions of the Gaussian (η = 0) and Lorentzian (η = 1) broadening. The refinements were achieved with η = 0.75. In the Gaussian part, the parameters V and W are dependent on the instruments. The parameters P and the term \(X + X_{{\text{e}}} {\text{cos}}\phi\) describe the Gaussian and the Lorentzian contributions to size and broadening, respectively. The parameters P and X correspond to the isotropic crystallite-size broadening, while Xe expresses the anisotropic crystallite-size effects. The term ϕ represents the angle between a reflection vector and its respective broadening axis. The isotropic (U) and the anisotropic [ΓS (hkl)] strain parameters express the peak broadening due to strain in the crystal lattice. ΓS (hkl) is a hkl-dependent line broadening function that depends on the crystal symmetry (Stephens 1999).

The Lorentzian (βL) and Gaussian (βG) integral widths of the diffraction simulated line can be calculated by using both Γ and η parameters, which are obtained directly from the Rietveld analysis:

$$\beta_{G} = \frac{{\Gamma }}{2}\sqrt {\frac{{\pi \left( {1 - 0.74417\eta - 0.24781\eta^{2} - 0.00810\eta^{3} } \right)}}{ln2}}$$
(4)

and

$$\beta_{{\text{L}}} = \frac{{\pi {\Gamma }}}{2}\left( {0.72928\eta + 0.19289\eta^{2} + 0.07783\eta^{3} } \right)$$
(5)

Thus, the mean crystallite size D (Å) was calculated by using the Scherrer’s equation considering only the best fitted peak (1 1 0):

$$D_{{\left( {011} \right)}} = \frac{0.91\lambda }{{\beta_{{\text{L}}} cos\theta }}$$
(6)

The microstrain, on the other hand, was calculated using the formula:

$$\varepsilon_{{\left( {011} \right)}} = \beta_{{\text{G}}} /4tan\theta$$
(7)

Fourier-transform Infrared Spectroscopy (FTIR)

FTIR spectrum was recorded using a Shimadzu IR Prestige-21 Spectrometer (TA Instruments) in the region 4000–500 cm−1, resolution of 1 cm−1 and 64 scans. Pellets were prepared using KBr (1:100 w/w).

Thermogravimetric analysis (TG/dTG)

TG/dTG analyses were performed on a DTG-60H equipment using alumina crucibles and mass sample of 11.626 mg (bamboo in-natura), 8.732 mg (extracted cellulose) and 8.396 mg (PANI/Cellulose nanocomposite). The experiment was carried out under N2 atmosphere (flux of 50 mL/min) at a heating rate of 10 °C/min in the range of 25–800 °C.

Scanning electron microscopy (SEM)

SEM experiments were performed on a Carl Zeiss equipment, model Supra 35, using 1.0 kV at 25 °C. Samples were placed on a carbon tape and recovered with a thin gold layer prior to analysis.

Complex impedance spectroscopy (CIS)

A Solartron 1260 impedance analyzer was used for collecting data at room temperature. Disc-shape samples (2.10 mm thickness; 10 mm diameter) were prepared using a hydraulic press (1.5 tons) for 5 min. Measurements were performed at 0.5 V from 10 Hz to 10.0 MHz.

Results and discussion

X-ray diffraction and Rietveld refinement analysis

Figure 1a shows the XRD patterns of the bamboo in-natura, extracted cellulose and PANI-ES/Cellulose nanocomposite. Depending on the inter- and intramolecular interactions, as well as molecular orientations, cellulose can exist as different polymorphs or allomorphs (George and Sabapathi 2015). The diffraction patterns of cellulose in all samples were accurately represented by the triclinic structure of Iα-cellulose, considering that the diffraction peak at 2θ = 16° was composed of two broaden planes, (−1 1 0) and (1 1 0). As all measurements were performed under the same experimental conditions, the differences between the intensities of the XRD patterns were attributed to different crystallinity levels.

Fig. 1
figure 1

XRD patterns of the bamboo in-natura, extracted cellulose and PANI-ES/Cellulose nanocomposite (a) under experimental conditions and (b) normalized

Naturally occurring bulk cellulose consists of highly ordered, crystalline regions coexisting with some disordered (amorphous) regions in varying proportions, depending on its source (George and Sabapathi 2015). A broaden halo around 2θ ~ 10° was observed in the XRD pattern of the bamboo in-natura (indicated by an arrow). This component corresponded to the naturally disordered structure of holocellulose. The XRD pattern of the PANI/Cellulose nanocomposite was considerably less intense, indicating that the polymerization of aniline over the extracted cellulose surface was effective, but resulting in marginal evidence of semi crystallinity.

A more detailed relation between samples can be guaranteed by removing the efficiency on which each sample scatters light due to its own crystallinity. For this reason, all XRD patterns were normalized by the intensity of the most intense peak, which was centered around 2θ ~ 22.4°, as shown in Fig. 1b. Consequently, the cellulose peaks were substantially narrower than those found on the XRD pattern of the bamboo in-natura, indicating that those crystals are larger and more ordered. The peaks of the extracted cellulose were slightly shifted to higher angles, suggesting that its unit cell volume was marginally reduced as a result of internal stress effects (Nishiyama et al. 2003).

Data normalization procedure revealed important details on the diffraction pattern of the PANI-ES/Cellulose nanocomposite: The first observation concerns the angular region 2θ = 25°–33°, which corresponded to the distribution of interatomic distances of PANI-ES. After polymerization, the cellulose peaks were no longer shifted to larger angles, returning to the initial angular position diffracted before extraction, overlapping the peaks of the bamboo in-natura even in width and shape. This result suggests that the cellulose crystals were relaxed, returning to their natural disorder. However, the PANI-ES/Cellulose nanocomposite presented a significant evidence of ordering in the peak at 2θ ~ 34° (indicated by an asterisk): it became relatively more intense and narrower. This evidence may indicate a considerable interaction between PANI-ES and cellulose crystals. The ability of the hydroxyl groups from cellulose to form strong hydrogen bonds is the main reason for some other properties (George and Sabapathi 2015).

A more accurate analysis was performed through Rietveld refinement. Figure 2 shows the Rietveld refinement performed using as initial parameters the crystallographic data from the COD card#4114383 (Crystallography Open Database – COD (Quirós et al. 2018)). The refined parameters are shown in Table 1. The unit cell volume of the extracted cellulose was 4% smaller than the indexed cellulose (initial parameters). This difference may be attributed to several reasons such as crystallite size variations resulting in different compressive forces from crystals and unit cells (Nishiyama et al. 2003).

Fig. 2
figure 2

Rietveld refinement performed using as initial parameters the COD card#4,114,383: a extracted cellulose, b PANI-ES/Cellulose nanocomposite, c bamboo in-natura and d Chebyschev background functions

Table 1 Rietveld refinement results performed for the bamboo in-natura, extracted cellulose, and PANI-ES/Cellulose nanocomposite

The idealized XRD patterns (Lorentzians with FWHM = 0.2°) were calculated using the Mercury software (Macrae et al. 2008) and shown in Fig. 2a–c (in orange). The peak centered at 2θ ~ 16° clearly corresponded to the overlapped planes (0 1 0) and (0 0 1), and the peak centered at 2θ ~ 34° resulted from the overlapping of several peaks. The ODF model was required for preferential orientation adjustments of these peaks: This effect on cellulose is a consequence of typically oriented fibers and can be estimated from the texture coefficient.

The extracted cellulose crystals presented half the value of the texture index of the bamboo in-natura, revealing that the extraction process of cellulose resulted in smaller and better oriented crystals. Furthermore, the in-situ polymerization of aniline over the cellulose fibers promoted a threefold increase in the orientation of the cellulose crystals in the nanocomposite form, increasing the intensity of the planes (0 0 2) and (1 −2 1).

Texture effects in cellulose affected the measurement of crystallinity percentage by the Segal method (Driemeier and Calligaris 2011) since the relative intensity between peaks was modified. Thus, the Rietveld refinement represents a tool to evaluate the background function. Rietveld refinements were performed using the smallest possible Chebyschev polynomials to fit all the non-crystalline details shown in Fig. 2d. Considering the extracted cellulose, a fourth-order polynomial was applied, while for the bamboo in-natura and the PANI-ES/Cellulose nanocomposite a higher-order polynomial was required. Applying the Segal's formula for the background function (Ibckg) and total areas (Itotal), the crystallinity percentage [Xc (%)] was estimated by the following equation:

$$X_{{\text{c}}} \left( {\text{\% }} \right){ } = { }100{ }\left( {I_{{{\text{total}}}} - I_{{{\text{bckg}}}} /I_{{{\text{total}}}} } \right)$$
(8)

The obtained values are shown in Table 1. Atomic displacement and inelastic scattering effects were neglected. However, results were as expected: the extracted cellulose presented substantial crystallinity; the bamboo in-natura presented high holocellulose content, and the PANI-ES phase contributed with more than 60% of the X-ray scattering from the PANI-ES/Cellulose nanocomposite. The microstructural analysis from the peak (0 1 1) corroborated with the interaction between PANI-ES and cellulose as it indicates a high microstrain in all samples, and even larger in the nanocomposite form. On the other hand, the crystals were slightly different from each other although presenting nanometric dimensions.

FTIR analysis

FTIR spectra of the bamboo in-natura, extracted cellulose and PANI-ES/Cellulose nanocomposite are shown in Fig. 3. The spectra of the extracted cellulose and nanocomposite are quite similar. However, the spectrum of the nanocomposite presented red shift of the peaks from cellulose.

Fig. 3
figure 3

FTIR spectra of the bamboo in-natura, extracted cellulose and PANI-ES/Cellulose nanocomposite

Bands related to the –OH vibration were observed in the region from 3750 to 3000 cm−1 (Manzato et al. 2017; Kadivar et al. 2019; Qanytah et al. 2019; Wang et al. 2019a), resulting from the water associated with the hydroxyl groups present the main chain of cellulose in all samples.

The region from 3000 to 2700 cm−1 (Manzato et al. 2017; Kian et al. 2017; Kadivar et al. 2019) comprised the aliphatic C–H stretching from cellulose chains. The main region of interest for lignocellulosic materials ranged from 1800 to 800 cm−1, where the main characteristic bands were identified.

The presence of hemicellulose in the bamboo in-natura was confirmed by the band at 1743 cm−1, resulted from the C = O stretching of acetyl or carboxylic acid groups (Xu et al. 2013; Frone et al. 2017; Oliveira et al. 2017). Lignin bands were found at 1658 cm−1, 1600 cm−1 and 1512 cm−1, which corresponded to the C = C stretching vibrations of aromatic skeletal (Xu et al. 2013; Kian et al. 2017; Qanytah et al. 2019). The bands at 1464 cm−1 and 1425 cm−1 were related to the CH2 bending, as well as CH3 asymmetric deformation in lignin (Xu et al. 2013; Manzato et al. 2017). The band at 1256 cm−1 was assigned to the \({\mathrm{CO}}^{-}\) stretching in phenol-ether bond (Xu et al. 2013), while the bands at 1112 cm−1 and 839 cm−1 were assigned, respectively, to the C–H stretching in syringyl (Xu et al. 2013) and C = C stretching with an alkene functional group in lignin (Qanytah et al. 2019). The presence of cellulose was confirmed by the bands at 1430 cm−1 and 1381 cm−1, which were related to C–H bending vibration and deformation, respectively (Xu et al. 2013; Razalli et al. 2017). The band at 1164 cm−1 represents one of the cellulose main bands and corresponded to the C–O–C pyranose ring skeletal vibration. The band at 1034 cm−1 was related to the C–OH bond in cellulose, and the band at 900 cm−1 is characteristic of β-1,4 glycosidic bonds in its skeletal (Xu et al. 2013; Frone et al. 2017; Kassaye et al. 2017; Kian et al. 2017).

The cellulose extraction process removed significantly the hemicellulose and lignin contents, which was verified by the absence of the bands previously found on the bamboo in-natura spectrum at 1743 cm−1 for hemicellulose, and at 1658 cm−1, 1600 cm−1, 1512 cm−1, 1464 cm−1, 1256 cm−1, and 839 cm−1 (Xu et al. 2013; Frone et al. 2017; Manzato et al. 2017; Kian et al. 2017) for lignin. The removal of hemicellulose and lignin allowed better visualization of the cellulose bands due to the exposure of the cellulose fiber structure, which is very hydrophilic due to the presence of hydroxyl groups. This exposure resulted in superficial and intermolecular water absorption, which were confirmed by the characteristic bands at 1640 cm−1 and 1617 cm−1 (Kian et al. 2017) in the spectra of the extracted cellulose and PANI-ES/Cellulose nanocomposite samples.

Some cellulose bands presented a red shift in the nanocomposite from 1164 cm−1 to 1150 cm−1, and from 900 cm−1 to 879 cm−1 probably due to chemical interaction between PANI-ES and cellulose, as found in other reports (Müller et al. 2011; Razalli et al. 2017) and previously discussed on the XRD results. In contrast to carbohydrates of lower molar mass, the reactions and properties of cellulose are determined by intermolecular interactions, crosslinking reactions, chain lengths, chain length distribution, as well as by the distribution of functional groups on the repeating units and along the polymer chains (Klemm et al. 2005). When the aniline was allowed to polymerize over the carbohydrate surface, a reduction of the intensity of cellulose bands between 1500 cm−1 and 900 cm−1 was observed, including the disappearance of the bands at 1430 cm−1 and 1332 cm−1, both related to the C–H bending and in-plane deformation (Xu et al. 2013; Razalli et al. 2017; Kian et al. 2017). This result may be related to the recovering of the fibers by the conjugated polymer (Müller et al. 2011; Razalli et al. 2017).

Furthermore, the presence of PANI-ES was confirmed by the bands at 1484 cm−1 due the ring stretching vibration of benzenoid rings (Sanches et al. 2014), and at 1246 cm−1 from the C–N stretching of a secondary aromatic amine (Sanches et al. 2015; Ferreira and Sanches 2017). The bands at 822 cm−1 and 789 cm−1 resulted from the N–H+ = structure formed during the protonation and to the 1,4-substituted benzene (Liu et al. 2014; Ferreira and Sanches 2017).

TGA/dTG analyses

TGA/dTG analyses were useful to describe the thermal behavior of the bamboo in-natura, extracted cellulose and PANI-ES/Cellulose nanocomposite, as shown in Figs. 4.

Fig. 4
figure 4

TG/dTG curves of the bamboo in-natura, extracted cellulose and PANI-ES/Cellulose nanocomposite

Fig. 5
figure 5

a Resistivity (ρ) and b ac electrical conductivity (σac) as a function of the frequency for the extracted cellulose, pure PANI-ES and PANI-ES/Cellulose nanocomposite.

Fig. 6
figure 6

a–c SEM images of the bamboo in-natura, df extracted cellulose and gl PANI-ES/Cellulose nanocomposite.

Lignocellulosic materials are mainly composed of hemicellulose, cellulose, and lignin. These materials present specific behaviors, and lignin is the most thermally stable and degrades gradually, while hemicellulose and cellulose have overlapping degradation events due to the similar range of their temperature degradation (Yang et al. 2007).

The bamboo in-natura presented three well-defined thermal events. The first one was observed from 21 °C to 134 °C, and was assigned to the moisture release, representing 9% of mass loss. This thermal event can also be attributed to the release of waxes and resins (Chen and Kuo 2010). The second thermal event was consecutive and represented the start of the hemicellulose degradation, followed by the degradation of cellulose until 335 °C, resulting in 27% of mass loss. The third thermal event was observed from 342 °C to 490 °C, and corresponded to the lignin degradation (Zhang et al. 2015), resulting in 44% of mass loss.

The extracted cellulose presented three well-defined thermal events. The first one was observed from 21 °C to 100 °C and was assigned to the moisture release, resulting in 7% of mass loss. The second and third thermal events were overlapped and started at 265 °C, which was the degradation temperature of hemicellulose. However, the temperature at which started the cellulose degradation was not possible to be defined due to the overlapping of the thermal events. However, the final temperature of cellulose degradation was verified at 355 °C, resulting in a mass loss of 63% (Kabir et al. 2013). The degradation of lignin was verified from 365 °C to 571 °C, resulting in mass loss of 27.3%.

The PANI-ES/Cellulose nanocomposite presented four well-defined thermal events. The first one was verified from 25 °C to 100 °C and was assigned to the moisture release, resulting in 8% of mass loss. The second thermal event at 157 °C presented mass loss of 30% and was attributed to the degradation of hemicellulose as well as to the release of the \({Cl}^{-}\) counterions from PANI-ES. The third thermal event started at 282 °C resulting in mass loss of 17%. The thermal stability of the PANI-ES/Cellulose nanocomposite cellulose revealed to be lower than the extracted cellulose. Some reports have shown an improvement of the thermal stability of cellulose in the form of a nanocomposite, assigning a delaying mass loss effect due to the presence of conducting polymer (Lee et al. 2012; He et al. 2016; Raghunathan et al. 2017). However, once the thermal stability of the samples was evaluated varying the temperature, these expected results mentioned above were not observed. Therefore, the lower stability of the nanocomposite occurs probably due to the presence of the counterion present in the polymer chains which accelerated the degradation process (Feitosa et al. 2021). As observed from the XRD results, a considerable chemical interaction between PANI-ES and cellulose was observed and also may be influenced on the thermal stability of the nanocomposite. The last thermal event was verified from 403 °C to 700 °C and was attributed to the degradation of the remaining lignin, as well as to the total rupture of the polymer chains and carbonized polymer fragments (Wang and Jing 2008; Siaueira et al. 2009; Lou et al. 2016).

Complex impedance spectroscopy analysis (CIS)

Figure 5 shows the electrical response of pure PANI-ES, extracted cellulose and PANI-ES/Cellulose nanocomposite in terms of resistivity (ρ) (Fig. 5a) and ac electrical conductivity (σac) (Fig. 5b) as a function of frequency at room temperature.

The extracted cellulose presented the highest resistivity value at low frequencies (4.78 × 108 Ω.cm), with 5 to 6 orders of magnitude greater than those observed in PANI-ES/Cellulose nanocomposite (9.53 × 103 Ω.cm) and pure PANI-ES (1.17 × 102 Ω.cm). The extracted cellulose presented high frequency dependence, decreasing the resistivity values ​​when the frequency was increased. This behavior is typical of insulating materials (Raja et al. 2004). However, the pure PANI-ES and PANI-ES/Cellulose nanocomposite presented almost constant behavior along the frequency variation. The lowest resistivity value was observed in the pure PANI-ES, as expected (Sanches et al. 2013; Da Silva et al. 2014; Nazari et al. 2015; Wang et al. 2018).

The results of ac conductivity (σac) were similar to those of resistivity in terms of behavior. Pure PANI-ES and PANI-ES/Cellulose nanocomposite presented σac almost constant along the frequency variation, which was accompanied by a dispersion of conductivity when the frequency was increased. The dc conductivity values ​​(σdc) were found around 8.53 × 10–3 S/cm, 1.05 × 10–4 S/cm and 2.10 × 10–9 S/cm for pure PANI-ES, PANI-ES/Cellulose nanocomposite and extracted cellulose, respectively. Deviations were determined below 3%.

The polymerization of aniline over the extracted cellulose surface did not considerably decrease the dc conductivity ​​(σdc), reducing only 1 order of magnitude when compared to the pure PANI-ES. It was expected that the decrease of electrical conductivity would be greater since cellulose is a highly resistive material. However, the fashion at which PANI-ES recovered the cellulose surface (as discussed on the XRD and SEM results), forming a complete film coating the cellulose fibers, may be related to the high electrical conductivity observed in the PANI-ES/Cellulose nanocomposite. This result was also probably due to a possible chemical interaction between cellulose fibers and PANI-ES: cellulose fibers may have acted as a pathway for polymerization, probably orienting the polymer growth on its surface due to the interaction between both phases. For this reason, this recovering may have contributed to facilitate the transport of charge carriers along the fibers, since the polymerization over them may have resulted in better alignment of the polymer chains.

The electrical conductivity values of nanocomposites constituted of polyaniline and cellulose depend on a number of factors, including (i) the degree of polymer doping and the type of dopant acids, (ii) the content of polymer in the nanocomposite, (iii) the methodology of the nanocomposite preparation, as well as (iv) the method used for electrical conductivity measurements (Mo et al. 2009; He et al. 2016). He et al. (He et al. 2016) prepared a nanocomposite based on PANI and cellulose extracted from Phyllostachys nidularia. A conductivity value of 8.6 × 10–5 S/cm was obtained when the content of PANI was 5 wt%. However, when the loading content increased to 30 wt%, the composite conductivity was significantly enhanced to 4.3 × 10–2 S/cm. Clearly, the electrical conductivity of the composite increased accordingly with increased PANI content. Mo et al. (Mo et al. 2009) reported that PANI/Cellulose composites prepared using di-basic acids exhibited more excellent conductivity than the composites prepared using the monobasic acids. Furthermore, both the PANI content and the electrical conductivity increased with an increase of the amount of PANI.

On the other hand, the mechanisms of charge conduction in nanocomposites constituted of PANI and cellulose are still not completely understood, precisely because of the diversity of factors affecting electrical conductivity (Martens et al. 2001; Prigodin and Epstein 2003; Zhou et al. 2004; Leite et al. 2008). It is, nevertheless, widely accepted that in the PANI structure the doped molecules are not uniformly distributed, but rather agglomerated into conducting islands (Jeon et al. 1992; Bianchi et al. 1999). In polymers we refer as metallic grains the crystalline domains of well-packed chains, with delocalized electrons, dispersed in a disordered chain. The chains in the crystalline regions (pure PANI-ES and PANI-ES/Cellulose nanocomposite) should be better aligned, which would increase electron delocalization (Leite et al. 2008). Then, intergrain resonance tunneling occurs across the strongly localized states in the disordered media (Prigodin and Epstein 2003).

Scanning Electron Microscopy (SEM) analysis

The morphology of the bamboo in-natura is shown in Fig. 6a–c. The ground tissue of a bamboo culm consists of parenchyma cells, with embedded vascular bundles composed of metaxylem vessels, sieve tubes with companion cells, and fibers (Liese 1998). Figure 6a–c shows the culm in a longitudinal section. In Fig. 6a, parenchyma cells were observed between fibers bundles. Figure 6b shows the parenchyma cells closed to vascular bundles, probably one of the metaxylem vessel, and Fig. 6c presents the parenchyma cells with remaining few starch granules. The surface roughness can be attributed mainly to lignin, hemicellulose, as well as non-cellulosic materials (Khan et al. 2020).

The extracted cellulose presented micro-sized fibers with highly rough surface, as shown in Fig. 6d–f. However, this morphology was completely different from that observed in the bamboo in-natura, suggesting that hemicellulose and lignin were successfully removed together with some other extractives during the chemical treatments (Deepa et al. 2015). These images revealed several nanofibrils, which may be a result of the dissolution of the plant components during the alkaline treatment and bleaching processes, resulting in the separation of the cellulose filaments presented in the cell wall layers. Each separated fiber revealed a crumpled paper-like morphology (better visualized in Fig. 6f). The fibers of the extracted cellulose presented a range of diameter size. Figure 6d–e shows that some fibers presented diameters from 3 to 13 µm. The distribution of the diameter size was not possible to be estimated due to the high fiber’s overlapping. Furthermore, as highlighted in Fig. 6f, the extracted cellulose fibers can be composed of several nanofibrils.

Figure 6g–l shows the morphology of PANI-ES/Cellulose nanocomposite. Figure 6g–h shows that the cellulose fibers were significantly recovered by PANI-ES, indicating that the polymer acted as reinforcement of the cellulose matrix. Figure 6i revealed cellulose fibers with even smaller diameters (nanofibrils), which were also totally covered. Figure 6i–l shows that PANI-ES presented globular nanostructure of almost spherical shape (Fig. 6l), as well as a tendency of polymerization on the surface of the cellulose fibers, acting as a polymeric film. These polymeric globular nanostructures seem to be connected by polymeric nanofibers, as highlighted in Fig. 6l. These results are also in agreement with the previous analysis of electrical conductivity: the in-situ polymerization of aniline modified the surface of the cellulose fibers, acting as a pathway for polymerization, probably orienting the polymer growth on its surface.

Conclusions

Cellulose from B. vulgaris was successfully extracted through the proposed chemical methodology. The polymerization of aniline on the surface of the extracted cellulose was carried out to obtain a conducting nanocomposite. Considering cellulose as a highly resistive material, the electrical conductivity of the obtained nanocomposite was not considerably reduced. This fact was due to the polymerization mechanism over the cellulose surface: the in-situ oriented-polymerization of aniline in the presence of the extracted cellulose resulted in some interaction between both phases. The microstructural analysis strongly suggested the interaction between PANI-ES and cellulose, indicating high microstrain for all samples, and even larger in the nanocomposite form. SEM images revealed that the fashion at which PANI-ES recovered the cellulose surface may have allowed the transport of charges in the nanocomposite. This behavior becomes important for proposing new technological applications for cellulose-based nanocomposites, since the incorporation of a conjugated polymer can reveal new physicochemical and mechanical properties.