Introduction

The Ganoderma lucidum is one of the most prestigious traditional Chinese medicines and also it is one of the most prestigious ingredients of the genus oriental macrofungi polypore known as Lingzhi1,2,3,4. This product is used simultaneously in both medications and foodstuffs5,6. Several phenolic compounds in Ganoderma lucidum have been studied, namely gallic acid, pyrogallol, hydroxybenzoic acid, coumaric acid, cinnamic acid, protocatechuic acid, catechin, naringin, myricetin, quercetin, kaempferol, hesperetin, and formononetin7,8,9. Recently, researchers have reported that the polysaccharides are one of the most promising active components of Ganoderma lucidum and they apply for many purposes including anti-tumor10,11,12, antioxidant13,14,15,16, hypoglycemic, and immune-stimulating effects17,18,19,20,21,22 because of their biological activities. In the food industry and medicine, natural polysaccharides have been used for a long time. Numerous studies have been carried out about bioactive polysaccharides especially, their structures and mechanisms in diseases23,24,25. Several years of research have proved that Ganoderma lucidum is an immunostimulant as well as a powerful antioxidant. It is now being used as a supplement to avoid the side effects of chemotherapy and to treat cancer25. GLP polysaccharides exhibit a variety of biological effects, including immunomodulatory, antineurodegenerative, antidiabetic, anti-inflammatory, anticancer, and antibacterial properties. -d-glucans, in particular, are well known for their biological and physiological activity26. Moreover, natural polysaccharides with different curative effects have been mostly examined and even applied in therapies27,28. Several factors, including chemical components, molecular weight, structure, conformation, and even drying techniques, maybe affect polysaccharide antioxidant activities, especially concerning the components removed or isolated from the raw material15,29,30,31,32. Drying Ganoderma is typically an approach for longer shelf life without applying chemical preservatives and concentrating the medicinal value in the fruiting body15,33,34. According to literature surveys, tissue type and its position in the cell are important factors in different drying methods to figure out their effects on phenolic compounds35. Using and selecting the best post-harvest techniques play an important role to improve the shelf life and preserve the mushroom quality36. Hayati et al. found that the form of drying materials has a great impact on the retention of the water-soluble polysaccharides content and antioxidant activities of Ganoderma lucidum. In addition, the fruiting bodies were thus more effective in keeping thermolabile pharmaceutical active ingredients of Ganoderma with every form of drying (drying under direct sunlight, drying under the sun, covered with black fabric, oven drying, and air circulation oven drying). Moreover, it was found that the air circulation during oven drying of Ganoderma lucidum had the highest retention of water-soluble polysaccharides content and antioxidant activities among other drying techniques37. Chen et al. used a combination drying technique comprising microwave-vacuum and conventional vacuum drying methods to extract the polysaccharides and compare the results with the freeze-drying method. They indicated that the extraction quality using this combinational technique was close to that of the freeze-dried extraction quality and it was much better than that of the conventional vacuum-dried approach34. The convective hot air drying approach for Ganoderma tsugae Murrill was investigated by Chin et al. at different conditions of drying temperature, size, and airflow. They found that the Ganoderma dried at 50 °C with an air velocity of 1.401 m/s has the maximum retention of crude ganoderic acid content33. Afzal et al. investigated energy consumption and properties of dried barley by combined FIR-convection dryer38. They found that infrared could enhance the drying rate and decrease energy consumption during the drying process. Moreover, Taghinezhad et al. studied the drying process of Turnip slices by the convective-infrared dryer and used a smart modeling technique to optimize and model the proposed dying process39.

The purpose of this research is to investigate the effects of various drying techniques on the antioxidant activity of Ganoderma lucidum. Response Surface Methodology (RSM) is applied as a valuable statistical approach to study the impacts of different input variables which can be significant roles in the quality of the products40,41,42,43. The effects of different variables including air temperature, distance, infrared power, and air velocity on the process variables including drying time, energy consumption, antioxidants, calcium content, and total color difference of Ganoderma lucidum are investigated and optimized by RSM with central composition design (CCD). Studying the medical aspects of Ganoderma lucidum as a great herbal medicine such as antioxidant and calcium amounts dried by infrared and convective dryers is the novelty of the current contribution. Moreover, this research can help researchers who deal with herbal medicines how can dry materials in the best conditions.

Materials and methods

