This study introduces an innovative optimization approach for boost converter controllers by adjusting the voltage and current regulation mechanisms in Photovoltaic (PV) systems, specifically utilizing either Sliding Mode Control (SMC) or Sliding Mode plus Proportional-Integrative Control (SMPIC). The optimization leverages a Genetic Algorithm (GA) within an Internet of Things (IoT) framework. The cloud server executes the GA, which is subsequently used to tune the SMC and SMPIC parameters for the PV plant’s boost converter. The data exchange between the IoT-enabled PV plant and the cloud server involves transmitting measured PV voltages and currents to the server. At the same time, the optimized controller parameters are sent back to the plant. Telemetry data from the IoT system is utilized to compute the fitness function of specific solutions, effectively applying machine learning to model the solar plant. Hardware-based experimental tests are conducted to assess system performance. A comparative analysis between deterministic and heuristically derived parameters for SMC and SMPIC demonstrates significant improvements, particularly in minimizing overshoot and reducing settling time.
Environmental factors, particularly module temperature and solar irradiation, directly dictate the efficiency of PV power generation. Consequently, optimizing energy extraction from a PV system necessitates an algorithm capable of identifying the solar panel’s peak operating threshold, commonly referred to as Maximum Power Point Tracking (MPPT) [1]. Furthermore, MPPT performance can be enhanced by analyzing the transient response of the underlying controllers—specifically, their capacity to sustain a targeted output against a reference and react to abrupt environmental shifts. The existing literature details various linear control strategies, including proportional-integral (PI), lead-lag [2], and state feedback systems [3]. Because the voltage-current relationship of a PV module exhibits significant nonlinearity dictated by technical constraints and atmospheric conditions, nonlinear controllers are also frequently employed. These are often integrated with advanced control frameworks, such as Fuzzy Logic [4], nonlinear-adaptive systems [5], standard adaptive controllers [6], finite control set model predictive control [7, 8], neural networks [9], and sliding mode control (SMC) [10].
For PV energy applications, SMC offers distinct advantages over alternative nonlinear methods, primarily due to its straightforward mathematical formulation and implementation. Moreover, SMC is frequently combined with other proven methodologies, including smooth switching functions and higher-order sliding surfaces (HOSS) featuring integral action. These hybrid approaches have demonstrated high accuracy and robustness both in computational simulations and physical bench testing [11].
Optimization research aims to identify the most effective configuration for a given controller. As a robust instrument in controller design, these methods attempt to determine parameter values that minimize an objective function while adhering to specific constraints [12]. The Genetic Algorithm (GA), initially formulated by Holland [13], is a heuristic, adaptive search technique. Rooted in the principles of Darwinian natural selection, GA is widely utilized in both general research and machine learning to address complex optimization challenges that would otherwise be computationally prohibitive to solve using traditional means [14].
In previous work by Wang et al. [15], a GA was utilized to tune the parameters of a neural network-driven Proportional-Integral-Derivative (PID) controller for a boost converter, contrasting the optimized outcomes against non-optimized performance. Computational simulations of the GA-derived plant parameters revealed diminished overshoot and accelerated settling times compared to the baseline, unoptimized controller. A parallel investigation applying this methodology to a buck converter was documented in Sivamani et al. [16].
An alternative optimization strategy for PV system boost converters was explored in Vargas Gil et al. [10], which applied a Weighted-Particle Swarm Optimization (w-PSO) to calibrate a Sliding Mode plus PI controller. The system was initially modeled using an AC small-signal approach to establish the Sliding Mode Control law. Subsequently, w-PSO was deployed to derive the ideal parameters via simulation, which were then validated on a physical boost converter prototype.
Nevertheless, most optimization procedures are executed in simulation environments before physical implementation. This approach inherently suffers from approximation errors, rounding discrepancies, and modeling constraints. Consequently, exploiting network connectivity offers a compelling alternative for real-time monitoring, data acquisition, and direct optimization of the solar facility.
The IoT comprises an interconnected web of devices, ranging from basic sensors to advanced smart equipment [17]. With the rapid expansion of IoT technologies, leveraging network capabilities specifically for solar power applications has become increasingly feasible. By facilitating automation and control, IoT serves as the foundation of modern electronic systems. This connectivity taps into the vast data generated by the plant and extends to industrial and machinery processes [18]. IoT infrastructures provide facilities with new analytical tools and data to improve optimization. Telemetry enables the integration of real-time operational data and diagnostics, ultimately lowering operating expenses, extending equipment longevity, and allowing for tailored performance. Through wired or wireless channels, devices exchange critical information for monitoring, logging, and decision-making, culminating in an autonomous network of intelligent assets.
Within this framework, research presented in Rouibah et al. [19] describes an IoT-enabled PV system utilizing ESP and Arduino microcontrollers to track and broadcast metrics such as duty cycle, PV voltage, PV current, load voltage, and load current online. While the study implemented standard tracking algorithms and yielded stable outcomes, the low-cost nature of the project resulted in suboptimal overall performance. Similar methodologies focusing on voltage and current monitoring have been documented in Banu and Moses [20], Rouibah et al. [21], and Rokonuzzaman et al. [22].
Furthermore, Habib et al. [23] demonstrated improved voltage profiles across various load nodes and mitigated transmission line power losses. Relying on an IoT architecture and a mathematical system model, an optimization algorithm was employed to determine the ideal real-time reactive power setpoint for individual plants using transmitted data. This approach successfully improved the overall voltage profiles at load buses by up to 68%.
Accordingly, this paper introduces an adaptive heuristic search algorithm designed to determine the optimal parameters for the controllers previously developed by the authors in SMC [11] and SMPIC [10]. The established mathematical models for both control strategies are thoroughly detailed in those prior publications. Unlike earlier studies [2, 10, 15, 16] where heuristic searches were performed in simulation before prototype application, this research diverges from that workflow. Instead, it exploits IoT capabilities to identify controller parameters during runtime. A cloud-based server evaluates the GA using empirical data transmitted via an internet connection. Data is obtained from tests performed directly on a physical prototype utilizing real components. By utilizing empirical data, mathematical modeling approximations are eliminated, allowing the system to operate with pre-optimized controllers and ultimately yielding tangible enhancements in overall system performance.
This section details the architecture of the PV system, which consists of a PV panel feeding into a boost converter governed by either SMC [11] or SMPIC [10], alongside an inverter responsible for direct current-to-alternating current (DC/AC) conversion. Furthermore, it describes the network infrastructure enabling the PV system to link with a cloud server over Ethernet. This server executes the GA for continuous monitoring and eventual controller reconfiguration. The complete system topology is illustrated in Figure 1.

