1 Introduction

In recent year, Thailand was considered as one of the largest countries for agricultural production and consumption. The agricultural activities were versatile in various sectors starting from farm to factory. It was typically related to upstream, midstream, and downstream processes. The activities were versatile such as cultivation, postharvest, packaging as well as logistic. The main purpose of activities related to agriculture was to ensure the excellent quality of product from farm to table. In the Thai market, numerous agricultural products were produced from local form such as palm oil, rice, pineapple as well as sugarcane. It can be not only produced for domestic consumption but also be exported to overseas countries. One of the most abundant products was typically related to sugarcane. To the best of the author’s knowledge, it was structurally defined as a perennial gross with a size of 2–4 m [1]. It was commonly considered as a raw material for sugarcane production. It was commonly employed as a food and dessert ingredient. Although sugar effectively provided the benefits in terms of the food science, the process of sugar production was still limited in particular cases such as uncontrollable price, lack of product quality, and insufficient product for consumption. By virtue of these reasons, it significantly provided the difficulty for sugar production. Furthermore, with the exponential growth of the worldwide population and economy, the growth of sugar production was therefore presented as a footprint. The bagasse was continuously occurred in order of magnitude. With a high amount of bagasse, it was therefore provided the difficulty to manage. It exhibited as a residual and waste. The existence of bagasse was thus useless. Without technical knowledge, it was undergone by the combustion process. It was consequently occurred as an environmental pollutant to soil, water, and air. With this regard, it was considered as a hazardous process for the environment. In order to overcome this limitation, the use of bagasse with higher efficiency was considered as one of the most strategies for environmental remediation. From the structural point of view, sugarcane bagasse was mainly composed of cellulose fiber [2]. It was presented as a lignocellulosic fiber with randomly distributed as fibrous network, lignin and other impurities [3]. With this regard, cellulose can be chemically extracted and purified from sugarcane bagasse. Without lignin and impurities, purified cellulose illustrated many outstanding properties such as excellent mechanical properties and high thermal and chemical stability. It can be therefore offered the great promise for various applications including reinforcement part in composite [4], electronic paper/packaging [5], catalyst [6] as well as platform for chemical sensor [7, 8]. Recently, Chopra et al. [9] investigated the extraction process of cellulosic fibers from the natural resources such as rice husks, wood pulp, banana peels, coffee husks, wheat straw, sisal fibers, and bagasse. It was remarkable to note that cellulose fiber exhibited the excellence of biodegradability and non-toxicity. To use cellulose from naturally occurring resource was therefore considered as one of the most attractive strategies for environmental remediation. After that, Sriwong et al. [10] evaluated the fabrication of a bio-based composite prepared from cellulose fiber and hydroxyapatite. Cellulose was successfully extracted from sugarcane bagasse with higher purity and homogeneity. The existence of hydroxyapatite powder was to enhance the proliferation, attachment, and differentiation of preosteoblast cells for tissue engineering. It was considered as an excellent candidate for scaffold material. Up to the present time, research of cellulose extraction process from sugarcane bagasse was therefore encouraged.

To the best of the authors’ knowledge, cellulose was typically considered as a polysaccharide-based material. It was regarded as an organic compound with an empirical formula of (C6H10O5). It was structurally defined as a linear chain of β (1→4) linked D-glucose units [11] with a high level of molecular weight. It was a randomly oriented network. The porosity was therefore created by the repulsive force of hydroxyl groups alongside of its fiber. Moreover, the utilization of cellulose was strongly encouraged due to its eco-friendly purpose. It was typically related to “green policy”. The use of product and process with eco-friendly concept should be preferably supported. One effective route for cellulose utilization was focused on composite development. With the excellent properties of cellulose, it offered the attractiveness for many applications based on composite design. Although polymer-based materials provided the excellent properties in terms of engineering usage, it was still limited due to inferiority of dimensional stability and thermal resistance. The existence of cellulose in a polymer-based matrix can overcome these technical issues. With the presence of cellulose, it was facile to degrade within the controllable timeframe. It was therefore considered as an eco-friendly and sustainable material.

