Issue 
Int. J. Metrol. Qual. Eng.
Volume 8, 2017



Article Number  22  
Number of page(s)  8  
DOI  https://doi.org/10.1051/ijmqe/2017017  
Published online  02 October 2017 
Research Article
Completely automated system for capacitance measurement through new accurate capacitance box
Department of Electrical Quantities Metrology, National Institute of Standards (NIS),
Giza, Egypt
^{*} Corresponding author: mohammed_makka@yahoo.com
Received:
10
June
2017
Accepted:
12
September
2017
Capacitance boxes (CBs) are extensively used in electrical laboratories for calibration of capacitance measurement devices. In this paper, a new recently fabricated CB has been presented to be used for automatic calibrations through its 4096 output capacitance steps in the range from 100 nF to 150 μF. Full specifications and characterization of this new CB have been investigated in detail including its frequency and voltage dependences. The presented CB has relative accuracy in the range from ±5 × 10^{−5} to ±5 × 10^{−4}, whereas the relative uncertainty due to the combination effect is less than 15 ppm. The described CB has been used to construct fully automated capacitance measurement system at the National Institute of Standards (NIS), Egypt, using AndeenHagerling 2700A, opt. E & opt. C, Ultraprecision Capacitance Bridge up to 1 μF. The second fully automated system for capacitance measurements is formed at NIS by An Agilent E4980A LCR meter, which is used to measure and characterize the higher capacitance values of the fabricated automated CB. Technical comparison between a previous CB and the new introduced one has been done to evaluate its performance.
Key words: new capacitance box / automated measurement / capacitance measurement / decade capacitance / microcontroller technique
© M. Helmy A. Raouf, published by EDP Sciences, 2017
This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
1 Introduction
Capacitance has many useful applications in various fields, and most of them require capacitance measurement that can be performed by different methods [1,2]. All of the instruments used for capacitance measurement should be calibrated by capacitance standards [3,4], which are continuously improved [5,6]. Capacitance decades are regular capacitance standards that are typically used for calibration of capacitance measuring devices manually. Such manual operation is difficult, confusing, and takes a long time. Traditionally, each decade capacitance is formed internally by 10 capacitive elements to generate 10 output capacitance steps values manually. It is practically known that any calibration becomes more convenient, easy, and accurate when using the automated devices. In [7] the same number of the output capacitance values, 10, is obtained only by using four internal capacitive elements. So, a capacitance box (CB) was fabricated using these two fourelement capacitance decades to provide a combination of 100 sequential capacitance steps, automatically, at the common output terminals of the two decades. Each one of these decades has fourcapacitive elements having nominal values of C_{1} = C, C_{2} = 2C, C_{3} = 3C and C_{4} = 4C, where C is the nominal value of the capacitance per decade step [8]. To increase the output steps, decade capacitance of 15 output steps could be designed by using four internal capacitors. They have nominal capacitance values of C_{1} = C, C_{2} = 2C, C_{3} = 4C, and C_{4} = 8C, where C is the nominal value of the capacitance per decade step [9].
Furthermore, three units of the decade capacitance of 15 output values are assembled to establish the recently fabricated CB to generate a huge number of the capacitance values, which are mainly used in fully automated calibration of the capacitance meters. The maximum number of the output capacitance steps produced by this CB is equal to 4096, whereas 1666 of them are different. These steps are considered as great increase compared to 1111 different output capacitance steps that can be obtained by the corresponding CB, but formed by the ordinary decades with 10 output steps [10].
This paper can be considered as an extended work, beyond [10], to give the full specifications and characterization of the recently fabricated automated CB. For this aim, two fully accurate automated capacitance measurement systems have been constructed at NIS by using AH2700A, opt. E & opt. C, Ultraprecision Capacitance Bridge and Agilent E4980A LCR meter to cover the wide range of the CB. It is controlled manually, without computer, using its keypad and manually or automatically using the computer by an especially designed LabVIEW program. Manual or automatic controls of the new CB could be achieved through 12 reed relays and only one microcontroller, which has been programmed by a prepared Cprogram. A general demonstrating flowchart is introduced to describe the whole automated measurement process including the fabricated CB and any capacitance measurement device.
2 Design, fabrication, and control of the recent capacitance box
Design and implementation of the new fabricated CB have been presented in brief. In addition, its methods of control are described in detail.
2.1 Design of the new capacitance box
Construction of the recently fabricated CB is essentially based on three capacitance decades, microcontroller circuit, keypad, and LCD as illustrated in Figure 1.
The first decade range is from 100 nF to 1500 nF by using capacitors with the values of 100 nF, 200 nF, 400 nF and 800 nF, while the range of the second decade is from 1 µF to 15 µF by using 1 µF, 2 µF, 4 µF and 8 µF capacitors, and the third decade range is from 10 µF to 150 µF by using capacitors of 10 µF, 20 µF, 40 µF, and 80 µF values. To connect or disconnect each one of these capacitive elements to the common output terminals of the box; corresponding reed relay, VR05R051A, is connected in series with each one of them as depicted in Figure 1. The fifteen output capacitance steps could be obtained from each decade separately and the remaining steps are generated by different possible combinations as the examples given in Table 1 [10]. This controlling code is stored in the microcontroller ROM, ATMEGA851540pin, through a prepared Cprogram to produce the required capacitance steps entered manually using the keypad or using the Lab VIEW program. Automatic control is obtained by a special LabVIEW program through a computer USBtoserial converter.
Fig. 1 Design of the fabricated capacitance box. 
Combinations of the four capacitive elements of each decade to generate the required equivalent capacitance values with the corresponding relays states (S), where S = 1 (closed), S = 0 (open) and A, B, C are the entered required capacitance values for each decade respectively.
2.2 Practical fabrication of the new capacitance box
The new fabricated CB shown in Figure 2; consists of two main units, which are control unit and standards unit, and they are connected together by data cable as illustrated in Figure 2a. The control unit shown in Figure 2b has five printed circuit boards (PCBs); one for each decade including its four relays to control the corresponding four capacitors that are existed in the unit of the standards. The ATMEGA8515 microcontroller is fixed with its accessories on a fourth PCB and connected to the decades PCBs, and finally the fifth PCB is for the LCD. Circuits of the three decades are connected together to produce finally two common output terminals of the CB marked by red and green colors. At these terminals any required capacitance value entered by the keypad and shown by the LCD can be measured by a suitable capacitance measurement device.
The serial port is fixed on the microcontroller board to receive the orders form a computer through its USB port and therefore controlling the new fabricated CB automatically or manually as required.
Fig. 2 Recently fabricated capacitance box. (a) Two units of the fabricated capacitance box. (b) Details of the control unit. 
2.3 Manual/automatic control of the new capacitance box
The programmed microcontroller generates the stored binary code to control the relays according to the required capacitance step manually or automatically. By using a computer, manual or automatic controls could be obtained through the specially designed LabVIEW program shown in Figure 3. Manual control, which means that “Selected Steps” option is used and any required capacitance steps are produced by entering the corresponding combinations for A, B and C decades, as for examples, demonstrated in the 19 steps shown in Figure 3. Then after pressing “RUN”, the entered capacitance steps values are measured by any capacitance measurement device sequentially and after the adjusted intermediate delay time. The other option is “All Possible Steps”, which means that the capacitance steps are automatically generated without entering the combinations A, B and C just by selecting the steps rang for each decade A, B, and C. Then by pressing “RUN”, the steps of the whole selected ranges are generated sequentially.
Fig. 3 Front panel of LabVIEW program that controls the capacitance box. 
3 Fully automated system for accurate measurement of capacitance
Figure 4 demonstrates a flow chart, which presents the whole automatic calibration procedure. This full automatic closed loop system enables measurements of huge number of the capacitance steps accurately, easily, and quickly.
Fully automated systems for accurate capacitance measurements have been constructed at NIS by using an Agilent E4980A LCR meter, which measures all of the CB output steps, and by using AH2700A capacitance bridge through the new fabricated CB. Accordingly, its serial port is connected to a computer USB port by USBtoserial converter and one of the measurement devices is connected to the same computer by a USB cable.
Fig. 4 Flow chart of the completely automated system for capacitance measurements. 
4 Characterization and validation of the recently fabricated capacitance box
Characterization of the new fabricated CB has been performed using the two described measurement systems, and then its full specifications are introduced. A technical comparison between the previously used CB and the introduced CB is presented for its validation.
4.1 Measurements performed by Agilent E4980A LCR meter
Using an Agilent E4980A LCR meter some measurements have been carried out and many parameters have been determined to evaluate the performance of the introduced CB. The fifteen output capacitance steps values of each decade have been measured separately and the relative deviation for each capacitance step from its nominal value has been computed according to the following simple equation: (1)
Average values of these results are represented and plotted in Figure 5. Therefore, the relative deviation limits for this CB have been found in the rage from ±5 × 10^{−5} to ±5 × 10^{−4}, which is very satisfactory level of accuracy.
The determined relative deviation limits have been obtained for separate steps and many others, but as previously mentioned; there are 1666 different capacitance steps can be produced whereas the maximum number of the possible output capacitance steps generated by all possible combinations is 4096 capacitance values. So, there are about 2430 repeated output values, for example, the 1 μF can be obtained by using two different combinations as indicated in Table 2.
Consequently, there is a significant property that should be investigated for any CB, which is the effect of combination. It can be evaluated by comparing measured capacitance steps values generated by different combinations, but for the same nominal value. For example as clearly presented in Table 2, the nominal capacitance value of 1 μF could be generated by different two combinations to be measured at the CB output terminals. So, in this case, the combination effect can be determined by the comparison of these two practically measured values. Many other different cases have been investigated and all of the measured results have been carefully studied and analyzed to estimate the maximum relative difference, which is less than ±25 ppm. By considering a rectangular distribution, the relative uncertainty because of the combination effect is less than ±15 ppm.
Figure 6 presents frequency response of the new fabricated CB at 1 V. It is proved that the new CB should be used at frequencies below 10 kHz; otherwise the accuracy will be less than 5 × 10^{−3}. Stability of the new fabricated CB has been studied for one year from 1/4/2015 until 22/4/2016 and it is in the range from 80 to 120 ppm/year, depending on the capacitance value. Repeatability of the measured capacitance values has been analyzed, and it is in the order of 1 ppm.
Fig. 5 Relative deviation of the output capacitance steps. 
Different possible combinations to generate 1 μF.
Fig. 6 Relative deviation of output capacitance steps at different frequencies and 1 V. 
4.2 Measurements performed by ultraprecision capacitance bridge
AndeenHagerling 2700A, opt. E & opt. C, ultraprecision capacitance bridge has been used to study the voltage dependence instead of the Agilent E4980A LCR meter because it has limited testing voltage, which is only 2 V. The maximum measurement range of the used capacitance bridge is 1.5 μF with a maximum testing voltage of 15, therefore the first decade steps of the new CB have been only measured at different voltages and at 1 kHz frequency as, for example, demonstrated in Figure 7.
As cleared in Figure 8, at different voltage levels, the curves of the relative deviation of the output capacitance steps are consistent and the values of the capacitance steps are relatively stable. This means that the voltage dependence of the verified CB is relatively small due to its improved performance. Accordingly, by analyzing the obtained results the relative voltage dependence is found to be less than ±1 × 10^{−6}/V.
Fig. 7 Automated capacitance measurements using ultraprecision capacitance bridge. 
Fig. 8 Relative deviation of the output capacitance steps at different voltages and 1 kHz. 
4.3 Specifications and advantages of the new capacitance box
The metrology society should know the properties of the new fabricated CB, as a new capacitance standard, so its main specifications are presented in Table 3.
These characteristics improve the performance of the new fabricated CB especially when it is used in many important applications such as full automatic calibration of capacitance measurement devices and testing their linearity.
Main specifications of the new fabricated capacitance box.
4.4 Comparison between the previous CB and the recently fabricated CB
A technical comparison between the previous CB [8], and the recently fabricated CB is carried out to validate its performance. As presented in Table 4, this comparison is made for their main specifications.
It is proved form the above elementary comparison that the new fabricated CB has better electrical performance than the previously used CB. Both of them can be used for automatic calibration of the capacitance measurement devices, but the recently fabricated CB is better because of its huge number of the output capacitance steps. In addition, they have minimum cost due to the minimum number of the used capacitive elements per decade, which is four instead of 10 in the traditional manual old decades.
Comparison between the previous CB and the new CB.
5 Conclusion
The introduced CB has been established by 12 capacitors connected to their corresponding 12 reed relays and controlled by only one microcontroller. Using all possible combinations; the maximum output capacitance steps are 4096, whereas 1666 of them are different from each other. Therefore, the new CB is very reliable during manual or automatic calibrations of the capacitance meters. Relative accuracy of the output capacitance steps is in the range between ±5 × 10^{−5} and ±5 × 10^{−4}, while the relative uncertainty due to the combination effect is less than 15 ppm. Moreover, the relative voltage dependence is less than ±1 × 10^{−6}/V. By comparing the specifications of the previously available CBs with the new CB; it has many advantages such as huge output steps, wider capacitance range, relatively high accuracy, and enhanced electrical properties. The new fabricated CB has been used to establish completely automated systems for accurate capacitance measurements, for the first time, at NIS. Capacitance range of the presented box can be simply extended to lower values by adding extra decades.
Acknowledgments
The author is grateful to the National Institute of Standards (NIS).
References
 D.X. Dai, X.B. He, W. Wang, Y.Q. Li, Improvement of highvalue capacitance measurement, IEEE Trans. Instrum. Meas. 62, 1795–1800 (2013) [CrossRef] [Google Scholar]
 A. Zanobini, G. Iuculano, A. Falciani, Automatictest equipment for the characterization of aluminum electrolytic capacitors, IEEE Trans. Instrum. Meas. 55, 682–688 (2006) [CrossRef] [Google Scholar]
 R.D. Lee, H.J. Kim, Y.P. Semenov, Quasimonolithic toroidal crosscapacitor, IEEE Trans. Instrum. Meas. 54, 538–541 (2005) [CrossRef] [Google Scholar]
 L. Callegaro, V. D'Elia, D. Serazio, 10nF capacitance transfer standard, IEEE Trans. Instrum. Meas. 54, 1869–1872 (2005) [CrossRef] [Google Scholar]
 S.S. Moodley, W. van den Berg, C.S. Veldman, Improving the mechanical stability of a standard capacitor, IEEE Trans. Instrum. Meas. 52, 392–395 (2003) [CrossRef] [Google Scholar]
 F. Castelli, A proposal for a toroidal crosscapacitor, IEEE Trans. Instrum. Meas. 49, 721–726 (2000) [CrossRef] [Google Scholar]
 M. Helmy A. Raouf, Decade Capacitance Formed by Minimum Number of Elements, Ministry of Higher Education and Scientific Research, Patent Office, Cert. No. 24446, 2009 [Google Scholar]
 M. Helmy A. Raouf, Manual/automated capacitance box using microcontroller technique, MAPAN 26, 105–113 (2011) [CrossRef] [Google Scholar]
 M. Helmy A. Raouf, Automated Decade Capacitance of Fifteen Output Values, Ministry of Higher Education and Scientific Research, Patent Office, Cert. No. 26040, 2012 [Google Scholar]
 M. Helmy A. Raouf, Fully automated capacitance measurement system using new precise capacitance box, in IEEE Conference on Precision Electromagnetic Measurements (CPEM 2016 Digest), Ottawa, Canada, 10–15 July 2016 (2016), pp. 390–391, doi:10.1109/CPEM.2016.7540612. [Google Scholar]
Cite this article as: M. Helmy A. Raouf, Completely automated system for capacitance measurement through new accurate capacitance box, Int. J. Metrol. Qual. Eng. 8, 22 (2017)
All Tables
Combinations of the four capacitive elements of each decade to generate the required equivalent capacitance values with the corresponding relays states (S), where S = 1 (closed), S = 0 (open) and A, B, C are the entered required capacitance values for each decade respectively.
All Figures
Fig. 1 Design of the fabricated capacitance box. 

In the text 
Fig. 2 Recently fabricated capacitance box. (a) Two units of the fabricated capacitance box. (b) Details of the control unit. 

In the text 
Fig. 3 Front panel of LabVIEW program that controls the capacitance box. 

In the text 
Fig. 4 Flow chart of the completely automated system for capacitance measurements. 

In the text 
Fig. 5 Relative deviation of the output capacitance steps. 

In the text 
Fig. 6 Relative deviation of output capacitance steps at different frequencies and 1 V. 

In the text 
Fig. 7 Automated capacitance measurements using ultraprecision capacitance bridge. 

In the text 
Fig. 8 Relative deviation of the output capacitance steps at different voltages and 1 kHz. 

In the text 
Current usage metrics show cumulative count of Article Views (fulltext article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.
Data correspond to usage on the plateform after 2015. The current usage metrics is available 4896 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.