WO2019024946A1 - 无线频偏自动校准方法及装置 - Google Patents

无线频偏自动校准方法及装置 Download PDF

Info

Publication number
WO2019024946A1
WO2019024946A1 PCT/CN2018/109001 CN2018109001W WO2019024946A1 WO 2019024946 A1 WO2019024946 A1 WO 2019024946A1 CN 2018109001 W CN2018109001 W CN 2018109001W WO 2019024946 A1 WO2019024946 A1 WO 2019024946A1
Authority
WO
WIPO (PCT)
Prior art keywords
frequency offset
transmission module
wireless transmission
data packet
specific data
Prior art date
Application number
PCT/CN2018/109001
Other languages
English (en)
French (fr)
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 乐鑫信息科技(上海)股份有限公司
Priority to US16/635,880 priority Critical patent/US11330544B2/en
Publication of WO2019024946A1 publication Critical patent/WO2019024946A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/001Synchronization between nodes
    • H04W56/002Mutual synchronization
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/0035Synchronisation arrangements detecting errors in frequency or phase
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Definitions

  • the present disclosure relates to the field of communications technologies, and, for example, to a wireless frequency offset automatic calibration method and apparatus.
  • Wireless-Fidelity can work in the 2.4GHz or 5.8GHz band, usually occupying 20MHz bandwidth per channel, or using bandwidth defined by protocols such as 5MHz, 10MHz, 40MHz, 80MHz, or 160MHz. .
  • the center point of each channel frequency is the channel center frequency point.
  • a Wi-Fi chip monitors or transmits data on one channel, there is a frequency offset between the center frequencies of the two communication parties.
  • the protocol specifies that the frequency offset (frequency offset) is less than 20 parts per million (ppm).
  • the error of the center frequency of the Wi-Fi chip is usually related to the crystal used.
  • the frequency deviation of the crystal is related to the ambient temperature. Generally, the frequency of the crystal is 60-120ppm at 120 degrees Celsius, and the crystal oscillator produced by each manufacturer exists. difference.
  • the normal frequency offset can be normally transmitted or received within ⁇ 60ppm. If the range is exceeded, the decoding error may occur.
  • the frequency offset may reach 60 to 120 ppm, and there is a problem that communication with other Wi-Fi chips cannot be normally performed.
  • the present disclosure provides a wireless frequency offset automatic calibration method and apparatus, which can acquire a frequency offset between a specified communication device by monitoring a specific data packet of the Wi-Fi device, thereby realizing self-adjustment of the frequency of the Wi-Fi wireless transmission module.
  • the adjustment result is brought close to the theoretical center frequency of the designated communication device, so that it can be normally used at various temperatures to ensure normal communication between the Wi-Fi wireless transmission module and the designated communication device.
  • the present disclosure provides a wireless frequency offset automatic calibration method, including:
  • the Wi-Fi wireless transmission module monitors or scans a specific data packet of an access point (AP);
  • the Wi-Fi wireless transmission module acquires a frequency offset between a center frequency point of the Wi-Fi wireless transmission module and a center frequency point of the AP according to a specific data packet;
  • the Wi-Fi wireless transmission module performs frequency offset tracking according to the frequency offset to control the Wi-Fi wireless transmission module to calculate a center frequency point according to the frequency offset obtained by the AP around the Wi-Fi wireless transmission module, so as to calculate The frequency offset between the center frequency point and the surrounding APs is within a set standard, and the center frequency of the Wi-Fi wireless transmission module itself is adjusted according to the calculated center frequency point;
  • the specific data packet for monitoring or scanning the AP includes: monitoring a specific data packet of the AP around the Wi-Fi wireless transmission module or scanning a specific data packet of the designated communication AP.
  • the Wi-Fi wireless transmission module monitors or scans a specific data packet of the AP, including:
  • the Wi-Fi wireless transmission module monitors or scans specific AP data packets in different ways based on different working modes
  • the working mode includes a client STA mode, a wireless routing SoftAP mode, and a client and wireless routing STA&SoftAP mode.
  • the Wi-Fi wireless transmission module monitors or scans the specific data packet of the access point AP, and further includes:
  • the Wi-Fi wireless transmission module listens to the specific data packet of the surrounding AP;
  • the Wi-Fi wireless transmission module scans the specific data packet of the designated communication AP.
  • the Wi-Fi wireless transmission module operates in STA mode:
  • the frequency offset does not change; if the STA interface is not in the idle mode, the non-connected scan is performed; if the Wi-Fi wireless If the transmission module receives a specific data packet of the surrounding AP, the frequency offset does not change. If the Wi-Fi wireless transmission module does not receive the specific data packet of the surrounding AP, the frequency offset is modified and a forced scan is initiated; if the frequency offset is modified and executed After receiving a specific data packet after forced scanning, performing frequency offset tracking; if the frequency offset is modified and a specific data packet is not received after performing the forced scanning, the frequency offset is tracked back to the initial value;
  • the connection scan is performed. If the Wi-Fi wireless transmission module receives the specific data packet of the designated communication AP, the frequency offset does not change; if the Wi-Fi wireless transmission module does not receive Specify a specific data packet of the communication AP, modify the frequency offset and initiate a forced scan; if the frequency offset is modified and a specific data packet of the specified communication AP is received after performing the forced scan, the frequency offset tracking is performed; if the frequency offset is modified and the forced scan is performed After receiving a specific data packet, the frequency offset is tracked back to the initial value;
  • the non-connection scan or the connection scan is performed, and the frequency does not change with other APs, and only the connected designated communication AP is used for frequency offset tracking.
  • the Wi-Fi wireless transmission module operates in the SoftAP mode:
  • the specific data packet of the surrounding AP is monitored in the first preset period, and if no specific data packet is detected, no operation is performed; if a specific data packet is detected, the frequency offset tracking is performed.
  • the Wi-Fi wireless transmission module operates in STA&SoftAP mode:
  • the STA interface of the Wi-Fi wireless transmission module is connected to the designated communication AP, the non-connection scan or the connection scan is performed, and the frequency does not change with other APs, and only the connected communication AP is connected to perform frequency offset tracking; If the SoftAP interface that is not connected to the AP and the Wi-Fi wireless transmission module is not connected to the client and the STA interface does not initiate the connection, the specific data packet of the surrounding AP is monitored in the second preset period, if the Wi-Fi wireless transmission module receives For the specific data packet of the surrounding AP, the frequency offset does not change and continues to perform the monitoring of the next period; if the Wi-Fi wireless transmission module does not receive the specific data packet of the surrounding AP, the non-connected scan is performed, under the non-connected scan If the specific data packet of the surrounding AP is received, the frequency offset does not change.
  • the frequency offset is modified and a forced scan is initiated; if the frequency offset is modified and the forced scan is performed, the specific data is received.
  • the data packet is subjected to frequency offset tracking; if the frequency offset is modified and a specific data packet is not received after performing the forced scan, the frequency offset is tracked back to the initial value;
  • the connection scan is performed; if the Wi-Fi wireless transmission module receives the specific data packet of the designated communication AP, the frequency offset does not change. If the Wi-Fi wireless transmission module does not receive the specific data packet of the designated communication AP, the frequency offset is modified and a forced scan is initiated; if the frequency offset is modified and a specific data packet of the designated communication AP is received after the forced scan is performed, the frequency is executed. Partial tracking. If the frequency offset is modified and a specific data packet is not received after performing the forced scan, the frequency offset is tracked back to the initial value.
  • the Wi-Fi wireless transmission module operates in STA&SoftAP mode:
  • the device does not perform any operation to ensure that the device connected to the SoftAP interface is not dropped.
  • the connection scan is performed; if the Wi-Fi wireless transmission module receives the specific data packet of the designated communication AP, the frequency offset does not change. If the Wi-Fi wireless transmission module does not receive the specific data packet of the designated communication AP, the frequency offset is modified and a forced scan is initiated; if the frequency offset is modified and a specific data packet of the designated communication AP is received after the forced scan is performed, the frequency is executed. Bias tracking; if the frequency offset is modified and a specific packet is not received after performing the forced scan, the frequency offset is tracked back to the initial value.
  • the wireless frequency offset auto-calibration method in an embodiment, the second preset is not performed when the SoftAP interface of the STA interface is not connected to the AP, the Wi-Fi wireless transmission module is not connected to the client, and the STA interface is not connected.
  • the periodic monitoring of the specific data packet of the surrounding AP if the Wi-Fi wireless transmission module does not receive the specific data packet of the surrounding AP, performing the non-connection scanning, including: receiving the manual non-connected scanning operation initiated by the user.
  • the wireless frequency offset automatic calibration method does not perform any operation in a case where the STA interface is not connected to the AP, the SoftAP interface of the Wi-Fi wireless transmission module is connected to the client, and the STA interface does not initiate the connection. Ensure that the devices connected to the SoftAP interface are not dropped, including:
  • the specific data packet includes: a beacon Beacon or a probe response frame probe response.
  • the present disclosure further provides a wireless frequency offset automatic calibration apparatus, which is applied to a Wi-Fi wireless transmission module, and includes:
  • a monitoring control circuit configured to monitor or scan a specific data packet of the AP
  • An automatic calibrator configured to obtain a frequency offset between a center frequency point of the Wi-Fi wireless transmission module and a center frequency point of the AP according to a specific data packet, and calculate a center frequency point value to be tracked;
  • a frequency control circuit configured to perform frequency offset tracking according to the frequency offset to control the Wi-Fi wireless transmission module to calculate a center frequency point according to a frequency offset obtained by the AP around the Wi-Fi wireless transmission module, so that The calculated frequency offset between the center frequency point and the surrounding APs is within a set standard, and the center frequency point of the Wi-Fi wireless transmission module itself is adjusted according to the calculated center frequency point.
  • the wireless frequency offset automatic calibration apparatus further includes:
  • Running mode controller set to control working mode
  • the monitoring control circuit is configured to: monitor or scan a specific data packet of the AP according to different working modes;
  • the working mode includes STA mode, SoftAP mode, and STA&SoftAP mode.
  • the present disclosure acquires a frequency offset from a specified communication device by listening to a specific data packet of another Wi-Fi device, thereby realizing self-adjustment of the Wi-Fi wireless transmission module frequency, and making the center frequency of the Wi-Fi wireless transmission module close to the designated one.
  • the theoretical center frequency of the communication device can be used normally at various temperatures to ensure normal communication between the Wi-Fi wireless transmission module and the designated communication device.
  • FIG. 1 is a flowchart of a method for automatically adjusting a radio frequency offset according to the present disclosure
  • FIG. 2 is a structural block diagram of a wireless frequency offset automatic calibration apparatus provided by the present disclosure.
  • the present disclosure solves the problem in the related art that when the Wi-Fi wireless transmission module operates in a high temperature environment, the connection cannot be established with the AP; the method herein can be applied to, for example, some Internet of Things devices that may be subjected to high temperatures, such as a smart rice cooker. Wi-Fi wireless transmission module (the operating temperature may reach 100 °C or higher).
  • the present disclosure proposes a wireless frequency offset automatic calibration method that solves the above problems, including:
  • Step 10 The Wi-Fi wireless transmission module monitors or scans (Scan) a specific data packet of the AP.
  • Step 20 The Wi-Fi wireless transmission module acquires a frequency offset between a center frequency point of the Wi-Fi wireless transmission module and a center frequency point of the AP according to the specific data packet.
  • Step 30 The Wi-Fi wireless transmission module performs frequency offset tracking according to the frequency offset to control the Wi-Fi wireless transmission module to calculate a center frequency according to the frequency offset obtained by the AP around the Wi-Fi wireless transmission module. Point, the calculated frequency offset between the center frequency point and the surrounding AP is within a set standard, and the center frequency of the Wi-Fi wireless transmission module itself is adjusted according to the calculated center frequency point.
  • the specific data packet for monitoring or scanning the AP includes: monitoring a specific data packet of the AP around the Wi-Fi wireless transmission module or scanning a specific data packet of the designated communication AP.
  • a center frequency point is calculated according to the frequency offset information obtained by the AP around the Wi-Fi wireless transmission module, so that the calculated center frequency point and the frequency offset of the surrounding AP are both in the standard. Inside, then adjust itself according to this center frequency.
  • the method provided by the present disclosure can be implemented by adding an automatic calibration logic to the Wi-Fi wireless transmission module, and the operation can be effective at very warm temperatures.
  • the designated communication AP is also referred to as a designated AP.
  • the specified AP refers to an AP that has established a connection, or an AP that attempts to establish a connection.
  • the Wi-Fi wireless transmission module monitors the specific data packets of other surrounding APs. Obtaining the frequency offset and performing frequency offset tracking according to the frequency offset, so that the center frequency of the Wi-Fi wireless transmission module is maintained within a reasonable communication range; when the STA interface of the Wi-Fi wireless transmission module is connected to the designated AP or is about to be initiated When the AP connection is specified, the Wi-Fi wireless transmission module scans the specific data packet of the designated AP to obtain a frequency offset, and performs frequency offset tracking according to the frequency offset, thereby implementing normal communication with the designated AP.
  • the disclosure is not limited to use on the ESP Wi-Fi chip, as long as it is The WiFi chip, which can determine the frequency offset of the received data packet, can use the method provided by the present disclosure to achieve automatic calibration of the radio frequency offset.
  • the frequency offset value of the device can be obtained by receiving data packets of other Wi-Fi devices, and the STA, SoftAP, and STA&SoftAP running on the Wi-Fi wireless transmission module are used. Three different working modes correspond to the different calibration schemes described below.
  • the Wi-Fi wireless transmission module operates in STA mode:
  • the STA interface When the STA interface is not connected to the AP, it is determined whether the STA interface is in the idle mode. If the STA interface is in the idle mode, the frequency offset does not change; if the STA interface is not in the idle mode, the non-connected scan is performed; if the Wi-Fi wireless transmission module can If the Beacon or probe response frame probe response of other APs is received, the frequency offset does not change. If the Wi-Fi wireless transmission module does not receive the Beacon or probe response of other APs, modify the frequency offset and initiate the mandatory. If the Beacon or probe response is received after the frequency offset is modified and the forced scan is performed, the frequency offset tracking is performed. If the frequency offset is modified and the Beacon or probe response is still not received after the forced scan is performed, the frequency offset is tracked back to the initial value. .
  • the connection scan is performed. If the Wi-Fi wireless transmission module can receive the Beacon or probe response of the specified AP, the frequency offset does not change; if the Wi-Fi wireless transmission module does not receive the specified AP If the Beacon or probe response is modified, the frequency offset is modified and a forced scan is initiated. If the Beacon or probe response of the specified AP is received after the forced offset is performed, the frequency offset tracking is performed. If the frequency offset is modified and the forced scan is performed, If the Beacon or probe response is still not received, the frequency offset will be tracked back to the initial value.
  • the STA interface When the STA interface is connected to the specified AP, the non-connected scan or the connection scan is performed, and the frequency does not change with other APs. Only the connected APs are connected to perform frequency offset tracking.
  • the Wi-Fi wireless transmission module runs in SoftAP mode:
  • the Beacon or probe response of other APs is monitored in the first preset period. If no Beacon or probe response is detected, no operation is performed; if Beacon or probe response is monitored, frequency offset tracking is performed.
  • the first preset period may be 6 seconds.
  • the Wi-Fi wireless transmission module runs in STA&SoftAP mode:
  • Step 31 Determine the connection status of the STA interface. If the STA interface is connected to the specified AP, perform a non-connection scan or connection scan, and follow the connected AP to perform frequency offset tracking. If the STA is not connected to the AP, go to Step 31.
  • Step 31 Determine whether there is an STA on the SoftAP interface, if not, go to step 311; if yes, go to step 312;
  • Step 311 When the STA interface does not initiate a connection, step 3111 is performed. When the STA interface attempts to connect to the AP, step 3112 is performed.
  • Step 3111 Listening to the Beacon or probe response of other APs in the second preset period. If the Beacon or probe response of other APs is received, the frequency offset does not change and the next period of monitoring is continued; if not received If the Beacon or probe response of other APs is performed, the non-connection scan is performed. If the Beacon or probe response of other APs is received, the frequency offset does not change. If no other APs are received. If the Beacon or probe response is modified, the frequency offset is modified and a forced scan is initiated. If the frequency offset is modified and the Beacon or probe response is received after the forced scan is performed, the frequency offset tracking is performed. If the frequency offset is modified and the forced scan is performed, the forced scan cannot be received. Beacon or probe response, the frequency offset back to the initial value.
  • Step 3122 Perform a connection scan. If the Beacon or probe response of the specified AP is received, the frequency offset does not change. If the Beacon or probe response of the specified AP is not received, the frequency offset is modified and a forced scan is initiated. If the Beacon or probe response of the specified AP is received after the forced scan is performed, the frequency offset tracking is performed. If the frequency offset is modified and the Beacon or probe response is still not received after the forced scan is performed, the frequency offset is tracked back to the initial value.
  • Step 312 When the STA interface does not initiate a connection, step 3121 is performed; when the STA interface attempts to connect to the AP, step 3122 is performed.
  • Step 3121 no operation is performed to ensure that the device connected to the SoftAP interface is not dropped.
  • Step 3122 Perform a connection scan. If the Beacon or probe response of the specified AP is received, the frequency offset does not change. If the Beacon or probe response of the specified AP is not received, the frequency offset is modified and a forced scan is initiated. If the Beacon or probe response of the specified AP is received after the forced scan is performed, the frequency offset tracking is performed. If the frequency offset is modified and the Beacon or probe response is still not received after the forced scan is performed, the frequency offset is tracked back to the initial value. In this case, the STA interface can be connected to the AP preferentially, and the frequency offset range of the AP based on the factory is within a reasonable range.
  • the Wi-Fi wireless transmission module itself can follow the AP to adjust to the range of the theoretical frequency offset.
  • This operation may change the center frequency of the Wi-Fi wireless transmission module itself, which may cause the device connected to the SoftAP interface to be dropped.
  • the STA device is not in the range of the theoretical frequency offset.
  • This device should follow The frequency offset of the SoftAP interface is adjusted.
  • step 3111 and step 3121 a manual disconnected scan operation initiated by the user may also be received.
  • step 3111 after receiving the manual non-connected scan operation initiated by the user, the method includes:
  • the non-connected scan is performed. If the Beacon or probe response of other APs is received, the frequency offset does not change. If the Beacon or probe response of other APs is not received, the frequency offset is modified and initiated. Forced scanning; if the Beacon or probe response can be received after the frequency offset is modified and the forced scan is performed, the frequency offset tracking is performed. If the frequency offset is modified and the forced scan is performed, the Beacon or probe response cannot be received. value.
  • step 3121 when the user initiates the manual non-connection scan operation, no operation is performed to ensure that the device connected to the SoftAP interface is not dropped.
  • the reason for not doing any processing is that, because there are other STA devices attached to the SoftAP at this time, the frequency adjustment cannot be performed at this time, because the STA devices that are connected to the drop may be dropped (the STA and SoftAP interfaces of the same chip are the same). Use a radio frequency module).
  • the frequency offset is modified and a forced scan is initiated. If the frequency offset is modified and the forced scan is performed, If the Beacon or probe response is received, the frequency offset tracking is performed. If the frequency offset is modified and the Beacon or probe response is still not received after the forced scan is performed, the frequency offset tracking back to the initial value is "if no other surrounding is received. If the Beacon or probe response of the AP is changed to 0 ppm, the first forced scan is initiated to determine whether the Beacon or probe response of other APs is received.
  • the frequency is executed. If the Beacon or probe response of other APs is not received, the frequency offset is forcibly changed to -200ppm, and a second forced scan is initiated to determine whether the Beacon or probe response of other APs is received. The Beacon or probe response of other APs performs frequency offset tracking. If the Beacon or probe response of other APs is not received, Offset tracking back to the original value. "
  • step 3112 and step 3122 if the Beacon or probe response of the specified AP is not received, the frequency offset is modified and a forced scan is initiated. If the frequency offset is modified and the forced scan is performed, If the Beacon or probe response of the specified AP is received, the frequency offset tracking is performed. If the Beacon or probe response of the specified AP is still not received after the forced offset is performed, the process of tracking the frequency offset back to the initial value is If the Beacon or probe response of the specified AP is not received, the frequency offset is forcibly changed to 0 ppm. The first forced scan is initiated to determine whether the Beacon or probe response of the specified AP is received.
  • the Beacon or probe response of the specified AP performs the frequency offset tracking. If the Beacon or probe response of the specified AP is not received, the frequency offset is forcibly changed to -200ppm.
  • the second forced scan is initiated to determine whether the Beacon or probe response of the specified AP is received.
  • the Beacon or probe response of the AP performs frequency offset tracking. If the Beacon or probe response of the specified AP is not received, the frequency offset is tracked back to the initial value.
  • the Beacon or probe response of other APs in the second preset period mentioned in step 3111 of the STA&SoftAP mode is frequency-biased if the Beacon or probe response of other APs is received. No change occurs and the next cycle of monitoring is continued. If the Beacon or probe response of other APs is not received, the non-connection scan is performed. If the Beacon or probe response of other APs is received under the non-connection scan, The frequency offset does not change. If the Beacon or probe response of other APs is not received, the frequency offset is modified and a forced scan is initiated. If the frequency offset is modified and the Beacon or probe response is received after the forced scan is performed, the frequency offset is performed.
  • the frequency offset tracking back to the initial value is achieved by the following two monitoring schemes: first, in a period of 6 seconds. Listen to the Beacon or probe response of other APs and perform frequency offset tracking. This logic is always on; second, in 72 seconds. I.e., 6 seconds was carried out 12 cycles of monitoring, if the 72 second period has not listening to the other surrounding AP Beacon or probe response, the non-connected to the scan is executed, if received, the 72 seconds cycle resumes listening.
  • the first preset period and the first preset period may be the same or different.
  • the present disclosure further provides a wireless frequency offset automatic calibration apparatus, which is applied to a Wi-Fi wireless transmission module, as shown in FIG. 2, and includes:
  • the monitoring control circuit 210 is configured to monitor or scan a specific data packet of the AP to obtain a frequency offset
  • the automatic calibrator 220 is configured to acquire a frequency offset between a center frequency point of the Wi-Fi wireless transmission module and a center frequency point of the AP according to the specific data packet; that is, calculate a center frequency to be tracked according to the scan or the monitoring result. Point value);
  • the frequency control circuit 230 is configured to perform frequency offset tracking according to the frequency offset, to control the Wi-Fi wireless transmission module to calculate a center frequency point according to the frequency offset obtained by the AP around the Wi-Fi wireless transmission module,
  • the calculated center frequency point and the frequency offset of the surrounding AP are both within a set standard, and the center frequency of the Wi-Fi wireless transmission module itself is adjusted according to the calculated center frequency point.
  • the wireless frequency offset automatic calibration apparatus further includes:
  • Running mode controller set to control working mode
  • the snoop control circuit is set to: different ways of listening or scanning the AP's specific data packets based on different working modes.
  • the working mode includes STA mode, SoftAP mode, and STA&SoftAP mode.
  • the frequency control circuit is constructed of hardware.
  • the frequency control circuit is a hardware analog circuit that can be controlled by a software configuration register.
  • the monitoring control circuit receives the data packet from the hardware and then hands it to the software for processing; the automatic calibrator can implement the tracking logic in combination with the software, and calculate a reasonable center frequency point value according to the frequency offset, that is, according to the scanning or monitoring result, and adjust to The reasonable frequency value.
  • the above device design can achieve the purpose of automatically adjusting the center frequency point in the WiFi chip without the temperature sensing module.