For the design of a cellulose-based polymeric composite, PVA was commonly employed as a hydrogel-based material. It was regarded as a water-soluble synthetic polymer with the formula of [CH2CH(OH)]n. Nevertheless, it was eco-friendly to the environment, but it was limited in particular use such as low thermal and dimensional stability. As a consequence, the use of PVA was still in trouble when long term of usage was involved. Pristine PVA was easy to be dissolved in solution. In order to overcome these obstacles, the development of cellulose and PVA-based composite hydrogel was considered as an alternative strategy. Recently, Sun et al. [12] developed cellulose and PVA-based hydrogel composite. The presence of cellulose nanocrystal can enhance the mechanical strength of hydrogel. Furthermore, it can be activated by an external stimuli responsiveness. Then, Wu et al. [13] fabricated the conductive hydrogels for stress sensors by cellulose and PVA-based hydrogel composite. The role of cellulose can improve the resistance of mechanical fatigue and swelling behavior in composite. Interestingly, the role of cellulose can be used to enhance the mechanical properties of PVA. Fang et al. [14] investigated the influence of cellulose in PVA hydrogel composite. Compressive strength, resilience, and biocompatibility of PVA were therefore elevated. Baniasadi et al. [15] developed a cellulose and PVA gel-based composite. It can be easily shaped by 3D printing technique. It therefore offered numerous advantages for scaffold material. This is in agreement with Lu et al. [16] work. With the existence of cellulose in PVA composite, it can create the three-dimensional network and offer the superiority in mechanical properties.

Up to the present time, although cellulose-based composite significantly offered many engineering benefits, the processing was typically related to chemical reagents. It was therefore provided the difficulty to control the percent yield of the product. Furthermore, the process related to chemical reagents may involve the volatile solvent and by-product. It was subsequently limited due to ease of corrosion, toxicity to air, and difficulty to maintain the purity. It was consequently resulted in the difficulty for large-scale mass production. To overcome this technique issue, the utilization of gamma irradiation technique for cellulose-based composite development was encouraged. This strategy offered the great promise for composite fabrication by creating the free radical throughout the polymeric network. To the best of the authors’ knowledge, the gamma irradiation process used cobalt 60 radiation for a variety of applications, including sterilization, decontamination, and materials modification [17]. With high energy, it can be activated the polymer chain. It can be initiated the crosslinking reaction between the polymer chain and cellulose to form the composite without any chemical reagents. Kaouach et al. [18] studied the role of gamma irradiation for PEO and PVA based binary blend composite. The compound was prepared with well-ordered spherulites and high pore density. It was therefore obtained high percent yield of product. In Thailand, one of the most important industries was referred to “food industry.” The food product, packaging, and sensor were considered as important keys to predict the quality and shelf life. It can create the value to product for domestic consumption and international export. In order to predict the quality of food products, colorimetric sensor was remarkably noted as the most important strategies. It was defined as an analytical technique for the determination of concentration of a chemical compound with the aid of a color reagent. Up to the present time, cellulose derived from sugarcane bagasse-based hydrogel for colorimetric platform has extensively developed.

The objective of this work was to develop cellulose and PVA-based hydrogel composite by gamma irradiation technique. The novelty of this work is to prepare a cellulose-based PVA/PEGDA blend composite by gamma irradiation technique. Cellulose was extracted and purified from sugarcane bagasse by alkali treatment. PEGDA was also integrated for dimensional stability. Various gamma irradiation doses ranging from 10 to 50 kGy were studied. Physico-chemical properties of cellulose-based hydrogel composite were therefore evaluated. After that, the preliminary test as a colorimetric sensor was therefore evaluated.

2 Materials and methods

2.1 Materials and Chemical reagents

Sugarcane bagasse was supplied from a local sugar factory (Thailand). Sodium hydroxide (NaOH; molar mass = 40 g/mol) and acetic acid (CH3COOH; molar mass = 60.05 g/mol) were purchased from Merck Chemical, Co., Ltd. (Germany). Sodium chlorite (NaClO2) was purchased from DC Fine Chemicals, Co., Ltd. (Spain). PVA (Mw = 145,000 Da) was purchased from Fluka Analytical, Co., Ltd. (USA). PEGDA (Mn = 575) was purchased from Sigma-Aldrich, Co., Ltd. (USA). Methyl red (MR) was purchased from Daejung Chemicals & Metals, Co., Ltd. (Korea). Ammonia solution (NH3) was purchased from VWR Chemicals, Co., Ltd. (USA). All of the chemical reagents were used as received without any further purification.

