Wake-up radio with single-bit correlator
By introducing analog front-end circuits and digital circuits into the radio device, and using correlators and averagers to process Manchester encoded signals, fast switching of low-power modes and efficient power management are achieved, solving the problem of high power consumption of radio devices in the existing technology. , significantly reducing power consumption and improving device battery life.
Patent Information
- Application Number
- CN202410219986.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-02-28
- Filing Date
- 2024-02-28
- Publication Date
- 2024-08-30
AI Technical Summary
It is difficult for existing radio devices to effectively reduce power consumption under low power and low cost conditions, especially in IoT devices, where complexity leads to unnecessary power consumption.
A device containing an analog front-end circuit and a digital circuit is designed. Through the first and second correlators and the averager, the radio frequency signal modulated by Manchester coding on-off keying is used to achieve fast wake-up and low-power mode switching, ensuring that the radio Maintain low power state during inactivity.
Significant power consumption reduction is achieved, the fast wake-up time is less than 20ms, the bit error rate is below 0.1%, the sensitivity reaches -89.5dBm, and low power consumption is maintained in low power mode, significantly improving the battery life of the device.
Smart Images

Figure CN118574199A_ABST
Abstract
Description
Background Art
[0001] Radios are being incorporated into smaller and smaller and evolving types of devices. Current trends extend the use of radios for small, low-cost, low-power devices, including various Internet of Things (IoT) devices.
[0002] Suggestions for reducing power consumption include providing a radio with lower power consumption that can be used for the purpose of triggering the wake-up of a larger radio. However, the complexity involved in the radio can still result in unwanted power consumption. Summary of the invention
[0003] In one aspect, an apparatus includes: an analog front end circuit for receiving a radio frequency (RF) signal and outputting a bit stream; and a digital circuit coupled to the analog front end circuit. The digital circuit may include: a first correlator for receiving at least a first portion of the bit stream and performing correlation on the first portion to generate a first correlation result; a second correlator for receiving at least a second portion of the bit stream and performing correlation on the second portion to generate a second correlation result; and a controller coupled to the first correlator and the second correlator. The controller may be configured to enable the second correlator when the first correlation result exceeds a first threshold.
[0004] In an implementation, a first correlator performs correlation on a first portion of a bit stream including a first portion of a sync word of a wakeup packet; and a second correlator performs correlation on a second portion of a bit stream including a second portion of a sync word of a wakeup packet. The device may sum the first correlation result and the second correlation result and compare the sum to a second threshold.
[0005] In an implementation, the device further comprises an averager, wherein the controller will enable the averager in response to the sum exceeding a second threshold. The first and second correlators will perform a sync word check on an arriving bit of the bit stream, and the averager will perform a sync word check on an arriving bit of the bit stream. The analog front end circuit may be configured to receive an RF signal having Manchester Coded On-Off Keying (MOOK) modulation. The first correlator and the second correlator may be single-bit correlators. The controller may include at least one state controller, wherein the at least one state controller will: in response to an enable signal from a scheduler, transition the first correlator from an idle state to an active state; and in response to the first correlation result exceeding a first threshold, transition the second correlator from an idle state to an active state.
[0006] In an implementation, the controller includes at least one state controller for causing: the first correlator and the second correlator to decode the arriving bits of the sync word of the wake-up packet; and causing the averager to decode the arriving bits of the sync word of the wake-up packet. The device may include a scheduler to enable the controller for the scan window according to a predetermined interval, and the device includes a wake-up radio. In response to the detection of a valid wake-up packet in the bit stream, the wake-up radio will send a wake-up signal to the second radio to put the second radio into an active state.
[0007] In another aspect, a method includes: in a first radio, receiving an RF signal and processing the RF signal to provide a bit stream to digital circuits of the first radio; enabling a first correlator of the first radio to detect at least a first portion of a sync word of a wake-up packet of the bit stream, and thereafter enabling a second correlator of the first radio to detect at least a second portion of the sync word; enabling an averager circuit to detect another portion of the sync word; and in response to detection of the sync word, disabling the first and second correlators and keeping the averager circuit enabled.
[0008] In an implementation, the method further includes decoding at least a portion of the wake-up packet via the averager circuit.The method may also include sending an interrupt from the first radio to the second radio to enable the second radio in response to decoding the wake-up packet, the first radio comprising the wake-up radio and the second radio comprising the primary radio.
[0009] In an implementation, the method further comprises: correlating at least a first portion of the bit stream with a first predetermined value in a first correlator to detect a first portion of a synchronization word; and correlating at least a second portion of the bit stream with a second predetermined value in a second correlator to detect a second portion of the synchronization word. The method also comprises detecting the first portion of the synchronization word when a first correlation result of the first correlator exceeds a first correlation threshold, wherein the first correlator comprises a single-bit correlator and the bit stream comprises a Manchester-encoded on-off keyed bit stream. The method further comprises detecting the second portion of the synchronization word when a sum of a second correlation result of the second correlator and a first correlation result of the first correlator exceeds a second correlation threshold, wherein the second correlator comprises a single-bit correlator. The method may further comprise: performing a synchronization check on the first and second portions of the synchronization word using arriving bits of the bit stream via the first and second correlators; and performing a synchronization check on another portion of the synchronization word using incoming bits of the bit stream via an averager circuit.
[0010] In yet another aspect, a system includes a first radio for receiving and processing an incoming RF signal, and a second radio coupled to the first radio. The first radio includes: a digital circuit for receiving a bit stream obtained from the RF signal, the digital circuit including: a scheduler for enabling a core circuit for a scan window according to a predetermined interval; and a core circuit coupled to the scheduler. The core circuit may include: a first correlator for receiving at least a first portion of the bit stream and performing correlation on the first portion to identify a first portion of a sync word of a wake-up packet; a second correlator for receiving at least a second portion of the bit stream and performing correlation on the second portion to identify a second portion of the sync word of the wake-up packet, wherein the second correlator will be enabled when the first correlation result exceeds a first threshold; and an averager circuit for decoding another portion of the sync word. In response to detection of the wake-up packet, the first radio will send a wake-up signal to the second radio.
[0011] In an implementation, the first and second correlators comprise single bit correlators, the first and second portions of the bit stream are oversampled and Manchester encoded, and the RF signal comprises a Manchester encoding of random on-off keying data. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 is a block diagram of a wireless communication environment according to an embodiment.
[0013] Figure 2A is a block diagram illustrating an arrangement of wake-up packets according to an embodiment.
[0014] Figure 2B is a transmission power spectrum of a wake-up communication according to an embodiment.
[0015] Figure 2C is a time domain diagram of a wake-up packet modulated by MOOK according to an embodiment.
[0016] Figure 3A is a block diagram of a portion of a wake-up receiver according to an embodiment.
[0017] Figure 3B is shown with Figure 3A Timing diagram of the various signals associated with the wake-up radio.
[0018] Figure 3C is a block diagram of a multiple radio arrangement according to an embodiment.
[0019] Figure 4 is a block diagram of a core circuit according to an embodiment.
[0020] Figure 5A is a timing diagram illustrating a two-step single-bit correlation detection operation according to an embodiment.
[0021] Figure 5B is a timing diagram illustrating the operation of the averager circuit according to an embodiment.
[0022] Fig. 6A is a flow chart of a method for operating a state controller according to an embodiment.
[0023] Figure 6B is a flow chart of a method for operating a state controller according to another embodiment.
[0024] Figure 7 is a flow chart of a method according to another embodiment.
[0025] Fig. 8A is a block diagram of a transmitter according to an embodiment.
[0026] Figure 8B is a block diagram of a transmitter according to another embodiment. DETAILED DESCRIPTION
[0027] In various embodiments, the device is provided with multiple radios, including a main radio and a wake-up radio (WuR), which is a low power radio (defined so that the device can save power by using it to wake up the rest of the device when requested). The embodiments described herein are used with a Bluetooth Low Energy (BLE) radio to prevent its use when there is no activity directed to the device.
[0028] Thus, in an example, the WuR may be designed and controlled as described herein to achieve significant improvements in power consumption (e.g., 50x improvement in power consumption (<200 μW)) through fast wake-up times (<20 ms) while maintaining a sensitivity of -89.5 dBm at a bit error rate (BER) of 0.1%. As will be described herein, these power savings may be achieved by designing the receiver and its control to tightly schedule the activities of different parts of the receiver in a power-aware manner.
[0029] Reference now Figure 1 , which is a block diagram of a wireless communication environment according to an embodiment. Figure 1 As shown in , a wireless communication environment 100, such as a wireless local area network (WLAN), includes various devices, such as Internet of Things (IoT) devices, including a transmitter 110 and a receiver 120. Although the embodiments are not limited in this regard, for the purposes of discussion, it is assumed that these components communicate via at least one wireless communication protocol, such as one or more Bluetooth protocols. The components may also be configured to communicate according to other wireless communication protocols, including Wi-Fi, cellular communications (e.g., 5G or higher), etc. Although only two devices are shown to facilitate discussion, additional devices may be present in other embodiments.
[0030] By way of example, significant power consumption savings may be achieved (by maintaining the main radio circuitry of a device in a low power mode) unless a given communication is to occur between the devices. To this end, the transmitter 110 and the receiver 120 may include so-called wake-up radios (WuRs). More specifically as shown, the transmitter 110 includes a WuR 114 in addition to a Bluetooth radio 112 (which may be a primary or primary Bluetooth transmitter). Similarly, the receiver 120 includes a WuR 124 in addition to a Bluetooth radio 122 (which may be a primary or primary Bluetooth receiver).
[0031] By this arrangement, the main radio component of the device can be kept in a low power mode until communication is to occur. The transmitter initiates a wake-up event to communicate with the receiver when operating in the wake-up mode. In order to initiate the wake-up of the Bluetooth radio 122, the wake-up radio 114 transmits a wake-up signal 118, which is to be received by the wake-up radio 124. After successful reception and processing of the wake-up signal 118 (which may include a wake-up protocol data unit (PDU) in an embodiment), the wake-up radio 124 transmits a wake-up signal, an interrupt or other notification signal. The signal wakes up the Bluetooth radio 122, thereby enabling it to receive the data packet 115 transmitted from the Bluetooth radio 112.
[0032] During a wake-up event, the wake-up transmitter sends a wake-up message to a specified wake-up receiver or group of receivers (using the address of one or more targets). After a successful wake-up request (where a response is expected), the wake-up receiver responds, for example by announcing an event. In an embodiment, the wake-up receiver does not respond to invalid requests. In one implementation, the wake-up event is considered closed if the wake-up receiver has responded or a given amount of time has elapsed. If the receiver has not responded, the wake-up transmitter may repeat the wake-up event (for one or more attempts). If the repeated attempts are unsuccessful, the wake-up process may be considered to have failed and the controller notifies the host. The wake-up receiver may be controlled to enter a WuR scan state to listen for packets sent on the wake-up channel (e.g., for a given scan window duration), after which the receiver may enter an idle state until the next wake-up scan window.
[0033] Although shown at this high level to facilitate discussion, it is understood that various enhancements are possible in embodiments. For example, it is understood that although discussed above as a "transmitter" and a "receiver," each device may be a complete radio with both transmit and receive capabilities.
[0034] Depending on the implementation, the wake-up packet can be a fixed length or a variable length packet. Figure 2A, shown is a block diagram showing the arrangement of wake-up packets according to an embodiment. Figure 2A As shown in , the wake-up packet 200 may be modulated by Manchester encoding (ME) on-off keying (MOOK). By way of example, the wake-up packet 200 may be transmitted at a data rate of 125 kilobytes per second (Kbps). The MOOK information may be modulated by a Bluetooth low energy 1M Gaussian frequency shift keying (GFSK) physical unit (PHY) circuit using random data (e.g., PRBS9 data). By adding MOOK modulation to such data, a bit rate of 62.5 Kbps may be achieved (by 2-chip Manchester encoding).
[0035] In a particular embodiment, the resulting 2GFSK symbol rate is 1M symbols per second (where 8 symbols represent 1 chip and 2 chips represent 1 bit), supporting a bit rate of 62.5 kbps. The mapping of input bits to output chip sequences (in transmit order) is Manchester encoded as shown in Table 1. Table 1 Input Bit Output chip sequence 0 01 1 10
[0036] Although the embodiments are not limited in this regard, in implementations, the wake-up packets may be sent on one or more specific wireless channels. For example, the channels used for wake-up requests may have low interference to avoid retransmissions of wake-up requests. In one embodiment, non-primary advertising LE channels that do not overlap with frequently used Wi-Fi channels (e.g., channels 1, 6, and 11) may be used and / or are channels that are multiples of 16 MHz.
[0037] refer to Figure 2A The packet length of the wake-up packet 200 may be between 104 and 144 bits, corresponding to a time duration between 1.664-2.304 milliseconds (ms). Figure 2A As shown in , the wake-up packet 200 is formed by a plurality of fields, namely a preamble field 201 (which may be 1 octet (8 bits)), a sync word field 202 (which may be 4 octets), a wake-up mode field 203 (which may be 4 bits), a length field 204 (which may be 4 bits (to indicate the length of the payload)), an address field 205 (which may be 2 octets), a token field 206 (which may be 4 octets), a payload field 207 (which may have a length based on a given wake-up mode and length), and finally a cyclic redundancy check (CRC) field 208 (which is 2 octets).
[0038] In an embodiment, WuR uses the preamble and sync word fields to detect wake-up messages and acquire timing synchronization. In an embodiment, the address field 205 may be 15 bits and is split into a receiver ID and a group ID. In a specific embodiment, the group ID is a 7-bit value and the receiver ID is an 8-bit value.
[0039] In an embodiment, the wake-up mode field 203 is 4 bits and may be defined as shown in Table 2 below. Table 2
[0040] Token field 206 may be used to identify the wakeup transmitter. WuR may support multiple stored tokens (e.g., a single token for each supported transmitter). Although the embodiments are not limited in this regard, the example payload may be used to provide commands, such as commands for toggling LED states and switching images on the device (e.g., images previously transmitted). Further, CRC field 208 may be a CRC value calculated over the WM, Length, Address, Token, and Payload fields. Of course, while shown with this particular arrangement of wakeup packets, variations are possible (in other implementations).
[0041] Reference now Figure 2B , which shows the transmission power spectrum of the wake-up communication according to the embodiment. Figure 2B As shown in FIG. 2 , power spectrum 220 includes a Bluetooth Low Energy (BLE) transmission 230 (which is sent using GFSK modulation), i.e., a BLE modulated signal containing random data. Above this, a MOOK modulated transmission 240 is sent, which may form at least part of a wake-up packet (according to an embodiment).
[0042] Reference now Figure 2C , which shows a time domain diagram of a wake-up packet modulated by MOOK according to an embodiment. Figure 2C As shown in , a wake-up packet 250 is shown in a baseline graph and in a small graph 250' that zooms in on a portion of the wake-up packet 250. As shown, the amplitude of the underlying BLE packet is MOOK modulated, and the dense portion (as shown in small graph 250', e.g., at reference 255) contains the original BLE modulated data.
[0043] Reference now Figure 3A , which is a block diagram of a portion of a wake-up receiver according to an embodiment. As shown in FIG. 3 , the receiver 300 may be implemented as Figure 1318. As shown, an incoming radio frequency (RF) signal is received (via antenna 316) and provided to RF circuitry 318. In various embodiments, RF circuitry 318 may be configured to perform various processing on the received RF signal, such as amplification in a low noise amplifier (LNA), filtering in one or more filters, and so on.
[0044] The resulting RF signal is provided to a mixer 320, which downconverts the RF signal to a lower frequency signal, such as a zero intermediate frequency (ZIF). To this end, the mixer 320 downconverts the received RF signal (using a mixed signal received from a local oscillator 322). The resulting downconverted signal is passed from a low pass filter (LPF) 325 and provided to a peak detector 330 which outputs a peak signal (OUT_PEAK_DETECT). As shown, the peak signal is provided to the positive input of a comparator 335. In turn, the peak signal is further filtered (in an RC filter formed by a resistor R and a capacitor C coupled in parallel), which results in a threshold signal that is provided to the negative input of the comparator 335.
[0045] The resulting comparison signal (COMP_OUT) is provided to a D-type flip-flop 340 (which is clocked by a 1 megahertz (MHz) clock signal). In turn, the output of flip-flop 340 is provided to a de-glitch circuit 345, which generates a 1-bit digital signal that is output to the digital portion of the wake-up radio (WuR digital circuit 350).
[0046] As will be further described below, the digital circuit 350 is configured to process the incoming bit stream to detect the presence of a valid wake-up packet. Upon such detection, the digital circuit 350 outputs an interrupt signal or other notification, which may be sent to the energy management unit and / or the main radio circuit. As further shown, the digital circuit 350 may generate a clear signal (wur_peakdata_clear) to cause the threshold signal to be cleared (via the discharge capacitor C). This is so because the threshold may be increased undesirably, for example, in the presence of a high power blocker (such as a Wi-Fi blocker signal). Therefore, in the event of an undesirable increase in the threshold due to such a blocker, the signal causes a reset of the threshold signal. It will be appreciated that although in Figure 3A The embodiments are shown at this high level, but many variations and alternatives are possible.
[0047] Reference now Figure 3B , shown is the same as Figure 3AThe timing diagram of various signals related to the wake-up radio of FIG. 304 is shown in FIG. 305. In an embodiment, the incoming RF signal 305 has MOOK modulation. Through this Manchester-based encoding, the amplitude information is transmitted via a peak detector (such as Figure 3A The peak detector 330 of FIG. 30 is recovered. The resulting peak signal 305 is compared to a threshold 315. As shown, the threshold 315 (which is based on the peak signal 305) varies (according to the RC filter characteristics). The resulting comparison output is therefore a single-bit sample at the clock rate of the clock driving the flipper (such as flipper 340). A 1 MHz clock signal results in an oversampling of 8. This 1-bit signal stream is therefore an input to the digital circuit 350. The digital circuit 350 can perform timing acquisition based on this signal.
[0048] Reference now Figure 3C , shown is a block diagram of a multiple radio arrangement according to an embodiment. Figure 3C , the radio 300 is shown primarily with receiving components (although it will be understood that transmitting components may also be present), and contains circuitry for both a wake-up radio (according to an embodiment) and a main radio (such as a Bluetooth radio).
[0049] As shown with respect to WuR digital circuit 350, a number of constituent components are included. Scheduler 352 controls the scheduling of operations within the digital circuit and is coupled to core circuit 354 and interface circuit 358 (which may include a number of registers and bus interfaces). As shown, circuit 358 is coupled to bus 355, which may communicate with a host processor. In an embodiment, bus 355 may be implemented as an advanced peripheral bus (APB).
[0050] In an embodiment, the scheduler 352 may include programmable hardware circuits and may be implemented at least in part by a finite state machine configured to enable the core circuit 354 for a scan window according to a predetermined interval. As an example, the interval may be a programmable value. At each interval, the core circuit 354 and other circuits may be enabled to scan for incoming wake-up requests for a given duration.
[0051] The scheduler 352 may enable operation of the core 354 via an enable signal (wur_core_en). In addition, the scheduler 352 sends an acknowledgement signal (wur_core_syncdet_ack) to the core 354. As will be described below, the acknowledgement signal may be sent (in response to an indication of detection of the sync word of the wakeup packet by the core 354). As further shown, the scheduler 352 may send a signal (wursched_timesyncdelay_hw) to the interface circuit 358 that includes a write enable bit and a write data field so that the signal includes information about the time at which the sync word was found in the time synchronization pattern.
[0052] In response to being enabled by the scheduler 352, the core 354 may operate to perform packet timing acquisition based on the incoming bit stream (i.e., the MOOK modulated bit stream). The core 354 further operates to capture the incoming data timing acquisition. Further details of such operations are described below. As further shown, when the sync word is effectively detected in the core 354, it sends a detection signal (wur_core_syncdet) to both the scheduler 352 and the PDU processor 356. The core 354 also sends a write enable signal (wur_core_data_wen) to the PDU processor 356. This signal may be sent together with the decoded and demodulated data (wur_core_date) output from the core 354.
[0053] The PDU processor 356 may be configured to process the incoming data bits of a data packet to determine whether a valid wake-up event has been received. Such operations include performing a CRC check on the incoming data to ensure that a given packet is correctly received (in response to the detection of a wake-up packet). In an embodiment, the PDU processor 356 processes the message if the following conditions are met: the WM and length fields are valid options; the address matches the configured address of the wake-up radio and / or a valid broadcast address; the token matches one of the configured tokens of the wake-up radio; and the CRC passes.
[0054] According to an embodiment, the PDU processor 356 sends an interrupt signal to additional circuits of the radio 300. More specifically, as shown, the interrupt signal (srw_wur_irq) is sent to the energy management unit (EMU) circuit 362 of the control circuit 360 and is also sent to the digital radio circuit 374 of the Bluetooth radio 370.
[0055] Thus, when a valid wake-up packet is received, a receive operation may be initiated within the radio 370 , as further controlled in response to receipt of a wake-up signal from the system real-time clock circuit 364 .
[0056] As further shown, the PDU processor 356 sends the payload of the wake-up packet to the interface circuit 358, which can send it (in turn) to the host processor for processing. The PDU processor 356 also sends a set signal (wake-upif_hw_set) that causes the interface circuit 358 to set the register. In response, the interface circuit 358 sends an acknowledgment signal (wake-upif_hw_ack) back to the PDU processor 356.
[0057] Still refer to Figure 3C, the Bluetooth radio 370 includes an analog receiver 372 in addition to the digital radio circuit 374. The analog receiver 372 can be configured to receive an incoming RF signal (e.g., a BLE communication), which it processes in an analog front end to amplify, filter, down-convert, and convert the down-converted signal to a digital signal for transmission to the digital radio circuit 374.
[0058] Reference now Figure 4 , which is a block diagram of a core circuit according to an embodiment. The core circuit 400 is Figure 3C Implementation of the core circuit 352 of . As shown, the incoming bit stream is received and stored in the buffer 410 implemented as a first-in, first-out (FIFO) buffer. Under the control of the state controller 450, the details of which are further discussed below, the bit stream is output from the buffer 410 to the first correlator 4201 and the second correlator 4202 (when enabled).
[0059] In the embodiments herein, the correlator 420 may be configured as a single-bit correlator. As will be described, for an oversampled bit stream (e.g., 8x oversampling), the correlator 420 may be configured to perform correlation on 8 bits simultaneously (corresponding to single-bit MOOK modulated data). In an embodiment, each of the correlators 420 may be configured to perform a 128-sample single-bit correlation, which is used for timing acquisition, and for performing synchronization word decoding after timing is acquired. By using a single-bit correlator, power consumption may be greatly reduced.
[0060] Specifically, the correlator 420 is configured to perform a correlation between the incoming bit stream and a known sequence stored in the sequence register 405. In embodiments herein, the known sequence may be at least a portion of a sync word of a wake-up packet. In a particular embodiment, the sync word may have a value of 0x8E89BED6. At a high level, a two-step single-bit correlation detection is performed on at least a portion of the sync word. In a particular embodiment, a single-bit correlation of 256 samples is performed to find precise timing, wherein the first correlator 4201 operates first, and then the second correlator 4202 operates so that they act together as a 256-sample correlator.
[0061] The state controller 450 can keep track of each processing stage within the core circuit 400. In addition, the state controller 450 can control the correlator 420 and the averager circuit 430 for a specific task duration and operating mode. In operation under the control of the state controller 450, in the first state, the first correlator 4201 is enabled. In the first correlator 4201, when the value of the correlation result exceeds the threshold level, it sends a feedback signal to the state controller 450. In response to the feedback signal, the state controller 450 enables the second correlator 4202, which similarly performs correlation on another part of the synchronization word. More specifically, the first correlator 4201 operates on 128 bits to detect the first 8 bits of the synchronization word (through 8x oversampling and Manchester encoding, these 8 synchronization word bits correspond to 128 bits of the incoming bit stream). As shown, the correlator 4201 also provides its correlation result to the second correlator 4202, which in turn generates a correlation sum from the first correlation result and the second correlation result calculated in the second correlator 4202.
[0062] When the correlation sum exceeds another (higher) threshold level, the state controller 450 enables the averager circuit 430. In an embodiment, the averager circuit 430 may be configured to decode the incoming samples into data bits. In operation, the averager circuit 430 may perform an averaging function on the incoming bits of the bit stream to generate an output data stream corresponding to the received packets. When a wake-up packet is received, the averager circuit 430 generates a wake-up request, which it sends to the PDU processor. It is understood that although in Figure 4 The embodiments are shown at this high level, but many variations and alternatives are possible.
[0063] Reference now Figure 5A , shown is a timing diagram illustrating a two-step single-bit correlation detection operation according to an embodiment. Figure 5A As shown in FIG. 1 , an incoming bit stream (ook_out stream) is provided to a first correlator, which is enabled (corr1_en). As shown, correlation operations are performed on the eight most significant bits (MSBs) of the sync word (sync_bits[31:24]). A positive result is returned during the operation of the first correlator when the correlation result for the incoming bit stream exceeds a threshold level (shown in the illustration when the correlation result exceeds the threshold). When this occurs, a second correlator is also enabled and correlation is performed on another portion of the incoming sync word (i.e., sync_bits[23:16]).
[0064] Furthermore, these correlation results are summed. When it is determined that the sum exceeds the second threshold, the timing is acquired. At this point, the averager circuit is enabled to decode the remaining samples of the incoming bit stream (including sync_bits[15:0]). In addition, note that the correlator remains enabled to perform a synchronization check (by performing correlation again on the arrived bits to confirm valid detection). Note that this synchronization check operation is a fast synchronization check, which is performed on the arrived bits, and wherein the correlator operates as if it were processing a new incoming sequence. At the same time, the averager circuit is enabled to perform a slow synchronization check to check the arriving bits (sync_bits[15:0]).
[0065] Reference now Figure 5B , shown is a timing diagram illustrating the operation of an averager circuit in accordance with an embodiment. As shown, the averager circuit receives incoming oversampled bits of a bit stream (ook_out stream). With Manchester encoding and 8x oversampling of the OOK data stream, there are two chips per bit, with each chip being formed by 8 bits. Note that the averager circuit operates by discarding the first bit of each chip (as it is not a concern). Thus, the averager circuit operates to add the relevant bits of the two chips to output a single bit value of the data stream. With Manchester encoding, the logic one value of the first bit (PDU_bit[0]) results from the positive value of the first chip and the negative value of the second chip. At the end of the two chips, a maximum likelihood (ML) decision can be made (during the first sample of the first chip of the next incoming bit of the data packet). While in Figure 5B The embodiments are shown at this high level, but many variations and alternatives are possible.
[0066] Reference now Fig. 6A , which is a flow chart of a method for operating a state controller according to an embodiment. More specifically, Fig. 6A As shown in , method 600 is a method for controlling a timing acquisition process performed in a core circuit. In one or more embodiments, method 600 can be performed by a state machine such as a state controller of a core finite state machine (FSM). As shown, method 600 starts in an idle state (state 605), where the circuits of the core circuit are in an idle state. Control passes to state 610 (when incoming packets begin to be received). In state 610, a first correlator search process is enabled. As discussed above, the first correlator can be configured to perform a correlation between a first portion of a synchronization word (e.g., the MSB of the synchronization word) and a known pattern.
[0067] When the correlation result exceeds the threshold, control passes to state 615, where a second correlator search process may be enabled. In state 615, the second correlator may be configured to perform a correlation between a second portion of the sync word (e.g., a smaller MSB of the sync word) and the known pattern. If the second correlator does not generate a correlation result (the sum of 2 correlations) that exceeds the second threshold, the correlation at state 615 fails, and control passes back to block 610 for further searching of the sync word portion within the incoming bit stream in the first correlator.
[0068] Still refer to Fig. 6A If, instead, the second correlator succeeds in finding another sync word portion (when the sum of the correlation results for the two correlation results exceeds the second threshold), control passes to state 620 where a synchronization check (both a fast and a slow synchronization check) is performed. As discussed above, this synchronization check can be performed on the bits that have arrived in both correlators. At this point, the averager circuit is configured to perform a slow synchronization check on the arriving bits (e.g., 16 LSBs) of the sync word. If this operation fails, control passes back to state 610.
[0069] Otherwise, when the synchronization check passes such that a valid synchronization word is identified, control passes to state 625. In state 625, the averager circuit is controlled to perform an average of the Manchester encoded bits of the bit stream as discussed above to decode the incoming bits, including the various fields of the wake-up packet. Note that at this point after the synchronization check is completed at state 620, the correlator can be placed in an idle state to reduce power consumption.
[0070] Reference now Figure 6B , is a flow chart of a method for operating a state controller according to another embodiment. More specifically, Figure 6B As shown in FIG. 6 , method 650 is a method executed in a core circuit for controlling a synchronization check process. In one or more embodiments, method 650 may be executed by a state machine such as a state controller of a core FSM.
[0071] As shown, method 650 begins in idle state 660. The idle state remains active until the sync word is detected (based on the sum result of the first and second correlators). When the sync word is detected, control passes to state 670, where the arrived bits in the correlators are decoded, which remains active. Note that if the decoding fails the fast sync word check, control passes back to idle state 660.
[0072] Still refer to Figure 6B, when it is determined that the decoding has passed and the MSB of the sync word has been correctly received, control passes to state 680, where the arriving (incoming) bits are decoded. As discussed above, such decoding can be performed in the averager circuit (which receives the bits and decodes the arriving bits to identify the LSB of the sync word). If this operation fails, control passes back to the idle state 660. Note that when a complete sync word has been validly received, the state controller sends a control signal to continue enabling the averager circuit for decoding while the instruction FIFO feeds the incoming signal to it. Still referring to Figure 6B , control returns to the idle state 660. It can be understood that although Figure 6B The embodiments are shown at this high level, but many variations and alternatives are possible.
[0073] Reference now Figure 7 , shown is a flow chart of a method according to another embodiment. More specifically, method 700 is a method for scheduling operations within a wake-up receiver according to an embodiment. In one or more embodiments, at least a portion of method 700 may be performed in a scheduler and / or one or more state controllers of a wake-up receiver (together with additional circuitry of the wake-up receiver such as discussed above, and / or in combination with firmware and / or software).
[0074] As shown, the method 700 begins by enabling the wake-up radio for a wake-up interval (block 705). Although the embodiments are not limited in this regard, an example wake-up interval may be between approximately 0 and 131 seconds. Next, at diamond 710, a determination is made as to whether a peak signal greater than a threshold level is detected during the wake-up interval. If not, no further operations occur until another wake-up interval.
[0075] Still refer to Figure 7 , if such a peak signal is detected, control passes to box 715 (where the peak signal is digitized into a digital 1-bit sample stream). The digitization can be performed in an ADC of the wake-up radio signal processing path. The digital sample stream is then sent to the digital portion of the wake-up radio. Then at box 720, the state controller enables the first correlator to detect the first portion of the synchronization word. As an example, the first synchronization word portion can be a set number of MSBs of the synchronization word (e.g., 8 MSBs). During the operation of the first correlator, at diamond 725, it can be determined whether the first correlator output (i.e., the first correlation result) exceeds the first threshold. If so, control passes to box 730, where the state controller enables the second correlator to detect the second portion of the synchronization word. As an example, the second synchronization word portion can be the next number of MSBs of the synchronization word (e.g., the next 8 MSBs).
[0076] Still refer to Figure 7Next, at diamond 735, it is determined whether the sum of the first and second correlator results exceeds a second threshold. If so, control passes to block 740 where the sync word is decoded in the correlator. More specifically, the arrived bits (e.g., the 16 MSBs of the sync word) may be decoded by means of a fast sync word check in the correlator.
[0077] Furthermore, the scheduler enables the averager to decode the arriving bits of the sync word at block 745. This operation is thus a slow sync check, which may be performed on the LSBs (eg, 16 LSBs) of the sync word.
[0078] Still refer to Figure 7 Based on these synchronization checks, it can be determined whether a valid synchronization word has been received (diamond 750). If not, no further action occurs and the wake-up receiver can be placed in an idle state until the next wake-up interval occurs.
[0079] Conversely when a valid sync word is detected, control passes to box 755 where the correlator is disabled and the averager is kept active. In the averager, the incoming samples can be decoded into data bits (box 760). These data bits can then be sent to the PDU processor (box 765). In addition, a synchronization detection signal is sent to the scheduler. Based on the processing in the PDU processor, next, at diamond 770, it is determined whether a valid wake-up packet has been received. If so, an interrupt is sent to the main receiver (e.g., the main Bluetooth receiver) to enable it to become active to process the incoming message intended for the receiver (box 775). Otherwise, the wake-up signal is not sent and no further operations occur on the incoming bit stream. It can be understood that although in Figure 7 The embodiments are shown at this high level, but many variations and alternatives are possible.
[0080] Reference now Fig. 8A , a block diagram of a transmitter according to an embodiment is shown. More specifically, Fig. 8A As shown in , transmitter 800 (which may be implemented as part of other integrated circuits or transceiver circuits of the IoT) includes a digital signal processor (DSP) 810. In other cases, transmitter 800 may be a standalone transmitter.
[0081] In any event, the DSP 810 may process the information to be transmitted in the wake-up transmission. As shown, the DSP 810 includes a random number generator 815 to generate random data, such as PRBS9 data. In turn, the random data is provided to the baseband processor 820. The baseband processor 820 includes a wake-up packet generator 822, which may generate a given wake-up packet, such as the above Figure 2ATo this end, packet generator 822 may access information stored in a memory structure (such as a register, random access memory, or the like) to obtain values for various fields of the wake-up packet. In various implementations, this information may be obtained from non-volatile storage, for example, as part of firmware loaded into transmitter 800 during initialization.
[0082] In turn, the wakeup packet is Manchester encoded in Manchester encoder 824 such that each bit is encoded by two chips (as discussed), resulting in MOOK data. As further shown, the incoming random data is provided to GFSK modulator 825, which modulates the incoming random data, resulting in a BLE carrier signal.
[0083] The baseband processor 820 outputs the BLE carrier signal and MOOK data. The BLE carrier signal is provided to a digital to analog converter (DAC) 830 for conversion to analog form. The signal may be filtered in a filter 840. The signal may then be upconverted to an RF level via a mixer 850 (which receives a mixed signal from a clock generator 855). The RF signal may then be amplified in a power amplifier 860. As shown, the PA 860 uses the MOOK signal to modulate the amplitude of the RF signal, and the resulting amplified RF signal is transmitted via an antenna 870. To put it another way, the RF version of the BLE carrier signal is amplitude modulated using Manchester encoding based on the contents of the wake-up packet. It is understandable that although in Fig. 8A The embodiments are shown at this high level, but many variations and alternatives are possible.
[0084] For example, Figure 8B , which is a block diagram of a transmitter according to another embodiment, the transmitter 800′ includes a complex multiplier 828 coupled to the output of the baseband processor 820. The complex multiplier 828 is configured to apply MOOK modulation on the baseband IQ complex signal (BLE carrier signal). In other respects, the transmitter 800′ operates the same as Fig. 8A Transmitter 800.
[0085] It will be appreciated that WuRs according to embodiments may be used in a wide variety of devices, thereby enabling reduced power consumption, particularly for battery-powered devices intended for long-term use. Although embodiments are not limited to the following examples, WuRs may be incorporated into a variety of devices, such as IoT devices, including asset tags, electronic shelf tags, actuators (such as door locks, curtains, etc.), insulin pumps, sensors, and many other devices.
[0086] While the present disclosure has been described with respect to a limited number of implementations, those skilled in the art having the benefit of this disclosure will appreciate numerous modifications and variations therefrom. The appended claims are intended to cover all such modifications and variations.
Claims
1. A device, include: an analog front end circuit for receiving a radio frequency (RF) signal and for outputting a bit stream; as well as A digital circuit coupled to the analog front-end circuit, the digital circuit comprising: a first correlator for receiving at least a first portion of the bit stream and performing a correlation on the first portion to generate a first correlation result; a second correlator for receiving at least a second portion of the bit stream and performing a correlation on the second portion to generate a second correlation result; and A controller is coupled to the first correlator and the second correlator, wherein the controller enables the second correlator when the first correlation result exceeds a first threshold.
2. The device as claimed in claim 1, in: said first correlator to perform said correlation on said first portion of said bit stream comprising a first portion of a sync word of a wake-up packet; as well as The second correlator will perform the correlation on the second portion of the bit stream comprising a second portion of the sync word of the wake-up packet.
3. The device as claimed in claim 2, in, The device will sum the first correlation result and the second correlation result and compare the sum to a second threshold.
4. The apparatus of claim 3, further comprising an averager, in, The controller will enable the averager in response to the sum exceeding the second threshold.
5. The device as claimed in claim 4, in, The first and second correlators will perform a sync word check on arriving bits of the bit stream, and the averager will perform the sync word check on the currently arriving bits of the bit stream.
6. The device as claimed in claim 1, in, The analog front end circuit will receive the RF signal having Manchester Coded On-Off Keying (MOOK) modulation.
7. The device as claimed in claim 1, in, The first correlator and the second correlator comprise single-bit correlators.
8. The device as claimed in claim 1, in, The controller includes at least one state controller, wherein the at least one state controller: In response to an enable signal from a scheduler, transitioning the first correlator from an idle state to an active state; and In response to the first correlation result exceeding the first threshold, the second correlator is transitioned from the idle state to the active state.
9. The device as claimed in claim 1, in, The controller includes at least one state controller, wherein the at least one state controller causes: The first correlator and the second correlator decode arriving bits of a synchronization word of a wake-up packet; and An averager is caused to decode arriving bits of the sync word of the wake-up packet.
10. A method, include: In a first radio, receiving a radio frequency (RF) signal and processing the RF signal to provide a bit stream to digital circuitry of the first radio; enabling a first correlator of the first radio to detect at least a first portion of a sync word of a wake-up packet of the bit stream, and thereafter enabling a second correlator of the first radio to detect at least a second portion of the sync word; enabling an averager circuit to detect another portion of the sync word; as well as Responsive to detection of the sync word, the first and second correlators are disabled and the averager circuit is kept enabled.
11. The method of claim 10, further comprising decoding at least a portion of the wake-up packet via the averager circuit.
12. The method of claim 11, further comprising, in response to decoding the wake-up packet, sending an interrupt from the first radio to a second radio to cause the second radio to be enabled, the first radio comprising a wake-up radio and the second radio comprising a primary radio.
13. The method of claim 10, further comprising: include: in said first correlator, correlating at least a first portion of said bit stream with a first predetermined value to detect said first portion of said synchronization word; as well as In the second correlator, at least a second portion of the bit stream is correlated with a second predetermined value to detect the second portion of the sync word.
14. A system, include: A first radio for receiving and processing incoming radio frequency (RF) signals, the first radio comprising: A digital circuit for receiving a bit stream obtained from the RF signal, the digital circuit comprising: a scheduler for enabling core circuits for a scan window according to a predetermined interval; The core circuit is coupled to the scheduler, and the core circuit includes: a first correlator for receiving at least a first portion of the bit stream and performing a correlation on the first portion to identify a first portion of a synchronization word of a wake-up packet; a second correlator for receiving at least a second portion of the bit stream and performing correlation on the second portion to identify a second portion of the sync word of the wake-up packet, wherein the second correlator is enabled when the first correlation result exceeds a first threshold; and an averager circuit for decoding another portion of the synchronization word; as well as A second radio is coupled to the first radio, wherein in response to the detection of the wake-up packet, the first radio is to send a wake-up signal to the second radio.
15. The system of claim 14, in, The first and second correlators comprise single bit correlators, the first and second portions of the bit stream are oversampled and Manchester encoded, and the RF signal comprises the Manchester encoding of random on-off keying data.
16. A device, include: Baseband processor, including: a packet generation circuit for generating a wake-up packet, the packet generation circuit for generating the wake-up packet including information for causing the first receiver to trigger the wake-up of the second receiver; an encoder for encoding the wake-up packet by Manchester encoding to output Manchester-encoded on-off keying (MOOK) data; and a modulator, coupled to the encoder, for receiving random data and modulating the random data; a digital-to-analog converter (DAC), coupled to the baseband processor, for converting the modulated random data into an analog stream; a mixer, coupled to the DAC, for up-converting the analog stream to a radio frequency (RF) signal; and A power amplifier is coupled to the mixer, the power amplifier being used to amplitude modulate the RF signal with the MOOK data and output an amplified RF signal.
17. The device according to claim 16, in, The modulator will modulate the random data according to the Bluetooth protocol.
18. The device according to claim 16, in, The packet generation circuit is to generate the wake-up packet comprising a variable length packet having a length that depends on a payload.
19. The device according to claim 16, in, The packet generation circuit is to generate the wake-up packet including an address field having address information including a first portion to identify a group and a second portion to identify the first receiver.