Landscapes

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

Abstract

本文公开了一种无线频偏自动校准方法,包括:无线保真Wi-Fi无线传输模块监听或扫描接入点AP的特定数据包;Wi-Fi无线传输模块根据特定数据包获取Wi-Fi无线传输模块的中心频点与AP的中心频点之间的频率偏移;Wi-Fi无线传输模块根据频率偏移执行频偏跟踪,以控制所述Wi-Fi无线传输模块根据所述Wi-Fi无线传输模块周围的AP得到的频率偏移计算出一个中心频点,使计算出的中心频点与所述周围的AP的频率偏移均在设定标准之内,并根据计算出的中心频点调整所述Wi-Fi无线传输模块自身的中心频点。本文还公开了一种无线频偏自动校准装置。

Description

无线频偏自动校准方法及装置
本申请要求在2017年8月2日提交中国专利局、申请号为201710652881.9的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。
技术领域
本公开涉及通信技术领域,例如涉及一种无线频偏自动校准方法及装置。
背景技术
无线保真(Wireless-Fidelity,Wi-Fi)可以工作在2.4GHz或5.8GHz的波段,通常每个信道占用20MHz的带宽,也可使用5MHz、10MHz、40MHz、80MHz、或160MHz等协议定义的带宽。每个信道频率的中心点为信道中心频点。Wi-Fi芯片在一个信道监听或发送数据时,通信双方的中心频点间会存在频率偏移,协议规定频率偏移(频偏)为小于20每百万单位(parts per million,ppm)。
Wi-Fi芯片定位中心频点的误差通常与使用的晶振有关,而晶振的频偏与环境温度有关,一般在120摄氏度时,晶振的频偏为60~120ppm,且每个厂商生产的晶振存在差异。
当Wi-Fi芯片接收或发送数据时,一般频偏在±60ppm内可以正常发送或接收,超过这个范围就可能解码错误。
基于上述问题,如果Wi-Fi芯片使用在高温环境下,则频偏有可能达到60~120ppm,就会出现无法正常与其他Wi-Fi芯片通信的问题。
发明内容
本公开提供一种无线频偏自动校准方法及装置,通过监听Wi-Fi设备的特定数据包,获取与指定通信设备之间的频率偏移,从而实现Wi-Fi无线传输模块频率的自我调节,使调节结果接近指定通信设备的理论中心频点,从而可以在多种温度下正常使用,确保Wi-Fi无线传输模块与指定通信设备的正常通信。
在一实施例中,本公开提供一种无线频偏自动校准方法,包括:
Wi-Fi无线传输模块监听或扫描接入点(Access Point,AP)的特定数据包;
Wi-Fi无线传输模块根据特定数据包获取Wi-Fi无线传输模块的中心频点与AP的中心频点之间的频率偏移;
Wi-Fi无线传输模块根据频率偏移执行频偏跟踪,以控制Wi-Fi无线传输模块根据所述Wi-Fi无线传输模块周围的AP得到的频率偏移计算出一个中心频点,使计算出的中心频点与所述周围的AP的频率偏移均在设定标准之内,并根据计算出的中心频点调整所述Wi-Fi无线传输模块自身的中心频点;
其中,监听或扫描AP的特定数据包包括:监听Wi-Fi无线传输模块周围的AP的特定数据包或扫描指定通信AP的特定数据包。
在一实施例中,Wi-Fi无线传输模块监听或扫描AP的特定数据包,包括:
基于不同的工作模式,Wi-Fi无线传输模块监听或扫描AP的特定数据包的方式不同;
其中,工作模式包括客户端STA模式、无线路由SoftAP模式以及客户端和无线路由STA&SoftAP模式。
上述的无线频偏自动校准方法,在一实施例中,Wi-Fi无线传输模块监听或扫描接入点AP的特定数据包,还包括:
在STA模式或STA&SoftAP模式下,在Wi-Fi无线传输模块的STA接口未连接AP或未发起AP连接的情况下,Wi-Fi无线传输模块监听周围AP的特定数据包;
在STA模式或STA&SoftAP模式下,在Wi-Fi无线传输模块的STA接口已连接指定通信AP或将要发起指定通信AP连接的情况下,Wi-Fi无线传输模块扫描该指定通信AP的特定数据包。
上述的无线频偏自动校准方法,在一实施例中,Wi-Fi无线传输模块运行在STA模式下:
在Wi-Fi无线传输模块的STA接口未连接AP的情况下,若STA接口处于空闲模式,则频偏不发生变化;若STA接口不处于空闲模式,则执行非连接扫描;若Wi-Fi无线传输模块接收到周围AP的特定数据包,则频偏不发生变化,若Wi-Fi无线传输模块未接收到周围AP的特定数据包,则修改频偏并发起强制扫描;若修改频偏并执行强制扫描后接收到特定数据包,则执行频偏跟踪;若 修改频偏并执行强制扫描后未接收到特定数据包,则频偏跟踪回初始值;
在STA接口尝试连接指定通信AP的情况下,执行连接扫描,若Wi-Fi无线传输模块接收到指定通信AP的特定数据包,则频偏不发生变化;若Wi-Fi无线传输模块未接收到指定通信AP的特定数据包,则修改频偏并发起强制扫描;若修改频偏并执行强制扫描后接收到指定通信AP的特定数据包,则执行频偏跟踪;若修改频偏并执行强制扫描后未接收到特定数据包,则频偏跟踪回初始值;
当STA接口已连接指定通信AP时,执行非连接扫描或连接扫描,频率均不跟随其他AP发生变化,只跟随已连接的指定通信AP进行频偏跟踪。
上述的无线频偏自动校准方法,在一实施例中,Wi-Fi无线传输模块运行在SoftAP模式下:
以第一预设周期监听周围AP的特定数据包,若监听不到特定数据包,则不执行任何操作;若监听到特定数据包,则执行频偏跟踪。
上述的无线频偏自动校准方法,在一实施例中,Wi-Fi无线传输模块运行在STA&SoftAP模式下:
若Wi-Fi无线传输模块的STA接口已连接指定通信AP,则执行非连接扫描或连接扫描,频率均不跟随其他AP发生变化,只跟随所连接的指定通信AP进行频偏跟踪;在STA接口未连接AP、Wi-Fi无线传输模块的SoftAP接口未连接客户端以及STA接口不发起连接的情况下,以第二预设周期监听周围AP的特定数据包,若Wi-Fi无线传输模块接收到周围AP的特定数据包,则频偏不发生变化并继续执行下一周期的监听;若Wi-Fi无线传输模块未接收到周围AP的特定数据包,则执行非连接扫描,在非连接扫描下,若接收到周围AP的特定数据包,则频偏不发生变化,若未接收到周围AP的特定数据包,则修改频偏并发起强制扫描;若修改频偏并执行强制扫描后接收到特定数据包,则执行频偏跟踪;若修改频偏并执行强制扫描后未接收到特定数据包,则频偏跟踪回初始值;
在STA接口未连接AP、SoftAP接口未连接客户端以及STA接口尝试连接AP的情况下,执行连接扫描;若Wi-Fi无线传输模块接收到指定通信AP的特定数据包,则频偏不发生变化;若Wi-Fi无线传输模块未接收到指定通信AP的特定数据包,则修改频偏并发起强制扫描;若修改频偏并执行强制扫描后接收到指定通信AP的特定数据包,则执行频偏跟踪,若修改频偏并执行强制扫描后未接收到特定数据包,则频偏跟踪回初始值。
在一实施例中,Wi-Fi无线传输模块运行在STA&SoftAP模式下:
在STA接口未连接AP、Wi-Fi无线传输模块的SoftAP接口连接有客户端并且STA接口不发起连接时,不执行任何操作,以保证SoftAP接口下挂的设备不掉线;
在STA接口未连接AP、SoftAP接口连接有客户端并且STA接口尝试连接AP的情况下,执行连接扫描;若Wi-Fi无线传输模块接收到指定通信AP的特定数据包,则频偏不发生变化;若Wi-Fi无线传输模块未接收到指定通信AP的特定数据包,则修改频偏并发起强制扫描;若修改频偏并执行强制扫描后接收到指定通信AP的特定数据包,则执行频偏跟踪;若修改频偏并执行强制扫描后未接收到特定数据包,则频偏跟踪回初始值。
上述的无线频偏自动校准方法,在一实施例中,在STA接口未连接AP、Wi-Fi无线传输模块的SoftAP接口未连接客户端以及STA接口不发起连接的情况下,以第二预设周期监听周围AP的特定数据包,若Wi-Fi无线传输模块未接收到周围AP的特定数据包,则执行非连接扫描,包括:接收用户主动发起执行的手动非连接扫描操作。
上述的无线频偏自动校准方法,在一实施例中,在STA接口未连接AP、Wi-Fi无线传输模块的SoftAP接口连接有客户端并且STA接口不发起连接的情况下,不执行任何操作,以保证SoftAP接口下挂的设备不掉线,包括:
当用户主动发起执行手动非连接扫描操作时,不执行任何操作,以保证SoftAP接口下挂的设备不掉线。
在一实施例中,特定数据包包括:信标Beacon或探针响应帧probe response。
在一实施例中,本公开还提供一种无线频偏自动校准装置,应用于Wi-Fi无线传输模块中,包括:
监听控制电路,设置为监听或扫描AP的特定数据包;
自动校准器,设置为根据特定数据包获取Wi-Fi无线传输模块的中心频点与AP的中心频点之间的频率偏移,并计算出要跟踪的中心频点值;
频率控制电路,设置为根据频率偏移执行频偏跟踪,以控制所述Wi-Fi无线传输模块根据所述Wi-Fi无线传输模块周围的AP得到的频率偏移计算出一个中 心频点,使计算出的中心频点与所述周围的AP的频率偏移均在设定标准之内,并根据计算出的中心频点调整所述Wi-Fi无线传输模块自身的中心频点。
在一实施例中,上述的无线频偏自动校准装置还包括:
运行模式控制器,设置为控制工作模式;
监听控制电路是设置为:基于不同工作模式,监听或扫描AP的特定数据包的方式不同;
其中,工作模式包含STA模式、SoftAP模式以及STA&SoftAP模式。
本公开通过监听其他Wi-Fi设备的特定数据包,获取与指定通信设备的频率偏移,从而实现Wi-Fi无线传输模块频率的自我调节,使Wi-Fi无线传输模块的中心频点接近指定通信设备的理论中心频点,从而可以在多种温度下正常使用,确保Wi-Fi无线传输模块与指定通信设备的正常通信。
附图说明
图1为本公开提供的一种无线频偏自动校准方法的流程图;
图2为本公开提供的一种无线频偏自动校准装置的结构框图。
具体实施方式
以下结合附图,对本公开进行阐述,并不对本公开进行限制。
本公开解决相关技术中当Wi-Fi无线传输模块工作在高温环境下,无法与AP建立连接的问题;本文的方法可以被应用在例如一些可能经受高温的物联网设备中,例如可以是智能电饭煲(运行时温度可能达到100℃以上)中的Wi-Fi无线传输模块。
如图1所示,本公开提出了一种解决上述问题的无线频偏自动校准方法,包括:
步骤10、Wi-Fi无线传输模块监听或扫描(Scan)AP的特定数据包。
步骤20、Wi-Fi无线传输模块根据特定数据包获取Wi-Fi无线传输模块的中心频点与AP的中心频点之间的频率偏移。
步骤30、Wi-Fi无线传输模块根据频率偏移执行频偏跟踪,以控制所述Wi-Fi无线传输模块根据所述Wi-Fi无线传输模块周围的AP得到的频率偏移计算出一个中心频点,使计算出的中心频点与所述周围的AP的频率偏移均在设定标准之内,并根据计算出的中心频点调整所述Wi-Fi无线传输模块自身的中心频点。
其中,监听或扫描AP的特定数据包包括:监听Wi-Fi无线传输模块周围的AP的特定数据包或扫描指定通信AP的特定数据包。
在一实施例中,根据Wi-Fi无线传输模块周围的AP所得到的频率偏移信息,计算出一个中心频点,使得这个计算出的中心频点与周围AP的频率偏移均在标准之内,然后根据这个中心频点调整自身。本公开提供的方法可以通过在Wi-Fi无线传输模块上增加一个自动校准逻辑来实现,运行在非常温下可以起到效果。
在一实施例中,指定通信AP也称为指定AP。指定AP是指已经建立连接的AP,或者是尝试建立连接的AP。
在一实施例中,在STA模式或STA&SoftAP模式下,当Wi-Fi无线传输模块的STA接口在未连接AP或未发起AP连接时,Wi-Fi无线传输模块监听周围其他AP的特定数据包以获取频率偏移并根据频率偏移执行频偏跟踪,使得Wi-Fi无线传输模块的中心频点维持在合理通信范围内;当Wi-Fi无线传输模块的STA接口在已连接指定AP或将要发起指定AP连接时,Wi-Fi无线传输模块扫描该指定AP的特定数据包以获取频率偏移,并根据频率偏移执行频偏跟踪,从而实现与该指定AP之间的正常通信。
实施例一
以Wi-Fi无线传输模块为ESPWi-Fi芯片为例来说明Wi-Fi无线传输模块在不同工作模式下的无线频偏自动校准实现方法,本公开不限于在ESPWi-Fi芯片上使用,只要是可以判断出接收的数据包的频率偏移的WiFi芯片,都可以使用本公开提供的方法来实现无线频偏的自动校准。本实施例中,以ESP8266Wi-Fi芯片为例,可以通过接收其他Wi-Fi设备的数据包获取与这个设备的频率偏移值,针对Wi-Fi无线传输模块运行的STA、SoftAP、以及STA&SoftAP的三种不同工作模式,分别对应执行下述不同校准方案。
1、Wi-Fi无线传输模块运行在STA模式下:
当STA接口未连接AP时,判断STA接口是否处于空闲模式,若STA接 口处于空闲模式,频偏不发生变化;若STA接口不处于空闲模式,执行非连接扫描;若Wi-Fi无线传输模块能接收到周围其他AP的信标Beacon或探针响应帧probe response,则频偏不发生变化,若Wi-Fi无线传输模块未接收到周围其他AP的Beacon或probe response,则修改频偏并发起强制扫描;若修改频偏并执行强制扫描后能接收到Beacon或probe response,则执行频偏跟踪,若修改频偏并执行强制扫描后依旧不能接收到Beacon或probe response,则频偏跟踪回初始值。
当STA接口尝试连接指定AP时,执行连接扫描,若Wi-Fi无线传输模块能接收到指定AP的Beacon或probe response,则频偏不发生变化;若Wi-Fi无线传输模块未收到指定AP的Beacon或probe response,则修改频偏并发起强制扫描;若修改频偏并执行强制扫描后能接收到指定AP的Beacon或probe response,则执行频偏跟踪;若修改频偏并执行强制扫描后依旧不能接收到Beacon或probe response,则频偏跟踪回初始值。
当STA接口已连接指定AP时,执行非连接扫描或连接扫描,频率均不跟随其他AP发生变化,只跟随已连接的指定AP进行频偏跟踪。
2、Wi-Fi无线传输模块运行在SoftAP模式下:
以第一预设周期监听周围其他AP的Beacon或probe response,若监听不到任何Beacon或probe response,则不执行任何操作;若能监听到Beacon或probe response,则执行频偏跟踪。本一实施例中,第一预设周期可以为6秒。
3、Wi-Fi无线传输模块运行在STA&SoftAP模式下:
判断STA接口的连接情况,若STA接口已连接指定AP,执行非连接扫描或连接扫描,并跟随所连接的指定AP进行频偏跟踪;若STA未连接AP,执行步骤31;
步骤31、判断SoftAP接口有无STA,若无,执行步骤311;若有,执行步骤312;
步骤311、当STA接口不发起连接时,执行步骤3111,当STA接口尝试连接AP时,执行步骤3112;
步骤3111、以第二预设周期监听周围其他AP的Beacon或probe response,若能接收到周围其他AP的Beacon或probe response,则频偏不发生变化并继续 执行下一周期的监听;若未接收到周围其他AP的Beacon或probe response,则执行非连接扫描,在非连接扫描下,若能接收到周围其他AP的Beacon或probe response,则频偏不发生变化,若未接收到周围其他AP的Beacon或probe response,则修改频偏并发起强制扫描,若修改频偏并执行强制扫描后能接收到Beacon或probe response,则执行频偏跟踪,若修改频偏并执行强制扫描后依旧不能接收到Beacon或probe response,则频偏跟踪回初始值。
步骤3112、执行连接扫描,若能接收到指定AP的Beacon或probe response,则频偏不发生变化;若未收到指定AP的Beacon或probe response,则修改频偏并发起强制扫描;若修改频偏并执行强制扫描后能接收到指定AP的Beacon或probe response,则执行频偏跟踪;若修改频偏并执行强制扫描后依旧不能接收到Beacon或probe response,则频偏跟踪回初始值。
步骤312、当STA接口不发起连接时,执行步骤3121;当STA接口尝试连接AP时,执行步骤3122。
步骤3121、不执行任何操作,以保证SoftAP接口下挂的设备不掉线。
步骤3122、执行连接扫描,若能接收到指定AP的Beacon或probe response,则频偏不发生变化;若未接收到指定AP的Beacon或probe response,则修改频偏并发起强制扫描;若修改频偏并执行强制扫描后能收到指定AP的Beacon或probe response,则执行频偏跟踪;若修改频偏并执行强制扫描后依旧不能收到Beacon或probe response,则频偏跟踪回初始值。此种情况下,优先保证STA接口可以连接上AP,基于出厂的AP的频偏范围处于合理的范围内,这时Wi-Fi无线传输模块自身可以跟随AP调整到理论频偏的范围内。此操作由于修改了Wi-Fi无线传输模块自身的中心频点,可能会引起SoftAP接口下挂的设备掉线,这时可以认为下挂的STA设备不在理论频偏的范围内,这个设备应该跟随SoftAP接口的频偏进行调整。
在一实施例中,所述的步骤3111以及步骤3121中,还可以接收由用户主动发起执行的手动非连接扫描操作。
所述的步骤3111中,在接收由用户主动发起执行的手动非连接扫描操作之后包含:
执行非连接扫描,在非连接扫描下,若能接收到周围其他AP的Beacon或probe response,则频偏不发生变化,若未接收到周围其他AP的Beacon或probe  response,则修改频偏并发起强制扫描;若修改频偏并执行强制扫描后能接收到Beacon或probe response,则执行频偏跟踪,若修改频偏并执行强制扫描后依旧不能收到Beacon或probe response,则频偏跟踪回初始值。
所述的步骤3121中,当用户主动发起执行手动非连接扫描操作时,不执行任何操作,以保证SoftAP接口下挂的设备不掉线。这样不做任何处理的原因是,由于此时SoftAP下挂有其他STA设备,此时不可以做频率调整,因为有可能会引起下挂的STA设备掉线(同一个芯片的STA和SoftAP接口同用一个射频模块)。
本实施例中,上述STA模式中以及STA&SoftAP模式中步骤3112提及的“若未接收到周围其他AP的Beacon或probe response,则修改频偏并发起强制扫描,若修改频偏并执行强制扫描后能接收到Beacon或probe response,则执行频偏跟踪,若修改频偏并执行强制扫描后依旧不能接收到Beacon或probe response,则频偏跟踪回初始值”的过程为“若未接收到周围其他AP的Beacon或probe response,则频偏强制改为0ppm,发起第一次强制扫描,判断是否接收到周围其他AP的Beacon或probe response,若接收到周围其他AP的Beacon或probe response,则执行频偏跟踪,若未接收到周围其他AP的Beacon或probe response,则将频偏强制改为-200ppm,发起第二次强制扫描,判断是否收到周围其他AP的Beacon或probe response,若接收到周围其他AP的Beacon或probe response,执行频偏跟踪,若未接收到周围其他AP的Beacon或probe response,则频偏跟踪回初始值”。
本实施例中,上述STA&SoftAP模式中步骤3112和步骤3122中提及的“若未接收到指定AP的Beacon或probe response,则修改频偏并发起强制扫描,若修改频偏并执行强制扫描后能接收到指定AP的Beacon或probe response,则执行频偏跟踪,若修改频偏并执行强制扫描后依旧不能接收到指定AP的Beacon或probe response,则频偏跟踪回初始值”的过程为“若未接收到指定AP的Beacon或probe response,则频偏强制改为0ppm,发起第一次强制扫描,判断是否收到指定AP的Beacon或probe response,若接收到指定AP的Beacon或probe response,则执行频偏跟踪,若未接收到指定AP的Beacon或probe response,则将频偏强制改为-200ppm,发起第二次强制扫描,判断是否收到指定AP的Beacon或probe response,若接收到指定AP的Beacon或probe response,执行频偏跟踪,若未 接收到指定AP的Beacon或probe response,则频偏跟踪回初始值”。
本实施例中,上述STA&SoftAP模式中步骤3111中所提及的的“以第二预设周期监听周围其他AP的Beacon或probe response,若能接收到周围其他AP的Beacon或probe response,则频偏不发生变化并继续执行下一周期的监听,若未接收到周围其他AP的Beacon或probe response,则执行非连接扫描,在非连接扫描下,若能接收到周围其他AP的Beacon或probe response,则频偏不发生变化,若未接收到周围其他AP的Beacon或probe response,则修改频偏并发起强制扫描;若修改频偏并执行强制扫描后能接收到Beacon或probe response,则执行频偏跟踪,若修改频偏并执行强制扫描后依旧不能接收到Beacon或probe response,则频偏跟踪回初始值”的过程是通过以下两种监听方案同时完成实现的:第一、以6秒为周期,监听周围其他AP的Beacon或probe response,并执行频偏跟踪,此逻辑一直打开;第二、以72秒为周期,即执行12次6秒为周期的监听,如果在72秒周期内仍未监听到周围其他AP的Beacon或probe response,那么执行非连接扫描,如果收到,则重新开始72秒为周期的监听。
在一实施例中,第一预设周期和第一预设周期可以相同,也可以不同。
在一实施例中,本公开还提供了一种无线频偏自动校准装置,应用于Wi-Fi无线传输模块中,如图2所示,包括:
监听控制电路210,设置为监听或扫描AP的特定数据包,以获得频率偏移;
自动校准器220,设置为根据特定数据包获取Wi-Fi无线传输模块的中心频点与AP的中心频点之间的频率偏移;(即:根据扫描或监听结果计算出要跟踪的中心频点值);
频率控制电路230,设置为根据频率偏移执行频偏跟踪,以控制所述Wi-Fi无线传输模块根据所述Wi-Fi无线传输模块周围的AP得到的频率偏移计算出一个中心频点,使计算出的中心频点与所述周围的AP的频率偏移均在设定标准之内,并根据计算出的中心频点调整所述Wi-Fi无线传输模块自身的中心频点。
在一实施例中,上述的无线频偏自动校准装置,还包括:
运行模式控制器,设置为控制工作模式;
监听控制电路是设置为:基于不同工作模式,监听或扫描AP的特定数据包的方式不同。
其中,工作模式包含STA模式、SoftAP模式以及STA&SoftAP模式。
在一实施例中,频率控制电路是由硬件构成,在一实施例中,频率控制电路为硬件模拟电路,可以通过软件配置寄存器来控制中心频点。监听控制电路是由硬件收到数据包,然后交给软件处理;自动校准器可以结合软件实现跟踪逻辑,根据频率偏移即根据扫描或监听结果,计算出一个合理中心频点值,并调整到该合理频率值。上述装置设计可以在不存在温度感知模块的WiFi芯片中实现自动调整中心频点的目的。