Figure 1. Block diagram of PV system.
The boost converter elevates and stabilizes the PV panel voltage 𝑣𝑃𝑉 to meet the specific requirements of the downstream system connected to its output (VDC), such as an inverter, based on the designated application, as depicted in Figure 1.
The input voltage (𝑣𝑃𝑉) and inductor current (iL) of the boost converter are regulated using a constant switching frequency signal (Pulse-Width Modulation - 𝑃𝑊𝑀𝐵𝑜𝑜𝑠𝑡), which dictates the on or off states of the MOSFET (QSW). As indicated in the block diagram, the control architecture is split into two distinct loops: The MPPT algorithm supplies the reference voltage (𝑣𝑃𝑉ref) to the outer voltage control loop. This stage adjusts the DC component of 𝑣𝑃𝑉 to match its setpoint, thereby providing an inductor current reference (𝑖𝐿𝑟𝑒𝑓) to the inner current control loop. Subsequently, the inner current control loop evaluates iL and produces a corresponding duty cycle (d) via a 𝑃𝑊𝑀𝐵𝑜𝑜𝑠𝑡 applied to QSW.
During the period when QSW is switched on, the reverse-biased diode (D) isolates the output stage. Consequently, the inductor (L) is grounded, allowing current to pass through and accumulate energy [24]. Conversely, when QSW is switched off, the energy previously stored in L, combined with the energy from the input capacitor (C𝑃𝑉), propagates through D toward VDC. To maintain a steady output voltage, the output capacitor (CO) is assumed to be sufficiently large [25].
An equivalent linear circuit model is established by linearizing the PV module along a straight line tangent to its current-voltage (I-V) curve at the specific operating point [26].
When the switch QSW is closed, the dynamic equations representing the circuit’s state are derived by calculating the derivatives of the capacitor voltage and the inductor current:
(1)
In this context, Veq represents the linearized voltage of the PV panel, and Req denotes the linearized resistance of the panel [27].
Conversely, the dynamic equations when QSW remains open are expressed as follows:
(2)
The system’s control objectives focus on the discrepancy between the reference value and the measured variable, as the primary goal of the control strategy is to drive this error to zero. Consequently, the sliding surface is formulated based on the voltage error and the current error.
To enhance the controller’s dynamic response, however, the derivatives of these errors (ev and ei) are incorporated, resulting in two second-order sliding surfaces:
(3)
Here, the constants kv and ki are selected based on the targeted system dynamics.
The switching of the sliding variable σ is governed by the S(x) function, which simultaneously dictates how the system reacts to fluctuations in state variables. The S(x) function works by bounding the surface when it reaches its maximum or minimum thresholds. Furthermore, owing to its linear characteristics, it effectively mitigates chattering as the system state approaches the switching surface [28], according to the following definition:
(4)
The control laws governing both control loops are established as follows [10]:
(5)
And:
(6)
Where 𝑘𝑝𝑣, 𝑘𝑖𝑣, 𝑘𝑝𝑐, and 𝑘𝑖𝑐 represent the PI controller gains.
By employing a First Order Sliding Mode Control alongside a First Order Sliding Surface, Eqs. 1 and 2 can be reformulated as:
(7)
Where 𝜎𝐼 = 𝑖𝐿𝑟𝑒𝑓 - 𝑖𝐿.
To enhance the dynamic behavior—and specifically to eradicate the steady-state error introduced by the application of the soft switching function Eq. 4—an integrative second-order sliding surface can be implemented [29]:
(8)
In this expression, σi represents the sliding variable, ei = 𝑖𝐿𝑟𝑒𝑓 -, and (𝑒𝑖) denotes a function required to fulfill the system’s attractiveness condition, as detailed in Inomoto et al. [11]. Consequently, the current controller is given by:
(9)
Where 𝑘𝑖 > 0, which can be selected arbitrarily to balance rapid response times against the minimization of chattering.
An integrative second-order sliding surface is similarly selected for the voltage control loop:
(10)
Where 𝜎𝑣 serves as the sliding variable, 𝑒𝑣 = 𝑣𝑃𝑉𝑟𝑒𝑓 - 𝑣𝑃𝑉, and (𝑒𝑣) is a function strictly satisfying the system’s attractiveness condition.
As a result, the voltage loop controller takes the form:
(11)
Here, 𝐼𝑀𝐴𝑋 signifies the peak permissible current for the hardware components, while kv corresponds to ki in Eq. 9, acting as the coefficient for the smooth switching function.
Advancements in robust hardware and software methodologies enable the continuous monitoring, reconfiguration, and fault detection of complex systems. These methodologies are often categorized under machine learning or deep learning. The integration of the Genetic Algorithm (GA), the Internet of Things (IoT), and big data analytics (BDA) has progressed significantly toward plant automation. The primary goal of these technologies is to create intelligent, autonomous, and innovative condition-monitoring frameworks that facilitate accurate failure detection and classification, alongside smart decision-making capabilities for immediate plant interventions [30].

