Next Article in Journal
Integrated Electronic Architectures for Spinal Cord Stimulation: Toward Miniaturized, Adaptive, and Energy-Efficient Neural Implants
Next Article in Special Issue
Single-Ended Fault Detection and Fault Location in Transmission Lines Using Approximate Derivative
Previous Article in Journal
Exploiting Quantum Key Distribution for Physical-Layer Security on OFDM MIMO Communications
Previous Article in Special Issue
A Multi-Temporal–Spatial Power and Energy Balancing Method Considering Energy Complementarity
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Comparative Robustness Analysis of Frequency-Constrained Metaheuristic PID Tuning for Zero-Overshoot Polymerase Chain Reaction Thermal Control

Department of Electrical and Electronics Engineering, Faculty of Engineering, Amasya University, 05100 Amasya, Turkey
Electronics 2026, 15(11), 2480; https://doi.org/10.3390/electronics15112480
Submission received: 30 April 2026 / Revised: 30 May 2026 / Accepted: 2 June 2026 / Published: 5 June 2026
(This article belongs to the Special Issue Energy Saving Management Systems: Challenges and Applications)

Abstract

The success of DNA amplification in Polymerase Chain Reaction (PCR) devices inherently depends on the rapid and absolute zero-overshoot temperature control of thermoelectric cooler (TEC) systems. In the literature, metaheuristic algorithms employed for proportional–integral–derivative (PID) tuning typically operate within unconstrained search spaces, relying exclusively on time-domain error metrics like ITAE. This conventional approach causes ‘gradient blindness’ and neglects frequency-domain robustness, resulting in excessive temperature overshoots that violate biological safety limits and lead to enzyme denaturation. To solve this problem, we propose a hybrid frequency-time domain optimization framework. Utilizing a first order plus dead-time (FOPDT) model for TEC dynamics, the PID search space is analytically restricted via Ziegler–Nichol’s stability boundaries. Furthermore, Phase Margin (PM ≥ 45°) and absolute zero-overshoot conditions are integrated into the objective function as a strict penalty mechanism. Evaluations conducted with five distinct metaheuristic algorithms (PSO, GWO, WOA, ABC, and ACO) prove that while traditional unconstrained methods yield overshoots up to 19.04%, the proposed architecture successfully confines all optimization agents to a globally stable region, enabling specific algorithms like ABC, PSO, and WOA to achieve exactly 0.00% overshoot. Validated across a realistic multi-step PCR cycle (95–55–75 °C), the developed robust controller settles into the denaturation phase with a 0.00 °C peak error, guaranteeing biological sample safety and delivering a reliable control framework for rapid-cycle PCR platforms.

1. Introduction

Polymerase chain reaction (PCR) is a powerful molecular biology technique that uses temperature cycles to enzymatically amplify target DNA sequences, yielding millions or billions of copies from a single molecule. This method is used for sensitive and rapid nucleic acid analysis in many fields, primarily genetic identification, infectious disease diagnosis, tumor screening, food safety, and forensic science. During the COVID-19 pandemic, the use of this method played a significant role in disease diagnosis. PCR forms the backbone of modern molecular genetics and diagnostic applications by enabling the enzymatic amplification of target DNA sequences [1]. In time-critical scenarios, such as clinical infection diagnostics, the increasing demand for rapid-result PCR platforms has introduced stringent requirements for high-precision thermal cycling [2,3]. Specifically, the growing need for microfluidic and portable point-of-care devices in the rapid diagnosis of infectious diseases renders high-performance thermal cycling systems indispensable [4,5].
For the thermal management of these instruments, thermoelectric coolers (TECs) are widely recognized as the fundamental hardware standard, owing to their compact form factors and bidirectional active heating/cooling capabilities [6]. The thermodynamic control of TEC-based systems constitutes a highly complex engineering problem, driven by the combined effects of high thermal inertia, asymmetry between operating modes, and system dead-time [7,8]. In the biomedical process of DNA amplification, particularly during the transition to the 95 °C denaturation phase, even minimal temperature overshoots can irreversibly degrade the structure of polymerase enzymes. Such thermal degradation drastically diminishes reaction efficiency or renders the clinical test entirely invalid [9,10]. Consequently, this profound biochemical sensitivity elevates the absolute zero-overshoot target from an optional performance metric to a strict physical imperative in thermal controller design.
Controlling the temperature of PCR devices is difficult because thermoelectric coolers (TECs) have non-linear characteristics, such as asymmetric heating and cooling capacities and Joule heating effects. Standard PID tuning methods, like trial-and-error or Ziegler–Nichols, struggle with these non-linearities and often produce oscillatory responses. Analytical techniques, such as the root-locus method, have difficulty compensating for the large dead-time in thermal systems. Fuzzy-logic control offers flexibility, but it requires complex rule-based designs and heavy computation. Because of these limitations, metaheuristic optimization algorithms provide a practical alternative by offering global search capabilities to handle the delayed dynamics of TEC modules.
Tuning industry standard proportional–integral–derivative (PID) controllers via empirical methods, such as the classical Ziegler–Nichols (Z-N) technique [11], falls short in achieving the critical balance between the aggressive rise times demanded by PCR cycles and the zero-overshoot constraint. To overcome these limitations, metaheuristic algorithms including particle swarm optimization (PSO), artificial bee colony (ABC), and grey wolf optimizer (GWO) have been widely adopted in recent years [12]. Nevertheless, most existing studies execute the optimization process within unconstrained search spaces, relying exclusively on time-domain metrics, such as the Integral of time-weighted absolute error (ITAE), as their cost functions [13].
Operating to minimize the time-domain error exclusively, these algorithms tend to generate excessively aggressive proportional gains, completely disregarding frequency-domain robustness conditions. Although this phenomenon yields rapid responses in simulation environments, in practical PCR systems governed by strict hardware limitations, it drives the system toward instability, inducing thermal shocks that cause enzyme denaturation.
In this context, to bridge the engineering and medical gap in the existing literature, this study presents a proposed frequency-constrained hybrid optimization architecture grounded in comparative robustness analysis. Within the proposed methodology, the search space of the algorithms is initially restricted analytically utilizing Z-N marginal stability boundaries. Subsequently, the phase margin (PM ≥ 45°) derived from the Nyquist stability criterion and the absolute zero-overshoot condition are integrated into the optimization loop as strict constraints. This strategic integration ensures that the optimization agents transcend a mere mathematical curve-fitting exercise, reliably converging to a physically viable optimum that safeguards both the hardware and the biological sample.
While recent advancements in control theory have introduced highly sophisticated PID variants such as the APID-T, Gudermanian PID, sigmoid PID, Brain Emotional Learning-Based Intelligent Controller (BELBIC) PID, neuroendocrine PID, and CMAC-PID their implementation in portable microfluidic PCR devices presents practical challenges. These advanced controllers offer excellent adaptability for highly nonlinear systems; however, they require substantial computational overhead, complex digital implementation, and advanced microcontroller units. In rapid point-of-care diagnostics, where hardware simplicity, energy efficiency, and reliability are paramount, employing standard PID architectures is highly preferred. Therefore, this study demonstrates that by utilizing a fundamentally simple and industry-standard PID controller, absolute 0.00% overshoot can still be achieved—not by complexifying the controller structure, but by strictly confining its tuning parameters within physical and frequency-domain boundaries (PM 45 ° ).
The remainder of this paper is organized as follows: Section 2 reviews the applications and inherent limitations of metaheuristic optimization within the PCR thermal control literature. Section 3 details the proposed hybrid constrained optimization methodology, which is grounded in additive white gaussian noise (AWGN) injected PCR system benchmark data. Section 4 discusses the statistical optimization results of the developed robust control architecture, alongside clinical simulation findings from a realistic multi-step PCR cycle (95–55–75 °C). Finally, Section 5 summarizes the main conclusions and the contributions of the proposed method to existing literature. All work was performed in the MATLAB R2025a software environment.
The main contributions of this study are:
  • We developed a hybrid objective function that combines time-domain metrics (ITAE) with a Phase Margin ( P M 45 ° ) constraint to eliminate gradient blindness in standard optimizations.
  • We implemented the metaheuristic algorithms with a 10 6 penalty, achieving a validated espacialy Artificial Bee Colony (ABC) 0.00% overshoot during the 95 °C PCR denaturation phase to protect biological samples.
  • We verified the hardware feasibility and robustness of the ABC-PID controller through Monte Carlo uncertainty analyses ( ± 10 % drift) and ±12 V TEC actuator saturation tests with a clamping anti-windup mechanism.

