Introduction

Humans cannot live without one of their most fundamental needs, which is food. However, estimating the number of COVID-19 cases in 2020 exacerbated the food contamination and food supply issues. These problems make consumers more concerned about food and the need to access accurate information on food quality. To protect the interests and rights of consumers, as well as standardize the food market system, it is crucial to provide an efficient way of determining food safety and quality in the food supply process. In the food industry, food packaging has a significant role in the food supply which acts as a barrier against unwanted substances and preserves the quality of the food [2].

The use of proper packaging can help reduce food loss and waste as well as maintain product quality and safety. However, packaging waste can harm the environment; namely, it can become waste in waterways or become garbage that accumulates because it is nonrenewable and nonbiodegradable. The problem of contaminated food caused by product packaging is also severe. The reason is that, according to the World Health Organization (WHO) in 2017, more than 600 million occurrences of disease and 420,000 deaths are caused by food contamination every year [4]. Therefore, to overcome these challenges of safety, environmental impact, and sustainability, the role of food packaging becomes very important and urgent.

One of the main methods for preserving the quality of food commodities for export, storage, and finished products is food packaging itself [1, 3]. In addition, today's changing consumer lifestyles increase the need for hygiene, excellent, fresh, and ready-to-eat products that have more life span, creating urgency and the demand for the present technology [1, 2]. While some initial indicators, such as color, odor, and texture parameters, are usually considered when evaluating food quality before packaging, it is still quite difficult to evaluate food quality after packaging because of outliers. In such a scenario, the latest food packaging technology is absolutely necessary to enable consumers and packaged foods to communicate with each other through active packaging and smart packaging in real time [65].

Recent advances such as biotechnology, nanotechnology, and material science offer new opportunities within the industry. One of them, Abdus Sobhan et al. (2021) analyze the concept of smart food packaging based on biosensors and biopolymer-based nanocomposites (bionanocomposites) that has piqued the interest of the industrial community in an ever-increasing way [65]. This offer is made to develop packaging materials including product safety and quality, environmental impact, and sustainable packaging. In this review, the author will discuss more details about new technologies applied in the food industry related to packaging issues, which is intelligent packaging (IP) and active packaging (AP).

Food security

Food security is defined by Food and Agriculture Organization (FAO) as “A situation that exists when all people at all times have physical, social, and economic access to sufficient, safe, and nutritious food to meet dietary needs and food preferences for an active and healthy life.” According to this definition, the four main pillars of food security are: availability, access, usage, and stability [5]. However, food security is a multidimensional concept that not only includes the four pillars of food security but also relates to food safety, healthy nutrition, and sustainable food [6].

At first, the concept of food security prioritized availability. There are concerns about the global food crisis caused by increasing hunger because food prices rose sharply in the global market. Although if we look at the history of food security, access, as well as stability, has been prioritized from the start, there is an understanding that the level of food consumption is influenced by market fluctuations which indicates access and stability are important in food security. This is reinforced by the presence of 3 main elements in food security, namely availability, access, and stability mentioned in the FAO Director General's report in 1982. When the necessity of nutrition was recognized, the idea of utilization developed. The ability to use the nutrients in food, such as high-quality protein and micronutrients, has evolved into one of the concepts of food security known as utilization, even though nutrition adequacy remains the foundation of food security [7].

Sustainability in food security refers to the application of a food system where the food demands of the current generation are fulfilled without affecting future needs. Currently, sustainability has become a global concern, where sustainability in food security is influenced by agriculture, alternative food sources, and public policies. Activities related to agriculture contribute to 71% of global water use, of which 15–35% is considered unsustainable. In addition, more than a metric billion tons of food is wasted each year [8, 9].

Active packaging

The term "active packaging" refers to packaging in which additional constituents have been purposefully incorporated into the packaging material. Active packaging improves the system’s performance by discharging compounds or absorbing spoiling agents present in or around the food [10, 11]. The types of AP that are often encountered are scavengers (oxygen scavenger, ethylene scavenger, moisture absorber) and diffusion systems (ethanol emitters, sulfur dioxide emitters, carbon dioxide emitters) [1, 12]. Several studies regarding active packaging can be seen in Table 1.

Table 1 Various smart devices for Active packaging with principles, applications, and results

Scavengers

Oxygen scavenger

In food packaging, the existence of O2 accelerates product degradation and the oxidation of dietary vitamins and fats by stimulating microbial activity. Poor taste, bad odor, discoloration, and nutrient degradation are some of its consequences on food. The main methods of oxygen scavenging are iron-, platinum-, and palladium-based metals, tocopherols, unsaturated hydrocarbons, ascorbic acid, enzyme-based scavengers, and microorganisms.