2.2 Methodology

2.2.1 Cellulose extraction and purification from sugarcane bagasse

Cellulose powder was successfully extracted and purified by sugarcane bagasse. It was treated with 0.5 M of NaOH at 80 °C for 4 h in order to remove lignin and hemicellulose. After that, it was washed several times until neutral pH. The solvent was removed by filtration technique. It was operated by a suction flask which is connected to a vacuum pump. Then, it was bleached with 1.3% w/v of NaClO2 and 10% v/v of CH3COOH. The mixture was continuously stirred with DI water and subsequently freeze-dried. It was stored in a desiccator in order to avoid the moisture absorption. Additional information can be found in our previous article [19].

2.2.2 Preparation of cellulose and PVA-based hydrogel composite

To prepare a hydrogel-based composite, the PVA solution and cellulose suspension were mixed. Briefly, 4% w/v of PVA was dissolved into DI water. A total of 4.0% w/v of cellulose suspension was prepared. It was mixed in the weight ratio of 1:1. It was continuously stirred in order to ensure the homogeneity. After that, 0.5% v/v of PEGDA was added in order to form a gel (PVA-cellulose-PEGDA). The sample without PEGDA was also prepared for comparability (PVA-cellulose). Then, it was undergone gamma irradiation technique by using various doses ranging from 10 to 50 kGy.

2.3 Characterization techniques

2.3.1 Fourier transform infrared (FTIR)

FTIR was used to characterize the functional group of samples. The measurement was conducted by using Transmittance Mode. FTIR spectra were obtained in the range of wavenumber from 4000 to 500 cm−1 with a resolution of 2 cm−1 (Invenio ® FTIR spectrometer, Bruker).

2.3.2 X-ray diffraction analysis (XRD)

X-ray diffraction (XRD) was employed to evaluate the crystallinity of the sample. The instrument was conducted under the guidance of Bruker AXS Model D8 Advance, Germany. X-ray diffractometer was set up by using Cu Kα radiations at wavelength 1.54060 Å. The diffraction angle (2θ) was 5–60°.

2.3.3 Thermogravimetric analysis (TGA)

The thermal decomposition behavior was determined by using a thermogravimetric analyzer (TGA55) from TA Instruments (USA). TGA studies were carried out in a nitrogen atmosphere at a flow rate of 60 mL/min. The temperature was set up from 30 to 600 °C with a heating rate of 10 °C/min.

2.3.4 Scanning electron microscope (SEM)

Morphological properties were investigated by scanning electron microscope (JEOL JSM7800F). Before analysis, the sample was sputter-coated with gold in order to enhance the electrical conductivity. The experiment was set up with the accelerating voltage of 2 kV and magnification of 100×.

2.4 Determination of physico-chemical properties of cellulose and PVA-based hydrogel composite

2.4.1 Gel fraction

After irradiation, the samples were cut into four small pieces and air-dried in an oven at 60 °C for 48 h. The dried samples were weighed (Wi), and subsequently, each gel sample was immersed in DI water for 30 min to remove the non-crosslinked PEGDA, followed by lyophilization until a constant weight (Wd). The gel fraction was calculated from Eq. (1):

$$\textrm{Gel}\ \textrm{fraction}\ \left(\%\right)=\left({W}_d/{W}_i\right)\times 100\%$$
(1)

2.4.2 Swelling behavior

To estimate the swelling ratio, a 45 mg dried sample of PVA gels, PVA-PEGDA gels, PVA-cellulose gels, and PVA-cellulose-PEGDA gels was immersed in DI water (20 ml) for 24 h. At different time intervals, the swollen samples were withdrawn and weighed after removing the superficial water using a filter paper. The swelling ratio (SR) was calculated from Eq. (2):

