Introduction

Intelligent packaging has witnessed significant growth due to newly developed products and their packaging requirements along with consumer preferences over the past decade. Intelligent packaging is defined as a packaging that contains internal or external indicators to provide information about aspects of the history of the package and/or the quality of the food [57]. According to the European Commission (EC/450/2009), intelligent materials and articles are those that monitor the condition of packaged food or the environment surrounding the food. Intelligent packaging market was worth $1400 million in 2008 and is expected to touch the figures of $5300 million in 2017 [8, 54]. Intelligent packaging systems are classified into three categories, namely, sensors, indicators, and radio frequency identification (RFID) systems [9]. Among all these intelligent systems, colorimetric sensors relying on low cost dyes are popular. These sensors indicate the history or quality of the product based on the visual colour change, which can be easily detected by all the stakeholders in the supply chain. With the focal point being shifted to consumer convenience, quality indicators can indicate the quality of the food at the point of sale to consumers.

Oxygen is the major cause of food spoilage, leading to respiration, oxidation of lipids and micronutrients, aerobic microbial growth and objectionable changes in colour, flavour, and odour. Therefore, several food products are subjected to modified atmosphere packaging (MAP) with reduced oxygen in the headspace to increase the shelf life [57] by about 3–4 times as compared to those packaged with atmospheric air [10, 34]. However, MAP dairy products such as Cheddar cheese (N2:CO2 70:30) [47], Fiordilatte cheese (N2:CO2 50:50) [38], Graviera Agraphon cheese (N2:CO2 50:50) [18], paneer (N2:CO2 50:50) [64], lal peda (N2:CO2 70:30) [28], dietetic rabri (100% N2) [22] and Kalakand (N2:CO2 50:50) [27], MAP bakery products such as bread (N2:CO2 90:10) [24] (N2:CO2 70:30) [45] and MAP cooked chicken patties (N2:CO2 70:30) [62], raw, and cooked beef (N2:CO2 60:40) [61] do not contain oxygen in the headspace. Studies have reported that the residual oxygen content of MAP food products such as cooked chicken patties [62], raw and cooked beef [61], and cheese [47] slightly increases during storage. The changes in the headspace oxygen concentration during storage could be either due to the loss of seal integrity, presence of pinholes, or oxygen permeability of the packaging material, leading to ingress of oxygen. This may affect the product quality in terms of microbial growth and reduced shelf life.

Although oxygen sensors have been developed based on the several mechanisms (fluorescence, conductance, and luminescence), such sensors are costly, require trained manpower to operate, lack portability [53], and are unsuitable for food-packaging applications. The colorimetric oxygen sensors could be efficiently used as the simplest package integrity indicator providing information about the opening of the package or ingress of oxygen or inefficient atmosphere modification around the product in MAP systems. Among all types of product quality indicators, the colorimetric oxygen indicators are the most commonly used ones with MAP food products [68], which comprise of a redox dye, a reducing agent, a photo-catalyst, and an encapsulating polymer [40].

For producers to deliver high-quality MAP dairy products with proper indication of its quality at the point of sale, there is a need for a sensor, which can detect oxygen. However, the dye-based oxygen sensors available in the market are lacking biopolymer-based encapsulating agent for binding the components of the sensor so as to be compatible with dairy and food products. Limited studies have been conducted in this area but characterization of such oxygen sensors have not been studied in detail. Hence, the aim of the present study is to develop biopolymer-based oxygen leak indicator and characterization of such sensors for potential food-packaging applications.

Materials and Methods

Preparation of Biopolymer-Based Sensor Films

In the present study, three different biopolymers such as sodium caseinate (90% on db, M/s Mahaan Proteins Ltd., Kosi Kalan, Mathura, India), sodium alginate (M/s Sigma-Aldrich, St. Louis, USA), and kappa carrageenan (M/s Sigma-Aldrich, St. Louis, USA) were used. The sodium caseinate (SC-MB-RSS), sodium alginate (SA-MB-NR), and carrageenan (CG-MB) based films were prepared as per the methods given by Kristo [31], Tavassoli-Kafrani and co-workers [63] and Cha and co-workers [11], respectively, with some minor modifications. Based on some preliminary trials, the levels of methylene blue (MB), resazurin sodium salt (RSS), neutral red (NR), titanium dioxide, and glycerol used in the study have been decided. The details of the formulation are given in Table 1. The aqueous solutions of the respective biopolymers were prepared by dissolving the selected quantities of biopolymer (Table 1) in distilled water to which glycerol and titanium dioxide were added. Later, the respective selected dyes were mixed with the polymer solutions. The prepared solutions were continuously stirred (600 rpm) using a magnetic stirrer (Digital Spinot, M/s Tarsons Pvt. Ltd.) for complete hydration and dissolution, followed by casting and drying at 35–40 °C for 6–8 h. SC-MB-RSS and SA-MB-NR solutions were mixed at 35 °C for 1–2 h and 4–5 h, respectively, while CG-MB solution was mixed at 75–80 °C for 30 min. The foam generated during mixing was siphoned off before casting the film solutions.