Claims (11)

  1. 一种无线频偏自动校准方法,包括:
    无线保真Wi-Fi无线传输模块监听或扫描接入点AP的特定数据包;
    所述Wi-Fi无线传输模块根据所述特定数据包获取所述Wi-Fi无线传输模块的中心频点与所述AP的中心频点之间的频率偏移;
    所述Wi-Fi无线传输模块根据所述频率偏移执行频偏跟踪,以控制所述Wi-Fi无线传输模块根据所述Wi-Fi无线传输模块周围的AP得到的频率偏移计算出一个中心频点,使计算出的中心频点与所述周围的AP的频率偏移均在设定标准之内,并根据计算出的中心频点调整所述Wi-Fi无线传输模块自身的中心频点;
    其中,所述监听或扫描AP的特定数据包包括:监听所述Wi-Fi无线传输模块周围的AP的特定数据包或扫描指定通信AP的特定数据包。
  2. 如权利要求1所述的方法,其中,所述Wi-Fi无线传输模块监听或扫描接入点AP的特定数据包,包括:
    在客户端STA模式或客户端和无线路由STA&SoftAP模式下,在所述Wi-Fi无线传输模块的STA接口未连接AP或未发起AP连接的情况下,所述Wi-Fi无线传输模块监听周围AP的特定数据包;
    在所述STA模式或所述STA&SoftAP模式下,在所述Wi-Fi无线传输模块的STA接口已连接指定通信AP或将要发起指定通信AP连接的情况下,所述Wi-Fi无线传输模块扫描所述指定通信AP的特定数据包。
  3. 如权利要求1所述的方法,其中,所述Wi-Fi无线传输模块运行在STA模式下:
    在所述Wi-Fi无线传输模块的STA接口未连接AP的情况下,若所述STA接口处于空闲模式,则频偏不发生变化;若所述STA接口不处于空闲模式,则执行非连接扫描;若所述Wi-Fi无线传输模块接收到周围AP的所述特定数据包,则频偏不发生变化,若所述Wi-Fi无线传输模块未接收到周围AP的所述特定数据包,则修改频偏并发起强制扫描;若修改频偏并执行强制扫描后接收到所述特定数据包,则执行频偏跟踪;若修改频偏并执行强制扫描后未接收到所述特定数据包,则频偏跟踪回初始值;
    在所述STA接口尝试连接所述指定通信AP的情况下,执行连接扫描,若 所述Wi-Fi无线传输模块接收到所述指定通信AP的所述特定数据包,则频偏不发生变化;若所述Wi-Fi无线传输模块未接收到所述指定通信AP的所述特定数据包,则修改频偏并发起强制扫描;若修改频偏并执行强制扫描后接收到所述指定通信AP的所述特定数据包,则执行频偏跟踪;若修改频偏并执行强制扫描后未接收到所述指定通信AP的所述特定数据包,则频偏跟踪回初始值;
    在所述STA接口已连接所述指定通信AP的情况下,执行非连接扫描或连接扫描,跟随已连接的所述指定通信AP进行频偏跟踪。
  4. 如权利要求1所述的方法,其中,所述Wi-Fi无线传输模块运行在无线路由S oftAP模式下:
    以第一预设周期监听周围AP的所述特定数据包,若监听不到所述特定数据包,则不执行任何操作;若监听到所述特定数据包,则执行频偏跟踪。
  5. 如权利要求1所述的方法,其中,所述Wi-Fi无线传输模块运行在STA&SoftAP模式下:
    在所述Wi-Fi无线传输模块的STA接口已连接所述指定通信AP的情况下,执行非连接扫描或连接扫描,并跟随连接的所述指定通信AP进行频偏跟踪;
    在所述STA接口未连接AP、所述Wi-Fi无线传输模块的SoftAP接口未连接客户端以及所述STA接口不发起连接的情况下,以第二预设周期监听周围AP的所述特定数据包,若所述Wi-Fi无线传输模块接收到周围AP的所述特定数据包,则频偏不发生变化并继续执行下一周期的监听;若所述Wi-Fi无线传输模块未接收到周围AP的所述特定数据包,则执行非连接扫描;在所述非连接扫描下,若接收到周围AP的所述特定数据包,则频偏不发生变化,若未接收到周围AP的所述特定数据包,则修改频偏并发起强制扫描,若修改频偏并执行强制扫描后接收到所述特定数据包,则执行频偏跟踪,若修改频偏并执行强制扫描后未接收到所述特定数据包,则频偏跟踪回初始值;
    在所述STA接口未连接AP、所述SoftAP接口未连接客户端以及所述STA接口尝试连接AP的情况下,执行连接扫描;若所述Wi-Fi无线传输模块接收到所述指定通信AP的所述特定数据包,则频偏不发生变化;若所述Wi-Fi无线传输模块未接收到所述指定通信AP的所述特定数据包,则修改频偏并发起强制扫描,若修改频偏并执行强制扫描后接收到所述指定通信AP的所述特定数据包,则执行频偏跟踪,若修改频偏并执行强制扫描后未接收到所述指定通信AP的所 述特定数据包,则频偏跟踪回初始值。
  6. 如权利要求5所述的方法,其中,所述Wi-Fi无线传输模块运行在所述STA&SoftAP模式下:
    在所述STA接口未连接AP、所述Wi-Fi无线传输模块的SoftAP接口连接有客户端并且所述STA接口不发起连接的情况下,不执行任何操作,以保证所述SoftAP接口下挂的设备不掉线;
    在所述STA接口未连接AP、所述SoftAP接口连接有客户端并且所述STA接口尝试连接AP的情况下,执行连接扫描;若所述Wi-Fi无线传输模块接收到所述指定通信AP的所述特定数据包,则频偏不发生变化;若所述Wi-Fi无线传输模块未接收到所述指定通信AP的所述特定数据包,则修改频偏并发起强制扫描;若修改频偏并执行强制扫描后接收到指定通信AP的所述特定数据包,则执行频偏跟踪;若修改频偏并执行强制扫描后未接收到所述特定数据包,则频偏跟踪回初始值。
  7. 如权利要求5所述的方法,其中,在所述STA接口未连接AP、所述Wi-Fi无线传输模块的SoftAP接口未连接客户端以及所述STA接口不发起连接的情况下,以第二预设周期监听周围AP的所述特定数据包,若所述Wi-Fi无线传输模块未接收到周围AP的所述特定数据包,则执行非连接扫描,包括:
    接收用户主动发起执行的手动非连接扫描操作。
  8. 如权利要求6所述的方法,其中,在所述STA接口未连接AP、所述Wi-Fi无线传输模块的SoftAP接口连接有客户端并且所述STA接口不发起连接的情况下,不执行任何操作,以保证所述SoftAP接口下挂的设备不掉线,包括:
    当用户主动发起执行手动非连接扫描操作时,不执行任何操作,以保证所述SoftAP接口下挂的设备不掉线。
  9. 如权利要求1-8任一项所述的方法,其中,所述特定数据包包括:信标Beacon或探针响应帧probe response。
  10. 一种无线频偏自动校准装置,应用于无线保真Wi-Fi无线传输模块中,包括:
    监听控制电路,设置为监听或接入点AP的特定数据包;
    自动校准器,设置为根据所述特定数据包获取所述Wi-Fi无线传输模块的中 心频点与所述AP的中心频点之间的频率偏移;
    频率控制电路,设置为根据所述频率偏移执行频偏跟踪,以控制所述Wi-Fi无线传输模块根据所述Wi-Fi无线传输模块周围的AP得到的频率偏移计算出一个中心频点,使计算出的中心频点与所述周围的AP的频率偏移均在设定标准之内,并根据计算出的中心频点调整所述Wi-Fi无线传输模块自身的中心频点。
  11. 如权利要求10所述的装置,还包括:
    运行模式控制器,设置为控制工作模式;
    所述监听控制电路是设置为:基于不同工作模式,监听或扫描AP的特定数据包的方式不同;
    其中,所述的工作模式包括:客户端STA模式、无线路由SoftAP模式以及客户端和无线路由STA&SoftAP模式。