Figure 2. GA algorithm.
This section outlines the deployment of the GA within the cloud server framework of the proposed study; the corresponding GA flowchart is illustrated in Figure 2. The GA initiates with a predefined problem. Subsequently, the plant undergoes real-time evaluation and is assigned a fitness value, thereby assessing the viability of a potential solution. If the predefined criteria are not met, the population undergoes mutation and recombination—mirroring natural genetics—to generate new offspring. This iterative cycle spans multiple generations. Therefore, it progressively cultivates superior individuals until the targeted condition is satisfied [31]. The introduced GA operates across an IoT infrastructure that pairs a cloud server with a physical solar plant prototype. Via network communication, the cloud server transmits the SMC/SMPIC parameters to the physical plant while instantaneously receiving acquired current and voltage data. The solar prototype is equipped with essential overcurrent and overvoltage safeguards to ensure secure system operation.
The algorithm initializes the population by generating N random parents, which serve as potential candidate solutions. In this context, a chromosome represents a single complete solution to the problem at hand, while a gene denotes an individual element’s position within that chromosome.
Following the creation of the initial population, the performance of each member is evaluated via an adaptive function. This process assigns a fitness value to every candidate solution, acting as a metric of its overall quality [14]. In the context of the proposed topology, settling time and overshoot serve as the primary quality criteria. Defining these parameters is critical, as the GA relies heavily on this information to select the optimal solution for the final population.
Because the proposed PV system topology utilizes two distinct controllers (for the current control loop and the voltage control loop), the fitness function is formulated as follows:
(12)
And:
(13)
The first equation is beneficial for minimizing the persistent error over time, whereas the second is effective in mitigating substantial transient errors. By employing these two equations, the PV system is projected to achieve minimal overshoot alongside low steady-state oscillations [10]. Consequently, during the optimization process for both controllers, a lower fitness result indicates superior performance.
Parent selection constitutes the mechanism by which individuals are chosen for recombination to produce offspring for the subsequent generation. Maintaining an adequate degree of diversity among parents is crucial to prevent premature convergence. Common techniques for this stage include Proportionate Roulette Wheel Selection, Linear Ranking Selection, Exponential Rank Selection, and Tournament Selection. Literature suggests that Tournament Selection offers efficient convergence, straightforward implementation, and reduced susceptibility to dominance by overly fit individuals [31, 32].
Despite these advantages, the present study conducted a comparative analysis between Tournament Selection and Proportionate Roulette Wheel Selection. The latter was ultimately chosen because it can identify the optimal solution more rapidly.
Proportionate Roulette Wheel Selection assigns a higher probability weight to chromosomes based on their fitness scores, effectively “spinning” a virtual roulette wheel to determine the selected parent [33].
This virtual roulette wheel spin is mathematically represented by Eq. 14. Because a lower fitness score denotes a better solution, a correspondingly higher weight is assigned to those superior parents.
(14)
Where randsample represents a randomly generated number simulating the roulette wheel, and Wi denotes the ith weight.
Crossover serves as a genetic operator designed to blend information from chosen parents, generating superior offspring for the subsequent generation [14]. In this context, the mathematical representations of both parents and children are floating-point numbers. Consequently, adhering to GA naming conventions, the chromosome representation in this study utilizes the IEEE 754 single-precision binary floating-point standard [34], as expressed by Eq. 15. A floating-point value is mapped into a 32-gene (bit) chromosome. Genes are randomly selected from both parents to combine their genetic information, thereby producing a novel chromosome. Occasionally, mutation occurs, which flips the value of one of the 32 genes (16). Mutation ensures population diversity; essentially, it prevents the algorithm from getting trapped in local optima while searching for the global optimal solution [35]. Following the mutation process, the 32-bit chromosome is converted back into a floating-point number:
(15)
(16)
Where s is the sign; e is the exponent; m is the mantissa; p is a random number ∈ ℕ = {0, ..., 31}; q is a random number ∈ ℕ = {0, 1}.
The purpose of this research is to demonstrate the feasibility of applying the IoT framework for machine learning via GA to optimize SMPIC or SMC solar plant controllers. IoT offers multiple benefits, including the automation and monitoring of power generated by the solar plant, as well as system diagnostics.