Table 1 Components used for biopolymer-based sensor film fabrication

Mechanical and Spectral Properties

Mechanical properties, namely, thickness, tensile strength, and percent elongation at break of all the three sensor films, were determined. Thicknesses of sensor films were determined using a digital micrometer (M/s Engineering Corporation, Saharanpur, Uttar Pradesh). Thickness of each sample was measured at 20 random positions across the film (10 × 10 cm2) and the mean value was calculated and expressed in microns. The tensile strength and elongation at break of the films were measured using a Texture Analyzer (TA.XT2i, M/s Stable Micro System, UK), fitted with 25 kg load cell, according to ASTM standard method D882 [4]. Before testing, all samples were equilibrated at 50 ± 2% relative humidity and 37 °C for 2 days. Prior to the test, film samples were cut into rectangular strips with dimension of 2.54 cm × 10 cm. The initial grip separation was set at 50 mm and crosshead speed at 2 mm/s. The test was repeated with ten sensor film specimens. Tensile strength and elongation at break of the sensor film were calculated as follows:

$${\text{Tensile}}\;{\text{strength }}\left( {\text{MPa}} \right) \, = \frac{{{\text{Load}}\;{\text{at}}\;{\text{break}}\;({\text{N}})}}{{{\text{Original width}}\; \left( {\text{mm}} \right) \times {\text{Original}}\;{\text{thickness}}\;({\text{mm}})}}$$
(1)
$${\text{Elongation}}\;{\text{at}}\;{\text{break }}\left( \% \right) \, = \frac{{{\text{Elongation}}\;{\text{at}}\;{\text{rupture}}\;({\text{mm}})}}{{{\text{Initial}}\;{\text{gauge}}\;{\text{length}}\;({\text{mm}})}} \times 100.$$
(2)

Puncture strength was determined using the texture analyzer (TA.XT2i) and expressed in Newton (N). The Fourier transform infrared spectroscopy (FTIR) spectrum of the developed sensor film was recorded using a spectrophotometer (Model: IRAffinity-1 CE, Make: Shimadzu, Japan). The film was mounted directly in the sample holder and spectra of the films were recorded at room temperature over a wave numbers ranged from 400 to 4000 cm−1 with a resolution of 4 cm−1 and averaged over 30 scans.

Overall Migration into Food Simulants

Overall or global migration from the developed sensor films was determined according to the Bureau of Indian Standards [26] specifications. Five different food simulants such as distilled water, acetic acid (3%, w/v), ethanol (10% v/v and 50% v/v), and n-heptane were used. Sensor film sample of 50 cm2 (5 cm × 5 cm × 2 sides) surface area was exposed to the simulant on both sides. Three replicates and one blank for each type of simulant were considered. Cylindrical bottles of 100 mL capacity were filled with the required quantity of preheated simulants at the test temperature (38 °C for n-heptane and 40 °C for rest of the simulants). Test specimens were immersed in the simulant completely and covered with threaded screw caps. These samples were then placed in a BOD incubator at the prescribed temperature for the prescribed length of time, namely, 38 °C/30 min for n-heptane and 40 °C/10 days for rest of the simulants. At the end of the test period, samples were removed with the help of a glass rod and washed with small quantity of fresh simulant and combined with the extractants. The extracted simulants were concentrated to 5–6 mL, by evaporating on a hot plate under low heat (n-heptane was concentrated by distillation). These concentrates were transferred into clean-tarred stainless steel dishes along with three washings with small amount of fresh simulant and further evaporated to dryness in an oven maintained at 100 ± 5 °C. After evaporation, these dishes were cooled in a desiccator for 30 min and weighed to nearest 0.1 mg until constant weight of the residue was obtained. The extractive was calculated and expressed in mg/dm2 using Eq. (3). Blanks were carried out without the samples. Heptane extractive values were divided by factor of five for arriving at the extractivity of a food product as given in BIS specifications. The migration of MB dye from all the sensor films into distilled water was determined by measuring the absorbance at λmax at 661 nm [42]:

$${\text{Amount}}\;{\text{of}}\;{\text{extractive}}\;\left( {\text{Ex}} \right) \, = \frac{M}{A} \times 100\;{\text{mg/dm}}^{ 2}$$
(3)

where M = mass of residue in “mg” minus blank value and A = total surface area in “cm2” exposed in each replicate.

Water Sorption Behaviour and its Modeling

