TheThingsIndustries / generic-node-se

Generic Node Sensor Edition
https://www.genericnode.com
Other
110 stars 31 forks source link

Power supply design #8

Closed elsalahy closed 4 years ago

elsalahy commented 4 years ago

Summary:

Power supply design discussions and decisions.

edit by @azerimaker:

Step-down regulator choices:

elsalahy commented 4 years ago

@azerimaker can you please add relevant design documents and relevant design decisions here. We should also target asking specific questions here.

azerimaker commented 4 years ago

After many discussions and past mistakes with the GN, we decided to go with the ### 2x AA battery solution. By doing so, will provide us with a working input voltage range of 1.8-3.6V which aligns perfectly with the useful operating voltage of the STM32WL and other on-board devices. Would love to get @johanstokking's opinion on this choice.

azerimaker commented 4 years ago

If we go the 2x AA way, we can use a step-down converter or a low power linear power regulator (LDO), by operating at a lower voltage, say @2V we can attain a much more stable device, with longer battery life, wider voltage input range (1.8 - 5.5V). Having wider input range also enables us to use many other types of battery chemistries within the range. I've narrowed down our regulator choice to TPS62840 from TI, which is highly-integrated, extremely low-power buck converter with only 120 nA of quiescent current and up to 6.5V input range.

tps62840.pdf

johanstokking commented 4 years ago

I've got too little experience to say something more meaningful about this than what you describe above.

What speaks for 2x AA is the ability to easily replace the batteries anywhere. If there are other very commonly used batteries that provide better performance and are smaller, for example, then we need to consider that.

One of the mistakes made with GN was, I believe, that there were some tweaks needed to power the ATECC608A with 2.0 V (?)

azerimaker commented 4 years ago

There are other batteries, of course, (smaller, higher energy density), but they all come with added cost. Cheapest option is the AA alkaline.

@johanstokking if we believe the datasheets (which we shouldn't) operating voltage starts from 2V. The buck converter has a selectable output ranging from 1.8-3.3V, if needed we can adjust the output voltage with a quick solder bridge.

elsalahy commented 4 years ago

Design decision: The power supply design will be greatly affected by which transmission power the device must support?

One idea is to target 14 dBm only design? Pros:

Cons:

Am I missing other cons? then why is the LW standard mentioning +20 as a recommendation for the US

@azerimaker @wienke @johanstokking what are your thought on this?

johanstokking commented 4 years ago

Can you give some figures about better battery design, better power efficiency and reduced costs, when going for a design that supports only 14 dBm?

TX power is driven by Adaptive Data Rate and/or the application running on the end device. We wouldn't always make use of 20 dBm in US915, but it would be a possibility. It's 4 times as much power which can become.

elsalahy commented 4 years ago

Regarding better power efficiency:

@azerimaker can you provide some estimation and figures regarding the better battery design and the reduced cost that will be gained if we limit only to 14dBm?

azerimaker commented 4 years ago

@johanstokking @elsalahy @wienke, the buck converter we want to use has selectable outputs which can be set during the assembly. We can also read this jumper status and program the firmware to operate accordingly.

If we set the operating voltage to 2V for EU and 2.7V for US with a penalty of slightly more current consumption, we can have singe BOM to cover both regions.

Capture

johanstokking commented 4 years ago

with a penalty of slightly more current consumption

What would be the estimate?

@elsalahy estimates 30%, which is not "slightly"

we can have singe BOM to cover both regions.

This sounds great

azerimaker commented 4 years ago

@johanstokking increasing transmit power (by increasing the voltage) will always end up in higher energy consumption. With the help of ADR US customers can still save a lot of energy. We can also let them to switch the operating voltage down to 2V if longer battery life is what they want.

azerimaker commented 4 years ago

after revising the power supply section we now have two design options if we want to achieve global operation using single BOM. Option 1 - using LDO + Boost Converter Pros:

Cons:

option1

azerimaker commented 4 years ago

Option 2 - using Buck/Boost Converter

Pros:

Cons:

option2

elsalahy commented 4 years ago

Before I provide my recommendation, @johanstokking you mentioned a new TNGLORA (V3) in development, is it the same as the previous version HW wise?

johanstokking commented 4 years ago

Yes it's a ATECC608B version with the same specifications otherwise

azerimaker commented 4 years ago

@elsalahy, the Linear regulator I've picked has selectable output with a resistive voltage divider, we can set whatever operating voltage we want between 1.8-3.3V. If the secure element behaves erratically at 2V, we can operate at 2.1 or 2.2 instead. We have that flexibility.

elsalahy commented 4 years ago

@azerimaker Ok great, one tip is to analyse the latest old GN schematics and ensure we use similar capacitors values and setup.

azerimaker commented 4 years ago

@wienke , @elsalahy , @johanstokking , I'm adding these battery energy calculations (in Watt-hours instead of Amp-hours) so we can have better understanding when we choose which AA or AAA combo we want to use. I'm using Energizer L91 and L92 batteries as a reference:

The takeaway is that, 2x AA has 66% percent more capacity than 3x AAA.

azerimaker commented 4 years ago

I think we can all agree that going with 2xAA route would be the best option, at least for the first prototype.

azerimaker commented 4 years ago

We now have one last crucial decision to make. After all the back and forth discussions, it's clear that we have two options to proceed for our power supply approach, which are:

1. We design two slightly different and region optimized BOMs for the and the US. EU one would be optimized to work at max. +14dBm output, while operating at lover voltage (2V), and the US one will have higher operating voltage to accommodate high RF power output.

Advantages:

Disadvantages:

azerimaker commented 4 years ago

2. We design single BOM with dual-band RF front-end. We again have two sub-options here:

2.1 Have a fixed middle voltage (say ~2.7V) with max. RF power of +20 dBm.

Advantages:

Disadvantages:

Disadvantages:

azerimaker commented 4 years ago

@wienke, @johanstokking, @elsalahy, I know it's a bit overwhelming to decide which route to take, I've been scratching my head for a month now.

If you ask me, if the added 5% component cost and slightly compromised battery life isn't an issue, I would pick option 2.1 at least for the first prototypes to be on the safe side, but if you say we should aim for lower BOM cost from the beginning, then we should go with option 1.

Option 2.2 could be an experimental one, once we have a working prototype of option 2.1. It can be an upgrade.

elsalahy commented 4 years ago

I support 2.1 as the best choice. I support 1 as the second best choice.

johanstokking commented 4 years ago

Let's go for 2.1 for now indeed, thanks for the considerations.

wienke commented 4 years ago

Same