Automatic gain control adjusting method and device, electronic equipment and storage medium
By employing two automatic gain control adjustment methods, combined with reference information obtained from the baseband demodulated signal, the Wi-Fi receiver is precisely gain adjusted, solving the problem of insufficient adjustment accuracy in traditional Wi-Fi receivers and improving system resource utilization.
Patent Information
- Application Number
- CN202510158252.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-13
- Publication Date
- 2025-11-21
- Estimated Expiration
- 2045-02-13
AI Technical Summary
Traditional Wi-Fi receivers have insufficient precision in automatic gain control, which leads to reduced system resource utilization.
A two-stage automatic gain control adjustment method is adopted. First, the first automatic gain control adjustment is performed. Then, the second adjustment reference information is obtained by using the received signal during baseband demodulation, and a more targeted second automatic gain control adjustment is performed. The gain is adjusted using information such as the signal-to-interference-plus-noise ratio, the standard, the received signal strength indication, and the modulation and coding strategy.
It significantly improved adjustment accuracy, reduced the packet error rate of power levels, and improved the system's resource utilization.
Smart Images

Figure CN119629715B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of wireless communication, and in particular to an automatic gain control adjustment method and device, an electronic device and a storage medium. BACKGROUND
[0002] Unlike the control of user experience (UE / UX) by a long term evolution (LTE) or new radio (NR) base station (the base station can control the UE transmit power and transmission timing), WIFI signal reception is completely burst reception, and the arrival time and power of each frame of data are uncontrollable, so the automatic gain control (AGC) requirement is higher, and it is necessary to quickly and more accurately adjust according to the received signal power of each frame in real time.
[0003] The inventor finds that at least the following problems exist in the related art: The traditional WiFi receiver adjusts the power by only using power information for adjustment, and this adjustment method has insufficient adjustment accuracy, which reduces the overall resource utilization of the system. SUMMARY
[0004] The embodiments of the present application aim to provide an automatic gain control adjustment method and device, an electronic device and a storage medium, which further improve the automatic gain control adjustment, significantly improve the overall adjustment accuracy, and further improve the resource utilization of the system.
[0005] To solve the above technical problems, the embodiments of the present application provide an automatic gain control adjustment method, comprising: performing first automatic gain control adjustment on a Wi-Fi receiver; obtaining second adjustment reference information by baseband demodulating the received signal during the first automatic gain control adjustment; and performing second automatic gain control adjustment on the Wi-Fi receiver by using the second adjustment reference information.
[0006] The embodiments of the present application also provide an automatic gain control adjustment device, comprising: a first adjustment module configured to perform first automatic gain control adjustment on a Wi-Fi receiver; an information acquisition module configured to obtain second adjustment reference information by baseband demodulating the received signal during the first automatic gain control adjustment; and a second adjustment module configured to perform second automatic gain control adjustment on the Wi-Fi receiver by using the second adjustment reference information.
[0007] The embodiment of the present application also provides an electronic device, comprising: at least one processor; and a memory connected with the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the automatic gain control adjustment method.
[0008] The embodiment of the present application also provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the automatic gain control adjustment method.
[0009] In the embodiment of the present application, the Wi-Fi receiver is subjected to first automatic gain control adjustment; second adjustment reference information is obtained by baseband demodulating the received signal during the first automatic gain control adjustment; and the Wi-Fi receiver is subjected to second automatic gain control adjustment by using the second adjustment reference information. The automatic gain control adjustment is further improved, so that the adjustment accuracy is significantly improved as a whole, the packet error rate of each power level is reduced, and the resource utilization of the system is improved.
[0010] In addition, the second adjustment reference information comprises one or any combination of the following: signal-to-interference-plus-noise ratio, mode, strength indication of the received signal, spatial stream information, modulation and coding strategy. The gain is adjusted more specifically during the second automatic gain control (AGC) adjustment.
[0011] In addition, the second automatic gain control adjustment of the Wi-Fi receiver by using the second adjustment reference information comprises: sequentially comparing the information in the second reference information with a corresponding preset radio frequency gain table, selecting a gain adjustment strategy corresponding to the second reference information according to the comparison result, and performing second automatic gain control adjustment of the Wi-Fi receiver according to the gain adjustment strategy corresponding to the second reference information; wherein the identification of the modulation and coding strategy, the signal-to-interference-plus-noise ratio and the optimal value of the strength indication of the current received signal are located in the same preset radio frequency gain table. Different gain table strategies are made for different information, which more effectively solves the problem of high packet error rate of some gain levels in a large dynamic range. BRIEF DESCRIPTION OF DRAWINGS
[0012] One or more embodiments are illustrated by way of example in the accompanying drawings that are not intended to be limiting of the embodiments, in which like references numbers refer to like elements throughout the various drawings. The drawings are not necessarily to scale, the emphasis instead being placed upon illustrating the principles of the embodiments.
[0013] Figure 1 is a flow chart of an automatic gain control adjustment method according to an embodiment of the present application;
[0014] Figure 2 is a structural schematic diagram of an automatic gain control adjusting device according to another embodiment of the present application;
[0015] Figure 3 is a structural schematic diagram of an electronic device according to another embodiment of the present application. DETAILED DESCRIPTION
[0016] In order to make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the embodiments of the present application will be described in detail below with reference to the accompanying drawings. However, those skilled in the art can understand that, in the embodiments of the present application, many technical details are presented in order to make the readers better understand the present application. However, the technical solutions claimed by the present application can be implemented even without these technical details and based on various changes and modifications of the following embodiments. The division of the following embodiments is for the convenience of description, and should not constitute any limitation on the specific embodiments of the present application, and the embodiments can be combined with each other and cited to each other without contradiction.
[0017] An embodiment of the present application relates to an automatic gain control adjusting method, which can be applied to a control device capable of directly controlling or remotely controlling a WiFi receiver to perform automatic gain control adjustment, such as a mobile phone, a computer and other electronic devices, or the WiFi receiver. In the embodiment, the WiFi receiver is subjected to first automatic gain control adjustment; baseband demodulation is used to obtain second adjustment reference information from the received signal during the first automatic gain control adjustment; and the WiFi receiver is subjected to second automatic gain control adjustment using the second adjustment reference information. The automatic gain control adjustment is further improved, so that the overall adjustment accuracy is significantly improved, the packet error rate of each power level is reduced, and the resource utilization of the system is improved. The implementation details of the automatic gain control adjusting method of the embodiment will be described in detail below. The following content is only provided for the implementation details for the convenience of understanding, and is not essential for implementing the present solution.
[0018] As shown in FIG. 1, in step 101, the automatic gain control device performs first automatic gain control adjustment on the WiFi receiver. Figure 1 The method for performing first automatic gain control adjustment on the WiFi receiver can be that: the WiFi receiver is subjected to first automatic gain control adjustment by using one-time frequency adjustment in cooperation with first automatic gain control.
[0019]
[0020] In step 102, the automatic gain control device utilizes the baseband demodulation of the received signal during the first automatic gain control adjustment to obtain second adjustment reference information; wherein the second adjustment reference information can be a signal to interference plus noise ratio (SINR), a standard, a received signal strength indicator (RSSI), spatial stream information, and a modulation and coding scheme (MCS). Generally, an access point (AP) sends a beacon signal with fixed power to a user equipment in the form of an AP signaling packet every time interval of a beacon interval. After a fixed transmission time, the signal is received by the user equipment. Since the user equipment has a positional change relative to the AP, the values of the SINR, RSSI, and other parameters also change constantly. The SINR, standard, RSSI, spatial stream information, and MCS information obtained after baseband demodulation of the signal (SIG) are utilized to make more targeted adjustments to the gain during the second AGC.
[0021] In the long term evolution (LTE) technology, the rate configuration is achieved by a modulation and coding scheme (MCS) index value. The MCS takes factors affecting the communication rate as columns of a table and takes the MCS index as rows to form a rate table. Therefore, each MCS index actually corresponds to a physical transmission rate under a set of parameters.
[0022] In step 103, the automatic gain control device utilizes the second adjustment reference information to perform second automatic gain control adjustment on the Wi-Fi receiver. The gain is more targetedly adjusted during the second AGC. For example, the information in the second reference information can be compared with a corresponding preset radio frequency (RF) gain table in sequence, a gain adjustment strategy corresponding to the second reference information is selected according to the comparison result, the Wi-Fi receiver is adjusted according to the gain adjustment strategy corresponding to the second reference information, and different gain tables are made for different information to effectively solve the problem of high PER of some gain levels in a large dynamic range.
[0023] In one example, the identification of the modulation and coding strategy (which can be a modulation and coding strategy index value), the optimal value of the signal-to-interference-plus-noise ratio and the current received signal strength indication are located in the same preset radio frequency gain table, which is made in advance according to the optimal value of the MCS and the SINR and the current RSSI. The standard, MCS, and spatial stream information can be selectively made into independent RF gain tables, i.e., the standard and spatial stream information are located in independent preset radio frequency gain tables. Different gain table strategies are made for different information, effectively solving the problem of high packet error rate (PER) of some gain levels in a large dynamic range.
[0024] In one example, the Wi-Fi receiver is adjusted for the second time according to the gain adjustment strategy corresponding to the second reference information, which can be:
[0025] When the signal-to-interference-plus-noise ratio is less than the demodulation threshold of the modulation and coding strategy corresponding to the data field, and the received signal strength indication is less than the preset minimum threshold value, the Wi-Fi receiver is adjusted for the second time to adjust the received signal strength indication to the target gain value corresponding to the modulation and coding strategy in the gain adjustment strategy.
[0026] When the signal-to-interference-plus-noise ratio is less than the demodulation threshold of the modulation and coding strategy corresponding to the data field, and the received signal strength indication is greater than the preset maximum threshold value, the Wi-Fi receiver is adjusted for the second time to adjust the received signal strength indication to the target gain value corresponding to the modulation and coding strategy in the gain adjustment strategy.
[0027] When the equalized signal-to-interference-plus-noise ratio meets the demodulation threshold of the MCS of the data field, no adjustment is made.
[0028] In one example, the modulation order of the received signal during the first automatic gain control adjustment is lower than the preset order. The first AGC adjustment is mainly for SIG demodulation, and the SIG modulation order is relatively low, which has a certain tolerance for AGC adjustment error. The data field modulation order is high, and WiFi7 reaches 4096QAM. After the first AGC adjustment, the SINR, standard, RSSI, spatial stream information, and MCS information are obtained after baseband SIG demodulation, and the gain is adjusted more targetedly in the second AGC.
[0029] In the embodiment, the Wi-Fi receiver is adjusted by first automatic gain control, the received signal during the first automatic gain control is demodulated by baseband to obtain second adjustment reference information, and the Wi-Fi receiver is adjusted by second automatic gain control by using the second adjustment reference information. The automatic gain control is further improved, so that the adjustment accuracy is significantly improved as a whole, the packet error rate of each power level is reduced, and the resource utilization of the system is improved.
[0030] The step division of the above method is only for clear description, and can be combined into one step or split into multiple steps by splitting some steps in implementation, as long as the same logical relationship is included, and all are within the protection scope of the application; adding irrelevant modifications or introducing irrelevant designs in the algorithm or flow, but not changing the core design of the algorithm and flow are within the protection scope of the application.
[0031] Another embodiment of the application relates to an automatic gain control adjustment device, as shown in the figure, comprising: a first adjustment module 201 configured to adjust a Wi-Fi receiver by first automatic gain control; an information acquisition module 202 configured to obtain second adjustment reference information by demodulating a received signal during the first automatic gain control by baseband; and a second adjustment module 203 configured to adjust the Wi-Fi receiver by second automatic gain control by using the second adjustment reference information. Figure 2
[0032] In one example, the second adjustment reference information can be one of the following and any combination thereof: signal-to-interference-plus-noise ratio, standard, received signal strength indication, spatial stream information, and modulation and coding strategy.
[0033] In one example, adjusting the Wi-Fi receiver by second automatic gain control by using the second adjustment reference information can include: sequentially comparing information in the second reference information with a corresponding preset radio frequency gain table, selecting a gain adjustment strategy corresponding to the second reference information according to a comparison result, adjusting the Wi-Fi receiver by second automatic gain control according to the gain adjustment strategy corresponding to the second reference information, and wherein the identification of the modulation and coding strategy, the signal-to-interference-plus-noise ratio, and the optimal value of the current received signal strength indication are located in the same preset radio frequency gain table.
[0034] In one example, the standard and the spatial stream information are located in independent preset radio frequency gain tables.
[0035] In one example, the second time automatic gain control adjustment of the Wi-Fi receiver according to the gain adjustment strategy corresponding to the second time reference information can be: when the signal to interference plus noise ratio is less than the demodulation threshold of the modulation and coding strategy corresponding to the data field, and the received signal strength indication is less than the preset minimum threshold value, the second time automatic gain control adjustment of the Wi-Fi receiver is performed to increase the received signal strength indication to the target gain value corresponding to the modulation and coding strategy in the gain adjustment strategy; when the signal to interference plus noise ratio is less than the demodulation threshold of the modulation and coding strategy corresponding to the data field, and the received signal strength indication is greater than the preset maximum threshold value, the second time automatic gain control adjustment of the Wi-Fi receiver is performed to decrease the received signal strength indication to the target gain value corresponding to the modulation and coding strategy in the gain adjustment strategy.
[0036] In one example, the modulation order of the received signal during the first time automatic gain control adjustment is lower than the preset order.
[0037] In one example, the first time automatic gain control adjustment of the Wi-Fi receiver comprises: performing the first time automatic gain control adjustment of the Wi-Fi receiver by using the one-time frequency adjustment and the first time automatic gain control.
[0038] In the embodiment, the first time automatic gain control adjustment of the Wi-Fi receiver is performed; the second time adjustment reference information is obtained by baseband demodulating the received signal during the first time automatic gain control adjustment; and the second time automatic gain control adjustment of the Wi-Fi receiver is performed by using the second time adjustment reference information. The automatic gain control adjustment is further improved, so that the overall adjustment accuracy is significantly improved, the packet error rate of each power level is reduced, and the resource utilization of the system is improved.
[0039] It can be found that the embodiment is a device example corresponding to the above-mentioned method embodiment, and the embodiment can be implemented in cooperation with the above-mentioned method embodiment. The related technical details mentioned in the above-mentioned method embodiment are still valid in the embodiment, and in order to reduce repetition, they will not be described here. Correspondingly, the related technical details mentioned in the embodiment can also be applied to the above-mentioned method embodiment.
[0040] It is worth mentioning that each module involved in the embodiment is a logical module. In actual application, a logical unit can be a physical unit, a part of a physical unit, or a combination of multiple physical units. In addition, in order to highlight the innovative part of the application, units not closely related to solving the technical problems proposed in the application are not introduced in the embodiment, but this does not mean that there are no other units in the embodiment.
[0041] Another embodiment of the present application relates to an electronic device, such as Figure 3 As shown in FIG. 1, the electronic device includes at least one processor 301; and a memory 302 connected with the at least one processor in communication; wherein the memory 302 stores instructions executable by the at least one processor 301, and the instructions are executed by the at least one processor 301 to enable the at least one processor 301 to perform the automatic gain control adjustment method as described above.
[0042] The memory 302 and the processor 301 are connected in a bus manner, the bus can include any number of interconnected buses and bridges, and the bus connects one or more processors 301 and various circuits of the memory 302 together. The bus can also connect various other circuits such as peripheral devices, voltage stabilizers, and power management circuits together, which are well known in the art, and thus, further description thereof will not be given herein. The bus interface provides an interface between the bus and the transceiver. The transceiver can be one element or multiple elements such as multiple receivers and transmitters, which provide a unit for communicating with various other devices on a transmission medium. The data processed by the processor 301 is transmitted on a wireless medium through an antenna, and further, the antenna also receives data and transmits the data to the processor 301.
[0043] The processor 301 is responsible for managing the bus and general processing, and can also provide various functions including timing, peripheral interface, voltage regulation, power management, and other control functions. The memory 302 can be used to store data used by the processor 301 in performing operations.
[0044] Another embodiment of the present application relates to a computer readable storage medium storing a computer program. The computer program is executed by a processor to implement the method embodiments described above.
[0045] That is, those skilled in the art can understand that all or part of the steps of the above-mentioned embodiment methods can be completed by programs instructing related hardware, the programs are stored in a storage medium, and include a plurality of instructions for causing a device (which can be a single-chip microcomputer, a chip, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The foregoing storage medium includes a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various media that can store program codes.
[0046] Those skilled in the art can understand that the above-mentioned embodiments are specific embodiments for implementing the present application, and in actual applications, various changes can be made in form and details without departing from the spirit and scope of the present application.
Claims
1. An automatic gain control adjustment method, characterized in that, include: Perform the first automatic gain control adjustment on the Wi-Fi receiver; The received signal during the first automatic gain control adjustment is demodulated using baseband to obtain the second adjustment reference information; The second adjustment reference information is used to perform a second automatic gain control adjustment on the Wi-Fi receiver; The second adjustment reference information includes the signal-to-interference-plus-noise ratio and one or any combination thereof: The standard, the strength indication of the received signal, spatial stream information, and modulation and coding strategy; The second automatic gain control adjustment of the Wi-Fi receiver using the second adjustment reference information includes: The information in the second adjustment reference information is compared with the corresponding preset RF gain table in sequence, and the gain adjustment strategy corresponding to the second adjustment reference information is selected according to the comparison result. The Wi-Fi receiver is subjected to a second automatic gain control adjustment based on the gain adjustment strategy corresponding to the second adjustment reference information. The optimal values of the modulation and coding strategy identifier, the signal-to-interference-plus-noise ratio, and the current received signal strength indication are located in the same preset RF gain table. The step of performing a second automatic gain control adjustment on the Wi-Fi receiver according to the gain adjustment strategy corresponding to the second adjustment reference information includes: When the signal-to-interference-plus-noise ratio is less than the demodulation threshold of the modulation and coding strategy corresponding to the data field, and the strength indication of the received signal is less than the preset minimum threshold value, the Wi-Fi receiver is subjected to a second automatic gain control adjustment so that the strength indication of the received signal is increased to the target gain value in the gain adjustment strategy corresponding to the modulation and coding strategy. When the signal-to-interference-plus-noise ratio is less than the demodulation threshold of the modulation and coding strategy corresponding to the data field, and the strength indication of the received signal is greater than the preset maximum threshold value, the Wi-Fi receiver is subjected to a second automatic gain control adjustment so that the strength indication of the received signal is reduced to the target gain value in the gain adjustment strategy corresponding to the modulation and coding strategy.
2. The automatic gain control adjustment method according to claim 1, characterized in that, The standard and the spatial flow information are each located in an independent preset RF gain table.
3. The automatic gain control adjustment method according to claim 1, characterized in that, The modulation order of the received signal during the first automatic gain control adjustment is lower than the preset order.
4. An automatic gain control adjustment device, characterized in that, include: The first adjustment module is used to perform the first automatic gain control adjustment on the Wi-Fi receiver; The information acquisition module is used to demodulate the received signal during the first automatic gain control adjustment using baseband to obtain the second adjustment reference information; The second adjustment module is used to perform a second automatic gain control adjustment on the Wi-Fi receiver using the second adjustment reference information; The second adjustment reference information includes the signal-to-interference-plus-noise ratio and one or any combination thereof: The standard, the strength indication of the received signal, spatial stream information, and modulation and coding strategy; The second automatic gain control adjustment of the Wi-Fi receiver using the second adjustment reference information includes: The information in the second adjustment reference information is compared with the corresponding preset RF gain table in sequence, and the gain adjustment strategy corresponding to the second adjustment reference information is selected according to the comparison result. The Wi-Fi receiver is subjected to a second automatic gain control adjustment based on the gain adjustment strategy corresponding to the second adjustment reference information. The optimal values of the modulation and coding strategy identifier, the signal-to-interference-plus-noise ratio, and the current received signal strength indication are located in the same preset RF gain table. The step of performing a second automatic gain control adjustment on the Wi-Fi receiver according to the gain adjustment strategy corresponding to the second adjustment reference information includes: When the signal-to-interference-plus-noise ratio is less than the demodulation threshold of the modulation and coding strategy corresponding to the data field, and the strength indication of the received signal is less than the preset minimum threshold value, the Wi-Fi receiver is subjected to a second automatic gain control adjustment so that the strength indication of the received signal is increased to the target gain value in the gain adjustment strategy corresponding to the modulation and coding strategy. When the signal-to-interference-plus-noise ratio is less than the demodulation threshold of the modulation and coding strategy corresponding to the data field, and the strength indication of the received signal is greater than the preset maximum threshold value, the Wi-Fi receiver is subjected to a second automatic gain control adjustment so that the strength indication of the received signal is reduced to the target gain value in the gain adjustment strategy corresponding to the modulation and coding strategy.
5. An electronic device, characterized in that, include: At least one processor; as well as, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the automatic gain control adjustment method as described in any one of claims 1 to 3.
6. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the automatic gain control adjustment method according to any one of claims 1 to 3.
Citation Information
Patent Citations
Method and device for multinuclear automatic gain control
CN101834577A
Automatic gain control apparatus and method in a wireless communication system
US20090290516A1