$$\textrm{Swelling}\ \textrm{ratio}\ \left(\%\right)=\left({W}_t\hbox{--} {W}_1\right)/{W}_1\times 100\%$$
(2)

where W1 and Wt represented the weight of the dried sample and the weight of the swollen sample at different time intervals, respectively [20].

2.4.3 Porosity

The porosity of the sample was calculated from Eq. (3):

$$P=\left[\left(\left({W}_1\hbox{--} {W}_2\right)/{\rho}_w\right)\times 100\right]/\left[\left({W}_2/{\rho}_{\textrm{PVA}}\right)+\left(\left({W}_1\hbox{--} {W}_2\right)/{\rho}_w\right)\right]$$
(3)

where W1 and W2 were the weights of the sample before and after drying, respectively. ρW was the density of water (1.0 g/cm3), and ρPVA was the density of PVA (1.19 g/cm3). Additional information of porosity determination equation can be found in the literature of Mahaninia et al. [21].

2.4.4 Mechanical properties

The samples were cylinder-shaped, with a 28 mm diameter and a 10 mm thickness. Compressive strength was done on a universal testing machine (LLOYD) at a crosshead speed of 1 mm/min up and a 50 N load cell equipped with a 50 mm probe. The sulfur compound sensing study used samples with high compressive strength.

2.5 Determination as a colorimetric sensor

2.5.1 Preliminary test as a colorimetric sensor

PVA-cellulose-PEGDA with high-compressive strength hydrogels and suitable gel fractions was prepared as colorimetric sensors It can be synthesized by adding 1.0 mg of methyl red into PVA-cellulose-PEGDA and irradiation at 40 kGy. The morphological properties of PVA-cellulose-PEGDA-methyl red gels were examined by scanning electron microscopy.

Meanwhile, the UV-vis spectrophotometer (SPECORD® 200 PLUS, WinASPECT) was used to measure the wavelengths of the methyl red solutions at pH ranges of 4.0–7.5. In brief, MR was dissolved into the mixture of the solvent of DI water to ethanol (3:1) by a volume ratio of 25 ppm (25 mg/L). Next, the color changes of the MR solutions in response to NH3 were evaluated. In brief, an unsealed centrifuge tube was placed into a glass vial, then 1 mL of NH3 solution (0–1000 ppm) and 5 mL of MR solution, respectively. The glass vial was quickly sealed. The color change of the MR solution was photographed after 30 min with the smartphone.

The PVA-cellulose-PEGDA-methyl red gels were cut into round pieces with a punch plier. After that, the stainless-steel wires were used to suspend the hydrogel in glass vials (20 mL). Followed by the addition of NH3 solution (200 ppm, 3 mL) through a pipette, and then these vials were quickly sealed. Finally, the hydrogel was photographed every minute using a smartphone. Lastly, color picking software (ImageJ) was used to capture the RGB parameters from the central region of the hydrogel, and the response signal versus time was plotted. The formula for calculating the response signal (S)-based RGB parameters is G/R. Here, R0, G0, and B0 were the initial values of the hydrogel indicator, while R, G, and B were the real-time values, and ΔR = |RR0|, ΔG = |GG0|, ΔB = |BB0|. The reference information was from previous research [22].

2.5.2 Application of hydrogels as colorimetric sensors for food spoilage indicator

Fresh durian 350 g was packed in clear rigid polypropylene packaging along with the hydrogels in polyethylene (PE) cups and kept at 35 °C for 7 days, respectively, for the designated period. Fresh durian’s physical and chemical were evaluated at the initial intervals of 0, 3, 5, and 7 days, respectively. More detail was available in the previous research [23]. Thereafter, FTIR analysis was performed to evaluate the effect of volatile sulfur on the hydrogel as a colorimetric sensor. Finally, the software (ImageJ) was used to capture the RGB parameters of the hydrogels that color change over time.

3 Results and discussion

3.1 Characterization of cellulose derived from sugarcane bagasse and PVA hydrogel composite

