Electronic – On Computing Power Consumption for a GSM system

gsmpowerpower-consumptionwatts

I'm a software student trying to learn about embedded systems. I would like to
build a low-power system that can send his coordinates by SMS and also receive SMS. Unfortunately I'm at level zero in electronics and the first step is to estimate power consumption and I am not sure at all of my computations.

Could someone verify my computations and tell me if I forgot anything important ?

I choosed:

Microcontroller: MSP430G2553 datasheet.
From the datasheet I read

Low Supply-Voltage Range: 1.8 V to 3.6 V
Active Mode: 230 µA at 1 MHz, 2.2 V
Off Mode (RAM Retention): 0.1 µA

So I made the following computations:

Power consumption on run mode:
230uA * 16MHz * 2.2V ~= 8mW
Power consumption on sleep mode:
0.1 uA * 2.2V = 0.22 uW

For the GSM Module I choose ublox SARA-G3 informations
There I see:

Power supply 3.00 to 4.50 V (extended)
Power consumption Power Off: < 40 μA
Connected: < 250 mA

So I compute the power consumption in the following way:

Power off: 40uA * 3.75V(Average) = 0.15 mW
Connected (full power): 250mA * 3.75V ~= 1W

And finally for the GPS: ublox MAX7

Continuous Mode: 17.5 mA @ 3 V => 52.5 mW
I Suppose it can be powered off when unused

TOTAL POWER CONSUMPTION

Sleep: 0.22 mW + 0.15 mW + 0 = 0.37mW
Max: 8mW + 1W + 52.5mW ~= 1W

So if I take for the sake of the example two AAAA alkaline batteries (1.5V, 500mAh capacity) and put them in series

3V, 500mAh capacity => 3V * 500mAh = 5400 J energy

The device would last:

5400J / 0.37mW = 168 days on sleep mode
5400J / 1W = 1.5 hours in max mode 

Best Answer

The calculation seems correct to me, but some points:

  • Assume your device is going to use more than you expect. Depending on the circuit you're going to use, not only the modules consume power. It might be insignificant though, I'm not sure.

  • The power consumption of the microcontroller is dependent on the oscillator frequency and the supplied voltage.

    Given is the consumption at 1MHz. For your application, this may or may not be too slow, depending on how much instructions you're going to need to read from the GPS module, process the data, send SMS, read SMS, etc. My guess is that 1MHz is not going to be enough, but it depends on your code and speed requirements. However, you cannot just adjust the frequency.

    On page 22 of the datasheet you linked to, you can see different power consumption graphs for different oscillator frequencies and supply voltages:

    enter image description here

    (http://www.ti.com/lit/ds/symlink/msp430g2553.pdf, p. 22)

    In this graph you can also see that you cannot use 16MHz with any supply voltage. This is clarified on page 21:

    enter image description here

    (http://www.ti.com/lit/ds/symlink/msp430g2553.pdf, p. 21)

    So as you can see, if you want to run the microcontroller at 16MHz, you're going to need 3.3V (see the "Recommended Operating Conditions" table on the same page), and you will be consuming about 4.15mA instead of 0.230uA * 16 = 3.68mA.

    Another note: it depends on the characteristics of the microcontroller that you're using (I don't know it), but running the microcontroller at 2.2V and the GPS/GSM at a different voltage might cause problems, since the input/output of the modules might not be compatible with the input/output of the microcontroller anymore. It's always safe to have both on the same supply to make sure you don't have this kind of issues, but it will also consume some more power.

  • You calculation supposes a perfect voltage source. Real-world batteries however don't have a fixed voltage. The voltage will change over time, and alkaline doesn't have the best specs:

    enter image description here

    (http://www.stefanv.com/electronics/using_nimh.html)

    Now this graph is an example for a 2Ah battery, but you see the idea. You're going to use two alkaline's to get the necessary 3V for the GSM module, however, directly after using the batteries the voltage will drop and the module won't work anymore. A better option would be to use three NiMH's, which provide 3.6V together and will keep the device running until the batteries are almost completely discharged.

  • You say you want to turn off the GPS when unused. Yes, this is possible, but remember that the module needs some time before it has a fixed position, as it needs to look for satellites. I don't know the details of your application, but say you want to send an SMS every 10 seconds, then you cannot turn the GPS off in between.

    How much time you need to get a fix depends on your module and environmental circumstances like buildings and maybe the weather, I'm not sure. I built a device with a fairly old GPS module once, and that one needed about 4 minutes in open field to get a fix. Nowadays modules should be much better.

    Even though you can use the GPS module within a certain voltage range, that doesn't mean you get the same results. When I was building that device, I noticed I could get a fix slightly faster, in about 3 minutes, when using a supply voltage about 0.5V higher than the minimum. (In the end I didn't use it since I didn't need the minute and it would mean adding an extra battery, for which I didn't have space.)