A method and apparatus for automatic gain adjustment of a wireless signal reception

By combining a fully parallel analog-to-digital converter and a programmable gain amplifier, the response delay and accuracy issues of the NFC receiving front end are solved, enabling fast and accurate gain adjustment and adapting to the NFC demodulation stability of different communication distances and tag scenarios.

CN123164529APending Publication Date: 2026-11-24FUJIAN ELECTRONIC INFORMATION APPL TECH RES INST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611498717.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-24
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing NFC receiver front-ends suffer from high peak detection response latency and low accuracy, making them unsuitable for high-speed, short-slot communication scenarios and weak-field, long-distance communication.

Method used

A fully parallel analog-to-digital converter is used to directly detect the peak value of the RF signal, and a programmable gain amplifier is used for closed-loop gain adjustment. This eliminates the delay of analog detection and successive approximation analog-to-digital conversion, enabling rapid peak value determination and gain adjustment.

Benefits of technology

The peak detection latency has been reduced from the microsecond level to the nanosecond level, making it suitable for high-speed short-slot communication, improving the accuracy of small signal detection, and ensuring accuracy in long-distance communication in weak fields.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123164529A_ABST
    Figure CN123164529A_ABST
Patent Text Reader

Abstract

This invention provides a method and apparatus for automatic gain adjustment of wireless signal reception, comprising: receiving a radio frequency (RF) signal and performing programmable gain amplification on the RF signal to obtain an amplified signal; directly performing fully parallel analog-to-digital conversion on the amplified signal to obtain digital sampling data characterizing the instantaneous amplitude of the amplified signal; extracting the peak value of the RF signal from the digital sampling data; generating a gain adjustment command based on the relationship between the peak value and a preset target amplitude range; and adjusting the gain of the programmable gain amplifier according to the gain adjustment command to perform closed-loop gain adjustment of the RF signal. Relying on fully parallel single-clock-cycle conversion, the peak detection delay is reduced from the microsecond level to the nanosecond level, adapting to high-speed short-slot communication; eliminating diode detection eliminates weak signal distortion and improves far-field communication accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of near field communication (NFC) technology, and more particularly to a method and apparatus for automatic adjustment of wireless signal receiving gain. Background Technology

[0002] NFC readers receive amplitude-modulated radio frequency signals returned by passive tags via antenna coupling. The signal amplitude fluctuates significantly depending on factors such as reading / writing distance, tag type, environmental electromagnetic interference, and metal obstructions. To ensure stable operation of the backend digital demodulation circuit, the receiving front-end needs to have automatic gain control functionality. By detecting the peak amplitude of the received signal, it dynamically adjusts the gain of the amplification link to keep the output signal within the optimal sampling range of the analog-to-digital converter.

[0003] The current mainstream NFC receiver front-end peak detection and gain adjustment schemes generally adopt an architecture of "analog peak detection + low-speed analog-to-digital conversion sampling". The specific implementation is as follows: the radio frequency signal is amplified by one or more stages of fixed / numerically controlled gain operational amplifiers and then sent to the analog peak detection circuit. The analog peak detection uses a Schottky diode as the core and an RC low-pass filter network to rectify and filter the radio frequency amplitude modulation signal, and outputs a DC voltage proportional to the signal peak value. This DC voltage is input to a successive approximation (SAR) analog-to-digital converter for analog-to-digital conversion. The microcontroller reads the converted digital value as the current signal peak value. The microcontroller compares the peak value with a preset threshold and adjusts the gain level of the operational amplifier through a digital interface to complete one gain closed-loop adjustment.

[0004] However, the above solution has the following technical drawbacks: Peak detection response latency is high. Analog detection relies on RC filter networks to smooth ripples and has an inherent charging and discharging time constant, making it unable to quickly capture signal peaks in short NFC frames and transient jumps. At the same time, the SAR analog-to-digital converter needs to approximate the conversion one by one, resulting in a long sampling period, which further exacerbates the gain adjustment lag and makes it difficult to adapt to high-speed, short-slot communication scenarios such as ISO / IEC 14443A.

