Saturday 9 April 2016

low power - Measuring low current at very high speed


I have a circuit with a very-low-power Jennic JN5148 module with microcontroller and 2.4 GHz radio, and some low-power sensors.



I have to measure the supply current of all these components, in an interval of around a second and with a resolution of about 100 uA. These currents may have a maximum value of about 30 mA for the Jennic module, and slightly under 1 mA for the other components.


I should measure these currents simultaneously and at a frequency of about 10 ksample/s, and i need at least 4 channels.


The other requirements are to use as more as possible instruments over building amplifiers and so, and to perturb at least as possible the supply of components. Actually, the requirement is NO COMPONENTS and ONLY INSTRUMENTS.


Does anybody has an idea about the best fitting solution? (i think that i've explained all but tell me if it lacks something)


EDIT: Found this that could be a solution, but can you help me understanding what is the perturbation that it adds to the circuit?



Answer



So you need to measure supply current at 10 ksamp/s from 100µA to 30mA, which is 300:1 range.


That by itself sounds doable enough. Even a 10 bit A/D built into a microcontroller is enough resolution if the signal is amplified properly. 10 kHz sample rate is also quite doable. In fact, I'd want to sample faster than that and do a little low pass filtering and decimation in the micro. 100 kHz sample rate isn't even pushing it for something like a PIC 24H. At 40 MIPS that would leave 400 instructions/sample. That is much more than needed for a little low pass filtering and background bookeeping, so that checks out fine too.


The real question is what does the power feed look like and to what extent can you break into it. Are the units under test powered with LDOs? That would be useful, since a small current sense resitor before the LDO wouldn't effect the unit under test power voltage at all. You'd have to subtract off the LDO current, but that is doable. By putting the current sense before the LDO, you can afford to have it drop a little more voltage since the LDO will make sure the UUT still sees the same supply voltage. This of course assumes there is enough input voltage headroom to play with.


If you have to put the current sense directly in line with the UUT, then you have to carefully consider voltage drop versus sensitivity and therefore ultimately signal to noise ratio. Maybe 1Ω is reasonable. That would only drop 30mV max, which wouldn't effect most devices much at all. You'd need a differential amplifier and a overall gain of 100 so that 0-30mA results in 0-3.0V, which is just about the right target for a processor running at 3.3V. Various folks make such diff amps or specifically high side current sense amps. If this is a one off, I'd start with Analog Devices. A 10x diff amp with 1 MHz gain-bandwidth shouldn't be hard to find. That would need to be follwed by a ordinary 10x amp before the micro, again with 1 MHz gain-bandwidth being adequate. You could try doing the whole thing with a single 100x diff amp, but the gain-bandwidth product should be at least 10 MHz so the choices will be more limited.



No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...