Download as pdf or txt
Download as pdf or txt
You are on page 1of 30

Machine Translated by Google

Beijing Lianshengde Microelectronics Co., Ltd.

WM_W800_SOC power consumption test report V0.1

Beijing Lianshengde Microelectronics Co., Ltd. (winner micro)

Address: 18th Floor, Yindu Building, No. 67 Fucheng Road, Haidian District, Beijing

Tel: +86-10-62161900

Company website: www.winnermicro.com

1
Machine Translated by Google

Modify records

Version revision time Revision history Author review


V0.1 2020-9-21 First draft Lick

2
Machine Translated by Google

Table of contents

1 introduction................................................. ................................................................. ................................................................. ......... 4

1.1 Purpose of writing........................................ ................................................................. ..................................4

1.2 Intended Readers........................................ ................................................................. ..................................4

1.3 Definition of Terms................................................ ................................................................. ..................................4

2 Testing strategy................................................ ................................................................. ................................................................. .. 4

3 test environment................................................ ................................................................. ................................................................. .. 4

3.1 hardware................................................. ................................................................. ................................................. 4

3.2 software................................................. ................................................................. .................................................5

3.3 Related instructions................................................ ................................................................. ..................................5

4 Test Data................................................ ................................................................. ................................................................. .. 8

5 Test execution........................................ ................................................................. ................................................................. .. 9

5.1 Standby......................................................................................................................................... 9

5.2 Sleep............................................................................................................................................11

5.3 Different frequencies of MCU...................................... ................................................................. ............................13

5.3.1 MCU 8MHZ....................................................................................................................... 13

5.3.2 MCU 40MHZ..................................................................................................................... 14

5.3.3 MCU 80MHZ..................................................................................................................... 15

5.3.4 MCU 160MHZ................................................................................................................... 16

5.3.5 MCU 240MHZ................................................................................................................... 17

5.4 WiFi PS-Mode............................................................................................................................ 18

5.4.1 Leave it alone after joining the AP............................. ................................................................. .............................18

5.4.2 Ping AP every 1 second after joining AP............................. ................................................. 19

5.5 WiFi Working ............................................................................................................................. 20

5.5.1 WiFi RX ............................................................................................................................. 20

5.5.2 WiFi TX.............................................................................................................................. 24

3
Machine Translated by Google

1 Introduction

1.1 Purpose of writing

Record the power consumption test data of WM_W800_SOC in each state and summarize it into a report.

1.2 Intended readers

W800 chip product users.

1.3 Definition of terms

SOC System On Chip system on chip

QFN Quad Flat Non-leaded Package

MCU Micro Control Unit microcontroller

AP Access Point hotspot, also called access point

WiFi Wireless Fidelity Wireless LAN based on IEEE802.11 standard

PS-Mode Power Save Mode Power saving mode

2 Testing strategy

W800 SOC power consumption test is mainly based on QFN32 and tests in the following aspects:

1> Each IO is turned off (only Uart0 is retained), and the MCU consumes power in Standby state;

2> Each IO is closed (only Uart0 is reserved), and the MCU consumes power in Sleep state;

3> Turn off each IO (only keep Uart0), turn off WiFi, and verify the frequency of MCU8M/40M/80M/160M/240M respectively.

power consumption at low rate;

4> Each IO is turned off (only Uart0 is retained), power consumption in WiFi PS-Mode power-saving mode at MCU 80MHZ frequency;

5> Each IO is closed (only Uart0 is retained), and the 11b, 11g, and 11n receiving functions of WiFi under the MCU 80MHZ frequency are disabled.

Consumption (no scanning, no network connection, WiFi is on but no sending);

6> Each IO is closed (only Uart0 is retained), MCU 80MHZ frequency, WiFi mode TX, each rate combined with duty cycle

power consumption.

3 Test environment

3.1 Hardware

The main hardware required for power consumption testing is as follows:

1. W800 SOC QFN32 development board;

2. The power supply equipment for W800 SOC is Agilent 66319D;

4
Machine Translated by Google

3. Current measurement equipment Agilent 34401A; 4.

Litepoint device IQnxn matched with W800 SOC; 5. USB to TTL small board

connecting W800 SOC and PC serial port; 6. RF line connecting Litepoint and W800 SOC,