Figure 1 shows the FTIR spectra of cellulose-based composite hydrogel. The pristine cellulose, PVA gels, and PEGDA were provided for comparison. The FTIR spectra of PVA-cellulose gels and PVA-cellulose-PEGDA gels were presented. It exhibited the similar pattern of characteristic peaks. At the wavenumber of 1728 cm−1, this peak was presented due to C-O stretching. It was typically related to the carbonyl group of PEGDA. Furthermore, the broad region of peak at the wavenumber of 3552–2975 cm−1 was observed. It was corresponded to O-H stretching. It was referred to as the hydroxyl group. It can be assumed that the presence of the hydroxyl group can be induced to hydrogen bonding throughout the hydrogel network. With the presence of hydrogen bonding, it can be activated by irradiation technique. The major portion of the energy was absorbed by water forming free radicals and molecular products [24], which are shown: H2O → •H, •OH, e (aq.), H2O2, H2, H+. A radical with a carbon-centered was created in polymer chains as a result of the radicals OH abstracting hydrogen from the polymer chain. This was typically related to PVA and PEGDA. These carbon-centered radicals on the polymer chain further decay by forming intermolecular crosslinking. It resulted in an increment of molecular weight and forms a three-dimensional network structure [25]. Moreover, it was observed from the intensity range between 3552 and 2975 cm−1 of PVA. The intensity of the peak decreased after the addition of cellulose. It can be suggested that hydrogel containing this functional group was very facile to absorb the molecule of water onto its surface. In the case of pristine cellulose, various characteristic peaks were observed at the wavenumber of 3492–3185 cm−1, 2915 cm−1, 1643 cm−1, 1030 cm−1, and 896 cm−1, and these peaks were corresponded to O-H stretching, C-H stretching, O-H bending, C-O bending, and C-C stretching, respectively. These peaks were belonged to the stretching of β-(1–4)-glycosidic linkages. This was considered as monomer unit of cellulose. This was consistent with previous literatures [26, 27]. In the case of PVA gels, the peaks of 3422–3095 cm−1, 1070 cm−1, and 2919 cm−1 were observed due to the existence of O-H stretching and symmetric and asymmetric stretching of C-H, respectively. The peak at 1628 cm−1 was related to an acetyl group (C=O). A bending vibration related to CH2 groups was observed in the region of 1454–1425 cm−1 [28, 29]. In the case of PEGDA, the characteristic peaks at 2875 cm−1, 1728 cm−1, 1639 cm−1, and 1091 cm−1 were observed. These peaks were assigned to C-H stretching, C=O stretching, C=C stretching, and C-O stretching, respectively. These peaks were similar to previous literature [30].

Fig. 1
figure 1

FTIR spectra of cellulose-based composite hydrogel (a) cellulose, (b) PVA gels, (c) PEGDA, (d) PVA-PEGDA gels, (e) PVA-cellulose gels, and (f) PVA-cellulose-PEGDA gels

As shown in Fig. 2, X-ray diffraction was employed to investigate the crystallinity of cellulose-based composite hydrogel. The pristine cellulose, PVA, PEGDA, and PVA-PEGDA gels were provided for comparison. The characteristic peak of composite hydrogel was similar to pristine PVA and cellulose. No evidence of a PEGDA peak can be observed. It can be indicated that PVA and cellulose were the majority part of the composite. PEGDA as a minority part was integrated into PVA. In the case of composite hydrogel, the peaks were presented at the diffraction angle of 19.36°, 23.04°, and 40.78°. These peaks exhibited the similar level of intensity compared to pristine PVA. These peaks were relatively indexed to diffraction plane of (110), (200), and (220), respectively, as reported in previous literature [31]. However, the peaks belonging to PEGDA exhibited low intensities. It can be implied that PEGDA presented less percent of crystallinity. This was in contrast to cellulose. The diffraction peaks at 2θ of 15.64°, 22.06°, and 26.81° were presented. These peaks were corresponded to diffraction plane of (110), (200), and (004), respectively. This result was in agreement with previous articles [32, 33]. The presence of the (200) and (004) diffraction planes in the cellulose-based composite hydrogels corresponded to hydrogen bonding via irradiation [24, 25]. Therefore, irradiation was an optimal technique to form cellulose-based composite hydrogels, which reduced production processes such as freeze-drying. This was in agreement with the previous article of Chen et al. [34].

Fig. 2
figure 2

