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
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%
How about boosting to 10v (or 12v, if replacing 7660 by 7660a) and replacing 7805/7905 by 9v LDOs?
ReplyDeleteThat would be the best option, but it would mean a firmware that works only on modified hw
ReplyDelete