The moisture sorption isotherms of the sensor films were determined by the static method at 25 °C as per the method given by Panjagari and co-workers [48]. Ten sorption apparatus (sorbostats) with saturated salt solutions such as LiCl, CH3COOK, MgCl2, K2CO3, Mg(NO3)2, NaNO3, NaCl, KCl, and KNO3 were prepared, with the water activity of 0.114, 0.237, 0.328, 0.443, 0.536, 0.658, 0.761, 0.855, and 0.923, respectively. Sorbostats were allowed to equilibrate for 7 days before samples were placed into them. The film samples were cut (1 cm × 1 cm) and stored in a desiccator containing phosphorous pentoxide for 2 days at 25 °C. Weighed quantity of dried film samples (200–300 mg) was taken into tared sample beakers and then transferred to the sorbostats. The film samples were weighed at 2-day interval until there was no discernable weight change after attaining equilibrium. The study was repeated with triplicate samples and expressed as equilibrium moisture content (EMC) (g water/100 g solids). The EMCs were plotted against relative humidity to establish moisture sorption isotherms and four different models (Table 2) were used to describe the sorption behaviour. The constants of the sorption models were estimated using nonlinear regression function of OriginPro 8 software.

Table 2 Moisture sorption models used for fitting experimental data

Loading of Sensor Tags on MAP Trays for O2 Sensitivity

The developed sensor films were tested for their sensitivity towards different concentrations of oxygen (1–10%) for which the sensor films were cut into small tags of 1 × 1 cm2 and affixed on the sealant high barrier plastic film from inside of the MAP trays. Polystyrene (PS) trays (LWH, 203 × 146 × 60 mm; thickness: 500 μ) procured from M/s Elixir Technologies, Bengaluru, India were used for this purpose. Ethylene vinyl alcohol (EVOH) films procured form M/s Alpha Packaging Pvt. Ltd., New Delhi, India were used for sealing the trays. The thickness, water vapour transmission rate (WVTR), and oxygen transmission rate (OTR) of EVOH films were 110 μ, 7.89 g/m2 day (38 °C, 90% RH), and 0.035 mL/m2 day (23 °C, 0% RH), respectively. For determining the sensitivity of the sensor films, MAP tray-sealing machine (Vac-Star, S220 SP) procured from Elixir Technologies, Bengaluru, India was used which has a PLC-based programming system. The tray-sealing chamber was first evacuated and flushed with desired gas composition (N2: 90–99%; O2: 1–10%). The nitrogen and oxygen cylinders were procured from local market and used for mixing of gases in a gas-mixing device (Mix 9001 ME) attached with the system. The headspace gas composition inside the MAP trays after the operation was determined using a headspace analyser purchased from PBI Dansensor (CheckMate 9900), Denmark.

UV Activation and Colour Vision System

A wooden cabinet (46 × 43 × 50 cm) fitted with two short wave UV lights (30 cm long, 254 nm, Make: Philips, TUV 16W, G16 T5) separated at a distance of 18 cm on the inner top side along with LED wall light (fixed at a height of 33 cm) was fabricated and used as UV treatment chamber for photoactivation of the sensor films. Distance between the sensor film and UV tubes was maintained at 15 cm. Digital camera lens axis and the lightning source were fixed at an angle of 45°, because the phenomenon of diffuse reflection responsible for the colour occurs at 45° from the incident light [20]. LED wall light (Philips™, 137 × 239 × 37 mm; 10 W) was used as the light source (cool white light 6500 K; light flux of 500 lm) with good colour rendering index (CRI) or colour accuracy of 80. The image of the sensor film was captured by digital camera (Model-EOS 450D, Canon) with a resolution of 4272 × 2848, which is equivalent to 12.2 megapixel. All the three stages of sensor film, namely, original (non-UV treated), UV treated, and recovered (films exposed to ambient oxygen for regaining of colour) images, were acquired and transferred to a computer system for further analysis. The quantitative colour values of the acquired images were determined using Adobe Photoshop CS6 Extended software (version 6.2). The software displays colour values in several formats (Lab, RGB and CMYK) in the info palette and histogram window. Since CIE (L*, a*, and b*) values are device independent and cover a larger gamut than RGB and CMYK [58], the acquired images colour values were converted to standard colour (L*, a* and b*) values using the following formulas [32]:

$$L^{*} = \frac{L}{255} \times 100$$
(4)
$$a^{*} = \frac{240a - 120 }{510} \times 100$$
(5)
$$b^{*} = \frac{240b - 120 }{510} \times 100.$$
(6)

Statistical Analysis

The goodness of fit of different sorption models was determined by multiple statistical criteria such as coefficient of determination (R2), reduced Chi square (χ2), percent mean deviation error (P), and root mean square error percent (RMS%) using Eqs. (710) given below. The data obtained the study were subjected to one-way ANOVA using SAS Enterprise Guide (version 4.3) (Cary, NC, USA):