XRD of cellulose-based composite hydrogel (a) cellulose, (b) PVA gels, (c) PEGDA, (d) PVA-PEGDA gels, (e) PVA-cellulose gels, and (f) PVA-cellulose-PEGDA gels

In order to define the thermal stability of cellulose-based composite hydrogel, TGA was employed. Figure 3 illustrates the thermal decomposition behavior of composite. It can be categorized that based on the temperature range, thermal decomposition behavior can be classified into three distinct regions. From ambient temperature to 250 °C, only 10% of weight loss was observed. Composite was thermally stable within this temperature range. A small amount of weight loss may typically refer to evaporation of water. After that, within the temperature region of 250–450 °C, broad region of weight loss was determined. This was probably due to the fact that cellulose-based composite hydrogel is composed of organic molecule. It was combusted and changed to volatile gas such as CO2. However, it can be observed that with the presence of cellulose, the characteristic curve was slightly shifted to higher based on the applied external heat. The role of cellulose was significantly provided the superiority of thermal resistance. This result was in agreement with previous literatures [35, 36]. Cellulose can create both intra and intermolecular hydrogen bonds throughout the hydrogel network through irradiation [24, 25, 37]. Furthermore, with the existence of PEGDA, the weight loss was very low. It can be implied that PEGDA offered high thermal stability. Then, when the temperature was superior to 450 °C, weight loss was constant. The thermal degradation was terminated. The rest of weight loss was typically involved to char and residual.

Fig. 3
figure 3

TGA of cellulose-based composite hydrogel (a) cellulose, (b) PVA gels, (c) PEGDA, (d) PVA-PEGDA gels, (e) PVA-cellulose gels, and (f) PVA-cellulose-PEGDA gels

After that, microstructural properties were investigated by scanning electron microscope technique. Figure 4 reports the morphological properties of the cellulose-based composite hydrogel. The sample was prepared by freeze-dry technique in order to remove the presence of water. The presence of cellulose was indicated as a red arrow. It was surrounded by polymer matrix. The neat PVA and PVA/PEGDA binary blend were provided for comparison. It exhibited as a porous structure throughout the hydrogel network. The pore was presented as an interconnected pore with air-instituted in between. This was probably due to the fact that the water is sublimated. With the existence of cellulose, the size of the pore was less (126.4 μm). It can be discussed that the role of cellulose can effectively form the hydrogen bonding with both of PVA and PEGDA. It was typically referred to the fact that •OH radicals generated during irradiation reacted to form a three-dimensional network structure [24, 25]. It may significantly offer the benefit for dimensional stability such as swelling behavior [38] and compressive strength [39].

Fig. 4
figure 4

SEM of cellulose-based composite hydrogel a PVA gels, b PVA-cellulose gels, c PVA-PEGDA gels, and d PVA-cellulose-PEGDA gels

After that, in order to employ cellulose-based hydrogel composite as a platform for chemical sensor, the physico-chemical properties of the composite were therefore evaluated. Figure 5 reports the gel fraction and porosity of cellulose-based hydrogel composite. From the fundamental point of view, the hydrogel samples were divided into two parts consisting of water and gel content. For the PVA gels, PVA-PEGDA gels, PVA-cellulose gels, and PVA-cellulose-PEGDA gels, it was noted that the gel fraction increased with radiation dosage (see Fig. 5A). It slightly increased from 10 to 20 kGy, and then it presented as a plateau. It was noted that during exposure to gamma rays, free radicals were formed. It was subsequently provided the effect to both PVA and cellulose. They were cross-linked and polymerized in between [24, 25]. It was also reported that the gel fraction was influenced by the PEGDA. It was commonly known that PEGDA was considered as a water-soluble prepolymer. It can be induced to be crosslinked when gamma irradiation was applied during suspension form [40]. Therefore, the gel fraction therefore increased when PEGDA was added to the hydrogel [41]. The swelling behavior of cellulose-based composite hydrogel is shown in Fig. 5B. The swelling behavior was relatively high when a low gamma irradiation dose was employed. The trend of this behavior was low with respect to high dose. This was probably due to the fact that a high irradiation dose may induce to occur the crosslinking reaction in between hydrogel composite network, suggesting that high dimensional stability was obtained. As shown in Fig. 5C, the porosity of the PVA gels, PVA-PEGDA gels, PVA-cellulose gels, and PVA-cellulose-PEGDA gels were plotted as a function of the radiation dose. The porosity for all hydrogels decreased as radiation exposure increased. As a result of the mechanism of the crosslinking of polysaccharide derivatives in water, transient reactive species, including hydrated electrons (e aq), hydrogen atoms (•H), and hydroxyl radicals (•OH), were formed during the radiolysis of water [42]. This increased the interaction with hydroxyl radicals (•OH) to form crosslinks of hydrogels, resulting in smaller pore size. In addition, PEGDA also contributed to the pore size decrease. Due to PEGDA’s interactions with the hydroxyl radical (•OH) of the PVA and cellulose chains, the three-dimensional network structure was produced [43]. This was consistent with the SEM images shown in Fig. 4.

