ESP32 省电模式

pdxyze
Posts: 2
Joined: Mon May 06, 2019 3:22 am

ESP32 省电模式

Postby pdxyze » Mon May 06, 2019 4:29 am

测试esp-idf v3.3 中的例子power_save。
发现ESP32有时可以进入省电模式,有时不可以进入省电模式。感觉省电模式很不稳定,进入省电模式需要什么条件?是否受路由器的影响?
如果进入WIFI_PS_MIN_MODEM,测的电流约为10mA;如果进入WIFI_PS_MAX_MODEM,测的电流约为4mA。ESP32保持空连接,最省电可以达到多少电流?

ESP_@In逍遥子
Posts: 132
Joined: Thu Nov 15, 2018 2:06 am

Re: ESP32 省电模式

Postby ESP_@In逍遥子 » Mon May 06, 2019 9:22 am

  • Minimum modem sleep: In minimum modem sleep mode, station wakes up every DTIM to receive beacon. Broadcast data will not be lost because it is transmitted after DTIM. However, it can not save much more power if DTIM is short for DTIM is determined by AP.
  • Maximum modem sleep: In maximum modem sleep mode, station wakes up every listen interval to receive beacon. Broadcast data may be lost because station may be in sleep state at DTIM time. If listen interval is longer, more power is saved but broadcast data is more easy to lose.

pdxyze
Posts: 2
Joined: Mon May 06, 2019 3:22 am

Re: ESP32 省电模式

Postby pdxyze » Tue May 07, 2019 6:10 am

@In逍遥子 wrote:
Mon May 06, 2019 9:22 am
  • Minimum modem sleep: In minimum modem sleep mode, station wakes up every DTIM to receive beacon. Broadcast data will not be lost because it is transmitted after DTIM. However, it can not save much more power if DTIM is short for DTIM is determined by AP.
  • Maximum modem sleep: In maximum modem sleep mode, station wakes up every listen interval to receive beacon. Broadcast data may be lost because station may be in sleep state at DTIM time. If listen interval is longer, more power is saved but broadcast data is more easy to lose.
Minimum modem sleep与Maximum modem sleep差别我理解。我遇到的问题是测官方的例子,有时半个小时都进不了省电模式,有时开机半分钟就进入省电模式,感觉很不稳定。你有没有遇到过这种情况?另外就是保持网络连接(不发送数据),最省电的功耗是多少?

littlesky
Posts: 51
Joined: Fri Jun 09, 2017 7:49 am

Re: ESP32 省电模式

Postby littlesky » Mon Aug 12, 2019 12:25 pm

pdxyze wrote:
Tue May 07, 2019 6:10 am
@In逍遥子 wrote:
Mon May 06, 2019 9:22 am
  • Minimum modem sleep: In minimum modem sleep mode, station wakes up every DTIM to receive beacon. Broadcast data will not be lost because it is transmitted after DTIM. However, it can not save much more power if DTIM is short for DTIM is determined by AP.
  • Maximum modem sleep: In maximum modem sleep mode, station wakes up every listen interval to receive beacon. Broadcast data may be lost because station may be in sleep state at DTIM time. If listen interval is longer, more power is saved but broadcast data is more easy to lose.
Minimum modem sleep与Maximum modem sleep差别我理解。我遇到的问题是测官方的例子,有时半个小时都进不了省电模式,有时开机半分钟就进入省电模式,感觉很不稳定。你有没有遇到过这种情况?另外就是保持网络连接(不发送数据),最省电的功耗是多少?
若连接 AP 后一直有数据收发,不会进入省电模式,否则会进入省电模式。只保持网络连接,不发送和接收数据,最省电的功耗也与周围环境的干扰程度有关。在屏蔽箱中,light sleep 测到的最省电电流为 4.5mA。

Who is online

Users browsing this forum: No registered users and 46 guests