$$R^{2} = \frac{{\sum\nolimits_{i = 1}^{n} {\left( {M_{\text{pre}} - \bar{M}} \right)^{2} } }}{{\sum\nolimits_{i = 1}^{n} {\left( {M_{ \exp } - \bar{M}} \right)^{2} } }}$$
(7)
$$\chi^{2} = \frac{1}{N - n}\mathop \sum \limits_{i = 1}^{N} \left( {M_{\exp } - M_{\text{pre}} } \right)^{2}$$
(8)
$$P = \frac{100}{n}\mathop \sum \limits_{i = 1}^{n} \left| {\frac{{M_{i \exp } - M_{i pre} }}{{M_{i \exp } }}} \right|$$
(9)
$${\text{RMS}}\% = \sqrt {\frac{1}{n}\left[ {\mathop \sum \limits_{1}^{n} \left( {\frac{{M_{\exp } - M_{\text{pre}} }}{{M_{\exp } }}} \right)^{2} } \right]} \times 100$$
(10)

Results and Discussion

Mechanical Properties

The mechanical properties of the developed films in terms of tensile strength, percent elongation, puncture resistance, and thickness are presented in Table 3. The carrageenan-based sensor film was having the lowest thickness and highest tensile strength, while the highest elongation at break was observed for SC-MB-RSS. All the three films were very sticky which could be attributed to the presence of higher amount of glycerol [59]. However, SA-MB-NR and SC-MB-RSS sensor films were observed to be smooth and shiny, while the CG-MB was rough. Roughness of the carrageenan-based sensor could be due to formation of a gel solution on mixing all the ingredients. Sodium alginate sensor film was observed to have a thickness of 149 ± 0.01 µm, while tensile strength was 0.56 ± 0.09 MPa, elongation at break was 0.34 ± 0.09%, and puncture strength was 0.93 ± 0.34 N. All the mechanical properties were observed to be very low except for thickness, which was on the higher side when compared with other films having only sodium alginate and glycerol as main component [55]. The higher thickness could be due to more volume of solution used for casting. The lower values of tensile strength and elongation at break could be due to poor interaction between the various components of the sensor film. Rhim [55] found that the thickness, tensile strength, and elongation at break of sodium alginate-based biodegradable film were 62.9 µm, 33.6 MPa, and 14.0%, respectively. Films prepared by mixing sodium alginate (1.25%) with calcium chloride (1%) and glycerol as plasticizer (50% w/w of polysaccharide) were having a thickness of 12.5 µm, tensile strength 35.0 MPa and elongation at break 8.6%. It was reported that when sodium alginate was mixed with pectin, an increase in tensile strength and elongation at break values was obtained due to better compatibility and stronger chemical interaction between different film components. Sodium alginate–gelatin [67] and alginate and k-carrageenan films [49] were having higher elongation at break owing to stronger interaction between the components of the film. The films prepared by dissolving 1% carrageenan in distilled water and using glycerol (50% w/w of carrageenan) as plasticizer were having the thickness of 31.33 ± 1.15 µm, while the tensile strength and elongation at break were 26.29 ± 2.93 MPa, 36.46 ± 1.04% respectively [59]. It was reported that higher concentration of glycerol led to sticky and wet films. Rhim [56] reported that the thickness, tensile strength, and elongation at break of carrageenan-based biodegradable film were 58.2 µm, 82.9 MPa, and 4.52%, respectively. The sodium caseinate-based sensor film (SC-MB-RSS) was observed to follow similar trend in the mechanical properties with very low tensile strength, elongation at break, puncture strength, and high thickness. Pereda and co-workers [52] reported a decrease in elastic modulus of caseinate films from 2908 to 250.9 MPa and increase in ultimate elongation from 4 to 63.2% on addition of 28% wt (per cent) of glycerol. The plasticization effect of glycerol was found to be the possible reason for this behaviour. Glycerol reduced the viscosity of sodium caseinate solutions lesser than polyethylene glycol (PEG) due to the changes in the conformation of sodium caseinate chains and protein plasticizer aggregate size. Furthermore, glycerol was reported to affect the tensile strength of the film more than PEG [60]. All these changes can be attributed to the protein-plasticizer and protein–protein interactions and the differences in plasticizer sizes. Audic and Chaufer [5] compared the mechanical performance of sodium caseinate films having different concentrations of plasticizer and reported that the tensile strength decreased and elongation at break increased with increase in the amount of plasticizer (glycerol). The decrease in tensile strength was due to the reduction in the number of interactions between protein chains. In the present study, the poor tensile strength of the developed films could be attributed to the presence of good amount of glycerol in the films.

Table 3 Mechanical properties and overall migration of the sensor films

Overall Migration into Food Simulants

