Design and Implementation of a Smart System to Control Aromatic Herb Dehydration Process

: Drying is a process aimed at reducing the water content in plant materials below a limit where the activity of microbes and decomposing enzymes deteriorate the quality of medicinal and aromatic plants. Today, the interest of consumers towards medicinal and aromatic herbs has registered a growing trend. This study aims at designing a low-cost real-time monitoring and control system for the drying process of aromatic herbs and evaluating drying e ﬃ cacy on the microbial community associated with the studied herbs. Hot-air drying tests of sage and laurel leaves were carried out in a dryer desiccator cabinet at 40 ◦ C and 25% relative humidity using three biomass densities (3, 4 and 5 kg / m 2 ). The prototype of the smart system is based on an Arduino Mega 2560 board, to which nine Siemens 7MH5102-1PD00 load cells and a DHT22 temperature and humidity sensor were added. The data acquired by the sensors were transmitted through Wi-Fi to a ThingSpeak account in order to monitor the drying process in real time. The variation in the moisture content of the product and the drying rate were obtained. The system provided a valid support decision during the drying process, allowing for the precise monitoring of the evolution of the biomass moisture loss and drying rate for laurel and sage. The three di ﬀ erent biomass densities employed did not provide signiﬁcant di ﬀ erences in the drying process for sage. Statistically signiﬁcant di ﬀ erences among the three tests were found for laurel in the ﬁnal part of the process. The microbial loads of the aromatic herbs after drying were inﬂuenced by the di ﬀ erent leaf structures of the species; in particular, with laurel leaves, microbial survival increased with increasing biomass density. Finally, with the drying method adopted, the two species under consideration showed a di ﬀ erent microbial stability and, consequently, had a di ﬀ erent shelf life, longer for sage than laurel, as also conﬁrmed by water activity (a w ) values.


Introduction
In the last few years, the interest of consumers towards aromatic and medicinal herbs has registered a growing trend both in terms of product types and consumption [1]. In the past, these plants mainly concerned the derivatives and ingredients industries, while today we are witnessing a growing use in different sectors, such as functional food (nutraceutics) or infusion drinks (herbal teas) and bio-ecological cosmetics [2].
Plants from historical times are applied for fitness in addition to the supply of drug treatments; regarding the fact that 80-85% of the world-wide population depends on ancient medicines [3][4][5]. Furthermore, since ancient times, aromatic plants have been used in food preparation, not only to ameliorate the taste and flavor of the final products, but also as preservatives, due to their antimicrobial properties [6,7].
From these studies, it appears that temperature control during the drying process is of fundamental importance for the quality of the final product. In fact, in recent years numerous studies have been carried out on the application of modern systems to control and monitor the main environmental parameters [25][26][27].
The aim of this study was the design of a low-cost real-time monitoring and control system for the drying process of aromatic herbs inside a dryer desiccator cabinet. During the process and at the end, microbiological analyses were carried out on biomass samples to evaluate the stability achieved in the dried product.

Plant Material
The texts were carried out in June 2019. The biomass was harvested from plants of the campus area of the Department of Agricultural, Food and Forest Sciences, University of Palermo, Italy (N 38 • 06 28 , E 13 • 21 00 , 31 m asl), where two experimental plots were selected (20 m × 20 m each). The climate of the area is Mediterranean with mild and humid winters and hot and dry summers; the climate is classified as Csa, according to Köppen and Geiger (hot-summer Mediterranean climate). The average temperature is 18.4 • C and the average annual rainfall is 605 mm. The soils have a sandy clay texture (Aric Regosol, 54% sand, 23% silt and 23% clay) with a pH of 7.6, 14 g kg −1 organic matter, 3.70% active limestone [28].
The sage (Salvia officinalis L.) was taken from 5 year-old plants, with a shrubby creeping habitus in a planting layout of 1 × 2 m; the apical leaves were collected using scissors.
The laurel (Laurus nobilis L.) plants had a shrub habitus, were 1 m high, 5 years-old, and had a planting lay out of 1 × 2 m. Using pruning shears, 1-2 year-old branches with leaves of about 0.30-0.40 m long, were taken.
The collected material was immediately transported to the laboratory, placed in polyethylene vented crates and put inside the drying chamber after about 1 h from harvest.