Fresh fruiting bodies of Ganoderma lucidum were hand-harvested from a farm located in Bandar-e Anzali, a city of Gilan Province in Iran, and then transported to the laboratory, and were cut into 2 × 2 cm square slices with 2 mm thickness. The initial moisture content of the samples on a wet basis was measured to be 78.46 ± 2% W.B using the oven at 105 °C for 24 h.

Drying methods

Convective dryer

The experimental setup and schematic of the convective and infrared dryers used in this study are shown in Fig. 1. This setup can be used as a convective dryer when just the heater and fan are in service. Sample slices were exposed to hot air at temperature ranges between 40 and 60 °C and air velocity ranges between 0.5 and 1.5 m/s in the convective dryer. Therefore, 10 g of the raw material was measured with an electronic balance (A&D, EK-6000i, Japan), and the convective dryer was started for about 30 min to reach a steady condition before putting the samples into the convective dryer. Afterward, the weight loss of the slices was measured by an electronic balance once every 15 min until reaching the equilibrium moisture content (EMC). Moreover, it is worth mentioning that energy consumption was measured once every 15 min until reaching the EMC by power monitor (Energy model EMS-EU, England). After reaching EMC, samples were ground into powder using a mechanical grinder (Grindmatic model NO.QYX-501, Hong Kong) to use in characteristic tests.

Figure 1
figure 1

Actual (a) and schematic (b) of convective and infrared dryers: (1) blower; (2) electrical heater; (3) infrared lamps; (4) drying chamber; (5) control unit; (6) air outlet.

Infrared dryer

As it can be seen in Fig. 1, the infrared dryer can be applied when the heater and fan are not in service and the infrared lamp should be in the service. The infrared lamp (Victory, England) with a power of 1500 W was used to supply infrared energy. The distances between the infrared lamp and the sample can be changed via wire in this system. In IR drying, the impact of different radiation intensity levels (i.e., 500, 1000, 1500 W) and lamp distance to the sample (4, 10, 16 cm) were investigated. The convective or infrared drying processes were continued until the sample's weight decreased to moisture levels less than 12 ± 2% (wet base). In more detail, the weight loss of the slices and energy consumption were measured by the electronic balance and power monitor, respectively once every 2 min until reaching the EMC. After reaching EMC, samples were ground into powder using a mechanical grinder to use in characteristic tests.

Determination of antioxidant activity

Determination of the free radical scavenging was carried out by 2,2-diphenyl-1-picrylhydrazyl which is commonly called DPPH. According to guidelines, Miliauskas changed the Brand-Williams procedure for determining the DPPH radical scavenging potential of each extract44,45. The maximum absorption band of DPPH radical is 515 nm which disappears upon reduction by an antioxidant agent.

The DPPH solution in methanol (\(6\times {10}^{-5} \mathrm{M}\)) was daily prepared, and 3 ml of this solution was mixed with 100 μl of methanolic plant extract solutions. Then, the samples were incubated in a water bath for 20 min at 37 °C, and the decrease in absorbance at 515 nm was measured (AE). In addition, the blank sample was daily prepared in the DPPH solution containing 100 μl of methanol and its absorbance was determined (AB). This experiment was repeated three times. The following formula was used to quantify the radical scavenging activity.

$$\% \,{\text{Inhibition }} = \, \left( {\left[ {\left( {{\text{A}}_{{\text{B}}} - {\text{A}}_{{\text{E}}} } \right)/{\text{A}}_{{\text{B}}} } \right] \, \times { 1}00} \right),$$
(1)

where AB is the absorbance of the blank sample, and AE refers to the absorbance of the plant extract.

Color evaluation

Color is known as a key parameter in the assessment of food products and their stability46. A color shift was observed during the drying due to the biochemical reactions. The reaction rates are greatly influenced by the process conditions and the drying methods47. The surface color values of both dried and fresh Ganoderma slices were characterized by a Chroma Meter Colorimeter established by Konica Minolta of Japan at room conditions. The colorimeter was calibrated to a regular black and whiteboard before the measurements. The color values represented by L range between 0 (refers to blackness) and 100 (refers to whiteness). Moreover, there are two other color parameters including a and b which range between − a (greenness) and + a (redness) and also − b (blueness) and + b (yellowness), respectively48. Moreover, the Chroma (C), the total color difference (∆E), and Hue angle values can be determined by the following equations49.