The total amount of solids migrated from the sensor into the food simulants is given in Table 3 and was found to be minimum in n-heptane (4.25 ± 0.15 mg/dm2) for CG-MB and maximum in 10% ethanol (890.48 ± 10.11 mg/dm2) for SA-MB-NR. Both SA-MB-NR and SC-MB-RSS sensor films dissolved completely in the food simulants and at the end of the stipulated period of 10 days, they could not be recovered. Migration into all the solvents except n-heptane was more than the prescribed limits by the Bureau of Indian Standards [26]. Among all, the migration of CG-MB film components into n-heptane was very low. Relatively high amount of migration of components from developed films into distilled water, 3% acetic acid, 10% ethanol, and 50% ethanol as compared to n-heptane might be due to the hydrophilic nature of the film components. The CG-MB sensor film could be completely recovered after 10 days. However, SA-MB-NR and SC-MB-RSS could not be recovered completely. Due to the dissolution of SA-MB-NR and SC-MB-RSS films in all the food simulants (except n-heptane), the colour of the food simulant became completely dark (Fig. 1). Less migration of CG-MB film components could be attributed to the interaction between sulphate moiety of the carrageenan and cationic dye methylene blue [66]. It has been reported that the extent of interaction is also affected by the type of carrageenan [lambda (λ), iota (ι), and kappa (κ)] and also by the sulphate content of these sources. The sulphate content of kappa and lambda carrageenan is 22 and 32% (w/w), respectively [63]. Sulphate groups are responsible for the negative charge of carrageenan and methylene blue is cationic in water. In another study, Vu and Won [65] developed a sensor film containing thionine, glycerol, and TiO2 encapsulated in zein and reported that immersion of film in water for 24 h resulted in 81% dye leaching. However, when alginate was used as an encapsulating polymer the dye leakage reduced to about 6%, which was attributed to the interaction between the cationic dye (thionine) and anionic alginate.

Fig. 1
figure 1

Images showing the migration of sensor film constituents into different food simulants

In the present study, the leakage behaviour of MB was studied by spectrophotometry and quantified. It was observed that at the end of 24 h exposure time, the absorbance (OD) values of SA-MB-NR and SC-MB-RSS were found to be 3. Since the Beer Lambert’s law does not hold for values greater than 1, the percentage migration of methylene blue dye from SA-MB-NR and SC-MB-RSS could not be calculated. While for CG-MB-based sensor film the absorbance increased from 0.086 to 0.088 during first 3 h and then remained constant at 0.092 until 24 h which was corresponding to 3.55% of MB migration. However, Vu and Won [66] reported that when water-soluble carrageenan (0.2%) was used only 2.1% of MB leached into the water. The lower percentage of dye migration could be attributed to the strong electrostatic interaction of differently charged anionic CG and MB.

Spectral Analysis Using FTIR Spectroscopy

The FTIR absorbance spectrum of SA-MB-NR, SC-MB-RSS, and CG-MB films in original and photo-activated states is presented in Fig. 2. The original and photo-activated curves were overlapped with differences in certain regions. It can be seen from the figure that a visible change in the original and photo-activated sensor film absorbance pattern of SA-MB-NR, SC-MB-RSS, and CG-MB films was observed between the wavenumbers 2300–2500 cm−1. However, the height of the peaks is not same among all the films. Yin and co-workers [69] reported that on mixing two or more substances, in total, different spectra bands are observed due to the changes in the chemical interactions. In the present study, the changes in the spectra of the original and photo-activated films could be ascribed to the presence of different redox dyes and also different biopolymers in the three sensor films. It was reported that when titanium dioxide in nanocrystalline form with a particle size of below 20 nm was used, its coordination with other components changed from octahedral to pentahedral, which was more reactive [15]. Mihailovic and co-workers [39] reported that sodium alginate and titanium atom interaction got enhanced due to the penta-coordinated sites, which resulted in decreased UV transmission, indicating high UV absorption ability of TiO2. In the present study, the clear difference in the peaks of SA-MB-NR and SC-MB-RSS films up on photo-activation could be ascribed to the presence of higher amount of TiO2 and its conformational changes to pentahedral coordination. However, similar effect was not observed in CG-MB, although TiO2 was present in the same amount and the reasons for this need to be explored further. Sodium caseinate can form large number of intermolecular hydrogen bonds due to its irregular coiled structure. Blending of sodium caseinate with glycerol is reported to result in an increase in the macromolecular cohesion [6]. The broad absorption difference observed in the SC-MB-RSS film in the 2300–2500 cm−1 range could be due to the hydrogen bonds formed between sodium caseinate and glycerol hydroxyl groups [3]. Pereda and co-workers [51] observed different FTIR curves for sodium caseinate–starch blended film as compared to the neat sodium caseinate film. For starch-based material, the absorption bands from 763 to 1136 cm−1 reflected the stretching of the C–O bond, while the bands in the 1600–1500 cm−1 region were reported to represent the amide-I and amide-II bands common to proteins [52]. However, in the CG-MB, a change was observed due to photo-activation between the wave numbers 2300–3900 cm−1 (Fig. 2). Abad and co-workers [1] reported that the spectra of kappa-carrageenan irradiated at 100 kGy in powder form showed no significant change in the functional group with the entire structure remaining intact. However, new absorption band at 1728 cm−1 was observed due to increase in UV absorption at 260 nm, which suggested the formation of carbonyl groups. In the present study, the changes in the absorbance spectra of the CG-MB films in the range of 3000–3600 cm−1 wave numbers could be due to the stretching of hydroxyl groups (–OH) [46].