2. State of the Art and Metaheuristic Optimization in PCR Thermal Control

Thermoelectric coolers (TECs), situated at the core of PCR thermal cycling systems, function as bidirectional heat pumps based on the Peltier effect for both heating and cooling operations. However, the inherent thermodynamic structure of these modules exhibits a pronounced heating-cooling asymmetry, since Joule heating supplements the heating phase while actively opposing the cooling phase [9]. This asymmetry, when coupled with the thermal capacity of the PCR block and sensor acquisition delays, introduces significant thermal inertia and dead time into the system dynamics [14]. This delay-dominant characteristic, commonly modeled in the literature via first order plus dead-time (FOPDT) transfer functions, renders the tuning of classical PID coefficients using standard analytical methods highly inefficient [15].
Beyond the inherent control challenges, the stringent biochemical boundaries of PCR amplification completely eradicate any error margin. During thermal cycling, particularly in the transition to the 95 °C enzyme denaturation threshold, a temperature overshoot of even a few degrees irreversibly destroys DNA polymerase activity [16]. Consequently, the intended control strategy must not merely minimize the rise time; it must simultaneously guarantee an absolute zero-overshoot condition to ensure the reliability of clinical diagnostics.
The inadequacy of classical controller tuning methods in handling such complex, dead-time-dominant systems has driven researchers toward metaheuristic optimization algorithms [17,18]. Techniques such as PSO, ABC, GWO and WOA have made substantial contributions to control theory by providing derivative-free search strategies within complex PID parameter spaces [12]. However, a critical review of the thermal control literature reveals that these optimization architectures are predominantly focused on minimizing time-domain error metrics, most notably the ITAE [19,20].
Unconstrained algorithms, when subjected exclusively to a time-domain objective function such as ITAE, exhibit a strong tendency to generate excessively high proportional gains to rapidly drive the system’s error integral to zero. Although this approach may yield seemingly flawless results during the simulation phase, a frequency-domain evaluation reveals that it severely degrades the system’s Phase Margin, driving it well below the critical threshold of 45°.
A fundamental shortcoming in the existing literature is the deployment of mathematical minimization algorithms independently of physical system constraints. While most studies prioritize time-domain performance, the operational current limits of TEC hardware, thermal stress thresholds, and, most crucially, frequency-domain robustness conditions are largely disregarded [21]. An error-score-driven PID parameter set, uncorroborated by the Nyquist stability criterion in the frequency domain, renders the system highly vulnerable to minor deviations in model parameters such as variations in thermal resistance or ambient temperature fluctuations. Under such conditions, the system is driven toward instability, generating thermal overshoots that irreparably damage the biological sample [22,23].
Acomparative analysis of the state-of-the-art metaheuristic optimization and control strategies applied in recent PCR and high-inertia thermal control referance literature [7]. As clearly observed, modern optimization approaches including advanced machine learning models like XGBoost, widely adopted metaheuristics such as PSO, ABC, and GA, rely almost exclusively on time-domain objective functions ITAE [24,25].
While these unconstrained time-domain fitness evaluations attempt to minimize tracking error, they suffer from a phenomenon we define as gradient blindness [26]. Because the search agents are not restricted by thermodynamic physical boundaries or frequency-domain stability rules, they tend to converge on mathematically aggressive coefficients that cause severe temperature overshoots. In highly sensitive biomedical applications like PCR, where even a slight overshoot can cause the irreversible degradation of Taq DNA polymerase, this unconstrained approach poses a critical risk [27].
As highlighted in Table 1, none of the existing state-of-the-art methods employ frequency-response based robustness criteria (such as Phase Margin limits) as a restrictive physical filter during the optimization phase. The proposed hybrid optimization architecture fundamentally distinguishes itself from the existing literature by trapping the metaheuristic search space within Ziegler–Nichols marginal stability boundaries and enforcing a strict Nyquist frequency-domain criterion ( P M 45 ° ). This ensures that optimization agents do not just find mathematically minimal errors, but mathematically minimal errors that strictly obey thermodynamic safety limits, achieving absolute 0.00% overshoot.

Justification of the Control and Optimization Architecture

While recent advancements in control theory have introduced highly sophisticated PID variants—such as the APID-T, Gudermanian PID, Brain Emotional Learning-Based Intelligent Controller (BELBIC) PID, neuroendocrine PID, and CMAC-PID—their implementation in portable microfluidic PCR devices presents practical challenges [28,29,30]. These advanced controllers offer excellent adaptability for nonlinear systems; however, they require substantial computational overhead and complex digital microcontrollers. In rapid point-of-care diagnostics, where hardware simplicity and energy efficiency are paramount, employing standard PID architectures is highly preferred. Therefore, this study demonstrates that by utilizing a fundamentally simple PID controller, absolute 0.00% overshoot can still be achieved by strictly confining its tuning parameters within physical frequency-domain boundaries (PM ≥ 45°).
Similarly, regarding the tuning mechanisms, the optimization literature has recently shifted toward single-agent optimizers—such as the normalized Simultaneous Perturbation Stochastic Approximation (SPSA), improved smoothed functional algorithms, and norm-limited SPSA—primarily to reduce computational burden [31]. Furthermore, post-2024 hybrid models like the safe experimentation dynamics algorithm, hybrid nonlinear sine cosine algorithm, random average marine predators algorithm, and starfish optimizer have been proposed [32,33,34]. While single-agent algorithms are computationally lighter per iteration, thermal modeling of TEC modules under noisy sensor environments (AWGN) involves high-dimensional and delay-dominant search spaces characterized by multiple local minima. Swarm intelligence-based conventional optimizers (PSO, GWO, WOA, ABC, and ACO) are deliberately selected in this study because their multi-agent exploration capabilities prevent the system from being trapped in local optima during FOPDT parameter estimation and PID tuning. The primary gap addressed in this study is not the computational speed of the optimizer, but overcoming the ‘gradient blindness’ inherent in unconstrained objective functions. By evaluating these proven, well-established multi-agent algorithms under novel thermodynamic constraints, we confirm that preventing enzyme denaturation depends on defining the correct search-space boundaries rather than chasing the latest algorithmic trends.

3. Materials and Methodology

The comparative robust analysis architecture developed in this study comprises three fundamental stages: high-fidelity system modeling, the definition of a constrained search space, and frequency-domain-integrated optimization. This approach is specifically designed to prevent metaheuristic algorithms from generating purely mathematical parameters that violate practical hardware constraints, such as overshoot boundaries [12]. The procedural flow of this proposed hybrid optimization framework, detailing the integration of the penalty wall and phase margin evaluations, is outlined in Figure 1.
The architecture explicitly details the signal flow through the Metaheuristic Algorithms-tuned PID controller, the physical ± 12   V actuator saturation boundaries, the dynamic clamping anti-windup mechanism, and the hardware-derived FOPDT plant model.

3.1. Modeling of the TEC System and Experimental Data-Based System Identification