[0005] Small signal detection accuracy is poor. Schottky diodes have an inherent forward voltage drop, which leads to severe detection distortion and a significant increase in peak detection error when the received signal amplitude is small. In weak field long-distance communication, peak misjudgment is prone to occur, resulting in inaccurate gain adjustment.

[0006] Therefore, there is an urgent need for a method and apparatus for automatic adjustment of wireless signal receiving gain to improve the above problems. Summary of the Invention

[0007] The purpose of this invention is to provide a method and apparatus for automatic adjustment of wireless signal receiving gain, which can solve the problems of slow response and low accuracy of existing NFC peak detection schemes, realize rapid closed-loop adjustment of radio frequency signal gain, expand the dynamic range of the receiving front end, and improve the NFC demodulation stability under different communication distances and different tag scenarios.

[0008] In a first aspect, the present invention provides a method for automatic gain adjustment of wireless signal reception, comprising: receiving a radio frequency (RF) signal and performing programmable gain amplification on the RF signal to obtain an amplified signal; directly performing a fully parallel analog-to-digital conversion on the amplified signal to obtain digital sampling data characterizing the instantaneous amplitude of the amplified signal; extracting the peak value of the RF signal from the digital sampling data; generating a gain adjustment command based on the relationship between the peak value and a preset target amplitude range; and adjusting the gain of the programmable gain amplifier according to the gain adjustment command to perform closed-loop gain adjustment of the RF signal.

[0009] Optionally, the fully parallel analog-to-digital conversion is performed by a fully parallel analog-to-digital converter, which performs parallel comparisons by all comparators on the same clock edge and completes one analog-to-digital conversion within a single clock cycle.

[0010] Optionally, the programmable gain amplifier is a three-stage cascaded programmable gain amplifier, and the gain of each stage can be configured independently.

[0011] Optionally, extracting the peak value of the radio frequency signal from the digital sampling data includes: Within a single symbol period, the peak value is obtained by filtering the digital sampled data using a sliding window algorithm.

[0012] Optionally, adjusting the gain of the programmable gain amplifier according to the gain adjustment command includes: Following the principle of prioritizing subsequent stages, the gain of the amplifier located in the subsequent stage is adjusted first; when the peak value is lower than the lower limit threshold of the target amplitude range, the gain of the final stage amplifier is increased first, and then the gain of the preceding stage amplifier is increased in sequence; when the peak value is higher than the upper limit threshold of the target amplitude range, the gain of the final stage amplifier is decreased first, and then the gain of the preceding stage amplifier is decreased in sequence.

[0013] Optionally, generating a gain adjustment command based on the relationship between the peak value and a preset target amplitude range includes: If the peak value is higher than the upper limit threshold of the target amplitude range, an instruction to reduce the gain is generated; if the peak value is lower than the lower limit threshold of the target amplitude range, an instruction to increase the gain is generated; if the peak value is within the target amplitude range, an instruction to maintain the current gain is generated.

[0014] The beneficial effects of the method of the present invention are as follows: 1. Significantly improved peak detection and gain adjustment speed. Leveraging the fully parallel, single-clock-cycle conversion characteristics of the fully parallel analog-to-digital converter, the RC charging and discharging delay of analog detection and the successive approximation process of the SAR analog-to-digital converter are eliminated. The peak detection delay is reduced from the microsecond level to the nanosecond level, enabling peak determination and gain adjustment to be completed within a single symbol period, making it suitable for high-speed, short-slot communication scenarios.

[0015] 2. Significantly improved small signal detection accuracy. The Schottky diode detection scheme has been abandoned, eliminating weak signal distortion caused by conduction voltage drop at its source; the fully digital sampling maintains good linearity under low amplitude signals, and the peak value determination accuracy is significantly improved in weak field long-distance communication.

[0016] Secondly, the present invention provides an automatic wireless signal receiving gain adjustment device, which includes modules / units for performing any of the possible design methods described in the first aspect above. These modules / units can be implemented in hardware or by hardware executing corresponding software.

