DSO 150 : Accuracy part 2, what is happening, how to fix it


The root cause is the TL084.
It is part of several stages in the input chain.

It is powered by +-5V and if we look at the datasheet, the output voltage is capped depending on the power supply :

With +-5v, the TL084 can actually only output about +-3V according to that spec
The real value is much worse, it is actually VCC-4v to be safe (!) So only +-1 swing !

Raising the power supply is not an option, that would not be compatible with unmodified hardware

Now let's compute the max value at every point of the input chain


MAX @ G3
Max @ G2
Max @ G1B
Max IN
Max ADCG4G3G2G1AG1G1B
Friendly name
Actual MAX INSAT VALUESAT ADCTL084 SAT
V/DIV
1.508.000.18751.000.18752.000.093750.911.000.10312520mv202
1.508.000.18750.500.3752.000.18750.911.000.2062540mv402
1.508.000.18750.250.752.000.3750.911.000.412580mv80Max V/Div2
1.508.000.18750.101.8752.000.93750.911.001.03125200mv2002
1.508.000.18750.053.752.001.8750.911.002.0625400mv400213.3333333200 mv1.11092.2666672
1.508.000.18750.037.52.003.750.911.004.125800mv800213.3333333200mv1.1546.13333332
1.508.000.18751.000.18752.000.093750.910.0110.31252v22
1.508.000.18750.500.3752.000.18750.910.0120.6254v42
1.508.000.18750.250.752.000.3750.910.0141.258v82
1.508.000.18750.101.8752.000.93750.910.01103.12520v202
1.508.000.18750.053.752.001.8750.910.01206.2540v4021.3333333320V1101092.2666672
1.508.000.18750.037.52.003.750.910.01412.580v8021.3333333320V110546.13333332

The important value are in red. They mean that  for that range, in  one of the intermediate amplifying step the TL084 will saturate (the table is using 2v as saturation voltage for the TOL084, which is not too aggressive, but not guaranteed to work every time).

So let's not use the last line of each group, it is useless
Let's also only use partially the swing for the line before , i.e only half its swing so it does not saturate.


With that new mapping between volt/div and the hardware range we use, the end result is
(all in mVolt)



Vin DSO Error (%)
20,1 20 0,5
79,8 79 1
95,5 95 0,5
95,5 95 0,5
190 189 0,5
386,7 386 0,2
541,2 540 0,2
860 860 0
1658 1660 0,1
1658 1660 0,1
3600 3600 0
4377 4390 0,3
7458 7480 0,3
8163 8130 0,4
12080 12040 0,3
18330 18290 0,2


Much better !
The noise is still high though, about 2%

Comments

  1. How about boosting to 10v (or 12v, if replacing 7660 by 7660a) and replacing 7805/7905 by 9v LDOs?

    ReplyDelete
  2. That would be the best option, but it would mean a firmware that works only on modified hw

    ReplyDelete

Post a Comment

Popular posts from this blog

Component tester with STM32 : Part 1 ADC, Resistor

Fixing the INA3221

INA3221, weird wiring