Fig. 5
figure 5

A Gel fraction, B swelling behavior, and C porosity of (i) PVA gels, (ii) PVA-PEGDA gels, (iii) PVA-cellulose gels, and (iv) PVA-cellulose-PEGDA gels

The compressive strengths of PVA gels, PVA-PEGDA gels, PVA-cellulose gels, and PVA-cellulose-PEGDA gels are shown in Table 1. The investigation was conducted based on various gamma irradiation doses. The compressive strength for all hydrogels is typically presented in the similar level. It was observed that the compressive strength of hydrogel depends on cellulose. With the presence of cellulose, it was subsequently high. Also, it depended on the gamma irradiation dose. The role of gamma ray resulted in hydroxyl radicals’ formation. It can be reacted with cellulose and PVA in order to form a hydrogel network. Therefore, when low gamma irradiation dose was employed, the compressive strength was relatively inferior.

Table 1 Compressive strength (MPa) of cellulose-based composite hydrogel PVA gels, PVA-PEGDA gels, PVA-cellulose gels, and PVA-cellulose-PEGDA gels

3.2 Preliminary test of hydrogel as a colorimetric sensor

In order to test the hydrogel composite as a platform for colorimetric sensor, MR was integrated into hydrogel as a color agent. Figure 6 reports the FTIR spectra and SEM microstructure of the hydrogel composite with the presence of MR. The peak pattern of FTIR is typically presented in the similar feature. This was probably due to the similarity of the functional group compared to hydrogel. The characteristic peak at a wavenumber of 3400 cm−1 was observed. This was attributed to O-H stretching. The peaks at 2800 cm−1 and 1700 cm−1 were presented due to C-H stretching and C-C stretching, respectively. Furthermore, the peak at a wavenumber of 1200 cm−1 was existed. This peak was corresponded to C-O stretching. Furthermore, in the case of MR, low intensity of peak at 1526 cm−1 was presented. This was typically referred to as N-N stretching. This was in agreement with a small amount of MR [44]. In the case of SEM microstructure, the morphological properties were typically presented in the similar feature. The presence of MR was inserted into the porous network of hydrogel.

Fig. 6
figure 6

A FTIR spectra and B SEM microstructure of (i) PVA-cellulose-PEGDA gels and (ii) PVA-cellulose-PEGDA-MR gels

In order to evaluate the role of methyl red as a color agent, UV-vis spectroscopy was employed. Figure 7 presents the photo-image of MR solution based on various pH ranges (Fig. 7A) and concentrations of NH3 (Fig. 7C). The red color was presented in the acidic region and at low concentration, while the yellow color was presented in the basic region and at high concentration. Furthermore, based on the wavelength of absorbance, the characteristic peaks were presented at 430 nm and 528 nm. The intensity of the peak typically exhibited a similar trend as the photo-image. These peaks referred to yellow and red color, respectively. The change of color was reported due to the presence of OH- concentration. This ion was considered as a strong nucleophile [45]. The existence of OH- ion reacted to the reactive site of methyl red, forming a basic form of COO groups (In). The yellow color was therefore observed. Furthermore, on the other hand, with the increment of NH3 concentration, the color was changed from red to yellow. The characteristic peaks of 425 nm and 525 nm were observed due to yellow and red color, respectively. Because NH3 was dissolved in the water, ammonium ions (NH4+) and hydroxide ions (OH) were formed. As the OH ions concentration of the system increased, it can be formed COO groups in the MR.

