1 Introduction

Pineapple (Ananas comosus) belongs to the Bromeliaceae family. It gains popularity owing to its juiciness, rich flavour, and health benefits. Being an abundant source of various nutrients like vitamins and minerals pineapple is a highly consumed sub-tropical fruit [1, 2]. Around 28 million tons of pineapple is produced globally, while 1415 thousand tons are produced by India, securing sixth position [3]. 85% of moisture content in pineapple makes it a perishable fruit [4]. Due to the unavailability of the proper preservation process, wastage is there for this climacteric fruit. Drying being a simple and effective process of preservation, practiced widely. As a post-treatment technique drying or dehydration is highly beneficial to pineapple. It helps in minimizing microbiological degradation by lowering the moisture content of the sample. Not only that but also in extending shelf life and making products available to customers all over the year [5]. Among various drying methods hot air oven, freeze, microwave, and microwave-convective drying were opted to study the drying kinetics of pineapple slices. In the case of hot air drying evaporation of liquid occurs as a result of the circulation of heated air whereas microwave drying is found to be more suitable in drying pineapple as the use of electromagnetic energy shorten the drying time as well as produce quality product [6]. In order to have a lower drying period, microwave-convective drying has been implemented successfully. On the other hand, freeze drying has also been effective in producing a dried product. In the characterization of drying kinetics and the effect of the quality parameter, theoretical and semi-theoretical mathematical modeling has been used for years. The artificial neural network (ANN) has been found more advantageous since it can precisely predict the drying kinetics as well as easily applicable to non-linear processes [7]. This multi-layer interconnected neural net is designed based on the biological neural network. It has been utilised by many researchers in developing drying kinetics models as well as in predicting high precision results for fruits and vegetables [6, 8]. Rehydration ratio is one of the key parameters to determine the quality of dehydrated products [9].

Though Nicoleti et al. [10], Agarry et al. [11], Rodríguez et al. [12] and Olanipekun et al. [4] studied pineapple slice drying kinetics in different conditions. Olanipekun et al. [4] and Izli et al. [13] examined the best-fitted model in explaining the drying characteristics as well as the comparison between fresh and differently dried (convective, microwave and freeze drying) pineapple in various aspects like colour, total polyphenol, and antioxidant capacity. Inadequate studies were there for the hot-air oven, microwave, microwave-convective and freeze drying kinetics of pineapple dehydration. In a precise experimental condition, the theoretical and empirical models could predict the pineapple drying well, though there was no general model that can describe the drying behaviour of pineapple slice during each drying method [14]. The ability of unsupervised learning and aptness for non-linear modeling are the key advantages of ANN.

The aim of the present study is to observe the effect of the hot-air oven, microwave, and microwave-convective and freeze drying on dehydration behaviour of sliced pineapple, to develop the drying kinetics model applying the ANN methodology, the effective moisture diffusivity and the rehydration characteristics of the dried product.

2 Materials and methods

Pineapples were bought from the local market of Jadavpur, West Bengal, India. After coring, they were cut into small pieces with a dimension of 2 cm × 0.5 cm. × 0.3 cm and dried as follows.

The convective drying (HA) was performed through using a hot air oven (Concepts International, Kolkata, India) at 60 °C temperature till constant weight was achieved, it took 10 h of time to obtain the constant weight. The reading for weight loss was taken at 30 min interval for the entire period of drying. Microwave-assisted drying (MW) was performed by using a microwave (Samsung, Combi CE1031LAT, Mumbai, India) at 100 W till constant weight was achieved, it took 120 min of time to obtain the constant weight. The reading for the decline of weight was taken at 3 min interval for the entire period of drying. Microwave Convective drying (MWC) was performed by using a microwave (Samsung, Combi CE1031LAT, Mumbai, India) with convective heating at 40 °C temperature (600 W) till constant weight was achieved, it took 96 min of time to obtain the constant weight. After every 2 min, the reading for weight loss was recorded. After freezing (New Brunswick Scientific, England; Model no: C340-86) of samples for 22 h at − 30 °C, freeze drying (FD) was carried out by using a laboratory freeze dryer (FDU 1200, EYELA, Japan) at a pressure of 0.1 mBar and temperature of − 40 °C. The reading for reduction of weight was taken at 45 min interval for the entire period of drying till constant weight was achieved, it took 20 h of time to attain equilibrium moisture content (0.22 kg water/kg dry basis) was attained from the initial moisture content of (5.30 kg water/kg dry basis) [14].