Figure 3. Experimental bench setup: (1) Code Composer Studio (CCS), (2) MATLAB, (3) Ethernet cable, (4) Solar Explorer Kit (TMDSSOLARCEXPKIT), and (5) Oscilloscope.
This study utilizes the Texas Instruments Solar Explorer Kit (TMDSSOLARCEXPKIT) equipped with a Digital Signal Processor (DSP) F28M35H52C [36]. As illustrated in Figure 3, this kit offers a low-voltage testbed featuring a PV array/module emulator designed for laboratory environments [37], alongside a buck-boost converter, a boost converter, a single-phase full-bridge inverter, and an Ethernet interface.
The PV emulator, which mimics the nonlinear I-V characteristics of a PV module across various irradiance levels (Table 1), powers the boost converter input. The converter’s output voltage is stabilized at approximately 30 V by the output boost capacitor and the single-phase inverter. The boost converter specifications are outlined in Table 2.
DSP programming is executed in C using the Texas Instruments Code Composer Studio environment, which compiles a binary file that is subsequently uploaded via a USB connection. The DSP features a dual-core architecture: one core is dedicated to real-time control operations, while the ARM Cortex M3 processor handles communication tasks, including Ethernet networking. The real-time control processor is tasked with managing power electronic components such as the inverter and boost converter.
Table 1. Operating point at maximum power of the TMDSSOLARCEXPKIT [36].
Irradiance (W/m2) | IPV_MPPT (A) | VPV_MPPT (V) | Pmax (W) |
1000 | 1.951 | 18.46 | 36.02 |
900 | 1.975 | 16.42 | 32.42 |
800 | 1.963 | 14.68 | 28.82 |
700 | 1.975 | 12.77 | 25.22 |
600 | 1.969 | 10.98 | 21.61 |
500 | 1.98 | 9.093 | 18.01 |
400 | 1.957 | 7.363 | 14.41 |
300 | 1.975 | 5.473 | 10.81 |
200 | 1.963 | 3.67 | 7.205 |
Table 2. Values used for the booster converter.
Component | Value |
Inductor (L) | 100 μH |
Capacitor (CPV) | 680 μH |
Resistor (Req) | 0.1986 Ω |
(VDC) Voltage | 30 V |
PWMboost | 100 kHz |
Voltage and current sampling time | 20 μs |
As outlined in the preceding section, the IoT infrastructure is implemented on the ARM Cortex M3 processor. This processor features two critical peripherals that enable IoT functionality: the Ethernet peripheral and the Inter-Processor Communication peripheral, which facilitates data transfer between the M3 and the real-time control processor (DSP). Implementing the OSI (Open Systems Interconnection) model via software is requisite. The external hardware and the ARM processor handle the physical and network access layers. The remaining layers are software-defined. In the Internet layer, IP addresses identify the source and destination hosts. The Transport layer uses TCP, while the Application layer relies on HTTP alongside custom application commands, as detailed in Table 3.
Table 3. Custom application commands.
Command | Description |
C2 | Initiates the PV panel emulator. |
C3 | Terminates the PV panel emulator. |
C4 | Retrieves the instantaneous PV output power. |
C5 | Retrieves the calculated theoretical PV power. |
C6 | Performs a single acquisition of 𝑣PV. |
C7 | Performs a single acquisition of iL. |
C8 | Performs a single acquisition of VDC. |
C9 | Obtains the irradiance measurement value. |
CA | Modifies the SMC/SMPIC controller parameters. |
CB | Begins data acquisition for 𝑖𝐿ref, and 𝑖L, or 𝑣PV, and 𝑣PVref. |
CC | Accesses the first acquisition buffer specified by command 0xCB. |
CD | Accesses the second acquisition buffer specified by command 0xCB. |
The primary goal of the GA is to discover the most effective parameters for both SMC and SMPIC. For SMC, these parameters correspond to Eqs. 8 and 9 for the inner current loop, and Eqs. 10 and 11 for the outer voltage loop. For SMPIC, the parameters are associated with Eq. 6 for the current loop and Eq. 5 for the voltage loop, in addition to the parameters from (6) applicable to both loops. In prior research, SMC parameters were derived through mathematical modeling [11], whereas SMPIC parameters were determined using a heuristic PSO algorithm in simulation before being applied to the physical prototype [10]. However, the physical boost converter exhibits certain practical characteristics—such as component tolerances, temperature variations, rounding errors, and operational constraints—that were omitted in simulations. By executing directly on the physical prototype, the GA ensures the identification of genuinely optimal results.
The GA is implemented using MATLAB, following the methodology described before. Specific constraints are established: the maximum number of iterations is capped at 100; the population size is fixed at 10; and the fitness function targets a settling time of 20 ms and 1 ms for voltage and current, respectively, along with a maximum overshoot limit of 10% during step testing.
Operating on a cloud server, the GA generates an initial random population (representing parameter sets), which is transmitted over the network (Table 3) and integrated into the SMC or SMPIC of the physical boost converter prototype. The DSP captures voltage and current data and transmits it back to the server every 1 s. The GA then evaluates the signal quality against the predefined fitness function constraints (Plant evaluation), as illustrated in Figure 2. Multiple iterations are required to converge on the optimal solution.
This experimental configuration presents several drawbacks: discovering the optimal values requires more time compared to simulation-based methods; unfavorable chromosomes (inherent to the GA process) may introduce transient spikes during plant evaluation; the time-intensive nature of the GA limits both iteration count and population size; and the processor must possess sufficient computational power to handle simultaneous control tasks and TCP/IP communications. Consequently, the system operates in two distinct modes: normal mode and optimization mode.
Normal mode represents standard PV system operation, dedicated to monitoring power, voltage, and current, while continuously executing the MPPT algorithm and control loops. During this phase, parameters remain locked to prevent performance degradation or unwanted transients.
In optimization mode, the software facilitates data exchange between the server and the hardware, allowing for the reconfiguration of SMPIC or SMC via custom commands. Because the optimization routine is inherently slow in identifying peak performance, any interruption in the communication link will trigger a fallback, returning the system to normal mode using the most recent optimal parameters.
The purpose of this initial experiment is to establish the optimal parameters for the current control loop. Following the execution of the GA in optimization mode, the inductor current was measured under normal mode conditions. As illustrated in Figure 4, the current successfully tracked its reference both before and after the SMPIC parameter calibration when a reference step from 1.0 to 2.0 A was applied to evaluate the response. This performance is more clearly depicted in Figure 4c, which presents network-acquired data comparing the w-PSO and GA SMPIC parameters. An identical testing procedure is shown in Figure 5, demonstrating the system before and after GA calibration, while Figure 5c displays network data comparing heuristic and deterministic SMC parameters. Across all scenarios, the outcomes are comparable, as summarized in Table 4. Consequently, the GA tuning demonstrates highly satisfactory performance in terms of settling time and steady-state parameters.