The thermodynamic nature of thermoelectric coolers (TECs) across their heating and cooling regimes, coupled with the thermal inertia between the sensor and the thermal mass, generates high-order nonlinear dynamics. The thermal cycling system uses a thermoelectric cooler (TEC) as the bidirectional actuator and a thermal sensor for feedback. The TEC operates within saturation limits of ±12 V, providing the rapid heating and cooling needed for microfluidic processes. A PT100 RTD measures the temperature. This sensor provides a measurement sensitivity of ±0.1 °C, a thermal response time under 1 s, and structural linearity between 20 °C and 100 °C. These hardware characteristics support the parameters identified for the system. In control theory, the macroscopic behavior of such high-inertia thermal processes is most effectively represented by the FOPDT transfer function. The open-loop dynamics of the system are expressed in Equation (1).
s = K τ s + 1 e L s
Here, K represents the static gain of the system (°C/V), τ denotes the thermal time constant (s), and L signifies the system dead-time (s) induced by thermal conduction and sensor acquisition delays.
To explicitly clarify the origin of the system dynamics, the FOPDT model utilized in this study is not based on theoretical assumptions. Instead, it is directly derived from an actual experimental setup. Specifically, rather than relying on a purely synthetic model, the open-loop step response data acquired via real-time hardware measurements on a micro-TEC based PCR platform by Arıkuşu and Bayhan [7] was adopted as the physical benchmark. By deploying metaheuristic system identification over this actual sensor data, the physical validity of the extracted FOPDT parameters is guaranteed, ensuring that the proposed controller is evaluated under rigorous real-world hardware conditions.
However, to circumvent the idealized nature of the data acquired in a controlled laboratory environment, and to accurately simulate real-world conditions specifically sensor measurement errors, electrical interference white gaussian noise (AWGN) was superimposed onto the raw experimental dataset Equation (2).
y n o i s y ( t ) = y i d e a l ( t ) + N ( 0 , σ 2 )
Here, N 0 , σ 2 represents the random noise component with a zero mean and a variance of σ 2 [28]. The metaheuristic algorithms were deployed across this severely noise-corrupted dataset, compelling them to extract the true FOPDT ( K , τ , L ) coefficients. Consequently, the identification robustness of the algorithms under such noisy conditions was rigorously demonstrated. Following the addition of the AWGN, we processed this realistic, noisy step-response data using curve-fitting estimation techniques to extract the First-Order Plus Dead-Time (FOPDT) model parameters. This estimation process determined the system gain ( K ) as 58.06, the time constant ( τ ) as 18.533 s, and the dead-time ( L ) as 1.536 s. By extracting the parameters from the noise-superimposed dataset, we ensured that the resulting transfer function accurately represents the thermal inertia and sensor transport delays under real-world interference conditions.

3.2. Ziegler–Nichols Limits and Constraining Search Space

The transfer function of the PID controller is given in Equation (3).
C ( s ) = K p + K i s + K d s
K p , K i and K d represent the proportional, integral, and derivative gain coefficients, respectively. The most significant limitation of metaheuristic optimization algorithms is that, when operating within vastly broad and unconstrained search spaces, they exhibit a strong tendency to converge toward impractically high proportional gain values [13,21]. To circumvent this problem, the search space was analytically constrained utilizing the conventional Ziegler–Nichols (Z-N) ultimate cycling method. The ultimate gain ( K c r ) and ultimate period ( P c r ) values representing the point at which the closed-loop system reaches marginal stability were analytically computed. The boundaries of the search space available to the optimization agents ( K m i n K K m a x ) were strictly defined in accordance with the physical validity limits of these Z-N rules.
To explicitly address the physical hardware limitations of the TEC module, the ideal PID control law in Equation (3) is modified to incorporate an actuator saturation block and a dynamic clamping anti-windup mechanism. In physical implementations, the input voltage applied to the TEC, V T E C ( t ) , is strictly bounded by the power supply limits ( V m a x = ± 12 V ), formulated as in Equation (4).
V T E C ( t ) = V m a x   ,                                                         i f   u ( t ) V m a x u ( t ) ,                   i f     V m a x < u ( t ) < V m a x V m a x ,                                               i f   u ( t ) V m a x
where u ( t ) is the unconstrained controller output. During rapid 95 °C transitions, the unconstrained output naturally exceeds 12 V, which would conventionally cause the integral term to accumulate excessive error (integrator windup), leading to hidden thermal overshoots upon reaching the target. To prevent this, a dynamic clamping anti-windup mechanism is integrated into the simulation. The integrator state is actively frozen (i.e., the integration of e ( t ) is paused) whenever the controller saturates ( u ( t ) V T E C ( t )) and the control error shares the same sign as the manipulated variable. This mathematical inclusion ensures that the optimized K i gains remain physically feasible during real-time hardware operation without violating the zero-overshoot constraint.

3.3. Frequency-Domain Constraints: Nyquist Criterion and Phase Margin

Merely achieving a rapid time-domain response can render the system highly susceptible to instability in the presence of minor model uncertainties, such as fluctuations in ambient temperature. To guarantee robustness throughout the system’s operational lifespan, frequency-domain analysis was conducted on the open-loop transfer function, and the phase margin (PM) was calculated based on the Nyquist stability criterion. The gain crossover frequency ( ω c p ) of the system is defined by Equation (5) as the point at which the open-loop magnitude equals unity (0 dB).
L j ω c p = C j ω c p G j ω c p = 1
The PM, derived from the phase angle at this crossover frequency, is formulated in Equation (6).
P M = 180 ° + L j ω c p
In control systems, achieving asymptotic stability and a well-damped response necessitates a minimum phase margin. In this study, the P M 45 ° condition was implemented as a barrier constraint within the optimization loop to explicitly underscore that safeguarding the hardware remains the primary objective.

3.4. Hybrid Objective Function and Strict Penalty Mechanism

The objective function formulated for the fitness evaluation of the metaheuristic algorithms unifies time-domain error, hardware stability, and the strict biomedical zero-overshoot imperative within a single equation. The dynamic error in the time domain is quantified using the ITAE metric that reflects transient performance with exceptional fidelity in Equation (7).
I T A E = 0 t s i m t e t d t
In Equation (6), t denotes the simulation time, and e t represents the error between the reference setpoint and the instantaneous measured temperature. The strict 0% overshoot constraint, mandated to prevent the denaturation of PCR enzymes, along with the hardware-protective frequency constraint ( P M 45 ° ), was integrated into the objective function via a strict penalty mechanism, as formulated in Equation (8).
J = I T A E + w 1 × max 0 , O S + w 2 × max 0 , 45 ° P M
In Equation (8), J represents the total cost to be minimized, and O S denotes the percentage overshoot. To balance the objective function, the weight w 1 is set to 1.0 to scale the primary ITAE performance metric, while the penalty weight w 2 is set to 10 6 . This extreme weighting acts as a hard boundary. If the phase margin and overshoot constraints are met, the penalty remains zero. However, if any constraint is violated, the w 2 term dominates the score, driving the fitness value toward infinity. This functional architecture ensures that the optimization algorithms immediately abandon unsafe solution spaces, forcing them to converge toward a biologically and physically safe optimum.

3.5. Implemented Metaheuristic Algorithms

To substantiate that the proposed constrained architecture constitutes an algorithm-independent universal framework, five distinct metaheuristic algorithms widely recognized within the control literature were deployed across this optimization hyper-surface [35,36,37]. These algorithms comprise PSO, ABC, GWO, WOA, and ACO [38,39]. To ensure statistical fairness and an unbiased comparison, the population size and the maximum number of iterations were strictly equalized across all evaluated algorithms [40,41].
The initial phase of the optimization process is dedicated to establishing the most mathematically realistic model of the target systemin Figure 2. In step 1, rather than relying on purely theoretical assumptions, an actual TEC-PCR step response derived from the literature [7] was introduced as the process input. In step 2, AWGN was superimposed onto this dataset to accurately simulate measurement errors. In step 3, metaheuristic algorithms were deployed across this noisy data to extract the system’s FOPDT parameters ( K ,   τ ,   L ), thereby formulating the reference system model upon which the optimization framework would operate. Crucially, this phase guarantees that the proposed controller is evaluated not within sterile simulation environments, but under rigorous real-world conditions subjected to environmental disturbances.
Commencing upon the derived FOPDT model, the second phase constitutes an optimization loop wherein classical and modern constraints are enforced concurrently. In step 4, the process initiates by constricting the search space of the optimization agents (e.g., particles, bees) utilizing conventional Z-N boundaries. In step 5, the population is initialized at random positions; subsequently, in step 6, it is evaluated at each iteration based on its performance in both the time domain and the frequency domain.
The novelty of the proposed architecture resides in the sequential decision-making mechanisms implemented at this stage:
  • Frequency-Domain Security Barrier ( M 45 ° ): An evaluated PID candidate must fundamentally satisfy the Nyquist stability criterion. If a candidate solution fails to yield a minimum phase margin of 45 ° , the system is labeled as unstable or fragile. Consequently, irrespective of how exceptionally low its time-domain error may be, the candidate is instantaneously relegated to the strict penalty block.
  • Biomedical Security Barrier ( O S = 0 % ): Robust candidates that successfully navigate the frequency barrier are subsequently subjected to a stringent zero-overshoot evaluation to mitigate the risk of DNA polymerase enzyme denaturation. Any solution producing a temperature overshoot is immediately diverted to the penalty mechanism and consequently eliminated.
