Electrical – How to these GPS/GPRS bike tracking locks be so power saving

batteriesdataloggergsmsim900solar energy

I am really puzzled by how these GPS/GPRS, solar-powered bicycle locks seem to be running on very little power. They are fitted with a tiny solar panel.

As you may know, these locks are popular these days with publicly shared bicycles like OFO, Mobike etc. As I understand, in principle they (continuously or very often) report their position to a server via GPRS connection. They may also need to poll the server frequently for commands (e.g. unlock the bike). In my knowledge all of this requires a lot of power. They are operated with an app, and as I understand for instance if you want to unlock from the app, data will be transmitted from the app to server, and from the server to the lock.

I am trying to DIY one myself in order to learn IoT.

I am basing my lock around the GPS/GPRS module SIM808 and base on my calculations (below) it require quite a huge rechargeable battery, and a huge solar panel to charge it. These commercial locks could be using other modules, but I would presume their power consumption should be more or less comparable since they use the same technology.

THESE ARE MY CALCULATIONS:

Let’s just put GPS aside since I see that GPRS alone is already enough puzzle for me.

I decided that to save power, my SIM808 will not maintain continuous communication with the server but rather to make a connection to the server (via TCP/HTTP to a PHP script) every 5 seconds to send data (GPS location for instance) and to receive data (e.g. command to unlock the bike).

Even with that interval, the module would need to make almost 20,000 data transfer sessions a day. Assuming that each session needs 1 second, then the total transmission time is about 5.55 hours a day. According to what I depicted from the datasheet of the SIM808, the module consumes around 0.48A during transmission (datasheet even says in some transmission bursts the current can be as high as 2A, but let’s just stick to 0.48A).

That requires a 2.7 Ah rechargeable battery to power the module for 24 hours. Of course, to account for winter days or when there is bad weather, I decide to triple the capacity of the battery to 9Ah (which I decide to use 12V 3S Li-ion since I have some around) so that the module can last about 3 days even without sun light.

Now for the solar panel to charge this 9Ah battery, according to the calculator here, I will need a 225W 12V solar panel, and with its size I think it should be mounted on a roof!

Could anyone please tell me where I may have gone wrong?

Thank you!

EDIT:
My calculations are wrong. The average power consumption should be < 1 Watt and a 10W solar panel is more than enough.

With clever power saving techniques, a 2W panel would be sufficient.
enter image description here

Best Answer

There are a couple of things you can do to cut down on the transmission rate.

  1. Only transmit when you have moved more than a certain distance... eg, 50ft or so.

  2. Cut down on the transmission size.. 1 second seems like a long time for an I am here packet. 40mS seems more in the ball park.

  3. Use adaptive transmission based on available power. i.e reduce transit rate when dark and have not moved in a while.

From a sanity check, something also seems off with your math.

If it's 12V and max current is when it transmits at about 0.5A, that's only 6W if you are transmitting 24-7. At one second every five, that's just over a watt. From that alone, a 225W solar panel would be serious overkill even if you do want to charge a battery so it works for a few days in a garage.

Related Topic