Sunday, October 23, 2016

Initial schematics for low accuracy voltmeter prototype PCB is ready

The initial schematics for the first PCB prototype is done. 
It can be found in the git opendcm repository:

The changes from breadboard prototype are related mostly to increased over-voltage protection. The voltage supply of the input buffer LTC2057HV was increased to ± 30V, which will protect up to ± 40V with 1K resistor in series. Because the automatic voltage range switch ADG5419 is rated maximum to ± 22V, additional 1K resistor in series was added to the 20V range op-amp buffer LTC2057HV powered by ± 22V. By this way if input voltage is increased to ± 40V, the input voltage of the ADG5419 switch will be limited to ±22V by the power supply of the LTC2057HV buffer on the pin 8.


There are no changes in the ADC section at all:

 The power supply and reference section:
The power supply will be more complicated as I though in the beginning. It should provide 7 positive and negative voltages. I'm not sure now if an AC with isolated transformer or step-up dc-dc converter from battery will be used as main power supply. The current consumption which I measured only on analog part, except the uController, was ~15mA, which is suitable for battery powered supply.

The next thing which I have to experiment is the connection between the ohm-meter and the voltmeter input.

The final multi-meter prototype will contain 3 PCB - one for the voltmeter and the ohm-meter, second for the current meter and the third for the power supply.  

Saturday, October 8, 2016

Preliminary accuracy estimation for the voltmeter

It is time to make preliminary accuracy calculation before making the first PCB prototype.
Initially I had target of 100ppm year accuracy for the low accuracy version with off-the-shelf ADC and 20ppm for multi-slope ADC version. Lets see if selected components will fit into the sub 100ppm target.
The relative accuracy of the voltmeter is given as +/- percent of reading plus percent of the range. The reading corresponds to the gain error of the voltmeter and the range is related to the offset error. Because the voltmeter contain several components, the worst case error is the sum of all errors from each component, but if errors are uncorrelated, root sum square method can give more accurate estimation.
I will try to estimate the accuracy for one year period and for 10 °C temperature range between 18 and 28 °C.
The picture below shows all components contributing to the accuracy errors of the voltmeter:


The accuracy estimation is shown in the table below. I used the worst maximum values extracted from the datasheets of the components.
The accuracy of the LTC2057 op-amp is calculated twice : as input buffer and as buffer in front of the SPDT switch. The accuracy of the voltage divider resistors LT5400 is only calculated for the 20V range, because it is used only for this range. The gain error of the op-amps are calculated based on the open loop gain value. The gain error of the ADC is calculated when the offset is subtracted from the Full Scale Error (FSE).

2V Range20V Range
Gain error, ppmOffset error, ppmGain error, ppmOffset error, ppm
Offset
2.50
0.25
Offset drift temp.0.130.01
Gain0.180.18
Offset
2.50
0.25
Offset drift temp.0.130.01
Gain0.180.18
Temp drift0.00
10.00
Long term year0.002.00
Offset
7.50
0.75
Offset drift year6.000.60
Offset drift temp.3.000.30
Gain3.333.33
INL
5.005.00
Offset2.500.25
Offset drift temp.0.100.01
Gain (FSE-Offset)8.00
8.00
Gain drift temp.1.921.92
Temp drift20.00
20.00
Long term year20.0020.00
2V Range20V Range
AccuracyReading, ppmRange, ppmReading, ppmRange, ppm
Using worst case method53.6129.3565.617.44
Using root sum square method29.6512.0431.355.12

Using the worst case method, I got ~83ppm for full-scale measurement for the 2V range and ~73ppm for the 20V range.
Using the root sum square method, I got ~42ppm for full-scale measurement for the 2V range and ~36ppm for the 20V range.

The actual accuracy can be reduced even more with the software calibration for the gain and the offset and only temperature drift and long term gain and offset errors will remain. 

Looking into the table data, the voltage reference will contribute the most for the gain error and the ADC buffer for the offset error, except for the 20V range, where the ADC INL is dominant.

Of course, the final accuracy shall be measured after one year usage of the voltmeter using a laboratory grade voltmeter or with voltage standard.