For the rare agents that successfully navigate both constraints, the objective function is evaluated based exclusively on their ITAE scores; conversely, a prohibitive penalty ( J = J + 10 6 ) is appended to the cost function of any agents exhibiting constraint violations, compelling them to rapidly evade these suboptimal regions of the search space. Successive generations are subsequently produced utilizing the specific position update equations intrinsic to each algorithm’s methodology, and this iterative loop continues until the predefined maximum number of iterations is achieved. The algorithm concludes the process by yielding the optimal K p , K i and K d parameters that prevent hardware overexertion, remain robust against external disturbances, and strictly guarantee sample safety.
Furthermore, to ensure reproducibility and provide a transparent methodology, the internal algorithmic hyper-parameters of the selected optimizers were explicitly configured. To establish a statistically fair comparison baseline, the population size (N) and the maximum number of iterations ( T m a x ) were equalized across all algorithms. The specific control parameters, such as the inertia weights for PSO and the abandonment limit for ABC, were carefully selected based on the delay-dominant nature of the FOPDT model and are detailed in Table 2. These internal parameters were kept strictly constant during both the unconstrained and hybrid-constrained optimization phases to perfectly isolate and observe the effect of the proposed penalty mechanism.

4. Results and Discussion

4.1. System Identification and Determination of Analytical Boundaries

In the initial phase of the study, the parameters of FOPDT transfer function, representing the dynamic behavior of the PCR thermal block were identified using the actual time-temperature response derived from sensor data. To achieve this, the system was modeled utilizing five distinct metaheuristic algorithms (PSO, GWO, WOA, ABC, and ACO) constrained by strict physical thermodynamic bounds: l b = 30,5 , 0.1 , u b = 80,40,5.0 . To ensure that the algorithms extract the authentic hardware characteristics rather than merely achieving a superficial mathematical fit, the Root Mean Square Error (RMSE) was employed as the cost function, and each algorithm was subjected to 20 independent runs. Consequently, a total of 100 independent tests were executed across the five algorithms for the system identification process.
According to the statistical outcomes of the independent system identification trials presented in Table 3, all optimization agents successfully modeled the system with a negligible RMSE deviation of approximately 0.1944 °C during their best iterations. However, a deeper examination of the algorithms’ robustness performances reveals that WOA and GWO were trapped in local minima during certain runs, yielding maximum errors (Worst RMSE) of up to 1.45 °C and 0.65 °C, respectively. Consequently, they exhibited markedly high standard deviations 0.3885 and 0.1674, respectively. In stark contrast, ABC algorithm consistently remained within the global optimum valley across all 20 runs. By yielding a near-zero standard deviation of 0.0002, ABC definitively proved to be the most robust system identification tool among the evaluated methods.
The open-loop system parameters derived from the highly consistent results of the ABC algorithm, and which will serve as the foundational model for the remainder of the study were determined as follows; System Gain = 58.06 , Time Constant τ = 18.533 (s), and Dead Time L = 1.536 (s) in Equation (9). These parameters are in strict accordance with the thermal inertia characteristics of PCR systems reported in the literature.
G ( s ) = 58.06 18.533 s + 1 e 1.536 s
The precise alignment of the ABC algorithm’s model with the experimental data of the TEC system is clearly illustrated in Figure 3. Figure 3a shows the fit of the FOPDT reference model, successfully detected by the ABC algorithm, with the noisy simulated sensor data obtained from the PCR-TEC system. Figure 3b compares the error (RMSE) distributions of the algorithms in 20 independent runs, revealing via a box plot that ABC, ACO, and PSO exhibit high stability, while WOA and GWO tend to get stuck in local minima. Figure 3c visualizes the search strategies that most quickly and consistently bring the error margin closer to zero by presenting the average convergence curves of the algorithms over 50 iterations. Figure 3d summarizes the multidimensional performance (Best, Worst, Mean, and Standard Deviation) of the algorithms in a radar graph, confirming the statistical superiority of the ABC algorithm in system identification, as it fits most consistently into the outer frame.
Following the derivation of the mathematical model, the dynamic search space for the PID controller coefficients was analytically computed via the Z-N ultimate cycling method. The marginal stability condition of the closed-loop characteristic equation the ultimate frequency ( ω u 1.05 rad/s) and, consequently, the ultimate gain ( K u 0.337 ) of the system were determined. Rather than employing the conventionally broad, arbitrary intervals prevalent in the literature, the search space for the metaheuristic algorithms was constrained to a strictly safe region derived directly from these physical marginal stability limits: 0 K p 0.5062 ,   0 K i 0.1134 and 0 K d 0.6694 .

4.2. Statistical Comparison of Unconstrained and Constrained (Hybrid) Optimization

To analytically validate the necessity and robustness of the proposed frequency-domain constrained (Phase Margin-based) hybrid optimization architecture, a comprehensive investigation was conducted. To this end, five distinct metaheuristic algorithms widely recognized in the literature (PSO, GWO, WOA, ABC, and ACO) were rigorously evaluated. The assessment was executed across a total of 100 independent tests, comprising 20 independent runs for each optimization scenario.
The fundamental premise of this study is to elevate the optimization process from a mere mathematical minimum-seeking (curve-fitting) exercise, transforming it into the design of a physically implementable, robust controller that strictly guarantees the 0% overshoot mandated for PCRs.

4.2.1. Analysis of the Unconstrained Search Space and System Instability

In the first scenario, the search space for the algorithms was constrained directly by the theoretical Z-N parameter bounds of the plant; however, the frequency-domain phase margin ( P M 45 ° ) constraint was intentionally deactivated. To ensure that a system responds with sufficient speed while remaining stable without oscillations or overshoot, the recommended industry standard for phase margin typically ranges between 45 ° and 60 ° . By defining the boundary condition at 45 ° , the optimization objective was formulated to establish an optimal trade-off between achieving high robustness against external disturbances and minimizing the PCR settling time by avoiding sluggishness in the transient response.
The primary motivation behind this configuration is to evaluate whether a search strategy grounded solely in analytical Z-N constraints and conventional ITAE minimization is sufficient to ensure closed-loop stability and the targeted transient performance in dead-time dominant systems. Furthermore, to preclude mathematical estimation errors and false-positive convergences that may arise within the optimization loop, the Padé approximation was strictly avoided. Instead, the cost function was executed directly upon an infinite-dimensional, full time-delay system model.
The quantitative findings derived from the analytically constrained Z-N scenario are comprehensively summarized through the closed-loop step response characteristics, the radar charts depicting the multi-dimensional performance trade-offs of the algorithms at Figure 4, and the detailed statistical performance metrics in Table 4.
An examination of Figure 4 reveals that all evaluated algorithms were shielded from asymptotic instability, as the Z-N search space boundaries successfully precluded the divergence of the closed-loop system. However, in the absence of the Phase Margin (Nyquist) constraint, it was observed that all optimization algorithms driven by the singular pressure to minimize the ITAE cost function forced the proportional gain ( K p ) into a range between approximately 0.15 and 0.19 in Table 4. Consequently, while the closed-loop system maintained its global stability, it exhibited intolerable overshoots (ranging from 2.65% to 19.04%) and pronounced transient oscillations. Such levels of overshoot are unacceptable for biomedical systems, such as PCR devices, which demand extreme thermal precision. These findings clearly demonstrate that relying solely on analytical Z-N constraints in dead-time dominant systems fails to provide an adequate safety margin to guarantee the targeted zero-overshoot performance.