line loss 1.0dB; 7 , a wireless router; 8. USB extension cable.

3.2 Software

The main software required for power consumption testing is as follows:

1. Firmware used for W800 SOC power consumption test;

2. Agilent 14565A DCS used with power supply equipment Agilent 66319D to automatically measure and analyze W800 SOC power consumption

Software;

3. IQ Signal software to control Litepoint; 4. Serial port tool to

connect to W800 SOC.

3.3 Related instructions

ÿW800 SOC development board

5
Machine Translated by Google

Figure 1---W800 SOC development

board. Since the power consumption of the W800 SOC itself is tested, before the test, the power consumption of the W800 development board itself is

Relevant devices that have an impact are removed, as follows:

Aÿ Remove the pull-up resistors at the Reset and Wakeup buttons, marked with numbers 1 and 2 in Figure 1;

Bÿ In order to avoid the interference of the capacitor charging and discharging process on the test power consumption, remove the relevant capacitors on the W800 development board, such as

The serial numbers 3~9 are marked in Figure 1.

Special note:

Since the pull-up resistor of the Wakeup button is removed, the board cannot wake up the W800 in Standby or Sleep state through GPIO. ÿPower

input device

6
Machine Translated by Google

Figure 2---Agilent 66319D front view

Use Agilent 66319D to provide 3.3V stable power input to W800. ÿCurrent measuring

equipment

Figure 3---Agilent 34401A front view

Use Agilent 34401A to be connected in series to the power supply circuit of 66319D to W800 to accurately record the current passing

through W800. If there is no Agilent 14565A DCS software to cooperate with the test, the test can be performed with the help of this device,

but it cannot record the current

change process. ÿAgilent 14565A DCS software

7
Machine Translated by Google

Figure 4---Agilent 14565A DCS software controls

the 66319D device through this software, which can automatically record and calculate the precise current data of the W800.

Necessary explanation: During the power consumption test, the Agilent 14565A DCS software intercepts part of the W800 working process.

Time slicing, the power consumption test data in different time periods will fluctuate, please be informed.

ÿIQ Signal software

Figure 5---When IQ Signal

software tests W800 SOC reception, IQ Signal software needs to control Litepoint to send specified signals to W800;

When testing W800 SOC transmission, IQ Signal software is required to control Litepoint to receive signals from W800.

4 test data

After executing various contents in the test strategy, the power consumption data of W800 SOC QFN32 measured at normal temperature (25°C) are as follows:

8
Machine Translated by Google

Table 1---W800 SOC power consumption test data

5 test execution

5.1 Standby

W800 SOC burns the following firmware:

Connect 34401A in series to the power supply circuit of 66319D to W800, as shown below:

9
Machine Translated by Google

Figure 6---Standby device connection diagram

Main test steps:

1> Connect the W800 SOC through the serial port and enter the following AT commands in sequence:

AT+RSTF ---Restore W800 to factory settings

AT+Z ---Reset W800

AT+ENTS=1, 1, 5000, 30000 2> After ---Set W800 to enter Sleep state after 5 seconds and last for 30 seconds.

completing the above command and waiting for 8 seconds, adjust the RNAGE Level to the mA level on 34401A, you can see

The result is 11uA as shown in the figure.

10
Machine Translated by Google

Figure 7---Standby measured power consumption data

5.2 Sleep

W800 SOC burns the following firmware:

Main operating steps: 1>

After powering on the power supply 66319D, press the Recall and Enter keys in sequence;

2> Open the 14565A DCS software, select IO type and click the Auto-Detect button to enter the control interface. Follow the picture below

Within 8 seconds, the execution sequence number is set to 6;

11
Machine Translated by Google

Figure 8---Execution steps on 14565A DCS software

3> Connect the W800 SOC through the serial port, and enter the following AT

AT+RSTF commands in sequence: ---Restore

AT+Z W800 to factory settings

AT+ENTS=2, 1, 5000, 30000 ÿÿ ---Reset W800 ---Set W800 to enter Sleep state after 5 seconds and last for 30

4> After completing the above AT command, wait for 8 seconds, and then execute serial numbers 7 and 8 in the 14565A DCS software as shown in Figure 8.

You can obtain the current data of W800 SOC in Sleep state. Note: Note

that the