PCT/CN2018/109001 2017-08-02 2018-09-30 无线频偏自动校准方法及装置 WO2019024946A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/635,880 US11330544B2 (en) 2017-08-02 2018-09-30 Method and device for automatically calibrating wireless frequency offsets

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710652881.9A CN107295628B (zh) 2017-08-02 2017-08-02 一种无线频偏自动校准方法及系统
CN201710652881.9 2017-08-02

Publications (1)

Publication Number Publication Date
WO2019024946A1 true WO2019024946A1 (zh) 2019-02-07

Family

ID=60105346

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/109001 WO2019024946A1 (zh) 2017-08-02 2018-09-30 无线频偏自动校准方法及装置

Country Status (3)

Country Link
US (1) US11330544B2 (zh)
CN (1) CN107295628B (zh)
WO (1) WO2019024946A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020224517A1 (zh) * 2019-05-06 2020-11-12 珠海奔图电子有限公司 连接无线热点的方法、装置、电子设备以及存储介质

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107295628B (zh) 2017-08-02 2022-08-09 乐鑫信息科技(上海)股份有限公司 一种无线频偏自动校准方法及系统
WO2021010516A1 (ko) * 2019-07-16 2021-01-21 엘지전자 주식회사 무선 av 시스템에서 채널 선택을 수행하는 장치 및 방법

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1819447A (zh) * 2004-12-30 2006-08-16 阿瑟罗斯通信股份有限公司 用在通信系统中的对于晶体的频率偏移校正技术
CN104683044A (zh) * 2013-11-29 2015-06-03 展讯通信(上海)有限公司 通信终端中频率综合器的校准方法、校准装置与校准系统
CN104883231A (zh) * 2015-05-28 2015-09-02 深圳市共进电子股份有限公司 一种无线路由器的频率偏移较准方法和装置
CN106789792A (zh) * 2017-03-17 2017-05-31 努比亚技术有限公司 一种Wifi频偏的调节方法及终端
CN107295628A (zh) * 2017-08-02 2017-10-24 乐鑫信息科技(上海)有限公司 一种无线频偏自动校准方法及系统

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2112349A1 (en) * 1993-01-06 1994-07-07 David E. Wachob Dynamically addressable communications system and method
US7242910B2 (en) * 2003-02-03 2007-07-10 M/A-Com, Inc. Self-calibrating radio
US9100108B2 (en) * 2011-12-15 2015-08-04 Broadcom Corporation Time domain coexistence of RF signals
US20150003434A1 (en) * 2013-06-28 2015-01-01 Qualcomm Incorporated Systems and methods for wireless scanning
US9603110B2 (en) * 2015-01-20 2017-03-21 Qualcomm Incorporated Adaptive frequency correction in multiple radio devices
US10104621B2 (en) * 2015-12-17 2018-10-16 Texas Instruments Incorporated Power efficient packet detection
US9473983B1 (en) * 2016-04-26 2016-10-18 Tm Ip Holdings, Llc Transpositional modulation communications between devices
KR20180123296A (ko) * 2017-05-08 2018-11-16 에스케이플래닛 주식회사 스마트오더장치 및 그 동작 방법, 그리고 단말

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1819447A (zh) * 2004-12-30 2006-08-16 阿瑟罗斯通信股份有限公司 用在通信系统中的对于晶体的频率偏移校正技术
CN104683044A (zh) * 2013-11-29 2015-06-03 展讯通信(上海)有限公司 通信终端中频率综合器的校准方法、校准装置与校准系统
CN104883231A (zh) * 2015-05-28 2015-09-02 深圳市共进电子股份有限公司 一种无线路由器的频率偏移较准方法和装置
CN106789792A (zh) * 2017-03-17 2017-05-31 努比亚技术有限公司 一种Wifi频偏的调节方法及终端
CN107295628A (zh) * 2017-08-02 2017-10-24 乐鑫信息科技(上海)有限公司 一种无线频偏自动校准方法及系统

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020224517A1 (zh) * 2019-05-06 2020-11-12 珠海奔图电子有限公司 连接无线热点的方法、装置、电子设备以及存储介质

