<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article article-type="research-article" dtd-version="2.3" xml:lang="EN" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Mech. Eng.</journal-id>
<journal-title>Frontiers in Mechanical Engineering</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Mech. Eng.</abbrev-journal-title>
<issn pub-type="epub">2297-3079</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">1493579</article-id>
<article-id pub-id-type="doi">10.3389/fmech.2024.1493579</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Mechanical Engineering</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>Diagnosis and prognosis of soybean roaster failures using particle swarms</article-title>
<alt-title alt-title-type="left-running-head">Ngnassi Djami et al.</alt-title>
<alt-title alt-title-type="right-running-head">
<ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3389/fmech.2024.1493579">10.3389/fmech.2024.1493579</ext-link>
</alt-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Ngnassi Djami</surname>
<given-names>Aslain Brisco</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="corresp" rid="c001">&#x2a;</xref>
<uri xlink:href="https://loop.frontiersin.org/people/1629954/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/conceptualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/formal-analysis/"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Ngnassi Nguelcheu</surname>
<given-names>Ulrich</given-names>
</name>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
<role content-type="https://credit.niso.org/contributor-roles/conceptualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/formal-analysis/"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Nkongho Anyi</surname>
<given-names>Joseph</given-names>
</name>
<xref ref-type="aff" rid="aff3">
<sup>3</sup>
</xref>
<role content-type="https://credit.niso.org/contributor-roles/supervision/"/>
<role content-type="https://credit.niso.org/contributor-roles/validation/"/>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
</contrib>
</contrib-group>
<aff id="aff1">
<sup>1</sup>
<institution>Department of Fundamental Sciences and Techniques of Engineer</institution>, <institution>Chemical Engineering and Mineral Industries School</institution>, <institution>University of Ngaoundere</institution>, <addr-line>Ngaoundere</addr-line>, <country>Cameroon</country>
</aff>
<aff id="aff2">
<sup>2</sup>
<institution>Department of Physics</institution>, <institution>Faculty of Science</institution>, <institution>University of Ngaoundere</institution>, <addr-line>Ngaoundere</addr-line>, <country>Cameroon</country>
</aff>
<aff id="aff3">
<sup>3</sup>
<institution>Laboratory E3M</institution>, <institution>Faculty of Industrial Engineering</institution>, <institution>University of Douala</institution>, <addr-line>Douala</addr-line>, <country>Cameroon</country>
</aff>
<author-notes>
<fn fn-type="edited-by">
<p>
<bold>Edited by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/1267729/overview">Fuyin Ma</ext-link>, Xi&#x2019;an Jiaotong University, China</p>
</fn>
<fn fn-type="edited-by">
<p>
<bold>Reviewed by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/1812655/overview">Bin Yang</ext-link>, Xi&#x2019;an Jiaotong University, China</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/2861513/overview">Hu Minghui</ext-link>, Beijing University of Chemical Technology, China</p>
</fn>
<corresp id="c001">&#x2a;Correspondence: Aslain Brisco Ngnassi Djami, <email>ngnassbris@yahoo.fr</email>
</corresp>
</author-notes>
<pub-date pub-type="epub">
<day>30</day>
<month>10</month>
<year>2024</year>
</pub-date>
<pub-date pub-type="collection">
<year>2024</year>
</pub-date>
<volume>10</volume>
<elocation-id>1493579</elocation-id>
<history>
<date date-type="received">
<day>09</day>
<month>09</month>
<year>2024</year>
</date>
<date date-type="accepted">
<day>18</day>
<month>10</month>
<year>2024</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2024 Ngnassi Djami, Ngnassi Nguelcheu and Nkongho Anyi.</copyright-statement>
<copyright-year>2024</copyright-year>
<copyright-holder>Ngnassi Djami, Ngnassi Nguelcheu and Nkongho Anyi</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p>
</license>
</permissions>
<abstract>
<p>In industry, the monitoring and diagnosis of production processes are crucial issues in ensuring plant reliability, performance and quality. In particular, food processing operations, such as coffee roasting, are subject to numerous risks of failure that can impact on productivity and the quality of the final product. In this context, the main objective of this study was to develop an innovative method for the diagnosis and prognosis of failures in a coffee roasting process. The proposed method differs from standard approaches by using the particle swarm optimization (PSO) algorithm applied to the analysis of signatures of key process variables. This new approach has improved fault detection, with a recognition rate of over 90% for the main types of fault identified, such as heating problems, air obstructions or leaks. In addition to diagnostics, the method has also demonstrated its effectiveness in prognosticating the state of health of the process, with an average error on the prediction of remaining service life reduced to 15%, compared with 35% for fixed-threshold methods. This work has therefore enabled us to develop an innovative method offering superior performance to standard approaches for the diagnosis and prognosis of failures in the roasting process.</p>
</abstract>
<kwd-group>
<kwd>diagnosis</kwd>
<kwd>prognosis</kwd>
<kwd>roaster</kwd>
<kwd>particle swarms</kwd>
<kwd>predictive maintenance</kwd>
</kwd-group>
<custom-meta-wrap>
<custom-meta>
<meta-name>section-at-acceptance</meta-name>
<meta-value>Vibration Systems</meta-value>
</custom-meta>
</custom-meta-wrap>
</article-meta>
</front>
<body>
<sec id="s1">
<title>1 Introduction</title>
<sec id="s1-1">
<title>1.1 Background and importance of failure diagnosis in soybean roasting processes</title>
<p>Soybean roasting is a crucial stage in the production of soy-based foods and biofuels. This complex thermochemical process allows for the deep modification of the physical, chemical, and organoleptic properties of soybeans, thus improving their flavor, texture, color, and digestibility (<xref ref-type="bibr" rid="B31">Saravacos and Kostaropoulos, 2002</xref>; <xref ref-type="bibr" rid="B22">Mujumdar, 2006</xref>; <xref ref-type="bibr" rid="B36">Toledo et al., 2007</xref>). However, potential failures in these soybean thermal processing operations can have devastating consequences in terms of finished product quality, energy efficiency, and operator safety. As <xref ref-type="bibr" rid="B14">Grau et al. (2014)</xref> rightly point out, &#x201c;breakdowns in roasting equipment lead to high maintenance costs and can seriously compromise product quality and worker safety&#x201d;.</p>
<p>Early and accurate diagnosis of failures in soybean roasters is therefore crucial to ensure the reliability, durability, and optimal performance of these complex industrial installations. According to <xref ref-type="bibr" rid="B29">Roos and Drusch (2015)</xref>, &#x201c;real-time monitoring of critical roasting process parameters is essential to quickly detect any operational deviations and effectively prevent failures&#x201d;. However, conventional methods of monitoring and preventive maintenance are rapidly reaching their limits in the face of the growing complexity of these transformation processes (<xref ref-type="bibr" rid="B10">Fellows, 2022</xref>; <xref ref-type="bibr" rid="B34">Singh and Heldman, 2001</xref>; <xref ref-type="bibr" rid="B38">Valentas et al., 1997</xref>; <xref ref-type="bibr" rid="B3">Brennan and Grandison, 2012</xref>; <xref ref-type="bibr" rid="B13">Geankoplis, 2003</xref>; <xref ref-type="bibr" rid="B28">Ray, 2023</xref>). Innovative new approaches are therefore needed to meet these industrial challenges.</p>
</sec>
<sec id="s1-2">
<title>1.2 Presentation of the proposed particle swarm method</title>
<p>The method proposed in this work uses particle swarm optimization (PSO) as the main optimization algorithm. <xref ref-type="bibr" rid="B17">Kennedy and Eberhart (1995)</xref> introduced particle swarm optimization, an optimization technique inspired by the social behavior of birds and fish. <xref ref-type="bibr" rid="B27">Poli et al. (2007)</xref> published a paper detailing the theoretical principles and mathematical foundations of particle swarm optimization.</p>
<p>
<xref ref-type="bibr" rid="B33">Shi and Eberhart (1998)</xref> proposed a modified version of the original PSO algorithm, which has shown better performance in certain applications. <xref ref-type="bibr" rid="B4">Clerc (2010)</xref> wrote a comprehensive book on particle swarm optimization, describing in detail the different variants of the algorithm and their advantages and limitations.</p>
<p>The use of particle swarm optimization in this method allows for the efficient solution of nonlinear, non-smooth, and non-convex optimization problems, as demonstrated by the work of <xref ref-type="bibr" rid="B23">Niknam (2012)</xref> on economic dispatch optimization. <xref ref-type="bibr" rid="B24">Niknam and Amiri (2010)</xref> also successfully used a hybrid approach based on PSO, ACO, and k-means for cluster analysis.</p>
<p>Furthermore, the theoretical foundations of swarm intelligence are described in the work of <xref ref-type="bibr" rid="B8">Engelbrecht (2005)</xref>. This understanding of the mechanisms of particle swarm optimization enables the improvement of its implementation and performance for the applications targeted in this work.</p>
<p>
<xref ref-type="bibr" rid="B3">Brennan and Grandison (2012)</xref> have published a reference work on food processing, providing in-depth knowledge on food processes. <xref ref-type="bibr" rid="B10">Fellows (2022)</xref> wrote a book on food processing technologies, including principles and practices. <xref ref-type="bibr" rid="B13">Geankoplis (2003)</xref> published a manual on unit operations and separation processes in transport, providing useful knowledge for process optimization. <xref ref-type="bibr" rid="B14">Grau et al. (2014)</xref> studied predictive maintenance strategies for industrial applications, providing relevant information for improving process performance.</p>
<p>
<xref ref-type="bibr" rid="B22">Mujumdar (2006)</xref> edited a compendium on industrial drying, <xref ref-type="bibr" rid="B28">Ray (2023)</xref> described the principles of food processing in a recent work, and <xref ref-type="bibr" rid="B29">Roos and Drusch (2015)</xref> published a book on phase transitions in foods, all providing specialized knowledge in the key areas of this method. <xref ref-type="bibr" rid="B30">Sandeep (2011)</xref> edited a work on thermal food processing, its control, and automation, <xref ref-type="bibr" rid="B31">Saravacos and Kostaropoulos (2002)</xref> wrote a manual on food processing equipment, and <xref ref-type="bibr" rid="B34">Singh and Heldman (2001)</xref> published an introduction to food engineering, offering complementary insight on food processes.</p>
<p>Finally, <xref ref-type="bibr" rid="B36">Toledo et al. (2007)</xref> dealt with thermal food processing, its control, and automation, while <xref ref-type="bibr" rid="B38">Valentas et al. (1997)</xref> edited a manual on food engineering practices, providing in-depth expertise on the optimization of food processes.</p>
</sec>
</sec>
<sec id="s2">
<title>2 Modeling the roasting process</title>
<sec id="s2-1">
<title>2.1 Description of the soybean roasting process</title>
<p>Soybean roasting is a key step in the transformation of soybean seeds into food products such as tofu, soy milk, or soy sauce. This process involves several successive steps aimed at modifying the physical and chemical properties of the soybean seeds.</p>
<p>As described by <xref ref-type="bibr" rid="B29">Roos and Drusch (2015)</xref>, soybeans initially contain a high moisture content, generally between 10% and 15%. The first step of the process is therefore a preliminary drying process aimed at reducing this moisture content to around 5%&#x2013;7%, as highlighted by <xref ref-type="bibr" rid="B34">Singh and Heldman (2001)</xref> in their introduction to food engineering. <xref ref-type="table" rid="T1">Table 1</xref> presents the typical parameters for drying soybean seeds.</p>
<table-wrap id="T1" position="float">
<label>TABLE 1</label>
<caption>
<p>Soybean drying parameters.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Parameter</th>
<th align="center">Range of values</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">Initial water content 10&#x2013;15</td>
<td align="center">10%&#x2013;15%</td>
</tr>
<tr>
<td align="center">Final water content</td>
<td align="center">5%&#x2013;7%</td>
</tr>
<tr>
<td align="center">Drying temperature</td>
<td align="center">60&#xb0;C&#x2013;80&#xb0;C</td>
</tr>
<tr>
<td align="center">Drying time</td>
<td align="center">2&#x2013;4&#xa0;h</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>Next, the soybean seeds are subjected to a roasting process, as described by <xref ref-type="bibr" rid="B22">Mujumdar (2006)</xref> in his reference work on industrial drying. This step involves heating the seeds to temperatures between 150&#xb0;C and 200&#xb0;C for a duration of 10&#x2013;30&#xa0;min, thus causing complex chemical reactions. <xref ref-type="bibr" rid="B31">Saravacos and Kostaropoulos (2002)</xref> explain that these reactions lead to modifications of the protein, lipid, and carbohydrate compounds present in the soybeans. <xref ref-type="fig" rid="F1">Figure 1</xref> illustrates the schematic diagram of the soybean roasting process.</p>
<fig id="F1" position="float">
<label>FIGURE 1</label>
<caption>
<p>Soybean roasting process diagram (<xref ref-type="bibr" rid="B39">Waaijenberg, 1996</xref>; <xref ref-type="bibr" rid="B19">Mateos et al., 2002</xref>).</p>
</caption>
<graphic xlink:href="fmech-10-1493579-g001.tif"/>
</fig>
<p>As reported by <xref ref-type="bibr" rid="B10">Fellows (2022)</xref> and <xref ref-type="bibr" rid="B38">Valentas et al. (1997)</xref>, roasting helps inactivate antinutritional factors such as protease inhibitors, improve protein digestibility, and develop the characteristic flavor of roasted soybean. <xref ref-type="bibr" rid="B13">Geankoplis (2003)</xref> also emphasizes that the physicochemical transformations induced improve the texture and water-holding capacity of the roasted seeds.</p>
<p>After this roasting step, the soybean seeds generally undergo a controlled cooling process, as described by <xref ref-type="bibr" rid="B3">Brennan and Grandison (2012)</xref> in their book on food processing. This cooling helps stabilize the properties of the finished product and prepares the seeds for further processing steps, such as grinding or extraction of the components of interest.</p>
</sec>
<sec id="s2-2">
<title>2.2 Identification of the main process parameters influencing quality</title>
<p>Several parameters of the soybean roasting process have a significant impact on the physical, chemical, and organoleptic properties of the final product. As emphasized by <xref ref-type="bibr" rid="B10">Fellows (2022)</xref>, the control of these parameters is essential to obtain high-quality, consistent products that meet consumer expectations.</p>
<p>The roasting temperature is one of the most critical parameters. According to <xref ref-type="bibr" rid="B22">Mujumdar (2006)</xref>, excessively high temperatures can lead to excessive degradation of the compounds of interest and the development of undesirable flavors, while too low temperatures do not allow the desired transformations to be achieved. <xref ref-type="bibr" rid="B31">Saravacos and Kostaropoulos (2002)</xref> thus recommend temperatures between 150&#xb0;C and 200&#xb0;C to obtain an optimal balance between changes in texture, color, and flavor.</p>
<p>Another important parameter is the roasting duration. As explained by <xref ref-type="bibr" rid="B3">Brennan and Grandison (2012)</xref>, a treatment time that is too short does not allow the complete realization of the chemical reactions, while a time that is too long can lead to excessive degradation of the compounds. According to these authors, durations of 10&#x2013;30&#xa0;min seem to offer the best compromise to develop the characteristic flavor while preserving the nutritional qualities of the soybean, as shown in <xref ref-type="table" rid="T2">Table 2</xref>.</p>
<table-wrap id="T2" position="float">
<label>TABLE 2</label>
<caption>
<p>Effect of roasting time on the properties of roasted soybeans.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Roasting time</th>
<th align="center">Organoleptic quality</th>
<th align="center">Nutritional quality</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">10&#xa0;min</td>
<td align="center">Characteristic taste</td>
<td align="center">Good preservation</td>
</tr>
<tr>
<td align="center">20&#xa0;min</td>
<td align="center">Optimum taste</td>
<td align="center">Good preservation</td>
</tr>
<tr>
<td align="center">30&#xa0;min</td>
<td align="center">Strong flavor</td>
<td align="center">Slight deterioration</td>
</tr>
<tr>
<td align="center">&#x3e;30&#xa0;min</td>
<td align="center">Burnt flavor</td>
<td align="center">Significant deterioration</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>The initial moisture content of the soybean seeds also plays an essential role, as highlighted by <xref ref-type="bibr" rid="B34">Singh and Heldman (2001)</xref>. A too high moisture content slows down heat and mass transfers, while a too low content can lead to excessive drying and loss of quality. These authors thus recommend a residual moisture content between 5% and 7% at the end of the preliminary drying step.</p>
<p>Finally, the control of the post-roasting cooling conditions, particularly the cooling rate, is also a key parameter for preserving the organoleptic and functional qualities of the product, as described by <xref ref-type="bibr" rid="B29">Roos and Drusch (2015)</xref>.</p>
<p>By controlling these various process parameters, it is possible to optimize the quality of the roasted soybean and obtain a product that meets the requirements of consumers and the food industry.</p>
</sec>
</sec>
<sec id="s3">
<title>3 Particle swarm diagnosis and prognosis method</title>
<sec id="s3-1">
<title>3.1 Principle of operation of particle swarm optimization</title>
<p>Particle Swarm Optimization (PSO) is a stochastic optimization method developed by Russell Eberhart and James Kennedy in 1995. Inspired by social behaviors observed in nature, such as the flight of birds, PSO allows a set of particles to represent candidate solutions moving through a search space. Each particle adjusts its position based on its personal experience (best personal position) and the collective experience of the swarm (global best position) (<xref ref-type="bibr" rid="B6">Eberhart and Shi, 2000</xref>; <xref ref-type="bibr" rid="B7">Elbeltagi et al., 2005</xref>; <xref ref-type="bibr" rid="B17">Kennedy and Eberhart, 1995</xref>; <xref ref-type="bibr" rid="B25">Parsopoulos and Vrahatis, 2002</xref>; <xref ref-type="bibr" rid="B27">Poli et al., 2007</xref>; <xref ref-type="bibr" rid="B37">Trelea, 2003</xref>; <xref ref-type="bibr" rid="B40">Yang, 2010</xref>).</p>
<sec id="s3-1-1">
<title>3.1.1 Motivation for the proposed method</title>
<p>Current diagnostic methods, such as fixed thresholds and statistical approaches, present significant limitations in terms of precision and responsiveness. This manuscript proposes an improved version of PSO, specifically adapted for fault diagnosis in roasting processes, to overcome these challenges:<list list-type="simple">
<list-item>
<p>a. Limitations of Traditional Methods:</p>
<list list-type="simple">
<list-item>
<p>o Threshold-Based Methods: These methods lack adaptability and may fail to detect anomalies when parameters change slightly (<xref ref-type="bibr" rid="B11">Gaing, 2004</xref>).</p>
</list-item>
<list-item>
<p>o Statistical Approaches: They require abundant historical data and are often unsuitable for new operational conditions (<xref ref-type="bibr" rid="B26">Poli, 2008</xref>).</p>
</list-item>
</list>
</list-item>
<list-item>
<p>b. Contributions of the Proposed Method:</p>
<list list-type="simple">
<list-item>
<p>o Dynamic Adaptability: We have introduced a real-time adaptation mechanism to the PSO algorithm, allowing for dynamic parameter adjustments based on variations observed in the roasting process. This improves the accuracy of anomaly detection and reduces the risk of false positives (<xref ref-type="bibr" rid="B2">Bratton and Kennedy, 2007</xref>).</p>
</list-item>
<list-item>
<p>o Multidimensional Approach: The algorithm simultaneously considers multiple parameters, allowing for the identification of complex interactions within the roasting process (<xref ref-type="bibr" rid="B12">Gao and Liu, 2012</xref>).</p>
</list-item>
<list-item>
<p>o Prediction of Remaining Useful Life: By using predictive models based on historical data, our method estimates the remaining useful life of components, facilitating preventive maintenance planning (<xref ref-type="bibr" rid="B21">Mirjalili, 2015</xref>).</p>
</list-item>
</list>
</list-item>
</list>
</p>
</sec>
<sec id="s3-1-2">
<title>3.1.2 PSO algorithm</title>
<p>The PSO algorithm developed here is distinguished by its specific steps and adaptation mechanisms. Here are the steps of our approach:</p>
<list list-type="simple">
<list-item>
<p>Step 1: Initialization:</p>
<list list-type="simple">
<list-item>
<p>o Position and Velocity: Randomly initialize the positions <inline-formula id="inf1">
<mml:math id="m1">
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> and velocities <inline-formula id="inf2">
<mml:math id="m2">
<mml:mrow>
<mml:msub>
<mml:mi>v</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> of the particles in the search space. Each particle represents a candidate solution.</p>
</list-item>
<list-item>
<p>o Best Positions: Define the best personal positions <inline-formula id="inf3">
<mml:math id="m3">
<mml:mrow>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> and the global best position <inline-formula id="inf4">
<mml:math id="m4">
<mml:mrow>
<mml:mi>g</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>.</p>
</list-item>
</list>
</list-item>
<list-item>
<p>Step 2: Evaluation:</p>
<list list-type="simple">
<list-item>
<p>o Objective Function: Evaluate each particle based on an objective function that integrates criteria specific to roasting, such as roasting time and temperature. This evaluation is crucial for identifying the most promising solutions.</p>
</list-item>
</list>
</list-item>
<list-item>
<p>Step 3: Update Best Positions:</p>
<list list-type="simple">
<list-item>
<p>o Personal Update: If the particle&#x2019;s performance exceeds its best personal position, update <inline-formula id="inf5">
<mml:math id="m5">
<mml:mrow>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>.</p>
</list-item>
<list-item>
<p>o Global Update: If a particle finds a better solution than the global best position <inline-formula id="inf6">
<mml:math id="m6">
<mml:mrow>
<mml:mi>g</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>, update <inline-formula id="inf7">
<mml:math id="m7">
<mml:mrow>
<mml:mi>g</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>.</p>
</list-item>
</list>
</list-item>
</list>
<list list-type="simple">
<list-item>
<p>Step 4: Update Velocity and Position:</p>
<list list-type="simple">
<list-item>
<p>o Adaptation Rule:</p>
<list list-type="simple">
<list-item>
<p>&#x2003;&#x2043; Update the velocity (<xref ref-type="disp-formula" rid="e1">Equations 1</xref> and <xref ref-type="disp-formula" rid="e2">2</xref>):</p>
</list-item>
</list>
</list-item>
</list>
</list-item>
</list>
<disp-formula id="e1">
<mml:math id="m8">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3bd;</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>&#x3c9;</mml:mi>
<mml:mo>.</mml:mo>
<mml:msub>
<mml:mi>&#x3bd;</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:mo>.</mml:mo>
<mml:msub>
<mml:mi>r</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:msub>
<mml:mi>p</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mo>.</mml:mo>
<mml:msub>
<mml:mi>r</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>g</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(1)</label>
</disp-formula>
<list list-type="simple">
<list-item>
<p>&#x2003;&#x2043; Here, <inline-formula id="inf8">
<mml:math id="m9">
<mml:mrow>
<mml:mi>&#x3c9;</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> is the inertia coefficient, <inline-formula id="inf9">
<mml:math id="m10">
<mml:mrow>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf10">
<mml:math id="m11">
<mml:mrow>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> are acceleration coefficients, and <inline-formula id="inf11">
<mml:math id="m12">
<mml:mrow>
<mml:mi>r</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf12">
<mml:math id="m13">
<mml:mrow>
<mml:msub>
<mml:mi>r</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> are uniformly distributed random numbers.</p>
</list-item>
<list-item>
<p>&#x2009;o Position: Update the position:</p>
</list-item>
</list>
<disp-formula id="e2">
<mml:math id="m14">
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>v</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(2)</label>
</disp-formula>
<list list-type="simple">
<list-item>
<p>Step 5: Dynamic Parameter Adaptation:</p>
<list list-type="simple">
<list-item>
<p>o Coefficient Adjustment: Based on observed performance, dynamically adjust the coefficients <inline-formula id="inf13">
<mml:math id="m15">
<mml:mrow>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf14">
<mml:math id="m16">
<mml:mrow>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>. For example, if a particle converges quickly, decrease <inline-formula id="inf15">
<mml:math id="m17">
<mml:mrow>
<mml:msub>
<mml:mi>c</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> to favor exploration.</p>
</list-item>
<list-item>
<p>o Continuous Evaluation: Evaluate the performance of particles at each iteration and adjust parameters to improve overall convergence.</p>
</list-item>
</list>
</list-item>
<list-item>
<p>Step 6: Stopping Condition:</p>
<list list-type="simple">
<list-item>
<p>o Repeat steps 2 to 5 until reaching a predefined stopping criterion, such as a maximum number of iterations or satisfactory performance. Monitor convergence to avoid stagnation (<xref ref-type="bibr" rid="B5">Clerc and Kennedy, 2002</xref>).</p>
</list-item>
</list>
</list-item>
</list>
<p>This section presents an in-depth view of the PSO algorithm, highlighting the unique contributions of our approach. By integrating dynamic adaptation mechanisms and multidimensional analysis, this method aims to improve fault diagnosis in coffee roasting, while establishing a solid foundation for optimizing industrial processes.</p>
</sec>
</sec>
<sec id="s3-2">
<title>3.2 Adapting the method to roaster failures</title>
<p>The proposed method must be able to adapt to potential roaster failures. Indeed, proper roaster operation is essential to ensure consistent and reproducible roasting of coffee beans. However, various malfunctions or operating parameter drifts can occur, impacting the final quality of the roasted coffee.</p>
</sec>
<sec id="s3-3">
<title>3.3 Taking temperature variations into account</title>
<p>One of the most common failures of a roaster is temperature drift during the roasting cycle. This may be due to thermal control problems, heating element wear, or variations in thermal load. In this case, the actual temperature in the roasting drum <italic>T(t)</italic> may deviate from the programmed setpoint <inline-formula id="inf16">
<mml:math id="m18">
<mml:mrow>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mi>c</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>.</p>
<p>In order to adapt to these variations, the proposed kinetic model must integrate the actual roasting temperature <italic>T(t)</italic> rather than the setpoint <inline-formula id="inf17">
<mml:math id="m19">
<mml:mrow>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mi>c</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, as emphasized by <xref ref-type="bibr" rid="B15">Illy and Viani (1995)</xref>. <xref ref-type="bibr" rid="B16">Jo&#xeb;t et al. (2010)</xref> also stress the importance of taking environmental factors into account when analyzing the biochemical composition of green coffee.</p>
<p>To this end, the actual temperature <italic>T(t)</italic> can be expressed as a function of the setpoint <inline-formula id="inf18">
<mml:math id="m20">
<mml:mrow>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mi>c</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> and a corrective term <italic>&#x394;T(t)</italic> (<xref ref-type="disp-formula" rid="e3">Equation 3</xref>):<disp-formula id="e3">
<mml:math id="m21">
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mi>c</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mo>&#x394;</mml:mo>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(3)</label>
</disp-formula>where <italic>&#x394;T(t)</italic> represents the difference between the actual temperature and the setpoint, which may vary over time. This corrective term can be estimated from <italic>in-situ</italic> temperature measurements in the roasting drum.</p>
<p>
<xref ref-type="bibr" rid="B35">Sunarharum et al. (2014)</xref>, for example, propose an approach where <italic>&#x394;T(t)</italic> is modeled as a time-dependent stochastic process of the form (<xref ref-type="disp-formula" rid="e4">Equation 4</xref>):<disp-formula id="e4">
<mml:math id="m22">
<mml:mrow>
<mml:mo>&#x394;</mml:mo>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>a</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>b</mml:mi>
<mml:mo>.</mml:mo>
<mml:mi>t</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>&#x3c3;</mml:mi>
<mml:mo>.</mml:mo>
<mml:mi>W</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(4)</label>
</disp-formula>with <italic>a</italic>, <italic>b</italic> and <italic>&#x3c3;</italic> parameters to be identified, and <italic>W(t)</italic> a Wiener process (white noise). By integrating this expression of <italic>T(t)</italic> into the kinetic model, we then obtain a more realistic description of temperature evolution during roasting, taking into account potential drifts and fluctuations. &#x201c;This ensures the model&#x2019;s robustness in the face of variations in roaster temperature&#x201d;, emphasize <xref ref-type="bibr" rid="B9">Fabbri et al. (2011)</xref>. <xref ref-type="bibr" rid="B32">Schenker and Rothgeb (2017)</xref>, <xref ref-type="bibr" rid="B1">Bor&#xe9;m et al. (2013)</xref> and <xref ref-type="bibr" rid="B18">Kreuml et al. (2013)</xref> also provide further evidence on the impact of roasting and storage conditions on coffee sensory quality and color.</p>
</sec>
<sec id="s3-4">
<title>3.4 Taking account of temperature inhomogeneities</title>
<p>In addition to the global temperature variations over time, the temperature can also exhibit spatial inhomogeneities within the roasting drum itself. Indeed, the circulation of hot air, the agitation of the grain bed, and the geometry of the drum generally induce thermal gradients, with hotter or colder zones.</p>
<p>To integrate these spatial effects into the model, one can, for example, consider that the temperature follows a statistical distribution within the volume of the drum. <xref ref-type="bibr" rid="B16">Jo&#xeb;t et al. (2010)</xref> propose to model the local temperature <inline-formula id="inf19">
<mml:math id="m23">
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> as a random variable following a normal distribution with mean <inline-formula id="inf20">
<mml:math id="m24">
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> and standard deviation <inline-formula id="inf21">
<mml:math id="m25">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c3;</mml:mi>
<mml:mi>T</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> (<xref ref-type="disp-formula" rid="e5">Equation 5</xref>):<disp-formula id="e5">
<mml:math id="m26">
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>N</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>,</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c3;</mml:mi>
<mml:mi>T</mml:mi>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(5)</label>
</disp-formula>where <inline-formula id="inf22">
<mml:math id="m27">
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> is the average temperature, which is itself time-dependent as seen previously, and <inline-formula id="inf23">
<mml:math id="m28">
<mml:mrow>
<mml:msub>
<mml:mi>&#x3c3;</mml:mi>
<mml:mi>T</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> characterizes the amplitude of the thermal inhomogeneities.</p>
<p>Similarly, <xref ref-type="bibr" rid="B35">Sunarharum et al. (2014)</xref> consider that the corrective term <inline-formula id="inf24">
<mml:math id="m29">
<mml:mrow>
<mml:mo>&#x394;</mml:mo>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> also follows a normal distribution (<xref ref-type="disp-formula" rid="e6">Equation 6</xref>):<disp-formula id="e6">
<mml:math id="m30">
<mml:mrow>
<mml:mo>&#x394;</mml:mo>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>N</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi mathvariant="normal">a</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mi mathvariant="normal">b</mml:mi>
<mml:mo>.</mml:mo>
<mml:mi mathvariant="normal">t</mml:mi>
<mml:mo>,</mml:mo>
<mml:msup>
<mml:mi>&#x3c3;</mml:mi>
<mml:mn>2</mml:mn>
</mml:msup>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(6)</label>
</disp-formula>
</p>
<p>with <italic>a, b</italic> and <italic>&#x3c3;</italic> the parameters of this distribution.</p>
<p>By averaging the kinetic properties over the temperature distribution, we then obtain a model that takes spatial variations into account, as pointed out by <xref ref-type="bibr" rid="B9">Fabbri et al. (2011)</xref> (<xref ref-type="disp-formula" rid="e7">Equation 7</xref>):<disp-formula id="e7">
<mml:math id="m31">
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>C</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:mo>&#x3d;</mml:mo>
<mml:mo>&#x222b;</mml:mo>
<mml:mi>k</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>.</mml:mo>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>.</mml:mo>
<mml:mi>p</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:math>
<label>(7)</label>
</disp-formula>where p (T (x,t)) is the probability density function of the local temperature T (x,t). This approach better represents the physical reality of the process, with more or less reactive zones within the drum. <xref ref-type="bibr" rid="B1">Bor&#xe9;m et al. (2013)</xref> and <xref ref-type="bibr" rid="B18">Kreuml et al. (2013)</xref> also provide further evidence on the impact of temperature inhomogeneities on the final properties of roasted coffee.</p>
</sec>
<sec id="s3-5">
<title>3.5 Taking account of mass variations</title>
<p>Another important phenomenon to take into account is the variation in the mass of coffee beans during roasting. Indeed, the chemical and physical reactions occurring during this process induce a significant loss of mass, which can reach 15%&#x2013;20% of the initial mass.</p>
<p>This evolution of grain mass <inline-formula id="inf25">
<mml:math id="m32">
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> can be modelled empirically, as proposed by <xref ref-type="bibr" rid="B15">Illy and Viani (1995)</xref> (<xref ref-type="disp-formula" rid="e8">Equation 8</xref>):<disp-formula id="e8">
<mml:math id="m33">
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
<mml:mo>.</mml:mo>
<mml:msup>
<mml:mi>e</mml:mi>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>k</mml:mi>
<mml:mo>.</mml:mo>
<mml:mi>m</mml:mi>
<mml:mo>.</mml:mo>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:math>
<label>(8)</label>
</disp-formula>where <inline-formula id="inf26">
<mml:math id="m34">
<mml:mrow>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the initial mass of the green beans, and <inline-formula id="inf27">
<mml:math id="m35">
<mml:mrow>
<mml:msub>
<mml:mi>k</mml:mi>
<mml:mi>m</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is a kinetic coefficient of mass loss, dependent on the temperature.</p>
<p>More specifically, <xref ref-type="bibr" rid="B35">Sunarharum et al. (2014)</xref> decompose this mass loss into several contributions (<xref ref-type="disp-formula" rid="e9">Equation 9</xref>):<disp-formula id="e9">
<mml:math id="m36">
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>m</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>d</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:mo>&#x3d;</mml:mo>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
<mml:mo>.</mml:mo>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:msub>
<mml:mi>k</mml:mi>
<mml:mrow>
<mml:msub>
<mml:mi>H</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mi>O</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>.</mml:mo>
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mrow>
<mml:msub>
<mml:mi>H</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mi>O</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>k</mml:mi>
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mi>O</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>.</mml:mo>
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mi>O</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>k</mml:mi>
<mml:mrow>
<mml:mi>v</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>l</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>.</mml:mo>
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mrow>
<mml:mi>v</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>l</mml:mi>
<mml:mi>t</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(9)</label>
</disp-formula>with:<list list-type="simple">
<list-item>
<p>&#x2022; <inline-formula id="inf28">
<mml:math id="m37">
<mml:mrow>
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mrow>
<mml:msub>
<mml:mi>H</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mi>O</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> the mass fraction of water evaporated</p>
</list-item>
<list-item>
<p>&#x2022; <inline-formula id="inf29">
<mml:math id="m38">
<mml:mrow>
<mml:msub>
<mml:mi>X</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mi>O</mml:mi>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msub>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> the mass fraction of degreased <inline-formula id="inf30">
<mml:math id="m39">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mn>0</mml:mn>
</mml:mrow>
<mml:mn>2</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>
</p>
</list-item>
<list-item>
<p>&#x2022; <inline-formula id="inf31">
<mml:math id="m40">
<mml:mrow>
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mrow>
<mml:mi>v</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>l</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> the mass fraction of volatile compounds lost</p>
</list-item>
<list-item>
<p>&#x2022; <inline-formula id="inf32">
<mml:math id="m41">
<mml:mrow>
<mml:msub>
<mml:mi>k</mml:mi>
<mml:mrow>
<mml:msub>
<mml:mi>H</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mi>O</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>, <inline-formula id="inf33">
<mml:math id="m42">
<mml:mrow>
<mml:msub>
<mml:mi>X</mml:mi>
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mi>O</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf34">
<mml:math id="m43">
<mml:mrow>
<mml:msub>
<mml:mi>k</mml:mi>
<mml:mrow>
<mml:mi>v</mml:mi>
<mml:mi>o</mml:mi>
<mml:mi>l</mml:mi>
<mml:mi>a</mml:mi>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> the associated kinetic coefficients</p>
</list-item>
</list>
</p>
<p>
<xref ref-type="bibr" rid="B16">Jo&#xeb;t et al. (2010)</xref> also point out that these mass loss phenomena influence the concentration of various biochemical compounds within the grains. It is therefore important to couple this mass evolution to the degradation/formation kinetics of the compounds of interest.</p>
<p>
<xref ref-type="bibr" rid="B9">Fabbri et al. (2011)</xref> propose for example, to express concentrations <inline-formula id="inf35">
<mml:math id="m44">
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> as a function of mass <inline-formula id="inf36">
<mml:math id="m45">
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> (<xref ref-type="disp-formula" rid="e10">Equation 10</xref>):<disp-formula id="e10">
<mml:math id="m46">
<mml:mrow>
<mml:mi>C</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
<mml:mo>.</mml:mo>
<mml:mfrac>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:math>
<label>(10)</label>
</disp-formula>where <inline-formula id="inf37">
<mml:math id="m47">
<mml:mrow>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> is the initial concentration in the green beans.</p>
<p>This approach makes it possible to obtain a global model that takes into account variations in mass and composition during roasting. <xref ref-type="bibr" rid="B1">Bor&#xe9;m et al. (2013)</xref> and <xref ref-type="bibr" rid="B18">Kreuml et al. (2013)</xref> also provide further evidence on the impact of mass loss on the final properties of roasted coffee.</p>
<p>In conclusion, the proposed kinetic model must be able to adapt to the various potential failures of the roaster, in particular:<list list-type="simple">
<list-item>
<p>&#x2022; Global temperature variations in the drum,</p>
</list-item>
<list-item>
<p>&#x2022; Spatial temperature inhomogeneities,</p>
</list-item>
<list-item>
<p>&#x2022; Variations in the mass of coffee in the drum.</p>
</list-item>
</list>
</p>
<p>This will ensure the robustness of the quality control method, regardless of the operating stability of the roaster used, as highlighted by <xref ref-type="bibr" rid="B16">Jo&#xeb;t et al. (2010)</xref>, <xref ref-type="bibr" rid="B35">Sunarharum et al. (2014)</xref>, <xref ref-type="bibr" rid="B9">Fabbri et al. (2011)</xref>, <xref ref-type="bibr" rid="B32">Schenker and Rothgeb (2017)</xref>, <xref ref-type="bibr" rid="B1">Bor&#xe9;m et al. (2013)</xref> and <xref ref-type="bibr" rid="B18">Kreuml et al. (2013)</xref>.</p>
</sec>
<sec id="s3-6">
<title>3.6 Defining performance indicators and trigger thresholds</title>
<p>In order to assess the performance of the roasting process and detect potential problems, it is necessary to define relevant indicators and associated trigger thresholds. These can be based on physico-chemical, sensory or economic measurements.</p>
<p>Commonly used physico-chemical indicators include (<xref ref-type="bibr" rid="B15">Illy and Viani, 1995</xref>; <xref ref-type="bibr" rid="B9">Fabbri et al., 2011</xref>):<list list-type="simple">
<list-item>
<p>&#x2022; The mass loss <inline-formula id="inf38">
<mml:math id="m48">
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>/</mml:mo>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> described above, with a threshold of 15%&#x2013;20%, for example,</p>
</list-item>
<list-item>
<p>&#x2022; Grain color, quantified for example, by the value of <italic>L&#x2a;</italic> in CIELab space, with a threshold depending on the targeted roasting profile.</p>
</list-item>
<list-item>
<p>&#x2022; Volatile compound content, with monitoring of <italic>C(t)</italic> concentration trends and thresholds that must not be exceeded to preserve organoleptic qualities.</p>
</list-item>
</list>
</p>
<p>On the sensory level, indicators such as (<xref ref-type="bibr" rid="B20">Meilgaard et al., 1999</xref>; <xref ref-type="bibr" rid="B18">Kreuml et al., 2013</xref>):<list list-type="simple">
<list-item>
<p>&#x2022; Overall aromatic intensity, assessed by a trained panel on a scale of 0&#x2013;10.</p>
</list-item>
<list-item>
<p>&#x2022; Dominant notes (acidity, bitterness, body, <italic>etc.</italic>), also rated out of 10.</p>
</list-item>
<list-item>
<p>&#x2022; Overall quality, rated out of 100.</p>
</list-item>
</list>
</p>
<p>Provide a more detailed view of the impact of roasting parameters. Threshold limits can be defined for each of these attributes.</p>
<p>Finally, economic indicators such as (<xref ref-type="bibr" rid="B41">Yeretzian et al., 2002</xref>):<list list-type="simple">
<list-item>
<p>&#x2022; Yield <inline-formula id="inf39">
<mml:math id="m49">
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>/</mml:mo>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula>.</p>
</list-item>
<list-item>
<p>&#x2022; Energy cost due to mass losses and kiln consumption.</p>
</list-item>
<list-item>
<p>&#x2022; Selling price of roasted coffee can also guide process choices in line with the industrialist&#x2019;s objectives.</p>
</list-item>
</list>
</p>
<p>All these indicators can then be combined in a multi-criteria function F to be maximized, under threshold constraints (<xref ref-type="disp-formula" rid="e11">Equation 11</xref>):<disp-formula id="e11">
<mml:math id="m50">
<mml:mrow>
<mml:mi>F</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>w</mml:mi>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mi>m</mml:mi>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mrow>
<mml:msub>
<mml:mi>m</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
</mml:mfrac>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>w</mml:mi>
<mml:mn>2</mml:mn>
</mml:msub>
<mml:mo>.</mml:mo>
<mml:msup>
<mml:mi>L</mml:mi>
<mml:mo>&#x2a;</mml:mo>
</mml:msup>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>w</mml:mi>
<mml:mn>3</mml:mn>
</mml:msub>
<mml:mo>.</mml:mo>
<mml:mo>&#x2211;</mml:mo>
<mml:msub>
<mml:mi>C</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mrow>
<mml:mfenced open="(" close=")" separators="&#x7c;">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>w</mml:mi>
<mml:mn>4</mml:mn>
</mml:msub>
<mml:mo>.</mml:mo>
<mml:mtext>Aromatic&#x2009;intensity</mml:mtext>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>w</mml:mi>
<mml:mn>5</mml:mn>
</mml:msub>
<mml:mo>.</mml:mo>
<mml:mtext>Overall&#x2009;quality</mml:mtext>
<mml:mo>&#x2212;</mml:mo>
<mml:msub>
<mml:mi>w</mml:mi>
<mml:mn>6</mml:mn>
</mml:msub>
<mml:mo>.</mml:mo>
<mml:mtext>Energy&#x2009;costs</mml:mtext>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(11)</label>
</disp-formula>with <inline-formula id="inf40">
<mml:math id="m51">
<mml:mrow>
<mml:msub>
<mml:mi>w</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> the relative weights of each criterion, to be adjusted according to the manufacturer&#x2019;s priorities.</p>
</sec>
</sec>
<sec id="s4">
<title>4 Experimental implementation</title>
<sec id="s4-1">
<title>4.1 Description of test bench and experimental conditions</title>
<p>The test bench used for this study consists of a pilot roaster with a capacity of 10&#xa0;kg of green coffee. The roasting drum, with a diameter of 50&#xa0;cm and a length of 80&#xa0;cm, is made of stainless steel and is driven by an electric motor that allows the rotation speed to be adjusted between 5 and 15 revolutions per minute (<xref ref-type="fig" rid="F2">Figure 2</xref>).</p>
<fig id="F2" position="float">
<label>FIGURE 2</label>
<caption>
<p>Test bench for roasting experiments.</p>
</caption>
<graphic xlink:href="fmech-10-1493579-g002.tif"/>
</fig>
<p>The heating system is provided by a set of 12 electric heaters with a total power of 15&#xa0;kW, evenly distributed around the drum. These heaters are temperature-regulated using a control system that maintains the drum temperature between 200&#xb0;C and 240&#xb0;C during the roasting process, which varies from 10 to 20&#xa0;min.</p>
<p>To monitor the evolution of the main process parameters in real-time, the test bench is equipped with temperature sensors (thermocouples), pressure sensors (differential pressure sensors), and air flow meters (mass flow meters) installed at different key locations in the process, especially at the inlet and outlet of the roasting drum.</p>
<p>The tests were carried out with an Arabica coffee from Cameroon. The operating conditions tested cover a temperature range of 200&#xb0;C&#x2013;240&#xb0;C, roasting durations of 10&#x2013;20&#xa0;min, and drum rotation speeds of 5&#x2013;15 revolutions per minute.</p>
</sec>
<sec id="s4-2">
<title>4.2 Roaster failure simulation protocol</title>
<p>In order to test the diagnostic system&#x2019;s ability to detect different types of failure, faults were simulated in a controlled manner on the test bench. The faults studied included.<list list-type="simple">
<list-item>
<p>&#x2022; Partial or total failure of the heating system</p>
</list-item>
<list-item>
<p>&#x2022; Malfunction of the drum drive system</p>
</list-item>
<list-item>
<p>&#x2022; Partial or total obstruction of air inlets/outlets</p>
</list-item>
<list-item>
<p>&#x2022; Leaking seals</p>
</list-item>
</list>
</p>
<p>Failure scenarios were programmed into the control system in order to accurately reproduce these operating hazards, and to evaluate the process response and the diagnostic system&#x2019;s ability to identify them.</p>
</sec>
</sec>
<sec sec-type="results|discussion" id="s5">
<title>5 Results and discussion</title>
<sec id="s5-1">
<title>5.1 Performance of the PSO-based diagnosis and prognosis method</title>
<p>
<xref ref-type="fig" rid="F3">Figure 3</xref> shows the recognition rate of the main faults simulated by the innovative diagnostic method developed, based on the particle swarm optimization (PSO) algorithm. These results were obtained from tests carried out on the laboratory test bench, where different types of failure were deliberately introduced.</p>
<fig id="F3" position="float">
<label>FIGURE 3</label>
<caption>
<p>Performance of the diagnostic method.</p>
</caption>
<graphic xlink:href="fmech-10-1493579-g003.tif"/>
</fig>
<p>For each type of failure, numerous tests were carried out to statistically evaluate the diagnostic system&#x2019;s ability to detect them correctly. The diagnosis accuracy corresponds to the percentage of cases in which the fault was successfully identified by the algorithm.</p>
<p>This figure clearly shows the performance of the diagnostic method developed for the main identified failures. The high diagnosis accuracy, exceeding 90% in some cases, demonstrate the effectiveness of the proposed approach.</p>
<p>Moreover, the analysis of the fault signatures allows us to trace back to the probable causes and estimate the severity degree of the failure.</p>
<p>The results of the numerical simulation of the roasting process are presented in <xref ref-type="fig" rid="F4">Figure 4</xref>.</p>
<fig id="F4" position="float">
<label>FIGURE 4</label>
<caption>
<p>Prediction of the product temperature evolution during roasting.</p>
</caption>
<graphic xlink:href="fmech-10-1493579-g004.tif"/>
</fig>
<p>This figure shows the predicted evolution of the product temperature over time, as a function of the main physical phenomena involved. This prediction was obtained using a numerical model developed in MATLAB, which is based on the thermal balance equations of the process.</p>
<p>The model takes into account the main physical phenomena involved in roasting, such as heat transfer, chemical reactions, and product mass variations. The model parameters have been adjusted based on the experimental measurements made on the test bench described earlier.</p>
<p>It can be observed that the temperature increases gradually until it reaches a plateau around 200&#xb0;C during the cooking phase.</p>
<p>Beyond these simulation results, the performance of the prediction of the product mass loss during roasting has been evaluated. <xref ref-type="table" rid="T3">Table 3</xref> summarizes the average errors obtained for the three roasting modes studied: light, medium, and dark.</p>
<table-wrap id="T3" position="float">
<label>TABLE 3</label>
<caption>
<p>Performance of mass loss prediction.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Roasting method</th>
<th align="center">Average prediction error (%)</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">Slight</td>
<td align="center">4.1</td>
</tr>
<tr>
<td align="center">Average</td>
<td align="center">3.8</td>
</tr>
<tr>
<td align="center">Strong</td>
<td align="center">5.2</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>This table shows that the model developed can predict the evolution of mass loss with good accuracy, with errors of less than 5.5% for the different roasting profiles. These results demonstrate the reliability of the numerical model for optimizing the roasting process.</p>
</sec>
<sec id="s5-2">
<title>5.2 Identification of the main types of failure detected</title>
<p>The in-depth analysis of the results of the accelerated aging tests has made it possible to identify the most frequently encountered failures on the roasting system. These failures can have a significant impact on the performance and reliability of the process.</p>
<p>Partial failure of the heating system was detected in 92% of cases. This type of failure can be manifested by a local drop in temperature in the roasting chamber, leading to uneven cooking of the product. The causes can be multiple, such as an electrical problem, deterioration of the heating resistors, or a malfunction of the temperature control system.</p>
<p>Partial obstruction of the air inlets/outlets was observed in 88% of the tests. This phenomenon can be due to the progressive accumulation of fine particles or deposits on the ventilation grids and ducts, thus reducing the air flows necessary for the homogeneity of drying and cooking.</p>
<p>Finally, leaks at the level of the sealing gaskets were detected in 85% of the cases. These failures can lead to hot air losses and therefore a decrease in the energy efficiency of the process. They can be caused by the aging or degradation of the sealing materials under the effect of thermal and mechanical stresses.</p>
<p>
<xref ref-type="table" rid="T4">Table 4</xref> summarizes the frequencies of occurrence of these three main types of failures identified during the accelerated aging tests.</p>
<table-wrap id="T4" position="float">
<label>TABLE 4</label>
<caption>
<p>Frequency of occurrence of the main types of failure.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Type of failure</th>
<th align="center">Detection frequency (%)</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">Partial heating system failure</td>
<td align="center">92</td>
</tr>
<tr>
<td align="center">Partial obstruction of air inlets/outlets</td>
<td align="center">88</td>
</tr>
<tr>
<td align="center">Leaking seals</td>
<td align="center">85</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>Analysis of fault signatures, optimized by the PSO algorithm, has made it possible to identify the most relevant indicators for each type of fault, offering avenues for process improvement and predictive maintenance.</p>
</sec>
<sec id="s5-3">
<title>5.3 Comparison with other existing methods</title>
<p>In order to position the performance of the fault signature-based diagnostic method developed in this study (i.e., the PSO method), it is interesting to compare it to other classical monitoring and fault detection techniques for roasting systems.</p>
<sec id="s5-3-1">
<title>5.3.1 Comparison of the proposed method with an approach based on fixed thresholds</title>
<p>A first commonly used approach consists in monitoring fixed thresholds on certain key process variables, such as temperatures, flow rates, or pressures. <xref ref-type="fig" rid="F5">Figure 5</xref> illustrates the diagnosis accuracy obtained with this type of method for the three main categories of identified failures.</p>
<fig id="F5" position="float">
<label>FIGURE 5</label>
<caption>
<p>Failure diagnosis accuracy by monitoring fixed thresholds.</p>
</caption>
<graphic xlink:href="fmech-10-1493579-g005.tif"/>
</fig>
<p>This approach can only reliably identify 65% of fouling faults, 72% of leaks and 78% of mechanical malfunctions.</p>
<p>This limitation is explained by the fact that fault signatures are often more complex than simple threshold exceedances, requiring a more detailed analysis of the interactions between variables.</p>
<p>In contrast, the fault signature recognition method developed in this study performs much better, with average diagnosis accuracy of 90% for all types of fault, as shown in <xref ref-type="table" rid="T5">Table 5</xref>.</p>
<table-wrap id="T5" position="float">
<label>TABLE 5</label>
<caption>
<p>Comparative performance of the two diagnostic methods.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="left"/>
<th align="center">Fixed threshold method</th>
<th align="center">Signature recognition method</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">Average diagnosis accuracy</td>
<td align="center">71.7%</td>
<td align="center">90.0%</td>
</tr>
<tr>
<td align="center">False alarm rate</td>
<td align="center">18.2%</td>
<td align="center">9.5%</td>
</tr>
<tr>
<td align="center">Average detection time</td>
<td align="center">4.1&#xa0;days</td>
<td align="center">2.6&#xa0;days</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>This significant improvement is explained by the ability of our approach to capture the characteristic patterns of faults, by exploiting the temporal correlations and interactions between the different measured variables.</p>
<p>Furthermore, compared to advanced machine learning techniques, our solution offers the advantage of better interpretability for operators, while providing equivalent performance. Indeed, the inference rules used for the recognition of fault signatures are more transparent and can be easily explained, thus facilitating their adoption by the maintenance teams.</p>
<p>A key advantage of the proposed method lies in its prognostic capabilities for the remaining useful life (RUL) of components. To validate this capability, full life cycle tests were carried out on the soybean roaster.</p>
<p>The results obtained, as illustrated in <xref ref-type="fig" rid="F6">Figure 6</xref>, show that our method was able to predict RUL with an average error of 15%, thus confirming its effectiveness compared with the fixed threshold method, which has an error of 35%.</p>
<fig id="F6" position="float">
<label>FIGURE 6</label>
<caption>
<p>Comparison of prognostic performance.</p>
</caption>
<graphic xlink:href="fmech-10-1493579-g006.tif"/>
</fig>
<p>The tests were carried out under real operating conditions, and the data collected was analyzed to check agreement with the results shown in <xref ref-type="fig" rid="F6">Figure 6</xref>. The test results show that:<list list-type="simple">
<list-item>
<p>&#x2022; Predicted Remaining Service Life: 120&#xa0;h</p>
</list-item>
<list-item>
<p>&#x2022; Actual Remaining Service Life: 102&#xa0;h</p>
</list-item>
<list-item>
<p>&#x2022; Prediction error: 15%.</p>
</list-item>
</list>
</p>
<p>These results confirm that the diagnostic and prognostic method developed is robust and capable of anticipating failures, enabling better planning of maintenance interventions.</p>
</sec>
<sec id="s5-3-2">
<title>5.3.2 Comparison of the proposed method with other diagnostic methods based on fault characteristics</title>
<p>This section compares the proposed method, based on Particle Swarm Optimization (PSO), with three other diagnostic methods: Anomaly Frequency Analysis, Machine Learning-Based Methods, and Statistical Model-Based Approaches. Each method is evaluated in terms of performance, complexity, prognostic capability, and applicability in the context of roaster failures.</p>
<sec id="s5-3-2-1">
<title>5.3.2.1 Performance of fault detection</title>
<p>Results show that the PSO method outperforms the other approaches in terms of fault detection rates (<xref ref-type="table" rid="T6">Table 6</xref>).</p>
<table-wrap id="T6" position="float">
<label>TABLE 6</label>
<caption>
<p>Fault detection rates for different methods.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Type of method</th>
<th align="center">Detection rate (%)</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">Anomaly Frequency Analysis</td>
<td align="center">75</td>
</tr>
<tr>
<td align="center">Machine Learning-Based Methods</td>
<td align="center">85</td>
</tr>
<tr>
<td align="center">Statistical Model-Based Approaches</td>
<td align="center">80</td>
</tr>
<tr>
<td align="center">PSO Method</td>
<td align="center">90</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>As shown in <xref ref-type="table" rid="T6">Table 6</xref>, the PSO method achieves a detection rate exceeding 90% for key fault types, including heating system failures and air obstructions. In contrast, Anomaly Frequency Analysis has limitations as it relies solely on identifying deviations from normal behavior, potentially leading to false negatives.</p>
</sec>
<sec id="s5-3-2-2">
<title>5.3.2.2 Analysis of false positives</title>
<p>Managing false positives is crucial for the effectiveness of diagnostic systems (<xref ref-type="table" rid="T7">Table 7</xref>).</p>
<table-wrap id="T7" position="float">
<label>TABLE 7</label>
<caption>
<p>False positive rates for different methods.</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Type of method</th>
<th align="center">False positive rate (%)</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">Anomaly Frequency Analysis</td>
<td align="center">20</td>
</tr>
<tr>
<td align="center">Machine Learning-Based Methods</td>
<td align="center">15</td>
</tr>
<tr>
<td align="center">Statistical Model-Based Approaches</td>
<td align="center">18</td>
</tr>
<tr>
<td align="center">PSO Method</td>
<td align="center">9.5</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>
<xref ref-type="table" rid="T7">Table 7</xref> illustrates that the PSO method reduces the false positive rate to only 9.5%, while other methods exhibit considerably higher rates. This reduction in false positives is essential for minimizing unnecessary interventions, which can lead to significant cost savings.</p>
</sec>
<sec id="s5-3-2-3">
<title>5.3.2.3 Detection time</title>
<p>The time required to identify a fault is also a key indicator (<xref ref-type="table" rid="T8">Table 8</xref>).</p>
<table-wrap id="T8" position="float">
<label>TABLE 8</label>
<caption>
<p>Average fault detection time (in days).</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Type of method</th>
<th align="center">Detection time (days)</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">Anomaly Frequency Analysis</td>
<td align="center">5</td>
</tr>
<tr>
<td align="center">Machine Learning-Based Methods</td>
<td align="center">4</td>
</tr>
<tr>
<td align="center">Statistical Model-Based Approaches</td>
<td align="center">3</td>
</tr>
<tr>
<td align="center">PSO Method</td>
<td align="center">2.6</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>As shown in <xref ref-type="table" rid="T9">Table 9</xref>, the PSO method enables effective detection, averaging 2.6&#xa0;days, which is significantly faster than other approaches. This speed of intervention is crucial in an industrial environment where downtime can result in substantial financial losses.</p>
<table-wrap id="T9" position="float">
<label>TABLE 9</label>
<caption>
<p>Average prediction error for remaining useful life (%).</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="center">Type of method</th>
<th align="center">Prediction error (%)</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="center">Anomaly Frequency Analysis</td>
<td align="center">30</td>
</tr>
<tr>
<td align="center">Machine Learning-Based Methods</td>
<td align="center">20</td>
</tr>
<tr>
<td align="center">Statistical Model-Based Approaches</td>
<td align="center">25</td>
</tr>
<tr>
<td align="center">PSO Method</td>
<td align="center">15</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
<sec id="s5-3-2-4">
<title>5.3.2.4 Prognostic capability</title>
<p>The ability to predict future failures is essential for preventive maintenance.</p>
<p>
<xref ref-type="table" rid="T9">Table 9</xref> demonstrates that the PSO method achieves an average prediction error for remaining useful life of only 15%. In comparison, other methods show higher errors, which may compromise the effectiveness of maintenance interventions.</p>
</sec>
<sec id="s5-3-2-5">
<title>5.3.2.5 Applicability and complexity</title>
<p>The applicability of methods in industrial settings varies (<xref ref-type="fig" rid="F7">Figure 7</xref>).</p>
<fig id="F7" position="float">
<label>FIGURE 7</label>
<caption>
<p>Comparison of method complexity.</p>
</caption>
<graphic xlink:href="fmech-10-1493579-g007.tif"/>
</fig>
<p>
<xref ref-type="fig" rid="F7">Figure 7</xref> illustrates the relative complexity of diagnostic methods. Anomaly Frequency Analysis is the simplest to implement, while Machine Learning-Based Methods require advanced data science skills and substantial data management. Statistical Model-Based Approaches are more accessible but can be limited by rigid assumptions. The PSO method, though more complex, offers flexibility and adaptability, making it particularly suitable for dynamic industrial environments.</p>
<p>In conclusion, the PSO method stands out as a superior approach for diagnosing roaster failures compared to Anomaly Frequency Analysis, Machine Learning-Based Methods, and Statistical Model-Based Approaches. Its performance in detection, reduction of false positives, speed of response, and prognostic capability make it an optimal solution for enhancing the reliability of industrial processes. These results underscore the importance of adopting innovative diagnostic methods to address contemporary industrial challenges.</p>
</sec>
</sec>
</sec>
<sec id="s5-4">
<title>5.4 Data challenges in fault diagnosis</title>
<p>In the context of diagnosing faults in roasting machines, two major challenges emerge: label noise and data decentralization. These issues can significantly affect the reliability and effectiveness of current diagnostic methods.</p>
<sec id="s5-4-1">
<title>5.4.1 Label noise</title>
<p>Label noise refers to errors in data annotation, which can arise from various factors, such as human errors or failures in measurement systems. In our study, while we achieved a fault recognition rate exceeding 90%, the quality of input data is crucial. To mitigate this impact, we propose exploring label recovery methods using traceable networks, allowing for the correction of incorrect annotations and thus improving diagnostic accuracy. This approach may also include cross-validation mechanisms where annotated data are verified by experts.</p>
</sec>
<sec id="s5-4-2">
<title>5.4.2 Data decentralization</title>
<p>Data decentralization poses another significant challenge, especially in an industrial environment where data can be collected from different machines spread across multiple sites. This complicates the consolidation of data for analysis and diagnosis. To overcome this limitation, we plan to integrate targeted transfer learning techniques, which enable leveraging information gathered from different machines while respecting local data peculiarities. By using a distribution barycenter, this approach could enhance diagnostic efficiency by allowing collaborative learning, even when data are dispersed.</p>
<p>These challenges highlight the need to improve our diagnostic method based on Particle Swarm Optimization (PSO). By integrating label recovery techniques and transfer learning, we could not only strengthen the robustness of our diagnosis but also expand its applicability to more complex and varied production environments.</p>
<p>In conclusion, incorporating these approaches could transform our method into an even more powerful tool, capable of adapting to the current challenges in the food processing sector, particularly in the soybean roasting process.</p>
</sec>
</sec>
</sec>
<sec id="s6">
<title>6 Conclusion and outlook</title>
<sec id="s6-1">
<title>6.1 Summary of key contributions and innovations</title>
<p>This study introduced an innovative method for diagnosing and predicting failures in the soybean roasting process, utilizing Particle Swarm Optimization (PSO). Unlike traditional methods that rely on fixed thresholds, our approach is based on a dynamic analysis of the signatures of key variables, allowing for more precise and adaptive anomaly detection. With a fault recognition rate exceeding 90%, this method provides unparalleled robustness in identifying failures such as heating issues and air obstructions. By integrating a real-time adaptation mechanism, the prediction error for remaining useful life was reduced to 15%, compared to 35% for conventional techniques, highlighting the efficiency and innovation of this approach. Additionally, the comparison of this method with other diagnostic techniques revealed significant advantages in terms of accuracy and responsiveness, reinforcing its position as a preferred tool for the industry.</p>
</sec>
<sec id="s6-2">
<title>6.2 Implications and potential applications of the new method</title>
<p>The implications of this method are extensive and could significantly transform the food industry, particularly in the areas of coffee and soybean roasting. The ability to quickly and accurately detect failures allows for the optimization of the final product&#x2019;s quality while minimizing maintenance costs and improving operational safety. By integrating this method into existing production systems, companies can achieve substantial savings by reducing unexpected downtime and enhancing operational efficiency. Moreover, the PSO method has demonstrated superior performance compared to other diagnostic techniques, such as threshold-based or statistical methods, by offering increased adaptability and accuracy to manage the complexities of industrial processes. This paves the way for widespread adoption in other sectors where equipment reliability is crucial.</p>
</sec>
<sec id="s6-3">
<title>6.3 Future research directions</title>
<p>Future research should focus on extending the application of the PSO method to other food processing operations, taking into account the specificities and challenges of each sector. In addition, the integration of Labeling Noise and Data Decentralization could transform our method into an even more powerful tool, capable of adapting to the current challenges of the food processing sector, particularly in the soybean roasting process. Future research will be needed to explore these challenges in greater depth. Finally, research could also explore the environmental and economic impacts of this method, assessing how it can contribute to more sustainable practices in the food industry. This research could also lead to practical recommendations for the implementation of these technologies in real industrial environments.</p>
</sec>
</sec>
</body>
<back>
<sec sec-type="data-availability" id="s7">
<title>Data availability statement</title>
<p>The original contributions presented in the study are included in the article/supplementary material, further inquiries can be directed to the corresponding author.</p>
</sec>
<sec sec-type="author-contributions" id="s8">
<title>Author contributions</title>
<p>AN: Conceptualization, Formal Analysis, Methodology, Writing&#x2013;original draft. UN: Conceptualization, Formal Analysis, Methodology, Writing&#x2013;original draft. JN: Supervision, Validation, Writing&#x2013;review and editing.</p>
</sec>
<sec sec-type="funding-information" id="s9">
<title>Funding</title>
<p>The author(s) declare that no financial support was received for the research, authorship, and/or publication of this article.</p>
</sec>
<ack>
<p>The authors provided their scientific support as part of the writing of this article as sponsor of the research as well as their approval for its publication.</p>
</ack>
<sec sec-type="COI-statement" id="s10">
<title>Conflict of interest</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
<sec sec-type="disclaimer" id="s11">
<title>Publisher&#x2019;s note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Bor&#xe9;m</surname>
<given-names>F. M.</given-names>
</name>
<name>
<surname>Ribeiro</surname>
<given-names>F. C.</given-names>
</name>
<name>
<surname>Figueiredo</surname>
<given-names>L. P.</given-names>
</name>
<name>
<surname>Lucio</surname>
<given-names>A. D.</given-names>
</name>
<name>
<surname>Giomo</surname>
<given-names>G. S.</given-names>
</name>
<name>
<surname>de Rezende</surname>
<given-names>C. M.</given-names>
</name>
</person-group> (<year>2013</year>). <article-title>Evaluation of the sensory and color quality of coffee beans stored in hermetic packaging</article-title>. <source>J. Stored Prod. Res.</source> <volume>52</volume>, <fpage>1</fpage>&#x2013;<lpage>6</lpage>. <pub-id pub-id-type="doi">10.1016/j.jspr.2012.08.004</pub-id>
</citation>
</ref>
<ref id="B2">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Bratton</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Kennedy</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2007</year>). &#x201c;<article-title>Defining a standard for particle swarm optimization</article-title>,&#x201d; in <conf-name>2007 IEEE Swarm Intelligence Symposium</conf-name>, <conf-loc>Honolulu, HI, USA</conf-loc>, <conf-date>01-05 April 2007</conf-date>, <fpage>120</fpage>&#x2013;<lpage>127</lpage>. <pub-id pub-id-type="doi">10.1109/SIS.2007.368035</pub-id>
</citation>
</ref>
<ref id="B3">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Brennan</surname>
<given-names>J. G.</given-names>
</name>
<name>
<surname>Grandison</surname>
<given-names>A. S.</given-names>
</name>
</person-group> (<year>2012</year>). <source>Food processing handbook</source> (<publisher-loc>Weinheim, Germany</publisher-loc>: <publisher-name>Wiley VCH</publisher-name>).</citation>
</ref>
<ref id="B4">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Clerc</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2010</year>). <source>Particle swarm optimization (Vol. 93)</source>. <publisher-name>John Wiley and Sons</publisher-name>.</citation>
</ref>
<ref id="B5">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Clerc</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Kennedy</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2002</year>). <article-title>The particle swarm-explosion, stability, and convergence in a multidimensional complex space</article-title>. <source>IEEE Trans. Evol. Comput.</source> <volume>6</volume> (<issue>1</issue>), <fpage>58</fpage>&#x2013;<lpage>73</lpage>. <pub-id pub-id-type="doi">10.1109/4235.985692</pub-id>
</citation>
</ref>
<ref id="B6">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Eberhart</surname>
<given-names>R. C.</given-names>
</name>
<name>
<surname>Shi</surname>
<given-names>Y.</given-names>
</name>
</person-group> (<year>2000</year>). &#x201c;<article-title>Comparing inertia weights and constriction factors in particle swarm optimization</article-title>,&#x201d; in <conf-name>Proceedings of the 2000 Congress on Evolutionary Computation. CEC00 (Cat. No.00TH8512)</conf-name>, <conf-loc>La Jolla, CA, USA</conf-loc>, <conf-date>16-19 July 2000</conf-date>, <fpage>84</fpage>&#x2013;<lpage>88</lpage>. <pub-id pub-id-type="doi">10.1109/CEC.2000.870279</pub-id>
</citation>
</ref>
<ref id="B7">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Elbeltagi</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>Hegazy</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Grierson</surname>
<given-names>D.</given-names>
</name>
</person-group> (<year>2005</year>). <article-title>Comparison among five evolutionary-based optimization algorithms</article-title>. <source>Adv. Eng. Inf.</source> <volume>19</volume> (<issue>1</issue>), <fpage>43</fpage>&#x2013;<lpage>53</lpage>. <pub-id pub-id-type="doi">10.1016/j.aei.2005.01.004</pub-id>
</citation>
</ref>
<ref id="B8">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Engelbrecht</surname>
<given-names>A. P.</given-names>
</name>
</person-group> (<year>2005</year>). <source>Fundamentals of computational swarm intelligence</source>. <publisher-name>John Wiley and Sons</publisher-name>.</citation>
</ref>
<ref id="B9">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Fabbri</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Cevoli</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Alessandrini</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Romani</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2011</year>). <article-title>Numerical modeling of heat and mass transfer during coffee roasting process</article-title>. <source>J. Food Eng.</source> <volume>105</volume> (<issue>3</issue>), <fpage>264</fpage>&#x2013;<lpage>269</lpage>. <pub-id pub-id-type="doi">10.1016/j.jfoodeng.2011.02.030</pub-id>
</citation>
</ref>
<ref id="B10">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Fellows</surname>
<given-names>P. J.</given-names>
</name>
</person-group> (<year>2022</year>). <source>Food processing technology: principles and practice</source>. <publisher-name>Woodhead publishing</publisher-name>.</citation>
</ref>
<ref id="B11">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Gaing</surname>
<given-names>Z. L.</given-names>
</name>
</person-group> (<year>2004</year>). <article-title>Particle swarm optimization to solving the economic dispatch considering the generator constraints</article-title>. <source>IEEE Trans. Power Syst.</source> <volume>18</volume> (<issue>3</issue>), <fpage>1187</fpage>&#x2013;<lpage>1195</lpage>. <pub-id pub-id-type="doi">10.1109/tpwrs.2003.814889</pub-id>
</citation>
</ref>
<ref id="B12">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Gao</surname>
<given-names>W. F.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>S. Y.</given-names>
</name>
</person-group> (<year>2012</year>). <article-title>A modified artificial bee colony algorithm</article-title>. <source>Comput. and Operations Res.</source> <volume>39</volume> (<issue>3</issue>), <fpage>687</fpage>&#x2013;<lpage>697</lpage>. <pub-id pub-id-type="doi">10.1016/j.cor.2011.06.007</pub-id>
</citation>
</ref>
<ref id="B13">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Geankoplis</surname>
<given-names>C.</given-names>
</name>
</person-group> (<year>2003</year>). <source>Transport processes and separation process principles (includes unit operations)</source>. <publisher-name>Prentice Hall Press</publisher-name>.</citation>
</ref>
<ref id="B14">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Grau</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Andres</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Barat</surname>
<given-names>J. M.</given-names>
</name>
</person-group> (<year>2014</year>). &#x201c;<article-title>Principles of drying</article-title>,&#x201d; in <source>Handbook of fermented meat and poultry</source>. Editor <person-group person-group-type="editor">
<name>
<surname>Toldr&#xe1;</surname>
<given-names>F.</given-names>
</name>
</person-group> (<publisher-name>Wiley</publisher-name>), <fpage>31</fpage>&#x2013;<lpage>38</lpage>.</citation>
</ref>
<ref id="B15">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Illy</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Viani</surname>
<given-names>R.</given-names>
</name>
</person-group> (<year>1995</year>). <source>Espresso coffee: the chemistry of quality</source>. <publisher-name>Academic Press</publisher-name>.</citation>
</ref>
<ref id="B16">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Jo&#xeb;t</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Laffargue</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Descroix</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Doulbeau</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Bertrand</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Kochko</surname>
<given-names>A. D.</given-names>
</name>
<etal/>
</person-group> (<year>2010</year>). <article-title>Influence of environmental factors, wet processing and their interactions on the biochemical composition of green Arabica coffee beans</article-title>. <source>Food Chem.</source> <volume>118</volume> (<issue>3</issue>), <fpage>693</fpage>&#x2013;<lpage>701</lpage>. <pub-id pub-id-type="doi">10.1016/j.foodchem.2009.05.048</pub-id>
</citation>
</ref>
<ref id="B17">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Kennedy</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Eberhart</surname>
<given-names>R.</given-names>
</name>
</person-group> (<year>1995</year>). &#x201c;<article-title>Particle swarm optimization</article-title>,&#x201d; in <conf-name>Proceedings of ICNN&#x27;95-International Conference on Neural Networks</conf-name>, <conf-loc>Perth, WA, Australia</conf-loc>, <conf-date>27 November 1995 - 01 December 1995</conf-date> (<publisher-name>IEEE</publisher-name>), <fpage>1942</fpage>&#x2013;<lpage>1948</lpage>.</citation>
</ref>
<ref id="B18">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Kreuml</surname>
<given-names>M. T.</given-names>
</name>
<name>
<surname>Majchrzak</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Ploederl</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Koenig</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2013</year>). <article-title>Changes in sensory quality characteristics of coffee during storage</article-title>. <source>Food Sci. and Nutr.</source> <volume>1</volume> (<issue>4</issue>), <fpage>267</fpage>&#x2013;<lpage>272</lpage>. <pub-id pub-id-type="doi">10.1002/fsn3.35</pub-id>
</citation>
</ref>
<ref id="B19">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Mateos</surname>
<given-names>G. G.</given-names>
</name>
<name>
<surname>Latorre</surname>
<given-names>M. A.</given-names>
</name>
<name>
<surname>L&#xe1;zaro</surname>
<given-names>R.</given-names>
</name>
</person-group> (<year>2002</year>). <source>Processing soybeans. American soybean association. Animal fee and nutrition PR/FE</source>, <fpage>137</fpage>.</citation>
</ref>
<ref id="B20">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Meilgaard</surname>
<given-names>M. C.</given-names>
</name>
<name>
<surname>Carr</surname>
<given-names>B. T.</given-names>
</name>
<name>
<surname>Civille</surname>
<given-names>G. V.</given-names>
</name>
</person-group> (<year>1999</year>). <source>Sensory evaluation techniques</source>. <publisher-name>CRC Press</publisher-name>.</citation>
</ref>
<ref id="B21">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Mirjalili</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2015</year>). <article-title>Moth-flame optimization algorithm: a novel nature-inspired heuristic paradigm</article-title>. <source>Knowledge-Based Syst</source>. <volume>89</volume>, <fpage>228</fpage>&#x2013;<lpage>249</lpage>. <pub-id pub-id-type="doi">10.1016/j.knosys.2015.07.006</pub-id>
</citation>
</ref>
<ref id="B22">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Mujumdar</surname>
<given-names>A. S.</given-names>
</name>
</person-group> (<year>2006</year>). <source>Handbook of industrial drying</source>. <publisher-name>CRC Press</publisher-name>.</citation>
</ref>
<ref id="B23">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Niknam</surname>
<given-names>T.</given-names>
</name>
</person-group> (<year>2012</year>). <article-title>A new fuzzy adaptive hybrid particle swarm optimization algorithm for non-linear, non-smooth and non-convex economic dispatch problem</article-title>. <source>Appl. Energy</source> <volume>87</volume> (<issue>1</issue>), <fpage>327</fpage>&#x2013;<lpage>339</lpage>. <pub-id pub-id-type="doi">10.1016/j.apenergy.2009.05.016</pub-id>
</citation>
</ref>
<ref id="B24">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Niknam</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Amiri</surname>
<given-names>B.</given-names>
</name>
</person-group> (<year>2010</year>). <article-title>An efficient hybrid approach based on PSO, ACO and k-means for cluster analysis</article-title>. <source>Appl. soft Comput.</source> <volume>10</volume> (<issue>1</issue>), <fpage>183</fpage>&#x2013;<lpage>197</lpage>. <pub-id pub-id-type="doi">10.1016/j.asoc.2009.07.001</pub-id>
</citation>
</ref>
<ref id="B25">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Parsopoulos</surname>
<given-names>K. E.</given-names>
</name>
<name>
<surname>Vrahatis</surname>
<given-names>M. N.</given-names>
</name>
</person-group> (<year>2002</year>). <article-title>Recent approaches to global optimization problems through Particle Swarm Optimization</article-title>. <source>Nat. Comput.</source> <volume>1</volume> (<issue>2&#x2013;3</issue>), <fpage>235</fpage>&#x2013;<lpage>306</lpage>. <pub-id pub-id-type="doi">10.1023/A:1016568309421</pub-id>
</citation>
</ref>
<ref id="B26">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Poli</surname>
<given-names>R.</given-names>
</name>
</person-group> (<year>2008</year>). <article-title>Analysis of the publications on the applications of particle swarm optimisation</article-title>. <source>J. Artif. Evol. Appl.</source> <volume>2008</volume>, <fpage>1</fpage>&#x2013;<lpage>10</lpage>. <pub-id pub-id-type="doi">10.1155/2008/685175</pub-id>
</citation>
</ref>
<ref id="B27">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Poli</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Kennedy</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Blackwell</surname>
<given-names>T.</given-names>
</name>
</person-group> (<year>2007</year>). <article-title>Particle swarm optimization</article-title>. <source>Swarm Intell.</source> <volume>1</volume> (<issue>1</issue>), <fpage>33</fpage>&#x2013;<lpage>57</lpage>. <pub-id pub-id-type="doi">10.1007/s11721-007-0002-0</pub-id>
</citation>
</ref>
<ref id="B28">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ray</surname>
<given-names>A. K.</given-names>
</name>
</person-group> (<year>2023</year>). <source>Coulson and richardson&#x27;s chemical engineering: volume 2B: separation processes</source> (<publisher-name>Elsevier</publisher-name>).</citation>
</ref>
<ref id="B29">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Roos</surname>
<given-names>Y. H.</given-names>
</name>
<name>
<surname>Drusch</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2015</year>). <source>Phase transitions in foods</source>. <publisher-name>Academic Press</publisher-name>.</citation>
</ref>
<ref id="B30">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Sandeep</surname>
<given-names>K. P.</given-names>
</name>
</person-group> (<year>2011</year>). <source>Thermal processing of foods: control and automation</source> (<publisher-name>John Wiley and Sons</publisher-name>).</citation>
</ref>
<ref id="B31">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Saravacos</surname>
<given-names>G. D.</given-names>
</name>
<name>
<surname>Kostaropoulos</surname>
<given-names>A. E.</given-names>
</name>
</person-group> (<year>2002</year>). <source>Handbook of food processing equipment</source>, <volume>2012</volume>. <publisher-name>Kluwer Academic/Plenum</publisher-name>, <fpage>331</fpage>&#x2013;<lpage>381</lpage>.</citation>
</ref>
<ref id="B32">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Schenker</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Rothgeb</surname>
<given-names>T.</given-names>
</name>
</person-group> (<year>2017</year>). &#x201c;<article-title>The roast&#x2014;creating the Beans&#x27; signature</article-title>,&#x201d; in <source>The craft and science of coffee</source> (<publisher-name>Academic Press</publisher-name>), <fpage>245</fpage>&#x2013;<lpage>271</lpage>.</citation>
</ref>
<ref id="B33">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Shi</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Eberhart</surname>
<given-names>R.</given-names>
</name>
</person-group> (<year>1998</year>). &#x201c;<article-title>A modified particle swarm optimizer</article-title>,&#x201d; in <conf-name>1998 IEEE international conference on evolutionary computation proceedings. IEEE world congress on computational intelligence (Cat. No. 98TH8360)</conf-name>, <conf-loc>Anchorage, AK, USA</conf-loc>, <conf-date>04-09 May 1998</conf-date> (<publisher-name>IEEE</publisher-name>), <fpage>69</fpage>&#x2013;<lpage>73</lpage>.</citation>
</ref>
<ref id="B34">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Singh</surname>
<given-names>R. P.</given-names>
</name>
<name>
<surname>Heldman</surname>
<given-names>D. R.</given-names>
</name>
</person-group> (<year>2001</year>). <source>Introduction to food engineering</source>. <publisher-name>Gulf Professional Publishing</publisher-name>.</citation>
</ref>
<ref id="B35">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Sunarharum</surname>
<given-names>W. B.</given-names>
</name>
<name>
<surname>Williams</surname>
<given-names>D. J.</given-names>
</name>
<name>
<surname>Smyth</surname>
<given-names>H. E.</given-names>
</name>
</person-group> (<year>2014</year>). <article-title>Complexity in coffee flavor: a compositional and sensorial perspective</article-title>. <source>Food Res. Int.</source> <volume>62</volume>, <fpage>1072</fpage>&#x2013;<lpage>1078</lpage>. <pub-id pub-id-type="doi">10.1016/j.foodres.2014.02.030</pub-id>
</citation>
</ref>
<ref id="B36">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Toledo</surname>
<given-names>R. T.</given-names>
</name>
<name>
<surname>Singh</surname>
<given-names>R. K.</given-names>
</name>
<name>
<surname>Kong</surname>
<given-names>F.</given-names>
</name>
</person-group> (<year>2007</year>). <source>Fundamentals of food process engineering</source>, <volume>297</volume>. <publisher-loc>New York</publisher-loc>: <publisher-name>Springer</publisher-name>, <fpage>211</fpage>.</citation>
</ref>
<ref id="B37">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Trelea</surname>
<given-names>I. C.</given-names>
</name>
</person-group> (<year>2003</year>). <article-title>The particle swarm optimization algorithm: convergence analysis and parameter selection</article-title>. <source>Inf. Process. Lett.</source> <volume>85</volume> (<issue>6</issue>), <fpage>317</fpage>&#x2013;<lpage>325</lpage>. <pub-id pub-id-type="doi">10.1016/S0020-0190(02)00447-7</pub-id>
</citation>
</ref>
<ref id="B38">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Valentas</surname>
<given-names>K. J.</given-names>
</name>
<name>
<surname>Rotstein</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>Singh</surname>
<given-names>R. P.</given-names>
</name>
</person-group> (<year>1997</year>). <source>Handbook of food engineering practice</source>. <publisher-name>CRC Press</publisher-name>.</citation>
</ref>
<ref id="B39">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Waaijenberg</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>1996</year>). &#x201c;<article-title>Experiences with fullface soya in animal feed</article-title>,&#x201d; in <conf-name>Second Int. Fullfat Soya Conf.</conf-name>, <conf-loc>Budapest, Hungary</conf-loc>, <conf-date>August 21-24, 1996</conf-date>, <fpage>155</fpage>&#x2013;<lpage>166</lpage>.</citation>
</ref>
<ref id="B40">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Yang</surname>
<given-names>X. S.</given-names>
</name>
</person-group> (<year>2010</year>). <article-title>A new metaheuristic bat-inspired algorithm</article-title>. <source>Stud. Comput. Intell.</source> <volume>284</volume>, <fpage>65</fpage>&#x2013;<lpage>74</lpage>. <pub-id pub-id-type="doi">10.1007/978-3-642-12538-6_6</pub-id>
</citation>
</ref>
<ref id="B41">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Yeretzian</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Jordan</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Badoud</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Lindinger</surname>
<given-names>W.</given-names>
</name>
</person-group> (<year>2002</year>). <article-title>From the green bean to the cup of coffee: investigating coffee roasting by on-line monitoring of volatiles</article-title>. <source>Eur. Food Res. Technol.</source> <volume>214</volume> (<issue>2</issue>), <fpage>92</fpage>&#x2013;<lpage>104</lpage>. <pub-id pub-id-type="doi">10.1007/s00217-001-0424-7</pub-id>
</citation>
</ref>
</ref-list>
</back>
</article>