measurement time set in the 14565A DCS software (No. 4 in Figure 8) is consistent with the AT command Sleep state.

The timing must be coordinated to avoid affecting the test data.

12
Machine Translated by Google

Figure 9---Sleep measured power consumption data

5.3 MCU different frequencies

5.3.1 MCU 8MHZ

W800 SOC burns the following firmware:

Main operating steps: 1>

After burning the above firmware, enter the AT command "AT+CPUDIV" on the serial port to return

Confirm the current operating frequency of the MCU.

2> Open the 14565A DCS software, set it up as in Chapter 5.2, and execute serial numbers 7 and 8 as shown in Figure 8, and then you can get

The power consumption data of each IO (only Uart0 is reserved) and WiFi are turned off are as follows:

13
Machine Translated by Google

Figure 10---MCU 8MHZ measured power consumption data

5.3.2 MCU 40MHZ

W800 SOC burns the following firmware:

Main operating steps: 1>

After burning the above firmware, enter the AT command "AT+CPUDIV" on the serial port to return

Confirm the current operating frequency of the MCU.

2> Open the 14565A DCS software, set it up as in Chapter 5.2, and execute serial numbers 7 and 8 as shown in Figure 8, and then you can get

The power consumption data of each IO (only Uart0 is reserved) and WiFi are turned off are as follows:

14
Machine Translated by Google

Figure 11---MCU 40MHZ measured power consumption data

5.3.3 MCU 80MHZ

W800 SOC burns the following firmware:

Main operating steps: 1>

After burning the above firmware, enter the AT command "AT+CPUDIV" on the serial port to return

Confirm the current operating frequency of the MCU.

Open the 14565A DCS software. After setting the same settings as in Chapter 5.2, execute serial numbers 7 and 8 as shown in Figure 8. Then you can obtain each

The power consumption data when both IO (only Uart0 is reserved) and WiFi are turned off are as follows:

15
Machine Translated by Google

Figure 12---MCU 80MHZ measured power consumption data

5.3.4 MCU 160MHZ

W800 SOC burns the following firmware:

Main operating steps: After

burning the above firmware, enter the AT command "AT+CPUDIV" on the serial port to return.

Confirm the current operating frequency of the MCU.

Open the 14565A DCS software. After setting the same settings as in Chapter 5.2, execute serial numbers 7 and 8 as shown in Figure 8. Then you can obtain each

The power consumption data when both IO (only Uart0 is reserved) and WiFi are turned off are as follows:

16
Machine Translated by Google

Figure 13---MCU 160MHZ measured power consumption data

5.3.5 MCU 240MHZ

W800 SOC burns the following firmware:

Main operating steps: 1>

After burning the above firmware, enter the AT command "AT+CPUDIV" on the serial port to return

Confirm the current operating frequency of the MCU.

Open the 14565A DCS software, set it up as in Chapter 5.2, and execute serial numbers 7 and 8 as shown in Figure 8, and then you can get each

The power consumption data when both IO (only Uart0 is reserved) and WiFi are turned off are as follows:

17
Machine Translated by Google

Figure 14---MCU 240MHZ measured power consumption data

5.4 WiFi PS-Mode

It mainly involves the power consumption of two common scenarios under W800 SOC WiFi PS-Mode. All test items in this chapter use

The following firmware:

5.4.1 Leave it alone after joining the AP

Main steps:

1> Connect W800 through the serial port and enter the following AT commands in sequence:

AT+RSTF ---Restore W800 to factory settings

AT+Z ---Reset W800

AT+SSID=!TP-LINK_60F3 AT+KEY=! ---Set the SSID of W800 to connect to AP

1,0,1234567890 ---Set the KEY of W800 to connect to AP

AT+WJOIN ---Add W800 to AP

AT+LKSTT ---View the IP address obtained by W800 after joining the AP

2> After completing the above instructions, open the 14565A DCS software. After setting up the same as in Chapter 5.2, execute serial number 7 in Figure 8.

and 8, you can obtain the power consumption data of W800 SOC without other operations after joining the AP as follows:

18
Machine Translated by Google

Figure 15---The measured power consumption data of W800 SOC after joining AP

5.4.2 Ping AP every 1 second after joining AP

Main steps:

1> Connect W800 through the serial port and enter the following AT commands in sequence:

AT+RSTF ---Restore W800 to factory settings

AT+Z ---Reset W800

AT+SSID=!TP-LINK_60F3 ---Set the SSID of W800 to connect to AP

AT+KEY=!1,0,1234567890 ---Set the KEY of W800 to connect to AP

AT+WJOIN ---Add W800 to AP

AT+LKSTT ---View the IP address obtained by W800 after joining the AP

AT+PING=192.168.1.1,1000,0,1 ---W800 continues to ping the AP every 1 second.

2> After completing the above instructions, open the 14565A DCS software. After setting up the same as in Chapter 5.2, execute serial number 7 in Figure 8.

and 8, you can obtain the power consumption data of W800 SOC in the Ping operation state after joining the AP.

19
Machine Translated by Google

Figure 16--- Measured power consumption data of Ping operation after W800 SOC joins AP

5.5 WiFi Working

It mainly involves the power consumption of W800 SOC WiFi when working in RX and TX. All test items under this chapter use

The following firmware:

5.5.1 WiFi RX

5.5.1.1 11B-11Mbps Main

operation steps: 1>

Connect W800 SOC and Litepoint through RF cable, select the corresponding waveform file from Litepoint, and send -80dBm signal to W800 at 11B

11Mbps rate; 2> Open 14565A DCS software, same as 5.2 After the

chapter is set, follow serial numbers 7 and 8 in Figure 8 to obtain

Power consumption data of W800 SOC in this state

20
Machine Translated by Google

Figure 17---W800 SOC receives 11B-11Mbps measured power consumption data of -80dBm

5.5.1.2 11G-54Mbps Main

operation steps: 1>

Connect W800 SOC and Litepoint through RF cable, and select the corresponding waveform file from Litepoint to

11G54Mbps rate sends -65dBm signal to W800;

2> Open the 14565A DCS software, set it up as in Chapter 5.2, and execute serial numbers 7 and 8 as shown in Figure 8 to obtain

Power consumption data of W800 SOC in this state

21
Machine Translated by Google

Figure 18---W800 SOC receives 11G-54Mbps measured power consumption data of -65dBm

5.5.1.3 11N-20MHZ-MCS7

Main operation steps:

1> Connect W800 SOC and Litepoint through RF cable, and select the corresponding waveform file from Litepoint to 11N -

20MHZ MCS7 rate sends -65dBm signal to W800;

2> Open the 14565A DCS software, set it up as in Chapter 5.2, and execute serial numbers 7 and 8 as shown in Figure 8 to obtain

Power consumption data of W800 SOC in this state.

22
Machine Translated by Google

Figure 19---W800 SOC receives -65dBm 11N-20MHZ MCS7 measured power consumption data

5.5.1.4 11N-40MHZ-MCS7

Main operation steps:

1> Connect W800 SOC and Litepoint through RF cable, and select the corresponding waveform file from Litepoint to 11N -

40MHZ MCS7 rate sends -60dBm signal to W800;

2> Open the 14565A DCS software, set it up as in Chapter 5.2, and execute serial numbers 7 and 8 as shown in Figure 8 to obtain

Power consumption data of W800 SOC in this state.

23
Machine Translated by Google

Figure 20---W800 SOC receives -60dBm 11N-40MHZ MCS7 measured power consumption data

5.5.2 WiFi TX

5.5.2.1 11B-11Mbps

Main steps:

1> Connect the W800 SOC through the serial port and enter the following AT commands in sequence:

AT+&LPCHL=1,0 Set the transmit channel to channel 1

AT+&LPTPD=1 Set the packet sending interval to 1ms

AT+&LPTSTR=0,0,200,17,6,0,0,0 Subcontract 11B-11Mbps rate, gain 0x17, length 512 bytes lasting

AT+&LPTSTP Stop sending (execute this command after grabbing the power consumption data)

2> Viewed on the Litepoint connected to the W800 SOC through the RF cable, the duty cycle is 60% and the transmit power is 18dBm.

illustrate:

The power displayed on the Litepoint in the figure below is set to 0dB in "External Atten", plus the line loss of 1dB. The actual power here is

The actual transmit power is 19dBm.

24
Machine Translated by Google

Figure 21---The W800 SOC received by Litepoint transmits signals at 11B-11Mbps 19dBm power 3> Open the 14565A