Nano-iron in humid conditions as well as anhydrous environments can lower oxygen concentration from 20.95 vol% to 9.45 vol% in a day. In this case, palladium plays a vital role that changes oxygen into water in the presence of hydrogen. On the other hand, this system is used for an altered atmospheric environment with the existence of hydrogen in it. This system has a high scavenging rate, i.e., the oxygen concentration decreases from 2 vol% to 0.47 vol% in 2 minutes. Unsaturated hydrocarbon scavengers are a very suitable choice for dried food. However, the creation of by-products like ketones, aldehydes, or organic acids will degrade the food's sensory quality. The solution to this issue is the introduction of a protective layer that must be activated by UV light or transition metal catalysts in order to avoid the transfer of by-products.

Tocopherols, ascorbic acid, microorganisms, and enzymes are several scavenger systems that have a slow scavenging rate. As alternatives to nano-iron, tocopherols and ascorbic acids are natural forms of vitamins E and C that are applicable for food packaging. However, they must be activated by UV light, light, or transition metals and are more expensive than nano-iron. The enzyme catalase is needed to change the hydrogen peroxide produced by the enzyme-based system into water. However, when exposed to temperature changes, acidic conditions, or storage, these systems are very likely to get denatured. Additionally, microorganisms are also temperature labile, but microorganisms can be properly immobilized to counteract this. Primary application of oxygen scavengers is controlling mold growth and food products frequently use oxygen scavengers to absorb extra oxygen [1, 13].

Ethylene scavenger

Fruit and vegetables discharge ethylene, which is related to the growth, ripening, and germination processes [14, 15]. The nature of the fruit, the state of ripeness, and the degree of exposure of the fruit to ethylene govern the specific role played by ethylene. Although ethylene plays a role in accelerating fruit ripening, this ripening can be excessive or even lead to spoilage. This is certainly a disadvantage such as reduced shelf-life, demands for long-term food quality maintenance, and increased food spoilage. Therefore, post-harvest utilization to slow fruit and vegetables ripening can utilize ethylene synthesis inhibitors or scavengers [16]. Potassium permanganate (KMnO4) is the basis of the most commonly used ethylene scavenger system through the oxidation process to access ethylene (C2H4). Immobilized KMnO4 on silica gel or alumina is applied in several scavenging systems. Alumina serves as a permanganate carrier as well as an absorbent layer that retains ethylene molecules. Ethylene (C2H4) is oxidized by KMnO4 to produce carbon dioxide (CO2), water (H2O), manganese dioxide (MnO2), and potassium hydroxide (KOH) [17]. The general stoichiometry of the ethylene oxidation reaction is:

$${\text{3C}}_{{2}} {\text{H}}_{{4}} + {\text{12KMnO}}_{{4}} + {\text{2H}}_{{2}} {\text{O}} \to {\text{6CO}}_{{2}} + {\text{2H}}_{{2}} {\text{O}} + {\text{12MnO}}_{{2}} + {\text{12KOH}}$$

Indian scientists (Raje et al., 1997), respectively, used Ethysord to extend mango shelf-life to 32–36 days, proving that it was effective in preserving mango color and flavor of mangoes up to 16 days. To inhibit the hormonal action of ethylene by competing with ethylene for ethylene receptors, 1-methylcyclopropene (1-MCP) is commonly used endogenous ethylene inhibitor, mainly by inhibiting the synthesis of ethylene in fruit [10].

Several methods, such as low temperature [15, 18], controlled atmosphere storage [19, 20], usage of hydrogen sulfide [21], pickering emulsion coating [22], and LED lighting [23], have advanced in various ways to preserve post-harvest goods from the consequences of ethylene. Several other types of ethylene scavenger are activated carbon, zeolite, ZSM, etc. Recently, there has been an increasing demand for new ethylene scavenging materials for use in the manufacture of plastic films for packaging fresh produce. When selecting ethylene sequestration materials, the capacity, stability, safety, and price of the fresh produce packaging system must be considered (Table 2). Concerns include migration of packaging materials into food products, tearing of sachets, and transfer or leakage of scavenger material from sachets and subsequent contamination of food. Besides issues challenging the use of this system (marketability, environmental safety issues, and consumer acceptance), appropriate cost benefit considerations also become very important [24]. Further research is needed to address the above issues and problems in the field of ethylene scavenging packaging materials to offer a safer and more cost-effective packaging system without compromising food shelf-life extension [1, 16].

Moisture absorber

One of the most damaging factors in food problems and harmful effects is the presence of moisture, where this will affect the storage of raw materials and products; for example, the water activity contained in food is high enough to accelerate the growth of fungi and bacteria, which in turn reduces the quality of the food and the nutrient content in it [25]. On the other hand, there are several main causes that can accelerate the spoilage of food products such as the nature of the product itself (oxygen content, moisture content, water activity, pH, composition, nutritional composition), process conditions, storage conditions, packaging properties (carrier gasses, UV carrier, thermal stability, antioxidant, mechanical properties, antimicrobial activity).

Diffusion systems

Ethanol emitter