4.2.2. Effectiveness of the Hybrid-Constrained Model and the Zero-Overshoot Constraint

In the second stage of the study, the algorithms were deployed under the proposed hybrid architecture. Here, they were confined within Ziegler–Nichols boundaries and subjected to both the Phase Margin ( P M 45 ° ) constraint and a strict zero-overshoot safety mandate, enforced by a 10 6 penalty for any violation. An examination of the optimization statistics reveals that the average ITAE scores are notably high. While this might appear as a performance deficiency, it mathematically demonstrates how selective and rigorous the constraints are. If an algorithm exceeds the target amplitude by even a fraction of a percent, it triggers the massive penalty, which subsequently dominates its average error score.
This penalty mechanism clearly separates the capabilities of the tested algorithms. Even under these strict hybrid constraints, algorithms like GWO and ACO struggle to remain completely within the safety boundaries. They produce minor overshoots of 0.31% and 0.02%, respectively, triggering the penalty wall. In contrast, the ABC algorithm successfully navigates this highly restricted search space. It achieves exactly 0.00% overshoot while optimizing the rise and settling times, proving that it can consistently find the biologically and physically safe optimum without absorbing any penalty.
When the step responses in Figure 5 and the statistical data in Table 5 are evaluated together, it is observed that the system controlled by the final coefficients generated by the hybrid method (particularly for PSO, WOA, and ABC) settles flawlessly at the reference amplitude with zero oscillations and an absolute 0.00% overshoot. ACO and GWO exhibited clinically tolerable microscopic deviations of 0.02% and 0.31%, respectively. Achieving such a seamless step response in a high-gain TEC system is a critical engineering feat for preserving hardware longevity. In biochemical equipment requiring high thermal sensitivity, such as PCR devices, exceeding the target denaturation temperature (e.g., 95 °C) by even 1% can lead to the degradation of DNA polymerase enzymes and the spoilage of medical samples. In this context, it has been proven that the coefficients obtained through hybrid architecture fulfill a physical imperative for hardware protection rather than merely achieving a mathematical minimum.
Table 6 presents a direct methodological comparison between the foundational reference study [7] and the proposed optimization framework. While the reference study provides a valuable hardware-validated base model, our proposed architecture introduces strict frequency-domain robustness limits, physical actuator saturation constraints, and a zero-overshoot penalty wall. These systemic additions bridge the gap between idealized laboratory optimizations and the rigorous biological safety requirements of actual PCR thermal cycling.

4.2.3. Hardware Robustness Analysis: Parametric Uncertainty and Actuator Saturation

Real-world PCR environments experience parametric changes due to component wear and ambient temperature shifts. To rigorously test the controller’s reliability under these conditions, a 50-run Monte Carlo sensitivity analysis was conducted. The FOPDT model parameters ( K , τ , L ) were varied simultaneously by ±10% to emulate worst-case system gain fluctuations and dead-time variations. As shown in Figure 6a, the system maintained robust stability across all iterations. Most importantly, even under these severe parametric uncertainties, the absolute zero-overshoot condition strictly held (0.00% OS), and the temperature successfully reached the 95 °C target without any thermal degradation risks.
Furthermore, standard simulations often ignore hardware power limits. We included an actuator saturation block for the TEC’s ±12 V limits and a clamping anti-windup mechanism. Figure 6b shows the control effort. Initially, the PID output requests a high voltage, but the saturation block restricts it to 12 V. The anti-windup mechanism stops the integral state from accumulating during this saturation phase. When the temperature nears 95 °C, the control effort smoothly drops to around 1.2 V, indicating energy efficiency suitable for portable PCR devices.

4.2.4. Convergence Analysis and Penalty Function Dynamics

A known risk of using massive static penalties, such as the 10 6 weight in our objective function, is objective function plateauing. This condition can cause search agents to lose directional gradient information, forcing them to stagnate once they find the first feasible solution. To verify that the proposed framework avoids this issue, we analyzed the convergence behavior of the ABC algorithm. Figure 6 illustrates this dynamic through two perspectives: the total penalized cost (J) in Figure 7a and the raw ITAE score in Figure 7b.
As shown in Figure 7a, the total cost drops sharply in the early iterations once the population escapes the penalty zone and enters the secure phase margin and zero-overshoot region. More importantly, Figure 7b demonstrates that the raw ITAE curve does not stagnate after this drop. Instead, the algorithm continues to minimize the ITAE smoothly throughout the remaining iterations. This confirms that the agents do not simply avoid the penalty wall; they actively exploit the feasible region to optimize the time-domain performance of the PCR thermal cycle.

4.3. Performance Validation via PCR Multi-Stage Thermal Cycling Protocols

The ultimate clinical and medical validity of the developed hybrid controller architecture was tested against a realistic DNA amplification thermal profile (95 °C Denaturation, 55 °C Annealing, and 75 °C Extension). In PCR assays, even a minor temperature overshoot of a few degrees, particularly during the 95 °C denaturation phase, can irreversibly denature the DNA polymerase enzymes within the reaction tube. Such thermal degradation compromises the biochemical integrity of the process, thereby rendering the entire assay invalid.
The pivotal finding of this phase lies in the fact that the algorithms were not reoptimized for this complex cycle. Instead, the hybrid coefficients previously derived from a simpler step response as detailed in Table 6 were directly integrated into the clinical simulation. According to the comparative PCR cycle analysis presented in Figure 8 and the performance metrics in Table 7, the proposed constrained hybrid architecture successfully navigated all phase transitions of the PCR cycle with high stability. Notably, despite the abrupt thermal shock experienced during the transition from 75 °C to 95 °C (the second denaturation) at the 120th second, the system settled at the target with 0.00% overshoot, flawlessly preserving the biological specimen. This performance serves as the most compelling evidence that frequency-domain constraints provide intrinsic hardware stability rather than an overfitted solution tailored to a specific setpoint.
Beyond the achievement of zero overshoot, the Settling Time data presented in Table 6 holds vital importance for clinical PCR diagnostics. PCR cycles are time-critical processes; the more rapidly and smoothly the system settles at the target temperature, the shorter the total diagnostic duration becomes. The exceptionally low settling times (rapidly damped responses) of the hybrid architecture illustrated in Figure 5 ensure that the device not only performs safe DNA amplification but also aligns with the targeted rapid cycle PCR paradigm. These clinical simulation results substantiate the vital necessity of integrating thermodynamic (Z-N) and frequency-domain (Nyquist) robustness constraints into metaheuristic PID optimization processes, particularly for ensuring medical device integrity and specimen safety.

5. Conclusions