The following equation was used to determine the moisture ratio (MR) during the drying of pineapple pulp.

$${\text{MR}} = \frac{{M - M_{eq} }}{{M_{in} - M_{eq} }}$$
(1)

where M = moisture content of pineapple at time t (kg water/kg dry basis), Min = moisture content present in pineapple initially (kg water/kg dry basis), Meq = equilibrium moisture content of dried pineapple (kg water/kg dry basis) [15].

Assuming temperature and effective moisture diffusivity remained constant throughout the drying process, shrinkage was negligible and change in moisture content was only due to diffusion, the equation for unsteady sate moisture diffusion of infinite slab [16] can be represented as follows.

$${\text{MR}} = \frac{8}{{\pi^{2} }}\mathop \sum \limits_{n = 1}^{\infty } \frac{1}{{\left( {2Z - 1} \right)^{2} }}e^{{\left[ { - \frac{{\left( {2Z - 1} \right)^{2} \pi^{2} D_{e} t)}}{{4L^{2} }}} \right]}}$$
(2)

where Z = positive integer, De = effective moisture diffusivity (m2/s), L = sample half thickness (0.15 cm.), the logarithmic form of first portion of the Eq. (5) can be expressed as:

$$\ln \left( {\text{MR}} \right) = \ln \frac{8}{{\pi^{2} }} - \left( {\frac{{\pi^{2} D_{e} t}}{{4L^{2} }}} \right)$$
(3)

De was determined from the plot of ln (MR) against drying time (t), considering the following equation:

$${\text{D}}_{\text{e}} = - \frac{{Slope4L^{2} }}{{\pi^{2} }}$$
(4)

Rehydration ratio (RR) was determined as per the method described by Adiletta et al. [17] with little modification. 1 gm of dried pineapple slice was dissolved in 10 gm of water at three different temperatures of 20 °C, 40 °C, 60 °C and 80 °C, with continuous stirring for 20 min. RR was calculated using the following equation.

$${\text{RR}} = \, {{{\text{M}}_{\text{Rh}} } \mathord{\left/ {\vphantom {{{\text{M}}_{\text{Rh}} } {\text{M}}}} \right. \kern-0pt} {\text{M}}}$$
(5)

where MRh = mass of pineapple after rehydration (gm), M = mass of pineapple slice before rehydration (gm)

Coefficient of rehydration (CR) was measured through using the following equation:

$${\text{CR}} = {\text{ M}}_{\text{Rh}} {{\left( {100 - {\text{X}}_{0} } \right)} \mathord{\left/ {\vphantom {{\left( {100 - {\text{X}}_{0} } \right)} {{\text{M}}\left( {100 - {\text{X}}} \right)}}} \right. \kern-0pt} {{\text{M}}\left( {100 - {\text{X}}} \right)}}$$
(6)

where X0 = moisture content of pineapple slice in wet basis, X = moisture content of pineapple slice in wet basis. MATLAB R2014b (MathWorks Inc., USA) was used development of ANN model. The training set, test set and validation set were distributed in a ratio of 70:15:15.

3 Results and discussion

In the process of dehydration to reduce the moisture content initially from 5.30 kg water/kg dry basis to 0.22 kg water/kg dry basis, it was observed an absence of constant rate period for each drying method, rather the removal of moisture from pineapple slices was seen in the falling rate period. Dehydration kinetics for all the four drying methods is represented in Figs. 1 and 2. Having a uniform thickness of pineapple slices, distribution of temperature also seems to be even in case of thin-layer drying of the sample [18]. Water molecules exhibit a high rate of diffusion during the initial phase of drying, causes a fast rate of drying. This phenomenon can be explained on the basis of the theory that, moisture movement during the initial phase was governed by cell wall pathway and trans-membrane transport way. The third phase of drying namely the falling rate period was characterized by a parameter called Effective moisture diffusivity (De). For freeze drying De value observed 24.30 × 10−7 m2/s whereas 2823 × 10−7 m2/s for microwave convective drying. In the case of microwave drying the intermediate De value was 306.09 × 10−7 m2/s while for hot air drying a lower value of 57.24 × 10−7 m2/s was observed. So it is quite clear from the observations that there is a large variation of diffusivities with each mode of drying. This may be a result of a diversified approach of energy transmission to pineapple slices. Olanipekun et al. [4] and Izli et al. [13] found similar results for hot air, freeze, and microwave dried pineapple. Dielectric characteristics greatly influence the amount of moisture present within the pineapple slices.