Ethanol emitters release ethanol vapor into the package headspace to inhibit the growth of the mold. As an antimicrobial, ethanol will reduce spoilage and extend the vegetables and fruits shelf-life during handling, storage, and retail. Known as a traditional preservative with strong antimicrobial activity, it can be directly sprayed onto the product or inside the packaging in the form of an ethanol emitter [26]. Several commercial ethanol release systems are available that are made by direct adsorption of ethanol onto adsorbents such as silica. Ethanol is usually used in liquid form, which has a high and uncontrolled evaporation rate. In Japan, ethanol production is commonly used in baked products because it can slow down the mold growth process, which in turn increases shelf-life, such as breads, cakes, pastries, and pizza dough [27].

Ethicap® is one example of an ethanol emitter, a heat-sealed sachet composed of food-grade alcohol adsorbed onto silica powder. It has several advantages: (1) no chemical preservative required; (2) in sachet form, easy to make; (3) there is no need to spray the ethanol solution directly onto the product to generate ethanol vapor; (4) it is not expensive [28]. One of the main disadvantages of using them as an active form of packaging is their uncontrolled release rate of and high volatility, which quickly leads to low consumer acceptance [2, 29].

Sulfur dioxide emitter

In general, the emission of SO2 works according to the mechanism of hydrolysis of metabisulfite and the reaction of calcium sulfite with water vapor [27]. The addition of sulfurdioxide (SO2) has been observed beneficial in stopping the shelf-existence of a huge variety of agricultural products such as walnuts, coconut, cabbage, peppers, squash, tomatoes, peas, beans, carrots, and potatoes. In addition, sulfur dioxide emitters have been used on wine packaging to prevent the growth of mold. Two different SO2-release films were used to package white and purple wines to study their impact on wine spoilage and quality. After 4 days of storage at 21 °C, it was observed that the sulfite content in purple grapes was lower than in white wine, although SO2 was higher. A polymer for the controlled release of SO2 must be used here in order to achieve inactivation of fungi without adverse effects on food [2, 27].

Carbon dioxide emitter

Carbon dioxide (CO2) is a gas molecule dissolves in the water phase and fet phase of food, producing carbonic acid and food acidification at the same time. CO2 is well known for its antimicrobial properties and is widely used in the food industry for food preservation and shelf-life extension. It interacts through a complex series of reactions that include changes in bacterial cell membranes, inhibition of bacterial enzymes, and changes in cytoplasmic pH [30]. This leads to a prolongation of the lag phase and inhibition of bacterial spoilage [27]. The optimal ratio in the modified atmosphere packaging (MAP) between the product volume and headspace (g/p ratio) is 2/1 or 3/1. The high amount of CO2 allows for effective diffusion of the gas with the product and prevents deformation of the packaging (due to the absorption of CO2). However, a high g/p ratio causes a large package size, resulting in reduced distribution efficiency, an increase in packaging materials and packaging gasses which cause environmental pollution [12]. Also in the form of sachets, CO2 emitters are mainly used for packaged fish, fresh meats, and vegetables [31].

The commonly used CO2 release technology involves two active substances, namely organic acids (citric acid) and sodium bicarbonate (NaHCO3) [30]. The reaction starts when the liquid (of the food) comes into contact with the active substance and dissolves it. The acid lowers the pH of the system to a level where the sodium bicarbonate buffering system shifts to the formation of carbonic acid and undissociated carbon dioxide. Le Chatelier's principle states that when a liquid is introduced into the system, the pH drops and carbon dioxide production begins.

The concept commonly used is to apply dry powder of baking soda and citric acid in a specific amount and ratio to a liquid absorbent pad. The pads are placed under the food product and serve as a liquid absorber and CO2 generator. In practice, this process is easy to apply in production and often does not require any additional steps in industrial packaging. The advantage of this CO2 emission system is the flexibility to adjust the ratio between the active ingredients to provide a pH of, which corresponds to the pH of a specific food product [12]. Another CO2-emitting system is a combination of ascorbic acid and sodium bicarbonate. Ascorbic acid is known for reducing properties and is thought to have a dual role in this system, as an acidifier, promoting the formation of CO2 and also as an O2 scavenger. The antioxidant effects of ascorbic acid may also be beneficial in the packaging of high-fat foods as it slows down lipid oxidation and the development of rancid taste and odor, resulting in quality degradation [30].

Commercial CO2 emitters based on citric acid and sodium bicarbonate currently on the market are CO2 Pad (Cellcomb AB, Säffle, Sweden), Superfresh (Vartdal Plastindustri USA, Vartdal, Norway), and CO2 Freshpads (CO2 Technologies, Iowa, USA). The combination of ascorbic acid and sodium bicarbonate can be found in VerifraisTM (SARL Codimer, Paris, France) CO2 emitters [30].

Table 2 Some Active Packaging techniques available commercially

Smart packaging

The concept of smart packaging has become an exciting topic in the food packaging industry. In general, smart packaging increases the safety and quality of the food by adding one or more intelligent agents (such as detectors, sensors, or trackers) to transmit food quality information and make decisions to extend shelf-life, gather information, and also warn of food problems using various intelligent techniques [32,33,34]. TTI (time-temperature indicator), repeat index, freshness indicator, coloring indicator, barcode, and radio frequency identification (RFID) are key components of smart packaging on the market [65]. Several studies regarding smart packaging can be seen in Table 3.