[0017] Thirdly, the present invention provides an electronic device including a memory and a processor, wherein the memory stores a program executable on the processor, and when the program is executed by the processor, the electronic device implements a method for performing any of the possible designs described above.

[0018] Fourthly, the present invention provides a readable storage medium storing a program, which, when executed, implements a method of any possible design of any of the above aspects.

[0019] Fifthly, the present invention provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.

[0020] For the beneficial effects of the second to fifth aspects mentioned above, please refer to the description of the first aspect mentioned above. Attached Figure Description

[0021] Figure 1 A flowchart illustrating an automatic gain adjustment method for wireless signal reception provided in an embodiment of the present invention; Figure 2 This is a schematic diagram of the structure of an automatic wireless signal receiving gain adjustment device provided in an embodiment of the present invention; Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation

[0022] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions in the embodiments of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without inventive effort are within the scope of protection of this invention. Unless otherwise defined, the technical or scientific terms used herein should have the ordinary meaning understood by those skilled in the art. The terms "comprising" and similar expressions used herein mean that the element or object preceding the word covers the element or object listed following the word and its equivalents, but do not exclude other elements or objects.

[0023] The technical solutions of the embodiments of the present invention will be described below with reference to the accompanying drawings. In the description of the embodiments of the present invention, the terminology used in the following embodiments is for the purpose of describing specific embodiments only and is not intended to limit the present invention. The singular expressions “a,” “the,” “the,” and “this” are intended to also include expressions such as “one or more,” unless the context clearly indicates otherwise. It should also be understood that in the following embodiments of the present invention, “at least one” and “one or more” refer to one or more (including two). The term “and / or” is used to describe the relationship between related objects, indicating that three relationships can exist; for example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character “ / ” generally indicates that the preceding and following related objects are in an “or” relationship.

[0024] References to "one embodiment" or "some embodiments" in this specification mean that a particular feature, structure, or characteristic described in connection with that embodiment is included in one or more embodiments of the invention. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," and "in still other embodiments" appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless otherwise specifically emphasized. The term "connection" includes both direct and indirect connections, unless otherwise stated. "First" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated.

[0025] In embodiments of the present invention, "exemplarily" or "for example" are used to indicate that they are examples, illustrations, or descriptions. Any embodiment or design described as "exemplarily" or "for example" in embodiments of the present invention should not be construed as being more preferred or advantageous than other embodiments or design solutions. Rather, the use of "exemplarily" or "for example" is intended to present the relevant concepts in a specific manner.

[0026] like Figure 1 As shown, the present invention provides a method for automatic adjustment of wireless signal receiving gain, comprising: S101: Receives a radio frequency signal and performs programmable gain amplification on the radio frequency signal to obtain an amplified signal.

[0027] S102, the amplified signal is directly subjected to a fully parallel analog-to-digital conversion to obtain digital sampling data characterizing the instantaneous amplitude of the amplified signal.

[0028] In some embodiments, the fully parallel analog-to-digital conversion is performed by a fully parallel analog-to-digital converter, which performs parallel comparisons by all comparators on the same clock edge and completes one analog-to-digital conversion within a single clock cycle.

[0029] S103, extract the peak value of the radio frequency signal from the digital sampling data.

[0030] In some embodiments, extracting the peak value of the radio frequency signal from the digital sampling data includes: using a sliding window algorithm to filter the maximum value of the digital sampling data within a single symbol period to obtain the peak value.

[0031] S104, Generate a gain adjustment command based on the relationship between the peak value and the preset target amplitude range.

[0032] In some embodiments, generating a gain adjustment instruction based on the relationship between the peak value and a preset target amplitude range includes: if the peak value is higher than the upper limit threshold of the target amplitude range, generating an instruction to lower the gain; if the peak value is lower than the lower limit threshold of the target amplitude range, generating an instruction to increase the gain; if the peak value is within the target amplitude range, generating an instruction to maintain the current gain.

[0033] S105, adjust the gain of the programmable gain amplifier according to the gain adjustment command to perform closed-loop gain adjustment on the radio frequency signal.