Fig. 2
figure 2

FTIR absorbance spectra of three biopolymer-based sensor films

Sensitivity of the Selected Films Towards Different Level of Oxygen

SA-MB-NR, SC-MB-RSS, and CG-MB were tested for their sensitivity to different concentrations of oxygen (1–10%) and its effect on the visual appearance, photo-activation time, colour recovery time, and instrumental colour are presented in Fig. 3 In general, the photo-activation time of the sensor films was observed to be in the range of 3–8 min whereas the colour recovery times were found to be in the range of 15–60 min. It can be seen from Tables 4, 5 and 6 that at the lowest concentration of oxygen, the instrumental colour values (L*, a*, b*) of all the three sensor films prior to photo-activation (original) were significantly (P < 0.05) different from the rest of the concentrations (2–10%). The L*, a*, and b* values of SA-MB-NR, SC-MB-RSS, and CG-MB exposed to different levels of oxygen and as affected by photo-activation and recovery are given in Table 4, 5, and 6, respectively. The lightness value of the native SA-MB-NR film (prior to photo-activation) (Lo*) when exposed to 0.6% (1%) oxygen was observed to be 9.26. With an increase in the oxygen concentration from 1 to 2%, Lo* value significantly (P < 0.05) increased to 11.57. However, with further increase in oxygen concentration from 3 to 10% no significant change (P > 0.05) in Lo* values were observed. Up on photo-activation, the lightness values (Lp*) significantly (P < 0.05) increased. It can be seen from Table 4 that across most of the oxygen concentrations, non-significant (P > 0.05) differences between the lightness values of the original film (Lo*) and colour-recovered film (Lr*) was observed. However, it was observed that some of the films took as high as 60 min to regain (recover) the original colour. It can be seen from Table 4 that significant differences (P < 0.05) in the redness values of the original SA-MB-NR film (ao*) and the photo-activated SA-MB-NR films (ap*) exist which almost doubled with photo-activation. Furthermore, it can be seen that up on exposure to ambient air, no significant differences were observed between ao* and the redness values of the recovered films (ar*). Similar trends were observed in the original (bo*), photo-activated (bp*) and recovered (br*) blueness values of SA-MB-NR films.

Fig. 3
figure 3

Effect of oxygen concentration on the visible colour of original, UV-activated and recovered different sensor films

Table 4 Effect of oxygen concentration on the instrumental colour values of original, photo-activated, and colour-recovered SA-MB-NR film
Table 5 Effect of oxygen concentration on the instrumental colour values of original, photo-activated, and colour-recovered SC-MB-RSS film
Table 6 Effect of oxygen concentration on the instrumental colour values of original, photo-activated and colour-recovered CG-MB film

When exposed to 0.6% (1%) oxygen, the lightness values of the original SC-MB-RSS film (Lo*) was observed to be 4.43 (Table 5). With the increase in the oxygen concentration from 1 to 2%, Lo* value significantly (P < 0.05) increased to 7.25. However, with further increase in oxygen concentration from 3 to 10% no significant change (P > 0.05) in Lo* values were observed. Up on photo-activation, the lightness value (Lp*) of film exposed to 1% oxygen significantly (P < 0.05) increased to 6.51. However, it can be seen that with the increase in oxygen content from 3 to 10% and photo-activation of the SC-MB-RSS films, non-significant (P > 0.05) differences were observed between the Lo* and Lp*. Furthermore, it was observed that the lightness value of the film exposed to 1% oxygen prior to photo-activation (Lo*) and exposed to ambient air after photo-activation (recovered) (Lr*) were similar (P > 0.05) indicating complete recovery of the colour. However, the same was not observed with increasing oxygen concentrations exposure (2–10%). Furthermore, some of the films took as high as 60 min to regain the original colour. It can be seen from Table 5 that significant differences (P < 0.05) in the redness values of the original SC-MB-RSS film (ao*) and the photo-activated SC-MB-RSS films (ap*) exist. Furthermore, it can be seen that up on exposure to ambient air, significant differences (P < 0.05) were observed between ao* and the redness values of the recovered films (ar*) indicating incomplete recovery of colour. Similar trends were observed in the original (bo*), photo-activated (bp*) and recovered (br*) blueness values of SC-MB-RSS films. It can be seen from Table 5 that significant differences (P < 0.05) in the redness values of the original SC-MB-RSS film (ao*) and the photo-activated SC-MB-RSS films (ap*) exist. Furthermore, it can be seen that up on exposure to ambient air, significant differences (P < 0.05) were observed between ao* and the redness values of the recovered films (ar*) indicating incomplete recovery of colour. Similar trends were observed in the original (bo*), photo-activated (bp*) and recovered (br*) blueness values of SC-MB-RSS films. bo* of the SC-MB-RSS film exposed to 1% oxygen was found to be − 11.76 which decreased to − 10.73, but the decrease was not significant (P > 0.05) statistically. The b* values of all the films which were exposed to ambient air for recovery of original colour (br*) remained almost same (P > 0.05) irrespective of exposure to initial oxygen concentration.