Table 3 Various smart devices for Intelligent or Smart food packaging with principles, applications, and results

TTIs and RFID are two well-known components among these parts. Temperature and time profile can be used to measure changes in food's physical properties with TTIs. The TTI devices can only be used in frozen food products, so their application is limited. RFID is one of the smart packaging materials that monitors wireless communication between tags, readers, and computer systems in the packaging of products. RFID is preferable to barcodes because it allows for remote control so that multiple items can be monitored simultaneously without requiring line of sight [65].

An RFID tag is made up of a tiny transponder and antenna with a unique number or alphanumeric order in a basic RFID system; a reader uses radio waves to get the data from the RFID tag. The data are then sent to a host computer, which might be more connected to the local network or the internet, where it is analyzed and a real-time database server makes decisions. The fact that RFID tags cannot be reused, make them unprofitable for the food industry, and that their market prices are significantly higher make them unsuitable for commercial use in food packaging applications. As a result, research is urgently required to develop less expensive and reusable smart food packaging components and to increase market opportunities [65].

Data carrier indicator

Sensors

Sensors are electronic devices that collect information from an object and convert it from one signal form to another usable form using a converter [2, 35]. The sensor device consists of control and processing electronics along with an interconnected network and software that provide signals to detect or measure physical or chemical properties to which the device responds. Sensors can detect, localize, or measure energy or matter [36]. In general, a sensor includes 3 purposeful parts, a sensing component, accompanied through a sign conditioning component (sign processing component), and subsequently an interface component that shows the measured residences. The first component factories bodily or chemical residences and commonly converts them into electric signals. The sign conditioning unit methods the ensuing sign. In this unit, the sign is amplified, linearized, and scaled. The remaining components may be adapters, easy mechanical connectors, Wi-Fi sensors, and others. Electronic gadgets are used withinside the remaining sections in maximum of the cases [37]. For example, in chemical sensors, the sensor component is commonly covered with a chemical layer. If there may be a chemical alternate on this layer because of dissolution with a substance or different substances, the residences of the sensor component alternate. In other words, upon a pH alternate, the sign processing phase gets the power alternate from the sensing phase and converts it right into a beneficial electric sign. Then the remaining phase shows the changes [1].

Sensors and markers are capable of degree physical, chemical, or organic variables, and among them, fueloline sensors and biosensors, and chemical sensors are broadly applied withinside the meals packaging industry. The structures used on this sort of packaging are used withinside the shape of labeling, including packaging materials, or printing on meals and permit clients to manipulate quality, song important points, and acquire records approximately the packaging [36]. Sensors are taken into consideration to be the maximum promising generation for the improvement and development of destiny clever packaging structures [1].

Biosensor

A biosensor is a tool able to detect a particular organic evaluation and change its presence or awareness into diverse optical, thermal, electric or different alerts that may be without difficulty analyzed [2]. Biosensors consist of biologically identifiable elements such as antibodies, enzymes, hormones, antigens, nucleic acids, phages, and signal transduction elements such as acoustic, optical amperometry, and electrochemical sensors that are linked to data acquisition and monitoring systems. Biosensors are used to capture, record, and transmit records of approximately organic reactions. Biosensors encompass bioreceptors and transducers.

Commercial biosensors for meal pathogens were developed. Certain antibodies bind to biosensor receptors and are capable of discovering microbes and organic retailers in meals packaging [39,40,41]. In the food packaging industry, particularly in the fish and meat industry, biosensors are implemented to pathogen detection and protection systems. For example, there is a biosensor developed by toxin alert called toxin guard. It is based on antimicrobial antibodies that are integrated directly into the plastic packaging in which food is packaged. Contaminants bind to detector antibodies and are detected by visual signals, allowing detection of pathogens such as Listeria, Salmonella, Campylobacter, and E. coli [33, 36].

Fresh foods are those that haven't been spoiled and preserved yet. This term refers to fresh foods that have just been harvested and treated in the case of fruits and vegetables; the freshness of food indicates that it was recently slaughtered and butchered in the case of meat; freshness in food refers to fish that has just been caught or chopped and kept cold. The target metabolites produced by food spoilage are being monitored by the biosensor, which is intended to evaluate food freshness [65].

Chemical sensor

In chemical sensors, the receptor is a selective chemical capable of detecting the presence, activity, composition, and concentration of chemical particles or gaseous analytes. The sensor undergoes chemical interactions between the substrate and the analyte molecules, which are further used for sensing/detecting applications. When the presence of a chemical is confirmed, the transducer converts it into a signal. The active and passive transducers rely upon the outside power required for measurement [42]. Chemical sensors that may be used consist of carbon nanomaterials together with graphene, nanoparticles, nanofibers, and nanotubes due to their extraordinary mechanical and electric properties. In their application, those chemical sensors are used to hit upon pathogens, spoilage, chemical contaminants, and meals fraud [2, 33] (Figs. 1 and 2).