[0034] In some embodiments, the programmable gain amplifier is a three-stage cascaded programmable gain amplifier, and the gain of each stage can be configured independently.

[0035] In some specific embodiments, adjusting the gain of the programmable gain amplifier according to the gain adjustment command includes: prioritizing the gain of the amplifier located in the next stage according to the principle of subsequent stage priority; when the peak value is lower than the lower limit threshold of the target amplitude range, first increasing the gain of the final stage amplifier, and then increasing the gain of the preceding stage amplifiers in sequence; when the peak value is higher than the upper limit threshold of the target amplitude range, first decreasing the gain of the final stage amplifier, and then decreasing the gain of the preceding stage amplifiers in sequence.

[0036] The advantages of this invention are that, relying on the fully parallel, single-clock-cycle conversion characteristics of the fully parallel analog-to-digital converter, the RC charging and discharging delay of analog detection and the successive approximation process of the SAR analog-to-digital converter are eliminated. The peak detection delay is reduced from the microsecond level to the nanosecond level, and peak determination and gain adjustment can be completed within a single symbol period, making it suitable for high-speed, short-slot communication scenarios. It abandons the Schottky diode detection scheme, eliminating weak signal distortion caused by conduction voltage drop at its source; the fully digital sampling maintains good linearity even under low-amplitude signals, and the peak determination accuracy is significantly improved in weak-field, long-distance communication. like Figure 2 As shown, based on the above method, the present invention provides an automatic gain adjustment device for wireless signal reception, comprising: a receiving amplification unit 201, used to receive a radio frequency signal and perform programmable gain amplification on the radio frequency signal to obtain an amplified signal; an analog-to-digital conversion unit 202, used to directly perform fully parallel analog-to-digital conversion on the amplified signal to obtain digital sampling data characterizing the instantaneous amplitude of the amplified signal; an extraction unit 203, used to extract the peak value of the radio frequency signal from the digital sampling data; a generation unit 204, used to generate a gain adjustment command based on the relationship between the peak value and a preset target amplitude range; and an adjustment unit 205, used to adjust the gain of the programmable gain amplifier according to the gain adjustment command to perform closed-loop gain adjustment on the radio frequency signal.

[0037] To facilitate understanding, this embodiment further illustrates the specific implementation process of the present invention in conjunction with a specific application scenario, which includes the following steps: 1. Composition and Structure This invention consists of five main units, and the connections and functions of each unit are as follows: 1. Radio Frequency Receiving Front-End Unit: Composed of an NFC antenna and a matching network, it is responsible for coupling the 13.56MHz radio frequency amplitude-modulated signal in space and outputting it to the programmable gain amplifier unit.

[0038] 2. Programmable Gain Amplifier Unit: Composed of multiple (exemplarily three) cascaded digitally controlled variable gain amplifiers (VGAs). The gain of each stage can be independently configured with digital bit width to amplify the weak input RF signal step by step, and its gain level is controlled in real time by the gain configuration unit.

[0039] 3. Fully Parallel Analog-to-Digital Converter Unit: This unit employs a fully parallel architecture for its analog-to-digital converter (Flash-ADC). The amplified RF signal is directly input into this unit, which outputs continuously digitized instantaneous amplitude values, providing raw data for digital domain peak extraction.

[0040] 4. Main control logic unit: It has a built-in peak extraction algorithm and gain control logic. It continuously reads the sampled data output by the fully parallel analog-to-digital conversion unit, selects the maximum sampled value as the current signal peak value, and compares the peak value with the preset target amplitude range (upper limit threshold, lower limit threshold). It outputs gain control commands to adjust, adjust or hold.

[0041] 5. Gain Configuration Unit: Receives control commands from the main control logic unit, converts them into corresponding digital levels, configures the gain levels of the programmable gain amplifier unit, and completes closed-loop gain adjustment.