Figure 4. Current loop measured on bench.

Figure 5. Current control loop measured on bench.

Figure 6. Voltage control loop measured on bench.

Figure 7. Voltage loop step test measured on solar explorer kit prototype—irradiance from 400 W/m2 to 600 W/m2.

Figure 8. Voltage loop step test measured on solar explorer kit prototype—irradiance from 600 W/m2 to 800 W/m2.
The purpose of this initial experiment is to establish the optimal parameters for the current control loop. Following the execution of the GA in optimization mode, the inductor current was measured under normal mode conditions. As illustrated in Figure 4, Figure 4, the current successfully tracked its reference both before and after the SMPIC parameter calibration when a reference step from 1.0 to 2.0 A was applied to evaluate the response. This performance is more clearly depicted in Figure 4c, which presents network-acquired data comparing the w-PSO and GA SMPIC parameters. An identical testing procedure is shown in Figure 5, Figure 5, demonstrating the system before and after GA calibration, while Figure 5c displays network data comparing heuristic and deterministic SMC parameters. Across all scenarios, the outcomes are comparable, as summarized in Table 4. Consequently, the GA tuning demonstrates highly satisfactory performance in terms of settling time and steady-state parameters.
Table 4. Current step test comparison.
SMPIC | SMC | |||
w-PSO | GA | Deterministic | GA | |
Settling time | 1 ms | 1 ms | 0.41 ms | 0.4 ms |
Overshoot | 0% | 0% | 0% | 1.1% |
Steady-state error | 5.1% | 2.6% | 2.5% | 2.4% |
After evaluating the inner control loop, the subsequent phase involves using the GA to assess the parameters of the outer voltage control loop, which inherently encompasses the inner current control loop. Figure 6 illustrates tests across four distinct voltage reference levels (3.7 V, 7.4 V, 11.2 V and 15.0 V), all of which achieved zero steady-state error.
Bench measurements for a voltage step utilizing SMPIC are illustrated in Figure 7 during an irradiance shift from 400 W/m2 to 600 W/m2, and in Figure 8 during an irradiance shift from 600 W/m2 to 800 W/m2, detailing the system before and after parameter adjustment. Similarly, for the SMC, parallel tests are shown in Figures 9a-9d and Figures 10a-10d. These results are more clearly detailed in Figures 7 and 9, where the step voltage reference transitions between two levels: 7.4 V to 11.2 V, and subsequently from 11.2 V to 15.0 V. It is evident that the proposed optimization technique outperforms both the w-PSO SMPIC and the deterministic SMC, exhibiting superior settling times and reduced overshoot, as documented in Table 5. Furthermore, the current response during both tests maintains minimal overshoot when GA optimization is applied.

