This work presents an adaptive control that integrates two linear control strategies applied to a step-down converter: Proportional Integral Derivative (PID) and Linear Quadratic Regulator (LQR) controls. Considering the converter open loop transfer function and using the poles placement technique, the designs of the two controllers are set so that the operating point of the closed loop system presents the same natural frequency. With poles placement design, the overshoot problems of the LQR controller are avoided. To achieve the best performance of each controller, a hyperbolic tangent weight function is applied. The limits of the hyperbolic tangent function are defined based on the system error range. Simulation results using the Altera DSP Builder software in a MATLAB/SIMULINK environment of the proposed control schemes are presented.

The technological evolution of electronic devices has been very significant in recent years. With the increasing performance of microcontrollers and Digital Signal Processors (DSP), as well as the ascension of Field-Programmable Gate Array (FPGA), associated with high speeds of current A/D converters, some concepts related to digital signal processing have been reevaluated, and new forms of mathematical processing and algorithms developed [

More powerful digital devices are needed to enable the implementation of complex control systems in several applications to help improve their performance, stability, and robustness. In the power electronics field, better control strategies can enhance power quality and efficiency [

FPGAs are devices with flexible logic programming. They allow several product features and functions, adapt to new standards, and reconfigure hardware for specific applications, even after the device has been already installed in the end product. One can use a FPGA to implement any logical function that an application-specific integrated circuit (ASIC) could perform, but the ability to update the functionality after shipping provides advantages for many application areas such as automotive, broadcast, computer and storage, display, medical, military, test and measurement, wireless, wire line, and in a lot of other areas. The main advantage of FPGA is the ability to have its logical structures arranged to work in parallel as opposed to the inherent sequential execution in microcontrollers. This can drastically boost the overall performance of the device. Also, when compared to microcontrollers and DSPs, FPGAs offer many design advantages including rapid prototyping, shorter time to market, the ability to reprogram in the field, lower Nonrecurring Engineering (NRE) costs, and long product life cycle to mitigate obsolescence risk [

FPGAs can be programmed using Hardware Development Language (HDL) which describes the connections of the logic gates together to form adders, multipliers, registers, and so on. The HDL places a dedicated resource for the task and allows for parallel operation. However, the complexity of HDL coding can be a barrier for many electrical engineering applications [

As an alternative to low-level HDL programming, there are some optimized frameworks with ready-to-use high-level blocks such as the Altera’s DSP Builder software, which provides graphical design blocks to run simulations into a MATLAB/SIMULINK environment. The same blocks are used by DSP Builder as the basis for autogenerating an optimized HDL code to be loaded into FPGA hardware. The use of DSP builder tool can reduce the implementation time of a project resulting in lower costs associated to human-related design efforts.

In electrical power conditioning systems that use switched static converters, the integration of high performance hardware with linear and nonlinear control techniques implemented digitally has provided the improvement of system performance, resulting in increased efficiency as well as enhanced quality of power supply [

Regarding the control techniques employed in these applications, traditionally the Proportional-Integral (PI) controller is one of the mostly used techniques to carry out control of some aspects of the converters, like regulating the output voltage or correcting the power factor. In these applications, the derivative action is usually not considered because it can amplify high frequency noise caused by switches commutation. Due to the integral component, PID has been widely used because it presents a favorable characteristic of eliminating the steady-state error, but its response time is high when compared to other kinds of controllers when the system is subjected to external disturbances. Other linear control techniques are also widely used like, for example, the LQR control. As it is an optimal control, it is common to appear as significant overshoots. It is desired to improve the system response time without worrying about the overshoot, commonly resulted from load disturbance or reference change, which can be achieved by employing poles placement design. However, LQR control does not have integral action, and its use does not guarantee null steady-state error.

In order to improve system performance in relation to the response time without causing overshoots, which could damage the load or circuit elements, and to obtain a steady-state null error, adaptive and nonlinear controllers have being used. The Feedback Linearization, Adaptive Control, Gain Scheduling, Sliding Mode control, and State Dependent Riccati Equation (SDRE), can be highlighted each with its own characteristics regarding their application or parameters such as stability, robustness, and computational cost [

Along with the advances in digital control, the use of more complex theories, mainly related to nonlinear and adaptive controllers design, has been excelling ever more. Adaptive control techniques have been highlighted in various applications. Alternative forms of adaptive control techniques applied to power electronic circuits are presented in [

In this context, this paper presents an adaptive control that uses the best responses of two linear controllers, that is, the PID and LQR controls. To reduce overshoot problems of the LQR controller, poles placement design is applied. As a result, a composite control law is obtained for two different controllers used at the same time, where the control actions are mathematically weighted according to system error by means of a hyperbolic tangent function. This function represents the decision function that establishes the weights of PID and LQR control actions into the resulting control action, referred to as Hyperbolic Tangent Adaptive Control (HTAC). The main objective of this control technique is to perform the output voltage control of a step-down converter operating in continuous conduction mode (CCM). This strategy was tested by means of simulations using the DSP Builder software in a MATLAB/SIMULINK environment applied to the output voltage control on a classic Buck converter. Load steps were applied to assess the performance of the Hyperbolic Tangent Adaptive Control (HTAC). The results show that the proposed technique achieves better responses than the controllers alone, with a fast transient response, a small overshoot, due to the poles placement design, and null steady-state error.

Among the control structures used in the industrial segment, the classic parallel PID controller, shown in Figure

Hyperbolic tangent adaptive control.

The transfer function and the control law in the time domain of a PID controller with fixed gains are expressed by

The LQR controller is based on the minimization of a quadratic criterion associated with the state variables energy and the control signals. An optimal control provides a systematic way to calculate the gain matrix of the state feedback control [

As LQR is a consolidated control technique, the controller design will not be presented in this work.

The problem formulation of optimal control (LQR) for the Buck converter can be ordered as follows: find a control function

From the control law presented in (

For the defined values of the matrix

The limitation is that the LQR addresses a regulation problem and cannot originally be applied to a tracking problem, which is desired in practice [

It is important to note that different values for the weight coefficient matrix

The technique of pole placement is proposed in this paper to find an optimal matrix

To design the LQR controller feedback vector, the technique of pole placement is initially used [

Therefore, the vector

The transformation matrix

Consider

Replacing (

Replacing (

Through the solution of (

After some analyses realized by numeric simulations, to be presented afterwards, and relating to the system response during a load disturbance and to the steady-state error, it is possible to observe that either the proposed LQR and PID controllers are effective to maintain the system over the dominant poles in closed loop defined in the control design. Also, it can be observed that the LQR control is more effective for the transient response and the PID control for the steady state.

With the objective of obtaining a control that presents the combined efficiency of both controllers, enhancing the performance of the system in closed loop as well as reducing the overshoot and the settling time, a parallel combination of LQR and PID controls is proposed. The simplest approach is to switch which controller will actuate over the system given a specific rule, such as a predefined error value. The disadvantage of this approach is the occurrence of an abrupt change in the control structure. In order to avoid this abrupt commutation between the controllers, a weighted combination is proposed where their control actions are regulated by weights (

The control law for the HTAC controller is defined by

The value

In this sense, it is possible to define the higher weight

The value

So, the weight

In Figure

Figure

Control strategy scheme applied to the step-down converter.

The design parameters for the converter are presented in Table

Parameters for the buck converter.

Parameters | Value |
---|---|

Input voltage ( |
48 V |

Capacitance ( |
3.33 |

Inductance ( |
1.1 mH |

Resistance ( |
30 |

Reference voltage ( |
30 V |

The matrices that determine the state space system of the buck converter are presented in the following equation:

As the duty cycle (

Replacing the data in Table

Having the transfer function of the converter, the design of the controllers is set so that the operating point of the closed loop system has a natural frequency according to:

The damping ratio (

From these data, the operating point of the closed loop system can be set to a new damping ratio near 0.8, which is the maximum acceptable value for second order systems. Thus, the set point is

With the control design parameters of the converter defined, one can design the PID and LQR, so that the operation of the closed loop system occurs at the same operating point. So, having the controllers following the same operating sequence, a comparative analysis of the performance for each control scheme can be carried out with more accuracy.

Following this analysis, the hyperbolic tangent function is applied in order to use the best responses of the applied controllers according to the error generated by possible disturbances.

From the operating point of the closed loop system, defined in (

For the LQR controller using the operation point of the closed loop system defined in (

Replacing (

Taking the previous designed results, the HTAC was implemented and presented in this paper using the combination of these two controllers. The limits of the hyperbolic tangent function are defined from the system error range.

The hardware chosen for implementation of the proposed controllers in this project is a EP3C25Q240C8N Cyclone III FPGA, manufactured by Altera. The simulations are performed in the MATLAB/SIMULINK environment where the DSP Builder framework, provided by Altera, is installed as a toolbox, making, possible to simulate the model of the power converter itself and to export it to be compiled by the Altera Quartus II software without leaving Simulink.

To obtain more accurate results, various factors of a real prototype are taken into consideration. The simulation step size period was defined in the Simulink as 25 nanoseconds. The signal obtained from the output voltage is adjusted by a block that simulates the conditioning circuit in order to satisfy the inputs of the analog-to-digital converter (A/D). The external A/D converter is necessary because the FPGA hardware does not have internal A/D converters.

The chosen A/D converter is the AD7655, manufactured by Analog Devices, with a 16-bit resolution and sampling rate of 500 KSPS (samples per second). In the simulation, a system of blocks is used to represent the inherent delay of the digital conversion and quantization according to the sampling rate.

The complete implementation of the HTAC controller using DSP Builder is shown in Figure

Block diagram implemented in DSP Builder.

Figure

Startup process converter.

Figure

System response for a 50% load step.

Steady-state output voltage of the converter for both controllers.

Figure

Current

Figure

Startup process converter with HTAC control.

System response for a 50% load step for PID, LQR and HTAC.

System response for a 50% load step with HTAC.

Figure

Current

The variation on the weights

Variation of the weights

This work presented the design and simulations of an adaptive PID + LQR control technique applied to a step-down converter. The pole placement technique was used to guarantee that the two controllers work in the same operation point and the system does not present excessive voltage and current overshoot. Knowing that the steady-state error of the converter output voltage for the PID is smaller than for the LQR control and the response time for LQR controller is smaller than for the PID, a parallel combination of the designed controllers is proposed, yielding an adaptive controller which improves the performance of the system, both in response to time and the reduction of overshoots of the controlled magnitudes.

A hyperbolic tangent weight function is used to gather the best performance of each controller according to the system error. Thus, the best responses in settling time and overshoot and annulling the steady-state error are achieved as compared to independent implementation of each controller. The Altera DSP Builder framework was used in a MATLAB/SIMULINK environment for the implementation of the Hyperbolic Tangent Adaptive Control (HTAC) and to obtain real-time simulation results.

The authors thank FAADCTP, CNPq, and CAPES, Brazilian financing agencies.