Drying
Hot-air drying tests of sage and laurel leaves were carried out in a dryer desiccator cabinet (KW Apparecchi Scientifici s.r.l, Italy). The cabinet is entirely made of AISI 304 stainless steel, it has 95 × 60 × 150 cm internal dimensions, equipped with two split opening doors with sealing. It is 1250 W powered and the temperature ranges from +5 • C above ambient temperature to 130 • C, controlled by means of a thermostat. The dryer desiccator cabinet is also equipped with a ventilation system to control relative humidity. Heating is achieved with specific air heaters with ascending flow to facilitate the evacuation of vapors. The steam discharge inside the chamber occurs by means of a centrifugal electro-aspirator with 40 m 3 /h flow rate, placed in the upper part of the cabinet.
Three biomass densities (kg/m 2 ) were used for each species. The tests, named 1, 2 and 3, respectively, with biomass densities of 3, 4 and 5 kg/m 2 , were placed inside the shelves of the cabinet using polypropylene vented crates (dimensions 40 × 60 × 22 cm, 52 L capacity, 62% hollow surface). Three replicates for each test, named A, B and C, were randomly arranged inside the drying chamber ( Figure 1). This was possible because the drying chamber was equipped with an automatic heating and ventilation system that guarantees to maintain both constant temperature and relative humidity inside, and because the contact surface between the biomass and the air inside the chamber was the same in the different tests. After preheating the dryer desiccator cabinet, the drying temperature was maintained constant at 40 • C since a higher temperature may result in a darkening of the samples due to non-enzymatic browning and leading to a loss of quality. Relative humidity was kept at 25% for the entire duration of the process [18].
Overall, about 30 kg of leaves were taken to carry out the tests, 15 kg of sage and 15 kg of laurel. A sample of leaves was brought to the laboratory for the determination of the dry weight of each species. Dry weight was determined by weighing 10 g of herb samples and drying until a constant weight at 105 • C in the drying oven (Termaks TS 800, Norway). The initial moisture content of sage was found to be 73.2 ± 0.6% (wet basis); for laurel it was found to be 55.3 ± 0.5% (wet basis). Water activity (a w ) was measured to evaluate microbiological stability using a Rotronic Hygropalm HC2-AW (Rotronic AG, Bassersdorf, Switzerland), both on fresh and dried herbs (i.e., before and after dehydration).
The variation in the moisture content of the product during drying was experimentally determined through the evaluation of the following parameters.
The moisture content at time t MC t [%] was calculated as: The experimentally obtained curves for MC t and DR t are the variation during drying of the moisture content of the product and the drying rate as a function of time.
The end of drying was defined when the biomass weight remained stable for more than 10 min and the moisture content was lower than 14% for sage and 32% for laurel.

Smart Sensors System Structure
The system is based on sensors capable of real time monitoring the biomass weight of the individual samples and temperature and relative humidity inside the drying chamber.
The choice of the components to be used in the realization of the prototype of the biomass drying measuring system was based on low-cost, reliable and small-sized components, which can be assembled inside the cabinet with the plastic boxes used to hold the sage and laurel samples. The system is based on an Arduino Mega 2560 board which, thanks to the large availability of inputs/outputs, allowed for the connection of ( Figure 2): • Five HX711 modules that power, amplify and convert to digital signal of the nine load cells; A Serial OpenLog module that allows the acquired data to be stored on a microSD card in the form of appropriately structured strings, so as to contain the data of the individual sensors in the various fields (e.g., Data/Time; Sensor 1; Sensor 2; . . . . . . ; Sensor N), and transmitted from Arduino Mega serial output 2. This represents a security system that, even in the absence of a Wi-Fi connection, allows data recording from the sensors. Arduino Mega 2560 R3 is a module based on the ATmega2560 microcontroller, which can be programmed using the Arduino IDE through the USB interface, which also acts as a power connection.
This card provides developers of simple embedded systems with a fast prototyping tool, thanks to the discrete calculation power and to the possibility of being interfaced with other cards or sensors through the different inputs and outputs available (54 I/O Digital Pin and 16 Analog Inputs Pin), allowing for the rapid creation of relatively complex systems. In fact, the Arduino Mega choice as a micro-controller was dictated by the need to use the numerous I/O pins available to simultaneously acquire the weight of the different medicinal herb samples placed in the cabinet, as well as temperature and relative humidity.
The specifications of the components used are: • A/D converter module: Based on the HX711 chip, it is a 24-bit Analog-to-Digital Converter (ADC) for weighing scales specifically designed to interface the load cells, which exploit the Wheatstone bridge, to a microcontroller, such as Arduino or another that is compatible. It is also intended for process control applications. The module has two differentiated input channels, selectable through a multiplexer: a programmable and low noise gain amplifier allowing for the selection of the gain at 32, 64 and 128; a load cell on-chip power regulator; an analog ADC power supply; an on-chip oscillator that requires no external component intervention with external crystal. Since the output signal from a load cell is an analog signal proportional to the deformation of the cell, and is therefore proportional to the applied force, the signal is acquired through the analog to digital converter which reads the voltage difference in the Wheatstone bridge over the cells and then converts it into a 24-bit digital string, which can be acquired by a microcontroller (Arduino) via serial communication. The data are sampled at a frequency of 80 Hz. • 2C real time clock module (RTC): Based on the DS3231 chip, it is a low consumption clock/calendar that allows the Arduino to have a time reference to assign to the various analog samples acquired. Communication with the Arduino board takes place on the I2C serial bus, which is accessed in SLAVE mode. The time count is based on a 32 kHz quartz oscillator, which ensures good accuracy. • SP8266-05 module with external antenna: This is a Wi-Fi integrated SoC (system-on-a-chip) with a 32 bit LX106 Micro Controller Unit (MCU). It is a system suitable for providing Wi-Fi connectivity to an Arduino-like card but it is possible to use it to directly create IoT (Internet of Things) projects. As a simple Wi-Fi module, it is possible to manage it via AT commands and it is programmable with the Arduino IDE. It supports 802.11 b/g/n transmission protocols and Wi-Fi Direct (P2P) and soft-AP modes. It integrates the TR switch, the RF amplifier and the antenna, a PLL (power regulator).

•
The DHT22 is a basic digital temperature and humidity sensor. It uses a capacitive humidity sensor and a thermistor to measure the surrounding air, and gives out a digital signal on the data pin, while no analog input pins are needed and the specifications are: 3 to 5 V power and I/O, 2.5 mA max current use during conversion (while requesting data), 0-100% relative humidity range with 2-5% accuracy, −40 to 80 • C temperature range ±0.5 • C accuracy, 0.5 Hz maximum sampling rate (once every 2 s), dimensions 15.1 mm × 25 mm × 7.7 mm, 4 pins with 0.1" spacing.

•
The single point, medium precision (class III) load cell-Siemens 7MH5102-1PD00-is designed for use in platform scales equipped with a single load cell. It is very easy to use and apply in a wide variety of applications, where the center of force acting is 62.5 mm from the vertical axis of the load cell. It offers good performance and very small dimensions (25 × 40 × 150 mm). The cell is made of aluminum and the recommended excitation voltage is between 5 and 12 V DC, while the output at nominal load is 2 mV/V. It has an IP65 protection degree and allows 4 or 6 wire connections.

•
Openlog module: A simple serial datalogger, based on an ATmega328 microprocessor clocked at 16 MHz, capable of handling large capacity microSD cards (up to 64 GB) with FAT16 and FAT32. The main connection interface is FTDI type, with a configurable baud rate (up to 115,200 bps); 4 pins are also available for the SPI interface.
All the electronic components are assembled inside a box from which only the power cables, connecting to the load cells and the external antenna, come out. Each load cell is fixed on one side on a stable steel support base, on the other side of a metal weighing plate. The whole system takes on a Z shape. Nine of them were realized and placed under each polypropylene vented crate containing the biomass samples inside the drying chamber.

System Calibration and Data Processing
For each individual cell, connected to its HX711 module, calibration was performed through 4 load conditions (0, 1.5, 3 and 5 kg), which allowed us to determine the offset and compensation values of each individual sensor. Considering that the system had to work inside the dryer desiccator cabinet (≈40 • C), the response of the sensor to three different temperature conditions (10, 25, 40 • C) was also verified to assess the possible need for thermal compensation.
Using the Arduino IDE, a first calibration sketch was developed, which allowed us to determine the calibration factors subsequently inserted in the operating sketch. The acquisition of the values of weight, temperature and relative humidity was expected every 15 min, as the respective average of a sample of 20 measurements, as well as the login parameters to the Wi-Fi network and the API keys for writing the data in the various ThingSpeak channels, were set up.
ThingSpeak is a cloud platform provided by Mathworks intended for IoT applications, capable of collecting, displaying and analyzing data from sensors in real time. In addition to allowing instantaneous displays of data from IoT devices, the platform can run MATLAB code on these data, for advanced "live" analysis and possibly for sending alerts.
After the complete assembly and the loading of the operating sketch, some tests were carried out to verify the correct functioning of the sensors, the transmission system (Wi-Fi and ThingSpeak) and data storage under operating conditions. To this end, the system and sensors were placed in the dryer desiccator cabinet and measurement tests were started. Metal loads were applied to the weighing plates and heating was started until the temperature reached 45 • C was reached, keeping it constant for 48 h. From the analysis of the data collected during these preliminary tests, no significant errors in the measurements emerged, both during the heating transient (22-45 • C) and during the steady state.