[0042] 2. Method Implementation Process Peak detection and automatic gain adjustment in this solution are performed according to the following steps: 1. Initialization configuration: After the system is powered on, set the programmable gain amplifier unit to the lowest total gain level, and configure the sampling rate and reference voltage of the fully parallel analog-to-digital converter unit, and set the upper and lower limit thresholds of the target amplitude range.

[0043] 2. Signal amplification: The NFC antenna couples to receive the radio frequency amplitude modulation signal returned by the tag, which is then input to the programmable gain amplifier unit via a matching network, and the signal is amplified step by step according to the current level.

[0044] 3. High-speed sampling: The amplified RF signal is directly input into the fully parallel analog-to-digital converter unit for high-speed continuous sampling in full parallel, and outputs real-time digital signal instantaneous amplitude data without going through analog rectification and filtering stages.

[0045] 4. Digital Domain Peak Extraction: Within a single symbol period, the main control logic unit filters the maximum value of consecutive sampling points output by the fully parallel analog-to-digital converter to obtain the peak amplitude value of the current signal. Optionally, a sliding window algorithm is used for maximum value filtering to filter out transient narrow pulse interference and improve the reliability of peak value determination.

[0046] 5. Gain closed-loop adjustment: If the current peak value is higher than the upper limit of the target range, it is determined that the op-amp gain is too large, and the total gain of the programmable gain amplifier unit is reduced by a preset step size; if the current peak value is lower than the lower limit of the target range, it is determined that the op-amp gain is insufficient, and the total gain is increased by a preset step size; if the current peak value is within the target range, it is determined that the gain is appropriate, and the current level is kept unchanged.

[0047] 6. Dynamic tracking: After the gain adjustment is completed, repeat the above sampling, extraction and adjustment steps, continuously detect the signal peak value, dynamically track the signal amplitude change, so that the output signal is always kept in the optimal sampling range.

[0048] The programmable gain amplifier unit employs a three-stage cascaded numerically controlled variable gain amplifier. The reason for using a three-stage cascade is that in NFC communication applications, the amplitude of the signal returned by the tag can fluctuate by tens of dB or more due to factors such as read / write distance, tag type, metallic interference, and environmental electromagnetic noise. Single-stage or two-stage solutions are difficult to cover such a large dynamic range.

[0049] The signal stream flows from the antenna through the first-stage VGA (pre-amplifier), the second-stage VGA (intermediate amplifier), and the third-stage VGA (post-amplifier driver) before entering the fully parallel analog-to-digital converter (ADC). The first stage directly connects to the antenna matching network, and its noise figure has the greatest impact on the signal-to-noise ratio (SNR) of the entire receiving link. Maintaining stable gain in the first stage minimizes the system noise figure and ensures a good demodulated SNR in weak signal scenarios. The second stage handles the main gain adjustment, providing fine-grained gain steps. The third stage directly drives the ADC input; prioritizing adjustment of this stage quickly brings the signal amplitude into the ADC's optimal sampling range while preventing saturation of subsequent operational amplifiers.

[0050] In terms of the graded adjustment strategy, the principle of prioritizing the next stage is followed: when the signal is weak, the gain of the third stage is increased first, then the second stage is increased, and finally the first stage is increased; when the signal is strong, the gain of the third stage is decreased first, then the second stage is decreased, and finally the first stage is decreased.

[0051] Each gain level can be independently configured via digital bit width. The three levels are controlled by 2 bits, 3 bits, and 3 bits respectively, providing a total of 4×8×8=256 gain combinations. After redundancy removal, the actual effective gain codeword can achieve smooth and continuous gain adjustment within a wide dynamic range.

[0052] One of the innovations of this invention is that it replaces the traditional "SAR analog-to-digital conversion + analog peak detection" architecture with "fully parallel analog-to-digital conversion + digital domain peak extraction". Compared with SAR analog-to-digital converters, the fully parallel analog-to-digital converter uses fully parallel comparison and can generate conversion results in just a single clock cycle, resulting in a significantly faster conversion speed.