DCS software, set up the same as in Chapter 5.2, and execute serial numbers 7 and 8 in Figure 8 to obtain

Power consumption data of W800 SOC in this state.

Figure 22---W800 SOC 11B-11Mbps 19dBm power transmission measured power consumption data

25
Machine Translated by Google

5.5.2.2 11G-54Mbps main

operation steps:

1> Connect the W800 SOC through the serial port, and enter the following AT commands in

AT+&LPCHL=1,0 sequence: Set the transmit channel to channel 1

AT+&LPTPD=1 Set the packet sending interval to 1ms

AT+&LPTSTR=0,0,200,2A,107,0,0,0 Renewal package 11G-54Mbps rate, gain 0x2A, length 512 bytes

AT+&LPTSTP Stop sending (execute this command after grabbing the power consumption data)

2> Viewed on the Litepoint connected to the W800 SOC through the RF cable, the duty cycle is 60% and the transmit power is 14dBm.

illustrate:

The power displayed on the Litepoint in the figure below is all set to 0dB in "External Atten". Adding the line loss of 1dB, the actual

transmit power here is 15dBm.

Figure 23---The W800 SOC received by Litepoint transmits signals at 11G-54Mbps 15dBm power 3> Open the

14565A DCS software, set up the same as in Chapter 5.2, and execute serial numbers 7 and 8 in Figure 8 to obtain

Power consumption data of W800 SOC in this state.

26
Machine Translated by Google

Figure 24--- W800 SOC 11G-54Mbps 15dBm power transmission measured power consumption data

5.5.2.3 11N-20MHZ-MCS7

Main operating steps: 1>

Connect to W800 SOC through the serial port, and enter the following AT commands in sequence: Set

AT+&LPCHL=1,0 the transmit channel to 1. Set the channel

AT+&LPTPD=1 to send packets at an interval of 1ms.

AT+&LPTSTR=0,0,200,1D,207,0,0,0 11N-20MHZ-MCS7 rate, gain 0x1D, length 512 bytes, continuous packet sending

AT+&LPTSTP Stop sending (execute this command after grabbing the power consumption data)

2> Viewed on the Litepoint connected to the W800 SOC through the RF cable, the duty cycle is 50%, and the transmit power is 12dBm.

Note:

The power displayed on the Litepoint in the figure below is all set to 0dB in "External Atten", plus the line loss of 1dB, the actual transmit

power here is 13dBm.

27
Machine Translated by Google

Figure 25---The W800 SOC received by Litepoint transmits signals at 11N-20MHZ MCS7 13dBm power 3> Open the 14565A

DCS software, set it up as in Chapter 5.2, and execute serial numbers 7 and 8 in Figure 8 to obtain

Power consumption data of W800 SOC in this state.

Figure 26--- W800 SOC 11N-20MHZ-MCS7 13dBm power transmission measured power consumption data

28
Machine Translated by Google

5.5.2.4 11N-40MHZ-MCS7

Main steps:

1> Connect the W800 SOC through the serial port and enter the following AT commands in sequence:

AT+&LPCHL=1,0 Set the transmit channel to channel 1

AT+&LPTPD=1 Set the packet sending interval to 1ms

AT+&LPTSTR=0,0,200,1D,215,0,0,0 11N-40MHZ-MCS7 rate, gain 0x1D, length 512 bytes, continuous packet sending

AT+&LPTSTP Stop sending (execute this command after grabbing the power consumption data)

2> View on the Litepoint connected to the W800 SOC through the radio frequency cable. View on the Litepoint. The duty cycle is 50%.

Transmit power 12dBm.

Note:

The power displayed on the Litepoint in the figure below is all set to 0dB in "External Atten", plus the line loss of 1dB, the actual transmit

power here is 13dBm.

Figure 27---The W800 SOC received by Litepoint transmits signals at 11N-40MHZ MCS7 13dBm power 3> Open the 14565A

DCS software, set it up as in Chapter 5.2, and execute serial numbers 7 and 8 in Figure 8 to obtain

Power consumption data of W800 SOC in this state.

29
Machine Translated by Google

Figure 28--- W800 SOC 11N-40MHZ-MCS7 13dBm power transmission measured power consumption data

30

You might also like