Also Published As

Publication number Publication date
US11330544B2 (en) 2022-05-10
CN107295628B (zh) 2022-08-09
CN107295628A (zh) 2017-10-24
US20210136708A1 (en) 2021-05-06

Similar Documents

Publication Publication Date Title
US10880891B2 (en) Roaming in a wireless mesh network
US9572077B2 (en) Inter-RAT mobility of in-device coexistence
US10798702B2 (en) Periodic frames for control plane data to manage multi-band wireless networking system
WO2019024946A1 (zh) 无线频偏自动校准方法及装置
JP6517237B2 (ja) デュアルコネクティビティのための測定間隔を設定するシステム、方法、及びデバイス
JP4760498B2 (ja) 移動体通信システム、基地局装置及びそれらに用いるセル間ハンドオーバ制御方法
AU2018203414B2 (en) Method for re-enabling data frame aggregation after bluetooth session
TWI440374B (zh) 無線通訊系統之實體下鏈路控制通道命令處理方法及通訊裝置
TWI659638B (zh) 可維持與遠端藍牙裝置之間的藍牙信號品質的多成員藍牙網路以及相關的主藍牙電路與副藍牙電路
JP2008167149A (ja) 通信方法及び通信装置
WO2019223580A1 (zh) 物理上行信道的传输方法、接收方法、终端及基站
WO2015180170A1 (zh) 一种d2d通信中发射功率的控制方法及设备
TW201701617A (zh) 使用遠端控制設備經由基礎設施設備來控制IoT設備
WO2015042967A1 (zh) 一种信道切换方法、装置及设备
JP2023523052A (ja) 遠端ueの伝送方法、構成方法、装置及び電子機器
GB2590255A (en) System, method and apparatus for monitoring wireless communications
TW201503717A (zh) 於主動胞元運作中防止中斷之技術
JP2007036734A (ja) 通信システム、通信装置、通信方法、通信制御方法、通信制御プログラム、及びプログラム記憶媒体
WO2018095337A1 (zh) 一种异制式系统间协调发射信号的方法及装置
JP2017525251A (ja) コア・ネットワークとの無線ノード認証のオフローディング
TW201240366A (en) Method for testing communication performance of more than two wireless signal access devices
US20170188301A1 (en) System, method and apparatus for backward compatible power reduction FTM responders
TW202137722A (zh) 處理在非執照頻帶中的參考訊號的裝置及方法
WO2021114103A1 (zh) 建立双连接的方法和通信装置
US20200396579A1 (en) Bluetooth/WLAN Dual Mode Low Power and High Speed Communications Protocol and Interface

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18842221

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18842221

Country of ref document: EP

Kind code of ref document: A1