Author Topic: Low power Voltage measurement system  (Read 1981 times)

0 Members and 1 Guest are viewing this topic.

Offline newerbeeTopic starter

  • Contributor
  • Posts: 10
  • Country: tr
Low power Voltage measurement system
« on: November 17, 2017, 07:55:34 am »
Hello everyone,

I am aiming to design a voltage measurement circuit that will run on the lowest possible power consumption. the idea is to have a battery operated system that will take measurements every second and record them (basically a datalogger). However, it should run at least 3 years with a 3.6V battery max 10Ah capacity.

-the measurement range is +-10VDC at 1mV resolution and 30VAC at 10mV resolution .
-input impedance should be min 10Mhm for measurement channel
-at least 2 measurement channels

The system will have an MCU running and SD card (or alternative) to store data

I made a simple calculation and found that the system should be running on average of approximately 350uA.

Do you think this is a achievable? what would you recommend?

Thanks.



« Last Edit: November 17, 2017, 08:08:01 am by newerbee »
 

Online Ice-Tea

  • Super Contributor
  • ***
  • Posts: 3064
  • Country: be
    • Freelance Hardware Engineer
Re: Low power Voltage measurement system
« Reply #1 on: November 17, 2017, 08:01:17 am »

Offline newerbeeTopic starter

  • Contributor
  • Posts: 10
  • Country: tr
Re: Low power Voltage measurement system
« Reply #2 on: November 17, 2017, 08:43:17 am »
Shouldn't be too hard.The trick is to put your uC to sleep during measurements, obviously. And only to write to the SD once in every blue moon.

https://www.google.be/url?sa=t&rct=j&q=&esrc=s&source=web&cd=13&ved=0ahUKEwjDm_TjkcXXAhXBqxoKHZ3GCfQQFghGMAw&url=http%3A%2F%2Fww1.microchip.com%2Fdownloads%2Fen%2FDeviceDoc%2F01146B_chapter%25202.pdf&usg=AOvVaw2gbebbMCTndumnN4ApbMNj

This was very useful, thank you. Then, I guess, I only need to select ultra low power ADC and op-amps etc.
 

Online Ice-Tea

  • Super Contributor
  • ***
  • Posts: 3064
  • Country: be
    • Freelance Hardware Engineer
Re: Low power Voltage measurement system
« Reply #3 on: November 17, 2017, 02:19:44 pm »
If you can: use the uC's integrated ADC.

Offline macboy

  • Super Contributor
  • ***
  • Posts: 2252
  • Country: ca
Re: Low power Voltage measurement system
« Reply #4 on: November 17, 2017, 05:01:59 pm »
What is the nature of the AC signal you want to measure? frequency, type of waveform, etc.   And what do you need to know about it? "Measure AC voltage" doesn't mean the same thing as "Measure DC voltage". Do you want the RMS value? Peak to peak? average? Crest factor? Frequency? This is all very important.

You may find that measuring the AC voltage will be an order of magnitude more difficult and energy-intensive than the DC voltage.
 

Offline newerbeeTopic starter

  • Contributor
  • Posts: 10
  • Country: tr
Re: Low power Voltage measurement system
« Reply #5 on: November 18, 2017, 08:11:52 pm »
What is the nature of the AC signal you want to measure? frequency, type of waveform, etc.   And what do you need to know about it? "Measure AC voltage" doesn't mean the same thing as "Measure DC voltage". Do you want the RMS value? Peak to peak? average? Crest factor? Frequency? This is all very important.

You may find that measuring the AC voltage will be an order of magnitude more difficult and energy-intensive than the DC voltage.

I want to measure the RMS value of the 50Hz AC signal. my plan is to collect as many samples as I can during a 40ms (2 cycles) period and calculate the Rms value.
 

Offline magtux

  • Newbie
  • Posts: 9
  • Country: in
Re: Low power Voltage measurement system
« Reply #6 on: November 19, 2017, 10:09:20 am »
@newerbee : You might want to check this out by Jack Ganssle. He provides an amazing guide to common gotchas in low power design.

http://www.ganssle.com/reports/ultra-low-power-design.html
 

Offline newerbeeTopic starter

  • Contributor
  • Posts: 10
  • Country: tr
Re: Low power Voltage measurement system
« Reply #7 on: November 19, 2017, 05:01:39 pm »
@newerbee : You might want to check this out by Jack Ganssle. He provides an amazing guide to common gotchas in low power design.

http://www.ganssle.com/reports/ultra-low-power-design.html

really good one, thanks.
 

Online David Hess

  • Super Contributor
  • ***
  • Posts: 16549
  • Country: us
  • DavidH
Re: Low power Voltage measurement system
« Reply #8 on: November 20, 2017, 04:54:42 am »
I want to measure the RMS value of the 50Hz AC signal. my plan is to collect as many samples as I can during a 40ms (2 cycles) period and calculate the Rms value.

