Sie sind auf Seite 1von 6

DIGITAL CONTROL SYSTEM FOR HIGH PRECISION POWER SUPPLIES OF

THE NEW BRAZILIAN SYNCHROTRON SOURCE


Gabriel O. Brunheira, Jakson P. Bonaldo, João Nilton H. da Rosa, Cleber Rodrigues, José A. Pomilio
School of Electrical and Computer Engineering
University of Campinas
Campinas, São Paulo, Brazil
jbonaldo@gmail.com, antenor@dsce.fee.unicamp.br

Brazilian Synchrotron Light Laboratory – LNLS


Power Electronic Group – ELP
Rua Giuseppe Máximo Scolfaro, 10.000
Zip Code 13083-970, P.O. Box 6192 – Campinas – SP - Brazil
gabriel.brunheira@lnls.br, joao.rosa@lnls.br, clero@lnls.br

Abstract – This paper proposes an architecture of processing board. This strategy was chosen by other particle
digital current regulator intended to be used to control accelerators with good results [7]. This system will be called
the power supplies of the new Brazilian synchrotron light Universal Digital Controller (UDC).
source, called Sirius. It is based on a high-precision Usually, the current sources used at LNLS present a
Digital to Analog Converter and a modern System on precision better than 0.01% in relation to their output range
Chip device, which has the capability of performing real- [8, 9, 10] (in this case precision can be understood as a
time control tasks together with managing and interface general expression which encompasses resolution, short and
tasks. Despite this system will be used to control many long time stability, linearity, etc. This represents an
kinds of power supplies, it was validated in a 100 W additional difficult for the design of current digital
power supply, which was previously developed to be used regulators, because their performance is affected by
in the present Synchrotron Light Source. quantization and mathematical noise, accuracy of analog-to-
digital converters (ADC) and the resolution of the pulse
Keywords - Digital Control, High Precision Current width modulator (PWM) [11, 12]. Moreover, some models of
Source, DC-DC converter power supplies will have a high bandwidth, up to 2kHz, what
means an additional difficult once the available time for
I. INTRODUCTION processing will be shorter, the reference values must be
updated at this frequency and, mainly, the switching
The Brazilian Synchrotron Light Laboratory (LNLS), frequency must be enough higher than this value.
located in Campinas-SP, has built and operated the first Many strategies have been proposed in order to obtain
Synchrotron Light Source in the southern hemisphere and the PWM with high resolution, as delay line, dithering, dual
only one in Latin America [1]. Now it is building a second clock, etc, and each one has its advantages and disadvantages
one, called Sirius, which will be a third generation [13]. This work used a Digital Signal Processor (DSP) which
synchrotron source, with 3GeV energy and very higher has internally a high resolution PWM (HRPWM) based on a
brilliance, as well the lowest emittance among not only those delay line. This off-the-shell solution was suitable for this
in operation, but also in design process [2, 3]. Due to the project because of its low cost, size and reliability. Moreover,
small size of the electron beam, its orbit must be much more it saved developments costs and can be combined in the
stable, as well the current sources which feed the magnets. future with other solutions, like dithering, in order to increase
The number of these power supplies (PS) will also be much PWM resolution even more.
greater than in the current light source, probably more than This work will discuss the main components of a digital
one thousand units. Thus the use of a digital regulation regulation system, as well its characterization and modeling.
system is strongly indicated, mainly due to the following The proposed system validation was performed with a
advantages [4, 5, 6]: bipolar current source with rated output of 10A/10V. This PS
• Lower susceptibility to noise, thermal variations and model is already used at LNLS but with analog regulation.
components aging; For the tests this analog circuit was exchanged by the digital
• Easier parameter adjusts and higher malleability; one.
• Unique controller hardware for all PS's; Section II will show the basic modeling of the system in
• More diagnosis functionalities; the analog domain. Section III brings considerations about
• Allows implementation of more complex control the digital implementation of the regulator, discussing the
strategies. main performance indicators of the signal acquisition and the
Therefore, it has been decided to apply digital control in digital PWM behavior. Experimental results are shown in
all current source families that will be used in Sirius, using, section IV and section V presents the conclusions.
when possible, the same hardware, i.e., the same control and
II. SYSTEM MODELING The transfer function which relates the output current with
the equivalent duty cycle d is given by:
Figure 1 shows the power stage of the PS, which is based
on a 4-quadrant (4Q) converter [11, 14], Figure 2 shows its GP s
I
VDC GL s (6)
linearized model.

The transfer function given by (7) is a first order Padé


approximation of the delay effect caused by the digital PWM
[15]. Ts corresponds to one sample period.

(7)

The current transducer gain is given by (8), once the


measured current is normalized in relation to the maximum
value that it can take on, considering transient situations:
Fig. 1. The power stage of the PS used for tests

(8)
ADCFSR

In order to attenuate the superposition of harmonic


components close to Nyquist frequency it is necessary to use
an anti-aliasing filter as (9):

GAL s (9)
Fig. 2. Linear model of the PS

In order to obtain the transfer function of this circuit, it III. CONSIDERATIONS ABOUT DIGITAL
was applied the Thevenin theorem in both sides of the load, IMPLEMENTATION
resulting in the simplified model of Figure 3. The Thevenin
impedance and voltages are given by (1), (2) and (3). A. General Description
The System on Chip (SoC) F28M35H52C1 (Texas
Instruments®) is used to implement the digital controller. It
contains two processing cores: one is a microcontroller ARM
Cortex-M3, which will perform man-machine tasks and the
communication with the control network of Sirius. The
second core is a floating point DSP of C2000 family running
with a 150 MHz system clock, which is used to execute the
Fig. 3. Simplified linear model of the PS control algorithm and signal processing, as well to drive the
power circuit using its HRPWM.
Data acquisition is performed by an external analog-to-
·R ·C
·R ·C ·C·L ·L· C C ·R ·C
·V (1) digital converter AD7634 (Analog Devices®), and the
samples are transferred to the C2000 core using a serial
·R ·C peripheral interface (SPI). The resolution of this ADC is 18
·V (2) bits and its signal-to-noise relation (SNR) is 101 dB. It was
·R ·C ·C·L ·L· C C ·R ·C
used evaluation boards from the manufacturers to implement
·R ·C ·L ·L
(3) both the ADC and the digital regulator.
·R ·C ·C·L ·L· C C ·R ·C
B. Digital PI With Dynamic Saturation
Equation (4) shows the transfer function of the output In a conventional implementation of a PI controller, the
current Io(s) in relation to voltages Vin1 and Vin2, obtained integrator can saturate when a significant variation is applied
from the previous one and the circuit in Figure 3: to reference. The controller saturation can last a long time,
what makes the power stage also provide a saturated output,
(4) obviously different from that request by reference.
In order to avoid this problem, a PI controller with
dynamic saturation of integral part has been applied, as
The differential voltage VINV =Vin1-Vin2 can be written as a showed in [15]. Figure 4 shows the block diagram of the
function of the duty cycle δ and the input voltage VDC: implemented PI structure, where:
- Maximum output value of PI controller
VINV s VDC · d s (5) - Dynamic limit for the integrator at instant
k
But even with the two conditions above satisfied, LCO
can still happen due to the non-linear characteristic of the
quantization process on the control loop. So, the two actions
can be used at least to attenuate the amplitude and effect of
LCO.

D. The ADC
The effective number of bits of the ADC (ENOBADC) can
be calculated by:

.
(13)
.

Fig. 4. PI Controller with dynamic saturation of integrator [15] SINADADC is the Signal-to-Noise-and-Distortion Rate of
the ADC. This ratio could be interpreted, in some sense, as
The integrator limit LI(k) is calculated at each k iteration the relation between the input full-scale range and the
of the controller as: minimum distinguishable input variation, expressed in bits of
resolution. Thus this value could be considered for the
| | | | (10) calculation of the effective quantization level, which would
be expressed as:
This technique allows the calculation of a new limit LI for
the integrator at each iteration. Thus the limitation of the (14)
integral part happens in a soft and gradual way, what limits
transients and overshoots usually caused by this saturation.
Where:
C. Attenuation Of Oscillations Caused By Limit Cycle - ADC input full scale range
Due to the limitations of the ADC resolution and, mainly,
the digital PWM, which introduce quantization noise in the The measured SINADADC from the AD7634 provided by
control loop, oscillations can appear in the controlled the manufacturer is 101 dB, and the input range was
variable [15, 16]. Thus, the regulation quality of the output configured to ±10 V.
current can be diminished, causing errors in steady state and For the PS of this work, the output current can assume
increasing ripple. Depending on the control technique and values between -10A and +10A. The transducer and the
the coefficients used, these oscillations caused by limit cycle, signal conditioning circuit has unitary gain, then the ADC
called Limit Cycle Oscillation (LCO) can compromise the input signal amplitude (in Volts) is equal to the real current
stability and reliability of the system. In conventional amplitude (in Amperes) and it can be considered the own
systems this effect can be disregarded, but in high precision current signal. For this reason, there is no loss of resolution
ones it can be noted and its effects are significant. due to signal scaling in this case.
A necessary condition but not enough to prevent the LCO Therefore, the effective quantization level of the ADC is
is that the increment of one PWM quantized level, i.e., 1 218.8 µA.
LSB of the duty cycle, results in a increment of the variable
sampled by the ADC (in this case, the output current IO(t)) E. Digital PWM
smaller than the quantization level of the ADC itself, in the The number of effective bits of the Digital PWM
steady-state [15, 16]. This can be expressed as: ( ) is determined by:

(11) (15)

Where:
where is the fraction of PWM duty cycle related to 1 FCLK - Modulator clock frequency
LSB, is the steady-state gain of the transfer function Fs - Desired modulation frequency
between the duty-cycle d(s) and the output current (i.e.,
· 0 ), and is the quantization level of the The used DSP presents 150 and the PWM
ADC, expressed in the sampled variable units (in this case, modulating frequency was chosen 50 . Then, the
Ampere). number of effective bits would be 11. Due to this
The addition of an integral part ( ) in the control loop
number be lower than the ADC resolution, one of the
contributes to LCO reduction [16]. The acting of this integral previous conditions to prevent LCO would not be respect.
part must be enough slow, generating duty cycle increases But the chosen DSP has a special peripheral, the
lower than the less significant bit (LSB) of the PWM. Then, HRPWM, which allow the division of the lowest step of the
it must be assured that: conventional PWM in lower steps of 150 ps, as showed in
Figure 5.
0 K I DIG 1 (12)
Bode Diagram
100
Hol uncompensated
50 Hol compensated

Magnitude (dB)
0

-50

-100

-150

Fig. 5. High Resolution PWM 360

270

Phase (deg)
180
The HRPWM resolution can be calculated substituting the 90
system clock period 1 by the lowest increment (150 ps):
0

-90
1 2 3 4 5 6
F · · 10 10 10 10 10 10
N HRPWM
floor (16) Frequency (Hz)

Fig. 7. Frequency response of the system


Thus the effective bit number of the HRPWM is
17, and the output current increment due to 1
LSB of the digital PWM can be calculated by (17) which Applying the discretization of the analog PI controller, the
results in 114.4 µA. conversion of parameter to the digital domain is given by:

· ·0 (17) (19)
N HRPWM

It can be observed that the condition (12) is satisfied to


IV. CURRENT CONTROLLER DESIGN prevent or minimize LCO.

Table I shows the main parameters of the power circuit


and the digital controller used in the design. Equations (6) to V. EXPERIMENTAL RESULTS
(9) were used to calculate the current controller, which is a
proportional-integral kind. Figure 6 shows the block diagram The power circuit was implemented using MOSFET’s
of the control loop of the converter output current. The open IRFB4310 (100V/140A) which are driven by the integrated
loop transfer function is given by: circuit (IC) IR2112.
The following figures show the dynamic response of the
HOL GAL s · · · (18) system to several current steps. It can be observed in Figure 8
and 9 that for a higher the current step, a longer response
Table I – PS and UDC Parameters time occurs. The reason is that this time depends basically of
Parameter Value Parameter Value the DC link voltage (15V) and the load inductance (25mH).
15 V 25 mH But the value of the output current is also important because
100 µH 50 kHz the voltage drop on the load resistance limits the voltage
470 ηF 100 kHz
available to the inductance. If a faster response is necessary
3.3 µF 30 kHz
4.7 Ω 20 V the DC link voltage must be increased. There is no action to
1Ω N 17 be made by the controller to overcome this limit, but the PI
HRPWM
gains must be high to reach the maximum or minimum duty
cycle as fast as possible.

1
IFSR
Fig. 6. Block diagram of the current control loop

With the parameters of Table 1, the PI parameters were


calculated using the analog PI controller design approach
[15], in order to get the cut-off frequency of the closed loop
system of 1500 Hz and the phase margin of 70o. The
resulting parameters were 70 and 95000. Figure
7 shows the system response before and after the
compensation. Fig. 8. Current step from 6A to 3A (1A/div; 1ms/div)
Fig. 9 – Current step from 1A to 2A (1A/div; 1ms/div) Fig. 12. Long term stability test of output current for 5A (blue
trace: current; green trace: temperature)
However, the usual operation of this PS requires just small
steps. In this case, other factors as the system delay and the VI. CONCLUSION
finite PI gains are the major reason for the response time
limitation. Figure 10 shows the output current for a 0.2A This work showed the implementation of a digital
step, where the time response is lower than 1ms. regulation system, the UDC, for high precision current
sources. The main components of the regulator, as the
HRPWM, the ADC and the processing system F28M35 were
validated with a 100W bipolar PS.
The obtained results showed that the goal of a high precise
regulation was reached just using a conventional PI
controller. But other more modern control techniques can be
still used just changing the DSP firmware, what can improve
the system performance. This is one of the main advantages
of using digital control.
The final goal is to extend the concept of this regulation
system for all topologies of PS that will be used in Sirius. For
this reason, dedicated boards are been built right now for
both the ADC and the digital regulator, in order to be used in
place of the evaluation boards employed until this moment.
Fig. 10. Current step from 1A to 1.2A (0.2A/div; 0.5ms/div) Soon, new tests must be performed and new results obtained.
Figure 11 shows the output current when a sinusoidal ACKNOWLEDGEMENT
reference with the amplitude of 1A and 100Hz is applied.
The designed controller, due to its high gain, is able to follow Authors would like to thanks Fundação de Amparo a
a small signal as this one. On the contrary the controller Pesquisa do Estado de São Paulo - FAPESP.
would go quickly to the saturation, causing a deformed
waveform in the output. This effect increases with the REFERENCES
increasing of the reference frequency.
[1] www.lnls.br, Brazilian Synchrotron Light Laboratory
website.
[2] L. Liu, R. Basilio, J.F. Citadini, R.H.A. Farias, R.J.F.
Marcondes, X.R. Resende, A.R.D. Rodrigues, F.
Rodrigues, F.H. Sá, P.P. Sanchez, R.M. Seraphim, G.
Tosin, “Status of Sirius – A New Brazilian Synchrotron
Light Source”, in Proc. of IPAC, 2011.
[3] L. Liu, N. Milas, A. H. C. Mukai, X. R. Resende, A. R.
D. Rodrigues, F. H. Sá, “A New 5BA Low Emittance
Lattice For Sirius”, in Proc. Of IPAC, 2013.
[4] J.B. Murphy, J. Bengtsson, R. Biscardi, A. Blednykh, L.
Fig. 11. Output current following a 100Hz/1Vpp sinusoidal Carr, W. Casey, S. Chouhan, S. Dierker, E. Haas, R.
reference (Green trace: reference; blue trace: current) Heese, S. Hulbert, E. Johnson, C-C. Kao, S. Kramer, S.
Krinsky, I. Pinayev, S. Pjerov, B. Podobedov, G.
Figure 12 shows the result for a long term stability test Rakowsky, J. Rose, T. Shaftan, B. Sheehy, J. Skaritka,
during almost 17 hours, for an output current of 5A. It can be N. Towne, J.M. Wang, X.J. Wang, L.H. Yu, “NSLS II:
observed that, after the warm-up time and the room The Future Of The NSLS”, in Proc. of PAC, 2005.
temperature stabilization, the average variation (do not taking [5] L. Balogh, “A Practical Introduction to Digital Power
into account the fast instabilities) was less than 60µA, what Supply Control”, White Paper, Texas Instruments.
means less than 3ppm of the output range.
[6] H. Jing; Z. Liu; H. Wang; X. Shen, “Design and dc–dc converters”, IEEE Transactions on Power
realization of high-precision digital control direct current Electronics, Vol. 22, No. 1, pp. 208–215, January 2007.
power supply”, Consumer Electronics, Communications [12] J.M. Schellekens, J.L. Duarte, H. Huisman, M.A.M.
and Networks (CECNet), International Conference on , Hendrix, “High-precision current control through
pp.4894-4897, April 2011. opposed current converters”, in Proc. of EPE, 2011.
[7] F. Jenny, M. Emmenegger, “A Fully Digital PWM for [13]Y. Qiu, J. Li, M. Xu, D. S. Ha, F. C. Lee, “Proposed
Highest Precision Power Supplies”, in Proc. of EPE, DPWM Scheme with Improved Resolution for
2001. Switching Power Converters”, in Proc. of APEC, pp.
[8] J. A. Pomilio, D.Wisnivesky e A.C.Lira, “A Novel 1588-1593, 2007.
Topology for the Bending Magnets Power Supply at [14]C. Rodrigues, A. R. Silva, “A Bipolar Dc Power Supply
LNLS”, IEEE Trans. on Nuclear Sciences, Vol. 39, no. Using Full-Bridge Topology As Active Shunt For
5, pp. 1506-1511, October 1992. Magnets”, in Proc. of COBEP, pp. 693-697, 2009.
[9] C. Rodrigues, A. R. Silva, L. H. Oliveira, “A New [15]S. Buso, P. Matavelli, Digital Control in Power
Family Of Power Supplies For The Lnls Orbit Electronics, Morgan and Claypool Publishers, USA,
Correctors”, in Proc. of PAC, pp. 146-148, 2007. 2006.
[10]C. Rodrigues, A. R. Silva, “A New Model Of Bipolar [16]A. V. Peterchev, S. R. Sanders, “Quantization resolution
Power Supplies For Lnls Steering Magnets Using Full- and limit cycling in digitally controlled PWM
Bridge Topology”, in Proc. of COBEP, pp. 1004-1008, converters”, IEEE Transactions on Power Electronics,
2011. Vol. 18, no. 1, pp. 301–308, January 2003.
[11] H. Peng, D. Maksimovic, A. Prodic and E. Alarcon,
“Modeling of quantization effects in digitally controlled

Das könnte Ihnen auch gefallen