First, the design goal: 4 1/2 million meters (19999), the minimum resolution of 6 microvolts, automatically select the range.

Second, functional design requirements (range range):

DC voltage - 200mV2V20V200V1000V

AC voltage - 200mV2V20V200V700V

DC Current (DCA) - 2mA20mA200mA20A

AC Current (ACA) - 2mA20mA200mA

Resistance (OHM) --―2002K20K200K2M20M

Third, the main chip: MSP430FE42X

Fourth, the operating mode: Buttons - DCV button, ACV button, DCA button, ACA button, OHM button five, block diagram:

When performing AD measurements, the MSP430FE42X can select either an external reference source or an internal reference source.

Here when measuring the voltage and current, select the internal reference source 1.25V, so when the external voltage to be measured is 0.625V, the AD sampled value is 65535, when the measured voltage is -0.625, the AD sampled value is 0. Since the design's minimum range is 0.2V, it needs to be scaled up to 0.625V to make it full-scale, and then converted according to the displayed number of bits, that is, 0-20000 corresponds to 0-32767. The actual minimum resolution is 0.2/32767V = 6 microvolts.

When the voltage to be measured is greater than 0.2V, a partial pressure treatment must be performed. Generally, a voltage divider of 10 times is used, for example, 0.2V at 2V. The voltage divider is shown in Figure 1.



Figure 1 Voltage divider
In the same way, when measuring the current, it is also processed so that the current becomes a voltage before it can be measured. The current measurement principle is shown in Figure 2.

Figure 2 Current divider
Please note that the right 20A input in Figure 2 is directly connected, of course, you can also add a 20A fuse.

The above is the case of measuring DC voltage or DC current. When measuring AC voltage or AC current, it must be rectified. The rectifier circuit is shown in Figure 3.

Figure 3 AC rectifier circuit
The AC/DC conversion circuit consists of an in-phase amplifier A1, rectifiers D2 and D3, blocking capacitors C18 and C19, smoothing filters R22 and C22, and R24 is a calibration resistor. This circuit can get the effective value of the input sine wave. D1 is used to reduce nonlinear distortion.

The measurement of resistance is different from the measurement of voltage and current. The schematic diagram is shown in Figure 4.

Resistance measurement uses a proportional method, that is, when the current flowing through the resistance to be measured and the reference resistor are the same, Uin/Uref=Rx/Rref, according to the AD conversion characteristics of the FE42X, when the input voltage is half full of the reference voltage, That is when the resistance to be measured is half of the reference resistance. Therefore, the reference resistance of 200 ohms is 400 ohms. Assuming that the resistance to be measured is 100 ohms, since the voltage across the reference resistance and the resistance to be measured is 1.23 V at this time, the reference voltage is 1.23*(400/500)V, and the input The voltage is 1.23*(100/500), and when the input voltage is 1.23*2/5 full scale, the current AD value is half-100 ohms of full scale. Of course, the AD at this time is the conversion of the range 0-20000 corresponding to 0-32767.

Six, a brief analysis of the actual implementation of the circuit:

1, DC voltage measurement:

The voltage to be measured passes through a voltage divider to generate different voltage values ​​across the voltage divider resistors. At this time, the voltage of the input MCU is determined according to the voltage to be measured. Here, the HC4051 is used to select the voltage to be measured. Since the voltage to be measured may be as high as 1000V, Panasonic's PHOTORELAY (its input is up to 1000V) is selected as the input of the voltage divider. When the appropriate voltage divider is selected, the voltage is about 3 times of the amplifier circuit composed of TLV2211 (AD sampling full scale), and then the range conversion (0-20000 corresponds to 0-32767) can be obtained. Measure voltage value.

2, AC voltage measurement:

The AC voltage measurement shares a voltage divider with the DC voltage measurement. After being divided, the voltage to be measured is rectified by the AC rectifying circuit composed of the TLV2211 and then enters the amplifying circuit for measurement.

3, DC current measurement:

Because the current to be measured is up to 200mA, the current through the analog switch can be small. Therefore, AQV201 (500mA load current at 40V) is used as the current selection. The measured current is divided into the amplifier circuit before being sent to the AD.

4, AC current measurement:

The AC current measurement shares a voltage divider with the DC current measurement. The difference is that after the voltage is divided, it will enter the AC rectification circuit, and then it will enter the amplifier circuit and be sent to the AD.

5, resistance measurement:

The resistance measurement circuit selects the MAX4638 analog switch with a small internal resistance to access the reference resistors of different ranges to measure the resistance of the resistance to be measured. The AD uses an external reference voltage. The reference voltage is sent to the reference terminal through the subtraction circuit to obtain the voltage on the reference resistor, and the voltage on the resistance to be measured is directly sent to the measurement terminal.

6, finally:

Since the input impedance of the MSP430FE42X is 500k, a follower is added to the AD input to increase its input impedance.

Drawstring Garbage Bag

Easy to tie up for disposal. The drawstring garbage bag is with retractable handles, more convenient to carry the garbage. To tighten the rope, it could lock the waste and smell easily and left the hands clean. The bags are made of high quality virgin polyethylene, with strong bearing capacity and tear-resistance. Size, thickness, color,printings and packing requirements could be made according to orders.


Garbage drawstring bag

Drawstring Trash Bag Roll, Drawstring Bin Liners, Drawstring Trash Bags, Drawstring Kitchen Bags, Drawstring Bin Bags, Glad Drawstring Trash Bags

BILLION PLASTIC MANUFACTURING CO.,LTD, JIANGMEN , https://www.jmfoodpackagingbag.com