In this study, a novel frequency-domain constrained hybrid PID optimization architecture centering on hardware safety and thermodynamic physical limits have been developed for the precise thermal control of TEC systems in PCR devices. Through comprehensive investigations, this work provides statistical evidence of the deleterious effects on PCR equipment caused by common literature approaches that utilize broad and unconstrained search spaces for metaheuristic algorithms.
System identification tests conducted on the FOPDT model using five different metaheuristic algorithms revealed that ABC algorithm established the most robust reference model, achieving the lowest standard deviation of 0.0002. During the controller design phase, it was observed that unconstrained optimization agents suffered from gradient blindness due to the singular pressure to minimize ITAE. This phenomenon pushed the systems toward instability, resulting in hazardous temperature overshoots of up to 19.04%.
To resolve this optimization collapse, the search space was confined to marginal stability boundaries derived from the Z-N method, and the Nyquist frequency-domain stability criterion ( P M 45 ° ) along with absolute zero-overshoot constraints were integrated into the objective function.
It was observed that the optimal coefficients surviving these physical filters consistently converged toward a single, narrow, secure, and physically meaningful global optimum region, regardless of the algorithm type. Through this hybrid architecture, the PSO, WOA, and ABC algorithms, in particular, succeeded in achieving an absolute 0.00% overshoot in the step response.
The direct application of these developed robust coefficients to a realistic dynamic PCR thermal cycle (95 °C Denaturation, 55 °C Annealing, and 75 °C Extension) successfully demonstrated the clinical validity of the system by preventing overfitting. Notably, during the abrupt transition from 75 °C to 95 °C at the 120th second, the system exhibited absolute zero overshoot (0.00 °C Maximum Error), thereby eliminating the risk of thermal shock degradation of DNA polymerase enzymes. Furthermore, the speed-safety trade-off provided by the P M 45 ° constraint resulted in exceptionally low settling times. This efficiency ensures that the PCR is not only secure but also aligns with the targeted rapid-cycle PCR paradigm.
This study highlights that in the control of biomedical devices requiring high thermal sensitivity, such as PCR equipment, the core challenge lies not merely in the choice of optimization algorithm, but rather in how accurately these algorithms are constrained by physical and frequency-domain rules. The proposed hybrid design approach provides a reliable, universal, and hardware-friendly reference framework for the robust control of all medical, industrial, and microfluidic thermal systems characterized by high thermal inertia.

Funding

This research received no external funding.

Data Availability Statement

The original contributions presented in the study are included in the article; further inquiries can be directed to the corresponding author.

Acknowledgments

During the preparation of this manuscript, the author utilized artificial intelligence language models for language translation. The author reviewed and edited the resulting outputs and assumes full responsibility for the content of this publication.

Conflicts of Interest

The author declares no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
ABCArtificial bee colony
ACOAnt colony optimization
AWGNAdditive white gaussian noise
FOPDTFirst Order Plus Dead-Time
GAGenetic Algorithm
GWOGrey Wolf Optimizer
IAEIntegral of Absolute Error
ISEIntegral of Squared Error
ITAEIntegral of Time-Weighted Absolute Error
ITSEIntegral of Time-Weighted Squared Error
MSEMean Squared Erro
OSOvershoot
PCRPolymerase Chain Reaction
PIDProportional–Integral–Derivative
PMPhase Margin
PSOParticle Swarm Optimization
RMSERoot Mean Square Error
TECThermoelectric Cooler
TRMSTwin Rotor Multi-Input Multi-Output System
WOAWhale Optimization Algorithm
Z-NZiegler–Nichols

