MartinFowler

Five and a half digit voltmeter

 
Overview

Simple five and a half digit voltmeter with
three gears: 1.8V
                  18V
                180V
First look at the power supply part: it is powered by a 530mA small battery, and RT9193 low voltage difference LDO is used to convert 3.3V to power the MCU. Its quiescent current is only 70uA, and the maximum output current can reach 300mA. .
Use 0.5% accuracy TL431 and ICL7660 to form a positive and negative 2.5V voltage to power the ADC. Because the negative voltage is to be measured, an ICL7660 is needed. The TL431 is connected like this to solve the problem of insufficient output current. If there is no ICL7660, you can also use the beggar version of the negative voltage. Voltage generation circuit, mentioned in "Teacher Tang Talks about Electric Competition", link: https://www.bilibili.com/video/BV1VW4y1z7pn/?share_source=copy_web&vd_source=21af5b42fe5e2354ac6021260250b2f1
 
Next, let’s look at the voltage attenuation circuit:
using 4052 dual four-way Analog switches and relay shifting are cheap and easy to use. They support 3.3V power supply, but their analog on-resistance is slightly larger, but it is negligible compared with Mohm.
Using a 9M resistor and a 100K resistor to divide the voltage at 180V, the input resistance is 9.1M, which is attenuated 90 times; using a 9M resistor and a 1M resistor to divide the voltage at 18V, the voltage is attenuated 10 times, and the input resistance is 10M. Why is the input resistance not uniform? As for 10M, because it is a hassle, you have to find the corresponding resistor, or you can use a standard voltage divider resistor network. I use a 0603 package with a 0.1% precision 25ppm resistor which is not bad. Each 0603 resistor can withstand a voltage of 75V. This This is also the reason why a 9M resistor is not used.
BAV199 is used for clamp protection in the basic gear, and its reverse leakage current is only 5nA, which is a relatively excellent parameter. Many of them are uA level, and their equivalent resistance is not that large, so they will inevitably form a voltage divider with the previous 30K resistor, causing a voltage drop on the 30K resistor, which is a very bad thing.
The latter stage directly uses a high-precision operational amplifier followed by low-pass and then sent to the ADS1118. Nowadays, domestic operational amplifiers are becoming more and more powerful. The parameters of Runshi Technology's RS8551 are very powerful. Its Vos is only 1uV (maximum 5uV), which is very suitable for high-precision instruments.
 
ADS: The 16-bit ADS1118 is used, and its typical error is only 0.25LSB. This parameter is very strong. If the PGA uses 2.048V, the LSB is 62.5uV, which is the minimum resolution, but in fact it is only 15bit because the other half is used to measure the negative voltage. , because each input channel has a protection diode, the negative voltage will be clamped when measuring negative voltage, so the ADS1118 uses dual power supplies. When it is turned on, channel one is calibrated to see how much the voltage of DGND is compared to VDD-VEE ( Theoretically it is half), this voltage is regarded as "0"V, so if it is higher than DGND, it is measured as positive voltage; if it is lower than DGND, it is measured as negative voltage.
The main control uses STM32F103C8T6, which is easy to adjust and writing code is more convenient.
Next, look at the test data:
Because our DC power supply can only output a minimum voltage of 47mV, it can only test voltages above 50mV.
 
100mV test:
1V test:
20V test:
30V test:
40V test:
50V test:
60V voltage test:
 
 
 
Finally Thanks to Jialichuang for sending me the components, which allowed me to successfully complete this small project.
参考设计图片
×
 
Related Devices
Devices Class introduce Datasheet
SFN-1407PA7.6 Module/solution;buzzer Download
A7 Discrete semiconductor;General diode DC reverse withstand voltage (Vr): 1kV Average rectified current (Io): 1A Forward voltage drop (Vf): 1V @ 1A 1000V 1A VF=1V @ 1A Download
SS24 Discrete semiconductor;Schottky diode DC reverse withstand voltage (Vr): 40V Average rectified current (Io): 2A Forward voltage drop (Vf): 500mV @ 2A Download
HK4100F-DC5V-SHG accessories;relay Contact form: SPDT Contact rated current: 3A Coil type: Non Latching Coil voltage: 5VDC Relay type: General Purpose The pin is narrow at the top and wide at the bottom, with the maximum point being 0.62mm Download
SS8050T23 Download
S8550 Discrete semiconductor;triode Transistor type: PNP Collector current Ic: 500mA Collector-emitter breakdown voltage Vce: 25V Rated power: 225mW Download
NEW3ACG Other integrated circuit (IC);The LED driver Download
0603WAF510JT5E Passive components;SMD resistor Resistance (ohms): 51 Accuracy: ±1% Power: 1/10W Temperature coefficient: ±200ppm/°C Download
TPRT9193-33GB Download
74HC4052 Analog mixed-signal IC;Analog switch chip 2-way four-select one analog switch circuit with enable input control bit Download
RS8551XF Analog mixed-signal IC;Precision op-amp Gain bandwidth product (GBP): 4.5MHz Number of amplifier groups: 1 Op amp type: CMOS Power consumption of each channel: - Slew rate (SR): 2.7 V/us Power supply voltage: 2.7V ~ 5.5V Zero drift, 1uV Vos, 4.5MHz, 1 channel op amp Download
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2024-11-22 04:27:22

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号