There are many types of sensors that have the potential to be used in smart packaging. The advantages that this category provides over other intelligent systems is their high sensitivity and accuracy, in addition to providing measurements about certain parameters such as temperature, humidity, and gas concentration inside the package, as sensors are capable of quantifying the pre-reported parameters. Sensors can be integrated with other IP systems like radio frequency identification (RFID) tags to provide more information and data transmission through these tags. In this section, four different types of sensors are presented: optical, biosensors, gas, and humidity sensors.
4.1.1. Optical Sensors
Optical sensors play an important role in determining the freshness of vegetables, due to their capability of sensing the optical variations resulting from changes in chlorophyll content. These sensors can also sense pathogens’ growth using fluorescence or hyperspectral imaging to indicate deterioration and spoilage. Optical sensors provide accurate results and are highly sensitive. Optical sensor technologies are considered promising in detecting the deterioration of packaged green leaves such as bagged lettuce, spinach and arugula. Hyperspectral imaging relies on the intensity and spectral characteristics of light reflected from the leaves. On the other hand, chlorophyll (Chl) fluorescence imaging relies on the reflection as a result of exciting the chlorophyll using light [
57]. However, the current cost of such systems is still a drawback for their commercial use.
At present, chlorophyll fluorescence imaging use fluorometers to measure the amount of emitted light after excitations of Chl with light at certain wavelengths. Illuminating the leaves will give a photon of energy, h
, to Chl pigments. This will lead to creation of excited unstable state (S
1’), that has a very short half-life in the order of nanoseconds [
64]. Therefore, through the relaxation process, light will be emitted as shown in Jablonski diagram in
Figure 5a. The wavelength of the emitted light depends on the energy difference in the two states. Chl pigments are classified into Chl-a and Chl-b. Chl-a was found to be a good fluorescent material, hence fluorescence is measured based on the excitation of Chl-a. Chl-a has two absorption peaks, one at 430 nm (blue light) and the other at 665 nm (red light) with higher absorption at the blue light [
65,
66]. For emission, Chl-a emits in the red-light region at 680 nm (higher) and 750 nm [
65,
66]. This means that for better resolution, a fluorometer will excite at 430 nm and measure fluorescence at 680 nm. However, due to the decomposition of Chl-a at 430 nm into by-products such as pheophytin, 460 nm light is used for excitation of Chl-a [
65,
66]. The connection between the fluorescence intensity and Chl is based on Beer–Lamberts law of absorption [
65,
66]. Although the quantum efficiency of Chl is low and in the range of 2% to 10% of the absorbed light [
67], it is still a very useful and powerful technique for plant physiologists in studying Chl fluorescence effect in vegetation [
68,
69,
70].
There are many techniques used to make fluorometers, such as the ones based on the pulse amplitude modulation (PAM) [
71], or on pump and probe signals [
72,
73]. These techniques rely on the wide-field detection and have a limited spatial resolution in the orders of millimeter [
74]. These methods depend on the transition of Chl for adaptation from dark to light environment. An example of such system is as shown in
Figure 5b. Fluorescence imaging systems consists of light source for excitation of the Chl in the sample, hence the re-emission will be captured by the camera after which it is processed in a computer. Light emitting diodes (LEDs) are widely used in fluorometers because of their ability to control the intensity of light and its duration. While for the detecting camera, normally the commercial version is enough for this purpose without packaging. However, for Chl fluorescence imaging of leafy greens inside plastic bags, the decayed tissue with no fluorescence will not be distinguished from the background which also does not fluoresce [
58]. Therefore, cameras with higher sensitivity are required for such systems or the use of hyperspectral images can be an alternative for more accuracy [
58,
59].
Hyperspectral imaging, which is also known as imaging spectrometer, obtains a spectrum for each pixel in the image, it provides the electromagnetic spectral information for the use in the identification of surfaces. These devices measure the reflectance of the light from a surface as a series of narrow and contiguous wavelengths bands. The fact that the pixel is shown as a spectrum gives much more information about the leaves and their freshness. The schematic of such a system is very similar to that used in fluorescence imaging, shown in
Figure 5b. The broad-spectrum light source, with typical spectral range of 380 nm to 1012 nm, will cause elastic scattering in the leaves. Then, the reflectance is captured by the spectrometer in the form of simultaneous images in a high number of bands [
75]. Each resulting pixel from the contiguous reflectance spectrum will give three-dimensional hyperspectral cubic data, with two of them in the spatial domain and one in the spectral domain for further processing. For leafy greens monitoring, the use of reflectance at 671 nm was found better in differentiating between the white parts of leafy greens as in lettuce from the white background [
75]. The main difference between spectral imaging and fluorescence imaging is that measurements with fluorometers rely on the visible spectrum fluorescence re-emission of photons. While in hyper-spectral imaging, the reflectance is measured from the whole electromagnetic spectrum, providing more accurate results with higher resolution and a wider wavelength range to evaluate surfaces of interest [
75,
76].
Decay sensors were developed to evaluate the reflectance and fluorescence spectra of leafy greens through Chl fluorescence imaging and hyperspectral imaging. In [
58], both techniques were used to detect freshness of plastic bagged lettuce. One of the lettuce decay indices was developed based on the use of modified hyperspectral indices developed in [
77]. The modified relation of reflectance was chosen based on the reflectance difference spectrum between fresh and decayed tissues. They provided a logarithmic ratio between the reflectance at different wavelengths as a performance index called LEDI
4. The other lettuce decay index was used to measure Chl fluorescence known as LEDI
CF, which is defined as the ratio between the minimum Chl fluorescence to the maximum fluorescence. The minimum level of fluorescence is measured usually after switching the measuring light, because the exciting beam is not sufficient to induce electron transport [
78]. The maximum fluorescence is then measured after applying a saturated light pulse [
78].
The best performance was observed with the use of hyper-spectral imaging in terms of sensitivity, specificity, and early decay detection for different color groups of lettuce. In [
58], for lettuce, the white color image indicated fresh tissue, red for decayed tissue, and blue was for the background. However, the accuracy of such a sensor was low when it came to white stacks of lettuce and was misidentified as decayed, giving a false negative output of the sample. Thus, it was concluded that the hyperspectral technique for freshness detection is better suited to evaluate green leaves such as baby spinach or butterhead lettuce. The other imaging technique that was tested in [
58], used a fluorescence index which gave a better performance and higher sensitivity in identifying the white parts, but it misclassified as decayed the red fresh tissues, found in red oak lettuce. Here, the white color indicated decayed tissue, and the blue color, fresh tissue. Evaluations of these parameters (LEDI
4 and LEDI
CF) showed positive correlations between each other and the visual rating scale, as illustrated in
Figure 6. The results of this experiment were successful in classifying fresh from decayed tissue of plastic bagged lettuce packaged with modified atmosphere (MAP). It is harder to generalize whether this technique can work for all packaging types, but it works on different types of leafy green vegetables. Furthermore, this approach needs adjustment with the cut-off values for the indices if more specific classification is needed such as: fresh, intermediate, or decayed. The choice of which imaging technique to be used depends on the color of the product. Both parameters (LEDI
4 and LEDI
CF) showed high accuracy of 96.7–96.9% in evaluating the quality of bagged leafy greens [
58]. Hence, there is a possibility of using commercial imaging sensors to identify and monitor the freshness of such products.
For pathogen detection, the use of hyperspectral imaging (HSI) together with the integration of chemometric and an artificial neural network was developed in [
79]. This technology depends on the formation of metabolic by-products because of pathogens activity that induces biochemical changes and indicates contamination of food. Taking hyperspectral images of bagged leafy greens, spinach for instance, over the range 400–1000 nm will give a spectrum with varied reflectance depending on the intensity of
E. coli present. The outcome of these images is a 3D cube that gives information about total spatial distance, wavelength, and intensity of the image from where the quantitative and qualitative data can be extracted using principal component analysis (PCA) [
79]. For prediction and computing of
E. coli number in packaged spinach, artificial neural network (ANN) can be applied on the hyperspectral data. In [
79], the ANN used consisted of seven artificial neurons to obtain better performance in counts prediction. Regression analysis used showed a good fit between the predicted from ANN and true values obtained.
For more convenient interpretation, a prediction map is constructed to give a visual indication based on the fingerprint left by the
E. coli count on the leaves of each pixel in the spatial plane of the hyperspectral image based on the chemometric techniques. This map shows visual color changes as the count increase, which allows for an easy, rapid, and accurate detection. The blue color is considered the control and as the concentration of
E. coli on the leaves increase, color shift towards green, yellow, orange, and then red [
79]. This allows for easier detection of the contaminated samples with visual colors as shown in
Figure 7. This simple method shows the high possibility of using such a technique for the detection of pathogens. Testing of this technology is done only on certain strain of
E. coli (K12); hence, more tests are needed to validate and ensure its compatibility to detect other strains of
E. coli or even other pathogens.
Many other techniques were used for detection of contamination of vegetables with the use of conventional NIR spectroscopy [
80,
81,
82,
83]. However, the information provided from these techniques lacks the spatial information as only one spectrum is provided for each sample. Thus, information about chemical composition will not be extracted compared to hyperspectral imaging where the information is represented in 3-D.
4.1.2. Biosensors
Biosensors are analytical devices that detect, record, and convert biological responses into easily measured signals such as electrical or optical signals. This category of sensors consists of two main elements: bio-receptors, which recognize the target analyte, and transducers, which convert the target recognition into a measurable signal. These bio-receptors can be further classified into antibodies, enzymes, cells, DNA, biomimetic, or phage, while the transducer can be electrical, optical, chemical, magnetic, or micromechanical [
31,
84]. In general, the first two types of these bio-receptors are widely used in the food packaging industry and have a promising potential in vegetable packaging for contamination assessment. In this section, the focus will be mainly on antibody-based biosensors.
Antibody-based bio-receptors rely on the concept of “lock and key” fit with the antigens. Antigens are proteins found on the surface of the pathogen and can also be synthesized to bind with a large set of pathogens. Antibodies are made up from light and heavy chains of polypeptide and have two regions: a variable region which change its structure to fit the antigen, and a constant region with constant structure [
31]. As biosensors, antibodies are generally immobilized on the surface of the detector, so that, with their unique property of binding to the antigen and recognizing the molecular structure, they will sense the presence of pathogens, as shown in
Figure 8a [
31]. The process of antibodies attachment to labels such as isotopes, fluorophores, or enzymes for the purpose of detection, is termed antibody labeling. The interactions between antigen and antigen-specific antibodies are converted to digital signals that can be read out with the use of transducers that are electrochemical, magnetic, optical, or mass-based.
Figure 8b illustrates the functional blocks of antibody-based biosensors. The sensitivities of these sensors depend on both the sensitivity of the transducer and the quality of antibodies that are used. In this section, an overview of different types of antibody-based biosensors will be briefly discussed [
31,
80].
Optical Biosensors
The use of optical systems as a part of biosensors has been extensively investigated. These biosensors use light-based interactions to measure the biochemical reactions. One of the common methods for freshness detection of foodborne pathogens is surface plasmon resonance (SPR) [
80]. This opto-electronic phenomenon is based on the energy transfer to electrons in a metal surface as from visible or near infrared monochromatic light through a prism into surface plasmon resonance to be detected by photodiodes. The photon energy transferred to electrons will free them and lead to the generation of electromagnetic waves (surface plasmons) that resonate and absorb light; thus, the reflectivity will be minimum at this specific angle [
80]. This angle is a function of refractive index which depends on the mass of immobilized antibodies. The reflected beam will shift to longer wavelength due to the biomolecular interaction changing the refractive index [
80]. Hence, measuring this change will qualitatively detect the presence of these analytes without the need for enriching and culturing.
Figure 9a summarizes the working principle of this biosensor. The advantages of this SPR technology are their high sensitivity and selectivity and they can be made in the form of compact chips. On the other hand, the use of prism is not always suitable for chip-based sensors. Moreover, there is a limit in the number of simultaneous measurements that can be performed. To overcome these issues, the use of multiple channels sensors was proposed to allow for parallel measurements. SPR imaging biochips were used to measure change in refractive index, in order to reduce non-specific signals from background [
85,
86].
Another approach is the grating-coupled SPR imaging that uses optical diffraction gratings for coupling and providing angle readings, and it is a low cost and wide dynamic range imaging [
86,
87,
88,
89]. In [
90], an SPR-based protein chip, as illustrated in
Figure 9b, was used for the detection of
E. coli O157:H7,
Salmonella, and other pathogens. This means that there is a high potential of using such a system in packaging. By integrating this chip as part of the package, the package can be screened with the use of light source and SPR spectroscopy to check if pathogens are present. Furthermore, the response of antigens binding to the immobilized antibodies on Au-substrate was enhanced with the use of G protein [
80,
90]. Other popular optical biosensors that are used for pathogens include Raman spectroscopy [
91,
92], Fourier transform infrared (FT-IR) [
93], and fiber optics [
94]. However, these techniques need culturing to increase the biomass of the pathogen before detection. In addition, the difficulty in integrating these as part of the packaging where contact of food with nanoparticles (NP) is unavoidable, makes them suitable for a different stage of supply chain, for instance in pre-packaging. Other techniques developed for bacterial detection as a type of freshness indicator include those based on surface plasmon resonance (SPR) [
95], hyperspectral imaging [
79], or polymerase chain reaction [
96,
97]. However, these methods require expensive equipment that make them non-commercial for use in supermarkets for monitoring packaged vegetables.
Electrochemical Biosensors
Electrochemical biosensors are those in which the binding elements are antibodies and the transducers are electrochemical. The binding response of antibodies to antigens will be converted into an electrical signal with the electrodes. The advantages of this biosensor category are low-cost and the possibility of coupling with other biosensing techniques. However, its sensitivity is less than optical biosensors. This category can be classified according to the output formats as amperometry, impedimetry, potentiometry, or conductimetry [
80]. Amperometric is when an applied voltage excites the electroactive species, leading to oxidation or reduction and current flow. The higher the concentration of the analyte, the higher is the current produced. This measurement method gives higher sensitivity compared to potentiometry. In a potentiometric biosensor, the voltage between the electrodes for near the zero current is measured and the potential will build-up as a result of the bio-recognition process. A conductimetric biosensor relies on the use of conductive polymer to turn the analyte into electrical signal. In this type, incorporating nanoparticles (NPs) can increase the conductivity which will enhance the sensitivity of the system. The last one is the impedimetric type which depends on the metabolites of the microbes as a result of redox reactions that will decrease the impedance; that is, the conductance and capacitance increases [
30,
80].
Table 2 shows a comparison between the common electrochemical biosensors for pathogens’ detection of vegetables.
Commercial Biosensors
Toxin Alert has produced a visual biosensor known as Toxin Guard
TM [
104,
105]. This biosensor immunoassay uses the concept of antigen/antigen-specific antibodies to detect pathogens in the form of antibodies sandwich with thickness of 100 µm [
106]. There are two types of antibodies used: the capture antibodies and the detector antibodies. Capture antibodies are immobilized and incorporated into a thin layer of polymer plastic films such as polyethylene and are patterned in the form of icons in a nutrient gel such as agarose gel [
106]. The detector antibodies are labeled with colorimetric enzymes or luminescent chromophore dyes that will change color upon binding to antigens and are free to move in the nutrient gel layer. Then, a permeable protector gel coat is applied forming compartments that act as test sites and allow for specific pathogens to penetrate. Detector ligands will bind to pathogen antigens, and the nutritious gel will support the rapid growth of penetrated pathogens. The detector antibodies binding to the antigens of pathogens will then migrate toward the captured ligand due to affinity, leading to a distinctive pattern shapes where the chromophores are concentrated [
106]. The response time is 30 min to show different patterns and up to 72 h to give a distinct dark color change [
106]. The advantages of this biosensor lies in its ability to simultaneously detect and identify several bacterial types such as:
E. coli,
E. coli O157:H7, Salmonella, and
Listeria, its stability and suitability for warm and cold environments, and its shelf life of one year [
104,
105,
106,
107]. However, small amounts of micro-organisms that may still cause diseases are not captured due to sensitivity limitations [
104,
105,
107].
Figure 10 shows a picture of Toxin Guard biosensors.
Recently, a new technology known as Janus emulsion droplets was developed for the detection of bacteria using
E. coli as the model system for testing [
108,
109]. This technique, based on Janus particles, shows a promise to be part of vegetable packaging as pathogens detectors. Janus particles have been used for many sensing applications such as in biomedicine and highly selective sensors [
87,
110]. These nanoparticles have different hemispheres with distinct physical and biochemical properties. The surface nature of these particles is like that of the living cells which enabled their use as
E. coli detector. The droplets are prepared with the use of surface-active agents that are made of carbohydrates and their optical properties (allow light to pass) change because of pathogen recognition through carbohydrate–lectin interactions. Half of these hemisphere will bind to the pathogen forming clusters of these droplets in a way that induce light scattering that depends on the concentration of pathogens, as shown in in
Figure 11. Measurement in this system can be either quantitative with a quick response code (QR) for binary readout on such surfaces using smart-phone application while placing these droplets inside transparent chamber, or quantitative with the use of image processing techniques [
108]. This system has a limit of detection of 10
4 CFU/mL with a response time of around 5s [
109,
111]. The advantages here are the fast response and the ease of implementation, as detection can be done by the naked eye or with use of mobile phones. This sensing technique is not yet commercialized. However, if these droplets turned into films or thin membranes that are implemented as part of packaging for the purpose of pathogen detection, then the possibility of integration within packages will be much higher.
NP-based microbial sensors can be used instead of conventional biosensors. Incorporation of other materials such as silver nanoparticles (AgNPs), and gold nanoparticles (AuNPs) was noticed to interact with proteins of pathogens such as
E. coli preventing their DNA replication [
12,
112,
113,
114]. The advantages of using NPs in sensors are in their unique optical and electrical properties that improve the sensitivity, response time, and selectivity compared to biological sensors. NPs can also act like a “magnet” to capture specific pathogens, and such systems are known as immunomagnetic separation-based (IMS-based) detection [
115]. Magnetic nanoparticles such as (Fe
2O3) can bind to specific antibodies that can be used to identify pathogens. This will allow for detection due to observable electrical and optical changes after binding and for isolating pathogens by applying an external electric field [
116,
117]. The working principles of IMS are shown in
Figure 12. However, the use of these nanoparticles is still being studied as there are concerns about the possibility of their migration to food inside the package. The validation process of such sensors should be carefully studied, as issues regarding the safety and hazards must be addressed to ensure public health safety.
4.1.3. Gas Sensors
These sensors concern the quantitative measurement of gas concentration, mainly oxygen and carbon dioxide, due to their big effect on the metabolism of packaged vegetables and hence their quality. For carbon dioxide detection, optical-based gas sensors are a promising technology in food packaging applications. Commonly used types rely on fluorescence with the use of CO
2-sensitive dyes or on colorimetric change as result of using pH sensitive dyes [
118].
Dry solid CO
2 sensor is an opto-chemical sensor that uses fluorescent dyes that change their luminescence with the carbon dioxide level. An example on this type that can be used in vegetable packaging is in ref. [
119] which is based on the use of pH-sensitive fluorescent dyes 1-hydroxypyrene-3,6,8-trisulfonate (HPTS) incorporated within plastic films. As the CO
2 concentration increases, the fluorescence of the dye decreases. The response time for this dye is less than 2 min, and its recovery time of less than 40 min [
119]. The advantages of HPTS plastic film CO
2 sensor are: its stability in various environments such as water and acidic solutions, high sensitivity (%CO
2 = 0.29%), and its shelf life can extend to more than 6 months if kept in a dark storage environment [
119]. The limitation lies in difficulties of finding suitable fluorescent material for food applications and better sensitivity is required to cover the measuring range of 0–100% [
118]. Another example on this dry carbon dioxide sensor type was tested on ready-to-eat packaged salads in [
118] that is based on Förster Resonance Energy Transfer (FRET). FRET mechanism relies on energy transfer from donor fluorophore to acceptor chromophore [
120]. Here, phosphorescent donor dye Pt-porphyrin (PtTFPP) will emit energy at 650 nm to be absorbed by pH indicator chromophore (α-naphtholphthalein NP) acceptor. The mixture of both complexes will result in films which have varying optical responses with carbon dioxide concentration. The concentration of carbon dioxide affects the FRET. It is highest kin no CO
2 and decreases as the CO
2 increases. For this sensor, the energy transfer will have optical responses from blue to colorless when the CO
2 is in the range of 0–10%, which makes this sensor suitable with modified atmosphere vegetable packages that have the same range of CO
2 [
118]. The response time of this sensor is 1 min with a recovery time of less than 4 min. Its sensitivity is constant for 21 days at 4 °C which is considered suitable for vegetable packaging applications [
107,
118,
121]. The safety of this sensor was tested and it showed no traces of dyes migrating to the packaged food, which is a big advantage for commercial uses. The limitation of this sensor is its temperature sensitivity, deterioration of its performance if carbon dioxide or oxygen concentrations are higher than 10%, susceptibility to signal drift, and cross-sensitivity with O
2. To overcome the cross-sensitivity for this sensor type, the oxygen concentration is measured to compensate for its effect, thus, the sensor can be used to evaluate the concentration of both CO
2 and O
2 at the same time [
118].
A sol-gel based optical carbon dioxide sensor that uses the pH indicator 1-hydroxypyrene-3,6,8-trisulfonate (HPTS) immobilized on a hydrophobic modified silica matrix forming membranes, was developed in [
114]. The working principle of this sensor depends on the luminance intensity being quenched by CO
2 that leads to its fluorescence. The fluorescence intensity lifetime is then converted and measured in phase domain with the use of the dual luminophore referencing (DLR) method [
121,
122,
123,
124]. In this technique, the fluorescent dye is co-immobilized with an inert referencing luminophore such as ruthenium complex that has a long lifetime and high absorption rate of blue to green light. In phase domain, the HPTS dye fluorescence intensity signal will have a zero-phase angle due to its short lifetime while the reference luminophore will have a phase shift. The total measured signal will represent the superposition of both signals leading to a different combined measured phase. Thus, the change in carbon dioxide concentration will lead to change in the amplitude of fluorescence intensity signals of both luminophores. This amplitude change will correspond to a phase change in the total measured signal which is a function of carbon dioxide in the sample gas [
124]. This sensor has a resolution better than 1%, a limit of detection of 0.08%, and a minimized cross-sensitivity with oxygen of 0.6% [
112,
125]. It is stable for more than seven months, which makes it suitable for vegetable packaging applications [
107,
124]. However, this sensor suffers from oxygen sensitivity, as the commonly used reference luminophore (ruthenium complex) is affected by oxygen, and from temperature sensitivity. Therefore, the need of a correction protocol is essential to guarantee accurate measurements of gas concentrations [
121,
122,
123,
124].
A nondispersive infrared (NDIR) sensor can be used to monitor the storage environment of a package or can be integrated as part of RFID tags. This type depends on the selective light absorption of gases at different wavelengths due to their different quantum energies. For carbon dioxide, it absorbs at 2.7, 4.3, and 15 μm, the light passes through two tubes, one acting as the reference with nitrogen which does not absorb light, and the other having the gas to be measured. The ratio of the attenuation between the tubes is proportional to carbon dioxide concentration. The advantages of these sensors are their accurate reading, immunity to temperature, and humidity, but they are relatively more expensive compared to thermal resistors-based carbon dioxide sensors [
126,
127].
Another type of sensing is based on thermal resistors whose resistance changes according to the thermal conductivity of carbon dioxide passing through it. The thermal resistors are two arms of a Wheatstone bridge that is shown in
Figure 13. This type relies on the variation of the conductivity with the concentration of carbon dioxide, but it is also affected by temperature and humidity. The idea here is to measure the resistance of the thermal resistor in the CO
2 atmosphere by comparing its value to an identical thermistor in a reference chamber with sealed atmosphere under same temperature and humidity conditions. An increase in the concertation of the gas causes the molecular weight to be heavier compared to the dry air, shifting the output to positive, and the opposite occurs when there is less carbon dioxide in the air. The linear response of this sensor made it very suitable for gas detection up to 100% [
13,
128]. However, the drawback of this type is in the dependence on other factors such as humidity and temperature that makes the sensor reading unreliable unless these conditions are the same and constant in both chambers [
13,
128]. Many other carbon dioxide sensors were developed based on other techniques such as emulsions of iconic liquids at room temperature [
129], and the polymer hydrogel-based sensor [
130]. However, an important concern with these sensors that are used to quantify carbon dioxide will be the possibility of migration of the sensor materials to the food.
Monitoring oxygen inside the package is important because an adequate amount of O
2 is needed to maintain vegetables freshness. Therefore, a lot of mechanisms were developed to measure oxygen content inside a package. The most common oxygen sensors are photoluminescence-based (fluorescence or phosphorescence) that rely on the quenching principle of oxygen sensitive dyes. Photoluminescent dyes are usually embedded in oxygen permeable polymers or sol-gel matrices in the form of labels or dots. Oxygen is considered a very common fluorescence quencher of the electronically excited oxygen sensitive dye. The interaction of light with oxygen molecules will deactivate the phosphors of the active dye, so the emission intensity and the lifetime of the dye will decrease, reflecting the change in level of oxygen inside the package [
105,
131]. The concentration of oxygen is related to quenching fluorescence through the Stern–Volmer equation, which can be used for quantitative measurements [
132]. This type of sensor is considered superior over conventional oxygen sensors such as electrochemical-based oxygen sensor for food packaging applications for the following reasons: non-destructive, clean, reversible, fast response, and does not consume oxygen in the headspace of the package. However, degradation in the dye may cause disturbance in the light path and is a limitation together with its susceptibility to drift [
19]. There are several common dyes, that were used for oxygen sensing of packaged vegetables such as [Ru(dpp)
3]
2 [
124], PtTFPP [
133], PtOEPK [
134,
135], and PtTPTBPF [
136].
Table 3 provides a brief comparison of photophysical properties for four common sensing dyes.
The first commercial photoluminescence-based sensor for oxygen detection was developed by OxySense, also known as O
2xydots
TM which is suitable for packaged vegetables [
13]. The dots have an oxygen sensitive dye that is illuminated with blue light. A photodetector is used to detect red color emissions and measure the fluorescence lifetime [
13]. The fluorescence will depend on the oxygen concentration which will quench the emissions as its level increases. Another popular oxygen sensor that can be used for freshness monitoring is the galvanic cell type. This electrochemical sensor has three main parts: cathode, anode, and oxygen permeable membrane that allow oxygen diffusion from the surrounding to the electrodes (cathode and anode) where oxidation and reduction reactions takes place [
141,
142,
143]. The electrolyte soluble anode will free electrons that will reach the cathode where diffused oxygen will absorb these free electrons. This will allow for current to flow between electrodes depending on the concentration of oxygen diffused. The self-powering property, low cost, and the absence of cross-sensitivity to carbon dioxide are important advantages of these sensors [
141,
142,
143].
A comparison between some of the commercial oxygen and carbon dioxide sensors used in packaged vegetables with respect to principle of operation, typical specifications, and cost is summarized in
Table 4.