[0053] In one exemplary implementation, the fully parallel analog-to-digital converter has a conversion width of 6 bits, requiring 2... 6 -1 comparators operate simultaneously, and all comparators complete the comparison at the same clock edge. The built-in encoder converts the thermometer code into binary code, with a single conversion delay of 1 clock cycle.

[0054] The symbol rate of ISO / IEC 14443A is approximately 106 kbps, with each symbol period being approximately 9.4 μs. The sampling rate of the fully parallel analog-to-digital converter can be configured to acquire a sufficient number of sampling points within a single symbol period. For example, when the sampling rate is set to 100 MS / s, approximately 94 sampling points can be acquired per symbol period, providing sufficient data redundancy for digital domain peak extraction, ensuring complete capture of the carrier waveform's peak points, and avoiding undersampling distortion.

[0055] It should be understood that all relevant content of each step involved in the above method embodiments can be referenced to the functional description of the corresponding functional module, and will not be repeated here. Furthermore, the use of suffixes such as "module," "component," or "unit" to represent elements is merely for the purpose of illustrative purposes and has no specific meaning in itself. Therefore, "module," "component," or "unit" can be used interchangeably. Terminals can be implemented in various forms. For example, the terminals described in this invention may include mobile terminals such as mobile phones, tablets, laptops, handheld computers, personal digital assistants (PDAs), portable media players (PMPs), navigation devices, wearable devices, smart bracelets, pedometers, etc., as well as fixed terminals such as digital TVs and desktop computers. The following description will use mobile terminals as examples; those skilled in the art will understand that, in addition to elements specifically designed for mobile purposes, the construction according to embodiments of the present invention can also be applied to fixed-type terminals.

[0056] In other embodiments of the present invention, an electronic device 300 is disclosed, such as... Figure 3 As shown, the device may include: one or more processors 301; memory 302; display 303; one or more application programs (not shown); and one or more computer programs 304. These devices can be connected via one or more communication buses 305. The one or more computer programs 304 are stored in the memory 302 and configured to be executed by the one or more processors 301. The one or more computer programs 304 include instructions that can be used to perform actions such as... Figure 1 Each step in the corresponding embodiment.

[0057] Processor 301 can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor.

[0058] The memory 302 can be an internal storage unit of the electronic device 300, such as a hard disk or RAM of the electronic device 300. The memory 302 can also be an external storage device of the electronic device 300, such as a plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) card, or FlashCard equipped on the electronic device 300. Furthermore, the memory 302 can include both internal and external storage units of the electronic device 300. The memory 302 is used to store computer programs and other programs and data required by the electronic device. The memory 302 can also be used to temporarily store data that has been output or will be output.

[0059] The computer program 304 can be divided into one or more modules / units. The one or more modules / units can be a series of computer program instruction segments that can perform a specific function. The instruction segments are used to describe the execution process of the computer program 304 in the electronic device 300.

[0060] In addition to the above-described structure, those skilled in the art will understand that Figure 3 This is merely an example of electronic device 300 and does not constitute a limitation on electronic device 300. Electronic device 300 may include more or fewer components than shown, or combine certain components, or different components. For example, electronic device may also include input / output devices, network access devices, buses, etc.

[0061] Those skilled in the art will understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the functions described above can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this invention. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0062] Based on the above embodiments, the present invention also discloses a computer-readable storage medium having at least one computer program stored thereon, wherein the computer program, when executed by a processor, implements the methods described in the foregoing embodiments.

[0063] Those skilled in the art will understand that all or part of the steps in the methods of the above embodiments can be implemented by a program instructing a processor. The program can be stored in a computer-readable storage medium, which is a non-transitory medium, such as random access memory, read-only memory, flash memory, hard disk, solid-state drive, magnetic tape, floppy disk, optical disk, and any combination thereof. The storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. This available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., digital video disc (DVD)), or a semiconductor medium (e.g., solid-state drive (SSD)).

[0064] The descriptions of the processes or structures corresponding to the above figures each have their own emphasis. For parts of a process or structure that are not described in detail, please refer to the relevant descriptions of other processes or structures.