$${\text{DE}}^{{2}} = \, ({\text{L}}_{0}^{*} - {\text{L}}^{*} )^{{2}} + \, \left( {{\text{a}}_{0}^{*} - {\text{ a}}^{*} } \right)^{{2}} + \, \left( {{\text{ b}}_{0}^{*} - {\text{ b}}^{*} } \right)^{{2}} ,$$
(2)
$$\mathrm{roma }=\sqrt{{a}^{*2}+{b}^{*2}},$$
(3)
$${\text{Hue }} = { }tan^{ - 1} { }\left( {\frac{b*}{{a*}}} \right)\quad {\text{when}}\,{\text{a }} > { }0\,{\text{and}}\,{\text{b }} > { }0,$$
(4)

where L0*, a0*, and b0* stand for the fresh samples.

It should be mentioned that the Hue angle parameter represents the color tone (i.e., red–purple: 0°, bluish-green: 180°, yellow: 90°, and blue: 270°). Moreover, the Chroma parameter (C) uses as a standard for the color’s saturation or purity.

Calcium determination

The samples were prepared (Washed, dried, and milled) according to the previously published literature50. Firstly, samples were washed with water, and then they have been washed again with 0.1 mol HCl solution and distilled water. The plant sample was dried in an oven for 48 h at 70 °C and then it was milled. The milled sample was passed through a 0.5 mm sieve and its amount of nutrient absorption such as N, P, K, Ca, and Mg was measured. The obtained extract from the freeze-drying was used to determine the amount of calcium and magnesium. In this regard, 1 ml of extracts were diluted with distilled water at a 1:9 ratio. In addition, 0.25 ml of diluted extract was transferred to a tube with a micropipette and then 4.75 ml of La(NO3)3 solution containing 1 mg of La was added to the tube. This prepared extract was used to determine the calcium absorption at 422.7 nm wavelength through an absorption spectrophotometer. The following formula was applied to calculate the calcium content in the dried plant samples.

$$Ca \, = \, \left( {a - b} \right) \times 1/500 \times V/W \times 100/D.M,$$
(5)

where a is the calcium concentration of extract in ppm, b is the calcium concentration of the control sample in ppm, V is the initial volume in ml, W is the sample weight in g, and D.M refers to the weight percentage of dried plant. It is worth mentioning that the calcium content of the fresh sample was measured at 0.2%.

Evaluating specific energy consumption

During the preparation of dried samples in both dryers, the weight of the samples was measured. The following equation can be used to determine the specific energy consumption of the drying process in MJ/g water.

$$SEC=\frac{{E}_{t}}{{M}_{w}},$$
(6)

where Et stands for the energy consumption of dehumidification and Mw refers to the weight of removed water from the samples during the drying process.

Statistical analysis

Response surface methodology (RSM) from Design-Expert software version 12.0 with central composition design (CCD) was used to optimize the impacts of several factors including air temperature, distance, power infrared, and air velocity on the process for drying time, energy consumption, antioxidant extraction, calcium extraction, and total color difference from Ganoderma lucidum.

A CCD is the mostly applied category of response surface designed experiment. In addition, it is a factorial or fractional factorial design with center points, enlarged with a group of star points that can have great capability in curvature predictions. In this study, according to two considered input variables for the convective and infrared drying process, the CCD approach suggested 13 experiments and after testing these experimental conditions, modeling and optimization studies were carried out in the abovementioned software.

Results and discussions

Comparison of the drying time

The drying time of Ganoderma lucidum fruiting bodies was substantially dependent on the technique of drying, temperature, and power. The ranges of parameters in infrared and convective dryers have been reported in Tables 1 and 2.

Table 1 Designed experiments in the convective dryer by central composite.
Table 2 Designed experiments in the infrared dryer by central composite.

It was observed that the lowest drying time is related to the infrared dryer (IP = 1000 W, L = 4 cm), and the highest is related to the convective dryer (T = 50 °C, V = 0.5 m/s). The minimum drying time of the samples in convective and infrared dryers was 270 and 25 min, respectively. It means that the infrared dryer reduced the drying time by up to 90%. Heat is released from the inside of the sample by the absorption of the infrared radiation in the infrared dryer and water is transported from the inside of the sample to its surface, leading to rapid drying. These observations have been confirmed with literature51 for drying properties of mushroom slices and the more the power and the less the sample distances, the less the drying time in the infrared dryer. Moreover, this research indicated that the more the air velocity and temperature the less the drying time in a convective dryer. Motevali et al.52 figured out that increasing the air flow rate reduces vapor pressure, which results in the material’s ability to evaporate moisture faster.

Equations (7) and (8) have been obtained to predict the drying time of samples in convective and infrared dryers, respectively (Table 3).

Table 3 Experimental design of Infrared and convective drying of Ganoderma.

According to the results obtained from ANOVA, the R2 values for convective and infrared dryers were 0.9990 and 0.9896, respectively.

$$Time = +481.80 -131.00\times X1 -162.63\times X2 +100.76\times X1\times X2 -5.68 \times X1 \times X1 +10.16 \times X2 \times X2 +222.77 X1 \times X1 \times X2 +185.80 X1\times X2\times X2,$$
(7)
$$Time = +46.00 -31.82\times X3 +9.90\times X4 +0.2500\times X3\times X4 +15.81\times X3 \times X3 -4.69 \times X4\times X4 -4.65 X3\times X3\times X4 +11.57 X3 \times X4\times X4,$$
(8)

where X1X2 and X3X4 refer to the temperature × velocity and power × distance, respectively. Moreover, the negative sign represents the incompatible effects while the positive sign point to the synergistic effects.

To have a good fit by the suggested model, the significance criteria of the regression model and individual model coefficients were achieved based on the F-value or P-value with a 95% confidence level. Figure 2 indicates regression plots between predicted and actual drying time for convective and infrared dryers. As it can be seen in this figure, the actual data points illustrated by the square have a great agreement with predicted drying time values due to their closeness to the Y = X line.

Figure 2
figure 2

Regression plot to predict drying time for: (a) convective dryer and (b) infrared dryer.

In addition, the 3-D surface graph as indicated in Fig. 3 investigates the effects of temperature and velocity in the convective dryer and power and distance in the infrared dryer on the drying time.

Figure 3
figure 3

The 3-D surface graph of drying time for: (a) convective dryer and (b) infrared dryer.

Statistical analyses between experimental and predicted drying time for convective and infrared dryers such as R2, relative deviation percentage (C.V. %), F-value, and standard deviation (STD) were calculated and presented in Table 4.

Table 4 Statistical analyses between experimental and predicted drying time for convective and infrared dryers.

Specific energy consumption (SEC)

Specific energy consumption is the energy required to remove the moisture of samples. According to Tables 1 and 2, the minimum SEC for the convective dryer was 0.7416 kWh/kg water at 60 °C and 1 m/s, while the minimum SEC for the infrared dryer obtained 0.31392 MJ/g water at 1354 W and 6 cm of lamp distance. It can be also observed that SEC values depend on drying time because as drying time be shorter, the SEC value decreases. The lowest energy required for drying mushroom slices was obtained 12.33 MJ/g water by Motevali et al.52 at a radiation intensity of 0.49 W/cm2 and air velocity of 0.5 m/s.

In addition, based on the results obtained from ANOVA, the R2 values for convective and infrared dryers were 0.9759 and 0.9550, respectively.

$$SEC = +1.29 -0.2592\times X1 -0.0445\times X2 -0.2418\times X1\times X2 -0.3183\times X1\times X1 -0.0071\times X2\times X2 +0.3303\times X1\times X1\times X2 +0.1166 \times X1\times X2\times X2,$$
(9)
$$SEC =+0.3647 -0.0290\times X3 +0.0798\times X4 +0.0165\times X3\times X4 +0.0444\times X3\times X3 -0.0294\times X4\times X4 -0.0367\times X3\times X3\times X4 +0.0224\times X3\times X4\times X4,$$
(10)

where X1X2 and X3X4 refer to the temperature × velocity and power × distance, respectively. Moreover, the negative sign represents the incompatible effects while the positive sign point to the synergistic effects.

Figure 4 indicates regression plots between predicted and actual SEC for convective and infrared dryers. As it can be seen in this figure, there is a great agreement between experimental and predicted drying time values due to their closeness to the Y = X line.

Figure 4
figure 4

Regression plot to predict SEC for (a) convective dryer and (b) infrared dryer.

In addition, the 3-D surface graph as indicated in Fig. 5 to investigate the effects of temperature and velocity in convective dryer and power and distance in the infrared dryer on the SEC. In the convective dryer, the temperature has a higher impact on SEC than air velocity while an infrared dryer power has a significant impact on SEC compared to lamp distance.

Figure 5
figure 5

The 3-D surface graph of SEC for (a) convective dryer and (b) infrared dryer.

Statistical analyses between experimental and predicted SEC for convective and infrared dryers such as R2, relative deviation percentage (C.V. %), F-value, P-value, and standard deviation (STD) were calculated and presented in Table 5.

Table 5 Statistical analyses between experimental and predicted SEC values for convective and infrared dryers.

Influence of different drying methods on antioxidant activity

Reactive oxygen species are produced as a consequence of cellular metabolism regularly, and oxidation is considered a major contributor to several chronic degenerative illnesses53. Ganoderma lucidum exhibits substantial antioxidant activity in vitro and in vivo because of its high phenolic, triterpenoids, and polysaccharide contents54,55. In this study, the effects of the different drying processes on the antioxidant activity of Ganoderma lucidum were investigated using DPPH scavenging activity.

The capability of the suggested model was the key aim to evaluate the data analysis of the experiment. Equations (11) and (12), with R2 of 0.9004 and 0.9485, respectively were developed to forecast the antioxidants in infrared and convection dryers.

$$\mathrm{Antioxidant capacity }= +0.5278-0.0481\times \mathrm{X}3+0.1527\times \mathrm{X}4-0.0122\times \mathrm{X}3\times \mathrm{X}4-0.0001\times \mathrm{X}3\times \mathrm{X}3-0.0241\times \mathrm{X}4\times \mathrm{X}4-0.0570\times \mathrm{ X}3\times \mathrm{X}3\times \mathrm{ X}4+0.0473\times \mathrm{ X}4\times \mathrm{X}4\times \mathrm{ X}3,$$
(11)
$$\mathrm{Antioxidant capacity }= +1.14 +0.1690\times \mathrm{X}1 +0.0233\times \mathrm{X}2 -0.1290\times \mathrm{X}1\times \mathrm{X}2 -0.4622\times \mathrm{X}1\times \mathrm{X}1 -0.0296\times \mathrm{X}2\times \mathrm{X}2 +0.1888 \times \mathrm{X}1\times \mathrm{X}1\times \mathrm{ X}2 -0.1920\times \mathrm{ X}2\times \mathrm{X}2\times \mathrm{ X}1.$$
(12)

Figure 6 indicates regression plots between predicted and actual antioxidant activity for convective and infrared dryers. As it can be seen in this figure, there is a great agreement between experimental and predicted antioxidant values due to their closeness to the Y = X line.

Figure 6
figure 6

Regression plot to predict antioxidant value for (a) convective dryer and (b) infrared dryer.

In addition, the 3-D surface graph as indicated in Fig. 7 investigates the effects of temperature and velocity in the convective dryer and power and distance in the infrared dryer on the antioxidant values. According to Fig. 7, the ability of the free radical scavenging of DPPH in the infrared dryer was better than the convective dryer and it has been able to increase the percentage of inhibition up to 47%. An et al.7 confirmed that the antioxidant capacity of dried Chinese ginger by infrared dryer was higher than hot air and microwave dryers.

Figure 7
figure 7

The 3-D surface graph of antioxidant value for (a) convective dryer and (b) infrared dryer.

According to the ANOVA results, Table 3 indicated the difference in the amount of dried Ganoderma antioxidant extraction.

Statistical analyses between experimental and predicted Antioxidant activity for convective and infrared dryers such as R2, relative deviation percentage (C.V. %), F-value, P-value, and standard deviation (STD) were calculated and presented in Table 6.

Table 6 Statistical analyses between experimental and predicted Antioxidant activity for convective and infrared dryers.

Color test

Color is one of the most important quality factors that impact consumer choice and establishes the final product's quality. Color changes due to drying in vegetables and fruits can be caused by non-enzymatic browning in addition to pigment loss56. The results indicated that at the midpoints of the range defined for power and distance, the surface color changes of the samples during drying are low. High power causes a lot of color change. As the power increases increased and the distance decreases, significant changes were observed in the color surface of the infrared dryer. In the convective dryer at constant temperatures, there were significant changes in color at high speeds and the sample was dark. Ganoderma samples are more sensitive to higher temperature, as seen by the increase browning of the samples that occurred when the drying temperature was raised. In the case of hot air drying, a similar phenomenon was approved by Kotwaliwale et al.57 and Argyropoulos et al.58 during drying of oyster mushroom and Boletus edulis mushrooms, respectively.

It can also be observed that at low temperatures and speeds, the color changes were low and uniform. Based on ANOVA results, the R2 values were 0.9973 and 0.9052 for infrared and convective dryers, respectively.

Equations (13) and (14) were developed for predicting the change in surface color of the samples in infrared and convective dryers, respectively:

$$\Delta \mathrm{E }= +8.36+3.39\times \mathrm{X}3+3.53\times \mathrm{X}4-1.89\times \mathrm{X}3\times \mathrm{X}4+5.54\times \mathrm{ X}3\times \mathrm{ X}3 +7.91\times \mathrm{ X}4\times \mathrm{ X}4 -5.99\times \mathrm{ X}3\times \mathrm{ X}3\times \mathrm{ X}4 -7.43 \times \mathrm{X}3 \times \mathrm{X}4\times \mathrm{ X}4,$$
(13)
$$\Delta \mathrm{E }= +11.68+0.5034\times \mathrm{X}1+0.2199\times \mathrm{X}2-0.6590 \times \mathrm{X}1\times \mathrm{ X}2 +6.14\times \mathrm{ X}1\times \mathrm{ X}1 -2.25\times \mathrm{ X}2\times \mathrm{ X}2 +4.46 \times \mathrm{X}1\times \mathrm{ X}1\times \mathrm{ X}2 -1.12 \times \mathrm{X}1\times \mathrm{ X}2\times \mathrm{ X}2.$$
(14)

Figure 8 indicates regression plots between predicted and actual color differences for convective and infrared dryers. As it can be seen in this figure, there is a great agreement between experimental and predicted color difference values due to their closeness to the Y = X line.

Figure 8
figure 8

Regression plot to predict total color difference for (a) convective dryer and (b) infrared dryer.

In addition, the 3-D surface graph as indicated in Fig. 9 investigates the effects of temperature and velocity in the convective dryer and power and distance in the infrared dryer on the color difference values.

Figure 9
figure 9

The 3-D surface graph of total color difference for (a) convective dryer and (b) infrared dryer.

Statistical analyses between experimental and predicted total color differences for convective and infrared dryers such as R2, relative deviation percentage (C.V. %), F-value, P-value, and standard deviation (STD) were calculated and presented in Table 7.

Table 7 Statistical analyses between experimental and predicted total color differences for convective and infrared dryers.

Calcium test

According to the results reported in Tables 1 and 2, the preservation of calcium compounds in the infrared dryer was much better than convective. The amount of calcium in fresh Ganoderma is 0.2.

Equations (15) and (16) have been written for the estimation of the calcium content of the dried Ganoderma in convective and infrared dryers, respectively.

$$\mathrm{Calcium }= +0.0277 -0.0600\times \mathrm{X}1 +0.0141\times \mathrm{X}2 -0.0318 \times \mathrm{X}1\times \mathrm{ X}2 +0.0735 \times \mathrm{X}1\times \mathrm{ X}1 +0.0468 \times \mathrm{X}2\times \mathrm{ X}2 -0.1533\times \mathrm{ X}1\times \mathrm{ X}1\times \mathrm{ X}2 +0.0777\times \mathrm{ X}2\times \mathrm{ X}2\times \mathrm{ X}1,$$
(15)
$$\mathrm{Calcium }= +0.7460 -0.2051\times \mathrm{X}3 +0.1877\times \mathrm{X}4 +0.1110 \times \mathrm{X}3\times \mathrm{ X}4 -0.0732\times \mathrm{X}3\times \mathrm{ X}3 -0.0459\times \mathrm{ X}4\times \mathrm{ X}4 -0.0327\times \mathrm{ X}3\times \mathrm{ X}3\times \mathrm{ X}4 +0.0426\times \mathrm{ X}3\times \mathrm{ X}4\times \mathrm{ X}4.$$
(16)

Figure 10 indicates regression plots between predicted and actual calcium values for convective and infrared dryers. As it can be seen in this figure, there is a great agreement between experimental and predicted calcium values due to their closeness to the Y = X line.

Figure 10
figure 10

Regression plot to predict calcium for: (a) convective dryer and (b) infrared dryer.

In addition, the 3-D surface graph as indicated in Fig. 11 investigates the effects of temperature and velocity in the convective dryer and power and distance in the infrared dryer on the calcium values.

Figure 11
figure 11

The 3-D surface graph of calcium for (a) convective dryer and (b) infrared dryer.