Fig. 1
figure 1

Ethylene oxidation reaction by KMnO4 [17]

Fig. 2
figure 2

Representation of the functional principle and the components of the sensor [38]

Gas sensor

Gas sensors are designed to detect and indicate the presence of volatile gasses or compounds such as oxygen, carbon dioxide, amines, and other particular gasses. The gas sensor must always be in contact with the food and atmosphere in the package. Studies on the production of CO2 sensitive smart packaging films have recently been carried out [43,44,45]. As the level of CO2 gas in the headspace of the package increases, the color of the film will change to provide a visual indication of the quality of the packaged food. So these indicators can closely monitor changes in food quality that are not visible to consumers to produce visible changes. The three parts of a gas sensor are: a sensing electrode that is also a working, counter, and reference electrode all at once. A reference electrode is used to keep the working electrode's potential constant, and the counter electrode is separated from the working electrode by a thin layer of electrode. First, gas comes into contact with the working electrode after passing through the hydrophobic barrier. A gas sensing component in the working electrode responds to the desired gas and generates an electrochemical signal. The sensing electrode is used to measure the level of CO2 gas using carbon dioxide sensors, one type of gas sensor. Figure 3 depicts the gas sensor's concept for detecting CO2 materials within food packages. Gas sensors are superior to conventional sensing techniques because they can be used in a hazardous area, are specific to the gas molecules being targeted, and are unaffected by electromagnetic interferences [65].

Fig. 3
figure 3

The fundamental principle of a gas sensor for detecting CO2 (gas) after food spoilage [65]

Carbon dioxide is the primary product from microbial metabolism. Food spoilage and fermentation sometimes occur because of fluctuations within the external environment. Changes in food quality are among the assembly of CO2 by the expansion of microorganisms. Once selecting fruits and vegetables, the respiration rate of fruits and vegetables suddenly increases, which releases massive amounts of carbon dioxide, particularly in the amount between growth and aging. Therefore, the freshness of some foods depends on the carbon dioxide concentration in the packaging [46]. Volatile alkaline nitrogen is a more suitable type of indicator to indicate the freshness of aquatic products than meat products because less acid is produced in aquatic products and microbial growth is more favorable for enzymatic autolysis because it is more susceptible to decay to produce volatile alkaline nitrogen properties.

When poultry meat, some fruits, and vegetables are decayed, it produces large amounts of sulfide, which can be used as an indicator of freshness due to the physical and chemical properties of sulfides [47, 48]. During the decomposition of chicken meat, hydrogen sulfide is produced through Pseudomonas which binds to myoglobin in the meat to form green pigment sulfur protein, sodium phosphate as a buffer, and agarose gel as a buffer. The released hydrogen sulfide causes the color of the indicator placed on the top of the chicken package to change color from brown to green [47].

Barcode

The barcode is an optical symbol in the form of numbers and characters in the form of a barcode that can be read by an optical barcode scanner and then sent to a central system. Barcodes can be divided into two types, namely linear one-dimensional barcodes and two-dimensional barcodes. Conventional (one-dimensional) barcodes that are commonly found are in the form of black vertical bars printed on a white background with the size and spacing of the barcodes being wide and narrow. How to measure it is to record the width of the line per mile as well as the blank distance left and right of the barcode character to ensure the authenticity of the barcode reading. The one-dimensional formats European Article Numbering (EAN), Universal Product Code (UPC), Code 99, and Code 128 are well known in all supermarket products (US barcodes and RFID reports). One-dimensional food barcodes typically consist of 13 digits, with the first three digits representing the country where the barcode is manufactured [49]. Barcodes were first invented in the seventh decade of the last century by large retail and grocery stores to manage their products. The use of barcodes in the modern era has often been encountered because the cost is very small and its use is very simple.

Over time, the need to store more information in the barcode was finally found in the two-dimensional barcode format [50]. This two-dimensional barcode format was first introduced in 1988 by the Intermec company (Everett, Washington, USA) with a code structure consisting of a collection of black and white boxes. The difference between one-dimensional and two-dimensional barcode formats, apart from their shape, is in the information stored in them. In a one-dimensional barcode, the information stored is only about 2953 bytes or about 10–13 characters. The two-dimensional barcode can store information of 4296 alphanumeric characters and 7089 numeric characters. Two-dimensional barcodes that we often encounter are QR code formats, PDF 417, and data matrix.

For example, in the problem of detecting spoilage in chickens. A series of color-based sensors made of silica beads has been further developed and modified as bar codes with the help of three dyes. The three dyes, namely Nile Red, methyl red, and zinc tetraphenylporphyrin in three different geometric shapes. The detection is based on the separation of red, green, and blue dyes and can be read out by the integrated application on the smartphone. The approach is inexpensive, and the manufacturing process is simple [51]. If pathogenic bacteria grow on the packaging during the storage period, the barcode can detect this, discolors, and makes the barcode illegible [35] (Fig. 4).

