ENCYCLOPEDIA OF RADIO ELECTRONICS AND ELECTRICAL ENGINEERING Microfaradometer. Encyclopedia of radio electronics and electrical engineering Encyclopedia of radio electronics and electrical engineering / Measuring technology The article describes a capacitance meter for non-polar and oxide capacitors, based on the PIC16F876A microcontroller. Capacitance measurement range - 1...999 103 uF - divided into two sub-ranges. Measurement results are indicated by a three-digit LED digital indicator with automatic decimal point setting. Some effect of the equivalent series resistance on the measurement accuracy at a higher limit is compensated for by calibrating the instrument. In amateur radio practice, the need to measure large values of electrical capacitance is obvious. Many modern multimeters have the function of measuring the capacitance of a capacitor, their upper limit does not exceed 20-100 μF, and when the range is beyond the limit, the measurement accuracy is significantly reduced [1]. Professional RLC meters measure capacitance up to 1 F or more [2], but due to their high cost, they are not widely available for most radio amateurs. The magazine "Radio" describes several devices for measuring the capacitance of oxide capacitors [3,4]; they are usually designed in the form of prefixes and are based on indirect methods of measurement. At the same time, using the modern elemental base and basic physical relationships, it is possible to build a simple device with sufficiently high metrological characteristics. The proposed device uses the principle of proportionality of the charge Q of the electric capacitance C at a fixed voltage value U: C = Q/U; where Q = It. In turn, at a given charging current, the charge of the capacitor is proportional to the time of flow of the charging current [5]. Technical specifications Measurement range, µF .. .1...999 103
The device is based on the PIC16F876A microcontroller [6], which performs all the main functions: controlling the measurement process, calculating its results, and displaying the obtained value of the measured capacitance on the indicator.
The schematic diagram of the device is shown in fig. 1. The DD1 microcontroller works according to the program, the codes of which are given in the table. After turning on the power and initializing the microcontroller, the device operates in automatic mode. The output RA0 is configured as the input of the comparator, RA3 is the input of the reference voltage of the comparator, RCO, RC1 are the outputs for controlling the charging current sources, RC2 is the output for switching on the discharge of the measured capacitor. The measurement cycle begins with the discharge of the capacitor through the transistor VT2 and resistor R5. Then the source of the charging current is turned on, equal to 1 mA, on the transistor VT3 [5]. The voltage across the capacitor begins to increase. When it reaches a value of approximately 1 V, equal to the reference voltage at the RA3 input, the DD1 microcontroller stops the charging process and fixes its duration. If the voltage on the measured capacitor does not reach the exemplary one within 1,2 s, the transition to the highest measurement limit occurs: the current source is turned on, equal to 1 A, on the transistor VT1, the indication "x1000" and the measurement is repeated. Next, the microcontroller calculates the value of the measured capacitance from the charging time, charging current and capacitor voltage, taking into account the measurement limit and the corresponding calibration coefficient. The measurement cycle is periodically repeated. Dynamic indication of results is organized on a three-digit LED indicator HG1-HG3, transistors VT5-VT7 and microcontroller ports RC3-RC5, RBO-RB7 according to the classical scheme. Buttons SB1-SB3, connected to ports RA1, RA2, RA5, are used to enter calibration coefficients when setting up and checking the device. "Mode" button - enter the calibration mode, select the coefficient, switch to the measurement mode. Buttons "+" and "-" - setting the value of the selected coefficient in the range from 1 to 255. The calibration coefficient for the range "uF" is displayed without decimal points, for "uFx1000" - with a comma in the units place. The set values are automatically recorded in the memory of the microcontroller, stored there after the power is turned off and read when the device is turned on. The source code of the control program is written in C in the MPLAB IDE programming environment version 6.5 [7] equipped with the PICC compiler version 8.05PL1 [8]. Structurally, the device is designed in a case from the M838 multimeter (see photo in Fig. 2). An external rectifier (in a mains plug) is used for power supply, providing an output voltage of 9 ... 12 V at a current of up to 1 A. Among those available for sale, for example, BP7N-12-1000 is suitable. The voltage regulator DA1 is installed on the board of the device. It is necessary to solder the leads of the oxide capacitor C1 with a capacity of at least 2 microfarads for a voltage of 1 V to the contact pads X1000, X16. It will take place in the battery compartment of the instrument case.
Printed circuit board of the meter - with double-sided printed wiring and double-sided arrangement of parts; its main dimensions are shown in fig. 3. A drawing of the printed circuit board from the installation side of the indicators is shown in fig. 4, and from the side of the installation of the microcircuit and transistors - in fig. 5. To form vias in the board, holes with a diameter of 0,5 mm were drilled, into which segments of leads from MLT-0,25 resistors were riveted and soldered. The DD1 microcontroller must be installed on the device board in a panel with spring clips. The appearance of the mounted board is shown in the photo fig. 6, 7. The device uses MLT resistors or similar; resistor R5 - from a manganin wire with a diameter of 1 mm and a length of 15 mm, you can use a current sensor from an M838 multimeter. Most capacitors are KM, K10-17 series, oxide - K53-4, K53-14, K52-1, and C1 (1000 uF) - K50-35. Quartz resonator - at a frequency of 10 ... 12 MHz in the NS-49 package. Buttons - small-sized clock SWT2, TS-A1PS-130. TR319 LED indicators can be replaced by any others with the same pinout, such as SA05-11HWA. Transistor VT2 is a powerful field transistor with a drain current of at least 10 A and a drain-source resistance of not more than 0,1 Ohm. Terminals ХЗ, Х4 are similar to those used in the M838 multimeter. Stabilizer DA1 and transistor VT1 are installed on plate heat sinks with an area of 12 and 5 cm2, respectively. The device setup begins before the microcontroller is installed in the panel on the board. Turn on the power with switch SA1 and check the presence and correctness of the supply voltage of 5 V to the contacts of the microcontroller panel. The voltage on pins 1-3, 7 should be approximately equal to the supply voltage, on pins 14-16 about 4 V, and on pins 21-28 the voltage is close to zero. Then they check the operability of the buttons SB1-SB3: by pressing them, they control the appearance of a low level at the inputs RA1, RA2, RA5. The dynamic indication circuits are checked by serially connecting a common wire to the corresponding terminals of the RBO-RB7 and RC3-RC5 ports: in this case, the glow of the specified segments in the selected digit is observed. The current sources are turned on in turn by applying a low level to contacts 11, 12, while the ammeter must be connected to the X4, X0 sockets instead of the measured capacitor. When switched on through the RC0,5 circuit, the current must be in the range of 1 ... 1 mA; and through the RC0,5 circuit - 1 ... 1 A. The discharge circuit is checked with a 5 A current source turned on by applying a voltage of +13 V to pin 4. The readings of the voltmeter connected to the XXNUMX, XXNUMX sockets should drop to zero. Further, after turning off the power, insert the programmed microcontroller into the panel and turn on the device. The display should show readings close to zero, the "Cycle" indicator (HL1) is lit intermittently, and the "x1000" indicator (HL2) is not lit. Now you can make trial measurements to assess the performance of the device as a whole. The results obtained may differ significantly from the true ones due to the large spread in the parameters of the current sources, the error in setting the reference voltage, the comparator error, the frequency of the installed quartz resonator, and a number of other less noticeable factors. Instrument calibration required. To calibrate the meter, you need to have four reference capacitors of different ratings: two - for the "μF" range with a capacity of 100 ... 900 μF, two - for the "μF x1000" range with a capacity of more than 10000 μF. To accurately determine their capacity, it is advisable to use a verified industrial meter or some indirect method. By taking measurements and changing the calibration coefficients according to the readings of the device, the true value of the capacitance of the calibration capacitors and the readings of the device are matched. After calibration, the instrument is ready for use. At the highest measurement limit, the instrument readings depend to some extent on the equivalent series resistance (ESR) of the measured capacitor; this is expressed in an underestimation of the true capacitance value. To ensure that the error of the device does not exceed the specified value, the EPS should not exceed 0,1 ohm. For serviceable oxide capacitors with a capacity of more than 1000 μF, the average statistical value of the ESR is within these limits [9], its effect is compensated during the calibration of the device. For a more objective assessment of the performance of oxide capacitors, a joint measurement of capacitance and ESR is necessary - this is the topic of the next development. Experience with the described meter showed its good consumer characteristics: accuracy, long-term stability of readings, ease of use. It allows you to carry out the necessary measurements that arise during the development, manufacture and repair of electronic equipment. The microcontroller program can be downloaded hence. Literature
Author: A. Topnikov, Uglich, Yaroslavl region; Publication: radioradar.net See other articles Section Measuring technology. Read and write useful comments on this article. Latest news of science and technology, new electronics: Machine for thinning flowers in gardens
02.05.2024 Advanced Infrared Microscope
02.05.2024 Air trap for insects
01.05.2024
Other interesting news: ▪ Samsung Gear VR Innovator Edition - virtual reality glasses for smartphones ▪ TLV73333P New 300mA Capacitorless LDO Regulator ▪ Accumulators of the third millennium ▪ Diamond nanowires are more efficient than Li-Ion batteries News feed of science and technology, new electronics
Interesting materials of the Free Technical Library: ▪ radio section of the website. Article selection ▪ article Put your fingers in the ulcers. Popular expression ▪ article The role of first aid to victims ▪ article Quartz oscillators. Encyclopedia of radio electronics and electrical engineering
Leave your comment on this article: All languages of this page Home page | Library | Articles | Website map | Site Reviews www.diagram.com.ua |