The colour values of CG-MB film exposed to different levels of oxygen and as affected by photo-activation and recovery are given in Table 6. The L* values of the film prior to photo-activation (Lo*) when exposed to 0.45% (1%) oxygen were observed to be 13.04. With the increase in the oxygen concentration from 1 to 2%, Lo* value significantly (P < 0.05) increased to 11.91. However, with further increase in oxygen concentration no significant changes (P > 0.05) were observed. Up on photo-activation, the L* value (Lp*) of film exposed to 1% oxygen significantly (P < 0.05) increased to 14.34. Furthermore, with an increase in the oxygen content from 2 to 10% and photo-activation of the CG-MB films, significant (P < 0.05) differences were observed between Lo* and Lp* (Table 6). The photo-activation time of CG-MB films ranged from 3 to 6 min while they took about 60 min to regain the original colour. It can be seen from Table 6 that significant differences (P < 0.05) in the redness values of the original (ao*) and the photo-activated CG-MB films (ap*) were observed at all oxygen levels of exposure. Furthermore, it can be seen that up on exposure to ambient air, non-significant differences (P > 0.05) were observed between ao* and the redness values of the recovered films (ar*) indicating complete recovery of redness. Similar trends were observed in the original (bo*), photo-activated (bp*) and recovered (br*) blueness values of CG-MB films exposed to 1% oxygen concentration. The bo* of the CG-MB film exposed to 1% oxygen was found to be − 13.38 which significantly (P < 0.05) decreased to − 11.35 up on photo-activation (bp*). Up on exposure to ambient air the blueness value regained (br*) and returned to original (− 13.29). Similar trend was observed among the films exposed to increasing oxygen concentrations.

Mills and co-workers [43] reported that the initial rate of colour recovery (h−1) was found dependent (linear variation) on oxygen concentration (0–100%). In addition, Lawrie and co-workers [33] reported that the recovery rate of UV-activated colorimetric dye-based oxygen sensor was found to be directly proportional to the oxygen percentage in the headspace of the package. Mills and Lawrie [41] observed that there exists a linear relationship between the recovery time and the temperature during their studies on sulfonated polystyrene-based oxygen sensor containing MB, TiO2, and glycerol. It was reported that the recovery time of the sensor was 5 days at room temperature and 7 days at 3.8 °C. Mills and co-workers [44] reported that oxygen indicator based on hydroxyl ethyl cellulose containing glycerol, TiO2, indigo-tetrasulfonate was having a photo-activation time of less than 3 min in the absence of oxygen, while in ambient atmosphere, it was approximately 6 min. Khankaew and co-workers [29] reported that the total colour differences values and the initial rates of photo-activation of oxygen sensor film containing methyl cellulose were found to increase with increasing thickness; however, a decrease in photo-activation time was observed for a thickness of more than 106.67 µm. On the contrary, Mills and Lawrie [41] reported that the rate of recovery of sulfonated polystyrene-based oxygen sensor containing TiO2, MB, and glycerol did not vary with changes in the film thickness but with the rate of diffusion of oxygen through the sensor film. Lawrie and co-workers [33] observed that the rate of recovery of hydroxyl ethyl cellulose based oxygen sensor containing MB, TiO2 and glycerol was found to be proportional to percent oxygen and lower limit for oxygen sensitivity was 3%. Contrary to these reports, in the present study, it was observed that recovery rate was not dependent on the oxygen concentration in the headspace of the package.

Moisture Sorption Isotherms

