arduino-dw1000 icon indicating copy to clipboard operation
arduino-dw1000 copied to clipboard

current consumption in deepSleep mode

Open vat1 opened this issue 7 years ago • 5 comments

I've measured current consumption from 5 mA on the DWM1000 in sleep time (DW1000.deepSleep();). It's to more then 100 nA mentioned in DW1000 datasheet. Have someone better result or ideas how to decrease it. thanks in advance!

vat1 avatar Jan 16 '18 11:01 vat1

DWM1000 datasheet mentions 200nA for deep sleep mode and 550nA for sleep mode. But 5mA in your case seems more than normal. https://www.decawave.com/sites/default/files/dwm1000-datasheet-v1.6.pdf

It would be easier to understand if you post your schematic.

werty37 avatar Jan 17 '18 13:01 werty37

Thank you for answer!

I'm using the same datasheet "Figure 9: Example DWM1000 Application Circuit" on page 17 and ESP8266 like controller. diagram

vat1 avatar Jan 17 '18 15:01 vat1

The circuit seems fine. Decawave recommends grounding the wakeup pin, if unused though. You might want to check the void DW1000Class::deepSleep() method. A bunch of registers are getting set there. You can verify if all of register bits are getting set as recommended in the datasheet for deep sleep modes.

https://github.com/thotro/arduino-dw1000/blob/master/src/DW1000.cpp

Also DW1000 User Manual Pg17 says,

In DEEPSLEEP all internal circuitry is powered down with the exception of the always-on memory which can be used to hold the device configuration for restoration on wakeup.

While in DEEPSLEEP power should not be applied to GPIO, SPICLK or SPIMISO pins as this will cause an increase in leakage current.

https://www.decawave.com/sites/default/files/dw1000_user_manual_2.12.pdf

I believe this library does use AON to save the device configuration. Maybe this is what is consuming the 5mA power. I am just speculating here though.

werty37 avatar Jan 17 '18 18:01 werty37

your schematic does work, but its not power efficient. its probably the LDO.

regards, kuek from www.localino.net

kuek avatar Jan 29 '18 16:01 kuek

Not sure if anyone is still interested in this issue, but the problem is likely the LDO. It has a quiescent current of 5mA: image This means that even if unloaded, the LDO will typically consume 5mA. Also not that this LDO will not be able to handle the transient currents required by DWM1000 in typical operation.

Having the EXTON pin pulled to GND by R3 is also not ideal. This will prevent the DWM1000 from turning of it's internal DC/DC, which is controlled by the EXTON signal. This will add an additional quiescent current (though not nearly as high as that of the LDO).

Make sure to pull down the SPI MISO and SPI CLK pins as @werty37 mentioned.

seppestas avatar Jan 07 '21 19:01 seppestas