[0065] Although the embodiments of the present invention have been described in detail above, it will be apparent to those skilled in the art that various modifications and variations can be made to these embodiments. The above descriptions are merely embodiments of the present invention and do not limit the patent scope of the present invention. However, it should be understood that such modifications and variations fall within the scope and spirit of the present invention. Moreover, the present invention described herein may have other embodiments and can be implemented or realized in various ways. All equivalent transformations made based on the description and drawings of the present invention, or direct or indirect applications in related technical fields, are similarly included within the patent protection scope of the present invention.

Claims

1. A method for automatically adjusting the gain of wireless signal reception, characterized in that, include: Receive radio frequency signals and amplify the radio frequency signals with programmable gain to obtain an amplified signal; The amplified signal is directly subjected to a fully parallel analog-to-digital conversion to obtain digital sampled data characterizing the instantaneous amplitude of the amplified signal; Extract the peak value of the radio frequency signal from the digital sampling data; A gain adjustment command is generated based on the relationship between the peak value and the preset target amplitude range; The gain of the programmable gain amplifier is adjusted according to the gain adjustment command to perform closed-loop gain adjustment on the radio frequency signal.

2. The automatic gain adjustment method for wireless signal reception according to claim 1, characterized in that, The fully parallel analog-to-digital conversion is performed by a fully parallel analog-to-digital converter, which performs parallel comparisons by all comparators on the same clock edge and completes one analog-to-digital conversion within a single clock cycle.

3. The method according to claim 1, characterized in that, The programmable gain amplifier is a three-stage cascaded programmable gain amplifier, and the gain of each stage can be configured independently.

4. The automatic gain adjustment method for wireless signal reception according to claim 1, characterized in that, The peak values ​​of the radio frequency signal extracted from the digital sampling data include: Within a single symbol period, the peak value is obtained by filtering the digital sampled data using a sliding window algorithm.

5. The automatic gain adjustment method for wireless signal reception according to claim 3, characterized in that, Adjusting the gain of the programmable gain amplifier according to the gain adjustment command includes: Following the principle of prioritizing subsequent stages, the gain of the amplifier located in the subsequent stage is adjusted first; when the peak value is lower than the lower limit threshold of the target amplitude range, the gain of the final stage amplifier is increased first, and then the gain of the preceding stage amplifier is increased in sequence; when the peak value is higher than the upper limit threshold of the target amplitude range, the gain of the final stage amplifier is decreased first, and then the gain of the preceding stage amplifier is decreased in sequence.

6. The automatic gain adjustment method for wireless signal reception according to any one of claims 1-5, characterized in that, Generating a gain adjustment command based on the relationship between the peak value and the preset target amplitude range includes: If the peak value is higher than the upper limit threshold of the target amplitude range, an instruction to reduce the gain is generated; if the peak value is lower than the lower limit threshold of the target amplitude range, an instruction to increase the gain is generated; if the peak value is within the target amplitude range, an instruction to maintain the current gain is generated.

7. A wireless signal receiving gain automatic adjustment device, used in the method according to any one of claims 1-6, characterized in that, include: A receiving amplification unit is used to receive radio frequency signals and perform programmable gain amplification on the radio frequency signals to obtain an amplified signal; An analog-to-digital conversion unit is used to directly perform fully parallel analog-to-digital conversion on the amplified signal to obtain digital sampling data characterizing the instantaneous amplitude of the amplified signal; An extraction unit is used to extract the peak value of the radio frequency signal from the digital sampling data; The generation unit is used to generate a gain adjustment command based on the relationship between the peak value and the preset target amplitude range; The adjustment unit is used to adjust the gain of the programmable gain amplifier according to the gain adjustment command, so as to perform closed-loop gain adjustment on the radio frequency signal.

8. An electronic device, characterized in that, The device includes a memory and a processor, wherein the memory stores a program that can run on the processor, and when the program is executed by the processor, causes the electronic device to perform the method of any one of claims 1-6.

9. A readable storage medium storing a program, characterized in that, When the program is executed, it implements the method of any one of claims 1-6.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the method of any one of claims 1-6.