Figure 9. Voltage loop step test measured on solar explorer kit prototype—irradiance from 400 W/m2 to 600 W/m2.

Figure 10. Voltage loop step test measured on solar explorer kit prototype—irradiance from 600 W/m2 to 800 W/m2.
Table 5. Voltage step test comparison.
Voltage | SMPIC | SMC | |||
w-PSO | GA | Deterministic | GA | ||
Settling time | 16 ms | 9 ms | 10 ms | 7 ms | |
7.4 to 11.2 V | Overshoot | 4.6% | 5.4% | 1.8% | 0.9% |
Steady-state error | 0% | 0% | 0% | 0% | |
Settling time | 9 ms | 9 ms | 10 ms | 6 ms | |
11.2 to 15.0 V | Overshoot | 2.7% | 0.1% | 2.7% | 1.3% |
Steady-state error | 0% | 0% | 0% | 0% | |
Following the validation of the control loops, the subsequent evaluation examines the performance of the newly derived SMC and SMPIC parameters under a stepped irradiation profile. Figures 11 and 12 illustrate the PV control system’s behavior during irradiance fluctuations. The system was tested across irradiance levels ranging from 200 to 800 W/m2, confirming the controller’s reliability under standard operating scenarios. The data observed in Figures 11 and 12 align consistently with the parameters detailed in Table 1. During this evaluation, the incremental conductance MPPT method is utilized to determine the voltage reference [36]. The results indicate that vPV successfully tracks vPVref, while the inductor current iL similarly follows its reference iLref, all while the boost converter’s output voltage is sustained at approximately 30 V.
Conversely, Figures 13 and 14, corresponding to SMC and SMPI, respectively, depict an irradiance shift from 200 up to 800 W/m2 and rapidly back down to 200 W/m2, demonstrating exceptional stability. During each irradiance step, a minor fluctuation is introduced to simulate rapid PV shading; throughout this process, VPV consistently tracks VPVref.

Figure 11. Irradiation variation test for SMC.

Figure 12. Irradiation variation test for SMPIC.

Figure 13. Irradiance—fast variance under SMC control.

Figure 14. Irradiance—fast variance under SMPI control.
This manuscript extends previous research [10, 11], which introduced SMPIC and SMC frameworks for a PV system’s boost converter operating at a constant switching frequency. In those preceding studies, empirical tests contrasted the performances of SMC and SMPIC against a lead-lag controller, with the proposed methods demonstrating superior results. Consequently, further elaboration on the comparative superiority of these two controllers is omitted here.
Typically, most research executes the GA within a simulation environment, such as MATLAB, before deploying the derived parameters to physical hardware. This conventional approach suffers from inherent drawbacks, including component tolerances and temperature-induced variations. Furthermore, the mathematical modeling of SMC or SMPIC requires assumptions, constraints, approximations, and linearizations that can degrade real-world performance. The primary innovation of this study is enhancing SMPIC and SMC performance by executing the GA directly on a physical converter prototype within an IoT ecosystem, thereby mitigating the aforementioned simulation-based limitations. The physical plant communicates with a cloud server via TCP/IP. The server hosts the GA algorithm, facilitating the tuning of the SMC gains. Because the optimization sequence is relatively slow and may induce temporary spikes, the system transitions to normal operating mode once the optimal parameters are identified. Optimization mode can be reactivated on demand whenever necessary.
This research demonstrates that the dynamically tuned controllers outperform previously established SMPIC and SMC boost converters across both voltage and current control loops, evidenced by improvements in voltage step overshoot and settling times. While earlier methodologies relied on simulated w-PSO to optimize parameters before hardware implementation, the versatile technique proposed herein yields superior outcomes by enabling runtime optimization. Even under varying irradiation conditions, the controllers exhibit highly satisfactory performance, characterized by rapid response times, minimal steady-state error, and enhanced output stability.
The realization of this architecture is facilitated by the DSP’s dual capability to execute real-time control algorithms and manage internet communications simultaneously. Ultimately, the integration of IoT concepts introduces robust new capabilities for system calibration, diagnostics, and continuous monitoring.
CNPq - Conselho Nacional de Desenvolvimento Científico e Tecnológico grant ID: 407867/2022-8 and FAPESP - Fundação de Amparo à Pesquisa do Estado de São Paulo grant ID: 2022/00323-3.
None
None
None
Open Access The author(s) retain copyright. This article is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. It may be shared and adapted for non-commercial purposes with appropriate attribution, an indication of changes, and distribution of adaptations under the same license. Third-party material may be subject to separate terms identified in its credit line. View the license at https://creativecommons.org/licenses/by-nc-sa/4.0/.