Fig. 7
figure 7

A, C Color changes and B, D UV absorption spectra of the MR indicator solution for various pH values and NH3 for various concentrations values

The color parameters from the ImageJ software were calculated into G/R signals to determine the color changes at various response times (Fig. 8A). At the initial stage, the color of the hydrogel composite was red within 30 s, then it turned to yellow after 8 min. The change of color was typically related to G/R as reported in Fig. 8B. The brightness and yellowness of the hydrogel were indicated by an increasing G/R value [22]. With respect to the increment of time, the color was therefore significantly changed. This was probably due to the fact that hydrogel contained a high amount of water molecule in its structure. The role of water molecule can induce to attach NH3 to NH4+ ion and OH- ion [46]. Then, the basic formed (In) of MR may occur. The color of hydrogel was consequently changed to yellow.

Fig. 8
figure 8

A Color changes of the hydrogel indicator when exposed to ammonia vapor (NH3) and B change in response signal (G/R) versus time of composite hydrogel

In order to utilize the hydrogel composite as a platform for colorimetric sensor, the demonstration of durian was therefore tested. Figure 9 presents the change of hydrogel color with respect to investigation time. Similar to Fig. 8, the color of hydrogel was red at the initial stage, and then it turned to yellow when the increment of time was provided. It can be therefore implied to predict the ripening of durian. This was also associated with the G/R signal as reported in Fig. 9B. From the fundamental point of view, the volatile gas from durian contained sulfur compound. [47, 48]. This gas can be induced to the metabolic acceleration. The color change of the hydrogel was due to the interaction between methyl red and volatile sulfur compounds. This led to MR in the form of a COO, which was followed: C15H15N3O2 + C4H10S2 → C15H14N3O2 + C4H11S2+. The color of the hydrogel was then changed to yellow. The preliminary test with durian was therefore noted that hydrogel composite prepared by gamma irradiation technique can be successfully employed as a platform for colorimetric sensor. Then, it will be provided the great promise that cellulose and PVA-based composite for sensor will be degraded along with durian shell.

Fig. 9
figure 9

A Color changes and B change in response signal (G/R) versus time of (i) PVA-cellulose-PEGDA-MR gels during fresh durian storage at 35 °C

4 Conclusion

Cellulose was successfully extracted from sugarcane bagasse using an alkali treatment and bleaching. The suspension was stirred with NaOH and NaClO2, respectively. Purified cellulose and PVA-based hydrogel composite were prepared with the weight ratio of 1:1. PEDGA was integrated to facilitate the gel formation. It can be employed as a reinforcement part in composite by gamma irradiation. The irradiation doses were set to be 10–50 kGy. The presence of cellulose did not provide the change of the functional group and crystallinity of the composite. The existence of C-H stretching, O-H stretching, and C=O stretching was observed. These functional groups were belonged to cellulose-based PVA hydrogel composite. The characteristic peaks of the XRD pattern were similar to pristine matrix, suggesting that cellulose was embedded into the matrix network. The role of cellulose significantly offered the superiority of thermal resistance and compressive strength to polymer matrix. It was thermally stable at 200 °C. The compressive strength was in the range of 10–20 MPa. A total of 85–90% of gel fraction, 100–300% of swelling behavior, and 95–97% of porosity were slightly observed. At low irradiation dose, gel fraction was low, while swelling behavior and porosity were relatively high. The role of gamma irradiation can be induced to form the reaction between cellulose and polymer matrix. It can create the •OH radicals to form a three-dimensional network structure. After that, hydrogel composite significantly provided the ability to be employed as a platform for colorimetric sensor. MR was used as dye to react with volatile gas. The characteristic peaks of 425 nm and 525 nm were observed due to yellow and red color, respectively. The color can be changed with respect to time. It was remarkably noted that cellulose and PVA hydrogel composite will be provided the great promise for colorimetric sensor and offered the degradability along with durian shell in the near future.