The moisture sorption characteristics of the selected sensor films (SA-MB-NR, SC-MB-RSS, and CG-MB) was carried out using gravimetric method in the water activity (aw) range of 0.11–0.92 at 25 °C involving sorbostats. The equilibrium moisture contents of all the sensor films across are shown in Fig. 4. The moisture sorption isotherms showed a slow initial increase in equilibrium moisture contents up to aw 0.53 and thereafter a rapid increment in with further increase in aw. All the three sensor films displayed non-linear behaviour. The moisture sorption curve of all the three sensor films was concave in shape, which is typical of water sensitive biopolymer film such as cellulose and gluten films [23]. The equilibrium moisture content of SA-MB-NR, SC-MB-RSS, and CG-MB films at aw of 0.92 were observed to be 100.61, 94.73 and 120.26 g 100 g−1, respectively, on dry basis. Fabra and co-workers [17] reported that glycerol as an ingredient in sodium caseinate-based sensor film promotes hygroscopic nature above 0.45 aw. Shorter carbon chains and more number of hydroxyl and carboxylic groups also favour absorption of water (Kristo and Biliaderis [30]). Increasing rate of moisture absorption has also been reported with higher concentration of plasticizer [25]. The moisture sorption behaviour of the sensor films was described using four different mathematical models, namely, Ferro-Fontan, Peleg, D’Arcy, and Watt and Park models. The determined parameters of these sorption models and the goodness of fit of all the models are presented Table 7. Peleg model was best fitted for the experimental data of sodium alginate-based sensor film (SA-MB-NR) (Fig. 5a). The coefficient of determination (R2) was found to be the highest (0.9980), while the reduced Chi square (χ2) (2.00), percent mean deviation error (P) (5.49), and root mean square error percent (RMS%) (23.77) were the lowest among all other models. For both the sodium caseinate-based (SC-MB-RSS) (Fig. 5b) and carrageenan-based (CG-MB) (Fig. 5c) sensor films the D’Arcy and Watt model was found to best fit the observed values. In addition, the pattern of residuals (the difference between the observed and predicted values) was randomly arranged. Several authors had reported that the moisture sorption of most protein based films such as whey protein [13], sodium caseinate–lipid [16], soy protein [18] and sodium caseinate–pullulan [31] are sigmoid in shape with a characteristic type II isotherm. Lim and co-workers [35, 36] observed similar results in transglutaminase cross-linked egg white protein and gelatin films and reported concave shape of sorption curves might be due to the development of water masses in the polymer matrix with increasing water activity. Swelling of the polymer matrix causes exposure of more binding sites for water sorption due to which EMC increased at a rapid rate in later stages. Galus and Lenart [21] reported sigmoidal shape for sodium alginate and pectin based antimicrobial films and best fitted model was Peleg model with minimum mean relative error (P) of 3.510. An increase in number of hydrogen bonds prevents the diffusion of water molecules through protein films and it also delays the transport of diffusing species [37]. Sodium ions might also be the reason for higher rate of water absorption because they create regions of high dielectric constant suitable for water absorption [15]. Non-linear nature of water sorption of sensor films could be due to structural changes caused by absorption of water at hydrophilic sites [12]. Alves and co-workers [2] reported GAB model as best fit model for carrageenan/pectin films with mica flakes. The moisture sorption was having a sigmoidal shape with sharp rise in moisture content after a water activity of 0.6. Due to interaction between different components and change in morphology of the films, altered moisture sorption curves were obtained for increasing concentration of mica flakes. Moisture sorption of agar/k-carrageenan/glucomannan was having sigmoidal shape with rapid increase after 0.7 aw.

Fig. 4
figure 4

Moisture sorption isotherms of different sensor films at 25 °C

Table 7 Estimated values of sorption model parameters at 25 °C
Fig. 5
figure 5

Best fitting moisture sorption model and pattern of residuals for different sensor films at 25 °C. a SA-MB-NR, b SC-MB-RSS, c CG-MB

Conclusion

The present study attempted to develop and characterize the properties of sodium alginate (SA-MB-NR), sodium caseinate (SC-MB-RSS) and carrageenan (CG-MB) based oxygen leak indicators for food-packaging applications. All the three sensor films were found to be equally sensitive to oxygen concentration ranging from 1 to 10%. At the lowest oxygen concentration (1%), the instrumental colour values (L*, a*, b*) of all the three sensor films prior to photo-activation (original) were significantly (P < 0.05) different from the rest of the concentrations. SA-MB-NR and SC-MB-RSS were found to have very high migration into all the food simulants except in n-heptane. In contrast, the CG-MB sensor film was having the least overall migration into all food simulants. No significant difference in the mechanical properties of the sensor films was found among the sensor films (P > 0.05). FTIR spectra of SA-MB-NR and SC-MB-RSS revealed a change due to UV activation between the wavenumbers 2300–2500 cm−1, which corresponds to alkyl and amide bond changes. While the spectra of CG-MB film showed a change between 2300 and 3900 cm−1 wave numbers that corresponded to the stretching of hydroxyl groups. Sorption isotherms of all the three films resembled type-III according to the BET classification. Peleg model was found to best describe the moisture sorption behaviour of SA-MB-NR sensor films while D’Arcy and Watt model best described the sorption behaviour of SC-MB-RSS and CG-MB films. Hence, it can be concluded that carrageenan-based sensor film (CG-MB) could be potentially applied as an oxygen leak indicator for direct contact (vacuum) or non-direct contact (modified atmosphere) food-packaging applications.