Sunteți pe pagina 1din 4

2014 IEEE 28-th Convention of Electrical and Electronics Engineers in Israel

Implementation of a High Voltage Power Supply


With The Matlab/Simulink Embedded Coder
Liran Katzir, Yakir Loewenstern, Bishara Bishara and Doron Shmilovitz
School of Electrical Engineering
Tel-Aviv University
Israel

Abstract—An implementation of a high voltage power supply compared to an unregulated high voltage power supply.
with a voltage multiplier using a DSP-based controller is pro-
posed. The DSP controller is used to close the feedback loop II. H ALF WAVE C OCKROFT-WALTON VOLTAGE
from the output voltage to the PWM signals of the power stage. M ULTIPLIER
By using the MATLAB/Simulink embedded coder design time is
greatly reduced and errors are far less likely to manifest. The In the Half Wave Cockroft Walton (HWCW) voltage multi-
design, consisting of a DSP controller, does not require addi- plier, shown in Fig. 1, the output DC voltage is distorted, and
tional components and is simple compared to more conventional shows a voltage drop of ∆V0 and a ripple of 2δV
analog control techniques. Experimental results using the Texas
Instruments (TI) DSP TMS320F28335 Microcontroller show a I 1 2 3 n
δV = ( + + + ··· + ) (1)
rapid convergence and good real-time behavior. For example, 2fs C1 C2 C3 Cn
the output of a 12-link multiplier with a rise time lower than
5mS and a low ripple of under 0.1% is actively corrected by the where I is the output current, Ci is the capacitance of the
digital feedback loop. i-th stage and fs is the switching frequency of the AC power
Index Terms—High Voltage, HVDC, Half Wave Cockcroft- supply. Assuming equal capacitors in all stages (C1 = C2 =
Walton. C3 = · · · = Cn = C), the ripple is given by Eq. (2) and the
voltage drop by Eq. (3).
I. I NTRODUCTION
I n(n + 1)
High voltage power supplies are widely used in many δV = (2)
Cfs 4
industry applications, such as scanning electron microscopy,  3
n2

medical X-ray imaging and particle filtering systems, to name I 2n n
∆V0 = + − (3)
just a few [1]-[5]. The use of a very high turn ratio transformer fs C 3 2 6
to achieve the high voltage is limited by its large leakage Thus, the output voltage of a HWCW voltage multiplier
inductance and parasitic capacitance [6]. Therefore, voltage circuit can be calculated as a function of the amplitude of the
multiplier circuits are commonly used to attain high voltages. ac input voltage, Vamp :
The Half-Wave Cockcroft-Walton voltage multiplier (HWCW)
is the most commonly used voltage multiplier because it Vout = 2nVamp − ∆V0 =
provides the advantages of high voltage boosting (applicable I 2n3 n2 n (4)
= 2nVamp − ( + − )
to the 10’s kV range), is compact, causes low voltage stress fs C 3 2 6
on the diodes and capacitors, and is cost efficient [7]. Eq. (4) reveals that additional stages to the HWCW circuit
Power supplies for medical devices such as an X-ray gen- that should increase the output voltage also increase the
erator need to supply high voltage and high power for very voltage drop, till the point where additional stages will no
short time intervals. Therefore, in order to meet the stringent longer increase the output voltage but reduce it. Finding the
requirements of X-ray applications the dynamic response of maximum voltage output of a HWCW circuit is attained as in
the power supply must be very fast. The output voltage must Eq. (5)
reach its steady state within a very short time interval, usually
around 10 msec, to avoid noise or defects in X-ray the ∂Vout I 1
= 2Vamp − (2n2 + n − ) = 0 (5)
image for various load conditions[3][4]. For this paper, we ∂n fs C 6
implemented a DSP-based-controller approach for reducing From Eq. (5), the maximum number of stages to be used
design time of the HWCW voltage multipliers and improving for a given system can be approximated (if n > 4) as
the output ripple. The TI TMS320F28335 Microcontroller with r
the MATLAB/Simulink embedded coder is used for real-time Vout fs C 1
nmax = + (6)
digital feedback and system control. I 12
Initial experimental results show a a fast settling time To reduce the output ripple, it is necessary to increase either
of under 5mS and a reduction of over 80% of the ripple the switching frequency or the capacitance of the multiplier.
Fig. 1. Example of a HWCW voltage-multiplier

Increasing the switching frequency is often problematic as it


increases the switching losses, while increasing the capaci-
tance of the multiplier is expensive and makes the circuit Fig. 2. PWM signals for a full-bridge %100 phase-shift during power-up
bulkier. Another way to reduce the output ripple is to use a fast
feedback loop, usually at at-least ten times the base switching
frequency, thus correcting the output ripple in real time. This
can be accomplished using a DSP-based controller to process
feedback samples at high frequency.

III. T HE TMS320F28335 DSP M ICROCONTROLLER


The TMS320F28335 is a Digital Signal Controller with
integrated Analog to Digital converters (ADC), Digital Sig-
nal Processing capabilities and High-Resolution Pulse Width
Modulators (HRPWM). The DSP operates with core frequency
of 150 MHz. The ADC samples the output signal at a
12.5Msps rate, calculates an average of 8 samples to get a
better SNR than that obtained by direct sampling and uses
the HRPWM to drive the full-bridge power stage of the
Fig. 3. PWM signals for a full bridge %53.6 phase shift during stady-state
high voltage multiplier. Thus it is possible to use a high- Operation
voltage power supply with a 100KHz switching frequency
and the feedback loop will still be at least ten times faster.
The controller samples the output voltage through a feedback power HWCW voltage multiplier requires both a fast dynamic
resistor and an isolation amplifier, compares it to the required response and the control of 4 individual , with both dead-time
voltage output and generates the PWM signals for the full- and phase shift real-time control.
bridge power stage. The full-bridge power stage operates by a The Full-Bridge Phase-shifted PWM converter has found
phase-shift concept, where the V rms output of the full-bridge many applications in design of high power-density power
is controlled by a phase-shift between two half-bridges. supplies due to its zero-voltage-switching (ZVS) and simple
Fig. 2 and 3 show the PWM signals generated by the control characteristics[11]. This converter topology permits
TMS320F28355 controller for the phase-shift operation. Fig. all switching devices to operate under ZVS by using circuit
2 displays the signals for a 100% shift which is common parasitics to achieve resonant switching. To guarantee ZVS
during power-up and full-load operation, while 3 shows the operation, a proper determination of the dead time between the
PWM signals during normal operation, in this case with a upper and lower switching devices is important. The phase-
5M Ω load. It should be noted that during normal operation shift between the switching components of the full-bridge can
the phase-shift is constantly moving around the steady-state be used to control the output voltage.
level to compensate for the ripple. To simplify the design we implemented the control al-
gorithm in MATLAB and designed the ADC and PWM
IV. M ATHLAB /S IMULINK E MBEDDED C ODER in Simulink. The MATLAB/Simulink embedded coder is
The TMS320F28355 controller is generally programed us- able to generate ANSI/ISO C/C++ code that can be com-
ing dedicated software from TI, the ”Code Composer Studio” piled and executed on microcontrollers, and specifically the
(CCS)[12]. However, it is quite difficult to design complex TMS320F28335, using Code Composer Studio software be-
systems such as closed-loop feedback or a multiple-PWM hind the scenes. The embedded coder allows users to easily
control scheme directly in the code composer studio. The configure code generated by the MATLAB and Simulink
required reduction of the output ripple using a full-bridge algorithms and makes it easier to design and implement the
feedback loop and the PWM signals driving the power-stage.
Fig. 4 shows the top level of the MATLAB/Simulink used in
designing the suggested system, including the ADC sampling
and scaling, processing of the samples to obtain a higher
SNR, the controller implementation including the output over-
voltage and over-power protection, and finally, the control
algorithm for the dynamic PWM siganls.

Fig. 5. The system under test, n=12, RLoad=100 M,

and compared to the convectional HWCW. The resultds show


that the voltage ripple was considerably lower than the regular
open looped HWCW multiplier, especially under a high output
current. For example, with a 5M Ω load, the ripple of a 12-
Fig. 4. The control and feedback loop for the Full-Bridge power stage
link multiplier fed by an AC input of 500V was 312V . By
implemented in Mathlab/Simulink using the DSP and closed-loop feedback the output ripple was
reduced to lower than 15V.

TABLE I VI. C ONCLUSIONS


D ETAILS OF THE EXPERIMENT
A high-voltage power supply, using a voltage multiplier con-
Full-Bridge power stage
trolled by a DSP-based controller was presented. The closed
feedback loop was implemented by sampling the output,
Frequency 100kHz
processing in the controller and correcting by manipulating
Duty 50-100% the PWM phase-shift signal. The design was done using using
Dead time 200ns the MATLAB/Simulink embedded coder, greatly reducing the
Power Transformer design time. The design is relatively simple and can be im-
Core 3F3 plemented using a low cost controller. Experimental results of
the high voltage power supply using the DSP TMS320F28335
Ratio 1:30
Microcontroller from TI show a a good convergence and real-
Voltage Multiplier
time behavior with a large reduction of output ripple.
Diode Vishay GP02-30
Cap 1nF , 3kV ACKNOWLEDGMENT
High Voltage Probe The authors would like to thank Texas Instruments for their
Tektronix P6015A generous donation of DSP controllers and educational kits for
the Energy Conversion Lab, School of Electrical Engineering,
DSP Controller
Tel-Aviv University.
Teaxes Instruments TMS320F28335
R EFERENCES
V. E XPERIMENTAL R ESULTS [1] H. Hino, T. Hatakeyama, and M. Nakaoka, ”Resonant PWM Inverter
Linked DC-DC Converter using Parasitic Impedance of High-Voltage
An experimental setup consisting of a 12-link voltage mul- Transformer and its Applications to X-ray Generator,” Proceedings of
tiplier was constructed and tested. The input stage consisted IEEE PESC, 1988, pp. 1212-1219.
[2] V. Garcia, M. Rico, J. Sebastian, M. M. Hernando, and J. Uceda, ”An
of a full-bridge phase-shift converter with ZVS characteristics Optimized DC-to-DC Converter Topology for High-Voltage Pulse-Load
feeding a high-frequency isolation transformer and the voltage Applications,” Proceedings of IEEE PESC, 1994, pp. 1413-1421.
multiplier. The details of the experiment are given in Table I, [3] J. Sun, H. Konishi, Y. Ogino, and M. Nakaoka, ”Series resonant high
voltage ZCS-PFM, DC-DC converter for medical power electronics,” in
and a photograph of the setup is shown in Fig. 5. Proc. IEEE 31st Annu. Power Electron. Spec. Conf., Galway, Ireland,
The DSP-based controller monitors and corrects the output vol. 3, Jun. 1823, 2000, pp. 12471252.
voltage. As the control loop is much faster than the base [4] S. Iqbal, G. K. Singh, and R. Besar, ”A dual-mode input voltage
modulation control scheme for voltage multiplier based X-ray power
switching frequency, the output ripple can be actively reduced. supply,” IEEE Trans. Power Electron., vol. 23, no. 2, pp. 10031008, Mar.
The setup was tested under two loads, 5M Ω and 100M Ω 2008.
[5] D. F. Spencer, R. Aryaeinejad, and E. L. Rebel, ”Using the CockcroftWal-
ton voltage multiplier with small photomultipliers,” IEEE Trans. Nuclear
Sci., vol. 49, no. 3, pp. 11521155, Jun. 2002.
[6] B. P. Israelsen, J. R. Martin, C. R. Reeve, and V. S. Scown, ”A 2.5
kV High-Reliability TWT Power Supply : Design Techniques for High
Efficiency and Low Ripple,” Proceedings of IEEE PESC, 1977, pp. 212-
222.
[7] S. D. Johnson, A. F. Witulski, and R. W. Erickson, ”Comparison of
Resonant Topologies in High-Voltage DC Applications,” IEEE Trans. on
Aerospace and Electronic System, pp.263-274, 1988.
[8] E. Kuffel and W. S. Zaengl, High Voltage Engineering Fundamentals.
New York: Pergamon International Library, 1984, ch. 2.
[9] F. Hwang, Y. Shen, and S. H. Jayaram, ”Low-ripple compact high-voltage
DC power supply,” IEEE Trans. Ind. Appl., vol. 42, no. 5, pp. 11391145,
Sep./Oct. 2006.
[10] Kobougias, I.C.; Tatakis, E.C., ”Optimal Design of a Half-Wave Cock-
croftWalton Voltage Multiplier With Minimum Total Capacitance,” Power
Electronics, IEEE Transactions on , vol.25, no.9, pp.2460,2468, Sept.
2010.
[11] Takano, H.; Takahashi, J.; Hatakeyama, T.; Nakaoka, M., ”Feasible
characteristic evaluations of resonant tank PWM inverter-linked DC-
DC high-power converters for medical-use high-voltage application,”
Applied Power Electronics Conference and Exposition, 1995. APEC ’95.
Conference Proceedings 1995., Tenth Annual , vol., no.0, pp.913,919
vol.2, 5-9 Mar 1995
[12] http://www.ti.com/tool/ccstudio

S-ar putea să vă placă și