Fig. 4
figure 4

Some barcode models in general (All codes are created by the author, https://barcode.tec-it.com/en)

Radio frequency identification (RFID)

RFID tag is an advanced technology in the form of a chip that can identify electronic information on the package that contains an antenna for data retrieval, a reader for data transmission and analysis, and a responder for responding to data information [52]. RFID tags have several advantages such as noncontact ability, data collection through nonmetallic materials, large data storage capacity, rapid identification of multiple products, traceability, cost-effectiveness, can monitor food freshness by measuring moisture and corruption products, noncontact capability, line of sight to collect real-time data, promote quality and safety, and much more so that RFID tags are often applied to food packaging or can be combined with other intelligent technologies [40, 53]. A simple illustration of the RFID system can be seen in Fig. 5.

Fig. 5
figure 5

A standard RFID system parts [65]

When compared to barcodes, RFID costs are more expensive and also requires a stronger network. However, RFID has a larger operating range and the reader can also read RFID tags at the same time. To read and write data remotely, the RFID system uses electromagnetic and electronic signals [54]. The frequency ranges used by RFID technology are low frequency (9 to 135 kHz), high frequency (13,553 to 15,567 MHz), amateur radio band (430 to 440 MHz), ultra-high frequency (860 to 930 MHz), and microwave frequencies (2.45 and 5.8 GHz) [55]. RFID tags have three different modes: active, passive, and semi-passive. Battery powered active tags have the advantages of longer range and higher operating frequency. On the one hand, however, it has a downside, which is the high price, which ranges from $20 to $100, large size by battery, and short battery life. While the passive tag works without power supply, it uses the signal received from the reader as power supply. Therefore, the reader must send a strong signal and the tag must send a weak signal to the reader. However, they only send a signal when they are in the field of the reader. Passive tags have the advantage of being cheaper (10 cents), smaller, and much more durable than active tags. However, passive labels are more expensive than 1 cent barcode labels. Semi-passive tags behave in the same way as passive tags when transmitting signals, but only use battery power to operate the microchip circuitry.

There are classifications of RFID tags from another perspective, namely read-many (WORM), read-only, electronic erasable programmable read-only memory (EEPROM), read-write and write-once, tags based on the ability to read and write [55, 56]. Consequently, the RFID system consists of two basic components: transponders (tags or contactless cards) and readers depending on the technology used, may be read-write devices or read-only devices [57]. In the food and retail industry, simple devices (RFID tags) are attached to food products. This device communicates with the RFID reader using a wireless signal. Readers can receive information from several nearby tags. More specifically, the interrogation signal generated by the reader is transmitted from the antenna to the environment. This signal beats the tag, which includes every other antenna linked to a unique digital circuit that consists of facts approximately the product in a unique memory. In reaction to the reader's sign, the tag generates a reaction sign that consists of product facts despatched with the aid of using the reader and obtained back [58].

Chen et al. [30] proposed a scheme of application of the device as a food qualification system which may be visible withinside the example in Fig. 6. Chen et al. [30] also suggested including colorimetric dyes that can detect other antennas connected to special electronic circuits that keep statistics approximately the product in a unique memory. In reaction to the reader's sign, the tag generates a reaction sign containing product statistics that are dispatched, returned, and acquired through the reader. To system and alternate records transmitted among the reader and the tag, the reader is normally linked to a number laptop, community laptop, or microcontroller.

Fig. 6
figure 6

Device application scheme as a food qualification system [59]

The largest technical task of RFID generation is the shortage of reliability withinside the retail market. Due to the interference of the high water content material in the human body, it is very difficult to read the ultra-high-frequency label near the participant [60]. It is not clean to study labels packaged on foodstuffs with massive quantities of liquid or in steel boxes due to the fact that steel displays signals. The loss of a worldwide trendy frequency prevents using RFID generation for diverse applications. RFID tags are much more high priced than barcode tags, so this hassle makes it uneconomical to put in force this generation of objects on the market to the public. With the emergence of the latest production technology withinside the future, the very last fee will now no longer be reduced, as a way to guide the good-sized adoption of RFID generation [60]. Recycling and pollutants issues, in addition to protection issues, are different demanding situations in enforcing this generation. For example, nonpublic data consisting of stock and delivery information may be stolen via means of unauthorized vendors who can experiment tags for access.

Time–temperature indicator

Time–temperature indicator is an easy and cheaper tool placed on consumer packages or packages that aims to determine changes that occur depending on temperature over the years alongside the meal delivery chain from packaging to consumption [2, 38, 40]. The simple working precept of TTI is primarily based totally on irreversible mechanical, chemical, enzymatic, or microbiological adjustments of meal merchandise beneath neath better temperatures. These adjustments are generally expressed as a seen reaction withinside the shape of mechanical deformation, color improvement, or color movement. The bodily or chemical reaction via means of TTI is the end result of bodily adjustments or chemical reactions, inclusive of fusion, polymerization, acid-base reactions, etc., while the organic reaction is primarily based totally on adjustments in organic activity, inclusive of microorganisms, spores, or enzymes over the years or adjustments in temperature. Since the charge of organic alternate is time-temperature dependent, the cumulative seen TTI reaction displays the time-temperature records of the accompanying product [36].

TTI is currently the most commonly used system in packaging as it is easy and the reaction does now no longer rely upon the character of the meals or the attention of chemical materials however on positive temperature versions whose facts can be understood by consumers regarding food quality [38, 59]. In its application, TTI has been developed and applied to dairy products, fish and other seafood products, frozen foods, and cold meats [35]. Currently, few examples of TTIs on the market are 3M™ MonitorMark™ (USA), Fresh-Check® (USA), CoolVu™ (Switzerland), CheckPoint (Sweden), Tempix® (Sweden), ColdSNAP Temperature Recorders, ShockWatch, ThermRF Logger, Timestrip® (UK), VarioSens®, and WarmMark Time-Temp Tag, etc [38, 40] (Fig. 7).

Fig. 7
figure 7

Examples of time–temperature indicators: a Monitor Mark™ by 3 M (USA) (http://3m.com); b Fresh-Check® by Lifelines Technologies Inc. (USA) (http://fresh-check.com/); c CoolVu™ by Freshpoint (Switzerland) (http://www.freshpoint-tti.com/product/coolvu.aspx); d Checkpoint® by Vitsab International AB (Sweden) (http://vitsab.com/index.php/tti-label/); e OnVu™ by Freshpoint (Switzerland) (http://www.freshpoint-tti.com/links/default.aspx); f Tempix® by Tempix AB (Sweden) (http://tempix.com/the-indicator/); and g Timestrip® by Timestrip Plc (UK) (http://timestrip.com)

Natural color formulation indicator

The changes in food quality can be monitored in real time using natural pH-responsive indicator films, which are typically utilized in smart packaging. The natural-based pH-responsive colorimetric indicator films have a growing population and good pH sensitivity, indicating food quality in a safe and environmentally friendly manner. Natural pigments and polymer carriers have recently shown great promise for pH-responsive indicator-based smart packaging. Natural pH-sensitive indicator films, which are one of the most important components of smart packaging, can be made using natural pigments and polymer carriers extracted from waste peels, seeds, roots, and even pulps. The compositions and properties of pH-responsive colorimetric indicator films are depicted in Fig. 8.

Fig. 8
figure 8

Advantages and composition of pH-responsive colorimetric indicator films [116]

Natural pigments have gradually replaced synthetic chemical pigments with pH-sensitive properties due to their negative effects on the environment and toxicity. Most of the time, natural pigments like anthocyanins, carotenoids, chlorophylls, and other natural pigments are used as food indicators. These natural pigments can not only show changes in a food's quality but also improve certain characteristics of the food, like its ability to fight bacteria and protect against free radicals. To meet the requirements of pH-responsive food packaging, natural pigment dye penetration, and color rendering range as food indicators need to be improved. Due to the advantages of degradability and renewability, there has also been an increase in research into natural polymer carriers like starch, gum, and chitosan to replace petroleum-based polymers. However, the natural polymers still had a few flaws, such as their low suitability, high brittleness, low toughness, and high sensitivity to water. To enhance the properties of the film, plasticizers or nanomaterials must be added in addition to pigments and polymer carriers [116, 117].

Natural pigments are frequently utilized in intelligent packaging, particularly for monitoring food freshness because of their abundant source, accessibility, safety, wide indicating range, and favorable pH response, among other benefits. As depicted in Fig. 9, the idea is that the color of the natural pigment is related to the quality of the food because of changes in the concentration of certain gasses (like CO2 and ethylene) in fruits and vegetables or volatile substances (like TVB-N and H2S) in meat products during storage, which can give consumers information about how fresh the food is. This is due to the fact that as food deteriorates, the accumulation of these gasses or volatile substances causes the packaging environment's pH to change, affecting the color of pH-responsive pigments and indicating food quality [116, 118, 119].

Fig. 9
figure 9

The illustration of the natural pH-responsive colorimetric indicator film as a schematic [116]

Natural pigments' characteristics, storage conditions (light and heat), and appearance of indicator films are just a few of the other considerations that must be made before using them effectively. Due to their unique pH sensitivity, low stability, and varying solubility, natural pigments' characteristics are generally regarded as limited. The most common categories for natural pigments are anthocyanins, carotenoids, betalains, chlorophyll, and curcumin [120]. In smart packaging, the pH-responsive colorimetric indicator film plays a crucial role in displaying color changes that are irreversible and easy to see and indicate changes in the storage environment or food quality. As depicted in Fig. 10, tape casting, thermocompression, or casting are the most common methods for preparing pH-responsive films. The pigment is combined with the polymer carrier to form a film-forming solution after it is dissolved in a suitable solvent. The film-forming solution is directly poured onto a flat plate during the casting process to ensure uniform solvent evaporation. Film-forming solution is heated and extruded into a shape for thermocompression. In terms of tape casting, the process involves directing the film-forming solution through a casting machine. The thermocompression method and tape casting are both suitable for industrial production, but both are limited by the negative impact of heat treatment on pigment activity [35, 121, 122].

Fig. 10
figure 10

Natural pH-responsive colorimetric indicator film preparation process [116]

Initially, paper materials or plastic films were used as indicators to measure the freshness of food because they contain natural pigments. Natural pigments are getting more attention because they have advantages, namely in terms of safety and their effects on the environment [61]. However, this material still has drawbacks; namely, sometimes harmful substances are still found in it. To overcome this problem, several materials that have met the qualifications of a good freshness indicator are able to overcome this problem, namely materials that have been prepared with natural polymer as a carrier.

All materials that have met the qualifications of a good freshness indicator are biodegradable and also safe when in direct contact with food. Natural polymer carriers such as these usually contain protein carriers, polysaccharide carriers, and composite membrane carriers [62, 63]. Natural polymer materials containing polysaccharide carriers are commonly used because of their relatively low-cost, long storage time, chemical stability, and also the availability of abundant sources. Due to their strong gel action, polysaccharide carriers can also form films with loose network structures through their hydrogen intermolecular bonds [64].

The films were characterized for purposes of physicochemical analysis, morphological structure, thermal and barrier properties, antioxidant activity, and color change at different pHs. With that in mind, the color variation of smart films is completely pH dependent [76]. For example, anthocyanin extract was used to prepare intelligent gelatin films, which were prepared using the casting method from gelatin extract, glycerol, butterfly pea anthocyanin (BPA), or resazurin, at pH 6. The results showed that the gelatin film prepared with BPA extract had a dark blue color, while the film with resazurin is violet/purple in color [75].

The use of polymer in smart packaging

Biocompatible and biodegradable polymers, including natural and synthetic polymers, are thought to be viable options aimed for food packaging materials given the growing concern about food security and food quality [91, 92]. The development of active food packaging materials attracted significant interest in a number of natural biopolymers and synthetic polymers. In conclusion, polysaccharides including starch, pullulan, alginate, chitosan, cellulose, and cyclodextrin as well as protein-based polymers like gelatin, zein, silk fibroin, wheat, whey, and marine sources proteins are frequently used in food packaging (Table 4). Additionally, the bacterial biopolymer (3-hydroxybutyrate-co-3-hydroxyvalerate, or PHBV) is a common material used to create packaging nanofibers [93]. However, the poor mechanical qualities and unstable physiological circumstances of natural polymers limited their use. Contrarily, synthetic polymers such as poly (vinyl alcohol) (PVA), poly (ethylene oxide) (PEO), poly (vinyl pyrrolidone) (PVP), poly (ε-caprolactone) (PCL), poly L-lactic acid (PLLA), and poly (lactic acid)-(glycolic acid) (PLGA) are the most widely used polymers for electrospinning due to their feasible tunability, good spinnability, and mechanical properties. As a result, the synthetic polymers can compensate for the shortcomings of natural polymers applied for electrospinning. A simple way to modify the physicochemical characteristics of nanofibers and give them multipurpose capabilities is to blend polymers. For example, the blending of chitosan with synthetic PVA polymers improved the spinnability of chitosan, mechanical, and thermal properties [94]; the blending of protein and carbohydrates can overcome the limitations of poor mechanical properties and permeability, as well as avoid the usage of cross-linkers [95].

Table 4 Electrospinning nanofibers from natural biopolymers and their applications in food packaging [96]

Conclusions and future prospects

Customers' choices are significantly influenced by both product quality and packaging, according to a number of studies. The market is presented with new opportunities by innovative packaging technologies that offer numerous advantages to both the industry and consumers. Customers have been interested in active and smart packaging, such as bio-nanocomposites and biosensors. Due to its potential to extend a product's shelf-life and improve food safety, active packaging, such as antimicrobial packaging and MAP, has received a lot of attention. From a business standpoint, active packaging technology is utilized extensively in the home meal industry, whereas intelligent packaging technology is gradually expanding in cold chains that handle chilled and deep-frozen food. In order to create a packaging technology of the next generation, other related trends must be taken into account and incorporated. As modern consumers seek to lessen their overall impact on the environment, recent global environmental issues like marine pollution and climate change have pushed the packaging industry toward the use of eco-friendly, recyclable, and biodegradable materials. The recent market has been energized by the emergence of printed electronics and applications for smartphones. A smart tag on the packaging allows customers to obtain useful digital data, such as the nutritional value, shelf-life, and real-time quality of the product. A touchless environment and emerging technologies like QR codes, drone delivery, and robotic systems, for example, have the potential to boost consumer confidence in purchasing. The food manufacturers can use these technologies as marketing tools and differentiate their brands in addition to the benefits they provide to customers. Continuous research and development can contribute to a wider adoption of these technologies in the near future, despite the main constraints of cost and technology integration.