#### Abstract

A design of an adaptive controller applied to the boost and buck-boost converters to deal with the problem of tracking a sinusoidal voltage is proposed. The main contribution is to provide conditions on the design procedure in order to obtain a reduction in the DC voltage (offset of the sinusoidal signal) of the reference signal; in this way the AC energy is maximized. A nonlinear stable system is designed in order to produce the necessary inputs to exactly track the inductor reference current, which is a necessary condition to achieve the tracking behavior of the voltage reference signal *.* A numerical example is provided to corroborate the result.

#### 1. Introduction

With the advances in the power semiconductor technology, the use and control of switched converters and systems are exponentially increasing due to their potential applications [1–4]. The switched converters have been widely analysed; these converters can increase or decrease the magnitude of the DC voltage or invert its polarity in the load. The boost and buck-boost converters are highly applied in power systems, such as power factor correction [5, 6], in wind power turbines [7, 8]. In general for renewable energy systems [9], moreover, a double loop control of buck-boost converter has been reported, where the control loop is designed for wide range of resistance and reference voltage; however, the output reference voltage is constant [10].

In recent years some works which deal with the tracking problem in power converters have been reported; for instance, in [11, 12] the tracking problem of a sinusoidal reference signal in DC-DC converters is studied and the reported algorithm is locally stable and is based on sliding mode control and the Galerkin method, which can be viewed as a generalization of the harmonic balance method. The sliding mode control has been used to compensate disturbances on the output voltage in DC-DC converters [13]. In [14] an adaptive control topology is used in order to obtain sinusoidal tracking for the inductor current; such procedure design does not guarantee a small DC energy. Authors in [15] present an algebraic approach based on online identification of uncertain parameters which are used to solve the tracking problem in an arrangement of power converters. However, the DC voltage level is not considered as a parameter design. In [16] a sliding mode scheme was reported to perform a DC to AC conversion, and the parameters of the output voltage are chosen such that certain conditions are satisfied. There is a common issue in the previous reported results; that is, the DC voltage level is a parameter of the output voltage signal. Nevertheless, this voltage represents energy consumption since on this voltage the sinusoidal signal is mounted; therefore it is desirable to reduce this value in order to obtain the same sinusoidal signal but with a reduced DC voltage level and thus reduce the energy consumption.

Taking into account these published results we improve the procedure reported in [17] in order to reduce the DC level in the reference signal, which represents a reduction in the consumption of DC energy. A basic problem in the controller design consists in finding the zero dynamics of the system; such dynamics is required to be stable in order for the system output to track the given reference. In order to overcome this difficulty, the indirect control method is proposed, where an alternative system output is considered and for such a system the internal dynamics is stable. However, other problems arise, for instance, the determination of the reference for the new system output and the control synthesis, which are commonly studied within the field of power converters. One of them is the current mode regulation which is justified in [11], which provides the manner to find an approach to the unstable periodic solution required for the tracking problem. This solution is obtained using the harmonic balance method [12]. On the other hand, a boost topology is used in [11] in order to obtain a system that provides an output voltage greater than the input. Nevertheless, it has been shown that to control the boost and buck-boost converters, the indirect control of the output voltage is required [17].

In this note we propose an adaptive method applied to a boost and buck-boost topologies to achieve tracking of a sinusoidal voltage, where the reference signal is given by* f*. The procedure consists in designing an adaptive controller. Besides, it is required to propose a stable nonlinear system in order to obtain the control inputs required to practically track the reference signal. The main contribution consists in finding the conditions under which the controller is implementable and with the capability of reducing the necessary DC energy imposed by the conditions given in [11, 14]. In this sense, the aim of the proposal is to reduce the use of the DC component in the tracking signals as established in [11, 14]; this represents a reduction in the energy required to generate or to track a sinusoidal signal; besides, the error in the tracking signals is practically zero and the DC component is almost the minimum required, which is a great advantage in the tracking of sinusoidal signals using DC-DC converters.

The paper is organized as follows: Section 2 presents the model of the converters and some considerations on electrical conditions. In Section 3 an analysis is performed in order to obtain conditions under which the design loses less DC energy than that given in [6, 9]. Section 4 presents the development of the adaptive scheme to track practically the voltage reference. In Section 5 the proposed result is corroborated via numerical simulations. Finally, the contribution is closed with some conclusions on the tracking voltage problem in DC-DC power converters.

#### 2. Model Description

The mathematical equations which describe the boost and buck-boost converters are given by

where if k=0, we have the boost converter (Figure 1(a)); otherwise if k=1, we have the buck-boost converter (Figure 1(b)); , , and are the capacitor voltage, inductor current, and input voltage, respectively. The switching signal is the control signal, which takes values from the set ; *τ* is the nonscaled time. The next change of variable is proposed in order to simplify the analysis [12].Then the dynamical model takes the form bellows.

**(a)**

**(b)**

Therefore, the problem consists in finding a control signal input such that the solution , where the reference is a positive signal.

Multiplying (3) by and , the following differential equation is obtained.

When reaches the steady state given by a periodic orbit, the differential equation has a unique solution given by an unstable limit cycle when [11]. Thus, to obtain convergence of the solution , an approximation of is proposed and is considered as the 1st harmonic of the Fourier series of . From this, it is clear that these converters can track a sinusoidal signal.

As it was mentioned previously, the boost and buck-boost converters require indirect control of the output voltage [11] in order to avoid instabilities in the internal dynamics. Considering the signal as the reference for* x*(t), the main tracking problem is defined, to control the system in order to obtain a zero error tracking between the reference and the output using a smooth control. From (4) and considering , we obtainand now with the change it can be seen that system (5) has a stable limit cycle , as the dynamics of iswhere we can see that if and , then for any initial condition , the solution of system (6) tends to the limit cycle given by . Now, considering the steady state continuous control input and as the continuous control input calculated as the mean value of , . Thus, taking (3) and implementing (6) we can writeand we have that and the switched input is replaced by its equivalent in continuous time . In order to show this assertion, consider the error signals , and note that , since by design we consider and ; then we write the dynamics for the error system on the steady state of aswhere . Taking the Lyapunov function and the derivative given as , then, by LaSalle theorem, , and from the first equation . Solving (6) the input for is found. Nevertheless, the parameter is uncertain but it can be estimated by means of an adaptive scheme. Now, if the input function is an affine function of the parameter ; thus it is possible to determine a globally stable controller.

*Remark 1. *The reference for the current could be any function of time and if and , then implementing (6) we have that .

Let the reference voltage given as , and as it was described in [12], is the first harmonic of if is properly chosen. Using the harmonic balance method, the function must satisfy (see [12])and these give the parameters to find which depends on the values of the constants and . Now consider that if and are independent of , then is an affine function of .

In the following, we give some conditions for the amplitude of to find an implementable controller, such that it satisfies , and is an affine function of the parameter .

In order to show that it is possible to choose as an affine function of , consider the solution of in (9), and consider a fixed frequency given as where is the real frequency; therefore, the frequency is determined by the circuit parameters and . It is clear that if the reference signal is modified, then parameters designs and must be readjusted.

From B_{1} and C_{1} in (9), we have that the valueleads to *,* and which are independent of . Then is affine to . Thus, , , and

Now we study the conditions on the parameters and in order to obtain and . Defining and considering the value of frequency (11), then

Solving the last equation we obtain the minimum value that must be taken by to satisfy , for a given value of . We arrive toand then if , we have . On the other hand, defining , we obtain thatand then taking for some , then , , and are functions of .

Observing that, by design, it is possible to consider that for some known constant , which corresponds to some given , and observing that also can be considered as a design parameter if we takethen we have the following.

Considering we have that and , andBy definition, , and then is a decreasing function of . For we have the following.where (19) is a decreasing function of as well, because and are also decreasing, finally taking , then (13) and (15) hold for any .

#### 3. Main Result on Energy Considerations

In this section some conditions are given in order to obtain an implementable controller; that is, considering that the DC energy must be low. The condition for implementable controller in [9] is as follows.And a less restrictive condition given in [11] is as follows.

The problem, in both cases, is that the maximum of one signal is compared with the minimum of other signal, which gives a restrictive conditions on the DC component of the reference signal *,* losing more DC energy than necessary. Considering this problem, taking into account that in steady state the input is given byand also considering that to obtain physical implementation we need that and *,* which implies that , then, the first harmonic of is given as and has the same phase; then it is possible to relax the above conditions ((20) and (21)).

Now in order to consider the conditions for the control input, that is, , we will study their dynamics, which can be taken from and written as follows.It follows that if , and , then , because the solution of the linear system isand the linear part of (23) isand is an unstable solution; that is, the equilibrium point of (23) is unstable. Also this implies, in steady state, that if , then (see [12]).

At this point, we make the change of variable , in order to find the conditions under which .With this change of variable, it is clear that , because . Then if we can show that , this implies that . Writing the dynamics of , we foundwith .

In the dynamics, it can be seen that if , then ; to see this fact we only need to observe that for any we have that and then there does not exist a minimum for ; this implies that the minimum exists only for . Now considering the condition and , this is equivalent toand, taking the definition for , we can writeand the condition was transformed on the following.

At this point if , then ; to obtain , we use (11), and using the fact that is a decreasing function of , we obtain the values of that must be chosen to obtain for any . Then for , we must choose , and for the value is given for one of the roots of the equation and the value of must satisfy . Now, it is only needed to fulfill the following.Using , it is possible to writewhich is satisfied for any , becauseand then, with these values of , and , it is ensured that . It is important to note that the parameter A is the bias in the reference signal and has a smaller value than that reported in [12, 14]. In this sense this is the reason for why we state that the energy consumption is reduced.

#### 4. The Adaptive Controller

Now to accomplish the control objective which consists in the state and in an approximated way, an adaptive controller is proposed. For a given and , with , we determine the amplitude and the frequency for . Consider a fixed , which corresponds to the ; then and are given byas an example, for given , when , we obtain and . In Table 1 we compare the conditions on the value of the parameter A of the reference signal , with the same value of .

From the parameters , , and , the following can be calculated: , . Considering , (6) is written aswhere implies that the system is stable. Now consider that the voltage and the current are available for feedback; then the main result is given in the following theorem.

Theorem 2. *Consider , with , where . Assume that the pair satisfy , and ; if the tracking adaptive controller is given byand , then , and , globally.*

*Proof. *Note that is bounded; taking , we getwhich is negative for , and a finite value always exists because if , then it is negative for , and if , then it is negative for ; also cannot take the zero value because ; therefore, is bounded. Finally, and are bounded, since for any bounded input the time response of the system also is bounded.

Now consider the dynamical error system from (3) and (35), with ; thenand taking , the time derivative is given by , and by LaSalle theorem [18], is a decreasing function of and , ; then , which implies that , since . Now, when , the dynamics of produces the necessary input to obtain and whose first harmonic is equal to , and since the function is radially unbounded, the error system is globally stable and the controller globally stabilizes system (3), which completes the* proof*.

The scheme that describes the closed-loop system is illustrated by means of a block diagram in Figure 2, where the controller and the system plant (converter) are interconnected.

#### 5. Numerical Results

A numerical simulation of the proposed scheme is presented, which illustrates that the converter buck-boost (given with ) tracks a sinusoidal reference given by where the departing parameter is the amplitude of the reference signal given by (known design parameter). Then the values and must be calculated. Now consider the following parameter values:and the controller parameters are chosen as . Solving (35), Figure 3 shows the voltage response and the reference signal. A variation in the parameter R is applied as follows: and for , and such a variation in the parameter is compensated by the controller.

Figure 4 shows the response of the current and the reference signals under the same parameter change, once again the current tracks the reference with zero error.

Figure 5 shows the signals and for ; it can be seen that it is not necessary that *.*

In order to indicate the improvement in the design of the system, we present the performance of the design used as a base of the present one [14]. In Figure 6 the voltage and current as given in [14] are presented; note that in the improved design (Figures 3 and 4) the DC component is less than the design presented in Figure 6 as defined in [14]; in this sense the new algorithm requires a reduced value for the DC component, representing a reduction in the consumption of DC energy.

**(a)**

**(b)**

#### 6. Conclusions

In this contribution an adaptive control for tracking of sinusoidal signals in DC-DC converters was described. The scheme reduces the DC energy consumption since a bias is calculated to be small and preserving the tracking of the reference signal. Less restrictive conditions on the current parameters were provided compared to those reported in [12, 14]. Also, an adaptive control scheme to track the voltage output of the power converters was proposed, and it was demonstrated that it can lead the voltage output signal to a biased sinusoidal reference. In this way such a controller is based on a nonlinear model which serves as a mean to obtain the exact necessary input signal to obtain an exact tracking of the current and its reference. Also it was shown that the adaptive controller is robust against changes in the load resistance.

#### Data Availability

The data used to support the findings of this study are included within the article.

#### Conflicts of Interest

The authors declare that they have no conflicts of interest.