Fig. 1
figure 1

Dehydration kinetics for freeze drying and hot air drying

Fig. 2
figure 2

Dehydration kinetics for microwave drying and microwave convective drying

Input for the hidden layer was determined from the following equation:

$$I_{{n_{1} n_{2} }} = \mathop \sum \limits_{{n_{1} }} P_{{n_{1} }} C_{{n_{1} i}}$$
(7)

where \(I_{{n_{1} n_{2} }}\) stands for hidden layer input criteria; \(C_{{n_{1} i}}\) denoted as weightage between the input layer and hidden layer; \(P_{{n_{1} }}\) referred to as a factor of input for n1 neuron. The following tan-sig transfer function was employed to process the neural network model:

$$T_{f} = \frac{2}{{1 + exp^{ - 2p} }} - 1$$
(8)

The output of the hidden layer was calculated using the following expression:

$$I_{{n_{3} n_{2} }} = \frac{2}{{1 + exp^{{ - 2\left( {I_{{n_{1} n_{2} }} + B} \right)}} }} - 1$$
(9)

\(I_{{n_{3} n_{2} }}\) and B are defined as the hidden layer output criteria and bias amount respectively. The predicted moisture ratio was estimated by using the following equation:

$$MR_{{n_{2} }} = C_{i MR} I_{{n_{3} n_{2} }} + B_{MR}$$
(10)

\(MR_{{n_{2} }}\) referred to as predicted moisture ratio, \(C_{i MR} I_{{n_{3} n_{2} }}\) denoted as weightage between output and hidden layer; \(B_{MR}\) was the amount of bias for output.

The MR values attained from different drying methods at different intervals of time were distributed between training set, test set, and validation set in a ratio of 70:15:15.

To build the adequate kinetics model, 1000 numbers of iterations were performed. The rate of learning varied within the range of 0.5–0.9. The neural network model for dehydration kinetics study was built of a 1 (input layer)–9 (hidden layer)–1 (output layer) configuration (Fig. 3). The Levenberg–Marquardt ANN tool for nonlinear activation function was employed along with ANN backpropagation algorithm for feed-forward neural network. The correlation coefficient (R) appeared as 1.000 (training), 0.99784 (testing), 0.99818 (validation) for best fitted HA model; 0.99999 (training), 0.99911 (testing), 0.99989 (validation) for best fitted MW model; 1.000 (training), 0.99943 (testing), 0.99939 (validation) for best fitted MWC model and 0.99995 (training), 0.99994 (testing), 0.99998 (validation) for best fitted FD model (Figs. 4, 5, 6 and 7). The ANN predicted versus experimental data set were plotted in Figs. 4, 5, 6 and 7 and marked as “All”. The ANN model exhibited that experimental and predicted values of MR lie in close proximity for all the four drying techniques employed to dry pineapple slices. The coefficients of correlation (relative model prediction measurement) for HA, MW, MWC, and FD were 0.99936, 0.9994, 0.99948, and 0.99926 respectively. The root mean squared error (absolute model prediction measurement) for HA, MW, MWC, and FD were 0.006, 0.004, 0.009, and 0.074 respectively, implied the development of a robust model and competent prediction ability of ANN model for dehydration kinetics of differently dried pineapple.

Fig. 3
figure 3

Feedforward neural network

Fig. 4
figure 4

Regression model of predicted and experimental data for hot air dried pineapple

Fig. 5
figure 5

Regression model of predicted and experimental data for freeze dried pineapple

Fig. 6
figure 6

Regression model of predicted and experimental data for microwave dried pineapple

Fig. 7
figure 7

Regression model of predicted and experimental data for microwave-convective dried pineapple