References

  1. Ahrberg, C.D.; Manz, A.; Chung, B.G. Polymerase chain reaction in microfluidic devices. Lab Chip 2016, 16, 3866–3884. [Google Scholar] [CrossRef] [Scilit]
  2. Yang, Z.; Zhang, J.; Tong, X.; Li, W.; Liang, L.; Liu, B.; Chen, C. Simulation of Rapid Thermal Cycle for Ultra-Fast PCR. Sensors 2022, 22, 9990. [Google Scholar] [CrossRef] [Scilit]
  3. Cheng, J.; Zhang, E.; Sun, R.; Zhang, K.; Zhang, F.; Zhao, J.; Feng, S.; Liu, B. Implementation of Rapid Nucleic Acid Amplification Based on the Super Large Thermoelectric Cooler Rapid Temperature Rise and Fall Heating Module. Biosensors 2024, 14, 379. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  4. Sarbaland, F.b.N.; Kobayashi, M.; Tanaka, D.; Fujita, R.; Tanaka, N.; Furuya, M. Temperature Control in Microfluidic Devices: Approaches, Challenges, and Future Directions. Appl. Sci. 2025, 15, 9902. [Google Scholar] [CrossRef] [Scilit]
  5. An, Y.-Q.; Huang, S.-L.; Xi, B.-C.; Gong, X.-L.; Ji, J.-H.; Hu, Y.; Ding, Y.-J.; Zhang, D.-X.; Ge, S.-X.; Zhang, J.; et al. Ultrafast Microfluidic PCR Thermocycler for Nucleic Acid Amplification. Micromachines 2023, 14, 658. [Google Scholar] [CrossRef] [Scilit]
  6. Miralles, V.; Huerre, A.; Malloggi, F.; Jullien, M.-C. A Review of Heating and Temperature Control in Microfluidic Systems: Techniques and Applications. Diagnostics 2013, 3, 33–67. [Google Scholar] [CrossRef] [Scilit]
  7. Arıkuşu, Y.S.; Bayhan, N. Design of a novel PID controller based on machine learning algorithm for a micro-thermoelectric cooler of the polymerase chain reaction device. IEEE Access 2024, 12, 61962–61977. [Google Scholar] [CrossRef] [Scilit]
  8. Wu, D.; Wu, W. Battery Powered Portable Thermal Cycler for Continuous-Flow Polymerase Chain Reaction Diagnosis by Single Thermostatic Thermoelectric Cooler and Open-Loop Controller. Sensors 2019, 19, 1609. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  9. Zhang, T.; Cai, G.; Zhang, Z.; Li, Q.; Cui, C. Temperature control technology for PCR. Int. J. Numer. Model. Electron. Netw. Devices Fields 2024, 37, e3280. [Google Scholar] [CrossRef] [Scilit]
  10. Bamerni, P.; König, J.; Mistry, L.-A.; Schmitt, K.; Wöllenstein, J. Design and Validation of a High-Speed Miniaturized Thermocycler with Peltier Elements for Efficient PCR Thermal Cycling. Sensors 2025, 25, 7046. [Google Scholar] [CrossRef] [Scilit]
  11. Ziegler, J.G.; Nichols, N.B. Optimum settings for automatic controllers. Trans. ASME 1942, 64, 759–768. [Google Scholar] [CrossRef] [Scilit]
  12. Bassi Joseph, S.; Dada, E.G.; Abidemi, A.; Oyewola, D.O.; Khammas, B.M. Metaheuristic algorithms for PID controller parameters tuning: Review, approaches and open problems. Heliyon 2022, 8, e09399. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  13. Idir, A.; Zemmit, A.; Akroum, H.; Nesri, M.; Guedida, S.; Canale, L. Enhancing temperature control of electric furnaces using a modified PID controller design strategy. Res. Sq. 2024. [Google Scholar] [CrossRef] [Scilit]
  14. Bingul, Z.; Karahan, O. Comparison of PID and FOPID controllers tuned by PSO and ABC algorithms for unstable and integrating systems with time delay. Optim. Control Appl. Methods 2018, 39, 1413–1450. [Google Scholar] [CrossRef] [Scilit]
  15. Qiu, X.; Mauk, M.G.; Chen, D.; Liu, C.; Bau, H.H. A large volume, portable, real-time PCR reactor. Lab Chip 2010, 10, 3170–3177. [Google Scholar] [CrossRef] [Scilit]
  16. Liu, H.; Fang, Y.; Su, X.; Wang, Y.; Ji, M.; Xing, H.; Gao, Y.; Zhang, Y.; He, N. Temperature control algorithm for polymerase chain reaction (PCR) instrumentation based upon improved hybrid fuzzy proportional integral derivative (PID) control. Instrum. Sci. Technol. 2022, 50, 109–131. [Google Scholar] [CrossRef] [Scilit]
  17. Cabuker, A.C.; Almalı, M.N. Metaheuristic Algorithm-Based Proportional–Integrative–Derivative Control of a Twin Rotor Multi Input Multi Output System. Electronics 2024, 13, 3291. [Google Scholar] [CrossRef] [Scilit]
  18. Pavon, W. Metaheuristic-Based PID Controller Design with MOOD Decision Support Applied to Benchmark Industrial Systems. Electronics 2025, 14, 3630. [Google Scholar] [CrossRef] [Scilit]
  19. Khan, I.A.; Alghamdi, A.S.; Jumani, T.A.; Alamgir, A.; Awan, A.B.; Khidrani, A. Salp Swarm Optimization Algorithm-Based Fractional Order PID Controller for Dynamic Response and Stability Enhancement of an Automatic Voltage Regulator System. Electronics 2019, 8, 1472. [Google Scholar] [CrossRef] [Scilit]
  20. Gao, B.; Guan, H.; Shen, W.; Ye, Y. Application of the Gray Wolf Optimization Algorithm in Active Disturbance Rejection Control Parameter Tuning of an Electro-Hydraulic Servo Unit. Machines 2022, 10, 599. [Google Scholar] [CrossRef] [Scilit]
  21. Nath, U.M.; Dey, C.; Mudi, R.K. Desired Characteristic Equation Based PID Controller Tuning for Lag-Dominating Processes With Real-Time Realization on Level Control System. IEEE Control Syst. Lett. 2021, 5, 1255–1260. [Google Scholar] [CrossRef] [Scilit]
  22. Janprom, K.; Permpoonsinsup, W.; Wangnipparnto, S. Intelligent tuning of PID using metaheuristic optimization for temperature and relative humidity control of comfortable rooms. J. Control. Sci. Eng. 2020, 2020, 2596549. [Google Scholar] [CrossRef] [Scilit]
  23. Wang, H.; Du, H.; Cui, Q.; Song, H. Artificial bee colony algorithm based PID controller for steel stripe deviation control system. Sci. Prog. 2022, 105, 1–22. [Google Scholar] [CrossRef] [Scilit]
  24. Ji, J.; Hu, C.; Pang, X.; Liang, J.; Huang, Q.; Hu, S.; Mei, Q.; Ma, H. Open Thermal Control System for Stable Polymerase Chain Reaction on a Digital Microfluidic Chip. ACS Omega 2024, 9, 10937–10944. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  25. Dinca, M.P.; Gheorghe, M.; Galvin, P. Design of a PID controller for a PCR micro reactor. IEEE Trans. Educ. 2009, 52, 116–125. [Google Scholar] [CrossRef] [Scilit]
  26. Jiang, J.; Kaigala, G.V.; Marquez, H.J.; Backhouse, C.J. Nonlinear controller designs for thermal management in PCR amplification. IEEE Trans. Control Syst. Technol. 2012, 20, 11–23. [Google Scholar] [CrossRef] [Scilit]
  27. Coello, C.A.C. Theoretical and numerical constraint-handling techniques used with evolutionary algorithms: A survey of the state of the art. Comput. Methods Appl. Mech. Eng. 2002, 191, 1245–1287. [Google Scholar] [CrossRef] [Scilit]
  28. Serradilla, F.; Cañas, N.; Naranjo, J.E. Optimization of the Energy Consumption of Electric Motors through Metaheuristics and PID Controllers. Electronics 2020, 9, 1842. [Google Scholar] [CrossRef] [Scilit]
  29. Izci, D.; Ekinci, S.; Ökten, İ.; Çınar, R.F.; Rashdan, M.; Salman, M.; Güneş, B.B.; Ahmad, M.A. A novel hyperbolic tangent-augmented controller framework for temperature control in jacketed continuous stirred tank reactors. Sci. Rep. 2026, 16, 16661. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  30. Ekinci, S.; Yuksek, G.; Cinar, R.F.; Turkeri, C.; Li, D. Gudermannian-based error-shaped PID controller tuned via THRO for nonlinear CSTR temperature control. Chaos Solitons Fractals 2026, 209, 118383. [Google Scholar] [CrossRef] [Scilit]
  31. Albalawi, H.; El-Shimy, M.E.; AbdelMeguid, H.; Kassem, A.M.; Zaid, S.A. Analysis of a Hybrid Wind/Photovoltaic Energy System Controlled by Brain Emotional Learning-Based Intelligent Controller. Sustainability 2022, 14, 4775. [Google Scholar] [CrossRef] [Scilit]
  32. Mustapha, N.M.Z.A.; Ahmad, M.A. Normalized SPSA for Hammerstein model identification of twin rotor and electro-mechanical positioning systems. Int. J. Cogn. Comput. Eng. 2025, 6, 552–568. [Google Scholar] [CrossRef] [Scilit]
  33. Eslami, M.; Neshat, M.; Khalid, S.A. A Novel Hybrid Sine Cosine Algorithm and Pattern Search for Optimal Coordination of Power System Damping Controllers. Sustainability 2022, 14, 541. [Google Scholar] [CrossRef] [Scilit]
  34. Wang, Z.; Zhang, Y.; Yu, J.; Gao, Y.; Zhao, G.; Houssein, E.H.; Zhong, R. Multi-strategy enhanced marine predator algorithm: Performance investigation and application in intrusion detection. J. Big Data 2025, 12, 38. [Google Scholar] [CrossRef] [Scilit]
  35. Zhong, C.; Li, G.; Meng, Z.; Li, H.; Yildiz, A.R.; Mirjalili, S. Starfish optimization algorithm (SFOA): A bio-inspired metaheuristic algorithm for global optimization compared with 100 optimizers. Neural Comput. Appl. 2025, 37, 3641–3683. [Google Scholar] [CrossRef] [Scilit]
  36. Rojas, A.J. Differential Entropy-Based Fault-Detection Mechanism for Power-Constrained Networked Control Systems. Entropy 2024, 26, 259. [Google Scholar] [CrossRef] [Scilit]
  37. Dhanasekaran, B.; Kaliannan, J.; Baskaran, A.; Dey, N.; Tavares, J.M.R.S. Load Frequency Control Assessment of a PSO-PID Controller for a Standalone Multi-Source Power System. Technologies 2023, 11, 22. [Google Scholar] [CrossRef] [Scilit]
  38. Karaboga, D.; Basturk, B. On the performance of artificial bee colony (ABC) algorithm. Appl. Soft Comput. 2008, 8, 687–697. [Google Scholar] [CrossRef] [Scilit]
  39. Mirjalili, S.; Mirjalili, S.M.; Lewis, A. Grey wolf optimizer. Adv. Eng. Softw. 2014, 69, 46–61. [Google Scholar] [CrossRef] [Scilit]
  40. Mirjalili, S.; Lewis, A. The whale optimization algorithm. Adv. Eng. Softw. 2016, 95, 51–67. [Google Scholar] [CrossRef] [Scilit]
  41. Dorigo, M.; Maniezzo, V.; Colorni, A. Ant system: Optimization by a colony of cooperating agents. IEEE Trans. Syst. Man Cybern. 1996, 26, 29–41. [Google Scholar] [CrossRef] [Scilit]
