Hi, algufo
For this kind of measure, you should use a (very) low pass filter before entering the A/D, then take, say 16 or 32 samples to get the mean value.
That's the way to get rid of A/D input noise.
Alain
Hi, algufo
For this kind of measure, you should use a (very) low pass filter before entering the A/D, then take, say 16 or 32 samples to get the mean value.
That's the way to get rid of A/D input noise.
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
1 mV is pretty small.
I would try uping my shunt to a .1 high wattage R.
The filter is a good idea agains the transients, so if you are using a 10K R for your series R to the A/D input, put a 1uF cap on the shunt side of this resistor. I would think that would be enought to smooth out the rough edges.
I would be checking this with an O-scope, just to verify that it is the problem.
A general purpose op-amp could be used to boost the signal up by a factor of 100 once you get the transients under control.
Also, check out ALLElectronics, I think they have a current donut pretty cheap.
Have fun
dw
see here for a non intrusive measure :
http://www.siliconchip.com.au/cms/A_30551/article.html
all documents downloadable ...
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
I'm currently trying with an op amp using differential config and 10X amplification. The measurement if by far better.
The problem I'm experiencing is that I could find only an LM324 and has an offeset output that influences the reading.
Do you see any solution to reduce this behaviour or can you suggest some precise (cheap and easily available) op amp?
Thanks
Al
Algufo,
Try this post....
http://www.picbasic.co.uk/forum/show...hlight=allegro
You'll find that the Allegro Current Sensor will do the trick, best of all you can get free samples from the manufacturer!
J
Hi,
Since the floating voltage is not higher you can use an instrumentation amp to amplify the signal then have some sort of integrator circuit. Have a sign indicator / inverter to tackle charge discharge. A good option is to use an AD625 programmable gain intrumentation amp package. Then do the AD as normal. I use this in my industrial battery charger design and cannot give you code and schematic as it is a commercial design.Good luck.
Regards
Sougata
Bookmarks