As shown in Fig. 11, at lower powers and longer distances, the calcium contents in dried samples were higher. In addition, high power causes calcium to be lost in the infrared dryer. In addition, in a convective dryer at a constant speed, better responses were obtained at the beginning and end of the temperatures. It means that at 40 °C and 60 °C, there were higher calcium contents and also at the lowest speed, this calcium content was much higher. This finding was confirmed with Rongchai et al.59 article regarding determination of the calcium content in dried moringa leaves. They indicated that in the lower temperature, the calcium contents were increased.

Statistical analyses between experimental and predicted calcium content for convective and infrared dryers such as R2, relative deviation percentage (C.V. %), F-value, P-value, and standard deviation (STD) were calculated and presented in Table 8.

Table 8 Statistical analyses between experimental and predicted calcium content for convective and infrared dryers.

The moisture ratio during the drying process, which indicates a reduction in the moisture of samples, was measured to investigate the kinetics of drying. In addition, Figs. 12 and 13 indicated moisture ratios versus drying times for convective and infrared dryers, respectively. As it can be seen, at constant drying time, the moisture ratio for the convective dryer is more than the infrared dryer because the infrared dryer reduces drying time, which is the advantage of the infrared dryer compared to the convective dryer. The following formula can be used to determine the moisture ratio39.

Figure 12
figure 12

Moisture ratio versus drying time for convective dryer.

Figure 13
figure 13

Moisture ratio versus drying time for infrared dryer.

$$MR\left(\%\right)=\frac{Mt-Me}{{M}_{0}-Me}\times 100.$$
(17)

Mt and M0 refer to the time-dependent and preliminary weight of the sample, respectively and Me is the weight of the sample at EMC condition.

As it can be seen in moisture curves, at a constant velocity, samples dried with higher temperatures have lower drying times for convective dryers. In addition, drying time can be increased in the infrared dryer when the lamp distance increased in constant power.

Optimization procedure

Maximum antioxidant and calcium contents and minimum color difference and drying time were supposed as critical criteria for optimizing the drying processes. The solutions for the optimum coverage of the criteria were given using the desirability function approach. The ideal values of all three variables, with the highest desirability coefficient, were 0.5 m/s and 60 °C in the convective dryer and 947 W, and 7 cm in the infrared dryer. At this point, the antioxidant, calcium content, time, and color difference were expected to be 0.332%, 0.5%, 485.91 min, and 6.71, respectively in the convective dryer (see Fig. 14) and 0.404%, 0.62%, 40.39 min, and 10.183, respectively in the infrared dryer (see Fig. 15).

Figure 14
figure 14

Optimization point for convective dryer.

Figure 15
figure 15

Optimization point for infrared dryer.

As a brief configuration of the current study, Fig. 16 indicates a flowchart of the drying process by convective and infrared dryers and also indicates the progress of modeling and optimization method carried out by the RSM approach.

Figure 16
figure 16

Flowchart of the drying process in this study.

Conclusions

The present study aimed to investigate different characteristics of Ganoderma lucidum such as calcium, total color difference, and antioxidant values dried by the convective dryer and infrared dryer. Experimental investigation of these properties accompanied by modeling the drying process is the novelty of current contribution. The measurable parameters in the convective dryer were temperature and air velocity while lamp distance and power were influential variables in the infrared dryer. The results indicated that the infrared dryer has a better effect on drying time, energy consumption, amount of calcium, and antioxidants. The calcium content of the dried sample in the infrared dryer increased from 0.2 to 0.62% compared to the fresh sample, while this property increased from 0.2 to 0.5% in convective dryer. In the infrared dryer, the amount of antioxidants extracted was significantly higher than in the convective dryer. The highest amount of calcium was obtained at low power and distance and the highest amount of antioxidants was obtained at high power and short distance. Moreover, increasing the power and reducing the distance had remarkable effects in reducing the drying time and energy consumption. The surface color changes of the samples were less in the convective dryer. In addition, ANOVA was used to develop formulas for predicting antioxidant, calcium content, drying time, and color difference values. The optimal conditions were obtained at the distance of 7 cm and power of 947 W in the infrared dryer while this condition was obtained at an air velocity of 0.5 m/s and air temperature of 60 °C in the convective dryer. Consequently, this research presents an economical process to obtain high value added medical products and it can help researchers who deal with herbal medicines how can dry materials in the best conditions.