Menu English Ukrainian russian Home

Free technical library for hobbyists and professionals Free technical library


ENCYCLOPEDIA OF RADIO ELECTRONICS AND ELECTRICAL ENGINEERING
Free library / Schemes of radio-electronic and electrical devices

Voltage and current meter. Encyclopedia of radio electronics and electrical engineering

Free technical library

Encyclopedia of radio electronics and electrical engineering / Measuring technology

Comments on the article Comments on the article

One of the main instruments in the amateur radio laboratory is a regulated power supply. To increase the efficiency and convenience of work, it is useful to supplement it with a built-in meter of the output voltage and load current. Descriptions of such meters are quite common on the Internet and in amateur radio magazines. But it happens that the description found is not suitable for creating a meter suitable for embedding in a specific power source. After all, many factors have to be taken into account, for example, the available place for its installation, the availability of the necessary parts. This article presents a variant of the meter, which can be useful both for those who develop a laboratory power supply from scratch, and for those who intend to build it into an already finished power supply.

The device measures direct voltage from 0 to 51,1 V with a resolution of 0,1 V and direct current from 0 to 5,11 A with a resolution of 0,01 A. Its prototype was the meter described in [1], which is quite simple in design and with good parameters. The main idea implemented in it to use an inexpensive microcontroller deserves attention. However, the need to use an op amp capable of operating with a unipolar supply at an output voltage close to zero, as well as the presence of an additional power source, impose some restrictions on its use. In addition, the indicators on the prototype board are located inconveniently, it is better to install them in a row horizontally and reduce the dimensions of the front panel of the meter, bringing them closer to the dimensions of the indicators used.

Schematic diagram of the meter is shown in fig. 1. Since it was not possible to find the 1HC74N microcircuits used in [595] (shift registers with a storage register), 74HC164N microcircuits were used, in which there is no storage register. Also, indicators were used that have a much higher brightness at low current, which made it possible to reduce the current consumed by the meter to 20 mA and to abandon the additional +5 V voltage regulator.

Voltage and current meter
Rice. 1. Schematic diagram of the meter (click to enlarge)

Unfortunately, the use of 74HC164N has a drawback - a parasitic glow of the indicator elements at the time of updating their state. But since the average brightness of such a glow is insignificant and it is further weakened by light filters that usually cover indicators, this cannot be considered a serious drawback. In addition, one of the outputs of the microcontroller is released, which can be used, for example, to connect a temperature sensor. In this case, however, it is necessary to make changes to the microcontroller program.

The measured voltage is fed to the input GP0 of the microcontroller DD1 through a divider of resistors R7 and R9. Capacitor C6 improves the stability of the voltmeter readings [1]. The signal from the current sensor (resistor R1) is fed to the input GP1 of the microcontroller through an inverting amplifier on the op-amp DA1. In contrast to [1], here a bipolar +/-8 V op-amp is used, since not all op-amps have the "rail to rail" property and work correctly with a unipolar supply and almost zero output voltage. Bipolar power supply makes it easy to solve this problem, allows the use of very many types of op-amps.

Since the voltage at the output of the op-amp can be in the range from -8 to +8 V, a restrictive circuit R10VD9 is used to protect the input of the microcontroller from overload. The trimmer resistor R8 adjusts the gain, and the trimmer resistor R11 sets zero voltage at the output of the op-amp. Diodes VD1 and VD2 protect the input of the op-amp from overload in the event of a break in the current sensor.

Due to the relatively low resistance of the current sensor, the deviation of the voltage measurement result when the load current changes from zero to maximum (5,11 A) does not exceed 0,06 V. If the meter is built into a negative polarity voltage source, the current sensor can be connected in front of the output voltage divider of its stabilizer . In this case, the voltage drop across the current sensor will be compensated by the stabilizer feedback circuit. Since the divider current is usually small, it will have almost no effect on the readings of the ammeter, moreover, this effect can be compensated by the trimmer resistor R11.

The meter is fed with the output voltage of the power supply rectifier through a converter on transistors VT1 and VT2. This is somewhat more complicated than in [1], since it requires the manufacture of a pulse transformer, but there are no problems with obtaining all the required voltage ratings. The voltage converter is the simplest push-pull oscillator, the circuit of which is borrowed from [2]. The conversion frequency is about 80 kHz.

Due to the galvanic isolation between the input and output of the converter, the meter can be built into a voltage stabilizer of any polarity. With the transistors indicated in the diagram, it is operable at an input voltage of 30 to 44 V, while the output voltages vary from approximately 8 to 12 V. Due to the fact that the resistances of the resistors R5 and R6 are chosen quite large, the converter is not afraid of output short circuits. In such cases, the generation simply breaks down.

The voltage of 5 V for powering the digital part of the meter was obtained using an integral stabilizer DA2. It is not required to stabilize the supply voltage of the op amp, since it itself is sufficiently resistant to its changes. The ripple voltage with the conversion frequency is suppressed by RC filters at the inputs of the microcontroller DD1. If the ripples with a frequency of 100 Hz are too high, it is recommended to use the method of their reduction described in [3].

Here it is worth saying a few words about the instability of the least significant digit of the measurement result inherent in all digital meters. It always randomly changes by one around the true value. These fluctuations are not due to a malfunction of the instrument, but they cannot be completely eliminated, they can only be reduced by averaging the results of a large number of measurements.

The meter parts are mounted on three printed circuit boards made of insulating material foiled on one side. They are designed for the installation of microcircuits in DIP packages. Indicators are mounted on one board (Fig. 2), digital microcircuits and a microcontroller are mounted on the second (Fig. 3). The converter, microcontroller supply voltage stabilizer and current sensor signal amplifier are installed on the third board (Fig. 4).

Voltage and current meter
Rice. 2. The printed circuit board on which the indicators are mounted

Voltage and current meter
Rice. 3. Printed circuit board on which digital microcircuits and a microcontroller are mounted

Voltage and current meter
Rice. 4. Printed circuit board on which the converter, the microcontroller supply voltage stabilizer and the current sensor signal amplifier are mounted

The placement of parts on the boards and board-to-board connections are shown in fig. 5. Red numbers on it indicate the numbers of the outputs of the pulse transformer T1 at the places of their connection to the board. The transformer itself is fixed on it with clamps from an insulated mounting wire. Blocking capacitors C13 and C14 are soldered directly to the power pins of the DD2 and DD3 microcircuits. As practice has shown, the meter works normally without these capacitors.

Voltage and current meter
Rice. 5. Placement of parts on boards and board-to-board connections (click to enlarge)

The boards of the microcontroller and indicators are connected by brackets made of galvanized steel 0,5 mm thick. The converter and amplifier board is fixed with two M2 screws. The distance between the boards is about 11 mm. This version of the device design (Fig. 6) takes up less space on the front panel of the power supply, in which this device must be built.

Voltage and current meter
Rice. 6. Installation of the device

Instead of the OU KR140UD708, for example, KR140UD1408 and many other types of op amps can be used.

It should be noted that they may require other correction circuits than KR140UD708.

This should be taken into account when designing a printed circuit board.

Instead of shift registers 74HC164, you can use 74HC4015, but you will have to change the topology of the printed circuit conductors of the board. Diodes KD522B can be replaced by KD510A. Trimmer resistors R8 and R11 - SP3-19, R9 - imported. Permanent capacitors are also imported.

Resistor R1 (current sensor) can be made from nichrome wire or ready-made, as done in [1]. I made it from a piece of nichrome tape with a cross section of 2,5x0,8 mm and a length (including tinned ends) of about 25 mm, removed from the thermal relay of the TRN. Transformer T1 is wound on a ferrite ring of size 10x6x3mm, removed from a faulty CFL. All windings are wound with PEV-2 wire with a diameter of 0,18 mm. Winding 2-3 contains 83 turns, windings 1-2 and 4-5 - 13 turns each, and winding 6-7-8 -

80 turns with a tap from the middle. If the output voltage of the rectifier is less than 30 V, the number of turns of winding 2-3 will have to be reduced to approximately 4 turns per volt.

Windings 1-2-3 and 4-5 are insulated between each other with one layer of capacitor paper 0,1 mm thick, and from winding 6-7-8 - with two layers of such paper. After checking the performance, the transformer is impregnated with XB-784 varnish.

The microcontroller program was written in the MPLAB IDE v8.92 environment in the MPASM assembly language. Two options are offered. The files of the first option are located in the "Common cathode" folder and are intended for a device with LED indicators with common discharge cathodes, including those indicated in the diagram in fig. 1. Files of the second option from the "Common anode" folder should be used when installing LED indicators with common discharge anodes into the device. However, this version of the program has not been tested in practice. The programming of the microcontroller was performed using the IC-prog program and a simple device described in [4].

Establishing the meter consists in setting the trimmer resistor R11 to zero at the output of the op-amp DA1 in the absence of current in the measured circuit. Then, a current close to the measurement limit, but less than it, is supplied to this circuit.

By controlling the current with an exemplary ammeter, a trimming resistor R8 achieves equality in the readings of the exemplary and adjusted devices.

Having applied and controlled the measured voltage with an exemplary voltmeter, set the corresponding readings on the indicator of the device with a tuning resistor R9. More details about adjustment are written in [1].

Both versions of the microcontroller program can be downloaded from ftp://ftp.radio.ru/pub/2016/05/av-meter.zip.

Literature

  1. Balaev B. Built-in current and voltage meter on PIC12F675. - Radio, 2014, No. 12, p. 18-20.
  2. Yangaliev N. Power supply based on a voltage converter for powering halogen lamps. - Radio, 2005, No. 5, p. 36, 37.
  3. Loskutov I. How to reduce the ripple of the power supply. - Radio, 1996, No. 4, p. 54.
  4. Sizov A. Programming of modern PIC16, PIC12 on PonyProg. - Radio, 2004, No. 2, p. 31, 32.

Author: E. Gerasimov

See other articles Section Measuring technology.