In the initial phase of hot air drying free moisture was removed from the surface of the pineapple slice, whereas, during the second stage the bound moisture was taking away from the sample. An increase in the coefficient of convective heat transfer between pineapple and air was mainly responsible to set the rate of drying [19]. With progression in microwave drying, the rate of drying became slower after the initial fast segment of drying. As the moisture content of pineapple decreased, a gradual depletion in microwave power absorption was there, which may reduce the rate of drying. Volumetric heating caused the pineapple slices to be dried out evenly. The moisture within the pineapple was heated up and evaporated, leading to the formation of a pressure gradient within the product which pumped up the moisture to the surface. For microwave drying of bael Dash et al. [7] also observed a similar phenomenon. In microwave convective drying, initially, the moisture present in the sample absorbs microwave energy lead to a fast rate of evaporation was there, which ultimately resulted in a higher rate of drying in the primary phase of pineapple drying. In the later stage, due to the unavailability of ample amount of free moisture the rate of drying declined, combined convective heat transfer along with microwave power was the dominant mode of drying in this phase, which collectively transferred the residual moisture available within the pineapple slice to the surface [20]. In the falling rate period of freeze drying, due to the gradual downward movement of the sublimation front, it ultimately extended to the lower surface of the sample, ensued a resistance in moisture and heat transfer process. Conduction of heat energy occurred through the frozen pineapple layer followed by the dried pineapple layer. The sublimation process was also got affected by the interaction of polar compounds present in the pineapple with the residual moisture. In the later part of drying, water vapour diffused through the porous textured sample and traversed a relatively long path to reach the surface, which hindered the process of mass transfer [21].

For any dried food product the utmost factors to be considered are quality and physicochemical properties of it. Therefore it is necessary to know which factors control these properties. Rehydration characteristics have been found to be a crucial factor in controlling these properties of dried product [22]. In consequences of moisture removal during the drying period, the capillary space became narrow, shrinkage of cells occurred and moreover, the contraction was observed in cellular material which leads to disintegrating the vegetal tissue. In drying a high RR indicates cell damage to a smaller extent. Cell damage seems to be less with a high value of RR [23]. RR depends largely on the drying methods used and its value gained a minimum of 2.00 for MWC whereas it was attained a maximum of 5.49 for FD. For FD, as it contained a relatively larger number of pores, more amount of water adhered to the sample which in turn gives rise to the highest RR value of 5.49 at 80 °C. Gaware et al. [24] observed similar results for freeze dried tomato slice. Dehydrated tissue regained moisture in course of rehydration and therefore tried in obtaining the original structure owing to its natural elasticity property. But microwave raptured the cellular structure, maybe due to this reason, comparatively lower RR was observed in the case of MW. Argyropoulos et al. [25] reported similar observations for rehydration of dried mushroom. In contrast, it has also been observed an increased RR value of MW compared to HA, MWC sample. The reason for this observation may be stated as the water molecules penetrate through the void spaces created by microwave within the adjoining cell. A similar observation was reported by Ozcan-sinir et al. [22]. MWC being the fastest drying method employed for pineapple slices in this study, resulted in irreversible cellular shrinkage, which may responsible for hindrance in water uptake during rehydration operation. Mohanta et al. [26] observed similar rehydration characteristics for microwave convective dried ginger. An increase in RR was noted with increasing rehydration temperature from 20 to 80 °C, this may be supported by the fact that with a rise in temperature, moisture also penetrated to the dried product at a higher rate. Balasbramanian et al. [27], Doymaz et al. [23] and Mujaffar et al. [28] found similar observation for rehydration of dried betel leaves, mushroom slices, and amaranth leaves. For FD pineapple slices at 80 °C a maximum value of 0.969 was reported in terms of CR whereas the minimum value of 0.369 was observed at 20 °C for MWC pineapple slices (Table 1).

Table 1 Rehydration ratio and coefficient of rehydration for microwave convective dried, hot air dried, microwave dried and freeze dried pineapple at different temperature

4 Conclusion

The ANN model was developed for differently dried pineapple slice considering the Levenberg–Marquardt algorithm. From the coefficient of correlation, it was evident that all four models could predict the dehydration kinetics of pineapple efficiently. In terms of drying time required, microwave convective was the most efficient one, produced the desired product in only 96 min, while freeze drying consumed maximum time (20 h). All four drying kinetics were commenced in the falling rate period. The Effective moisture diffusivity (De) was highest for microwave convective drying (2823 × 10−7 m2/s) followed by microwave drying (306.09 × 10−7 m2/s), hot air drying (57.24 × 10−7 m2/s) and freeze drying (24.30 × 10−7 m2/s). The maximum RR was observed for FD at 80 °C, while the minimum was for MWC (2.00) at 20 °C. The FD sample with fluffy and porous texture absorbed more water molecules, whereas, moisture penetration was less susceptible in MWC due to permanent cell damage. The effect of drying parameters like air flow rate, temperature, microwave power levels, and extent of vacuum may alter the dehydration and rehydration properties of dried products. Neuro-fuzzy systems may be an alternative approach to build dehydration kinetics models which can further be explored.