scieee AI-readable full text Open interactive document viewer

Hardware implementation of a solar-powered buck-boost converter for enhanced cathodic protection using Texas Instruments C2000 board

Fekik, Arezki

Abstract

This article delves into the hardware implementation of a buck-boost converter on a Texas Instruments C2000 board, tailored for impressed current cathodic protection to safeguard submerged metal structures against corrosion. Impressed current cathodic protection is vital for combating corrosion in buried or submerged metal structures, where a reliable power supply is crucial. The use of solar energy captured by photovoltaic panels emerges as an environmentally sustainable and economically viable solution for this critical application. The paper examines the design, hardware implementation, and system performance, focusing on the integration of the Texas Instruments C2000 board which is, pivotal for the automation and success of the impressed current cathodic protection system. The developed work aims to advance the sustainability of submerged metal structures by presenting a solution combining impressed current cathodic protection with the ecological advantages of solar energy.

Full text

Received 24 April 2024, accepted 14 May 2024, date of publication 20 May 2024, date of current version 3 June 2024. Digital Object Identifier 10.1109/ACCESS.2024.3403207 Hardware Implementation of a Solar-Powered Buck-Boost Converter for Enhanced Cathodic Protection Using Texas Instruments C2000 Board AREZKI FEKIK 1,2, MIROSLAV MAHDAL 3, MOHAMED LAMINE HAMIDA 4, MALEK GHANES2, (Member, IEEE), SUNDARAPANDIAN VAIDYANATHAN 5,6, AMAR BOUSBAINE 7, AND HAKIM DENOUN4 1Department of Electrical Engineering, Akli Mohand Oulhadj University of Bouria, Bouira 10000, Algeria 2LS2N, CNRS, École Centrale Nantes, UMR 6004, Nantes Université, 44000 Nantes, France 3Department of Control Systems and Instrumentation, Faculty of Mechanical Engineering, VSB—Technical University of Ostrava, 70800 Ostrava, Czech Republic 4Electrical Engineering Advanced Technology Laboratory (LATAGE), Tizi Ouzou 15000, Algeria 5Centre for Control Systems, Vel Tech University, Avadi, Chennai, Tamil Nadu 600062, India 6Centre of Excellence for Research, Value Innovation and Entrepreneurship (CERVIE), UCSI University, Cheras, Kuala Lumpur 56000, Malaysia 7College of Science and Engineering, University of Derby, DE22 3AW Derby, U.K. Corresponding author: Sundarapandian Vaidyanathan ([email protected]) This work was supported in part by the European Union under the REFRESH–Research Excellence For REgion Sustainability and High-Tech Industries via the Operational Program Just Transition under Project CZ.10.03.01/00/22_003/0000048. ABSTRACT This article delves into the hardware implementation of a buck-boost converter on a Texas Instruments C2000 board, tailored for impressed current cathodic protection to safeguard submerged metal structures against corrosion. Impressed current cathodic protection is vital for combating corrosion in buried or submerged metal structures, where a reliable power supply is crucial. The use of solar energy captured by photovoltaic panels emerges as an environmentally sustainable and economically viable solution for this critical application. The paper examines the design, hardware implementation, and system performance, focusing on the integration of the Texas Instruments C2000 board which is, pivotal for the automation and success of the impressed current cathodic protection system. The developed work aims to advance the sustainability of submerged metal structures by presenting a solution combining impressed current cathodic protection with the ecological advantages of solar energy. INDEX TERMS Buck-boost converter, cathodic protection, closed loop control, C2000, Texas Instrument. NOMENCLATURE CP: Cathodic Protection. PV: Photovoltaic. PWM: Pulse-Width Modulation. MPPT: Maximum Power Point Tracking. P&O: Perturb and Observe. GPV: Photovoltaic Generator. MCU: Microcontroller Unit. I/O: Digital Input and Output. The associate editor coordinating the review of this manuscript and approving it for publication was Ahmed A. Zaki Diab . ADC: Analog to Digital Converter. TI: Texas Instrument. D: Duty cycle. Ipv: Current output of a solar cell. Vpv: Voltage output of a solar cell. Rp: Parallel resistance. Rs: Series resistance. q: Charge of an electron. Iph: Photocurrent of a diode. Is: Saturation current of a diode. N: Ideality factor of the diode. K: Boltzmann constant. VOLUME 12, 2024 2024 The Authors. This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 License. For more information, see https://creativecommons.org/licenses/by-nc-nd/4.0/ 74831 A. Fekik et al.: Hardware Implementation of a Solar-Powered Buck-Boost Converter T: Temperature of a cell. Vpvm: Boost converter input voltage. Vdcm: Boost converter output voltage. ILm: Boost converter inductor current. Idcm: Boost converter output current. fsw: Boost converter switching frequency. Vin =Vdcm: Buck-boost converter input voltage. VDC: Buck-boost converter output voltage. VL: Buck-boost inductor voltage. Iin =Idcm: Buck-boost converter input current. IDC: Buck-boost converter output current. IL: Buck-boost Inductor current. IC: Buck-boost capacitor current. I. INTRODUCTION Cathodic protection (CP) is a fundamental discipline in the engineering and management of buried or submerged metallic infrastructures, such as pipelines, underground storage tanks, offshore platforms, and bridges. Its aim is to prevent corrosion, a natural process of metal degradation, by maintaining the electrical potential of structures at a sufficiently negative level to inhibit corrosion [1],[2],[3]. This field of research is highly relevant because the corrosion of metallic infrastructures can lead to significant economic, environmental, and safety damages. Electrical power supply is a critical component of cathodic protection, as it helps maintain the desired and constant electrical potential to extend the useful life of metallic infrastructures, minimize maintenance costs, and reduce the environmental impact of corrosion [4],[5]. In this context, the use of solar energy through photovoltaic panels offers a promising and eco-friendly alternative for powering cathodic protection systems, reducing reliance on traditional energy sources and contributing to a long-term infrastructure sustainability [6]. To ensure the efficacy of cathodic protection techniques, it is imperative to maintain a specific electrical potential on buried or submerged metallic structures, usually in the form of cathodic current. This constant electrical supply creates a favorable electrochemical environment that prevents corrosion. The stability of this power supply is crucial because the variations or interruptions in cathodic current can compromise the protection of the structure, leading to accelerated corrosion and potential safety risks for the infrastructure [7],[8]. The electrical power supply must also be adaptable to the environmental conditions and seasonal fluctuations, as cathodic current requirements can vary based on temperature, soil moisture, or the chemical composition of the surrounding environment. A reliable electrical power supply ensures the continuity of cathodic protection, resulting in substantial savings in terms of repair and replacement costs for metallic infrastructures and a reduction in environmental risks associated with corrosion. Recent advancements in photovoltaic (PV) system the modeling of the series resistance (Rs) and shunt resistance (Rp) under partial shading conditions by [9], and converter analysis exemplified by the grid-interactive PV-fed BLDC pump with optimized MPPT in DC-DC converters explored by [10], pave the way for even more efficient integration of solar power into CP systems. Furthermore, research on solar photovoltaic converter controllers using novel optimization techniques, like the opposition-based reinforcement learning with butterfly optimization algorithm for partial shading conditions presented by [11], demonstrates the ongoing development of robust control strategies for these systems. Solar energy, harnessed through photovoltaic panels, offers a promising and eco-friendly and sustainable solution for powering cathodic protection systems. The photovoltaic panels boast several advantages: •Durability: They provide a long-lasting power source, minimizing maintenance needs. •Environmental friendliness: Solar energy is a renewable resource, contributing to reduced greenhouse gas emissions and decreased dependence on fossil fuels. In [12] a promising approach for MPPT in photovoltaic systems. Utilizing metaheuristic algorithms to optimize the FO-INC method enhances MPPT performance and maximizes the efficiency of PV systems. Recent advancements in the field of renewable energy control systems, including the control and optimization of various renewable energy systems, are demonstrated in [13]. It also proposes novel circuits and systems to address nonlinear problems. Moreover, a comprehensive overview of various types of electronic power converters and their specific applications in renewable energy systems, such as solar, wind, and photovoltaic energy is presented in [14]. An optimized technique that utilizes a combination of the steepest gradient method and a step-size adaptation technique to enhance the performance of MPPT was presented in [15] and, [16] focuses broadly on the utilization of a multi-cell converter to optimize the MPPT of a solar panel that can provide more advantages compared to single-cell converters. The fundamental objective of this article is to provide a detailed overview of the hardware implementation of a buck-boost converter specifically designed for the electrical power supply of cathodic protection systems, while highlighting the advantages of integration the Texas Instruments C2000 board. Cathodic protection is a vital technology for preserving metallic infrastructures and plays an essential role in corrosion prevention. However, a precise and reliable electrical power supply for these systems is a major challenge [14]. By leveraging solar energy through photovoltaic panels, this article explores a sustainable and cost-effective solution to meet this critical requirement. The ultimate goal is to provide engineers and researchers with a comprehensive reference for the design and successful implementation of cathodic protection systems powered by renewable energy sources, thus contributing to the sustainability of metallic infrastructures while reducing their environmental impact. The innovative approach of this work lies in the, integration of solar energy to power the cathodic protection system. 74832 VOLUME 12, 2024 A. Fekik et al.: Hardware Implementation of a Solar-Powered Buck-Boost Converter This coupled with the development and validation of a tailored buck-boost converter for its self-power management and operation leading to an enhanced resilience of metallic infrastructures through experimental verification. In order to provide a comprehensive exploration of the hardware implementation of a solar-powered buck-boost converter for enhanced cathodic protection using Texas Instruments C2000 Board, this paper is structured as follows: Section II delves into the system’s modeling, which encompass the modeling of PV cells, the design considerations for the Boost converters, and the implemented P&O MPPT strategies. Section III elucidates the design and critical components selections for optimum operation of buck-boost converters. Section IV presents, the exact sizing and modeling of cathodic protection system for optimal cathodic polarization potential of the pipeline. Section Vdeals with the experimental work undertaken using TI C2000 for real-time control and command applications. The sections VI,VII and VIII illustrate the simulations, experimental results and a comprehensive conclusion respectively. II. PV MODELING The block diagram in Figure 1represents the structure of the overall studied system, which is composed of three main parts: the power supply system, the cathodic protection buckboost converter, and the model of the metallic structure (the load). FIGURE 1. Global system control. Figure 2represents the equivalent circuit of a solar cell. The equivalent circuit of a cell consists of a current source in parallel with a diode, as well as a parallel resistance and a second series resistance. The mathematical model of the current generated by a photovoltaic cell is described by equation 1 [10],[11]. Ipv =Iph−Isexp q(Vpv+RsIpv) NKT −1 −(Vpv +RsIpv) Rp (1) where, Ipv and Vpv represent the current and voltage output of a solar cell, respectively: FIGURE 2. PV cell modeling. Rp: is the parallel resistance, or shunt resistance, of a solar cell. In practice, the value of the resistance (Rp) is often high, so it can be neglected. Rs: represents the series resistance. q: is the charge of an electron (1.602 ×10−19 Coulombs). Iph: and Isrepresent the photocurrent and the saturation current of a diode, respectively. N: is the ideality factor of the diode. K: is the Boltzmann constant (1.38 ×10−23 J/◦K). T: is the temperature of a cell. A. BOOST CONVERTER The BOOST converter, also known as a voltage step-up converter, can be represented by the circuit shown in Figure 3.[12] FIGURE 3. BOOST converter. It is a direct DC-DC converter. The input source is a continuous current type (inductance in series with a voltage source), and the output load is a continuous voltage type (capacitor in parallel with the load). The boost converter shown in Figure 3is a popular form of converter made up of two energy storage components, the inductor Lboost and the capacitor Cboost. The inductor stores energy in a magnetic field during switch closure, and when the switch opens, it distributes energy to the load. The capacitor contributes to smoothing the output voltage and reducing ripples. The switch state changes between ON and OFF states in response to the control signal u. The ON state is in the time interval of t ϵ[0, DT], while the OFF state is in tϵ[DT, (1 −D)T], where D is the duty cycle. The duty cycle represents the ratio of time that the switch is closed to the entire switching periods [12]. VOLUME 12, 2024 74833 A. Fekik et al.: Hardware Implementation of a Solar-Powered Buck-Boost Converter •Switch On (u=1)      Vpvm =LdIL dt 0=CdV dcm dt +Idcm (2) •Switch Off (u=0)      Vpvm =LdIL dt +Vdcm ILm =CdV dcm dt +Idcm (3) The two above-mentioned models of the converter, the continuous conduction mode (CCM) and the discontinuous conduction mode (DCM), can be gathered and represented in a single set of equations that describes the behavior of the converter under different operating conditions:      Vpvm =Lboost dILm dt +(1−u)∗Vdcm ILm ∗(1 −u)=Cboost dV dcm dt +Idcm (4) By substituting variable u with its average value D (duty cycle) over a period T =1/ f, where D is defined as the ratio of the time the switch is on (TON) to the total period (T), we can obtain the average model of the converter:      Vpvm =Lboost dILm dt +(1-D)∗Vdcm ILm ∗(1 −D)=Cboost dV dcm dt +Idcm (5) The relationship between the average input voltage (Vpvm) and the average output voltage (Vdcm) is represented by the average inductor current (ILm) and the average output current (Idcm). This relationship is important in understanding the performance of the system and making adjustments to optimize it. It can also be used to predict the behavior of the system under different conditions and to design new systems with improved performance: Vdcm =1 1−DVpvm (6) The dimensioning of inductance L is carried out based on the input current ripple. The inductance L is sized as follows: Lboost ≥Vpvm ∗(1-D)D 1Ifsw (7) The relationship that allows for sizing the capacitance C is given by: Cboost ≥Vpvm ∗(1-D)D 8f2 swL1V(8) With: Vpvm: Boost converter input voltage Vdcm: Boost converter output voltage. Idcm: Boost converter output current. fsw: Switching frequency of the boost converter. D: The duty cycle. B. MPPT CONTROL The Perturb and Observe (P&O) method is widely used today due to its ease of implementation. However, it presents some issues related to oscillations around the Maximum Power Point (MPP) it generates in steady-state operation. The search procedure for MPPT must be periodically repeated, forcing the system to continuously oscillate around the MPP once reached. These oscillations can be minimized by reducing the value of the perturbation variable. However, a small increment value slows down the search for MPP, so a balance must be found between accuracy and speed. Figure 4illustrates the classic algorithm associated with a Perturb and Observe (P&O) type Maximum Power Point Tracking (MPPT) control, where the power variation is analyzed after each voltage perturbation. For this type of control, two sensors (current and voltage of the Photovoltaic Generator - GPV) are necessary to determine the PV power at each moment [13]. FIGURE 4. Typical algorithm of the Perturb and Observe (P&O) method. This complicates the optimization of this control. We have developed a simulation model for the Perturb and Observe (P&O) algorithm, as depicted in Figure 5. The output D of this algorithm is the duty cycle. 1D is the perturbation value to be added and is set to 0.001. V and I are the voltage and current at the output of the PV array, respectively. P is the power generated by the PV array. Note that at the input of the MPPT block, voltage/current measurements should be used with a delay of 0.00001 s. III. BUCK-BOOST CONVERTER The Buck-Boost converter shown in the Figure 6is a type of DC-DC converter that regulates the output voltage by providing an output voltage higher or lower than the input voltage, depending on the application’s requirements. It combines the 74834 VOLUME 12, 2024 A. Fekik et al.: Hardware Implementation of a Solar-Powered Buck-Boost Converter FIGURE 5. Functional simulation diagram of the Perturb and Observe (P&O) algorithm. FIGURE 6. A basic schematic of the buck-boost converter. properties of both Buck and Boost converters and can thus be used as an ideal transformer to produce a required output voltage from an input voltage along a reverse polarity, diode for safe operation [15],[16],[17],[18]. There are, therefore, two possible configurations for the converter, and by applying Kirchhoff’s laws to each the equations that define it can be extracted for the continuous conduction mode [19]. A. ON-STATE MODE OF OPERATION (SWITCH, K, CLOSED) During this mode of operation, the switch K is ON for the duration of DT, where D is the duty cycle and T the time period. By closing the switch, which offers zero resistance, the current flows, through the inductor and the switch and back to the DC input source. During this time, the inductor stores energy. When the diode is blocked, the polarity of the inductor reverses, allowing the current to flow through the load, and the diode before returning to the inductor. As a result, the direction of the current through the inductor remains unchanged [20]. By applying Kirchhoff’s voltage law to the circuit, Figure 7 the following equations are obtained with the assumption that the devices are ideal [20]: Vin (t)=VL(t)(9) LdiL(t) dt =Vin(t) (10) FIGURE 7. Structure of an equivalent circuit of the buck-boost converter during the on-state. By integrating the differential equation (10), we get the solution as iL(t)=Vin Lt+ILmin (11) where at t=0, minimum current is iL(0)=ILmin, and at t=DT , the inductor current is at a maximal current ILmax under the steady state operation of the converter. Therefore, iL(DT )=ILmax =Vin LDT +ILmin (12) where the peak-to-peak ripple, 1iL, of the current can be determined using the equation given below: 1iL=ILmax −ILmin =Vin L∗DT where T=1 fs (13) where: Vin =Vdcm: buck-boost converter input voltage; VDC: buck-boost converter output voltage; VL=buck-boost inductor voltage; Iin =Idcm: buck-boost converter input current; IDC: buck-boost converter output current; IL: buck-boost inductor current; IC: buck-boost capacitor current. B. OFF-STATE MODE OF OPERATION (SWITCH, K, OPEN) During the OFF cycle, DT to T, the diode D is conducting, as illustrated in Figure 8. During the current decay phase in VOLUME 12, 2024 74835 A. Fekik et al.: Hardware Implementation of a Solar-Powered Buck-Boost Converter FIGURE 8. Equivalent circuit of the buck-boost converter during the OFF state. inductor L, which corresponds to the opening of switch K, inductor L discharges and returns the energy it had previously stored to the load. By applying Kirchhoff’s voltage law to this circuit, the following equations are obtained [20]: VL(t)= −VDC (t) with VDC (t)=Vc(t)(14) VL(t)= −LdiL(t) dt =VDC (t) (15) Solving using equations the same approach as during the ON state, the inductor current is given by iL(t)=VDC Lt+ILmax (16) Also, the inductor current IL, at t=T is given by the following equation: iL(T)=ILmin =−VDC L(T−DT )+ILmax (17) And the peak-to-peak ripple current 1iLis determined by the following equation: 1iL=ILmax −ILmin =VDC L(T−DT )(18) The duty cycle can be derived as follows: Vin LDT =−VDC L(1 −D)T→−VDC Vin −VDC =D(19) Knowing that the output voltage is inverted, it can be written as D=VDC Vin +VDC (20) Also, the relationship between the input and the output of the converter is given as follows: VDC =D 1−DVin (21) The output voltage of the Buck-Boost converter is determined by the input voltage and the duty cycle D [20],[21],[22]. This converter can act as a step-down transformer for a duty cycle less than 0.5 or as a step-up transformer for a duty cycle greater than 0.5. However, since the output voltage is always of opposite polarity to the input voltage, it is often referred to as an inverting converter. The ideal output voltage is supposed to be independent of the load, but in practice, regulation must compensate for variations in input voltage and imperfections in real components. C. CURRENT RIPPLE AND INDUCTOR SELECTION The selection of the inductance for a Buck-Boost converter must be carefully considered to optimize efficiency, stability, and overall circuit performance. This can be done by using the previously defined equations [24],[25]: The equation (22) relates the change in inductor current (1iL) to the direct current voltage (VDC), the inductance (L), and the time period (T) minus the duty cycle times the time period (DT). The change in inductor current is essentially the difference between the maximum and minimum inductor currents. 1iL=ILmax −ILmin =VDC L(T−DT )(22) This equation expresses the change in inductor current in terms of the direct current voltage (VDC), the switching frequency (fs), the inductance (L), and the complement of the duty cycle (1 - D). 1iL=VDC fsL(1-D)(23) The equation (23) can be solved for the inductance (L) in terms of the direct current voltage (VDC), switching frequency (fs), change in inductor current (1iL), and the complement of the duty cycle (1 - D). The expression for VDC is also given in terms of D/(1)-D) ∗Vin. L=VDC fs1iL (1-D)with VDC =D 1−DVin (24) Thus, we obtain the following: L=Vin fs1iL D(25) D. VOLTAGE RIPPLE AND CAPACITOR SELECTION To choose the appropriate capacitor, it is generally recommended to start with a standard capacitor value and check if it meets the converter’s specifications. If the voltage ripple is too high, a larger capacitor can be used to reduce the voltage ripple [24],[25] By observing the current waveform presented in Figure 9, it is possible to determine the variation in voltage across the capacitor: 1Q=−VDC RDT (26) This equation represents the change in charge (1Q) in a circuit element. It is equal to the negative of the product of FIGURE 9. Current waveform across the capacitor. 74836 VOLUME 12, 2024 A. Fekik et al.: Hardware Implementation of a Solar-Powered Buck-Boost Converter the voltage across the element (VDC) and the reciprocal of the resistance (R), multiplied by the change in time (DT). |1VDC |=1Q C=VDC RC DT (27) This equation relates the absolute value of the change in output voltage (|1VDC|) to the change in charge (1Q) divided by the capacitance (C). It’s also expressed in terms of the output voltage (VDC), resistance (R), capacitance (C), and the change in time (DT). C=VDC R1VDC fs Dwith VDC =IDC R(28) Here, C represents the capacitance, VDC is the output voltage, R is the resistance, 1VDC is the change in output voltage, fs is the switching frequency, and D is the duty cycle. This equation provides a relationship between the capacitance, output voltage, resistance, change in output voltage, switching frequency, and duty cycle. C=IDC 1VDC fs D(29) This equation expresses the capacitance in terms of the output current (IDC), change in output voltage (1VDC), switching frequency (fs), and duty cycle (D). Based on the previously discussed equations, the sizing of the components was conducted, as illustrated in Table 1. It is worth noting that this approach differs from the conventional method of fixing the switching frequency (fs) and then searching for suitable components. Instead, the calculation of the appropriate frequency based on the available materials that were hand. TABLE 1. Sizing of the regulation stages used in the system. IV. MODELING OF THE LOAD The exact sizing and modeling of cathodic protection fall within the expertise of a professional specialized in this field. However, it is appropriate to outline some fundamental principles for indicative purposes that will allow us to conduct the simulation. In accordance with the presented circuit, it is easy to observe that the implementation of the entire circuit involves considering six resistances arranged in series [26]. R+cand Rc−: These correspond to the resistance of the positive and negative cables. It depends on the length and cross-sectional area of the conductor. In theory, this resistance can be ignored. RA: This is the anode-electrolyte resistance, which depends on the shape, number, and spacing of the anodes used, as well as the resistivity of the electrolyte. RA=0.00521ρ L[ln 8l 1−1] (30) where ρis the resistivity of the electrolyte (.cm), and land 1are the length and diameter of the anode (cm). Rs: Represents the resistance of the structure to be protected (material) and is practically negligible. RE: This is the resistance of the electrolyte; each solution has a conductivity, resistivity, and resistance. Rv: Variable resistor placed to control the value of the applied current, following Ohm’s law. For the purpose of this study, we will represent only the load, estimated at 3.7 , were made on the TFT site in Illizi in Algeria (estimated by DC R&D Sonatrach-Algeria), consisting of 3 resistances (anode, soil, structure) and the polarization potential of the pipeline, as shown in Table 2: TABLE 2. Parameters of the equivalent circuit for the load. It is estimated that a steel pipeline benefits from optimal cathodic protection when its potential, measured at any point relative to the Cu/CuSO4 reference electrode, remains below the threshold of −850 millivolts (corresponding to the immunity range of steel). This justifies the use of a polarization of 0.85V [27]. In other words, in case of system failure, the structures will have at least this potential. V. EXPERIMENTATION The C2000 board, developed by Texas Instruments, is an advanced hardware platform specifically designed for real-time control and command applications. It takes its name from the C2000 family of microcontrollers from Texas Instruments, which is widely used in a broad range of applications, including industrial automation, power electronics, embedded systems, and more. A schematic of a typical control system based on C2000 is illustrated in Figure 11. The microcontroller is powered by a power supply system that accommodates primary voltage rails, including a 3.3 V analogue voltage (VDDA), a 3.3 V digital voltage (VDDIO), and a central 1.2 V power rail (VDD). The C2000 device provides rich peripheral support, and C2000-based systems typically consist of the following circuits connected to the MCU: power management, conditioning of analog input signals, quartz or external oscillator, reset circuits, communication transceivers, external interface to digital I/O pins, digital sensing, pulse-width modulation (PWM) interface/drivers, and any other required support circuitry [28]. To implement this system, we follow the steps for specific hardware configuration for the cathodic protection VOLUME 12, 2024 74837 A. Fekik et al.: Hardware Implementation of a Solar-Powered Buck-Boost Converter FIGURE 10. Simplified equivalent circuit of cathodic protection by impressed current. FIGURE 11. Typical C2000-based control system. application with a buck-boost have been followed. In this application, there is an analogue input to measure the current at the output of the buck-boost and a PWM output to control the buck-boost. A simple model that regulates the output current of a buck-boost converter to ensure proper cathodic protection has been created configured and designed to run on the TI Piccolo F28027 Launchpad. In the Simulink library browser, we add a new file and access the simulation settings to configure the board as shown in Figure 12. FIGURE 12. Selection of the C2000 board. After selecting the board to be used (F28027 Launch Pad), we proceed to select the fixed-step calculation method and a discrete method as shown in Figure 13. FIGURE 13. Selection of the C2000 board. In the Libraries for C2000™Microcontroller Blockset, we select the C2802x processor, then drag and drop the analogue-to-digital converter and PWM signal generation block as shown in Figure 14. FIGURE 14. Selection of TI C2000 blocks. To configure the two added blocks, we double-click on each block to open a dialog box. For the Analogue-to-Digital Converter block, select the parameters as shown in Figure 15. FIGURE 15. Configuration of the TI C2000 analog-to-digital converter block. 74838 VOLUME 12, 2024 A. Fekik et al.: Hardware Implementation of a Solar-Powered Buck-Boost Converter For the PWM Signal Generation block, we select the parameters as shown in Figure 16. FIGURE 16. Configuration of the TI C2000 PWM block. The block diagram of the hardware implementation on the Texas Instruments C2000 board for current regulation of a Buck-Boost converter is provided in Figure 17. FIGURE 17. Closed-loop control block diagram with TI C2000. VI. SIMULATION RESULTS The closed-loop control of the Buck-Boost converter was simulated using Matlab/Simulink software, aiming to achieve current regulation with a target minimum of 10A. To assess the performance of the control strategy, a comprehensive numerical simulation was conducted within the MATLAB/ Simulink environment, the results of which are depicted in Figures 18 and 19. Figure 18 provides an overview of various parameters associated with the Buck-Boost converter, emphasizing the regulation aspect. Notably, the simulation indicates that the regulatory mechanism is effective, as evidenced by the observed behaviour of the current delivered by the converter. This behaviour is further elucidated in Figure 19, where the current delivered aligns closely with the reference current, FIGURE 18. Parameters of the buck-boost stage with respect to regulation. FIGURE 19. Current delivered by the buck-boost in relation to the reference current. converging steadily toward the desired value. The synchronization between the delivered current and the reference current, as indicated by the appropriate duty cycle, serves as confirmation of the successful implementation of the control strategy. The simulation results affirm the robustness and efficacy of the closed-loop control system, demonstrating its capability to regulate the current of the Buck-Boost converter in accordance with the specified target, thus validating the proposed control strategy. VII. EXPERIMENTAL RESULTS Figure 20 shows a photograph of the test bench used for the control of the dedicated DC-DC Buck-Boost converter, specifically designed for the cathodic protection system. The designed block consists of the following elements: 1. Power Circuit: This circuit is essentially the BuckBoost converter, whose components were sized in accordance with the application. 2. Control Circuit: Comprising the Texas Instruments C2000 board. 3. Driver Board: Responsible for managing, controlling, and protecting power transistors, ensuring the optimal and safe operation of the converter. VOLUME 12, 2024 74839