Figure 1. The comprehensive closed-loop control block diagram of the proposed TEC-based PCR thermal cycling system.
Figure 1. The comprehensive closed-loop control block diagram of the proposed TEC-based PCR thermal cycling system.
Electronics 15 02480 g001
Figure 2. Comprehensive flowchart of the proposed comparative robustness analysis methodology.
Figure 2. Comprehensive flowchart of the proposed comparative robustness analysis methodology.
Electronics 15 02480 g002
Figure 3. (a) Experimental data versus the FOPDT model; (b) RMSE distribution of the evaluated algorithms; (c) Average RMSE convergence curves; (d) Radar performance chart of the algorithms.
Figure 3. (a) Experimental data versus the FOPDT model; (b) RMSE distribution of the evaluated algorithms; (c) Average RMSE convergence curves; (d) Radar performance chart of the algorithms.
Electronics 15 02480 g003
Figure 4. (a) Closed-loop step response characteristics and (b) radar performance chart for the Z-N bounded optimization scenario.
Figure 4. (a) Closed-loop step response characteristics and (b) radar performance chart for the Z-N bounded optimization scenario.
Electronics 15 02480 g004
Figure 5. (a) P M 45 ° + % 0   O S hibrid model step response and (b) radar performance chart.
Figure 5. (a) P M 45 ° + % 0   O S hibrid model step response and (b) radar performance chart.
Electronics 15 02480 g005
Figure 6. Hardware robustness and saturation analysis of the proposed ABC-PID controller. (a) A 50-run Monte Carlo sensitivity analysis illustrating system stability under simultaneous ± 10 variations in K , τ , and L . (b) Control effort dynamics evaluating the effectiveness of the clamping anti-windup mechanism against the ± 12   V physical TEC actuator saturation limits.
Figure 6. Hardware robustness and saturation analysis of the proposed ABC-PID controller. (a) A 50-run Monte Carlo sensitivity analysis illustrating system stability under simultaneous ± 10 variations in K , τ , and L . (b) Control effort dynamics evaluating the effectiveness of the clamping anti-windup mechanism against the ± 12   V physical TEC actuator saturation limits.
Electronics 15 02480 g006
Figure 7. Convergence profile of the ABC-PID controller. (a) The evolution of the total penalized cost (J) in logarithmic scale, showing the sharp exit from the 10 6 penalty wall. (b) The raw ITAE score demonstrating that active time-domain optimization continues steadily within the safe region without premature stagnation.
Figure 7. Convergence profile of the ABC-PID controller. (a) The evolution of the total penalized cost (J) in logarithmic scale, showing the sharp exit from the 10 6 penalty wall. (b) The raw ITAE score demonstrating that active time-domain optimization continues steadily within the safe region without premature stagnation.
Electronics 15 02480 g007
Figure 8. (a) Thermal cycling performance (95 °C Denaturation, 55 °C Annealing, and 75 °C Extension) and (b) radar performance chart.
Figure 8. (a) Thermal cycling performance (95 °C Denaturation, 55 °C Annealing, and 75 °C Extension) and (b) radar performance chart.
Electronics 15 02480 g008
Table 1. Comparison of conventional, advanced, and proposed tuning methods for TEC-based PCR thermal control.
Table 1. Comparison of conventional, advanced, and proposed tuning methods for TEC-based PCR thermal control.
Tuning MethodAdvantagesLimitations & Disadvantages in PCR Applications
Trial and ErrorSimple implementation, no mathematical modeling required.Highly time-consuming; fails to manage the nonlinearities and heating-cooling asymmetry of TECs, often leading to oscillatory responses.
Ziegler–Nichols (Z-N) [11]Standard analytical approach; provides a rapid baseline tuning.Struggles significantly with large dead-time in thermal systems; typically produces aggressive coefficients causing high overshoots.
Root Locus [21]Effective for linear system dynamics and stability analysis.Has severe difficulties compensating for the large thermal inertia and dead-time delay of FOPDT thermal models.
Fuzzy-Logic Control [16]Highly flexible; successfully handles process nonlinearities and uncertainties.Requires complex rule-base designs and heavy computational power, which is disadvantageous for portable microfluidic PCRs.
Unconstrained Optimization (Standard PSO, ABC, etc.) [14,17]Powerful global search capabilities; successfully manages dead-time dominant dynamics.Suffers from “gradient blindness” by only focusing on time-domain error (ITAE). Disregards frequency-domain limits, causing thermal shocks.
Proposed Hybrid Constrained OptimizationGuarantees absolute 0.00% overshoot; biologically safe; hardware-protective (PM 45 ° ).Requires an offline FOPDT system identification and analytical boundary formulation phase prior to operation.
Table 2. Internal hyper-parameter configurations of the evaluated metaheuristic algorithms.
Table 2. Internal hyper-parameter configurations of the evaluated metaheuristic algorithms.
AlgorithmHyper-Parameter DescriptionValue/Setting
CommonPopulation Size (N)50
Maximum   Iterations   ( T m a x )50
PSO Inertia   weight   ( w )0.9 to 0.4
Cognitive   coefficient   ( c 1 )2.0
Social   coefficient   ( c 2 )2.0
GWO Convergence   parameter   ( a )2.0 to 0.0
WOA Search   parameter   ( a )2.0 to 0.0
Logarithmic   spiral   shape   constant   ( b )1.0
ABCNumber of employed/onlooker bees 25 / 25   ( N / 2 )
Limit (abandonment criteria)100
ACO Pheromone   evaporation   rate   ( ρ )0.1
Pheromone   weighting   ( α )1.0
Heuristic   weighting   ( β )2.0
Table 3. Statistical summary of the FOPDT system parameter identification using actual sensor data.
Table 3. Statistical summary of the FOPDT system parameter identification using actual sensor data.
Best °CWorst °CAverage
°C
Std. Dev.Best
K
Best
T
Best
L
PSO0.19440.20210.19630.003458.0618.5331.315
GWO0.19450.65120.27880.167458.0618.5191.632
WOA0.19921.45940.69620.388558.0618.4541.742
ABC0.19440.19510.19450.000258.0618.5331.566
ACO0.19440.20210.19630.003358.0618.5331.325
Table 4. Optimization performance and statistical analysis of the Z-N bounded model.
Table 4. Optimization performance and statistical analysis of the Z-N bounded model.
Average ITAEStd. Dev.KpKiKdOS%
PSO5.33962.66960.15540.00810.08872.65
GWO6.79312.41690.15930.00830.09014.33
WOA7.68682.42760.15950.00830.09303.97
ABC6.89151.40440.19330.01030.105219.04
ACO6.58852.29240.17680.00920.108412.39
Table 5. Optimization performance and statistical analysis of the hybrid-constrained model.
Table 5. Optimization performance and statistical analysis of the hybrid-constrained model.
Average ITAEStd. Dev.KpKiKdOS%
PSO750,002444,2560.13770.00670.11350.00
GWO850,000366,3450.14850.00780.08280.31
WOA650,073489,2570.15950.00830.06770.00
ABC900,002307,7860.19330.01030.12520.00
ACO800,001410,3870.17680.00920.09790.02
Table 6. Comparative analysis of metaheuristic optimization approaches in PCR thermal control systems.
Table 6. Comparative analysis of metaheuristic optimization approaches in PCR thermal control systems.
Reference/AuthorsControl Strategy & Algorithmic
Framework
Optimization Objective
Function
Robustness
Criteria
( P M 45 ° )
OS%
Arıkuşu & Bayhan [7]Machine Learning (XGBoost), EO, PSO, ABC based PIDITAENot AppliedML-PID 0.40%
EO-PID 1.10%
PSO-PID 3.70%
ABC-PID 11.10%
Proposed StudyHybrid Metaheuristic (PSO, GWO, WOA, ABC, ACO) based PIDITAE Z - N   +   ( P M 45 ° )PSO-PID 0.00%
GWO-PID 0.31%
WOA_PID 0.00%
ABC-PID 0.00%
ACO-PID 0.02%
Table 7. Optimization performance and statistical analysis of the PCR Multi-Stage Thermal Cycling model.
Table 7. Optimization performance and statistical analysis of the PCR Multi-Stage Thermal Cycling model.
ITAEOS%Settling (s)Rise Time (s)Peak Error (°C)
PSO18,6210.000.13771.300.000
GWO15,8930.290.14851.400.059
WOA18,1980.000.15951.900.000
ABC20,1970.000.19331.300.000
ACO20,3210.020.17684.100.005
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Ekici, M. Comparative Robustness Analysis of Frequency-Constrained Metaheuristic PID Tuning for Zero-Overshoot Polymerase Chain Reaction Thermal Control. Electronics 2026, 15, 2480. https://doi.org/10.3390/electronics15112480

AMA Style

Ekici M. Comparative Robustness Analysis of Frequency-Constrained Metaheuristic PID Tuning for Zero-Overshoot Polymerase Chain Reaction Thermal Control. Electronics. 2026; 15(11):2480. https://doi.org/10.3390/electronics15112480

Chicago/Turabian Style

Ekici, Mehmet. 2026. "Comparative Robustness Analysis of Frequency-Constrained Metaheuristic PID Tuning for Zero-Overshoot Polymerase Chain Reaction Thermal Control" Electronics 15, no. 11: 2480. https://doi.org/10.3390/electronics15112480

APA Style

Ekici, M. (2026). Comparative Robustness Analysis of Frequency-Constrained Metaheuristic PID Tuning for Zero-Overshoot Polymerase Chain Reaction Thermal Control. Electronics, 15(11), 2480. https://doi.org/10.3390/electronics15112480

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop