1. Introduction
Many industrial applications need the transformation of a constant DC voltage source to a constant value even under load variation, such as photovoltaic systems, mobile power supply equipment, DC supply systems, etc. The buck converter is one of the most widely utilized DC-DC converters, because of its simplicity, high efficiency, and low cost, see e.g., [
1], and therefore each improvement has potentially a major economic and commercial impact. However, the presence of its nonlinear characteristics in the switching behavior and the saturation of the duty cycle render the output voltage control a challenging task. Numerous control strategies have been proposed for the voltage regulation of the buck converter. Each of them has advantages and disadvantages, and the selection of the most appropriate one depends mainly on the design task at hand. A brief review of the main digital control techniques can be found in [
2]. Among these, the non-linear sliding mode control, which leads to fast transient response under load variation and high robustness, is worth mentioning [
3,
4]. However, the control performance is reduced by the introduction of high frequency oscillations around the sliding surface, the so-called chattering. Another practical alternative for the voltage regulation of the buck converter is the fuzzy logic control. This non-linear adaptive technique provides a robust performance under parameter variations and load disturbances, and can operate with noise and disturbance of different natures. However, these controllers are traditionally designed by trial-and-error, and this, combined with the rich architecture of the controller, constitutes a major drawback in carrying out stability and performance analysis, as well as transfer function and small signal analysis [
5]. By contrast, classical linear proportional integral/proportional integral derivtive (PI/PID) control techniques are widely used by industrial practitioners for their simplicity in the design and implementation, and still by far play a major role. In fact, PID control is often taken as a benchmark for comparison with new strategies since it provides a good compromise among various types of performance indices, including voltage tracking and disturbance rejection, while guaranteeing a satisfactory robustness to small variations of the parameters of the buck converter [
1]. Many PID-based strategies have also been combined with non-linear techniques to improve the closed-loop performance [
2,
3,
6,
7,
8,
9,
10]. However, in the vast majority of the cases, the PID controller is designed in the continuous-time and then, for its practical implementation, it is converted to the discrete-time, see [
10,
11,
12].
A common approach to the control feedback design involving PID controllers is to consider the ideal (improper) PID transfer function, which is non-causal. By contrast, the discretization of the ideal PID controller results in a casual, thus feasible, discrete transfer function. This explains why, in this context, the discretization appears to be critical. Indeed, frequency domain specifications assigned in the continuous-time domain can be affected by large undesired variations due to the discretization of the controller. Another critical issue in the design of PID controllers for the buck converter is caused by the presence of a resonance peak in the transfer function of the process. In fact, the resonance usually constrains the assignability of the closed-loop bandwidth, which has to be either well below the resonance frequency, or well above. The former solution is usually discarded since, for obvious reasons, it leads to poor performance. However, the latter is typically associated to a very large bandwidth, which is likely to induce severe saturation in the control variable.
This paper presents a new direct design technique for the discrete PID + filter (PIDF) controllers with complex conjugate zeros. Our method hinges on the classical pole-zero cancellation method [
10] combined with the so-called discrete “inversion formulae” [
13,
14,
15,
16,
17,
18]. In the aforementioned design procedure, two parameters of the PIDF controller are used to achieve pole/zero compensation, as in [
10], and the remaining two degrees of freedom are used to exactly meet specifications on the phase margin and gain crossover frequency with the use of the inversion formulae. The design approach based on these formulae was first presented for lead, lag and PID controllers in [
13,
14,
15,
16,
17,
18]. In this paper we introduce a new set of inversion formulae for the design of the time constant of the discrete PIDF controller.
Thanks to the closed-form design of the filter, which guarantees sufficiently large stability margins even in the presence of uncertainty, our method ensures a satisfactory performance in a neighborhood of the operating point.
The approach based on the inversion formulae results in a proper discrete PIDF controller which is directly implementable on a microcontroller, and which exactly satisfies the design requirements in the discrete domain. Thus, unlike the other techniques described above, the specifications are guaranteed to remain exactly satisfied even when considering the discrete implementation of the controller. Note that we avoid indirect tuning procedures and the inherent trial-and-error nature of graphical tuning techniques based on Bode, Nyquist and Nichols plots.
The procedure presented here is analytical in nature, and can be carried out in finite terms via simple equations which are dependent upon the sampling time of the analog-to-digital converter.
The structure of the discrete PIDF controller is obtained from a continuous-time PIDF [
19] transfer function through the matched pole-zero mapping discretization method [
20]. In this way, the cancelation results in a discrete transfer function, and therefore the controller can be directly designed in the
z-domain.
Simulations and comparisons with other methods show the effectiveness of this new control strategy, which can accommodate plant uncertainties and also, importantly, load variations. The proposed method has been first simulated in MATLAB Simulink® and then tested in a real-time digital implementation using the Atmel SAM3X8E microcontroller based on the ARM® Cortex® -M3 processor on an Arduino Due board. The experimental results have been analyzed and compared with classical PID control solutions.
The paper is organized as follows. The digital control schemes and discrete buck converter model are described in
Section 2. In
Section 3, we propose the discrete PIDF controller with complex conjugate zeros. The control problem and the proposed design solution are presented in
Section 4. We describe the simulated and experimental results of the proposed DC-DC buck converter control and the performance comparison with other methods in
Section 5. Conclusions and remarks will end the paper.
2. Digital Control Schemes and Discrete Buck Converter Model
The DC-DC buck converter is a step-down switching converter extensively described, e.g., in [
21]. The block scheme of the digital voltage mode control and the buck converter circuit considered in this paper are shown in
Figure 1. It is assumed that the converter operates in continuous-conduction mode (CCM).
In the buck converter scheme, Vout is the output voltage, Vin is the input voltage, L is the filter inductance, C is the filter capacitance, R is the load resistance, RL and RC denote, respectively, the parasitic series resistances of the inductor and capacitor. Moreover, rn(z) represents the reference digital signal, while yn(z) denotes the sampled output of the process. The sampled signal is obtained by the analog-to-digital converter (ADC) with sampling period Ts. The tracking error signal en(z) = rn(z)−yn(z) is processed by a discrete-time compensator C(z) to generate the control signal dn(z). The Digital Pulse Width Modulator (DPWM) converts dn(z) into the corresponding analog duty cycle with values between 0 and 1 according to the desired ratio of Vout/Vin, and modulates the PWM signal to drive the buck converter switch.
The transfer function of the discrete plant model
G(
z) is the Z-transform of the product of the continuous-time converter transfer function
G(
s) and the transfer function of the zero-order hold:
with sampling period
Ts:
Notice that in the hardware device the output voltage of the buck converter is driven into the admissible range of the ADC input voltage by a constant sensor gain
H; the resulting output signal of the ADC is then multiplied by the factor
1/H to be compared with the reference value
rn. In (1) the factors
H·(1
/H) = 1 have been simplified and omitted. According to the buck converter averaged model and Equation (2) of [
21], the transfer function of the buck converter:
is a second-order low-pass filter, with a left-half complex plane zero introduced by the equivalent series resistance of the filter capacitance.
The mathematical averaged model is obtained by the following input/state/output equations, where the diode and transistor conduction losses have been neglected [
22].
where:
The discrete model of the buck converter is:
where:
and it can be obtained by applying the definition of the Z-transform to the series plants
H0(
s)
G(
s)
H. Notice that
G(
z) is characterized the following two complex conjugate poles:
Indeed, from (1) it follows that:
where:
Expanding
R(
s) into partial fractions we have:
Applying the standard manipulation theorems of the Z-transform to
R(
s) we have:
It follows that (8) can be written as:
which can be rewritten as in (4) using (5)–(7).
3. The Proposed Discrete PIDF Controller with Complex Conjugate Zeros
The controller presented in this paper is a discrete PIDF controller, described by the following transfer function:
when:
the controller (9) represents the discrete pole-zero mapping transformation with the sampling period
Ts of the following continuous-time PIDF controller:
Here
Ki is the integral gain, δ is the damping ratio and 1/τ is the natural frequency of the controller zeros, and:
is a parameter that depends on the high frequency controller gain, which is defined as:
The PIDF controller (10) is equivalent to the classical parallel PIDF controller:
In fact, equivalent parameters for (11) can be obtained from δ, β,
Ki, τ by equating (10) and (11): the resulting proportional gain, and the integral, the derivative and the filter time constants are shown in the following Equation (12):
Notice that when β > 1 and δ ≥ 1 the PIDF controller (10) reduces to a series PID controller, when 0 < β < 1 the PIDF controller has complex conjugate zeros, and when β = 1 and δ = 1 the PIDF controller becomes a PI controller, see [
19].
Interestingly, the controller (9) can be written as a digital biquadratic filter:
where:
which has the clear advantage of being directly implementable on a microcontroller by using the difference equation:
6. Conclusions
A new design framework for the control of buck converters has been presented in this paper. The proposed methodology is based on the discrete PIDF controller, and hinges on a direct design procedure that can be easily implemented in any non-specific platform. Indeed, the proposed methodology delivers a closed-form solution to meet suitable phase margin and gain crossover frequency values without a simulation environment. Moreover, the proposed design procedure and the discrete control algorithm are simple, they require small tuning times and they can be implemented by inexpensive microcontrollers.
Numerical and experimental verifications confirm that the proposed method goes well beyond the well-known zero/pole cancellation strategy and other control methods available in the literature. Indeed, the proposed approach enables the designer to assign an arbitrary bandwidth, which is therefore no longer constrained by the resonant peak. This aspect leads to a double benefit. On the one hand, this method avoids an excessively large bandwidth, which would result in noise/ripple amplification and ultimately in an increase in power consumption and a decrease in the component life. On the other hand, this method avoids the discretization problem that derives from discretizing a controller which assigns a bandwidth that is too large with respect to the sampling period. This, in particular, avoids detrimental effects on the stability margin due to the discretization. Moreover, experimental results confirm that the selection of large phase margin with the direct proposed method delivers a good system performance under load variations and plant uncertainties.