Read and write useful comments on this article.

<< Back

Latest news of science and technology, new electronics:

Machine for thinning flowers in gardens 02.05.2024

In modern agriculture, technological progress is developing aimed at increasing the efficiency of plant care processes. The innovative Florix flower thinning machine was presented in Italy, designed to optimize the harvesting stage. This tool is equipped with mobile arms, allowing it to be easily adapted to the needs of the garden. The operator can adjust the speed of the thin wires by controlling them from the tractor cab using a joystick. This approach significantly increases the efficiency of the flower thinning process, providing the possibility of individual adjustment to the specific conditions of the garden, as well as the variety and type of fruit grown in it. After testing the Florix machine for two years on various types of fruit, the results were very encouraging. Farmers such as Filiberto Montanari, who has used a Florix machine for several years, have reported a significant reduction in the time and labor required to thin flowers. ... >>

Advanced Infrared Microscope 02.05.2024

Microscopes play an important role in scientific research, allowing scientists to delve into structures and processes invisible to the eye. However, various microscopy methods have their limitations, and among them was the limitation of resolution when using the infrared range. But the latest achievements of Japanese researchers from the University of Tokyo open up new prospects for studying the microworld. Scientists from the University of Tokyo have unveiled a new microscope that will revolutionize the capabilities of infrared microscopy. This advanced instrument allows you to see the internal structures of living bacteria with amazing clarity on the nanometer scale. Typically, mid-infrared microscopes are limited by low resolution, but the latest development from Japanese researchers overcomes these limitations. According to scientists, the developed microscope allows creating images with a resolution of up to 120 nanometers, which is 30 times higher than the resolution of traditional microscopes. ... >>

Air trap for insects 01.05.2024

Agriculture is one of the key sectors of the economy, and pest control is an integral part of this process. A team of scientists from the Indian Council of Agricultural Research-Central Potato Research Institute (ICAR-CPRI), Shimla, has come up with an innovative solution to this problem - a wind-powered insect air trap. This device addresses the shortcomings of traditional pest control methods by providing real-time insect population data. The trap is powered entirely by wind energy, making it an environmentally friendly solution that requires no power. Its unique design allows monitoring of both harmful and beneficial insects, providing a complete overview of the population in any agricultural area. “By assessing target pests at the right time, we can take necessary measures to control both pests and diseases,” says Kapil ... >>

Random news from the Archive

The Internet makes life worse for both doctors and patients 29.03.2018

Now a lot of people, when they feel health problems, do not go to the doctor, but start searching for symptoms on the Internet. And this has a bad effect not only on patients, but also on doctors.

If you don’t deceive yourself, then it’s worth confessing: almost all people who have the Internet, in one situation or another, instead of going to the doctor, were looking for how to treat this or that “sore” on the Internet with not too serious results.

It turns out that self-diagnosis not only prevents the doctor from starting treatment on time and upsets the patient himself, it also has negative consequences for medicine in general. Patients who spend too much time on medical sites demand serious treatment from doctors, which results in prescribing antibiotics for any reason, and therefore increasing the resistance of bacteria to antibiotics.

A 2016 US study found that one third of antibiotic prescriptions were for viral infections. Three-quarters of patients who complained of STD symptoms in the emergency room also received antibiotics, immediately, although later test results showed that they did not have any STDs. What's more, according to Wired, medical professionals are already saying that, fearful of backlash from patients and bad reviews online, they're making decisions based on what the patient wants instead of real medicine. This phenomenon has already been called the "Yelp effect" after one of the largest review aggregators in the US.

Back in 2013, a Pew Research Center study found that about 35% of Americans use the Internet to diagnose both themselves and those they know. And of course, in 2018, this figure has only increased.

There is no understanding of how to deal with it. There is no easy solution to this problem. In the end, the response of the patient and the degree of his satisfaction with medical services are one way or another part of the medical practice. Medicine unexpectedly faced a rather strange and even ironic problem: doctors have always wanted patients to be more savvy in matters of health, but at least in the case of antibiotics, this can lead to truly terrible consequences.

Other interesting news:

▪ Criteria for selecting tourists for space flight

▪ Video capsule with remote control as an alternative to the endoscope

▪ Smart pen with spell checker

▪ Eyes to eyes

▪ Aspirin is the culprit of death

News feed of science and technology, new electronics

 

Interesting materials of the Free Technical Library:

▪ site section Preamplifiers. Article selection

▪ article by Aphra Ben. Famous aphorisms

▪ article What is an Ice Age? Detailed answer

▪ article Works in the area of ​​communications at a depth of more than 2 meters. Standard instruction on labor protection

▪ M832 Digital Multimeter article. Electric scheme, description, characteristics. Encyclopedia of radio electronics and electrical engineering

▪ article A simple VHF FM receiver. Encyclopedia of radio electronics and electrical engineering

Leave your comment on this article:

Name:


Email (optional):


A comment:





All languages ​​of this page

Home page | Library | Articles | Website map | Site Reviews

www.diagram.com.ua

www.diagram.com.ua
2000-2024