TWI794303B - Programmable hardware sleep cycle controller for 802.11 wireless devices supporting low-power - Google Patents

Programmable hardware sleep cycle controller for 802.11 wireless devices supporting low-power Download PDF

Info

Publication number
TWI794303B
TWI794303B TW107136338A TW107136338A TWI794303B TW I794303 B TWI794303 B TW I794303B TW 107136338 A TW107136338 A TW 107136338A TW 107136338 A TW107136338 A TW 107136338A TW I794303 B TWI794303 B TW I794303B
Authority
TW
Taiwan
Prior art keywords
wireless device
circuit
received message
received
processor
Prior art date
Application number
TW107136338A
Other languages
Chinese (zh)
Other versions
TW201924405A (en
Inventor
維索 夏爾瑪
伍米希 木傑
Original Assignee
美商微晶片科技公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 美商微晶片科技公司 filed Critical 美商微晶片科技公司
Publication of TW201924405A publication Critical patent/TW201924405A/en
Application granted granted Critical
Publication of TWI794303B publication Critical patent/TWI794303B/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0274Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof
    • H04W52/028Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof switching on or off only a part of the equipment circuit blocks
    • H04W52/0283Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by switching on or off the equipment or parts thereof switching on or off only a part of the equipment circuit blocks with sequential power up or power down of successive circuit blocks, e.g. switching on the local oscillator before RF or mixer stages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0212Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave
    • H04W52/0216Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave using a pre-established activity schedule, e.g. traffic indication frame
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0229Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal where the received signal is a wanted signal
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A wireless device includes a sleep mode controller circuit (SMC), an RF circuit, and a processor. The SMC is configured to identify from a message that there is no impending data traffic to be received from another wireless device, put the wireless device into a power down mode powering down the processor and the RF circuit, and periodically checking for a another received message. Checking the RF message includes powering on the RF circuit on a periodic basis, determining whether another received message indicates that there is impending data traffic to be received from another wireless device, and, based on a determination that that there is impending data traffic to be received from another wireless device, powering up the processor.

Description

用於支援低電力之802.11無線裝置的可程式化硬體睡眠循環控制器 Programmable hardware sleep cycle controller for 802.11 wireless devices supporting low power

本揭露係關於無線通訊系統之睡眠循環控制,更具體地,係關於用於支援低電力之IEEE 802.11無線裝置的高度可程式化硬體睡眠循環控制器。 The present disclosure relates to sleep cycle control for wireless communication systems, and more particularly, to a highly programmable hardware sleep cycle controller for supporting low power IEEE 802.11 wireless devices.

IEEE 802.11標準定義Wi-Fi及廣域網路(wide local area network,WLAN)系統及應用的操作。根據針對Wi-Fi的802.11標準的無線站(wireless station,STA)、存取點(access point,AP)、或其他無線裝置可具有電力節省模式(power save mode,PSM)。PSM可經組態以在未使用Wi-Fi的預期期間關斷Wi-Fi。無線裝置可透過使用稱為訊務指示對照表(traffic indication map,TIM)的信號來管理其PSM。TIM用於識別其訊務處於擱置且被緩衝的無線裝置。週期性地,在TIM待由例如AP發送至無線裝置的適當時間,無線裝置將暫時喚醒且查看TIM。無線裝置將喚醒、調查所接收TIM(若可用),且若TIM包括特定無線裝置具有待發送之資料的指定(例如,位元),則無線裝置將開始完全傳輸及接收資料。最初建置通訊時,可在AP與無線裝置之間協商無線裝 置進入PSM且等待TIM的間隔或週期。可藉由簡單地不發佈或聆聽RF信號來實作PSM。 The IEEE 802.11 standard defines the operation of Wi-Fi and wide local area network (WLAN) systems and applications. A wireless station (STA), access point (AP), or other wireless device according to the 802.11 standard for Wi-Fi may have a power save mode (PSM). The PSM can be configured to turn off Wi-Fi during expected periods when it is not in use. A wireless device can manage its PSM by using a signal called a traffic indication map (TIM). TIMs are used to identify wireless devices whose traffic is on hold and buffered. Periodically, at the appropriate time for the TIM to be sent to the wireless device by, for example, the AP, the wireless device will briefly wake up and look at the TIM. The wireless device will wake up, poll the received TIM (if available), and if the TIM includes a designation (eg, bit) that the particular wireless device has data to send, the wireless device will begin to fully transmit and receive data. When communication is initially set up, the interval or period at which the wireless device enters the PSM and waits for the TIM can be negotiated between the AP and the wireless device. PSM can be implemented by simply not emitting or listening to RF signals.

100‧‧‧系統 100‧‧‧system

102‧‧‧無線裝置 102‧‧‧Wireless device

104‧‧‧無線裝置 104‧‧‧Wireless device

106‧‧‧睡眠模式控制器(SMC) 106‧‧‧Sleep Mode Controller (SMC)

108‧‧‧天線 108‧‧‧antenna

110‧‧‧射頻(RF)電路 110‧‧‧Radio Frequency (RF) Circuit

112‧‧‧基頻數據機 112‧‧‧Baseband modem

114‧‧‧基頻處理器 114‧‧‧Baseband Processor

116‧‧‧媒體存取控制(MAC)控制器 116‧‧‧Media Access Control (MAC) Controller

118‧‧‧中央處理單元(CPU) 118‧‧‧Central Processing Unit (CPU)

120‧‧‧振盪器控制器 120‧‧‧Oscillator Controller

122‧‧‧振盪器 122‧‧‧Oscillator

124‧‧‧訊框剖析器 124‧‧‧Frame Analyzer

200‧‧‧有限狀態機(FSM) 200‧‧‧Finite State Machine (FSM)

202‧‧‧狀態 202‧‧‧Status

204‧‧‧狀態 204‧‧‧Status

206‧‧‧狀態 206‧‧‧Status

208‧‧‧狀態 208‧‧‧Status

210‧‧‧狀態 210‧‧‧Status

212‧‧‧狀態 212‧‧‧Status

214‧‧‧狀態 214‧‧‧Status

216‧‧‧狀態 216‧‧‧Status

218‧‧‧狀態 218‧‧‧Status

220‧‧‧狀態 220‧‧‧Status

222‧‧‧狀態 222‧‧‧Status

224‧‧‧狀態 224‧‧‧Status

226‧‧‧狀態 226‧‧‧Status

228‧‧‧狀態 228‧‧‧Status

300‧‧‧訊框剖析器 300‧‧‧frame parser

302‧‧‧訊務指示對照表(TIM) 302‧‧‧Measurement Instruction Table (TIM)

304‧‧‧篩選器 304‧‧‧Filter

306‧‧‧觸發器1 306‧‧‧Trigger 1

308‧‧‧觸發器2 308‧‧‧Trigger 2

310‧‧‧觸發器3 310‧‧‧trigger 3

312‧‧‧觸發器4 312‧‧‧Trigger 4

314‧‧‧控制邏輯 314‧‧‧Control logic

316‧‧‧喚醒信號 316‧‧‧Wake-up signal

〔圖1〕係根據本揭露實施例之利用用於支援低電力之無線裝置的高度可程式化硬體睡眠循環控制器之實例系統的繪示。 [FIG. 1] is an illustration of an example system utilizing a highly programmable hardware sleep cycle controller for supporting low power wireless devices according to an embodiment of the present disclosure.

〔圖2〕係根據本揭露實施例之實例有限狀態機的繪示,該有限狀態機展示使無線裝置之發送部分進入睡眠模式及狀態的實例操作。 [FIG. 2] is a drawing of an example finite state machine showing example operations for putting the transmitting portion of a wireless device into a sleep mode and state, according to an embodiment of the disclosure.

〔圖3〕係根據本揭露實施例之一訊框剖析器的更詳細繪示。 [ FIG. 3 ] is a more detailed illustration of a frame parser according to an embodiment of the disclosure.

本揭露之實施例包括一種睡眠模式控制器電路(sleep mode controller circuit,SMC)。該SMC可被包括在一無線裝置中。與上述實施例之任何者組合,該無線裝置可包括一處理器,該處理器執行使用者層級或應用程式層級軟體,其中該SMC不在此類使用者層級或應用程式層級操作,而是以一分開之硬體組態操作。該無線裝置可包括一射頻(RF)電路及一振盪器,該振盪器通訊地耦合至該處理器及該RF電路。與上述實施例之任何者組合,該SMC可經組態以從透過該RF電路之一第一所接收訊息識別不存在待從另一無線裝置接收的即將發生之資料訊務。與上述實施例之任何者組合,該SMC可經組態以基於該所接收訊息將該無線裝置置入一斷電模式中。與上述實施例之任何者組合,該斷電模式可包括使該處理器斷電且使該RF電路斷電。與上述實施例之任何者 組合,該SMC可經組態以週期性地檢查一第二所接收訊息,包括:在一週期基礎上使該RF電路通電、判定是否該第二所接收訊息指示存在待從另一無線裝置接收的即將發生之資料訊務、及基於判定存在待從另一無線裝置接收的即將發生之資料訊務,使該處理器通電。與上述實施例之任何者組合,該SMC可經組態以基於判定不存在待從另一無線裝置接收的即將發生之資料訊務,使該處理器維持在一斷電狀態。與上述實施例之任何者組合,該SMC可經組態以藉由停用該RF電路之一鎖相迴路電路來使該RF電路斷電。與上述實施例之任何者組合,該SMC可經組態以藉由停用從該振盪器至該RF電路的一時脈信號來使該RF電路斷電。與上述實施例之任何者組合,該SMC可經組態以在使該RF電路及該處理器斷電時維持該振盪器的操作。與上述實施例之任何者組合,該SMC可經組態以在使該RF電路及該處理器斷電時關閉該振盪器。與上述實施例之任何者組合,該SMC可經組態以在使該RF電路斷電時保存及更新一計時器值,該計時器值係由該無線裝置之一數據機予以記錄且經組態以識別何時待由該無線裝置接收該第二訊息。 Embodiments of the disclosure include a sleep mode controller circuit (SMC). The SMC can be included in a wireless device. In combination with any of the above embodiments, the wireless device may include a processor that executes user-level or application-level software, wherein the SMC does not operate at such user-level or application-level, but instead operates at a Separate hardware configuration operations. The wireless device can include a radio frequency (RF) circuit and an oscillator communicatively coupled to the processor and the RF circuit. In combination with any of the above embodiments, the SMC can be configured to identify from a first received message through the RF circuit that there is no impending data traffic to be received from another wireless device. In combination with any of the above embodiments, the SMC can be configured to put the wireless device into a power down mode based on the received message. In combination with any of the above embodiments, the power down mode can include powering down the processor and powering down the RF circuit. In combination with any of the above embodiments, the SMC can be configured to periodically check for a second received message, including: energizing the RF circuit on a periodic basis, determining whether the second received message indicates the presence of An impending data traffic to be received from another wireless device, and based on determining that there is an impending data traffic to be received from another wireless device, powering on the processor. In combination with any of the above embodiments, the SMC can be configured to maintain the processor in a powered-down state based on a determination that there is no impending data traffic to be received from another wireless device. In combination with any of the above embodiments, the SMC can be configured to power down the RF circuit by disabling one of the phase locked loop circuits of the RF circuit. In combination with any of the above embodiments, the SMC can be configured to power down the RF circuit by disabling a clock signal from the oscillator to the RF circuit. In combination with any of the above embodiments, the SMC can be configured to maintain operation of the oscillator while powering down the RF circuitry and the processor. In combination with any of the above embodiments, the SMC can be configured to shut down the oscillator when powering down the RF circuitry and the processor. In combination with any of the above embodiments, the SMC can be configured to save and update a timer value recorded by a modem of the wireless device and configured to save and update the RF circuit when the RF circuit is powered down. state to identify when the second message is to be received by the wireless device.

與上述實施例之任何者組合,該無線裝置可包括一訊框剖析器電路,該訊框剖析器電路經組態以在該處理器被斷電時,在藉由該SMC啟動時週期性地檢查該第二所接收訊息、及在檢查該第二所接收訊息期間,識別是否該第二所接收訊息識別該無線裝置之一類型、及基於是否該第二所接收訊息識別該無線裝置之該類型,而繼續剖析第二所接收訊息。與上述實施例之任何者組合,該訊框剖析器電路可經組態以在該處理器被斷電時,在藉由該SMC啟動時週期性地檢查該第二所接收訊息、在檢查該第二所接收訊息期間,識別該第二所接收訊息中據以執行型樣匹配的一欄位、及基於該第二所接收訊息之該 欄位匹配一型樣,判定該第二所接收訊息指示存在待從另一無線裝置接收的即將發生之資料訊務。與上述實施例之任何者組合,該訊框剖析器電路可經組態以在該處理器被斷電時,在藉由該SMC啟動時週期性地檢查該第二所接收訊息。在檢查該第二所接收訊息期間,識別該第二所接收訊息中據以執行差異分析的一欄位、及基於該第二所接收訊息之該欄位不同於一先前所接收訊息之一對應欄位,判定該第二所接收訊息指示存在待從另一無線裝置接收的即將發生之資料訊務。 In combination with any of the above embodiments, the wireless device may include a frame parser circuit configured to periodically checking the second received message, and during checking the second received message, identifying whether the second received message identifies a type of the wireless device, and based on whether the second received message identifies the wireless device the Type, and continue to parse the second received message. In combination with any of the above embodiments, the frame parser circuit can be configured to periodically check the second received message when activated by the SMC, check the during a second received message, identifying a field in the second received message upon which pattern matching is performed, and determining the second received message based on the field matching a pattern in the second received message Indicates that there is an impending data traffic to be received from another wireless device. In combination with any of the above embodiments, the frame parser circuit can be configured to periodically check for the second received message when activated by the SMC while the processor is powered down. During examination of the second received message, identifying a field in the second received message upon which the discrepancy analysis is performed, and a correspondence based on the field of the second received message being different from a previously received message field, determining that the second received message indicates that there is an impending data traffic to be received from another wireless device.

本揭露之實施例可包括一種具有供執行之指令之媒體,當該等指令被執行時,組態該SMC或該訊框剖析器電路以執行上述實施例之任何者的操作。 Embodiments of the present disclosure may include a medium having instructions for execution that, when executed, configure the SMC or the frame parser circuit to perform the operations of any of the above embodiments.

本揭露之實施例可包括一種無線裝置。該無線裝置可包括上述實施例之任何者的訊框剖析器或SMC之任何者。 Embodiments of the present disclosure may include a wireless device. The wireless device may include any of the frame parser or SMC of any of the above embodiments.

本揭露之實施例可包括一種通訊系統。該通訊系統可包括上述實施例之任何者之二或更多個無線裝置。 Embodiments of the present disclosure may include a communication system. The communication system may include two or more wireless devices of any of the above embodiments.

本揭露之實施例可包括當執行時藉由該等指令、由上述實施例之任何者之SMC、訊框剖析器電路、無線裝置、或通訊系統執行的方法。 Embodiments of the present disclosure may include methods performed by the instructions, when executed, by the SMC, frame parser circuit, wireless device, or communication system of any of the above embodiments.

〔相關申請案之交互參照〕 [Cross-reference to related applications]

本申請案主張2017年10月16日申請之美國臨時專利申請第62/572,975號之優先權,茲將該案之全部揭示內容併入本文。 This application claims priority to U.S. Provisional Patent Application No. 62/572,975 filed on October 16, 2017, the entire disclosure of which is hereby incorporated herein.

圖1係根據本揭露實施例之利用用於支援低電力之無線裝置的高度可程式化硬體睡眠循環控制器之實例系統100的繪示。無線裝置可透過IEEE 802.11標準(諸如Wi-Fi或其他合適的標準)通訊。系統100可包括任何合適數目及種類的無線裝置。例如,系統100可包括一無線裝置104及一無線裝置102。無線裝置104可係例如存取點、中繼器、基地台、路由器、橋接器、伺服器、或閘道器。無線裝置102可係例如消費性裝置、錶、膝上型電腦、平板電腦、物聯網裝置或器具、或智慧型電話。這些實例是非限制性的。無線裝置102及未圖示的其他無線裝置可與無線裝置104通訊。除了與無線裝置102之資料通訊之外,無線裝置104亦可經組態以發送多種控制信號。相對於指定為主控裝置的無線裝置104,無線裝置102可稱為從屬裝置。無線裝置102可透過無線裝置104通訊以便與更大網路的元件通訊。 1 is a diagram of an example system 100 utilizing a highly programmable hardware sleep cycle controller for supporting low power wireless devices according to an embodiment of the disclosure. Wireless devices may communicate via IEEE 802.11 standards such as Wi-Fi or other suitable standards. System 100 may include any suitable number and kinds of wireless devices. For example, system 100 may include a wireless device 104 and a wireless device 102 . The wireless device 104 can be, for example, an access point, a repeater, a base station, a router, a bridge, a server, or a gateway. The wireless device 102 may be, for example, a consumer device, a watch, a laptop, a tablet, an Internet of Things device or appliance, or a smartphone. These examples are non-limiting. The wireless device 102 and other wireless devices not shown can communicate with the wireless device 104 . In addition to data communications with wireless device 102, wireless device 104 may also be configured to send various control signals. With respect to a wireless device 104 designated as a master device, a wireless device 102 may be referred to as a slave device. Wireless device 102 may communicate through wireless device 104 to communicate with elements of a larger network.

可程式化硬體睡眠循環控制器可實作在系統100的任何合適之無線裝置上。例如,無線裝置102可包括睡眠模式控制器(SMC)106。SMC 106可用任何合適的方式實作,諸如藉由類比電路系統、數位電路系統、用於由處理器執行的指令、或其任何合適的組合。SMC 106可經組態以控制無線裝置102之各種元件的睡眠模式。例如,SMC 106可經組態以將無線裝置102之元件設定為降低電力使用量模式、從此類元件移除時脈信號、或關閉此類元件。SMC 106可經組態以在使無線裝置102之元件維持在此類睡眠模式中時允許無線裝置102保持連接至無線裝置104。SMC 106可經組態以在等待來自無線裝置104的資料時允許此類連接及睡眠模式。此外,SMC 106可經組態以在等待時允許此類連接及睡眠模式,直到接收到來自無線裝置104的可程式化喚醒封包。在一實 施例中,SMC 106可經組態以執行此類任務而不為這些任務喚醒中央處理單元(CPU)118。 A programmable hardware sleep cycle controller may be implemented on any suitable wireless device of system 100 . For example, wireless device 102 may include a sleep mode controller (SMC) 106 . SMC 106 may be implemented in any suitable manner, such as by analog circuitry, digital circuitry, instructions for execution by a processor, or any suitable combination thereof. SMC 106 may be configured to control sleep modes of various elements of wireless device 102 . For example, SMC 106 may be configured to set elements of wireless device 102 into a reduced power usage mode, remove clock signals from such elements, or turn off such elements. SMC 106 may be configured to allow wireless device 102 to remain connected to wireless device 104 while maintaining elements of wireless device 102 in such sleep modes. SMC 106 can be configured to allow such connections and sleep modes while waiting for data from wireless device 104 . Additionally, the SMC 106 can be configured to allow such connections and sleep modes while waiting until a programmable wake-up packet from the wireless device 104 is received. In an embodiment, SMC 106 may be configured to perform such tasks without waking up central processing unit (CPU) 118 for these tasks.

無線裝置102可包括任何合適數目及種類的元件。例如,無線裝置102可包括耦合至射頻(RF)電路110或模組的天線108。RF電路110可包括經組態以傳播或接收來自天線108之信號的傳輸及接收子電路。RF電路110可包括實體層以調變透過天線108發送或接收的電磁信號。RF電路110可包括用於接收或發送信號的一或多個鎖相迴路(PLL)。RF電路110可藉由類比電路系統、數位電路系統、或其任何合適的組合實作。 Wireless device 102 may include any suitable number and kinds of elements. For example, wireless device 102 may include antenna 108 coupled to radio frequency (RF) circuitry 110 or module. RF circuitry 110 may include transmit and receive subcircuits configured to propagate or receive signals from antenna 108 . The RF circuit 110 may include physical layers to modulate electromagnetic signals transmitted or received through the antenna 108 . RF circuitry 110 may include one or more phase-locked loops (PLLs) for receiving or transmitting signals. The RF circuit 110 may be implemented by analog circuitry, digital circuitry, or any suitable combination thereof.

無線裝置102可包括基頻數據機112。數據機112可包括經組態以控制RF電路110中之信號調變的傳輸及接收子電路。數據機112可包括基頻處理器114。基頻處理器104可經組態以發佈控制信號至傳輸及接收子電路以控制RF電路110中的信號調變。基頻處理器104可使用任何合適的晶片、微控制器、處理器、或其他電子裝置實作。基頻處理器104可經組態以執行待從RF電路110發佈或接收之信號的編碼及解碼或調變及解調變。基頻數據機112可執行介於RF電路110上之實體層操作與MAC控制器116上之MAC層操作之間的介接。 The wireless device 102 may include a baseband modem 112 . The modem 112 may include transmit and receive subcircuits configured to control signal modulation in the RF circuit 110 . The modem 112 may include a baseband processor 114 . The baseband processor 104 can be configured to issue control signals to the transmit and receive sub-circuits to control signal modulation in the RF circuit 110 . The baseband processor 104 may be implemented using any suitable chip, microcontroller, processor, or other electronic device. Baseband processor 104 may be configured to perform encoding and decoding or modulation and demodulation of signals to be issued or received from RF circuitry 110 . The baseband modem 112 may perform an interface between physical layer operations on the RF circuit 110 and MAC layer operations on the MAC controller 116 .

無線裝置1032可包括媒體存取控制(MAC)控制器116。MAC控制器116可藉由數位或類比電路系統的任何合適組合實作。MAC控制器116可經組態以介接介於CPU 118與基頻數據機112之間的資料及命令。 The wireless device 1032 may include a media access control (MAC) controller 116 . MAC controller 116 may be implemented with any suitable combination of digital or analog circuitry. MAC controller 116 may be configured to interface data and commands between CPU 118 and baseband modem 112 .

無線裝置可包括一或多個時脈源,諸如振盪器122。振盪器122可用任何合適的方式實作,諸如藉由RC振盪器或晶體振盪器。當施加電壓至振盪器122時,該振盪器可操作。振盪器122可由振盪器控制器120控制及供電。振盪器控制器120可藉由類比與數位電路系統的任何合適組合實作。振盪 器控制器120可經組態以修改來自振盪器122的時脈信號且將此類信號路由至無線裝置102的其他元件之各者,諸如RF電路110、基頻數據機112、MAC控制器116、及CPU 118。 A wireless device may include one or more clock sources, such as oscillator 122 . Oscillator 122 may be implemented in any suitable manner, such as by an RC oscillator or a crystal oscillator. The oscillator 122 is operable when a voltage is applied to it. The oscillator 122 can be controlled and powered by the oscillator controller 120 . Oscillator controller 120 may be implemented by any suitable combination of analog and digital circuitry. Oscillator controller 120 may be configured to modify the clock signal from oscillator 122 and to route such signals to each of the other elements of wireless device 102, such as RF circuitry 110, baseband modem 112, MAC controller 116, and CPU 118.

在一實施例中,SMC 106可經組態以實作多個不同睡眠模式、降低電力模式、或關閉模式。此外,SMC 106可經組態以將任何此類模式選擇性地應用至無線裝置102之一或多個元件。例如,SMC 106可在維持無線裝置102之其他元件的操作,或使無線裝置102之另其他元件處於不同模式的同時,將給定模式施用至無線裝置102之一個元件。在另一實施例中,SMC 106可經組態以控制時脈信號至無線裝置102之元件的施加。時脈信號的施加可完全或部分實作無線裝置102之其他元件的操作模式。SMC 106可經組態以使此類元件通電或斷電。SMC 106可經組態以所預期接收信號的基礎上或回應於此類信號來控制此類通電或斷電。 In one embodiment, the SMC 106 can be configured to implement a number of different sleep modes, reduced power modes, or shutdown modes. Furthermore, SMC 106 may be configured to selectively apply any such modes to one or more elements of wireless device 102 . For example, SMC 106 may apply a given mode to one element of wireless device 102 while maintaining operation of other elements of wireless device 102, or placing another element of wireless device 102 in a different mode. In another embodiment, the SMC 106 may be configured to control the application of clock signals to components of the wireless device 102 . The application of the clock signal may fully or partially implement the mode of operation of other elements of the wireless device 102 . SMC 106 can be configured to power on or off such elements. SMC 106 may be configured to control such power-on or power-off based on or in response to expected received signals.

例如,SMC 106可發佈啟用或停用信號至基頻數據機112。此類啟用或停用信號亦可具有啟用或停用RF電路110之操作的效果。在另一實例中,SMC 106可發佈啟用或停用信號至MAC控制器116。介於SMC 106與無線裝置102之各別其他元件之間的各連接可係分開且相異的。因此,SMC 106可經組態以分開地且選擇性地停用或啟用無線裝置102之其他元件。 For example, SMC 106 may issue an enable or disable signal to baseband modem 112 . Such enable or disable signals may also have the effect of enabling or disabling the operation of the RF circuit 110 . In another example, SMC 106 may issue an enable or disable signal to MAC controller 116 . The connections between the SMC 106 and respective other elements of the wireless device 102 may be separate and distinct. Accordingly, SMC 106 may be configured to separately and selectively disable or enable other elements of wireless device 102 .

在另一實例中,SMC 106可啟用或停用振盪器122或振盪器控制器120。這可具有啟用或停用從振盪器122發佈至無線裝置102之各種其他元件的時脈信號之效果。SMC 106可依類似方式啟用或停用其他振盪器(未圖示)。無線裝置102之元件(諸如RF電路110、基頻數據機112、MAC控制器116、或CPU 118)可接收來自振盪器122的時脈信號(無論是經修改或原始 的)。當至無線裝置102之此類元件的時脈信號未被啟用時,可有效地使該等元件斷電。 In another example, SMC 106 may enable or disable oscillator 122 or oscillator controller 120 . This may have the effect of enabling or disabling the clock signal issued from the oscillator 122 to various other elements of the wireless device 102 . SMC 106 can similarly enable or disable other oscillators (not shown). Components of wireless device 102 such as RF circuitry 110, baseband modem 112, MAC controller 116, or CPU 118 may receive a clock signal (whether modified or original) from oscillator 122. Such elements of the wireless device 102 may be effectively powered down when the clock signal to such elements is not enabled.

在各種時間,CPU 118可沒有待執行的其他擱置中任務。在辨識到沒有待執行的其他擱置中任務時,SMC 106可被啟用以在藉由CPU 118透過睡眠模式請求通知時關閉無線裝置102之部分。CPU 118可繼而藉由SMC 106透過中斷或時脈操作的重新啟用而喚醒。此外,CPU 118可透過來自未圖示之其他元件的其他事件而喚醒,諸如使用者啟動按鈕,或另一子系統(未圖示)產生中斷。此外,CPU 118可啟用WIFI操作及隨後藉由發佈WIFI_EN信號至SMC 106而喚醒。在此類信號後,SMC 106可經組態以喚醒無線裝置102之其他元件的或重新銜接此類元件的時脈。例如,若CPU 118正在準備將資料發送至無線裝置104,則該CPU可發佈此類啟用。 At various times, CPU 118 may have no other pending tasks to perform. Upon identifying that there are no other pending tasks to execute, the SMC 106 may be enabled to shut down portions of the wireless device 102 upon notification by the CPU 118 through a sleep mode request. CPU 118 may then be woken up by SMC 106 through an interrupt or re-enablement of clock operations. Additionally, the CPU 118 may be woken up by other events from other components not shown, such as a user actuating a button, or another subsystem (not shown) generating an interrupt. Additionally, the CPU 118 can enable WIFI operation and then wake up by issuing a WIFI_EN signal to the SMC 106 . Following such a signal, the SMC 106 may be configured to wake up or reconnect the clocks of other components of the wireless device 102 . For example, if the CPU 118 is preparing to send data to the wireless device 104, the CPU may issue such an enable.

在一實施例中,當未從任何其他來源(諸如無線裝置104)接收到資料時,SMC 106可經組態以控制CPU 118的通電及斷電循環。例如,若資料未從無線裝置102發送出,且未在無線裝置102處接收到來自無線裝置104的資料,則CPU 118可由SMC 106以睡眠模式關閉。CPU 118可沒有待執行的其他擱置中任務。在辨識到沒有待執行的其他擱置中任務時,SMC 106可被啟用以在藉由CPU 118透過睡眠模式進行通知時關閉無線裝置102之部分。 In one embodiment, the SMC 106 may be configured to control the power-on and power-off cycles of the CPU 118 when no data is received from any other source, such as the wireless device 104 . For example, CPU 118 may be shut down by SMC 106 in sleep mode if data is not sent from wireless device 102 and data is not received at wireless device 102 from wireless device 104 . CPU 118 may have no other pending tasks to execute. Upon identifying no other pending tasks to execute, SMC 106 may be enabled to shut down portions of wireless device 102 when notified by CPU 118 through sleep mode.

在一實施例中,在睡眠模式中,SMC 106可停用CPU 118活動,同時週期性地允許RF電路110及基頻數據機112的操作,以檢查接收自無線裝置104之指示待發送更多資料的TIM或其他訊息。在收到此類TIM或其他訊息時,SMC 106可經組態以喚醒或啟用CPU 118或MAC控制器116。當透過無線裝 置102、104之間的無線連接的主動資料傳輸非作用時,可執行此類睡眠模式。TIM訊息可指示恢復此類主動資料傳輸。 In one embodiment, in sleep mode, SMC 106 may disable CPU 118 activity while periodically allowing operation of RF circuitry 110 and baseband modem 112 to check for indications received from wireless device 104 to send more The TIM or other message of the data. Upon receipt of such a TIM or other message, SMC 106 may be configured to wake up or enable CPU 118 or MAC controller 116 . Such a sleep mode may be performed when active data transfer over the wireless connection between the wireless devices 102, 104 is inactive. The TIM message may indicate resumption of such active data transmission.

在一實施例中,SMC 106可經組態以在此類睡眠模式期間停止對MAC控制器116或CPU 118的時脈操作。在另一實施例中,SMC 106可經組態以在睡眠模式中停止對基頻數據機112及RF電路110的時脈操作,除了經排程以接收TIM、訊框、或其他類似訊息時的循環中之特定時間期間外。在另一實施例中,SMC 106可經組態以在睡眠模式期間關閉或停用RF電路110之PLL的時脈操作。在另一實施例中,SMC 106可經組態以在此類睡眠週期期間使RF電路110斷電。SMC 106可經組態以在經排程以接收TIM、訊框、或其他類似訊息時的循環中之特定時間期間使RF電路110通電。 In one embodiment, SMC 106 may be configured to stop clocking MAC controller 116 or CPU 118 during such sleep modes. In another embodiment, SMC 106 can be configured to stop clocking baseband modem 112 and RF circuit 110 in sleep mode, except when scheduled to receive TIM, frame, or other similar messages outside of a specific time period in the loop. In another embodiment, the SMC 106 can be configured to shut down or disable the clock operation of the PLL of the RF circuit 110 during sleep mode. In another embodiment, SMC 106 may be configured to power down RF circuit 110 during such sleep periods. SMC 106 may be configured to power on RF circuit 110 during specific times in a cycle when it is scheduled to receive a TIM, frame, or other similar message.

為了將無線裝置102之元件置於睡眠或斷電模式,且適當地且選擇性地喚醒無線裝置102,SMC 106可經組態以實作802.11時序同步功能(TSF)計數器。此類TSF計數器可具有在MAC控制器116中的對應者。在使RF組件斷電時,在MAC控制器116中的TSF計數器之值可複製至SMC 106中的計數器,且在MAC控制器116通電後還原。在斷電期間,可更新SMC 106中的TSF計數器。為了在斷電其他元件並抑制至其他元件之振盪器輸出的同時進行此類時序,SMC 106可包括與振盪器122分開的時脈。例如,SMC 106可包括操作32MHz的低電力時脈。此類時脈可足以供SMC 106判定何時接收TIM、訊框、或其他訊息的時間窗。 In order to place elements of the wireless device 102 in sleep or power down mode, and to appropriately and selectively wake up the wireless device 102, the SMC 106 can be configured to implement an 802.11 Timing Synchronization Function (TSF) counter. Such TSF counters may have counterparts in the MAC controller 116 . The value of the TSF counter in the MAC controller 116 may be copied to the counter in the SMC 106 when the RF component is powered down, and restored after the MAC controller 116 is powered up. During a power outage, the TSF counter in SMC 106 may be updated. To perform such timing while powering down other components and inhibiting the oscillator output to other components, SMC 106 may include a separate clock from oscillator 122 . For example, SMC 106 may include a low power clock operating at 32MHz. Such a clock may be sufficient for the SMC 106 to determine a time window of when to receive a TIM, frame, or other message.

當RF電路110(或經組態以聆聽所接收訊息的無線裝置102之其他部分)被斷電或無時脈時,SMC 106可使用此類時脈安排操作的時間。在通過無線電靜寂(radio silence)時間且達到當待接收TIM、訊框、或其他訊息時 的時間窗時,SMC 106可經組態以使RF電路110或基頻數據機112之部分通電以聆聽待接收的TIM、訊框或其他訊息。若未接收到此類訊息,或若所接收訊息指示沒有待接收的額外資料,則RF電路110及基頻數據機112可再次被斷電,直到下一個此類時間窗。若接收到此類訊息且指示有待接收的額外資料,可在接收訊息之後使RF電路110及基頻數據機112通電以接收額外資料。此外,SMC 106可由於此類訊息期待處理將被接收之資料而使CPU 118通電。 When the RF circuitry 110 (or other portion of the wireless device 102 configured to listen for received messages) is powered down or clocked out, the SMC 106 can use such clocks to schedule operations. When the radio silence period passes and a time window is reached when a TIM, frame, or other message is to be received, the SMC 106 can be configured to power up portions of the RF circuitry 110 or baseband modem 112 to Listen for incoming TIMs, frames or other messages. If no such message is received, or if the received message indicates that there is no additional data to be received, the RF circuit 110 and baseband modem 112 may be powered down again until the next such time window. If such a message is received and indicates additional data to be received, RF circuit 110 and baseband modem 112 may be powered on to receive the additional data after receiving the message. Additionally, SMC 106 may power up CPU 118 due to such messages expecting to process data to be received.

無線裝置102可包括用於聆聽待接收的TIM、訊框、或其他訊息的任何合適機構。例如,無線裝置102可包括訊框剖析器124。訊框剖析器124可藉由類比電路系統、數位電路系統、組合邏輯、用於由處理器執行的指令、或其任何合適的組合實作。訊框剖析器124可經組態以獨立於CPU 118操作。因此,當CPU 118被斷電或無時脈時,雖然如此訊框剖析器124仍可經組態以操作。訊框剖析器124亦可稱為信標剖析器。訊框剖析器124可經組態以聆聽在指定時間待由無線裝置102接收的TIM、訊框、或其他訊息。訊框剖析器124可實作於無線裝置102之任何合適部件中。例如,訊框剖析器124可實作在MAC控制器116中。在其他實例中,訊框剖析器124可實作在SMC 106中或獨立地實作。訊框剖析器124可連同訊框剖析器124實作於其中的其他電路系統一起通電或斷電、或被供應時脈或無時脈。訊框剖析器124可在待在無線裝置102處接收TIM、訊框、或其他訊息時通電或被供應時脈。訊框剖析器124可在適當的睡眠或休息模式中的其他時間被斷電或無時脈。 Wireless device 102 may include any suitable mechanism for listening for TIMs, frames, or other messages to be received. For example, the wireless device 102 may include a frame parser 124 . Frame parser 124 may be implemented by analog circuitry, digital circuitry, combinational logic, instructions for execution by a processor, or any suitable combination thereof. Frame parser 124 may be configured to operate independently of CPU 118 . Thus, frame parser 124 can nevertheless be configured to operate when CPU 118 is powered down or clocked out. The frame parser 124 may also be called a beacon parser. Frame parser 124 may be configured to listen for TIMs, frames, or other messages to be received by wireless device 102 at specified times. Frame parser 124 may be implemented in any suitable component of wireless device 102 . For example, frame parser 124 may be implemented in MAC controller 116 . In other examples, frame parser 124 may be implemented in SMC 106 or independently. Frame parser 124 may be powered on or off, or clocked or not, along with other circuitry in which frame parser 124 is implemented. Frame parser 124 may be powered on or clocked when a TIM, frame, or other message is to be received at wireless device 102 . Frame parser 124 may be powered down or unclocked at other times during appropriate sleep or rest modes.

在一實施例中,在斷電或睡眠模式期間,在諸如RF電路110、基頻數據機112、MAC控制器116、訊框剖析器124、或CPU 118的元件被斷電時,振盪器122可保持操作。這可反映與其他電力模式分開的相異電力模 式,其中除了一或多個此類元件之外,振盪器122亦被斷電。例如,若用於SMC 106的操作的分開時脈不可用,則可能存在此類實施例。此外,當振盪器122及其時脈信號的激發及鎖相需要大量時間來初始化時,可使用此類實施例。此外,當CPU 118待執行其他處理任務且需要使用振盪器122時,可使用此類實施例,但RF通訊被暫止。 In one embodiment, during power down or sleep mode, when components such as RF circuitry 110, baseband modem 112, MAC controller 116, frame parser 124, or CPU 118 are powered down, oscillator 122 Can remain operational. This may reflect a distinct power mode separate from other power modes, where oscillator 122 is also powered down in addition to one or more such elements. Such an embodiment may exist, for example, if a separate clock for the operation of the SMC 106 is not available. Furthermore, such an embodiment may be used when the excitation and phase locking of the oscillator 122 and its clock signal requires a significant amount of time to initialize. Furthermore, such embodiments may be used when the CPU 118 is to perform other processing tasks and the oscillator 122 needs to be used, but RF communication is suspended.

因此,在一實施例中,SMC 106可經組態以提供其中從無線裝置102之元件中關閉或抑制振盪器122的睡眠模式。此外,在另一實施例中,SMC 106可經組態以提供其中振盪器122仍在操作的睡眠模式。當振盪器122仍在操作時,其可被提供給無線裝置102之一或多個元件。在進一步實施例中,此類元件本身可包括SMC 106。在另一進一步實施例中,此類元件可包括CPU 118。睡眠模式之選擇可取決於當其他元件處於睡眠時是否一些元件需要振盪器122。當振盪器122仍在操作時的模式中,SMC 106可用啟用或停用信號來停用無線裝置102之元件,以將這些元件置於一睡眠模式中。藉由剝奪元件的時脈信號而將元件置於睡眠模式可係同步睡眠模式。藉由提供分開之啟用或停用信號而將元件置於睡眠模式可係非同步睡眠模式。 Accordingly, in one embodiment, the SMC 106 may be configured to provide a sleep mode in which the oscillator 122 is turned off or inhibited from elements of the wireless device 102 . Furthermore, in another embodiment, the SMC 106 may be configured to provide a sleep mode in which the oscillator 122 is still operating. While the oscillator 122 is still operating, it may be provided to one or more elements of the wireless device 102 . In further embodiments, such elements may themselves include the SMC 106 . In another further embodiment, such elements may include CPU 118 . The choice of sleep mode may depend on whether some components require the oscillator 122 while other components are sleeping. While the oscillator 122 is still in the operating mode, the SMC 106 may disable elements of the wireless device 102 with enable or disable signals to place these elements in a sleep mode. Placing a device in sleep mode by depriving the device of a clock signal may be a synchronous sleep mode. Putting a component into sleep mode by providing a separate enable or disable signal may be an asynchronous sleep mode.

SMC 106可經組態以為無線裝置102之元件正確地安排時間或排定序列以從睡眠模式恢復操作。例如,無線裝置102之一些元件可能需要特定啟動序列才能正常運作。這些元件可本身包括電力調節或接收來自具有初始化階段的電力調節器之電力。SMC 106可依支援例如低壓差(LDO)電力轉換器的分階段啟動、或具有施加電壓至振盪器且然後等待頻率安定的振盪器初始化序列之方式來開始通電。此外,SMC 106可經組態以在無線裝置102之各種元件被斷電時儲存此類元件之一或多個狀態,且然後在操作恢復後還原此類元件。 例如,在斷電時,RF電路110或基頻數據機112的調變參數、上次使用之值、或其他組態資料可由SMC 106保存至暫存器或正反器。 The SMC 106 can be configured to properly time or sequence the elements of the wireless device 102 to resume operation from sleep mode. For example, some components of the wireless device 102 may require specific startup sequences to function properly. These elements may themselves include power conditioning or receive power from a power conditioner with an initialization phase. The SMC 106 may start powering up in a manner that supports, for example, a staged startup of a low dropout (LDO) power converter, or an oscillator initialization sequence with applying voltage to the oscillator and then waiting for the frequency to settle. Furthermore, SMC 106 may be configured to store the state of one or more of various elements of wireless device 102 when such elements are powered down, and then restore such elements after operation resumes. For example, modulation parameters, last used values, or other configuration data of the RF circuit 110 or the baseband modem 112 may be saved by the SMC 106 to a register or flip-flop when power is turned off.

SMC 106可操作通電及斷電循環而無需韌體或使用者介入。SMC 106可完全以硬體執行低電力模式或狀態的循環進入或退出,而無需來自主機控制器或軟體的任何介入。 The SMC 106 is operable to cycle power on and off without firmware or user intervention. The SMC 106 can perform cycling into and out of low power modes or states entirely in hardware without any intervention from the host controller or software.

SMC 106可經組態以在任何合適的基礎上起始睡眠模式,及可用睡眠模式的特定者。例如,SMC 106可透過由軟體設定之暫存器值、內部匯流排或信號線而接收指示以進入睡眠模式,或若SMC偵測到無線裝置102之RF部分上無資料操作,靠其自身進入睡眠模式。 SMC 106 may be configured to initiate a sleep mode on any suitable basis, and specific ones of available sleep modes. For example, the SMC 106 may receive an instruction to enter sleep mode via a register value set by software, an internal bus or signal line, or enter by itself if the SMC detects no data activity on the RF portion of the wireless device 102. sleep mode.

無線裝置102之元件可在不同電力域或子系統中操作。RF電路110可在1.5V獨立之電力域上操作。OSC控制器120可在其自身電力域中操作。基頻數據機112及MAC控制器116可在相異電力域中操作,或者可連同其餘元件在電力域中一起操作。 Components of wireless device 102 may operate in different power domains or subsystems. The RF circuit 110 can operate on a separate power domain of 1.5V. OSC controller 120 may operate in its own power domain. Baseband modem 112 and MAC controller 116 may operate in separate power domains, or may operate in power domains together with the remaining elements.

圖2係根據本揭露實施例之實例有限狀態機(FSM)200的繪示,其展示使無線裝置104之發送部分進入睡眠模式及狀態的SMC 106的實例操作。FSM 200可繪示數位電路系統、組合邏輯,在系統100之處理器的作業系統的層級以下操作的韌體,或其他合適的實施方案的操作。 2 is a drawing of an example finite state machine (FSM) 200 showing example operation of the SMC 106 to put the transmitting portion of the wireless device 104 into sleep modes and states, according to an embodiment of the disclosure. FSM 200 may represent the operation of digital circuitry, combinational logic, firmware operating below the level of the operating system of the processor of system 100, or other suitable implementation.

運行模式可展示在狀態202中,其中沒有睡眠模式或斷電操作係生效的。可使用一或多個睡眠模式,諸如在狀態224、218中。FSM 200繪示可執行以進入或退出這些運行狀態或睡眠狀態的額外操作。 The run mode may be shown in state 202, where no sleep mode or power down operation is active. One or more sleep modes, such as in states 224, 218, may be used. FSM 200 illustrates additional operations that may be performed to enter or exit these run states or sleep states.

斷電Wi-Fi操作可包括各種睡眠模式及狀態。在一些情況下,模式的特徵可在於無線裝置102之部分在此類模式中轉變不同的電力狀態。各 模式可具有在其內部達成的不同睡眠狀態層級。例如,無線深度睡眠模式(WDS)模式除了關閉RF電路110之振盪器122外亦藉由完全關閉RF電路110而將最低電力狀態用於RF通訊。WDS睡眠模式可展示在狀態224中。在另一實例中,當關閉RF電路110時,無線睡眠模式(WSM)可使振盪器122保持作用中,使得無線裝置102可能能夠更快喚醒,產生靈活操作。WSM睡眠模式可展示在狀態218中。 Power-off Wi-Fi operation may include various sleep modes and states. In some cases, modes may be characterized by portions of wireless device 102 transitioning to different power states in such modes. Each mode may have a different sleep state hierarchy achieved within it. For example, wireless deep sleep mode (WDS) mode also uses the lowest power state for RF communication by completely shutting down the RF circuit 110 in addition to turning off the oscillator 122 of the RF circuit 110 . A WDS sleep mode may be shown in state 224 . In another example, a wireless sleep mode (WSM) may keep the oscillator 122 active when the RF circuit 110 is turned off, so that the wireless device 102 may be able to wake up faster, resulting in flexible operation. WSM sleep mode may be shown in state 218 .

此外,各睡眠模式亦可具有進入睡眠狀態或休息狀態的能力(除了完全操作狀態之外)。在一實施例中,休息狀態可係其中無線裝置104之部分轉變進入或退出WSM或WDS模式的瞬態狀態。睡眠狀態可係無線裝置104已完全轉變進入WSM或WDS模式的狀態。休息狀態可在退出睡眠狀態或立即斷定進入睡眠狀態時進入。SMC 106可經組態以使無線裝置104之部分移動進入休息狀態或睡眠狀態。WDS休息狀態可藉由狀態204實作。WSM休息狀態可藉由狀態214實作。 In addition, each sleep mode may also have the ability to enter a sleep state or a rest state (in addition to a fully operational state). In one embodiment, the rest state may be a transient state in which a portion of the wireless device 104 transitions into or out of WSM or WDS mode. A sleep state may be a state in which the wireless device 104 has fully transitioned into WSM or WDS mode. The rest state can be entered upon exiting the sleep state or immediately asserting entry into the sleep state. SMC 106 may be configured to cause a portion of wireless device 104 to move into a rest state or sleep state. The WDS rest state can be implemented by state 204 . The WSM rest state can be implemented by state 214 .

在休息狀態及睡眠狀態中,RF電路110的傳輸器及接收器鏈可被關閉。在睡眠狀態中,RF電路110的傳輸器及接收器鏈可被關閉,且數據機112及MAC控制器114可不具有接收自振盪器122的時脈信號(即,無時脈或未閘控)。休息狀態可週期性地或在喚醒事件時進入,如無線裝置104週期性地喚醒以檢查TIM訊息、無線裝置104按需求而喚醒、或無線裝置104在逾時或檢查TIM訊息之後週期性地進入睡眠。休息狀態之行為可相同或相似於WSM及WDS模式。 In the rest state and sleep state, the transmitter and receiver chains of the RF circuit 110 may be turned off. In the sleep state, the transmitter and receiver chains of RF circuitry 110 may be turned off, and modem 112 and MAC controller 114 may have no clock signal received from oscillator 122 (i.e., no clock or gated) . The rest state may be entered periodically or upon a wakeup event, such as the wireless device 104 periodically waking up to check for a TIM message, the wireless device 104 waking up on demand, or the wireless device 104 periodically entering after a timeout or checking for a TIM message sleep. Rest state behavior can be the same or similar to WSM and WDS modes.

一旦進入WDS或WSM模式,SMC 106可經組態以控制至RF電路110、數據機112、MAC控制器116、及CPU 118的電力或時脈信號。SMC 106 可經組態以在指定睡眠模式中自動及週期性地在運行狀態、睡眠狀態、與休息狀態之間切換。睡眠狀態及休息狀態之持續時間的等待時間可係可程式化的。此外,更具體之特徵(諸如RF電路110之PLL)可係可程式化的。例如,SMC106可經組態以在每睡眠循環或每N個睡眠循環重新校準此類PLL。此外,休息狀態可完全停用。在此類情況下,SMC 106可在每睡眠循環之後產生喚醒中斷。 Once in WDS or WSM mode, SMC 106 may be configured to control power or clock signals to RF circuitry 110 , modem 112 , MAC controller 116 , and CPU 118 . The SMC 106 can be configured to automatically and periodically switch between the run state, the sleep state, and the rest state in designated sleep modes. The waiting time for the duration of sleep state and rest state can be programmed. Furthermore, more specific features such as the PLL of the RF circuit 110 may be programmable. For example, SMC 106 may be configured to recalibrate such PLLs every sleep cycle or every N sleep cycles. Additionally, the rest state can be completely deactivated. In such cases, SMC 106 may generate a wakeup interrupt after each sleep cycle.

在一實施例中,在WSM及WDS睡眠模式中,數據機112及MAC控制器116可被通電,但是其等時脈信號可被抑制。因此,此類元件的暫存器及有限狀態機狀態可保留。WSM及WDS模式可僅在沒有擱置中訊務進入。此外,可遮罩除了係喚醒來源的中斷以外的中斷。 In one embodiment, in WSM and WDS sleep modes, modem 112 and MAC controller 116 may be powered on, but their isoclock signals may be suppressed. Therefore, the register and finite state machine state of such elements can be preserved. WSM and WDS modes can only be entered for traffic that is not on hold. In addition, interrupts other than those that are wake-up sources can be masked.

依據預設,電子裝置102之元件可處於狀態202中之運行模式中。在狀態202中,元件可被通電且接收來自振盪器122的正常、預期時脈信號。狀態202中之運行模式可藉由在首先終止狀態206中的傳輸而終止。在一實施例中,可藉由硬體睡眠模式請求而進入WDS或WSM睡眠模式之各者。這些可藉由SMC 106判定無待傳輸或接收的資料(基於關閉TIM或其他訊息)、或按軟體或使用者透過設定位元的需求來驅動。WDS或WSM之特定一者的進入可藉由控制位元或提出請求的實體來判定。WDS及WSM睡眠模式可分別包括狀態224及狀態218。類似地,可依據來自SMC 106的已接收TIM或其他訊息之硬體判定,或按系統之軟體或使用者的需求,而退出狀態224或狀態218。在一實施例中,採用硬體的SMC 106判定及來自軟體的使用者或應用程式層級輸入的組合可用於判定是否進入或退出睡眠模式。 By default, the components of the electronic device 102 can be in the operating mode in the state 202 . In state 202 , the element may be powered on and receive a normal, expected clock signal from oscillator 122 . The run mode in state 202 can be terminated by a transmission in first terminate state 206 . In one embodiment, each of the WDS or WSM sleep modes may be entered by a hardware sleep mode request. These can be driven by the SMC 106 determining that there is no data to transmit or receive (based on turning off the TIM or other messages), or by software or user demand by setting bits. Entry of a specific one of WDS or WSM can be determined by control bits or by the requesting entity. WDS and WSM sleep modes may include state 224 and state 218, respectively. Similarly, state 224 or state 218 may be exited based on a hardware determination that a TIM or other message has been received from SMC 106, or by system software or user requirements. In one embodiment, a combination of SMC 106 determinations using hardware and user or application level input from software may be used to determine whether to enter or exit sleep mode.

在狀態206中,FSM 200將取決於是否使用WDS或WSM而繼續操作的不同分支。若要使用WSM,則FSM 200可前進至其中起始WSM睡眠狀態的狀態212。 In state 206, the FSM 200 will proceed to a different branch of operation depending on whether WDS or WSM is used. To use WSM, FSM 200 may proceed to state 212 where a WSM sleep state is initiated.

狀態212可包括類似於WSM休息的操作。進入WSM睡眠狀態時,SMC 106可將MAC控制器116置於低電力模式。SMC 106可複製TSF計時器之值至SMC 106。SMC可使數據機112處於低電力模式。然後,SMC 106可抑制至MAC控制器116及數據機112的時脈信號。然後,SMC 106可藉由關閉電力而將RF電路110放於睡眠模式中。SMC 106可處於狀態218中。 State 212 may include operations similar to WSM rest. Upon entering the WSM sleep state, the SMC 106 may place the MAC controller 116 in a low power mode. SMC 106 may copy the value of the TSF timer to SMC 106 . The SMC may place the modem 112 in a low power mode. SMC 106 may then suppress clock signals to MAC controller 116 and modem 112 . The SMC 106 may then place the RF circuit 110 in sleep mode by turning off the power. SMC 106 may be in state 218 .

在一定時間之後或在請求喚醒時,SMC 106可進入狀態220。若休息狀態被啟用,則SMC 106可直接進入運行模式狀態202。可對CPU 118引發喚醒中斷。若啟用休息,則SMC 106可進入狀態214。一旦在狀態214中,可經受休息持續時間,或SMC 106可等待訊框剖析器124觸發。若遇到觸發,則中斷將被發佈至CPU 118以喚醒系統。若未接收到資料,且休息持續時間到期,則FSM 200可返回至狀態212。 SMC 106 may enter state 220 after a certain amount of time or when a wake-up is requested. If the rest state is enabled, the SMC 106 may enter the run mode state 202 directly. A wakeup interrupt may be raised for CPU 118 . If rest is enabled, the SMC 106 may enter state 214 . Once in state 214, a rest duration may be experienced, or SMC 106 may wait for frame parser 124 to trigger. If a trigger is encountered, an interrupt will be issued to the CPU 118 to wake up the system. If no data is received and the rest duration expires, the FSM 200 may return to state 212.

從狀態214轉變至狀態202可包括請求來自振盪器控制器120之PLL的時脈信號。SMC 106可能等待時脈到達。TSF值及其他計時器可還原至MAC控制器116。MAC控制器116可從睡眠模式釋放。數據機112及RF電路110可從電力節省模式釋放。FSM可在狀態202中操作。 Transitioning from state 214 to state 202 may include requesting a clock signal from the PLL of oscillator controller 120 . SMC 106 may wait for a clock to arrive. TSF values and other timers may be restored to MAC controller 116 . MAC controller 116 may be released from sleep mode. The modem 112 and the RF circuit 110 can be released from the power saving mode. The FSM is operable in state 202 .

在狀態206中,若要使用WDS,則FSM 200可前進至狀態210以起始WDS睡眠。狀態210可包括類似於WDS休息的操作。為轉變至WDS,RF電路110可連同振盪器122、及電力轉換器、RF電路110內的傳輸器及接收器鏈、以及PLL被斷電。SMC 106可繼續且將MAC控制器116置於較低電力模式 中、傳輸MAC TSF計時器或值、將數據機112置於低電力模式、且停止至數據機112及MAC控制器116的時脈。FSM 200可處於狀態224中。 In state 206, if WDS is to be used, FSM 200 may proceed to state 210 to initiate WDS sleep. State 210 may include operations similar to WDS Rest. To transition to WDS, RF circuit 110 may be powered down along with oscillator 122, and power converters, transmitter and receiver chains within RF circuit 110, and PLLs. SMC 106 may continue and place MAC controller 116 in a lower power mode, transmit the MAC TSF timer or value, place modem 112 in low power mode, and stop clocking to modem 112 and MAC controller 116 . FSM 200 may be in state 224 .

一旦計時器到期或請求喚醒,SMC 106可退出狀態224。若未啟用休息模式,則SMC 106可去至狀態202。若啟用休息,則SMC 106可去至狀態204。然而,去至狀態204可包括數個中間狀態或步驟。假設RF電路110被停用,SMC 106可去至狀態228。否則,SMC 106可去至狀態226。在狀態228,可將RF電路110置於待機模式中。在226,可重新啟動振盪器122。SMC 106可等待振盪器122安定。在222,可藉由施加來自振盪器122的時脈信號來啟用RC電路110之其他部分。在216,可提出PLL操作的請求。時脈可施加至數據機112及MAC控制器116。在等待後,在208,數據機112可還原其暫存器值。為進入204,MAC控制器116可還原其TSF值及其他計時器。可啟用MAC控制器116及數據機112。FSM 200可處於狀態204中。 SMC 106 may exit state 224 once the timer expires or a wake-up is requested. If rest mode is not enabled, the SMC 106 may go to state 202 . If rest is enabled, the SMC 106 may go to state 204 . However, going to state 204 may include several intermediate states or steps. SMC 106 may go to state 228 assuming RF circuit 110 is disabled. Otherwise, SMC 106 may go to state 226 . In state 228, RF circuitry 110 may be placed in a standby mode. At 226, the oscillator 122 may be restarted. SMC 106 may wait for oscillator 122 to settle. At 222 , other portions of the RC circuit 110 may be enabled by applying a clock signal from the oscillator 122 . At 216, a request for PLL operation may be made. Clocks can be applied to the modem 112 and the MAC controller 116 . After waiting, at 208, modem 112 may restore its scratchpad value. To proceed to 204, MAC controller 116 may restore its TSF value and other timers. MAC controller 116 and modem 112 may be enabled. FSM 200 may be in state 204 .

一旦在狀態204中,可經受休息持續時間,或SMC 106可等待訊框剖析器124。若遇到觸發,則中斷將被發佈至CPU 118以喚醒系統。若未接收到資料,且休息持續時間到期,則FSM 200可返回至狀態204。 Once in state 204 , a rest duration may be experienced, or SMC 106 may wait for frame parser 124 . If a trigger is encountered, an interrupt will be issued to the CPU 118 to wake up the system. If no data is received and the rest duration expires, FSM 200 may return to state 204 .

圖3係根據本揭露實施例之訊框剖析器300的更詳細繪示。訊框剖析器300可實作訊框剖析器124。訊框剖析器300可包括訊框篩選器304、多個觸發器(諸如觸發器1 306、觸發器2 308、觸發器3 310、及觸發器4 312)、以及控制邏輯314。這些元件可藉由類比電路系統、數位電路系統、組合邏輯、或其任何合適的組合實作。 FIG. 3 is a more detailed illustration of a frame parser 300 according to an embodiment of the disclosure. The frame parser 300 can be implemented as the frame parser 124 . Frame parser 300 may include frame filter 304 , a plurality of triggers (such as trigger 1 306 , trigger 2 308 , trigger 3 310 , and trigger 4 312 ), and control logic 314 . These elements may be implemented by analog circuitry, digital circuitry, combinational logic, or any suitable combination thereof.

當通電、或被供應時脈、或以其他方式啟用時,訊框剖析器300可等待TIM 302或其他訊框或訊息的到達。TIM 302可包括識別目標無線裝 置的標頭資訊。訊框篩選器304可經組態以判定所接收訊框(諸如TIM 302)的802.11類型或子類型識別符是否匹配例如SMC中待監視之訊框的802.11類型或子類型。若TIM 302中的類型或子類型裝置識別符或其他識別匹配所預期訊框類型及子類型,則訊框剖析器300可繼續處理TIM 302。否則,訊框剖析器300可捨棄或丟棄訊框。 When powered on, or clocked, or otherwise enabled, frame parser 300 may wait for TIM 302 or other frames or messages to arrive. TIM 302 may include header information identifying the target wireless device. Frame filter 304 may be configured to determine whether the 802.11 type or subtype identifier of a received frame such as TIM 302 matches, for example, the 802.11 type or subtype of a frame to be monitored in the SMC. If the type or subtype device identifier or other identification in TIM 302 matches the expected frame type and subtype, frame parser 300 may continue processing TIM 302 . Otherwise, the frame parser 300 may discard or drop the frame.

觸發器306至312之各者可平行或串列地處理TIM 302。觸發器306至314可各包括以其評估TIM 302的匹配準則。儘管圖3中展示四個觸發器,但訊框剖析器300可包括任何合適數目個觸發器。觸發器306至312之各者可評估TIM 302中之訊框的標頭部分或其他資訊。觸發器306至312之各者可分開地啟用或停用。此外,控制邏輯314可評估來自觸發器306至312之結果的任何合適邏輯組合。 Each of flip-flops 306-312 can process TIM 302 in parallel or in series. Triggers 306 - 314 may each include matching criteria against which TIM 302 is evaluated. Although four flip-flops are shown in FIG. 3, frame parser 300 may include any suitable number of flip-flops. Each of flip-flops 306-312 may evaluate a header portion or other information of a frame in TIM 302. Each of the triggers 306-312 can be enabled or disabled separately. Furthermore, control logic 314 may evaluate any suitable logical combination of results from flip-flops 306-312.

觸發器306至312之各者可用相同準則來評估分開之欄位、用不同準則來評估相同欄位、或其組合。所使用之特定觸發器及搭配此類觸發器所使用之準則可取決於無線裝置所使用之通訊協定,及需要匹配TIM 302之多少部分以判定是否TIM 302指示無線裝置準備接收額外資訊。 Each of triggers 306-312 may evaluate separate fields with the same criteria, evaluate the same field with different criteria, or a combination thereof. The particular triggers used and the criteria used with such triggers may depend on the protocol used by the wireless device and how much of the TIM 302 needs to be matched to determine whether the TIM 302 indicates that the wireless device is ready to receive additional information.

若控制邏輯314發現來自觸發器306至312之匹配結果的所識別邏輯組合存在,則控制邏輯314可發佈喚醒信號316至無線裝置之其餘部分。觸發器306至312之所選擇者及邏輯組合的匹配欄位可指示TIM 302用信號通知待接收額外資訊給無線裝置。因此,無線裝置之其他部件可通電或喚醒。否則,控制邏輯314可丟棄TIM 302或不採取動作。無線裝置可返回至更深的睡眠狀態,如圖2所示。 If control logic 314 finds that the identified logical combination of matching results from flip-flops 306-312 exists, control logic 314 may issue a wake-up signal 316 to the rest of the wireless device. Selected ones and logical combinations of flip-flops 306-312 matching fields may instruct TIM 302 to signal additional information to be received to the wireless device. As a result, other components of the wireless device can be powered on or woken up. Otherwise, control logic 314 may discard TIM 302 or take no action. The wireless device may return to a deeper sleep state, as shown in FIG. 2 .

可使訊框剖析器300之動作獨立於無線裝置之其他部件(諸如CPU)的操作。因此,成訊框器剖析器300可檢查TIM 302而不需要喚醒、通電、或供應時脈給無線裝置之此類其他元件。例如,可透過合適的暫存器產生訊框剖析器300的操作的組態。 The actions of the frame parser 300 can be made independent of the operation of other components of the wireless device, such as the CPU. Thus, the framer profiler 300 can inspect the TIM 302 without waking up, powering up, or supplying clocks to such other elements of the wireless device. For example, the configuration of the operation of the frame parser 300 can be generated through suitable registers.

訊框剖析器300可在無線裝置的操作的任何合適階段啟動。如上文在圖2之內容脈絡中所論述,訊框剖析器300可在接收到TIM或其他訊息或訊框時在例如Wsnooze狀態中啟動。 Frame parser 300 may be activated at any suitable stage of operation of the wireless device. As discussed above in the context of FIG. 2, frame parser 300 may be activated, for example, in the Wsnooze state upon receipt of a TIM or other message or frame.

經啟用的觸發器306至312之各者可在指定欄位上執行邏輯檢查。指定欄位可在TIM 302內或在任何訊框之任何合適部分中。該欄位可係例如八位元寬。各觸發器(如由暫存器所定義的)可包括該觸發器待檢查的欄位的指定。該欄位可藉由一個八位元數字來定義。該八位元數字可從訊框之開始定義。訊框控制欄位可係八位元的0及1。 Each of the enabled triggers 306-312 may perform a logic check on the specified field. Designated fields can be within TIM 302 or in any suitable portion of any frame. The field may be, for example, eight bits wide. Each trigger (as defined by the register) may include a designation of the fields that the trigger is to check. This field can be defined by an octet number. The octet can be defined from the start of the frame. The frame control field can be octet 0 and 1.

各觸發器(如由暫存器所定義的)可包括是否要對欄位進行型樣搜尋或變更評估的指定(諸如位元)。邏輯檢查可包括型樣搜尋或變更評估之外的其他邏輯檢查。 Each trigger (as defined by a register) may include a designation (such as a bit) whether to perform a type lookup or change evaluation on a field. Logic checks may include additional logic checks beyond pattern hunting or change evaluation.

在型樣搜尋中,另一暫存器值可指定待在剖析TIM 302之欄位時使用的型樣。型樣可藉由點陣圖篩選器、經定義型樣、或其組合來指定。點陣圖篩選器可識別待剖析欄位中之哪些位元。例如,設定在位元位置中的值「1」識別待剖析及評估的位元。值「FF」選擇欄位中之所有位元以供剖析及分析,而值「00」全部不選。所定義型樣可係8位元型樣,以匹配所識別欄位內之TIM 302。當由點陣圖篩選器所指示的經選定位元匹配所定義型樣時,觸發器被啟動。 In a pattern search, another register value may specify the pattern to be used when parsing the fields of the TIM 302 . Patterns may be specified by bitmap filters, defined patterns, or a combination thereof. The bitmap filter identifies which bits in the field to parse. For example, a value of "1" set in a bit position identifies the bit to be parsed and evaluated. A value of "FF" selects all bits in the field for parsing and analysis, while a value of "00" selects none. The defined pattern may be an 8-bit pattern to match the TIM 302 in the identified field. A trigger is fired when the selected bits indicated by the bitmap filter match the defined pattern.

在變更偵測中,另一暫存器值可指定匹配前一訊框的TIM 302之所識別欄位的八位元型樣。在一實施例中,該型樣可定義觸發器不啟動所必須匹配的位元。例如,在所識別欄位中之指定位元位置(由型樣指定)處的當前TIM 302與先前訊框之間的任何偏差可啟動觸發器。在另一實施例中,該型樣可定義觸發器啟動所必須匹配的位元。 In change detection, another register value may specify an octet pattern matching the identified field of the TIM 302 of the previous frame. In one embodiment, the pattern defines the bits that must match for the trigger to not activate. For example, any deviation between the current TIM 302 and the previous frame at a specified bit position (specified by the pattern) in the identified field may activate a trigger. In another embodiment, the pattern defines the bits that must match for the trigger to activate.

此外,給定觸發器暫存器可包括指示觸發器是否被啟用或被停用以待使用的位元。如上文所論述,可啟用任何合適數目個可用觸發器。此外,觸發器可組合在一起以產生更複雜的喚醒觸發器準則。觸發器可與邏輯運算(諸如OR、AND、NOT、或XOR)組合。操作及邏輯運算的順序可透過又另外的暫存器來程式化。 Additionally, a given flip-flop register may include a bit indicating whether the flip-flop is enabled or disabled for use. As discussed above, any suitable number of available triggers may be enabled. Additionally, triggers can be combined to produce more complex wake-up trigger criteria. Flip-flops can be combined with logical operations such as OR, AND, NOT, or XOR. The sequence of operations and logical operations can be programmed through yet another register.

訊框剖析器300的操作可依任何合適的方式自身啟用。訊框剖析器300可透過暫存器值、啟用信號、電力、或時脈來啟用或停用。若訊框剖析器300被啟用且訊框不匹配觸發條件,則可以丟棄訊框。否則,若訊框剖析器300被停用或若訊框匹配觸發條件,則可不丟棄訊框。 The operation of frame parser 300 may itself be enabled in any suitable manner. The frame parser 300 can be enabled or disabled by register value, enable signal, power, or clock. If the frame parser 300 is enabled and the frame does not match the trigger condition, the frame may be discarded. Otherwise, the frame may not be discarded if the frame parser 300 is disabled or if the frame matches the trigger condition.

用於給定觸發器的一個實例暫存器可包括諸如下列的欄位

Figure 107136338-A0202-12-0019-1
An instance register for a given trigger may include fields such as the following
Figure 107136338-A0202-12-0019-1

Trig Enable(觸發器啟用)可係定義是否給定觸發器將檢查TIM 302之型樣或變更的位元。Trig Mode(觸發器模式)可係定義是否給定觸發器將執行型樣 匹配或執行變更偵測的位元。Trig Filter(觸發器篩選器)可係八個位元(或否則,欄位之大小)及遮罩,該遮罩在型樣匹配模式中與Trig Pattern(觸發器型樣)匹配之前,應用在所識別欄位的TIM 302上。Trig Filter(觸發器篩選器)可定義在變更偵測模式中對其評估變更的位元。Trig Pattern(觸發器型樣)可係八個位元(或否則,欄位之大小)及訊框剖析器300在所識別欄位中搜尋的值。該搜尋可用來自Trig Filter(觸發器篩選器)的遮罩覆疊。Trig Octet(觸發器八位元)可定義將對其執行搜尋及比較的TIM 302之欄位。Trig Octet(觸發器八位元)可係八個位元寬,或任何其他合適的長度。 Trig Enable may define whether a given trigger will check the TIM 302 type or changed bits. Trig Mode can be a bit that defines whether a given trigger will perform pattern matching or perform change detection. Trig Filter can be eight bits (or otherwise, the size of the field) and a mask that is applied to the on the TIM 302 for the identified field. Trig Filter defines the bits for which changes are evaluated in change detection mode. Trig Pattern can be eight bits (or otherwise, the size of the field) and the value that frame parser 300 looks for in the identified field. The search can be overlaid with a mask from the Trig Filter. The Trig Octet may define the field of the TIM 302 on which the search and comparison will be performed. Trig Octets can be eight bits wide, or any other suitable length.

訊框剖析300之實例暫存器可包括諸如下列的欄位

Figure 107136338-A0202-12-0020-2
The instance registers of frame dissection 300 may include fields such as the following
Figure 107136338-A0202-12-0020-2

Type Enable(類型啟用)可係啟用由訊框篩選器304根據802.11來篩選訊框類型的位元。Sub Type Enable(子類型啟用)可係啟用由訊框篩選器304根據802.11來篩選訊框子類型的位元。Type(類型)可係當啟用Type Enable(類型 啟用)時使用的欄位。Type(類型)可定義所接收之封包或TIM 302中為進行額外分析所必須匹配的802.11類型的型樣。類似地,Sub Type(子類型)可定義所接收之封包或TIM 302中為進行額外分析所必須匹配的802.11子類型的型樣。 Type Enable can be a bit that enables the frame filter 304 to filter the frame type according to 802.11. Sub Type Enable may be a bit that enables the frame filter 304 to filter frame subtypes according to 802.11. Type may be a field used when Type Enable is enabled. Type defines the received packet or pattern of 802.11 types that must be matched in the TIM 302 for additional analysis. Similarly, Sub Type defines the pattern of 802.11 subtypes that must be matched in received packets or TIM 302 for additional analysis.

Function0、Function1、及Function2可能各定義待執行之觸發器306至312的組合。Function0 Priority、Function1 Priority、及Function2 Priority可定義Function0至Function2之間的操作順序。 Function0, Function1, and Function2 may each define a combination of flip-flops 306-312 to be executed. Function0 Priority, Function1 Priority, and Function2 Priority can define the order of operations between Function0 to Function2.

例如,Function0可指定觸發器1 306及觸發器2 308的組合。「1」可指定觸發器1 306及觸發器2 308待一起AND運算(若該兩個觸發器被啟用)。「0」可指定觸發器1 306及觸發器2 308待一起OR運算(若該兩個觸發器被啟用)。 For example, Function0 may specify a combination of trigger 1 306 and trigger 2 308 . "1" may specify that flip-flop 1 306 and flip-flop 2 308 are to be ANDed together (if the two flip-flops are enabled). "0" may specify that flip-flop 1 306 and flip-flop 2 308 are to be ORed together (if the two flip-flops are enabled).

Function1可指定觸發器1 306、觸發器2 308、及觸發器3 310的組合。「1」可指定該等觸發器待一起AND運算(若所有觸發器被啟用)。「0」可指定該等觸發器待一起OR運算(若所有觸發器被啟用)。 Function1 may specify a combination of Trigger 1 306 , Trigger 2 308 , and Trigger 3 310 . "1" may specify that the flip-flops are to be ANDed together (if all flip-flops are enabled). "0" may specify that the flip-flops are to be ORed together (if all flip-flops are enabled).

Function2可指定觸發器1 306、觸發器2 308、觸發器3 310、及觸發器4 312的組合。「1」可指定該等觸發器待一起AND運算(若所有觸發器被啟用)。「0」可指定該等觸發器待一起OR運算(若所有觸發器被啟用)。 Function2 may specify a combination of Trigger 1 306 , Trigger 2 308 , Trigger 3 310 , and Trigger 4 312 . "1" may specify that the flip-flops are to be ANDed together (if all flip-flops are enabled). "0" may specify that the flip-flops are to be ORed together (if all flip-flops are enabled).

因此,Function0、Function1、及Function2可藉由指定是否將AND或OR用於特定組合的位元而實作。Function0 Priority、Function1 Priority、及Function2 Priority可藉由兩個位元實作,以展示順序或相對於其他功能的優先 級。「00」可定義第一或最高優先級、「01」可定義第二或下一個最低優先級、且「10」可定義第三或最低優先級。 Therefore, Function0, Function1, and Function2 can be implemented by specifying whether to use AND or OR for a particular combination of bits. Function0 Priority, Function1 Priority, and Function2 Priority can be implemented with two bits to show the order or priority relative to other functions. "00" may define the first or highest priority, "01" may define the second or next lowest priority, and "10" may define the third or lowest priority.

其中觸發器1被給定為t1、觸發器2被給定為t2、觸發器3被給定為t3、觸發器4被給定為t4、Function0被給定為f0、Function1被給定為f1、且Function2被給定為f2,觸發條件的可能組合的集合可給定為

Figure 107136338-A0202-12-0022-3
Among them, trigger 1 is given as t1, trigger 2 is given as t2, trigger 3 is given as t3, trigger 4 is given as t4, function0 is given as f0, and function1 is given as f1 , and Function2 is given as f2, the set of possible combinations of trigger conditions can be given as
Figure 107136338-A0202-12-0022-3

雖然上文已描述實作用於待由訊框剖析器300使用的觸發器306至312之邏輯組合的暫存器指定之特定方式,可使用指定觸發器之此類組合的任何合適方式。 Although specific ways of implementing register designations for logical combinations of flip-flops 306-312 to be used by frame parser 300 have been described above, any suitable way of specifying such combinations of flip-flops may be used.

因此,SMC 106可使極低電力架構變得可能。此類架構可實用於例如電池供電之802.11物聯網路應用。SMC 106可使系統能夠在資料通訊不活動時避免維持與其他無線裝置的802.11連接所需的CPU活動。 Thus, the SMC 106 can enable very low power architectures. Such architectures are applicable, for example, to battery-powered 802.11 IoT network applications. The SMC 106 enables the system to avoid the CPU activity required to maintain 802.11 connections with other wireless devices when data communication is inactive.

已就一或多個實施例而論描述本揭露,且應理解,除了明確陳述者外,許多同等案、替代案、變化案及修改案係可行的且在本揭露之範疇內。雖然本揭露易受各種修改及替代形式,其特定例示性實施例已顯示在圖式中且在本文中詳細描述。然而,應當理解,本文描述之具體實例性實施例非意欲將本揭露限制於本文所揭露的具體形式。 The disclosure has been described in terms of one or more embodiments, and it should be understood that many equivalents, alternatives, variations, and modifications, other than those expressly stated, are possible and within the scope of the disclosure. While the disclosure is susceptible to various modifications and alternative forms, specific illustrative embodiments thereof have been shown in the drawings and described in detail herein. It should be understood, however, that the specific example embodiments described herein are not intended to limit the disclosure to the precise forms disclosed herein.

100‧‧‧系統 100‧‧‧system

102‧‧‧無線裝置 102‧‧‧Wireless device

104‧‧‧無線裝置 104‧‧‧Wireless device

106‧‧‧睡眠模式控制器(SMC) 106‧‧‧Sleep Mode Controller (SMC)

108‧‧‧天線 108‧‧‧antenna

110‧‧‧射頻(RF)電路 110‧‧‧Radio Frequency (RF) Circuit

112‧‧‧基頻數據機 112‧‧‧Baseband modem

114‧‧‧基頻處理器 114‧‧‧Baseband Processor

116‧‧‧媒體存取控制(MAC)控制器 116‧‧‧Media Access Control (MAC) Controller

118‧‧‧中央處理單元(CPU) 118‧‧‧Central Processing Unit (CPU)

120‧‧‧振盪器控制器 120‧‧‧Oscillator Controller

122‧‧‧振盪器 122‧‧‧Oscillator

124‧‧‧訊框剖析器 124‧‧‧Frame Analyzer

Claims (18)

一種無線裝置,其包含:一睡眠模式控制器電路(sleep mode controller circuit,SMC);一處理器;一射頻(radio-frequency,RF)電路;及一振盪器,其通訊地耦合至該處理器及該RF電路;其中該SMC經組態以:從透過該RF電路之一第一所接收訊息識別沒有待從另一無線裝置接收的即將發生(impending)之資料訊務(data traffic);基於該第一所接收訊息,將該無線裝置置於一斷電(power down)模式中,其中該斷電模式包括使該處理器斷電且使該RF電路斷電;週期性地檢查一第二所接收訊息,其包括:在一週期基礎上使該RF電路通電;判定該第二所接收訊息是否指示有待從另一無線裝置接收的即將發生之資料訊務;基於有待從另一無線裝置接收的即將發生之資料訊務的一判定,使該處理器通電;及該無線裝置進一步包括一訊框剖析器(frame parser)電路,該訊框剖析器電路經組態以在該處理器被斷電時:在由該SMC啟動時週期性地檢查該第二所接收訊息; 在該檢查該第二所接收訊息期間,識別該第二所接收訊息是否識別該無線裝置之一類型;及基於該第二所接收訊息是否識別該無線裝置之該類型,繼續剖析該第二所接收訊息。 A wireless device comprising: a sleep mode controller circuit (sleep mode controller circuit, SMC); a processor; a radio-frequency (radio-frequency, RF) circuit; and an oscillator communicatively coupled to the processor and the RF circuit; wherein the SMC is configured to: identify from a first received message through the RF circuit that there is no impending data traffic to be received from another wireless device; based on The first received message places the wireless device in a power down mode, wherein the power down mode includes powering down the processor and powering down the RF circuit; periodically checking a second a received message comprising: energizing the RF circuit on a periodic basis; determining whether the second received message indicates an impending data traffic to be received from another wireless device; based on pending reception from another wireless device A determination of the impending data traffic of the wireless device causes the processor to be powered on; and the wireless device further includes a frame parser (frame parser) circuit configured to operate when the processor is turned off Power-on: periodically check the second received message when activated by the SMC; During the checking of the second received message, identifying whether the second received message identifies a type of the wireless device; and based on whether the second received message identifies the type of wireless device, continuing to parse the second received message Receive messages. 如請求項1之無線裝置,其中該SMC進一步經組態以基於沒有待從另一無線裝置接收的即將發生之資料訊務的一判定,使該處理器維持在一斷電狀態中。 The wireless device of claim 1, wherein the SMC is further configured to maintain the processor in a powered-off state based on a determination that there are no impending data traffic to be received from another wireless device. 如請求項1之無線裝置,其中使該RF電路斷電包括停用該RF電路之一鎖相迴路電路。 The wireless device of claim 1, wherein powering down the RF circuit includes disabling a phase-locked loop circuit of the RF circuit. 如請求項1之無線裝置,其中使該RF電路斷電包括停用從該振盪器至該RF電路的一時脈信號。 The wireless device of claim 1, wherein powering down the RF circuit includes disabling a clock signal from the oscillator to the RF circuit. 如請求項1之無線裝置,其中該SMC進一步經組態以在使該RF電路及該處理器斷電時維持該振盪器的操作。 The wireless device of claim 1, wherein the SMC is further configured to maintain operation of the oscillator when the RF circuit and the processor are powered down. 如請求項1之無線裝置,其中該SMC進一步經組態以在使該RF電路及該處理器斷電時關閉該振盪器。 The wireless device of claim 1, wherein the SMC is further configured to turn off the oscillator when the RF circuit and the processor are powered off. 如請求項1之無線裝置,其中該SMC進一步經組態以在使該RF電路斷電時保存及更新一計時器值,該計時器值係由該無線裝置之一數據機記錄且經組態以識別何時待由該無線裝置接收該第二訊息。 The wireless device as claimed in claim 1, wherein the SMC is further configured to save and update a timer value when the RF circuit is powered off, the timer value is recorded by a modem of the wireless device and is configured to identify when the second message is to be received by the wireless device. 一種無線裝置,其包含:一睡眠模式控制器電路(SMC);一處理器; 一射頻(RF)電路;及一振盪器,其通訊地耦合至該處理器及該RF電路;其中該SMC經組態以:從透過該RF電路之一第一所接收訊息識別沒有待從另一無線裝置接收的即將發生之資料訊務;基於該第一所接收訊息,將該無線裝置置於一斷電模式中,其中該斷電模式包括使該處理器斷電且使該RF電路斷電;週期性地檢查一第二所接收訊息,包括以下之步驟:在一週期基礎上使該RF電路通電;判定該第二所接收訊息是否指示有待從另一無線裝置接收的即將發生之資料訊務;基於有待從另一無線裝置接收的即將發生之資料訊務的一判定,使該處理器通電;及該無線裝置進一步包括一訊框剖析器電路,該訊框剖析器電路經組態以在該處理器被斷電時:在由該SMC啟動時週期性地檢查該第二所接收訊息;在該檢查該第二所接收訊息期間,識別該第二所接收訊息中據以執行型樣(pattern)匹配的一欄位(field);及使用指定用於該訊框剖析器電路的一型樣在該第二所接收訊息上執行型樣匹配,該型樣匹配該第一所接收訊息。 A wireless device comprising: a sleep mode controller circuit (SMC); a processor; a radio frequency (RF) circuit; and an oscillator communicatively coupled to the processor and the RF circuit; wherein the SMC is configured to: identify from a first received message through one of the RF circuits that there is no pending message from another Imminent data traffic received by a wireless device; placing the wireless device in a power down mode based on the first received message, wherein the power down mode includes powering down the processor and powering down the RF circuit power; periodically checking a second received message, comprising the steps of: energizing the RF circuit on a periodic basis; determining whether the second received message indicates impending data to be received from another wireless device traffic; powering the processor based on a determination of impending data traffic to be received from another wireless device; and the wireless device further comprising a frame parser circuit configured to To when the processor is powered off: periodically check the second received message when activated by the SMC; during the checking of the second received message, identify the type to execute in the second received message a field for pattern matching; and performing pattern matching on the second received message using a pattern specified for the frame parser circuit that matches the first received message message. 如請求項1之無線裝置,其中該訊框剖析器電路進一步經組態以在該處理器被斷電時:在由該SMC啟動時週期性地檢查該第二所接收訊息;在該檢查該第二所接收訊息期間,識別該第二所接收訊息中據以執行差異分析的一欄位;及基於該第二所接收訊息之該欄位不同於一先前所接收訊息之一對應欄位,判定該第二所接收訊息指示有待從另一無線裝置接收的即將發生之資料訊務。 The wireless device as claimed in claim 1, wherein the frame analyzer circuit is further configured to when the processor is powered off: periodically check the second received message when activated by the SMC; during a second received message, identifying a field in the second received message upon which a discrepancy analysis is performed; and based on the field of the second received message being different from a corresponding field of a previous received message, It is determined that the second received message indicates an impending data traffic to be received from another wireless device. 一種用於睡眠循環控制之方法,其包含:從透過一射頻(RF)電路在一第一無線裝置處之一第一所接收訊息識別沒有待從另一無線裝置接收的即將發生之資料訊務;基於該第一所接收訊息,將該無線裝置置於一斷電模式中,其中該斷電模式包括使該無線裝置之一處理器斷電且使該RF電路斷電;週期性地檢查一第二所接收訊息,其包括:在一週期基礎上使該RF電路通電;判定該第二所接收訊息是否指示有待從另一無線裝置接收的即將發生之資料訊務;基於有待從另一無線裝置接收的即將發生之資料訊務的一判定,使該處理器通電;及在該處理器被斷電時:週期性地檢查該第二所接收訊息; 在該檢查該第二所接收訊息期間,識別該第二所接收訊息是否識別該無線裝置之一類型;及基於該第二所接收訊息是否識別該無線裝置之該類型,繼續剖析該第二所接收訊息。 A method for sleep cycle control comprising: identifying from a first received message at a first wireless device through a radio frequency (RF) circuit that there are no impending data traffic to be received from another wireless device ; based on the first received message, placing the wireless device in a power down mode, wherein the power down mode includes powering down a processor of the wireless device and powering down the RF circuit; periodically checking a A second received message comprising: energizing the RF circuit on a periodic basis; determining whether the second received message indicates an impending data traffic to be received from another wireless device; a determination of impending data traffic received by the device, powering up the processor; and while the processor is powered down: periodically checking for the second received message; During the checking of the second received message, identifying whether the second received message identifies a type of the wireless device; and based on whether the second received message identifies the type of wireless device, continuing to parse the second received message Receive messages. 如請求項10之方法,其進一步包含,基於沒有待從另一無線裝置接收的即將發生之資料訊務的一判定,使該處理器維持在一斷電狀態中。 The method of claim 10, further comprising maintaining the processor in a powered-off state based on a determination that there are no impending data traffic to be received from another wireless device. 如請求項10之方法,其中使該RF電路斷電包括停用該RF電路之一鎖相迴路電路。 The method of claim 10, wherein powering down the RF circuit includes disabling a phase locked loop circuit of the RF circuit. 如請求項10之方法,其中使該RF電路斷電包括停用從一振盪器至該RF電路的一時脈信號。 The method of claim 10, wherein powering down the RF circuit comprises disabling a clock signal from an oscillator to the RF circuit. 如請求項10之方法,其進一步包含在使該RF電路及該處理器斷電時維持一振盪器的操作。 The method of claim 10, further comprising maintaining operation of an oscillator while powering down the RF circuit and the processor. 如請求項10之方法,其進一步包含在使該RF電路及該處理器斷電時關閉一振盪器。 The method of claim 10, further comprising shutting down an oscillator when powering down the RF circuit and the processor. 如請求項10之方法,其進一步包含在使該RF電路斷電時保存及更新一計時器值,該計時器值係由該無線裝置之一數據機記錄且經組態以識別何時待由該無線裝置接收該第二訊息。 The method of claim 10, further comprising saving and updating a timer value when the RF circuit is powered down, the timer value being recorded by a modem of the wireless device and configured to identify when to be powered by the RF circuit The wireless device receives the second message. 一種用於睡眠循環控制之方法,其包含:從透過一射頻(RF)電路在一第一無線裝置處之一第一所接收訊息識別沒有待從另一無線裝置接收的即將發生之資料訊務; 基於該第一所接收訊息,將該無線裝置置於一斷電模式中,其中該斷電模式包括使該無線裝置之一處理器斷電且使該RF電路斷電;週期性地檢查一第二所接收訊息,包括:在一週期基礎上使該RF電路通電;判定該第二所接收訊息是否指示有待從另一無線裝置接收的即將發生之資料訊務;基於有待從另一無線裝置接收的即將發生之資料訊務的一判定,使該處理器通電;及在該處理器被斷電時:週期性地檢查該第二所接收訊息;在該檢查該第二所接收訊息期間,識別該第二所接收訊息中據以執行型樣匹配的一欄位;及使用指定用於該第二所接收訊息之該欄位的一型樣對該第二所接收訊息執行型樣匹配,該型樣匹配該第一所接收訊息。 A method for sleep cycle control comprising: identifying from a first received message at a first wireless device through a radio frequency (RF) circuit that there are no impending data traffic to be received from another wireless device ; placing the wireless device in a power down mode based on the first received message, wherein the power down mode includes powering down a processor of the wireless device and powering down the RF circuit; periodically checking a first Two received messages comprising: energizing the RF circuit on a periodic basis; determining whether the second received message indicates an impending data traffic to be received from another wireless device; based on pending reception from another wireless device A determination of an impending data traffic, powers up the processor; and when the processor is powered off: periodically checks the second received message; during the checking of the second received message, identifies a field in the second received message upon which pattern matching is performed; and pattern matching is performed on the second received message using a pattern designated for the field of the second received message, the The pattern matches the first received message. 如請求項10之方法,其進一步包含在該處理器被斷電時:週期性地檢查該第二所接收訊息;在該檢查該第二所接收訊息期間,識別該第二所接收訊息中據以執行差異分析的一欄位;及基於該第二所接收訊息之該欄位不同於一先前所接收訊息之一對應欄位,判定該第二所接收訊息指示有待從另一無線裝置接收的即將發生之資料訊務。 The method of claim 10, further comprising when the processor is powered off: periodically checking the second received message; during the checking of the second received message, identifying data in the second received message a field for performing discrepancy analysis; and based on the field of the second received message being different from a corresponding field of a previously received message, determining that the second received message indicates to be received from another wireless device Upcoming data traffic.
TW107136338A 2017-10-16 2018-10-16 Programmable hardware sleep cycle controller for 802.11 wireless devices supporting low-power TWI794303B (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US201762572975P 2017-10-16 2017-10-16
US62/572,975 2017-10-16
US16/158,434 US10560899B2 (en) 2017-10-16 2018-10-12 Programmable hardware sleep cycle controller for 802.11 wireless devices supporting low-power
US16/158,434 2018-10-12

Publications (2)

Publication Number Publication Date
TW201924405A TW201924405A (en) 2019-06-16
TWI794303B true TWI794303B (en) 2023-03-01

Family

ID=64083166

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107136338A TWI794303B (en) 2017-10-16 2018-10-16 Programmable hardware sleep cycle controller for 802.11 wireless devices supporting low-power

Country Status (5)

Country Link
US (1) US10560899B2 (en)
CN (1) CN110999417B (en)
DE (1) DE112018004559T5 (en)
TW (1) TWI794303B (en)
WO (1) WO2019079115A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017124012A1 (en) * 2016-01-13 2017-07-20 Locus-Control Llc Low power communications system
CN111935691B (en) * 2020-08-12 2024-01-16 深圳市蓝信物联科技有限公司 Wireless low-power consumption configuration method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070248034A1 (en) * 2006-04-25 2007-10-25 Mediatek Inc. Method for controlling a station and station using the same
CN101321072A (en) * 2008-07-21 2008-12-10 华为技术有限公司 Network awakening method, device and equipment
WO2015094363A1 (en) * 2013-12-20 2015-06-25 Intel IP Corporation Smart beacon processing

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7512423B2 (en) * 2002-08-12 2009-03-31 Broadcom Corporation Power management of radio transceiver elements
US8064374B2 (en) * 2008-05-09 2011-11-22 Nokia Corporation Power save mechanism for wireless communication devices
WO2014116023A1 (en) * 2013-01-22 2014-07-31 엘지전자 주식회사 Method for transmitting/receiving group addressed frame in wlan system and device therefor
WO2017078743A1 (en) * 2015-11-03 2017-05-11 Intel IP Corporation Devices and methods of drx and wlan power saving mode synchronization for lwa

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070248034A1 (en) * 2006-04-25 2007-10-25 Mediatek Inc. Method for controlling a station and station using the same
CN101321072A (en) * 2008-07-21 2008-12-10 华为技术有限公司 Network awakening method, device and equipment
WO2015094363A1 (en) * 2013-12-20 2015-06-25 Intel IP Corporation Smart beacon processing

Also Published As

Publication number Publication date
CN110999417B (en) 2023-04-25
US10560899B2 (en) 2020-02-11
CN110999417A (en) 2020-04-10
DE112018004559T5 (en) 2020-06-04
US20190116557A1 (en) 2019-04-18
WO2019079115A9 (en) 2019-11-28
TW201924405A (en) 2019-06-16
WO2019079115A1 (en) 2019-04-25

Similar Documents

Publication Publication Date Title
US8509859B2 (en) Apparatus and methods for control of sleep modes in a transceiver
JP6081504B2 (en) System and method for low power signaling in a wireless local area network
US8199687B2 (en) Information-communication terminal having function of controlling electric power consumption
US6467042B1 (en) Method and/or apparatus for lowering power consumption in a peripheral device
US7809410B2 (en) Power management system for SCA based software defined radio and related method
KR20070034880A (en) Method and device for saving power by adjusting listening interval in wireless communication device having multiple power saving modes
CN110568921B (en) Method for reducing chip power consumption
CN101155355A (en) Control method, device and equipment for sleeping mode of user's set
TWI794303B (en) Programmable hardware sleep cycle controller for 802.11 wireless devices supporting low-power
CN110568919B (en) Device for reducing chip power consumption
US20150286271A1 (en) System and method for predicting a central processing unit idle pattern for power saving in a modem system on chip
CN106063304B (en) System and method for message-based fine-grained system-on-chip power control
TWI791730B (en) Semiconductor device and semiconductor system
WO2016176923A1 (en) Clock calibration method and apparatus, and computer storage medium
KR101003621B1 (en) Wake-up system for wireless transceiver and method for controlling wake-up period of the same
US20050091551A1 (en) Operation mode switching method and apparatus for ensuring ultra low power consumption
TW201827978A (en) System on chip, semiconductor system and clock signal output circuit
JP2011248595A (en) Radio communication terminal
Janković et al. Power management for wireless sensor nodes
CN116594494A (en) Electronic apparatus and control method thereof
MXPA06007169A (en) Precise sleep timer using a low-cost and low-accuracy clock