Microbiological Analysis
The microbial loads of sage and laurel were determined before and after each drying process. Ten grams of each herb sample were suspended in 90 mL of Ringer's solution (Sigma-Aldrich, Milan, Italy) and subjected to homogenization by means of the stomacher BagMixer ® 400 (Interscience, Saint Nom, France) for 2 min at the highest speed. The decimal serial dilutions of the cell suspensions were plated and incubated as follows: total mesophilic count (TMC) were spread plated on plate count agar (PCA), incubated aerobically at 30 • C for 72 h; members of the Enterobacteriaceae family were pour plated on double-layer violet red bile glucose agar (VRBGA), incubated aerobically at 37 • C for 24 h; total yeast spread plated on yeast extract peptone dextrose (YPD) nutrient agar incubated at 28 • C for 48 h; molds spread plated on malt agar (MA), incubated aerobically at 25 • C for 7 days. To inhibit the growth of bacteria, chloramphenicol (0.05 mg/mL) was added to YPD and MA. Microbiological counts were performed in triplicate.

Statistical Analysis
The simple regression and the polynomial regression procedures were used to construct statistical models describing the impact of a single quantitative factor-that is time (t) in our study-on a dependent variable as the parameters moisture content (MC) and drying rate (DR) expressed through (1) and (2). A linear model involving t or a polynomial model involving t and powers of t were considered appropriate to fit to the data. In addition, the analysis of variance (ANOVA) was considered in order to test if there were differences in the three biomass densities (3, 4 and 5 kg/m 2 ) in MC during time (a value every 6 h throughout the process was considered, named t 0 , t 6 , etc.). To test if there were statistical differences, Tukey's test was performed. Differences were considered significant at 5% level of significance.
Microbiological data were subjected to the one-way analysis of variance (ANOVA), too. The comparison of treatment means was achieved by Tukey's test; differences were considered significant at 5% level of significance.
All the analyses were performed with the statistical software package Statgraphics centurion, version XV (Statpoint Inc., The Plains, VA, USA, 2005).

Dehydration Process
The data continuously acquired by the drying process monitoring system are displayed through the ThingSpeak platform, which provides diagrams of the type shown in Figure 3, referring to a 24-h time span for three tests performed on the sage samples, in which the progressive weight decrease during drying is observed. The a w values of fresh and dried herbs are reported in Table 1. The dehydration process consistently reduced the availability of water for the microbial development in laurel and, especially, sage. Fresh herbs were characterized by a w 0.993 and 0.968 (sage and laurel, respectively), which reduced during the drying process inversely to the biomass density with the lowest value (0.335) shown by the trial S1 involving sage. The levels of a w after the drying of laurel were significantly higher (0.766 on average) than those showed by the corresponding biomass densities of sage, and this is undoubtedly imputable to the different leaf structure of the two aromatic plants. The curves of the three biomass densities show a very similar trend ( Figure 4A). The whole process has a total duration of 65 h. The starting MC mean value is 73% and the final mean value is 13%. In the first 14 h of the process, the curves relating to the three tests are overlapping. After 32 h, halfway through the process, MC decreases about 59% of the total. These results are in agreement with those obtained in [29]. Figure 4 shows the progress of the sage dehydration process for the three biomass densities (S1 = 3 kg/m 2 ; S2 = 4 kg/m 2 and S3 = 5 kg/m 2 ). The MC value of dried sage at the end of the process represents the bound water and is reflected in the water activity value obtained after dehydration in the three tests.
As for the DR values obtained ( Figure 4B), a falling drying rate trend can be observed, due to the difficulty of the capillary forces in transferring water from inside the tissues to the surface of the plant. DR starts from a value of 0.01 g/g h −1 ; then it constantly decreases, reaching the value of 0.006 g/g h −1 at the end of the process.
Regarding the laurel dehydration process, MC continuously decreases with the drying time ( Figure 5A). The drying of laurel leaves takes more than 40 h. Test L3 ends the dehydration process with a moisture content below 30%, while tests L1 and L2 show an MC value higher than 30%. In the first 10 h of the process, the curves related to the three tests are nearly coincident. After 20 h, in the middle of the process, MC decreases by about 60% of the total value. The results obtained from this study are in agreement with those obtained in [30]. DR ( Figure 5B) shows a sudden decrease in the first 3 h of the process, going from 0.02 to 0.01 g/g h −1 . Then, the curves take on a horizontal trend up to half of the drying process. Starting from the 20th hour, in fact, there is a DR reduction up to the final value of 0.006 g/g h −1 . The MC value of present dried laurel at the end of the process is reflected in the water activity obtained after dehydration, which was equal to 0.766 on average.
The DR curves both for sage and laurel are representative of the drying kinetics of the two species under the test conditions applied. The difference in the drying kinetics found in the two species is due to the different structural characteristics of the biomass processed. Sage leaves have a lower vegetative thickness than laurel leaves, that are also leatherier.
The laurel drying process was stopped after 42 h from the start, since the smart system detected, for the three tests, MC values on average equal to 30%. This is in accordance with the mean water activity value of the laurel obtained after dehydration (0.766). Considering that, in the literature, there are no sources regarding laurel water activity, the only explanation that can be provided is related to the particular physical-mechanical characteristics of the leaf of this species compared to those of other aromatic herbs. The laurel leaf, in fact, is very leathery and the internal cells offer great resistance to the release of water. Therefore, it would have been necessary to increase the process temperature to reach MC values similar to those obtained in sage. This choice was not made, since it would have been in contrast with many studies present in the literature. Sellami et al. [31], in fact, showed that increasing drying temperature resulted in a significant decrease in the concentration of most volatiles. Additionally, Hadjibagher Kandi et al. [12] state the importance of keeping temperature below 45 • C to limit the essential oil content losses.
As for sage, on the other hand, the dehydration process ended after 66 h, therefore requiring a drying time higher than 30% compared to laurel. Furthermore, also in this case, the process was stopped by the smart system when the detected MC variations were negligible. This made it possible to reach an average final MC value of 13%. This corresponds to the water activity value obtained after dehydration (0.350). The process time and temperature used for sage are in agreement with [13]; they dehydrated sage using temperatures of 40 • C for 77 h and the drying process was conducted until achieving 10% of humidity of drying material. As a consequence, the two species have a different "expiration dates", laurel's being shorter than that of sage.
Regarding the polynomial regression analysis applied to the MC values for sage in the three tests, since the p-value in Table 2 is less than 0.05, there is a statistically significant relationship between MC and t at the 95% confidence level. The R-squared statistic indicates that the model, as fitted, explains the reported percentage of the variability in MC. The order of the polynomial is appropriate as the p-value on the highest order term of the polynomial equals 0.0. Table 2. Polynomial regression analysis results for moisture content MC as a function of time for sage dehydration process in the three tests (S1 = 3 kg/m 2 ; S2 = 4 kg/m 2 and S3 = 5 kg/m 2 ). With reference to the simple regression analysis applied to sage DR in the three tests, since the p-value in Table 3 is less than 0.05, there is a statistically significant relationship between DR and t at the 95.0% confidence level. The R-squared statistic indicates that the model, as fitted, explains the reported percentage of the variability in DR. Table 3. Simple regression analysis results for drying rate DR as a function of time for sage dehydration process in the three tests (S1 = 3 kg/m 2 ; S2 = 4 kg/m 2 and S3 = 5 kg/m 2 ).

Parameter
Least  Tables 4 and 5 show the polynomial regression analysis results respectively for MC and DR as a function time for laurel dehydration process. Table 4. Polynomial regression analysis results for moisture content MC as a function of time for laurel dehydration process in the three tests (L1 = 3 kg/m 2 ; L2 = 4 kg/m 2 and L3 = 5 kg/m 2 ).   ANOVA results on MC values for sage taken every 6 h during the dehydration process do not show statistically significant differences between the three tests under study (Table 6). Table 6. Analysis of variance results on moisture content values every six hours (MC) for sage dehydration process in the three tests (S1 = 3 kg/m 2 ; S2 = 4 kg/m 2 and S3 = 5 kg/m 2 ). Data are means ± SD (n = 3). ANOVA results on MC values for laurel taken every 6 h during the dehydration process (Table 7) show statistically significant differences between the three biomass densities in the last part of the process; in particular at t 30 , t 36 and t 42 , (corresponding to the MC value registered after 30, 36 and 42 h from the beginning of the process).

Microbiological Aspects
The results of the microbiological analyses are reported in Figure 6. The drying processes completely eliminated members of Enterobacteriacea family, yeasts and molds from sage, since their levels were below the detection limit (reported as zero in the graphic), independently on the biomass density applied ( Figure 6A). TMM were still detected after drying, but the thermal process consistently decreased their levels (until 3.47-3.74 CFU/g). Even though no statistical differences were registered among the biomass densities during drying, the trend observed is that microbial mortality decreased when the biomass density increased inside the drying chamber.
The same drying process applied to laurel indicated how the different leaf structure influenced microbial survival. In this case, all four microbial groups object of investigation showed a higher resistance than those searched in sage, because their levels were clearly detectable ( Figure 6B). The drying process did not significantly reduce the levels of TMM and molds when the biomass density was 5 kg/m 2 . With laurel leaves, it is undoubtedly shown that the biomass drying density influenced microbial death kinetics, since the viability of all populations registered at 3 kg/m 2 was at the lowest levels and increased with biomass drying density.  The results of TMM in our study are little below the levels of total bacterial counts at 22 and 37 • C detected by [32], where the authors analyzed different dried herbs, including sage, cultivated in family-managed fields. The differences could not be explained in terms of drying process, since the drying process reported in [32] consisted of a ventilated drying at 40 • C for 24 h, but the information about the load density of the leaves was not reported. The same authors also reported for sage total coliforms, which are part of Enterobacteriaceae family, values below 104 CFU/g. In [33], several potential pathogenic species were found, including Yersinia intermedia, Shigella spp. and Enterobacter spp. in several commercialized dried spices and herbs, highlighting the importance of acquiring information on the efficacy of the drying process. Considering that the microbiological quality of commercialized herbs can influence the final safety of different formulated foods [34], the drying process assumes a relevant role during the processing of fresh herbs, even though the conditions applied during conservation are of paramount importance [35].
To our knowledge, this is the first work performed on the microbiological characterization of laurel leaves. Our data clearly show how these leaves exert a protective effect on bacteria, yeasts and molds, highlighting the importance of acquiring information on the microbiological characteristics of herbs used in food formulation and preparation. The disappearance of all microbial groups from sage is easily explained by the very low water activity values registered for the species after the dehydration process, which was in the range 0.335-0.377 for the different biomass densities. Water activity represents an intrinsic parameter of paramount importance for the development of microorganisms in food. This factor greatly influences microbial thermal resistance; thus, low moisture foods are particularly hostile for microbial survival [36]. On the contrary, laurel structure did not allow a consistent removal of water, determining the higher survival of bacteria and fungi in comparison to sage. However, unlike sage, laurel is not commonly consumed raw and generally undergoes a thermal treatment before consumption, such as boiling (e.g., for the preparation of chestnuts boiled in water flavored with fennel seeds or laurel leaves) [37] or roasting (when added to meat) [38].

Conclusions
The smart system tested has provided valid decision support during the entire drying process, allowing the precise monitoring of the evolution of the biomass moisture loss and drying rate. It allowed us to stop the drying process at time "t" in which the biomass gave negligible weight variations-that is, at the temperature of 40 • C it was no longer possible to lower MC for both species. This made it possible to limit the loss of volatile and phenolic compounds of the dried product. In fact, in the literature it is well known that very long drying times and temperatures above 40 • C lead to a reduction in the quality of the final product. The two species examined, after drying at the same temperature, achieved a different microbial stability, higher in sage than in laurel. This difference can be attributed to the different structural characteristics of the leaves of the two species, which influence the quantity of bound water present in the plant tissues. The three different biomass densities employed (3, 4 and 5 kg/m 2 ) did not provide significant differences in the drying process for sage. Statistically significant differences among the three tests were found for laurel in the final part of the process. It follows that biomass density up to 5 kg/m 2 is not a limiting factor in the duration of the process. Further tests with higher biomass densities will be necessary in order to identify the biomass density beyond which the duration of the drying process is higher than that obtained for the two species. Monitoring and controlling the process also allows us to identify any critical points during drying, including the malfunction of the drying chamber, with temperature variations inside, such as to compromise the product in the event of temperatures above 40 • C, or to be carried out for very long process times in the event of temperatures below 40 • C. The microbial loads of the aromatic herbs after drying was influenced by the different leaf structures of the species; in particular, with laurel leaves, microbial survival increased with increasing biomass density. Finally, with the drying method adopted, the two species under consideration showed a different microbial stability and, consequently, will have a different shelf life, longer for sage than for laurel.