I seems feasible to me if you follow Ice-Tea's recommendations about buffering the results so that the SD card may be written at long intervals.

+/-10 volts with 1mV resolution is 20,000 counts so a 16 bit sampling ADC would be the right choice (1) and there are many which will work however I am not convinced that the accuracy to support that resolution is achievable within your power limit because of noise considerations.  This will result in more of a "best effort" design and suggests sampling both the DC and AC signals during the 2 cycle (or longer) period and calculating the RMS value of both as a sanity check and to minimize the low frequency noise of the DC measurement.

I was thinking something like a 2 channel LTC1865L ADC and LT1634 shunt reference.  A series reference would be more difficult to use because of decoupling requirements.

(1) Not because of its resolution but because of its integral non-linearity to support meaningful accuracy.
 

Offline newerbeeTopic starter

  • Contributor
  • Posts: 10
  • Country: tr
Re: Low power Voltage measurement system
« Reply #9 on: November 23, 2017, 06:49:40 am »
Thanks David.
The target accuracy is %0.25+2digits.

an event triggered solution will also do. some thing like ADS7142. forexample if i can monitor the voltage levels and record the min max values during a (e.g.) 5 minute period then get the actual reading. So every 5 minutes I will have the min and max system values and 1 actual reading.

I was also thinking RMS to DC converters as they are low power too and will help with the accuracy.

« Last Edit: November 23, 2017, 06:56:19 am by newerbee »
 

Online David Hess

  • Super Contributor
  • ***
  • Posts: 16549
  • Country: us
  • DavidH
Re: Low power Voltage measurement system
« Reply #10 on: November 23, 2017, 04:27:34 pm »
Thanks David.
The target accuracy is %0.25+2digits.

That is only 400 counts at most making 20,000 counts overkill.  There are many more 12 bit ADC options than 16 bit ADC options.

Quote
I was also thinking RMS to DC converters as they are low power too and will help with the accuracy.

You are better off sampling the signal and calculating the RMS from the standard deviation.  The RMS converters that I checked draw more than a suitable sampling ADC and have a long settling time so they have to be powered for much more than 2 out of 50 cycles.
 

Offline newerbeeTopic starter

  • Contributor
  • Posts: 10
  • Country: tr
Re: Low power Voltage measurement system
« Reply #11 on: November 23, 2017, 07:10:46 pm »

That is only 400 counts at most making 20,000 counts overkill.  There are many more 12 bit ADC options than 16 bit ADC options.

May be I am wrong but as I was expecting to get 2.5mV+-2mV error on 1000mV scale.  and at 10000mV it is 25mV+2mV?

I dont think I can get that from a 12bit resolution. or is my error calculation wrong?
 

Online David Hess

  • Super Contributor
  • ***
  • Posts: 16549
  • Country: us
  • DavidH
Re: Low power Voltage measurement system
« Reply #12 on: November 23, 2017, 09:25:40 pm »

That is only 400 counts at most making 20,000 counts overkill.  There are many more 12 bit ADC options than 16 bit ADC options.

May be I am wrong but as I was expecting to get 2.5mV+-2mV error on 1000mV scale.  and at 10000mV it is 25mV+2mV?

Your original message says +/-10 volts with 1 millivolt resolution which is 20,000 counts.  But that is overkill for an accuracy of 0.25% + 2 digits where a measurement could be off by more than 25 millivolts.

0.25% is a reasonable target considering the cost of 0.1% and better resistors and a precision reference but it may require calibration of the ADC.  I might use an integrated 4 channel ADC to support 2 inputs and 2 calibration inputs so the calibration can be done automatically to remove ADC gain and offset errors.

Something like a 12 bit LTC1594L/LTC1598L would be suitable for a design which does not require calibration.  Self calibration using the extra channels will remove the offset and gain errors of the ADC itself leaving 10 bits of linearity or 0.1%.  I would probably prefer self calibration to a higher resolution ADC but maybe TI, Analog Devices, or Maxim has a suitable higher resolution part.

Quote
I dont think I can get that from a 12bit resolution. or is my error calculation wrong?

If you are taking multiple samples and averaging, then accuracy is limited by the integral non-linearity (INL) instead of the resolution of the ADC assuming all other sources of error are removed.  0.25% + 2 digits is not demanding of even a good 10 bit sampling ADC and some 8 bit sampling ADCs can meet it.  The 16 bit ADC I linked as an example has better INL but not enough to support its 16 bit resolution really making it a 14 bit ADC as far as accuracy is concerned and this is common with 16 bit sampling ADCs.

Things get a little weird for the error analysis of the standard deviation calculation to produce an RMS reading.  The quantization error of the ADC shows up as an additional noise source which always increases the magnitude of the RMS result but unless the DNL (differential non-linearity) is high, this problem will be insignificant.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf