Access to this full-text is provided by MDPI.
Content available from Electronics
This content is subject to copyright.
electronics
Article
A Low-Cost, High-Precision Method for Ripple
Voltage Measurement Using a DAC and Comparators
Jincheng Liu 1, Jiguang Yue 1, Li Wang 1,∗, Chenhao Wu 1and Feng Lyu 2
1College of Electronic and Information Engineering, Tongji University, No. 4800, Cao’an Highway,
Shanghai 201804, China; 1730755@tongji.edu.cn (J.L.); yuejiguang@tongji.edu.cn (J.Y.);
1152448@tongji.edu.cn (C.W.)
2School of Ocean and Earth Science, Tongji University, No. 1239, Siping Road, Shanghai 200092, China;
lf@tongji.edu.cn
*Correspondence: 2015wangli@tongji.edu.cn; Tel.: +86-021-6598-9241
Received: 1 May 2019; Accepted: 23 May 2019; Published: 27 May 2019
Abstract:
As the core of electronic system, the switched-mode power supply (SMPS) will lead
to serious accidents and catastrophes if it suddenly fails. According to the related research,
the monitoring of ripple can acquire the health degree of SMPS indirectly. To realize low-cost,
high-precision, and automatic ripple measurement, this paper proposes a new ripple voltage
(peak-to-peak value) measuring scheme, utilizing a DAC and two high-speed comparators. Within
this scheme, the DC component of SMPS output is blocked by a high-pass filter (HPF). Then, the
filtered signal and the reference voltage from a DAC together compose the input of a high-speed
comparator. Finally, output pulses of the comparator are captured by a microcontroller unit (MCU),
which readjusts the output of the DAC by calculation, and this process is repeated until the DAC
output is exactly equal to the peak (or valley) value of ripple. Moreover, in order to accelerate the
measurement process, a peak estimation method is specially designed to calculate the output ripple
peak (or valley) value of buck topology through merely two measurements. Then the binary search
method is utilized to obtain a more exact value on the basis of estimative results. Additionally, an
analysis of the measurement error of this ripple measurement system is executed, which shows that
the theoretical error is less than 0.5% where the ripple value is larger than 500 mV. Furthermore,
appropriate components are selected, and a prototype is manufactured to verify the validity of the
proposed theory.
Keywords:
ripple voltage measurement; DAC; comparator; peak-ripple estimation; binary search;
low-cost
1. Introduction
Switched-mode power supply (SMPS) is widely applied due to the advantages of low power
consumption and high efficiency [
1
]. However, SMPS may lead to serious accidents and catastrophes
if it suddenly fails. Among the components used in SMPS, aluminum electrolytic capacitors (AECs)
have the shortest life and are the most common source of failure [
2
–
6
]. During the period of usage,
the performance of AECs will degrade continuously until the whole power system fails. A decreased
capacitance value and increased equivalent series resistance (ESR) is the major feature of the AECs’
degradation [
7
,
8
]. Therefore, the health degree of the SMPS can be obtained by the real-time monitoring
of AEC parameters (capacitance or ESR), which also contributes to preventive maintenance and the
indication of future failure occurrences.
According to differences in data acquisition, the current research achievement of using ripple
to evaluate the health state of AECs can be summarized as the indirect calculation of ripple through
Electronics 2019,8, 586; doi:10.3390/electronics8050586 www.mdpi.com/journal/electronics
Electronics 2019,8, 586 2 of 16
simulation software [
9
–
11
], the offline computing from sampled data [
12
], AEC parameter calculation
based on the mathematical model of a particular topology and some specific measurement value
(voltage or current) [
13
–
19
], and direct measurement of ripple through high-cost oscilloscopes,
data acquisition cards, or high-speed analog-to-digital converters (ADCs) [
20
–
23
]. Nevertheless,
the developed methods are rarely adopted in practical industry applications due to the increased
cost, complexity, and other relevant issues [
8
,
24
]. In practice, the method using specific topology
mathematical models to indirectly obtain the ripple (or ESR) presents low generality and a
measurement precision that highly depends on the accuracy of components. The use of a high-speed
ADC or oscilloscope is restricted in the laboratory and hard to popularize because of the high cost of
data acquisition.
Compared to other health-monitoring methods, calculating the ESR with ripple values has an
intuitive feature and does not require complicated calculations. Figure 1shows the principle of ripple
generation in a common buck topology. That is, the high-frequency pulse-width modulation (PWM)
signal causes voltage fluctuations of the same frequency, which cannot be completely filtered by the
subsequent filter circuit, thus generating high-frequency ripple at the output. Due to the high frequency
of the PWM, the impedance of the output AEC is almost equal to the impedance of its ESR at this
frequency. Therefore, when the load is constant, the relationship between the ripple value and the
ESR is approximately proportional, which indicates that the remaining life of the AECs can be easily
obtained from ripple. However, in order to accurately measure high-frequency ripple, high-speed
ADCs with sampling rates far exceeding the switching frequency must be used, which makes the
relevant research not able to be applied to industrial applications such as built-in test (BIT) due to the
high cost of data acquisition. Thus, it is of significance to focus on the technology of common low-cost,
high-precision measurement of ripple wave.
RL
D1
L1
VT1Vpp (ripple)
vout
Vsw
t
t
ESR
filter
circuit
C
C1
Figure 1.
The occurrence of ripple in switched-mode power supply (SMPS) (taking buck topology as
an example).
When built-in test (BIT) is required for health monitoring based on ripple measurement,
researchers always turn to other low-cost instruments. Therefore, several special ripple measurement
schemes have been designed. Some studies focus on root mean square (RMS) measurements, one of
which is to measure ripple by AC millivoltmeter [
25
]. Le provides another scheme based on RMS-to-DC
chips [
26
]. Since the ripple voltage is not a standardized sinusoidal signal, the deteriorate degree of
its spike could not be purely obtained by RMS measurement, thus the schemes above have not been
widely applied.
Since ripple voltage could be measured by obtaining both peak and valley values, there exist
various approaches to acquire the peak value. The well-known basic peak value detector is a solution
convenient to implement; however, it is limited by bandwidth and is vulnerable to transient changes
in tested SMPS. Some related studies have made improvements regarding. Jerry proposed an analogy
peak measurement circuit, but it could not obtain the accurate value of ripple and only determined
whether there was ripple beyond a fixed reference value [
27
]. Zhou offered an implementation of
Electronics 2019,8, 586 3 of 16
ripple testing by specific peak detecting chips, but its low bandwidth increases measurement error [
28
].
Smith proposed an improved peak measurement method by adding a high-speed comparator with
open-drain output. It has the property of ameliorative accuracy at high frequency without diode,
but it fails to acquire the valley voltage [
29
]. Ren proposed a method to measure the peak-to-peak
value of a periodic signal [
30
]. In this scheme, the input periodic signal and a reference signal from a
digital-to-analog converter (DAC) constitute both inputs of the comparator, whose output is captured
by an MCU used for adjusting the DAC value by a binary search method. After multiple operating
cycles, the DAC output could gradually approximate to the peak or valley values of the input signal.
But it is only designed for power frequency AC measurement; in this case, the convergence is too slow.
The authors did not conduct either simulation or practical experiments.
Under constant load, the SMPS output ripple can be regarded as a periodic signal. This paper
proposes some improvements and realizes low-cost peak-to-peak ripple measurement. The contributions
of this study include: the design of the ripple measurement system, the analysis of the measurement error,
and the proposal of an optimization algorithm with a higher convergence speed according to the shape
characteristics of the ripple signal. The experimental results indicate that the measurement error of this
designed system is less than 0.5% with 20 ms consumption where the ripple value is larger than 500 mV,
which completely satisfies the requirements of engineering applications and scientific research.
2. Ripple Measurement Scheme and Error Analysis
The ripple value of SMPS could be acquired by an expensive high-speed ADC. However, the high
price makes it difficult to apply in BIT. This study provides a new scheme to cut down the expense
by replacing the ADC with two high-speed comparators and adding a DAC to generate the reference
voltage (one DAC is capable of measuring the peak and valley of a ripple at different moments and one
high speed comparator is also enough with utilizing an analog switch). This method ensures accuracy
with cost reduction. The designed ripple measurement system consists of four modules: high-pass
filter (HPF) circuit, peak measurement, valley measurement, and MCU feedbacks. The block diagram
of ripple measurement and the inner signals of peak measurement are shown in Figure 2. And the
waveforms of key nodes are shown in Figure 3.
'LJLWDOWRDQDORJFRQYHUW'$&6XEWUDFWLRQFLUFXLW+LJKVSHHGFRPSDUDWRU'$&+LJKSDVVILOWHU+3)+LJKVSHHGFRPSDUDWRU0LFURFRQWUROOHUXQLW0&8SMPS output
Valley
measurement
Peak
measurement
results
(d)
(c)
(a)
(b)
Figure 2. Block diagram of peak measurement and some inner signals.
Figure 3c shows that the input signal originating from the output of the SMPS contains a high
DC bias and an AC ripple. In the first step, an HPF is used to filter out the DC component. Ideally,
the high-frequency ripple signal is hardly affected, while the DC voltage is completely eliminated.
The filtered ripple voltage is shown in Figure 3b.
Electronics 2019,8, 586 4 of 16
0
00
(a) (b)
(c) (d)
t
0
u
Cycle 1 Cycle 2
Cycle 1 Cycle 2
u
u
u
t
t
t
Figure 3.
Waveform of key nodes in Figure 2. (
a
) The DAC output, with constant voltage in each
feedback cycle. (
b
) The HPF output, only maintaining an AC ripple. (
c
) The SMPS output, containing a
high DC bias and an AC ripple. (
d
) The output of comparator, providing a periodic pulse in most cases.
The workflow of the measurement system is somewhat similar to the ADC with a successive
approximation register (SAR). Each measurement requires several feedback cycles for convergence.
During a certain feedback cycle, as illustrated in Figure 3a, the DAC output voltage is constant and
combines with the ripple signal to compose the input of the high-speed comparator. When the DAC
output is lower than the peak, the high-speed comparator provides a periodic pulse, as shown in
Figure 3d, otherwise it remains low (this situation is not shown in Figure 3). Once any periodic pulse
is captured by the MCU, it increases the DAC output to approximate the peak. Otherwise, it drops the
DAC value. The MCU repeats the above procedure until it cannot capture the pulse exactly, when the
output of the DAC is highly equal to the peak voltage of the ripple.
As shown in the block diagram, the measurement system mainly includes an HPF, high-speed
comparator, and DAC (with its reference source). The circuit design and the error analysis of each part
are introduced below.
2.1. High-Pass Filter (HPF)
The HPF is used to block the DC component of SMPS. However, before the DC-blocking capacitor
C1
has been charged, the high DC voltage may damage the comparator and MCU. Therefore, the protection
diode
D1
should be added. In order to provide a discharge path for
C1
after the input switches off,
the resistor R1should be placed in the circuit. The modified HPF diagram is shown in Figure 4a.
Vs
CjCiRi
R1
C1
D1R1
C1
ViVc
(a) (b)
From DAC
Vc
Vi
TL311 6
Figure 4. HPF diagram, (a) the actual components, (b) the parasitic parameters of components.
By setting the component values properly, the input DC element can be completely filtered
out, while the AC element can be fully reserved. However, as Figure 4demonstrated, the parasitic
Electronics 2019,8, 586 5 of 16
parameters such as the input impedance of the subsequent high-speed comparator and the parasitic
capacitance of the protection diode would introduce a small attenuation to the input signal. Since the
impedance of
Ri
is much larger than that of
Cj
and
Ci
, the HPF transfer function would be
approximately expressed as follow
vc=
1
jw(Ci+Cj)
1
jwC1+1
jw(Ci+Cj)
·vi, (1)
vc=C1
C1+Ci+Cj
·vi, (2)
vc= (1+δhp f )·vi, (3)
where
δhp f =−Ci+Cj
C1+Ci+Cj
. (4)
The high-pass filter
δhp f
is independent of frequency, hence the peak value of the input voltage
vip and the peak value of the filtered signal have similar expressions compared to Equation (3)
vcp = (1+δh p f )·vi p. (5)
Since the exact values of
Cj
and
Ci
are difficult to obtain, the system error of the HPF circuit is
hard to correct and is added in
δhp f
, which get its maximal value when
C1
turns to minimal and
Ci
and Cjto maximal.
2.2. High-Speed Comparator Circuit
The measurement error caused by the comparator mainly includes two aspects: one part is
affected by the frequency of the input signal and the bandwith of the comparator, and the other is
derived from the manufacturing characteristics of different input transistors of comparators,which may
not be exactly matched. By choosing the high-speed comparator with a cut-off frequency much higher
than the ripples’, the error caused by the ripple frequency can be ignored. Then the latter component,
which is represented by the input offset voltage vo f f se t, can be considered as the dominated error.
The two input signals of the comparator come from the DAC and HPF, respectively. Each filtered
signal peak
vcp
corresponds to a threshold point. If the DAC output crosses the point, the comparator
output flips.
vth =vcp +vo f f set (6)
vth = (1+δcm p)·vcp , (7)
where
δcmp =vo f fs et
vc. (8)
2.3. DAC Circuit
The digital signal from the MCU is converted into analog quantity by a DAC, which requires a
input reference voltage (
vre f
) to operate properly. Given a digital signal M, the ideal output voltage of
a DAC is
vdac_ideal =M
2N·vre f . (9)
Electronics 2019,8, 586 6 of 16
Since Mis a discrete value, vdac_ideal may not be totally equal to vt h. Given the assumption that
vth =m
2N·vre f , (10)
then Mis the integral part of m, and hence it generates quantization error δq.
M= [m] = m·(1+δq), (11)
where
|δq|<1
m. (12)
The conversion accuracy of the DAC circuit is affected by a series of factors. For example, the input
reference voltage (
vre f
) is generated by a reference source with a subtle error. The DAC characteristics
such as integral nonlinearity and DAC differential nonlinearity also reduce the accuracy. Generally,
the DAC error is 2 or 3 times its least significant bit (LSB). Let Nstand for the number of DAC bits and
Kstand for the LSBs of the DAC error. The DAC output vd ac would be derived as follows:
vdac =M+K
2N·(vre f +∆vre f ), (13)
vdac = (1+δdac)(1+δre f )·M
2N·vre f , (14)
where
δdac =K
M, (15)
δre f =
∆vre f
vre f
. (16)
2.4. Total Error
When the digital signal Mmeet the threshold point, the measure ripple
vm
could be calculated by:
vm=M
2N·vre f (17)
On the basis of Equations (4), (8), (12), (15), and (16),
vm= (1+δhp f )(1+δcmp)(1+δq)(1+δdac)(1+δre f )·vi p . (18)
Since
δhp f
,
δcmp
,
δq
,
δdac
, and
δre f
are much smaller than 1, the total error could be approximately
expressed as
vm= (1+δ)vip, (19)
where
δ≈δq+δdac +δre f +δcm p +δh p f . (20)
In the valley measurement, in order to generate a negative reference voltage, the DAC output is
processed by a subtractor that contains an operational amplifier (OPA). In this study, the error of a
high-precision OPA with an offset voltage is much smaller than the error of the selected high-speed
comparator, hence the subtractor error could be negligible.
Referring to Equations
(8)
and
(12)
, the total measurement error is related to the ripple amplitude.
The larger the ripple value is, the smaller the measurement error. In the case that the ripple is too small,
a special amplifying circuit is required, which is not mentioned in this paper.
Electronics 2019,8, 586 7 of 16
Consider the traditional measurement scheme, i.e., using a high-speed ADC to directly sample the
HPF output signal. Similar to the derivation of Equation
(20)
, the measurement error of a high-speed
ADC scheme can be described as follows:
δadc =δhp f +δq+δadc +δref , (21)
where
δhp f
,
δq
,
δadc
, and
δre f
have similar expressions to Equations
(4)
,
(12)
,
(15)
, and
(16)
, respectively.
But high-speed ADC is generally with 8 or 10 bits, which is less than the slow-speed DAC, leading to a
greater quantization error
δq
and ADC internal error
δadc
. The exact value of the errors will be further
discussed in the section on experiment verification.
3. Ripple Waveform Analysis
The measurement error of this design is determined by the components, and the measurement
speed can be improved by using some prior information. In some applications, such as predicting the
remaining life of SMPS by ripple value, the information about the topology of SMPS and the ripple
waveform characteristics are already known, which can contribute to the feedback cycle reduction. This
paper takes the typical buck converter topology as an example. Its output ripple can be approximated
as a triangular wave in continuous current mode (CCM). Then the output signal of an HPF can be
described as follows:
vc=(vmin +k1·t0≤t<DT
vmax +k2(t−DT)DT ≤t<T,(22)
where
vmin
and
vmax
are the minimum and maximum value of
vc
, respectively, Tis the switching
period of the SMPS to be measured, Dis the duty ratio, and
k1
and
k2
are the rising and falling slopes
of the approximated triangular wave, respectively. Since
vc
has only AC components, the triangular
waves are symmetrical, and the ripple signal is periodic, we can obtain following expressions:
vmin =−vma x, (23)
vc(0) = vc(T) = vmin , (24)
vc(DT) = vmax. (25)
Referring to Equations (22)–(25), we can obtain
k1
k2
=D−1
D. (26)
Moreover, the mathematical expression of the comparator output is as follows:
yc=(1v+>v−
0v−>v+,(27)
where
v+
and
v−
are the comparator’s noninverting and inverting inputs, respectively. The comparator
can produce a square wave under the condition that Equation
(28)
is satisfied. Otherwise, it either
remains high or remains low.
vmin ≤vdac ≤vmax . (28)
The square wave in a single cycle is described as follows:
yc=
0 0 <t<vdac −vmin
k1
1vdac −vmin
k1
<t<vdac −vmax
k2+DT
0vdac −vmax
k2+DT <t<T.
(29)
Electronics 2019,8, 586 8 of 16
In combination with Equations
(22)
–
(29)
, the high duration
th
of the output signal is derived
as follows:
th=(k1−k2)(vdac −vmax)
k1k2
. (30)
If the DAC’s two output values
vdac1
and
vdac2
both satisfy Equation
(28)
and their corresponding
high-level durations are th1and th2, they correspond to the relationship
tk1
tk2
=vdac1−vmax
vdac2−vmax , (31)
vmax =vdac th2−vdac2th1
th2−th1
. (32)
Equation
(32)
means only two cycles are required for the peak measurement of buck topology,
but it is not recommended that it be directly applied because it enlarges the measurement error.
The practical measurement algorithm will be discussed in the next section. The principle of valley
measurement is similar to peak measurement, and the details will not be described here.
4. Algorithm Design
In order to converge the DAC output to the ripple peak rapidly and accurately, the MCU should
capture the output pulses of the high-speed comparator and adjust the DAC output according to
a certain method. For example, binary search is an available algorithm that updates one DAC bit
at each iteration to narrow the search region. Hence, the iterative cycles are equal to the DAC bits,
that is, the higher DAC accuracy it achieves, the greater number of iterations it costs. The required
time for an iteration contains three parts: pulse capturing, instructions transmission, and setting
time of DAC output. The first is the dominant cost, which is always several dozen times higher
than the ripple period for reducing the random error. Therefore, a faster measurement can be
realized by reducing the cycle number or cutting the waiting time in each iteration. According
to Equation
(32)
, only two measurements are necessary to calculate the peak voltage. However, there
is an estimated error since the ripple is not completely equivalent to the triangular wave and the
pulse width measurement also introduces quantization errors. Therefore, a new algorithm based on
the triangular wave approximation and the binary search is proposed here. The algorithm not only
improves the convergence speed but also guarantees measurement accuracy. Firstly, the algorithm
estimates the approximate peak value by two measurements. Secondly, the algorithm determines the
upper and lower bounds of the peak in the vicinity of the estimated value. Finally, the binary search
is used to ensure the converge of DAC output to the peak of the ripple. The flowchart is shown in
Figure 5, and the details of three steps are introduced below and shown in Figure 6.
Electronics 2019,8, 586 9 of 16
2EWDLQWKHDYHUDJHRIWKHULSSOHGGDF GEHJLQ3XOVHZLGWKPHDVXUHPHQW6HOHFWWKH'$&RXWSXWGGDF G(VWLPDWHWKHULSSOHYDOXHGDF G,VDQ\SXOVHFDSWXUHG",VDQ\SXOVHFDSWXUHG"ERWWRP GWRS G(VWLPDWHWKHXSSHUERXQG(VWLPDWHWKHORZHUERXQG,VDQ\SXOVHFDSWXUHG",VDQ\SXOVHFDSWXUHG"WRS GERWWRP GGDF WRSERWWRP,VDQ\SXOVHFDSWXUHG"ERWWRP GDFWRS GDFWRSERWWRPWROHUDQFH"ULSSOHYDOXH GDFHQGTwo Measurements
for Estimation
Determine the Upper and Lower
Bound of Binary Search Binary Search
Y Y Y
Y Y
Y
NN N
N N
N
Figure 5. Flowchart of the proposed algorithm.
4.1. Step 1. Estimate the Peak Value by Two Measurements
According to Equation
(32)
, two sets of measurement data that satisfy Equation
(28)
are required
for peak estimation. The first set can be accessed by taking DAC output as the average of ripples
(zero, in most cases). In order to obtain the second data set, an appropriate DAC output should be
selected. If it is too small, the estimated error will be quite large; when it is too large, Equation
(28)
is
not satisfied. Therefore, we take 1/8 of the scale range of DAC output in the initial attempt. If it is
still larger than the peak value, then we continue to take another 1/8 of the last output until the pulse
signal is captured. When the ripple is small, the convergence speed of the algorithm is three times
of the traditional binary search. Then the MCU calculates the ripple peak after obtaining two sets of
measurement data.
4.2. Step 2. Determine the Upper and Lower Bounds of Binary Search from the Estimated Value
The DAC output is set to the estimated value of step 1. If the estimated value is lower than the
ripple peak, the MCU can receive pulses from the comparator briefly. At this time, the above estimation
value can be set as the lower bound of the binary search. Otherwise, the upper bound is acquired.
When the lower bound has already been determined, an empirical constant (for example, 50 mV) is
added to the lower bound as the upper bound. If the value is still smaller than the peak, the MCU then
sets the DAC output as the new lower bound and iterates the process until the MCU fails to capture
the comparator output pulse. In general, the upper bound could be determined without repeated
iterations. The upper bound is determined in the calculation process, which is similar to the case
shown above in Figure 5.
4.3. Step 3. Determine the Peak Value based on Binary Search
When the lower and upper bounds are all determined, the binary search method can be applied
to obtain the DAC output. The DAC output is firstly set to the average value of the two bounds.
During each measurement, if the MCU receives feedback pulses, which means the current DAC output
is smaller than the peak value of the ripple, the lower bound should be updated to the output of the
DAC. Otherwise, the DAC output is too large and the upper bound should be updated. The above
Electronics 2019,8, 586 10 of 16
process is repeated until the distance of both bounds is smaller than the tolerance, then we eventually
obtain the ripple voltage.
The differences in peak measurement between binary search and the proposed method are shown
in Figure 6. Generally, Step 1, Step 2, and Step 3 take 2 or 3 cycles, 2 or 3 cycles, and 4 or 5 cycles,
respectively. It is obvious that the required time will be significantly reduced. As previously mentioned,
the waiting time in each cycle can be several dozen times of the period of a ripple to ensure a high
measurement accuracy. Since the first several cycles only aim for a narrow search area rather than
high accuracy, less time (one-quarter of an accuracy cycle) can be allocated in these cycles. As Figure 6
shows, when the shape of a waveform is used in ripple estimation, the measuring time is about three
quarters of the binary search method. On this basis, it can achieve a shorter measurement time by
cutting down the waiting time in the first several cycles because the results of the first several cycles are
only used for peak estimation with lower accuracy requirement. The process of valley measurement is
similar to peak measurement; therefore, the details are not described here.
t
1/2
1/4
3/8
7/16
T1T2T3T4T5T6T7T8T9T10 T11 T12
t
1/8
T1T2T3T4T5T6T7T8T9
T0
T0
Step1 Step2 Step3
(a) binary search method
(b) proposed method
t
1/8
T1T2T3T4T5T6T7T8T9
Udac˄Vref )
T0
Step1 Step2 Step3
(c) proposed method (with shorter waiting time in first several cycles)
Udac˄Vref )
Udac˄Vref )
Figure 6.
The differences between binary search and the proposed method. (
a
) Binary search method,
the requiring measurement cycles are equal to the DAC bits. (
b
) Proposed method, reducing the
measurement cycles by peak estimation (step 1) and bound determination (step 2). (
c
) Further reduction
of measurement time by cutting the waiting time in first several cycles.
Electronics 2019,8, 586 11 of 16
5. Experimental Verification
In order to prove the characteristics of the proposed scheme, a print circuit board (PCB) was
designed for verification. The prototype is demonstrated in Figure 7and the major components are
described in Table 1. The theoretical error calculated by Equation
(20)
is shown in Table 2and is
compared with the error of traditional ADC measurement calculated by Equation
(21)
(assuming that
the internal error of the 8-bit, 10-bit, and 12-bit ADC is 1, 2 and 3, respectively). The results are shown
in Figure 8.
HPF comparator MCU
DAC8216t
under the screen
display screenpower supply
subtraction
TTL
serial port
Figure 7. The prototype.
Table 1. The major components of the prototype.
Component Part Name Major Parameter
MCU STM32F405RGT6 Frequency: 168 MHz
DAC DAC8162t 14 bits, 2 channels
Reference source REF2125 Accuracy: 0.05%
Operational amplifier (OPA) OPA209 Input offset voltage: 150 µV
Resistor SMD resistors Accuracy: 0.05%
Protection diode PESD3V3L5UV Diode capacitance: 22 pF
Filter capacitor Film capacitors Value: 47 nF ±20%
High-speed comparator TL3116
Bandwidth: 100 MHz. Input offset
voltage: 0.5 mV
Table 2. The theoretical measurement errors in different inputs.
Ripple Value (mV) Percentage Error (%) Absolute Error (mV)
20 4.19 0.84
50 1.78 0.89
100 0.97 0.97
200 0.57 1.14
500 0.33 1.65
1000 0.25 2.49
2000 0.21 4.17
4000 0.19 7.54
Electronics 2019,8, 586 12 of 16
20 50 100 200 500 1000 2000 4000
ripple amplitude (mV)
0
0.5
1
1.5
2
2.5
3
3.5
4
4.5
theoretical measurement error (%)
proposed method
12bit ADC
10bit ADC
8bit ADC
Figure 8. The theoretical measurement errors of different methods.
From Figure 8, we see that the error of the prototype based on proposed method is even smaller
than that of the 12-bit high-speed ADC (for the measurement of small signals, an amplification circuit
is necessary to lower quantization error and improve measurement precision, which is not considered
in ADC error calculation). In fact, when the ripple amplitude is above 100 mV, the theoretical error of
the prototype is under 1%, which has an advantage over the majority of oscilloscopes (vertical accuracy
between 3–5%). Due to the lack of high-accuracy ripple measurement equipment, it is difficult to
calibrate the actual measurement error of the prototype. Here, we use another alternative, i.e., utilizing
a WAVESURFER10 oscilloscope with 1% DC vertical error to carry out the comparison experiment.
The experimental environment is shown in Figure 9. The DG1022U signal generator is used to
generate triangular waves of different amplitude, frequency, and duty ratio. The peak-to-peak value is
measured simultaneously by the WAVESERFER 10 oscilloscope and the prototype. The measurement
results are displayed on the screen and sent to the computer for data storage. The differences in
measurement results between the WAVESURFER 10 oscilloscope and the designed prototype are
shown in Figures 10–12. Since the theoretical error of the selected oscilloscope is larger than the
designed prototype, the vertical axis is the “absolute difference” instead of the “measurement error”.
Func�on signal generator
DG1022U
Oscilloscope
WaveSurfer 10
Prototype
Computer
Display and store
measurement results
Figure 9. The experimental environment.
Electronics 2019,8, 586 13 of 16
0.00%
1.00%
2.00%
3.00%
4.00%
5.00%
6.00%
20 50 100 200 500 1000 2000 4000
0
5
10
15
20
25
30
35
Perce ntage difference
Ripple value (mV)
Absolute differe nce (mV)
f=150kHz D=35%
Absolute difference (mV) Percentage difference
Figure 10. The measurement differences for different amplitudes.
Figure 10 demonstrates that the absolute differences in measurement between the two methods
are 1 mV (5%) and 1 mV (2%), respectively, for the 20 mV and 50 mV ripples, which is in accordance
with the theoretical calculation shown in Table 2(with consideration of the oscilloscope error and
resolution, for example, the minimum resolution of oscilloscope is 1 mV). The absolute difference in
measurement results remains 2 mV (2%) in response to the input of a 100 mV ripple, which possibly is
the maximum error from the test equipment and oscilloscope simultaneously, along with opposite
error symbol. Of course, it is also possible that the actual measurement error at this point is greater
than the theoretical value. When the ripple is over 100 mV, the result of the two instruments is vicinal
(the measurement difference is below 1% of the ripple).
0.00%
0.10%
0.20%
0.30%
0.40%
0.50%
0.60%
5 10 20 35 50 65 80 90 95
0
0.5
1
1.5
2
2.5
3
Percentage difference
Ripple duty ratio (%)
Absolute difference (mV)
Vpp=500mV f=150kHz
Figure 11. The measurement differences for different duty ratios.
0.00%
0.10%
0.20%
0.30%
0.40%
0.50%
0
0.5
1
1.5
2
2.5
10 20 40 80 150 300 500
Percentage difference
Absolute difference (mV)
Ripple frequancy (kHz)
Vpp=500mV D=35%
Figure 12. The measurement differences for different frequencies.
Electronics 2019,8, 586 14 of 16
Figure 11 shows a slight difference between absolute errors in measurement results for different
duty ratios (less than the resolution ratio of the oscilloscope in this range, 3 mV). Figure 12 illustrates
the capability of the proposed measurement system for ripples up to 500 kHz.
The above experiments support the following conclusions:
(1)
When the ripple amplitude is under 100 mV, the measurement error of the prototype is consistent
with the theoretical value and smaller than the measurement error of the general oscilloscope (5%).
(2)
When the ripple amplitude is larger than 100 mV, the measurement error of the prototype is also
not smaller than the professional oscilloscope (1%).
(3)
The measurement precision of the proposed system is hardly affected by the variation of both
frequency and duty ratio, which indicates that the designed system can be utilized in extensive
field applications .
Since the period of the ripple is usually less than 0.1 ms, the measurement period was set to
3 ms in the experiment. Experimental results show that if a triangular wave is used as the input
signal, the ordinary binary research method takes 40 ms, the improved method takes 28 ms, and if
the waiting time of the first few cycles is reduced, it only takes 20 ms. In addition, the above methods
have the same measurement error. The experimental results are consistent with the theoretical analysis
(Figure 6), and the results indicate that the measurement speed can be doubled using the improved
method, which is useful in some data-driven applications.
6. Conclusions
Ripple acts as one of the crucial parameters of SMPS, reflecting the operating health status. This
manuscript presents a new ripple measuring scheme that utilizes inexpensive a low-speed DAC and
high-speed comparators, instead of costly high-speed ADCs, and is also characterized by low cost,
high precision, portability, and automation. The operating details and error sources are described, and
a new advanced strategy for ripple measurement cycle reduction is proposed. Both the theory and
experiment show the designed measurement can be utilized in extensive field applications, including
the measurement of ripple under different amplitudes, frequencies, and duty ratios.
Due to the limited cost, the health management of SMPS is mainly realized by monitoring the
voltage and current of the system. In this paper, the ripple value can be obtained at a low cost, so as to
promote the implementation of relevant studies on the health management of SMPS using ripple. This
is of great significance for detecting potential problems in power system operation and preventing
sudden failure accidents. Moreover, the high precision and automation of the proposed method
enables it to be widely applied for the quality testing of SMPS and other engineering fields.
7. Patents
Patents for the research results of this paper have been applied for in China, the patent number is
201810330485.9 and is currently in the publicity period.
Author Contributions:
Conceptualization, J.L. and J.Y.; Data curation, J.L.; Funding acquisition, F.L.; Resources,
L.W.; Software, J.L.; Writing—original draft, C.W.; Writing—review & editing, C.W.
Funding:
This research was funded by the Shanghai Science and Technology Innovation Action Plan under Grant
No. 16DZ1205000.
Acknowledgments:
The authors would like to acknowledge the support from the School of Ocean and Earth
Science in Tongji University under the project “Research on the power system of large-scale scientific cabled
seafloor observatory networks”. The authors also wish to express their sincere thanks to the editors and
anonymous reviewers for their valuable opinions and contributions.
Conflicts of Interest:
The authors declare no conflict of interest. The funders had no role in the design of the
study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to
publish the results.
Electronics 2019,8, 586 15 of 16
References
1.
Farjah, E.; Givi, H.; Ghanbari, T. Application of an efficient Rogowski coil sensor for switch fault diagnosis
and capacitor ESR monitoring in nonisolated single-switch DC–DC converters. IEEE Trans. Power Electron.
2016,32, 1442–1456. [CrossRef]
2.
Lahyani, A.; Venet, P.; Grellet, G. Failure prediction of electrolytic capacitors during operation of a
switchmode power supply. IEEE Trans. Power Electron. 1998,13 1199–1207. [CrossRef]
3.
Nakao, H.; Yonezawa, Y.; Sugawara, T. Online evaluation method of electrolytic capacitor degradation for
digitally controlled SMPS failure prediction. IEEE Trans. Power Electron. 2018,33 2552–2558. [CrossRef]
4.
Bhambra, J.K.; Perinpanayagam, S.; Taurand, C.; Peyrat, S. Health monitoring of POL converter using digital
PWM controller. In Proceedings of the 8th IEEE Symposium on Diagnostics for Electrical Machines, Power
Electronics & Drives, Bologna, Italy, 5–8 September 2011.
5.
Hofmeister, J.P.; Wagoner, R.S.; Taurand, C.; Goodman, D.L. Prognostic health management (PHM) of
electrical systems using condition-based data for anomaly and prognostic reasoning. Chem. Eng. Trans.
2013
.
Available online: https://www.ridgetopgroup.com/wp-content/uploads/2015/07/236_Paper_final_Milan.
pdf (accessed on 30 April 2019)
6.
Lifeng, W.; Yinyu, D.; Shihong, Z. Effect of Electrolytic Capacitors on the Life of SMPS. J. Converg. Inf. Technol.
2011,6, 491–499.
7.
Gao, J.; Huang, D.; Lu, J. Online Output Capacitor Monitor for Buck DC-DC Converter. In Proceedings of
the 2018 Prognostics and System Health Management Conference (PHM-Chongqing), Chongqing, China,
26–28 October 2018.
8.
Gao, J.; Huang, D.; Lu, J. Online Health Monitoring of the Electrolytic Capacitor in DC-DC Converters.
In Proceedings of the 2017 International Conference on Computer Systems, Electronics and Control (ICCSEC),
Dalian, China, 25–27 December 2017.
9.
Wang, G.; Guan, Y.; Zhang, J.; Wu, L.; Zheng, X.; Pan, W. ESR estimation method for DC-DC converters based
on improved EMD algorithm. In Proceedings of the IEEE 2012 Prognostics and System Health Management
Conference (PHM-2012 Beijing), Beijing, China, 23–25 May 2012.
10.
Leite, V.; Teixeira, H.; Cardoso, A.J.; Araujo, R. A simple ESR identification methodology for electrolytic
capacitors condition monitoring. In Proceedings of the 20th International Congress and Exhibition on
Condition Monitoring and Diagnostic Engineering Management, Faro, Portugal, 10–13 June 2007.
11.
Anusree, R.; Sreelekshmi, R.S.; Nair, M.G. Study & Simulation For Determining the Age of Electrolytic
Capacitor Using ESR. In Proceedings of the 2018 IEEE Distributed Computing, VLSI, Electrical Circuits and
Robotics (DISCOVER), Mangalore (Mangaluru), India, 13–14 August 2018.
12.
Imam, A.M.; Habetler, T.G.; Harley, R.G. Condition monitoring of electrolytic capacitor in power electronic
circuits using adaptive filter modeling. In Proceedings of the 2005 IEEE 36th Power Electronics Specialists
Conference, Recife, Brazil, 16 June 2005.
13.
Li, H.; Yao, K.; Zhou, X.; Yang, F.; Zhang, J. A novel online ESR and C identification method for output
capacitor of flyback converter. In Proceedings of the 2016 IEEE Energy Conversion Congress and Exposition
(ECCE), Milwaukee, WI, USA, 18–22 September 2016.
14.
Kai, Y.; Wenbin, H.; Weijie, T.; Jianguo, L.; Jingcheng, C. A novel online ESR and C identification method
for output capacitor of buck converter. In Proceedings of the 2014 IEEE Energy Conversion Congress and
Exposition (ECCE), Pittsburgh, PA, USA, 14–18 September 2014.
15.
Liu, L.; Guan, Y.; Wu, M.; Wu, L. Failure prediction of electrolytic capacitors in switching-mode power
converters. In Proceedings of the IEEE 2012 Prognostics and System Health Management Conference
(PHM-2012 Beijing), Beijing, China, 23–25 May 2012.
16.
Khandebharad, A.R.; Dhumale, R.B.; Lokhande, S.S. Electrolytic capacitor online failure detection and life
prediction methodology. Int. J. Res. Eng. Technol. 2015,4, 636–641.
17.
Ahmad, M.W.; Agarwal, N.; Anand, S. Online monitoring technique for aluminum electrolytic capacitor in
solar PV-based DC system. IEEE Trans. Ind. Electron. 2016,63, 7059–7066. [CrossRef]
18.
Ahmad, M.W.; Agarwal, N.; Kumar, P.N.; Anand, S. Low-frequency impedance monitoring and
corresponding failure criteria for aluminum electrolytic capacitors. IEEE Trans. Ind. Electron.
2017
,64,
5657–5666. [CrossRef]
Electronics 2019,8, 586 16 of 16
19.
Hannonen, J.; Honkanen, J.; Ström, J.P.; Kärkkäinen, T.; Räisänen, S.; Silventoinen, P. Capacitor aging
detection in a DC–DC converter output stage. IEEE Trans. Ind. Appl. 2016,52, 3224–3233. [CrossRef]
20.
Buiatti, G.M.; Martin-Ramos, J.A.; Garcia, C.H.R.; Amaral, A.M.; Cardoso, A.J.M. An online and noninvasive
technique for the condition monitoring of capacitors in boost converters. IEEE Trans. Instrum. Meas.
2010
,59,
2134–2143. [CrossRef]
21.
Amaral, A.M.R.; Cardoso, A.M. A simple offline technique for evaluating the condition of
aluminum–electrolytic–capacitors. IEEE Trans. Ind. Electron. 2009,56, 3230–3237. [CrossRef]
22.
Laadjal, K.; Sahraoui, M.; Cardoso, A.J.M.; Amaral, A.M.R. Online Estimation of Aluminum
Electrolytic-Capacitor Parameters Using a Modified Prony’s Method. IEEE Trans. Ind. Appl.
2018
,54,
4764–4774. [CrossRef]
23.
Ren, L.; Gong, C.; Zhao, Y. An Online ESR Estimation Method for Output Capacitor of Boost Converter.
IEEE Trans. Power Electron. 2019. [CrossRef]
24.
Soliman, H.; Wang, H.; Blaabjerg, F. A review of the condition monitoring of capacitors in power electronic
converters. IEEE Trans. Ind. Appl. 2016,52, 4976–4989. [CrossRef]
25.
Xu, B.; Huang, Y. Thinking of the Problem of Using AC Voltmeter to Measure Ripple Voltage of Stable
Voltage Power. Sci. Technol. Inf. 2008,36, 393.
26.
Le, J.; Yao, E.; Zhang, M. Design of measurement circuit on true RMS for DC power ripple based on AD637.
Res. Des. Power Technol. 2014,38, 1926–1929.
27.
Jerry, O. Measuring Power Supply Ripple Voltage. Electron. Test
1981
. Available online:
https://www.engineeringvillage.com/search/doc/abstract.url?&pageType=quickSearch&
usageZone=resultslist&usageOrigin=searchresults&searchtype=Quick&SEARCHID=
f9181e92963e4fb8b9714bfb04db25bc&DOCINDEX=1&ignore_docid=inspec_base801791136&database=
8388611&format=quickSearchAbstractFormat&tagscope=&displayPagination=yes (accessed on 30 April 2019).
28.
Zhou, J.; Wang, K. Design and implementation of DC voltage and ripple tester based on STC89C52.
Mod. Electron. Tech. 2012,35, 138–140.
29.
Anthony, H.S.; Scitech, B.; Wang, K. Inexpensive peak detector requires few component. EDN
2005
,50,
88–92.
30.
Ren, L.; Tong, Z.; Na, X. A method on the measurement of a repeated signal’s peak value.
Electr. Meas. Instrum.
2001,38, 24–26.
c
2019 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access
article distributed under the terms and conditions of the Creative Commons Attribution
(CC BY) license (http://creativecommons.org/licenses/by/4.0/).
Available via license: CC BY 4.0
Content may be subject to copyright.