Receiver and gain control method and device applied to receiver
By configuring a low-noise amplifier, mixer and low-pass filter in the receiver, and combining the amplitude difference between I and Q channels to determine the signal source, the problem of insufficient gain adjustment accuracy in complex environments is solved, and fast and accurate signal-to-noise ratio optimization is achieved.
Patent Information
- Application Number
- CN202410362636.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-27
- Publication Date
- 2025-07-25
AI Technical Summary
In the prior art, when the receiver faces uncertainty in the long and short distances of the transmitter and receiver and other frequency band interference, it is difficult to effectively adjust the gain to ensure signal-to-noise ratio optimization, and the analog AGC loop detection accuracy is insufficient, making it impossible to accurately distinguish out-of-band interference from in-band useful signals.
By introducing a low noise amplifier, a mixer, the first and second branches, power calculation modules and control modules into the receiver, the bandwidth of the low-pass filter is configured according to the modulation method of the radio signal, and the signal source is judged by the amplitude difference between the I and Q paths, bypassing the complex digital signal processing stage, and achieving high-precision gain control.
It realizes rapid and accurate adjustment of receiver gain in complex environments, ensures optimization of signal-to-noise ratio, improves detection accuracy, and reduces calculation complexity.
Smart Images

Figure CN120377945A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of communications, and in particular, to a receiver, and a gain control method and device applied to the receiver. Background Art
[0002] The power detection of a receiver is to convert the received radio signal into a digital signal through an anti-aliasing filter and an analog-to-digital converter, and then obtain the information of the strength of the received signal through digital signal processing. In actual working conditions, it is desired that the signal received by the receiver remains within a certain amplitude range, so as to ensure the optimal signal-to-noise ratio of signal reception. However, in the actual outdoor application environment, there will be uncertain factors such as the uncertain distance between the transmitter and the receiver and the interference of other frequency bands, which interfere with the receiver's high-quality demodulation of the signal. Adjusting the gain of the receiver can improve the quality of the receiver's demodulation of the signal.
[0003] However, there is currently a lack of effective means for adjusting the gain of the receiver. Summary of the Invention
[0004] The present disclosure provides a receiver, and a gain control method and device applied to the receiver.
[0005] In a first aspect, an embodiment of the present disclosure provides a receiver, including:
[0006] A low-noise amplifier configured to perform low-noise amplification on the received radio signal;
[0007] A mixer configured to divide the radio signal low-noise amplified by the low-noise amplifier into an I-channel analog signal and a Q-channel analog signal;
[0008] A first branch configured to generate an I-channel digital signal from the I-channel analog signal output by the mixer;
[0009] A second branch configured to generate a Q-channel digital signal from the Q-channel analog signal output by the mixer;
[0010] A power calculation module configured to determine a first received power of the receiver according to the I-channel digital signal and / or the Q-channel digital signal;
[0011] A control module configured to adjust the gain of the low-noise amplifier according to the first received power output by the power calculation module, or to adjust the gain of a first low-pass filter in the first branch and / or a second low-pass filter in the second branch.
[0012] In a second aspect, an embodiment of the present disclosure provides a gain control method, which is applied to the receiver described in the first aspect above. The method includes:
[0013] Determine the modulation mode of the radio signal;
[0014] According to the modulation mode, configure the bandwidth modes of the first low-pass filter and the second low-pass filter by using the corresponding broadband configuration method;
[0015] Obtain the first received power output by the power calculation module;
[0016] Adjust the gain of the receiver according to the first received power.
[0017] In a third aspect, an embodiment of the present disclosure provides a gain control device, which is applied to the receiver described in the foregoing first aspect. The device includes:
[0018] A determination unit, configured to determine the modulation mode of the radio signal;
[0019] A bandwidth configuration unit, configured to configure the bandwidth modes of the first low-pass filter and the second low-pass filter by using the corresponding broadband configuration method according to the modulation mode;
[0020] A power acquisition unit, configured to obtain the first received power output by the power calculation module;
[0021] An adjustment unit, configured to adjust the gain of the receiver according to the first received power.
[0022] In a fourth aspect, an embodiment of the present disclosure provides a receiver, including: one or more processors; wherein, the receiver is configured to execute the gain control method described in the foregoing second aspect.
[0023] In a fifth aspect, an embodiment of the present disclosure provides a communication device, including the receiver described in the foregoing first aspect, wherein the receiver is configured to execute the gain control method described in the foregoing second aspect.
[0024] In a sixth aspect, an embodiment of the present disclosure provides a storage medium, which stores instructions. When the instructions run on the receiver, the receiver is caused to execute the gain control method described in the foregoing second aspect.
[0025] In a seventh aspect, an embodiment of the present disclosure provides a computer program product, including a computer program, and the computer program realizes the steps of the gain control method described in the foregoing second aspect when executed by the receiver.
[0026] In an embodiment of the present disclosure, the receiver includes a low-noise amplifier, a mixer, a first branch, a second branch, a power calculation module, and a control module. According to the modulation method of the radio signal received by the low-noise amplifier, the bandwidth of the low-pass filter in the first branch and / or the second branch is configured using a corresponding bandwidth configuration method, and the amplitude difference brought about by the setting difference is used to determine whether the signal amplitude comes from an in-band useful signal or an out-of-band interference signal, so that the gain gear can be switched more accurately to complete the setting of the optimal signal-to-noise ratio. That is to say, the embodiment of the present disclosure can bypass the complex and time-consuming digital signal processing stage, and at the same time retain the high-precision detection module ADC (Analog To Digital Converter). If the received radio signal is in QAM (Quadrature Amplitude Modulation) modulation mode or PSK (Phase Shift Keying) modulation mode, the bandwidths of the I channel and the Q channel can be switched, and the amplitude difference brought about by the setting difference is used to determine whether the signal amplitude comes from an in-band useful signal or an out-of-band interference signal, and the gain gear is switched more accurately to complete the setting of the optimal signal-to-noise ratio; if the received radio signal is in BPSK (Binary PhaseShift Keying) modulation mode, the bandwidths of the I channel and the Q channel can be set to different modes, and the in-band useful signal or the out-of-band interference signal is directly determined by the amplitude difference between the I channel and the Q channel.
[0027] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. Brief Description of the Drawings
[0028] The drawings herein are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with the present invention, and are used together with the specification to explain the principles of the present invention.
[0029] Figure 1 is a schematic structural diagram of a receiver in the related art.
[0030] Figure 2 is a schematic structural diagram of a receiver provided by an embodiment of the present disclosure.
[0031] Figure 3 is a flowchart of a gain control method provided by an embodiment of the present disclosure.
[0032] Figure 4 is a flowchart of a gain control method provided by an embodiment of the present disclosure.
[0033] Figure 5 is a flowchart of a gain control method provided by an embodiment of the present disclosure.
[0034] Figure 6 is a flowchart of the gain control method provided by an embodiment of the present disclosure.
[0035] Figure 7 is a block diagram of the gain control device provided by an embodiment of the present disclosure.
[0036] Figure 8 is a schematic structural diagram of a receiver 800 proposed by an embodiment of the present disclosure.
[0037] Figure 9 is a schematic structural diagram of a communication device 900 proposed by an embodiment of the present disclosure. Detailed implementation manners
[0038] The embodiments of the present disclosure are not exhaustive, but only illustrate some embodiments, and do not specifically limit the protection scope of the present disclosure. Without contradiction, each step in an embodiment can be implemented as an independent embodiment, and the steps can be combined arbitrarily. For example, the solution after removing some steps in an embodiment can also be implemented as an independent embodiment, and the order of the steps in an embodiment can be exchanged arbitrarily. In addition, the optional implementation manners in an embodiment can be combined arbitrarily; furthermore, the embodiments can be combined arbitrarily. For example, some or all steps of different embodiments can be combined arbitrarily, and an embodiment can be combined arbitrarily with the optional implementation manners of other embodiments.
[0039] In each embodiment of the present disclosure, if there is no special description and logical conflict, the terms and / or descriptions between the embodiments are consistent and can be cited from each other. The technical features in different embodiments can be combined to form new embodiments according to their inherent logical relationships.
[0040] The terms used in the embodiments of the present disclosure are only for the purpose of describing specific embodiments, and are not intended to limit the present disclosure.
[0041] In the embodiments of the present disclosure, unless otherwise specified, elements expressed in the singular form, such as "one", "a kind of", "the", "above-mentioned", "said", "aforementioned", "this", etc., can mean "one and only one", or can also mean "one or more", "at least one", etc. For example, in the case of using articles such as "a", "an", "the" in English in the translation, the noun after the article can be understood as a singular expression form or a plural expression form.
[0042] In the embodiments of the present disclosure, "a plurality of" means two or more.
[0043] In some embodiments, terms such as "at least one of (at least one item, at least one)", "one or more", "a plurality of", "multiple", etc. may be used interchangeably.
[0044] In some embodiments, notations such as "at least one of A and B", "A and / or B", "in one case A, in another case B", "in response to one case A, in response to another case B", etc. may, depending on the circumstances, include the following technical solutions: In some embodiments, A is performed (A is performed independently of B); in some embodiments, B is performed (B is performed independently of A); in some embodiments, one is selected from A and B for execution (A and B are selectively executed); in some embodiments, both A and B are performed (both A and B are executed). The same applies when there are more branches such as A, B, C, etc.
[0045] In some embodiments, notations such as "A or B" may, depending on the circumstances, include the following technical solutions: In some embodiments, A is performed (A is performed independently of B); in some embodiments, B is performed (B is performed independently of A); in some embodiments, one is selected from A and B for execution (A and B are selectively executed). The same applies when there are more branches such as A, B, C, etc.
[0046] The prefix words such as "first", "second", etc. in the embodiments of the present disclosure are only used to distinguish different described objects and do not constitute a limitation on the position, order, priority, quantity, content, etc. of the described objects. The statements of the described objects refer to the descriptions in the context of the claims or embodiments, and no redundant limitation should be formed due to the use of the prefix words. For example, if the described object is "field", the ordinal numbers before "field" in "first field" and "second field" do not limit the position or order between the "fields", and "first" and "second" do not limit whether the "fields" they modify are in the same message, nor do they limit the order of "first field" and "second field". For another example, if the described object is "level", the ordinal numbers before "level" in "first level" and "second level" do not limit the priority between the "levels". For another example, the quantity of the described object is not limited by the ordinal number and can be one or more. Taking "first device" as an example, the quantity of "device" therein can be one or more. In addition, the objects modified by different prefix words can be the same or different. For example, if the described object is "device", "first device" and "second device" can be the same device or different devices, and their types can be the same or different; for another example, if the described object is "information", "first information" and "second information" can be the same information or different information, and their contents can be the same or different.
[0047] In some embodiments, "including A", "comprising A", "used to indicate A", "carrying A" can be interpreted as directly carrying A or as indirectly indicating A.
[0048] In some embodiments, terms such as "in response to...", "in response to determining...", "in the case of...", "when...", "while...", "if...", "in the event that..." can be substituted for each other.
[0049] In some embodiments, terms such as "greater than", "greater than or equal to", "not less than", "more than", "more than or equal to", "not fewer than", "higher than", "higher than or equal to", "not lower than", "above" can be substituted for each other, and terms such as "less than", "less than or equal to", "not greater than", "fewer than", "fewer than or equal to", "not more than", "lower than", "lower than or equal to", "not higher than", "below" can be substituted for each other.
[0050] In some embodiments, devices and apparatuses can be interpreted as physical or virtual, and their names are not limited to those recorded in the embodiments, and in some cases, they can also be understood as "equipment", "device", "circuit", "network element", "node", "function", "unit", "section", "system", "network", "chip", "chip system", "entity", "subject", etc.
[0051] In some embodiments, obtaining data, information, etc. may comply with the laws and regulations of the country where it is located.
[0052] In some embodiments, data, information, etc. may be obtained after obtaining the consent of the user.
[0053] In some embodiments, "obtain", "acquire", "get", "receive", "accept", "transmit", "two-way transmit", "send and / or receive" can be substituted for each other, and it can be interpreted as receiving from other entities, obtaining from protocols, obtaining from higher layers, self-processing, self-realization, etc.
[0054] It should be noted that the power detection of the receiver is to convert it into a digital signal through an anti-aliasing filter and an analog-to-digital converter, and then obtain the information on the strength of the received signal through digital signal processing. Under actual working conditions, it is desired that the signal received by the receiver be maintained within a certain amplitude range, so as to ensure the optimal signal-to-noise ratio of signal reception. However, in the actual outdoor application environment, there will be uncertain factors such as the uncertain distance between the transmitter and the receiver and interference from other frequency bands, which interfere with the high-quality demodulation of the signal by the receiver. In the 5G (5th generation mobile communications system) protocol, more subcarriers are inserted to improve the throughput, but this will result in a shorter gain control time of the receiver. Therefore, an adjustable gain algorithm that can quickly and effectively judge the strength of the received useful signal and out-of-band interference signal is required.
[0055] In related technologies, as Figure 1 shown, the digital AGC (Automatic Gain Control) loop is changed to an analog AGC loop to achieve quick inspection. An analog power detector is added to dynamically adjust the gain levels of modules such as the LNA (Low Noise Amplifier) and LPF (Low-pass filter) according to the size of the received signal. However, limited by the characteristics of the analog circuit itself, the detection accuracy is more than 6 dB (decibels) worse than that of the digital AGC loop, and it cannot meet the optimal reception state of the receiver. In addition, this solution cannot well distinguish between out-of-band interference and in-band useful signals, and cannot accurately adjust the gains of the LNA and LPF.
[0056] Based on this, embodiments of the present disclosure provide a receiver, as well as a gain control method and device applied to the receiver, which bypass the complex and time-consuming digital signal processing stage, and also retain the high-precision detection module ADC (Analog-to-Digital Converter). If the received radio signal is in the QAM (Quadrature Amplitude Modulation) modulation mode or the PSK (Phase Shift Keying) modulation mode, the bandwidths of the I channel and the Q channel can be switched, and the amplitude difference caused by the setting difference is used to determine whether the signal amplitude comes from the in-band useful signal or the out-of-band interference signal, so as to more accurately switch the gain gear to complete the setting of the optimal signal-to-noise ratio; if the received radio signal is in the BPSK (Binary Phase Shift Keying) modulation mode, the bandwidths of the I channel and the Q channel can be set to different modes, and the in-band useful signal or the out-of-band interference signal can be directly determined by the amplitude difference between the I channel and the Q channel.
[0057] Figure 2 is a schematic structural diagram of a receiver provided by an embodiment of the present disclosure. As Figure 2 shown, the receiver 200 may include: a low-noise amplifier 210, a mixer 220, a first branch 230, a second branch 240, a power calculation module 250, and a control module 260. Among them, as Figure 2 shown, the output of the low-noise amplifier 210 is connected to the input of the mixer 220, the output of the mixer 220 is respectively connected to the input of the first branch 230 and the input of the second branch 240, the outputs of the first branch 230 and the second branch 240 are respectively connected to the input of the power calculation module 250, and the output of the power calculation module 250 is connected to the control module 260. In some embodiments, the receiver 200 may be a receiver based on quadrature modulation.
[0058] In some embodiments, the low-noise amplifier 210 is connected to an external low-noise amplifier eLNA, and the external low-noise amplifier eLNA is located outside the receiver 200. Among them, the external low-noise amplifier eLNA is configured to receive the radio signal from the antenna, and the low-noise amplifier 210 is configured to receive the radio signal output by the external low-noise amplifier eLNA and perform low-noise amplification on the received radio signal.
[0059] In some embodiments, the mixer 220 is configured to divide the radio signal low-noise amplified by the low-noise amplifier 210 into an in-phase (I) analog signal and a quadrature (Q) analog signal. The first branch 230 is configured to generate an I digital signal from the I analog signal output by the mixer 220. The second branch 240 is configured to generate a Q digital signal from the Q analog signal output by the mixer 220.
[0060] In some embodiments, as Figure 2 shown, the first branch 230 may include a first low-pass filter 231, a first analog-to-digital converter 232, and a first direct current (DC) offset calibration (DCOffsetCalibration, DCOC) module 233. Among them, the first low-pass filter 231 is configured to filter out the noise components in the I analog signal output by the mixer 220; the first analog-to-digital converter 232 is configured to perform analog-to-digital conversion on the I analog signal output by the first low-pass filter 231 to obtain an I digital signal; the first DC offset calibration module 233 is configured to perform DC calibration on the I digital signal to output the I digital signal after DC calibration.
[0061] In some embodiments, as Figure 2 shown, the second branch 240 includes a second low-pass filter 241, a second analog-to-digital converter 242, and a second DC offset calibration module 243. Among them, the second low-pass filter 241 is configured to filter out the noise components in the Q analog signal output by the mixer 220; the second analog-to-digital converter 242 is configured to perform analog-to-digital conversion on the Q analog signal output by the second low-pass filter 241 to obtain a Q digital signal; the second DC offset calibration module 243 is configured to perform DC calibration on the Q digital signal to output the Q digital signal after DC calibration.
[0062] In some embodiments, the power calculation module 250 is configured to determine a first received power of the receiver 200 according to the I-channel digital signal and / or the Q-channel digital signal. The control module 260 is configured to adjust the gain of the low-noise amplifier 210 and / or the external low-noise amplifier eLNA according to the first received power output by the power calculation module 250, or adjust the gain of the first low-pass filter in the first branch 230 and / or the second low-pass filter in the second branch 240. Exemplarily, the control module 260 may adjust the gain of the low-noise amplifier 210 and the external low-noise amplifier eLNA according to the first received power output by the power calculation module 250. Exemplarily, the control module 260 may adjust the gain of the low-noise amplifier 210 or the external low-noise amplifier eLNA according to the first received power output by the power calculation module 250. Exemplarily, the control module 260 may adjust the gain of the first low-pass filter in the first branch 230 and the second low-pass filter in the second branch 240 according to the first received power output by the power calculation module 250. Exemplarily, the control module 260 may adjust the gain of the first low-pass filter in the first branch 230 or the second low-pass filter in the second branch 240 according to the first received power output by the power calculation module 250.
[0063] It should be noted that the receiver structure provided by the embodiments of the present disclosure includes an analog part and a digital part. Among them, the analog part mainly completes signal amplification and down-conversion, and the digital part is mainly responsible for DC calibration, power calculation, and control implementation. It should be noted that there are various modulation methods for radio signals. If the modulation method of the radio signal received by the receiver is different, the gain control method of the receiver will also be different. In some embodiments, when the receiver receives a radio signal, the modulation method of the radio signal can be determined, and according to the modulation method of the radio signal, the bandwidth modes of the first low-pass filter 231 in the first branch 230 and the second low-pass filter 241 in the second branch 240 can be configured in a corresponding bandwidth configuration method, and the gain of the LNA (such as the low-noise amplifier 210 and eLNA) or the low-pass filter (such as the first low-pass filter 231 and the second low-pass filter 241) can be adjusted according to different gain control methods, so as to achieve fast automatic gain adjustment of the receiver.
[0064] For example, if the received radio signal is in QAM modulation or PSK modulation mode, the bandwidths of the I channel and the Q channel can be switched, and the amplitude difference brought by the setting difference is used to determine whether the signal amplitude comes from the in-band useful signal or the out-of-band interference signal, and the gain gear can be switched more accurately to complete the setting of the optimal signal-to-noise ratio; if the received radio signal is in BPSK modulation mode, the bandwidths of the I channel and the Q channel can be set to different modes, and the in-band useful signal or the out-of-band interference signal can be directly determined through the amplitude difference between the I channel and the Q channel.
[0065] It is also worth noting that only real number calculations are required in the embodiments of the present disclosure. This is because the spectrum band of the modulation signal is flat, so the amplitudes of the I channel and the Q channel are the same. The present disclosure also takes advantage of this feature. After simply compensating for the direct current offset (DC OFFSET), real number calculations are performed on the individual I channel and the individual Q channel, and the power statistics can be directly performed on the sampled data of the analog-to-digital converter. That is to say, the present disclosure bypasses the complex and time-consuming digital signal processing stage, and at the same time retains the high-precision detection module, the analog-to-digital converter, so that the calculation complexity can be reduced and the calculation efficiency can be improved.
[0066] The gain control method and device provided by the embodiments of the present disclosure will be described in detail below in conjunction with the embodiments.
[0067] Figure 3 It is a flowchart of the gain control method provided by the embodiments of the present disclosure. It should be noted that the gain control method can be applied to the receiver 200 described in any of the above embodiments. The structure and function of the receiver 200 can be referred to the description of the above Figure 2 illustrated embodiments and will not be elaborated here. As Figure 3 shown, the gain control method may include but is not limited to the following steps.
[0068] In step 301, the receiver is set to a first gain to receive a radio signal.
[0069] In some embodiments, the first gain may be the maximum gain, the minimum gain, or a certain gain between the maximum gain and the minimum gain. Exemplarily, the receiver can be set to the initial receiving state. For example, the receiver is set to the maximum gain to receive a radio signal, which is convenient for adjusting the gain of the receiver based on the received power, so that the signal received by the receiver can be maintained within a certain amplitude range, thereby ensuring the optimal signal-to-noise ratio of the signal reception.
[0070] Exemplarily, the receiver can be set to the minimum gain to receive a radio signal, which is convenient for adjusting the gain of the receiver based on the received power, so that the signal received by the receiver can be maintained within a certain amplitude range, thereby ensuring the optimal signal-to-noise ratio of the signal reception.
[0071] Exemplarily, a receiver may receive a radio signal at a certain gain, which may be a gain value between a maximum gain and a minimum gain, facilitating adjustment of the gain of the receiver based on the received power so that the signal received by the receiver can be maintained within a certain amplitude range, thereby ensuring an optimal signal-to-noise ratio for signal reception.
[0072] In step 302, determine the modulation mode of the radio signal.
[0073] Exemplarily, determine the modulation mode of the radio signal received by the low-noise amplifier.
[0074] It should be noted that there are multiple modulation modes for radio signals. If the modulation mode of the radio signal received by the receiver is different, the gain control mode of the receiver will also be different. In some embodiments, when the receiver receives a radio signal, the modulation mode of the radio signal can be determined, facilitating configuring the bandwidth modes of the first low-pass filter in the first branch and the second low-pass filter in the second branch according to the modulation mode of the radio signal, and then adjusting the gains of the LNA (such as a low-noise amplifier and an eLNA) or the low-pass filters (such as the first low-pass filter and the second low-pass filter) according to different gain control modes, thereby achieving fast automatic gain adjustment of the receiver.
[0075] In step 303, configure the bandwidth modes of the first low-pass filter and the second low-pass filter according to the modulation mode using a corresponding broadband configuration method.
[0076] In step 304, obtain the first received power output by the power calculation module.
[0077] Exemplarily, after configuring the bandwidth modes of the first low-pass filter and the second low-pass filter using a corresponding broadband configuration method, the first received power (i.e., the average received power of the receiver) can be calculated using the power calculation module.
[0078] In step 305, adjust the gain of the receiver according to the first received power.
[0079] Exemplarily, the gain of the low-noise amplifier and / or the external low-noise amplifier is adjusted according to the first received power, or the gain of the first low-pass filter in the first branch and / or the second low-pass filter in the second branch is adjusted. Exemplarily, the gain of the low-noise amplifier and the external low-noise amplifier can be adjusted according to the first received power output by the power calculation module. Exemplarily, the gain of the low-noise amplifier or the external low-noise amplifier can be adjusted according to the first received power output by the power calculation module. Exemplarily, the gain of the first low-pass filter in the first branch and the second low-pass filter in the second branch can be adjusted according to the first received power output by the power calculation module. Exemplarily, the gain of the first low-pass filter in the first branch 230 or the second low-pass filter in the second branch can be adjusted according to the first received power output by the power calculation module.
[0080] For example, if the received radio signal is in QAM modulation or PSK modulation mode, the bandwidths of the I channel and the Q channel can be switched, and the amplitude difference brought by the setting difference is used to determine whether the signal amplitude comes from the in-band useful signal or the out-of-band interference signal, and the gain gear is switched more accurately to complete the setting of the optimal signal-to-noise ratio; if the received radio signal is in BPSK modulation mode, the bandwidths of the I channel and the Q channel can be set to different modes, and the in-band useful signal or the out-of-band interference signal can be directly determined by the amplitude difference between the I channel and the Q channel.
[0081] It should be noted that since the spectrum band of the modulation signal is flat, the amplitudes of the I channel and the Q channel are the same. The present disclosure also takes advantage of this feature. After simply compensating for the direct current offset (DC OFFSET), real number calculations are performed on the individual I channel and the individual Q channel, and then the power statistics can be directly performed on the sampled data of the analog-to-digital converter. That is to say, the present disclosure bypasses the complex and time-consuming digital signal processing stage, and at the same time retains the high-precision detection module, the analog-to-digital converter, thereby reducing the computational complexity and improving the computational efficiency.
[0082] The method involved in the embodiments of the present disclosure may include at least one of steps 301 to 305. For example, step 302 + step 303 + step 304 + step 305 can be implemented as an independent embodiment, and step 301 + step 302 + step 303 + step 304 + step 305 can be implemented as an independent embodiment, but not limited thereto.
[0083] In some embodiments, steps 301 and 302 can be exchanged in order or executed simultaneously.
[0084] In some embodiments, step 301 is optional, and one or more of these steps can be omitted or replaced in different embodiments.
[0085] Figure 4 It is a flowchart of the gain control method provided by an embodiment of the present disclosure. It should be noted that this gain control method can be applied to the receiver 200 described in any of the above embodiments. For the structure and functions of the receiver 200, reference can be made to the description of the above Figure 2 illustrated embodiments, which will not be elaborated here. As Figure 4 illustrated, the gain control method may include but is not limited to the following steps.
[0086] In step 401, the receiver is set to a first gain to receive a radio signal.
[0087] For the optional implementation of step 401, reference can be made to Figure 3 the optional implementation of step 301 in Figure 3 and other related parts in the illustrated embodiments involved, which will not be elaborated here.
[0088] It should be noted that in some embodiments, step 401 is optional, and in different embodiments, one or more of these steps can be omitted or replaced.
[0089] In step 402, the modulation mode of the radio signal is determined.
[0090] Exemplarily, the determined modulation mode of the radio signal can be the BPSK modulation mode.
[0091] In step 403, the bandwidth of the first low-pass filter is configured to the corresponding bandwidth of the radio signal, and the bandwidth of the second low-pass filter is configured to the maximum bandwidth, using the first bandwidth configuration method.
[0092] Exemplarily, in the case where the modulation mode of the radio signal is the BPSK modulation mode, the bandwidth of the first low-pass filter can be configured to the corresponding bandwidth of the radio signal, and the bandwidth of the second low-pass filter can be configured to the maximum bandwidth. Herein, the maximum bandwidth can refer to the maximum bandwidth that the second low-pass filter can support, or can refer to the maximum bandwidth that the receiver can support. The present disclosure does not make a limitation on this here. Exemplarily, the maximum bandwidth can be preset.
[0093] In step 404, the first received power output by the power calculation module is obtained.
[0094] In some embodiments, the first received power output by the power calculation module may be the first signal received power of the first branch, and the first signal received power may be calculated based on the I-channel digital signal. Exemplarily, the I-channel digital signal of the first branch may be sampled by a first analog-to-digital converter. For example, the number of sampling points is set to 4,096, and the average value Vavg obtained by averaging the sampling data of these 4,096 sampling points is used as the DC OFFSET compensation value V. dc After that, the first signal received power of the first branch is calculated according to the following formula (1), and the calculated first signal received power is used as the first received power output by the power calculation module, which is convenient for using this first received power as a judgment basis in the subsequent operations.
[0095]
[0096] Where P rms_I is the first signal received power; V i is the sampling data of the i-th sampling point on the I-channel digital signal (i.e., the voltage data of the i-th sampling point); V dc is the DC OFFSET compensation value on the first branch. The DC OFFSET compensation value may be the average voltage value obtained by averaging the voltage data of 4,096 I-channel sampling points. It should be noted that the number of sampling points may be dynamically adjusted according to the expected gain and calibration accuracy.
[0097] In step 405, when it is determined that the first received power is greater than or equal to the first expected power maximum value, the gain gear of the receiver is adjusted to the first gain gear, and the first gain gear is less than the gain gear of the receiver before this adjustment.
[0098] Exemplarily, when obtaining the first received power output by the power calculation module, it can be determined whether the first received power is within the expected amplitude range. The upper limit value of the expected amplitude range can be the maximum value of the first expected power, and the lower limit value of the expected amplitude range can be the minimum value of the first expected power. If the first received power exceeds the expected amplitude range, for example, the first received power is greater than or equal to the maximum value of the first expected power, the gain level of the receiver can be lowered. For example, the gain level of the receiver can be reduced by one level. Exemplarily, the gain of the LPF and / or LNA in the receiver can be reduced to achieve the purpose of reducing the gain level of the receiver. Exemplarily, after reducing the gain level of the receiver, the steps of sampling the I-channel digital signal of the first branch through the first analog-to-digital converter and sampling the Q-channel digital signal of the second branch through the second analog-to-digital converter can be continued, facilitating the continuous adjustment of the gain of the receiver so that the gain of the receiver can fall within the expected gain range, where the expected gain range can be preset, for example, it can be a gain range determined by the hardware or other parameters of the receiver.
[0099] Optionally, in some embodiments, as Figure 4 shown, the gain control method may further include step 406. In step 406, it is determined that the first received power is less than or equal to the minimum value of the first expected power, and the gain level of the receiver is adjusted to the second gain level, where the second gain level is greater than the gain level of the receiver before this adjustment. Exemplarily, when obtaining the first received power output by the power calculation module, if the first received power exceeds the expected amplitude range, for example, the first received power is less than or equal to the minimum value of the first expected power, the gain level of the receiver can be increased. For example, the gain level of the receiver can be increased by one level. Exemplarily, the gain of the LPF and / or LNA in the receiver can be increased to achieve the purpose of increasing the gain level of the receiver. Exemplarily, after increasing the gain level of the receiver, the steps of sampling the I-channel digital signal of the first branch through the first analog-to-digital converter and sampling the Q-channel digital signal of the second branch through the second analog-to-digital converter can be continued, facilitating the continuous adjustment of the gain of the receiver so that the gain of the receiver can fall within the expected gain range.
[0100] Exemplarily, the gain level of the receiver can be set to 3 coarse-grained levels, namely the high level, the medium level, and the low level. Therefore, the judgment process of determining whether the first received power is within the expected amplitude range will only be executed at most twice, thus saving time and improving the gain control efficiency.
[0101] Optionally, in some embodiments, as Figure 4As shown, the gain control method may further include step 407. In step 407, it is determined that the first received power is less than the maximum value of the first expected power and greater than the minimum value of the first expected power, and the first power relationship between the first signal received power and the second signal received power is determined. Exemplarily, the first power relationship between the first signal received power and the second signal received power may refer to the first power difference between the first signal received power and the second signal received power.
[0102] Exemplarily, when it is determined that the first received power output by the power calculation module is within the expected amplitude range, that is: the first received power is less than the maximum value of the first expected power and greater than the minimum value of the first expected power, it is necessary to continue to calculate the difference between the first signal received power of the first branch and the second signal received power of the second branch to obtain the first power relationship between the first signal received power and the second signal received power, which is convenient for subsequent judgment whether the first power relationship exceeds the first expected amplitude range to determine whether the in-band useful signal is too large or the out-of-band interference signal is too large.
[0103] It should be noted that the first signal received power of the first branch can be calculated by the above formula (1). In some embodiments, the second signal received power of the second branch can sample the Q-channel digital signal through a second analog-to-digital converter. For example, the number of sampling points is set to 4096, and the average value is obtained by averaging the sampling data of these 4096 sampling points, and the obtained average value Vavg is used as the DC OFFSET compensation value V dc , and then the second signal received power of the second branch is calculated according to the following formula (2).
[0104]
[0105] where, P rms_Q is the second signal received power output by the power calculation module; V q is the sampling data of the qth sampling point on the Q-channel digital signal (i.e., the voltage data of the qth sampling point); V dc is the DC OFFSET compensation value on the second branch, and the DC OFFSET compensation value can be the average voltage value obtained by averaging the voltage data of 4096 Q-channel sampling points.
[0106] Optionally, in some embodiments, as Figure 4 shown, the gain control method may further include step 408. In step 408, it is determined that the first power relationship is within the first expected amplitude range, and the corresponding first gain difference is determined in combination with the first signal received power, and the gain of the first low-pass filter and / or the second low-pass filter is adjusted according to the first gain difference. It should be noted that in some embodiments, when the value of the first signal received power is different, the corresponding first gain difference will also be different.
[0107] Exemplarily, after obtaining the first power relationship between the first signal reception power and the second signal reception power, it can be determined whether the first power relationship is within the first expected amplitude range. If the first power relationship is within the first expected amplitude range, it can be considered that the in-band signal is too large, and the LPF gain needs to be reduced to the expected range, that is, the corresponding first gain difference can be determined in combination with the first signal reception power, and the gain of the first low-pass filter and / or the second low-pass filter can be adjusted using the first gain difference. Exemplarily, the gain of the first low-pass filter and the second low-pass filter can be adjusted using the first gain difference to reduce the gain of the first low-pass filter and the second low-pass filter to the expected range. Among them, the first expected amplitude range can be preset. For example, it can be an empirical value obtained based on a large number of experiments. Here, the present disclosure does not make any limitations on this and will not elaborate further.
[0108] Optionally, in some embodiments, as Figure 4 shown, the gain control method may further include step 409. In step 409, it is determined that the first power relationship exceeds the first expected amplitude range, the corresponding first gain difference is determined in combination with the first signal reception power, and the gain of the low-noise amplifier and / or the external low-noise amplifier is adjusted according to the first gain difference.
[0109] Exemplarily, after obtaining the first power relationship between the first signal reception power and the second signal reception power, it can be determined whether the first power relationship is within the first expected amplitude range. If the first power relationship exceeds the first expected amplitude range, it can be considered that the out-of-band signal interference is too large, and the LNA gain needs to be reduced to the expected range, that is, the corresponding first gain difference can be determined in combination with the first signal reception power, and the gain of the low-noise amplifier and / or the external low-noise amplifier can be adjusted using the first gain difference. Exemplarily, the gain of the low-noise amplifier and the external low-noise amplifier can be adjusted using the first gain difference to reduce the gain of the low-noise amplifier and the external low-noise amplifier to the expected range.
[0110] In some embodiments, as Figure 4As shown, the gain control method may further include step 410. In step 410, when the gain of the receiver is adjusted to be within the desired gain range, the bandwidth of the second low-pass filter is switched from the maximum bandwidth to the bandwidth corresponding to the radio signal. Exemplarily, for adjusting the gain of the first low-pass filter and / or the second low-pass filter, when the gain of the first low-pass filter and / or the second low-pass filter after adjustment causes the overall gain of the receiver to fall within the desired gain range, the bandwidth of the second low-pass filter is switched from the maximum bandwidth to the bandwidth corresponding to the radio signal. Exemplarily, for adjusting the gain of the low-noise amplifier and / or the external low-noise amplifier, when the gain of the low-noise amplifier and / or the external low-noise amplifier after adjustment causes the overall gain of the receiver to fall within the desired gain range, the bandwidth of the second low-pass filter is switched from the maximum bandwidth to the bandwidth corresponding to the radio signal. Exemplarily, when reducing or increasing the gain level of the receiver to make the overall gain of the receiver fall within the desired gain range, the bandwidth of the second low-pass filter is switched from the maximum bandwidth to the bandwidth corresponding to the radio signal. That is to say, after completing the gain adjustment of the receiver, it is necessary to switch the bandwidth of the second low-pass filter from the maximum bandwidth to the bandwidth corresponding to the radio signal, that is, to ensure that the bandwidths of the low-pass filters of the I channel and the Q channel are the same, to complete the signal reception process.
[0111] The method according to the embodiments of the present disclosure may include at least one of step 401 to step 410. For example, step 401 + step 402 + step 403 + step 404 + step 405 may be implemented as an independent embodiment, step 401 + step 402 + step 403 + step 404 + step 406 may be implemented as an independent embodiment, step 401 + step 402 step 403 + step 404 + step 407 + step 408 may be implemented as an independent embodiment, step 401 + step 402 + step 403 + step 404 + step 407 + step 409 may be implemented as an independent embodiment, step 401 + step 402 + step 403 + step 404 + step 405 + step 410 may be implemented as an independent embodiment, step 401 + step 402 + step 403 + step 404 + step 406 + step 410 may be implemented as an independent embodiment, step 401 + step 402 step 403 + step 404 + step 407 + step 408 + step 410 may be implemented as an independent embodiment, step 401 + step 402 + step 403 + step 404 + step 407 + step 409 + step 410 may be implemented as an independent embodiment, but not limited thereto.
[0112] In some embodiments, step 401 and step 402 may be exchanged in order or executed simultaneously.
[0113] In some embodiments, steps 406 to 410 are optional, and one or more of these steps may be omitted or replaced in different embodiments.
[0114] In some embodiments, steps 405, 407 to 410 are optional, and one or more of these steps may be omitted or replaced in different embodiments.
[0115] In some embodiments, steps 405, 406, 409 and 410 are optional, and one or more of these steps may be omitted or replaced in different embodiments.
[0116] In some embodiments, steps 405, 406, 408 and 410 are optional, and one or more of these steps may be omitted or replaced in different embodiments.
[0117] In some embodiments, steps 406 to 409 are optional, and one or more of these steps may be omitted or replaced in different embodiments.
[0118] In some embodiments, steps 405, 407 to 409 are optional, and one or more of these steps may be omitted or replaced in different embodiments.
[0119] In some embodiments, steps 405, 406 and 409 are optional, and one or more of these steps may be omitted or replaced in different embodiments.
[0120] In some embodiments, steps 405, 406 and 408 are optional, and one or more of these steps may be omitted or replaced in different embodiments.
[0121] In the embodiments of the present disclosure, when the modulation mode of the received radio signal is the BPSK modulation mode, the bandwidth of the I-channel low-pass filter can be configured as the corresponding bandwidth of the radio signal, and the bandwidth of the Q-channel low-pass filter can be configured as the maximum bandwidth. By judging the in-band useful signal or out-of-band interference signal through the amplitude difference between the I-channel and the Q-channel, the gain gear can be switched more accurately to complete the setting of the optimal signal-to-noise ratio.
[0122] Figure 5 is a flowchart of the gain control method provided by the embodiments of the present disclosure. It should be noted that the gain control method can be applied to the receiver 200 described in any of the above embodiments. For the structure and function of the receiver 200, reference can be made to the description of the embodiments shown above Figure 2 and will not be elaborated here. As Figure 5As shown, the gain control method may include but is not limited to the following steps.
[0123] In step 501, the receiver is set to a first gain to receive a radio signal.
[0124] For an alternative implementation of step 501, reference may be made to Figure 3 the alternative implementation of step 301 in Figure 3 and other related parts in the embodiments involved, which will not be elaborated here.
[0125] It should be noted that in some embodiments, step 501 is optional, and one or more of these steps may be omitted or substituted in different embodiments.
[0126] In step 502, the modulation mode of the radio signal is determined.
[0127] Exemplarily, the modulation mode of the radio signal determined may be the BPSK modulation mode.
[0128] In step 503, the bandwidth of the second low-pass filter is configured to the corresponding bandwidth of the radio signal by using a second bandwidth configuration method, and the bandwidth of the first low-pass filter is configured to the maximum bandwidth.
[0129] Exemplarily, when the modulation mode of the radio signal is the BPSK modulation mode, the bandwidth of the second low-pass filter may be configured to the corresponding bandwidth of the radio signal, and the bandwidth of the first low-pass filter may be configured to the maximum bandwidth. Herein, the maximum bandwidth may refer to the maximum bandwidth that the first low-pass filter can support, or may refer to the maximum bandwidth that the receiver can support. The present disclosure does not limit this here. Exemplarily, the maximum bandwidth may be preset.
[0130] In step 504, the first received power output by the power calculation module is obtained.
[0131] In some embodiments, the first received power output by the power calculation module may be the second signal received power of the second branch, and the second signal received power is calculated based on the Q-channel digital signal. Exemplarily, the Q-channel digital signal may be sampled by a second analog-to-digital converter. For example, the number of sampling points is set to 4096, and the average value of the sampling data of these 4096 sampling points is obtained as the DC OFFSET compensation value V dc , and then the second signal received power of the second branch is calculated according to the above formula (2), and the calculated second signal received power is used as the first received power output by the power calculation module, which is convenient for using the first received power as a judgment basis in the subsequent operations.
[0132] In step 505, it is determined that the first received power is greater than or equal to the maximum value of the second expected power, and the gain setting of the receiver is adjusted to the first gain setting, where the first gain setting is less than the gain setting of the receiver before this adjustment.
[0133] Exemplarily, when obtaining the first received power output by the power calculation module, it can be determined whether the first received power is within the expected amplitude range. The upper limit value of the expected amplitude range can be the maximum value of the second expected power, and the lower limit value of the expected amplitude range can be the minimum value of the second expected power. If the first received power exceeds the expected amplitude range, for example, the first received power is greater than or equal to the maximum value of the second expected power, the gain setting of the receiver can be lowered. For example, the gain setting of the receiver is reduced by one setting. Exemplarily, after reducing the gain setting of the receiver, the steps of sampling the I-channel digital signal of the first branch through the first analog-to-digital converter and sampling the Q-channel digital signal of the second branch through the second analog-to-digital converter can be continued, facilitating continuous adjustment of the gain of the receiver so that the gain of the receiver can fall within the expected gain range.
[0134] In some embodiments, as Figure 5 shown, the gain control method may further include step 506. In step 506, it is determined that the first received power is less than or equal to the minimum value of the second expected power, and the gain setting of the receiver is adjusted to the second gain setting, where the second gain setting is greater than the gain setting of the receiver before this adjustment. Exemplarily, when obtaining the first received power output by the power calculation module, if the first received power exceeds the expected amplitude range, for example, the first received power is less than or equal to the minimum value of the second expected power, the gain setting of the receiver can be increased. For example, the gain setting of the receiver is increased by one setting. Exemplarily, after increasing the gain setting of the receiver, the steps of sampling the I-channel digital signal of the first branch through the first analog-to-digital converter and sampling the Q-channel digital signal of the second branch through the second analog-to-digital converter can be continued, facilitating continuous adjustment of the gain of the receiver so that the gain of the receiver can fall within the expected gain range.
[0135] Exemplarily, the gain setting of the receiver can be set to 3 coarse-grained settings, namely the high setting, the medium setting, and the low setting. Therefore, the judgment process of determining whether the first received power is within the expected amplitude range will be executed at most twice, which can save time and improve the gain control efficiency.
[0136] In some embodiments, as Figure 5As shown, the gain control method may further include step 507. In step 507, it is determined that the first received power is less than the maximum value of the second expected power and greater than the minimum value of the second expected power, and a second power relationship between the first signal received power and the second signal received power is determined. Exemplarily, the second power relationship between the first signal received power and the second signal received power refers to the second power difference between the first signal received power and the second signal received power.
[0137] Exemplarily, when it is determined that the first received power output by the power calculation module is within the expected amplitude range, that is, the first received power is less than the maximum value of the second expected power and greater than the minimum value of the second expected power, it is necessary to continue to subtract the first signal received power of the first branch from the second signal received power of the second branch to obtain the second power relationship between the first signal received power and the second signal received power, which is convenient for subsequent determination of whether the second power relationship exceeds the second expected amplitude range to determine whether the in-band useful signal is too large or the out-of-band interference signal is too large.
[0138] It should be noted that the second signal received power of the second branch can be calculated by the above formula (2). In some embodiments, the first signal received power of the first branch can sample the I-channel digital signal through the first analog-to-digital converter. For example, the number of sampling points is set to 4096, and the average value is obtained by averaging the sampling data of these 4096 sampling points, and the obtained average value Vavg is used as the DC OFFSET compensation value V dc and then the first signal received power of the first branch is calculated according to the above formula (1).
[0139] In some embodiments, as Figure 5 shown, the gain control method may further include step 508. In step 508, it is determined that the second power relationship is within the second expected amplitude range, and the corresponding second gain difference is determined in combination with the second signal received power, and the gain of the first low-pass filter and / or the second low-pass filter is adjusted according to the second gain difference. It should be noted that in some embodiments, when the second signal received power takes different values, the corresponding second gain difference will also be different.
[0140] Exemplarily, after obtaining the second power relationship between the first signal reception power and the second signal reception power, it can be determined whether the second power relationship is within the second expected amplitude range. If the second power relationship is within the second expected amplitude range, it can be considered that the in-band signal is too large, and the LPF gain needs to be reduced to the expected range, that is, the corresponding second gain difference can be determined in combination with the second signal reception power, and the gain of the first low-pass filter and / or the second low-pass filter can be adjusted using the second gain difference. Exemplarily, the gain of the first low-pass filter and the second low-pass filter can be adjusted using the second gain difference to reduce the gain of the first low-pass filter and the second low-pass filter to the expected range. Among them, the second expected amplitude range can be preset. For example, it can be an empirical value obtained based on a large number of tests. Here, the present disclosure does not make any limitations on this and will not elaborate further.
[0141] In some embodiments, as Figure 5 shown, the gain control method may further include step 509. In step 509, it is determined that the second power relationship exceeds the second expected amplitude range, the corresponding second gain difference is determined in combination with the second signal reception power, and the gain of the low-noise amplifier and / or the external low-noise amplifier is adjusted according to the second gain difference.
[0142] Exemplarily, after obtaining the second power relationship between the first signal reception power and the second signal reception power, it can be determined whether the second power relationship is within the second expected amplitude range. If the second power relationship exceeds the second expected amplitude range, it can be considered that the out-of-band signal interference is too large, and the LNA gain needs to be reduced to the expected range, that is, the corresponding second gain difference can be determined in combination with the second signal reception power, and the gain of the low-noise amplifier and / or the external low-noise amplifier can be adjusted using the second gain difference. Exemplarily, the gain of the low-noise amplifier and the external low-noise amplifier can be adjusted using the second gain difference to reduce the gain of the low-noise amplifier and the external low-noise amplifier to the expected range.
[0143] In some embodiments, as Figure 5As shown, the gain control method may further include step 510. In step 510, when the gain of the receiver is adjusted to within the desired gain range, the bandwidth of the first low-pass filter is switched from the maximum bandwidth to the bandwidth corresponding to the radio signal. Exemplarily, for adjusting the gain of the first low-pass filter and / or the second low-pass filter, when the overall gain of the receiver falls within the desired gain range after adjusting the gain of the first low-pass filter and / or the second low-pass filter, the bandwidth of the first low-pass filter is switched from the maximum bandwidth to the bandwidth corresponding to the radio signal. Exemplarily, for adjusting the gain of the low-noise amplifier and / or the external low-noise amplifier, when the overall gain of the receiver falls within the desired gain range after adjusting the gain of the low-noise amplifier and / or the external low-noise amplifier, the bandwidth of the first low-pass filter is switched from the maximum bandwidth to the bandwidth corresponding to the radio signal. Exemplarily, when reducing or increasing the gain level of the receiver to make the overall gain of the receiver fall within the desired gain range, the bandwidth of the first low-pass filter is switched from the maximum bandwidth to the bandwidth corresponding to the radio signal. That is to say, after completing the gain adjustment of the receiver, it is necessary to switch the bandwidth of the first low-pass filter from the maximum bandwidth to the bandwidth corresponding to the radio signal, that is, to ensure that the bandwidths of the low-pass filters of the I channel and the Q channel are the same, to complete the signal reception process.
[0144] The method according to the embodiments of the present disclosure may include at least one of step 501 to step 510. For example, step 501 + step 502 + step 503 + step 504 + step 505 may be implemented as an independent embodiment, step 501 + step 502 + step 503 + step 504 + step 506 may be implemented as an independent embodiment, step 501 + step 502 + step 503 + step 504 + step 507 + step 508 may be implemented as an independent embodiment, step 501 + step 502 + step 503 + step 504 + step 507 + step 509 may be implemented as an independent embodiment, step 501 + step 502 + step 503 + step 504 + step 505 + step 510 may be implemented as an independent embodiment, step 501 + step 502 + step 503 + step 504 + step 506 + step 510 may be implemented as an independent embodiment, step 501 + step 502 + step 503 + step 504 + step 507 + step 508 + step 510 may be implemented as an independent embodiment, step 501 + step 502 + step 503 + step 504 + step 507 + step 509 + step 510 may be implemented as an independent embodiment, but not limited thereto.
[0145] In some embodiments, step 501 and step 502 may be exchanged in order or executed simultaneously.
[0146] In some embodiments, steps 506 to 510 are optional, and in different embodiments, one or more of these steps may be omitted or replaced.
[0147] In some embodiments, steps 505, 507 to 510 are optional, and in different embodiments, one or more of these steps may be omitted or replaced.
[0148] In some embodiments, steps 505, 506, 509 and 510 are optional, and in different embodiments, one or more of these steps may be omitted or replaced.
[0149] In some embodiments, steps 505, 506, 508 and 510 are optional, and in different embodiments, one or more of these steps may be omitted or replaced.
[0150] In some embodiments, steps 506 to 509 are optional, and in different embodiments, one or more of these steps may be omitted or replaced.
[0151] In some embodiments, steps 505, 507 to 509 are optional, and in different embodiments, one or more of these steps may be omitted or replaced.
[0152] In some embodiments, steps 505, 506 and 509 are optional, and in different embodiments, one or more of these steps may be omitted or replaced.
[0153] In some embodiments, steps 505, 506 and 508 are optional, and in different embodiments, one or more of these steps may be omitted or replaced.
[0154] In the embodiments of the present disclosure, when the modulation mode of the received radio signal is the BPSK modulation mode, the bandwidth of the Q-channel low-pass filter can be configured as the corresponding bandwidth of the radio signal, the bandwidth of the I-channel low-pass filter can be configured as the maximum bandwidth, and the in-band useful signal or out-of-band interference signal can be judged by the amplitude difference between the I-channel and the Q-channel. Furthermore, the gain gear can be switched more accurately to complete the setting of the optimal signal-to-noise ratio.
[0155] It should be noted that, compared with the traditional solution in the related art that requires filtering out-of-band signals through a digital filter to distinguish in-band and interference signals, in the embodiments of the present disclosure, by setting the analog filters of the I path and the Q path to different bandwidths and then taking the difference, the difference between the two signals is the magnitude of the out-of-band interference energy. Through this solution, the magnitudes of the in-band signal and the out-of-band can be quickly calculated. In addition, in the embodiments of the present disclosure, the gain of the LPF and the LNA is dynamically judged and adjusted through the difference between the two signals, making the adjustment effect better.
[0156] Figure 6 It is a flowchart of the gain control method provided by the embodiments of the present disclosure. It should be noted that this gain control method can be applied to the receiver 200 described in any of the above embodiments. Among them, the structure and functions of the receiver 200 can be referred to the description of the above Figure 2 illustrated embodiments, which will not be elaborated here. As Figure 6 shown, this gain control method may include but is not limited to the following steps.
[0157] In step 601, the receiver is set to the first gain to receive radio signals.
[0158] The optional implementation of step 601 can be referred to the optional implementation of step 301 in Figure 3 and other related parts in the embodiments involved in Figure 3 , which will not be elaborated here.
[0159] It should be noted that in some embodiments, step 601 is optional, and in different embodiments, one or more of these steps can be omitted or replaced.
[0160] In step 602, the modulation mode of the radio signal is determined.
[0161] In the embodiments of the present disclosure, determining the modulation mode of the radio signal can be the QAM modulation mode or the PSK modulation mode.
[0162] In step 603, the bandwidths of the first low-pass filter and the second low-pass filter are both configured to the corresponding bandwidth of the radio signal by using the third bandwidth configuration method.
[0163] Exemplarily, when the modulation mode of the radio signal is the QAM modulation mode or the PSK modulation mode, the bandwidths of the first low-pass filter and the second low-pass filter can both be configured to the corresponding bandwidth of the radio signal.
[0164] In step 604, the first received power output by the power calculation module is obtained.
[0165] In some embodiments, the first received power output by the power calculation module may be calculated based on the I-channel digital signal and the Q digital signal. Exemplarily, the I-channel digital signal may be sampled by a first analog-to-digital converter. For example, the number of sampling points is set to 4,096. The power calculation module calculates the average of the sampling data of these 4,096 sampling points, and the obtained average value Vavg is used as the I-channel DC OFFSET compensation value V DC_I ; the Q-channel digital signal is sampled by a second analog-to-digital converter. For example, the number of sampling points is set to 4,096. The power calculation module calculates the average of the sampling data of these 4,096 sampling points, and the obtained average value Vavg is used as the Q-channel DC OFFSET compensation value V DC_Q . The first received power is calculated according to the following formula (3).
[0166]
[0167] Where P rms is the first received power output by the power calculation module; V I_n is the sampling data of the nth sampling point on the I-channel digital signal (i.e., the voltage data of the nth sampling point on the I-channel digital signal); V Q_n is the sampling data of the nth sampling point on the Q-channel digital signal (i.e., the voltage data of the nth sampling point on the Q-channel digital signal). It should be noted that the number of sampling points can be dynamically adjusted according to the expected gain and calibration accuracy.
[0168] In step 605, when it is determined that the first received power is greater than or equal to the maximum value of the third expected power, the gain level of the receiver is adjusted to the first gain level, and the first gain level is lower than the gain level of the receiver before this adjustment.
[0169] Exemplarily, when obtaining the first received power output by the power calculation module, it can be determined whether the first received power is within the expected amplitude range. The upper limit value of the expected amplitude range can be the maximum value of the third expected power, and the lower limit value of the expected amplitude range can be the minimum value of the third expected power. If the first received power exceeds the expected amplitude range, for example, the first received power is greater than or equal to the maximum value of the third expected power, the gain level of the receiver can be lowered. For example, the gain level of the receiver is reduced by one level. Exemplarily, after reducing the gain level of the receiver, the steps of sampling the I-channel digital signal of the first branch through the first analog-to-digital converter and sampling the Q-channel digital signal of the second branch through the second analog-to-digital converter can be continued, so as to continue to adjust the gain of the receiver so that the gain of the receiver can fall within the gain expected range.
[0170] In some embodiments, such as Figure 6As shown, the gain control method may further include step 606. In step 606, when it is determined that the first received power is less than or equal to the minimum value of the third expected power, the gain level of the receiver is adjusted to the second gain level, and the second gain level is greater than the gain level of the receiver before this adjustment. Exemplarily, when obtaining the first received power output by the power calculation module, if the first received power exceeds the expected amplitude range, for example, the first received power is less than or equal to the minimum value of the third expected power, the gain level of the receiver can be increased. For example, the gain level of the receiver is increased by one level. Exemplarily, after increasing the gain level of the receiver, the steps of sampling the I-channel digital signal of the first branch through the first analog-to-digital converter and sampling the Q-channel digital signal of the second branch through the second analog-to-digital converter can be continued, facilitating continuous adjustment of the gain of the receiver so that the gain of the receiver can fall within the gain expected range.
[0171] Exemplarily, the gain level of the receiver can be set to 3 coarse-grained levels, namely the high level, the medium level, and the low level. Therefore, the judgment process of determining whether the first received power is within the expected amplitude range will be executed at most twice, thus saving time and improving the gain control efficiency.
[0172] In some embodiments, as Figure 6 shown, the gain control method may further include step 607. In step 607, when it is determined that the first received power is less than the maximum value of the third expected power and greater than the minimum value of the third expected power, the bandwidths of both the first low-pass filter and the second low-pass filter are switched from the corresponding bandwidth of the radio signal to the maximum bandwidth.
[0173] Exemplarily, when it is determined that the first received power output by the power calculation module is within the expected amplitude range, that is, the first received power is less than the maximum value of the third expected power and greater than the minimum value of the third expected power, it is necessary to switch the bandwidths of the I-channel and the Q-channel, that is, switch the bandwidth of the first low-pass filter from the corresponding bandwidth of the radio signal to the maximum bandwidth, and switch the bandwidth of the second low-pass filter from the corresponding bandwidth of the radio signal to the maximum bandwidth, facilitating subsequent determination of whether the signal amplitude comes from the in-band useful signal or the out-of-band interference signal based on the amplitude difference brought by the difference before and after the switch.
[0174] In some embodiments, as Figure 6 shown, the gain control method may further include step 608. In step 608, the second received power output by the power calculation module is obtained, and the second received power is calculated based on the I-channel digital signal of the first branch and the Q-channel digital signal of the second branch after the bandwidths of both the first low-pass filter and the second low-pass filter are switched to the maximum bandwidth.
[0175] Exemplarily, after switching the bandwidths of both the first low-pass filter and the second low-pass filter to the maximum bandwidth, the power calculation module can calculate the current average received power of the receiver (i.e., the second received power). Exemplarily, the I-channel digital signal is sampled by the first analog-to-digital converter. For example, the number of sampling points is set to 4096. The power calculation module calculates the average of the sampling data of these 4096 sampling points, and the obtained average value Vavg is used as the I-channel DC OFFSET compensation value V DC_I ; the Q-channel digital signal is sampled by the second analog-to-digital converter. For example, the number of sampling points is set to 4096. The power calculation module calculates the average of the sampling data of these 4096 sampling points, and the obtained average value Vavg is used as the Q-channel DC OFFSET compensation value V DC_Q . The second received power is calculated according to the above formula (3), so that the second received power calculated by the power calculation module after the bandwidths of the I-channel and Q-channel analog filters are switched to the maximum bandwidth can be obtained.
[0176] In some embodiments, as Figure 6 shown, the gain control method may further include step 609. In step 609, the gain of the receiver is adjusted according to the first received power and the second received power. Exemplarily, the gain of the low-noise amplifier and / or the external low-noise amplifier is adjusted according to the first received power and the second received power, or the gain of the first low-pass filter in the first branch and / or the second low-pass filter in the second branch is adjusted.
[0177] Exemplarily, when it is determined that the first received power is less than the third expected power maximum value and greater than the third expected power minimum value (i.e., the first received power is within the corresponding expected amplitude range), the amplitude difference brought by the difference before and after the bandwidth switching of the I-channel and Q-channel can be used to determine whether the signal amplitude comes from the in-band useful signal or the out-of-band interference signal, that is: according to the first received power (the average received power of the receiver before the bandwidth switching of the I-channel and Q-channel) and the second received power (the average received power of the receiver after the bandwidth switching of the I-channel and Q-channel), the gain of the low-noise amplifier and / or the external low-noise amplifier is adjusted, or the gain of the first low-pass filter in the first branch and / or the second low-pass filter in the second branch is adjusted.
[0178] Optionally, in some embodiments, as Figure 6 shown, step 609 may specifically include step 6091. In step 6091, a third power relationship between the first received power and the second received power is determined. Exemplarily, the third power relationship between the first received power and the second received power refers to the third power difference between the first received power and the second received power.
[0179] In some embodiments, such as Figure 6 shown, step 609 may further include step 6092. In step 6092, it is determined that the third power relationship is within the third expected amplitude range, and in combination with the first received power, the corresponding third gain difference is determined, and the gain of the first low-pass filter and / or the second low-pass filter is adjusted according to the third gain difference. It should be noted that in some embodiments, when the value of the first received power is different, the corresponding third gain difference will also be different.
[0180] Exemplarily, when obtaining the third power relationship between the first received power and the second received power, it can be judged whether the third power relationship is within the third expected amplitude range. If the third power relationship is within the third expected amplitude range, it can be considered that the in-band signal is too large and the LPF gain needs to be reduced to the expected range, that is, the corresponding third gain difference can be determined in combination with the first received power, and the gain of the first low-pass filter and / or the second low-pass filter is adjusted using the third gain difference. Exemplarily, the gain of the first low-pass filter and the second low-pass filter can be adjusted using the third gain difference to reduce the gain of the first low-pass filter and the second low-pass filter to the expected range. Among them, the third expected amplitude range can be preset. For example, it can be an empirical value obtained from a large number of tests. Here, the present disclosure does not make any limitations in this regard and will not elaborate further.
[0181] In some embodiments, such as Figure 6 shown, step 609 may further include step 6093. In step 6093, it is determined that the third power relationship exceeds the third expected amplitude range, and in combination with the first received power, the corresponding third gain difference is determined, and the gain of the low-noise amplifier and / or the external low-noise amplifier is adjusted according to the third gain difference.
[0182] Exemplarily, when obtaining the third power relationship between the first received power and the second received power, it can be judged whether the third power relationship is within the third expected amplitude range. If the third power relationship exceeds the third expected amplitude range, it can be considered that the out-of-band signal interference is too large and the LNA gain needs to be reduced to the expected range, that is, the corresponding third gain difference can be determined in combination with the first received power, and the gain of the low-noise amplifier and / or the external low-noise amplifier is adjusted using the third gain difference. Exemplarily, the gain of the low-noise amplifier and the external low-noise amplifier can be adjusted using the third gain difference to reduce the gain of the low-noise amplifier and the external low-noise amplifier to the expected range.
[0183] In some embodiments, such as Figure 6As shown, the gain control method may further include step 610. In step 610, when the gain of the receiver is adjusted to be within the desired gain range, the bandwidths of both the first low-pass filter and the second low-pass filter are switched from the maximum bandwidth to the bandwidth corresponding to the radio signal. Exemplarily, for adjusting the gain of the first low-pass filter and / or the second low-pass filter, when the gain of the first low-pass filter and / or the second low-pass filter after adjustment causes the overall gain of the receiver to fall within the desired gain range, the bandwidths of both the first low-pass filter and the second low-pass filter are switched from the maximum bandwidth to the bandwidth corresponding to the radio signal. Exemplarily, for adjusting the gain of the low-noise amplifier and / or the external low-noise amplifier, when the gain of the low-noise amplifier and / or the external low-noise amplifier after adjustment causes the overall gain of the receiver to fall within the desired gain range, the bandwidths of both the first low-pass filter and the second low-pass filter are switched from the maximum bandwidth to the bandwidth corresponding to the radio signal. Exemplarily, when reducing or increasing the gain level of the receiver to make the overall gain of the receiver fall within the desired gain range, the bandwidths of both the first low-pass filter and the second low-pass filter are switched from the maximum bandwidth to the bandwidth corresponding to the radio signal. That is to say, after the gain adjustment of the receiver is completed, it is necessary to switch the bandwidths of the first low-pass filter and the second low-pass filter from the maximum bandwidth to the bandwidth corresponding to the radio signal respectively, that is, to ensure that the bandwidths of the low-pass filters for the I channel and the Q channel are consistent with the bandwidth corresponding to the radio signal to complete the signal reception process.
[0184] The method involved in the embodiments of the present disclosure may include at least one of steps 601 to 610. For example, step 601 + step 602 + step 603 + step 604 + step 605 can be implemented as an independent embodiment, step 601 + step 602 + step 603 + step 604 + step 606 can be implemented as an independent embodiment, step 601 + step 602 + step 603 + step 604 + step 607 + step 608 + step 609 can be implemented as an independent embodiment, step 601 + step 602 + step 603 + step 604 + step 607 + step 608 + step 6091 + step 6092 can be implemented as an independent embodiment, step 601 + step 602 + step 603 + step 604 + step 607 + step 608 + step 6091 + step 6093 can be implemented as an independent embodiment, step 601 + step 602 + step 603 + step 604 + step 605 + step 610 can be implemented as an independent embodiment, step 601 + step 602 + step 603 + step 604 + step 606 + step 610 can be implemented as an independent embodiment, step 601 + step 602 + step 603 + step 604 + step 607 + step 608 + step 609 + step 610 can be implemented as an independent embodiment, step 601 + step 602 + step 603 + step 604 + step 607 + step 608 + step 6091 + step 6092 + step 610 can be implemented as an independent embodiment, step 601 + step 602 + step 603 + step 604 + step 607 + step 608 + step 6091 + step 6093 + step 610 can be implemented as an independent embodiment, but not limited thereto.
[0185] In some embodiments, step 601 and step 602 can be exchanged in order or executed simultaneously.
[0186] In some embodiments, steps 606 to 610 are optional, and one or more of these steps can be omitted or substituted in different embodiments.
[0187] In some embodiments, steps 605, 607 to 610 are optional, and one or more of these steps can be omitted or substituted in different embodiments.
[0188] In some embodiments, steps 605, 606 and 610 are optional, and one or more of these steps can be omitted or substituted in different embodiments.
[0189] In some embodiments, steps 605, 606, 6093, and 610 are optional, and one or more of these steps may be omitted or replaced in different embodiments.
[0190] In some embodiments, steps 605, 606, 6092, and 610 are optional, and one or more of these steps may be omitted or replaced in different embodiments.
[0191] In some embodiments, steps 606 to 609 are optional, and one or more of these steps may be omitted or replaced in different embodiments.
[0192] In some embodiments, steps 605, 607 to 609 are optional, and one or more of these steps may be omitted or replaced in different embodiments.
[0193] In some embodiments, steps 605 and 606 are optional, and one or more of these steps may be omitted or replaced in different embodiments.
[0194] In some embodiments, steps 605, 606, and 6093 are optional, and one or more of these steps may be omitted or replaced in different embodiments.
[0195] In some embodiments, steps 605, 606, and 6092 are optional, and one or more of these steps may be omitted or replaced in different embodiments.
[0196] In an embodiment of the present disclosure, when the modulation mode of the received radio signal is the QAM modulation mode or the PSK modulation mode, the bandwidths of the I-channel and Q-channel analog filters can be switched, and the amplitude difference brought by the difference before and after the switching is used to determine whether the signal amplitude comes from the in-band useful signal or the out-of-band interference signal. Furthermore, the gain gear can be switched more accurately to complete the setting of the optimal signal-to-noise ratio.
[0197] Figure 7 is a block diagram of the gain control device provided by the embodiment of the present disclosure. It should be noted that this gain control device can be applied to the receiver 200 described in any of the above embodiments. Among them, the structure and function of the receiver 200 can be referred to the description of the above Figure 2 illustrated embodiment, which will not be elaborated here. As Figure 7 shown, the gain control device 700 may include: a setting unit 701, a determination unit 702, a bandwidth configuration unit 703, a power acquisition unit 704, and an adjustment unit 705.
[0198] Among them, the setting unit 701 is used to set the receiver to the first gain to receive radio signals. It should be noted that in some embodiments, the setting unit 701 is optional, and in different embodiments, this setting unit can be omitted or replaced.
[0199] The determining unit 702 is used to determine the modulation mode of the radio signal.
[0200] The bandwidth configuration unit 703 is used to configure the bandwidth modes of the first low-pass filter and the second low-pass filter according to the modulation mode by using the corresponding broadband configuration method.
[0201] The power acquisition unit 704 is used to acquire the first received power output by the power calculation module.
[0202] The adjustment unit 705 is used to adjust the gain of the receiver according to the first received power.
[0203] In some embodiments, the bandwidth configuration unit 703 is specifically used for: when the modulation mode is binary phase shift keying (BPSK) modulation mode, configuring the bandwidth of the first low-pass filter to the corresponding bandwidth of the radio signal by using the first bandwidth configuration method, and configuring the bandwidth of the second low-pass filter to the maximum bandwidth.
[0204] In some embodiments, the first received power is the first signal received power of the first branch calculated by the power calculation module according to the I-channel digital signal; among them, the adjustment unit 705 is specifically used for: determining that the first received power is greater than or equal to the maximum value of the first expected power, adjusting the gain gear of the receiver to the first gain gear, and the first gain gear is less than the gain gear of the receiver before this adjustment; or, determining that the first received power is less than or equal to the minimum value of the first expected power, adjusting the gain gear of the receiver to the second gain gear, and the second gain gear is greater than the gain gear of the receiver before this adjustment.
[0205] In some embodiments, the adjustment unit 705 is further used for: determining that the first received power is less than the maximum value of the first expected power and greater than the minimum value of the first expected power, determining the first power relationship between the first signal received power and the second signal received power; determining that the first power relationship is within the first expected amplitude range, determining the corresponding first gain difference in combination with the first signal received power, and adjusting the gain of the first low-pass filter and / or the second low-pass filter according to the first gain difference; or, determining that the first power relationship exceeds the first expected amplitude range, determining the corresponding first gain difference in combination with the first signal received power, and adjusting the gain of the low-noise amplifier and / or the external low-noise amplifier according to the first gain difference.
[0206] In some embodiments, the bandwidth configuration unit 703 is further configured to: when the gain of the receiver is adjusted to be within the desired gain range, switch the bandwidth of the second low-pass filter from the maximum bandwidth to the bandwidth corresponding to the radio signal.
[0207] In some embodiments, the bandwidth configuration unit 703 is specifically configured to: when the modulation mode is the BPSK modulation mode, configure the bandwidth of the second low-pass filter to the bandwidth corresponding to the radio signal by using the second bandwidth configuration method, and configure the bandwidth of the first low-pass filter to the maximum bandwidth.
[0208] In some embodiments, the first received power is the second signal received power of the second branch calculated by the power calculation module based on the Q-channel digital signal; the adjustment unit 705 is specifically configured to: determine that the first received power is greater than or equal to the maximum value of the second desired power, and adjust the gain level of the receiver to the first gain level, where the first gain level is less than the gain level of the receiver before this adjustment; or, determine that the first received power is less than or equal to the minimum value of the second desired power, and adjust the gain level of the receiver to the second gain level, where the second gain level is greater than the gain level of the receiver before this adjustment.
[0209] In some embodiments, the adjustment unit 705 is further configured to: determine that the first received power is less than the maximum value of the second desired power and greater than the minimum value of the second desired power, and determine the second power relationship between the first signal received power and the second signal received power; determine that the second power relationship is within the second desired amplitude range, determine the corresponding second gain difference in combination with the second signal received power, and adjust the gain of the first low-pass filter and / or the second low-pass filter according to the second gain difference; or, determine that the second power relationship exceeds the second desired amplitude range, determine the corresponding second gain difference in combination with the second signal received power, and adjust the gain of the low-noise amplifier and / or the external low-noise amplifier according to the second gain difference.
[0210] In some embodiments, the bandwidth configuration unit 703 is further configured to: when the gain of the receiver is adjusted to be within the desired gain range, switch the bandwidth of the first low-pass filter from the maximum bandwidth to the bandwidth corresponding to the radio signal.
[0211] In some embodiments, the bandwidth configuration unit 703 is specifically configured to: when the modulation mode is the quadrature amplitude modulation (QAM) modulation mode or the phase shift keying (PSK) modulation mode, configure the bandwidths of both the first low-pass filter and the second low-pass filter to the bandwidth corresponding to the radio signal by using the third bandwidth configuration method.
[0212] In some embodiments, the first received power output by the power calculation module is calculated based on the I-channel digital signal and the Q-channel digital signal; specifically, the adjustment unit 705 is configured to: determine that the first received power is greater than or equal to the maximum value of the third expected power, and adjust the gain level of the receiver to the first gain level, where the first gain level is less than the gain level of the receiver before this adjustment; or, determine that the first received power is less than or equal to the minimum value of the third expected power, and adjust the gain level of the receiver to the second gain level, where the second gain level is greater than the gain level of the receiver before this adjustment.
[0213] In some embodiments, the adjustment unit 705 is further configured to: determine that the first received power is less than or equal to the maximum value of the third expected power and greater than or equal to the minimum value of the third expected power, and switch the bandwidths of both the first low-pass filter and the second low-pass filter from the bandwidth corresponding to the radio signal to the maximum bandwidth; obtain the second received power output by the power calculation module, where the second received power is calculated based on the I-channel digital signal of the first branch and the Q-channel digital signal of the second branch after the bandwidths of both the first low-pass filter and the second low-pass filter are switched to the maximum bandwidth; and adjust the gain of the receiver according to the first received power and the second received power.
[0214] In some embodiments, the adjustment unit 705 is specifically configured to: determine the third power relationship between the first received power and the second received power; determine that the third power relationship is within the third expected amplitude range, determine the corresponding third gain difference in combination with the first received power, and adjust the gain of the first low-pass filter and / or the second low-pass filter according to the third gain difference; or, determine that the third power relationship exceeds the third expected amplitude range, determine the corresponding third gain difference in combination with the first received power, and adjust the gain of the low-noise amplifier and / or the external low-noise amplifier according to the third gain difference.
[0215] In some embodiments, the bandwidth configuration unit 703 is further configured to: when the gain of the receiver is adjusted to within the gain expected range, switch the bandwidths of both the first low-pass filter and the second low-pass filter from the maximum bandwidth to the bandwidth corresponding to the radio signal.
[0216] Regarding the device in the above embodiments, the specific manners in which each module performs operations have been described in detail in the embodiments related to the method, and will not be elaborated herein.
[0217] Figure 8It is a schematic structural diagram of the receiver 800 proposed in the embodiments of the present disclosure. The receiver 800 can be a receiver on a communication device, such as a receiver on a network device, or a receiver on a terminal (such as a user equipment, etc.). The receiver may include a Radio Frequency Front-End (RFFE), a radio frequency chip (also called a radio frequency integrated circuit, RFIC), and a baseband modulation and demodulation chip (also called a baseband integrated circuit, baseband integrated circuit, BBIC). Radio signals enter the radio frequency front-end from the antenna. After passing through the switch and the off-chip filter, they are gated to the corresponding RFIC port. Then, down-conversion is performed inside the RFIC to convert the signal from the radio frequency domain to the baseband domain. Before the signal is converted into a digital signal by the ADC, filtering is performed to avoid aliasing and interference with normal information demodulation. After the ADC, the signal is converted into a digital signal and subjected to a series of signal processing such as filtering, calibration, and downsampling. Then, it is sent to the Serdes (deserializer), filtered again, and the power is statistically analyzed, and finally demodulation is completed. Finally, the data is transmitted to the electronic computing processor (AP), and after a series of processing, it is distributed to devices such as a display and a speaker.
[0218] In some embodiments, the radio frequency front-end is close to the antenna. The radio frequency front-end is the most core part of the wireless communication system. The radio frequency front-end may include, but is not limited to, at least one of a power amplifier (PA), a duplexer (Duplexer and Diplexer), a radio frequency switch (Switch), a filter (Filter), a low-noise amplifier (LNA), etc. Exemplarily, the power amplifier is used to amplify the radio frequency signal in the transmit channel; the duplexer is used to isolate the transmit and receive signals; the radio frequency switch is used to switch between receiving and transmitting radio frequency signals and between different frequency bands; the filter is used to retain the signals within a specific frequency band and filter out the signals outside the specific frequency band; the low-noise amplifier is used to amplify the radio frequency signal in the receive channel.
[0219] In some embodiments, the radio frequency chip may include, but is not limited to, a low-noise amplifier 801, a mixer 802, a first low-pass filter 803, a first analog-to-digital converter 804, a first DC offset calibration module 805, a second low-pass filter 806, a second analog-to-digital converter 807, and a second DC offset calibration module 808. Exemplarily, the radio frequency chip may also include a power calculation module ( Figure 8 not shown in the figure), and may also include a control module ( Figure 8(not shown in the figure). In some embodiments, the radio frequency chip may further include one or more processors 809. The processor 809 may be a general-purpose processor or a dedicated processor, etc. For example, it may be a baseband processor or a central processing unit. The baseband processor may be used to process communication protocols and communication data, and the central processing unit may be used to control a communication device (such as a base station, a baseband chip, a terminal device, a terminal device chip, a DU or a CU, etc.), execute programs, and process program data. Exemplarily, the power calculation module and / or the control module may be integrated on the processor 809. Optionally, the receiver 800 is used to execute any of the above methods. Optionally, one or more processors 809 are used to call instructions to cause the receiver 800 to execute any of the above methods.
[0220] In some embodiments, the receiver 800 further includes one or more memories 810 for storing data. Optionally, all or part of the memories 810 may also be outside the receiver 800. In an alternative embodiment, the receiver 800 may include one or more interface circuits 811. Optionally, the interface circuit 811 is connected to the memory 810. The interface circuit 811 can be used to receive data from the memory 810 or other devices, and can be used to send data to the memory 810 or other devices. For example, the interface circuit 811 can read the data stored in the memory 810 and send the data to the processor 809.
[0221] The structure of the receiver 800 described in the above embodiments may not be limited by Figure 8 . The receiver can be an independent device or can be part of a larger device. For example, the receiver can: 1) an independent integrated circuit IC, or chip, or, chip system or subsystem; (2) a collection of one or more ICs. Optionally, the above IC collection may also include storage components for storing data and programs; (3) an ASIC, such as a modem; (4) a module that can be embedded in other devices; (5) a receiver, a terminal device, a smart terminal device, a cellular phone, a wireless device, a handheld device, a mobile unit, a vehicle-mounted device, a network device, a cloud device, an artificial intelligence device, etc.; (6) others, etc.
[0222] Figure 9 is a schematic structural diagram of a communication device 900 proposed in an embodiment of the present disclosure. The communication device 900 may include a receiver 901. The receiver 901 may be the receiver described in any of the above embodiments, and the receiver is configured to execute any of the above methods. The structure and function of the receiver may refer to the structure and function of the receiver described in any of the above embodiments, which will not be elaborated here.
[0223] In each of the embodiments such as virtual devices, physical devices, chips, etc., the various modules and / or components described can be arbitrarily combined or separated according to circumstances. Optionally, some or all of the steps can also be executed collaboratively by multiple modules and / or components, which is not limited herein.
[0224] The present disclosure also provides a storage medium. Instructions are stored on the storage medium, and when the instructions run on the receiver 800, the receiver 800 is caused to execute any of the above methods. Optionally, the storage medium is an electronic storage medium. Optionally, the storage medium is a computer-readable storage medium, but is not limited thereto, and it can also be other device-readable storage mediums. Optionally, the storage medium can be a non-transitory storage medium, but is not limited thereto, and it can also be a transitory storage medium.
[0225] The present disclosure also provides a program product. When the program product is executed by the receiver 800, the receiver 800 is caused to execute any of the above methods. Optionally, the program product is a computer program product.
[0226] The present disclosure also provides a computer program. When it runs on a computer, the computer is caused to execute any of the above methods.
[0227] Those skilled in the art will readily conceive of other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present invention, which follow the general principles of the present invention and include known common knowledge or conventional technical means in the technical field not disclosed in this disclosure. The specification and examples are only to be considered as exemplary, and the true scope and spirit of the present invention are pointed out by the following claims.
[0228] It should be understood that the present invention is not limited to the exact structures already described and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present invention is only limited by the appended claims.
Claims
1. A receiver, characterized in that, Comprising: A low-noise amplifier configured to perform low-noise amplification on a received radio signal; A mixer configured to divide the radio signal low-noise amplified by the low-noise amplifier into an I-channel analog signal and a Q-channel analog signal; A first branch configured to generate an I-channel digital signal from the I-channel analog signal output by the mixer; A second branch configured to generate a Q-channel digital signal from the Q-channel analog signal output by the mixer; A power calculation module configured to determine a first received power of the receiver based on the I-channel digital signal and / or the Q-channel digital signal; A control module configured to adjust the gain of the low-noise amplifier according to the first received power output by the power calculation module, or to adjust the gain of a first low-pass filter in the first branch and / or a second low-pass filter in the second branch; 2. The receiver according to claim 1, wherein, The low-noise amplifier is connected to an external low-noise amplifier located outside the receiver, wherein the external low-noise amplifier is configured to receive a radio signal from an antenna, and the low-noise amplifier is further configured to receive the radio signal output by the external low-noise amplifier; wherein, The control module adjusts the gains of the low-noise amplifier and the external low-noise amplifier according to the first received power output by the power calculation module.
3. The receiver according to claim 1 or 2, characterized in that, The first branch includes the first low-pass filter, a first analog-to-digital converter, and a first DC offset calibration module, wherein, The first low-pass filter is configured to filter out noise components in the I-channel analog signal output by the mixer; The first analog-to-digital converter is configured to perform analog-to-digital conversion on the I-channel analog signal output by the first low-pass filter to obtain an I-channel digital signal; The first DC offset calibration module is configured to perform DC calibration on the I-channel digital signal to output an I-channel digital signal after DC calibration.
4. The receiver according to claim 1, wherein, The second branch includes the second low-pass filter, a second analog-to-digital converter, and a second DC offset calibration module, wherein, The second low-pass filter is configured to filter out noise components in the Q-channel analog signal output by the mixer; The second analog-to-digital converter is configured to perform analog-to-digital conversion on the Q-channel analog signal output by the second low-pass filter to obtain a Q-channel digital signal; The second DC offset calibration module is configured to perform DC calibration on the Q-channel digital signal to output a Q-channel digital signal after DC calibration.
5. A gain control method, characterized in that, The method is applied to the receiver according to any one of claims 1 to 4, and the method includes: Determining the modulation mode of the radio signal; Configuring the bandwidth modes of the first low-pass filter and the second low-pass filter in a corresponding broadband configuration mode according to the modulation mode; Obtaining the first received power output by the power calculation module; Adjusting the gain of the receiver according to the first received power.
6. The method according to claim 5, wherein According to the modulation method, configuring the bandwidth modes of the first low-pass filter and the second low-pass filter by using corresponding broadband configuration methods includes: When the modulation method is binary phase shift keying (BPSK) modulation, configuring the bandwidth of the first low-pass filter to the corresponding bandwidth of the radio signal and configuring the bandwidth of the second low-pass filter to the maximum bandwidth by using the first bandwidth configuration method.
7. The method according to claim 6, wherein The first received power is the first signal received power of the first branch calculated by the power calculation module according to the digital signal of the I channel; wherein, adjusting the gain of the receiver according to the first received power includes: Determining that the first received power is greater than or equal to the maximum value of the first expected power, and adjusting the gain level of the receiver to a first gain level, where the first gain level is less than the gain level of the receiver before this adjustment; or, Determining that the first received power is less than or equal to the minimum value of the first expected power, and adjusting the gain level of the receiver to a second gain level, where the second gain level is greater than the gain level of the receiver before this adjustment.
8. The method according to claim 7, wherein The method further includes: Determining that the first received power is less than the maximum value of the first expected power and greater than the minimum value of the first expected power, and determining the first power relationship between the first signal received power and the second signal received power; Determining that the first power relationship is within the first expected amplitude range, determining a corresponding first gain difference in combination with the first signal received power, and adjusting the gain of the first low-pass filter and / or the second low-pass filter according to the first gain difference; or, Determining that the first power relationship exceeds the first expected amplitude range, determining a corresponding first gain difference in combination with the first signal received power, and adjusting the gain of the low-noise amplifier and / or the external low-noise amplifier according to the first gain difference.
9. The method according to claim 7 or 8, characterized in that The method further includes: When the gain of the receiver falls within the gain expectation range, switching the bandwidth of the second low-pass filter from the maximum bandwidth to the corresponding bandwidth of the radio signal.
10. The method according to claim 5, characterized in that According to the modulation method, configuring the bandwidth modes of the first low-pass filter and the second low-pass filter by using corresponding broadband configuration methods includes: When the modulation method is BPSK modulation, configuring the bandwidth of the second low-pass filter to the corresponding bandwidth of the radio signal and configuring the bandwidth of the first low-pass filter to the maximum bandwidth by using the second bandwidth configuration method.
11. The method according to claim 10, wherein The first received power is the second signal received power of the second branch calculated by the power calculation module according to the digital signal of the Q channel; wherein, adjusting the gain of the receiver according to the first received power includes: Determining that the first received power is greater than or equal to the maximum value of the second expected power, and adjusting the gain level of the receiver to a first gain level, where the first gain level is less than the gain level of the receiver before this adjustment; or, Determine that the first received power is less than or equal to the minimum value of the second expected power, and adjust the gain level of the receiver to the second gain level, where the second gain level is greater than the gain level of the receiver before this adjustment.
12. The method according to claim 11, wherein The method further includes: Determine that the first received power is less than the maximum value of the second expected power and greater than the minimum value of the second expected power, and determine the second power relationship between the first signal received power and the second signal received power; Determine that the second power relationship is within the second expected amplitude range, determine the corresponding second gain difference in combination with the second signal received power, and adjust the gain of the first low-pass filter and / or the second low-pass filter according to the second gain difference; or, Determine that the second power relationship exceeds the second expected amplitude range, determine the corresponding second gain difference in combination with the second signal received power, and adjust the gain of the low-noise amplifier and / or the external low-noise amplifier according to the second gain difference.
13. The method according to claim 11 or 12, characterized in that, The method further includes: When the gain of the receiver falls within the gain expectation range, switch the bandwidth of the first low-pass filter from the maximum bandwidth to the bandwidth corresponding to the radio signal.
14. The method according to claim 5, wherein The configuring the bandwidth modes of the first low-pass filter and the second low-pass filter according to the modulation method by using the corresponding wideband configuration method includes: When the modulation method is the quadrature amplitude modulation (QAM) modulation method or the phase shift keying (PSK) modulation method, configure the bandwidths of both the first low-pass filter and the second low-pass filter to the bandwidth corresponding to the radio signal by using the third bandwidth configuration method.
15. The method according to claim 14, wherein The first received power is calculated based on the I-channel digital signal and the Q-channel digital signal; wherein, the adjusting the gain of the receiver according to the first received power includes: Determine that the first received power is greater than or equal to the maximum value of the third expected power, and adjust the gain level of the receiver to the first gain level, where the first gain level is less than the gain level of the receiver before this adjustment; or, Determine that the first received power is less than or equal to the minimum value of the third expected power, and adjust the gain level of the receiver to the second gain level, where the second gain level is greater than the gain level of the receiver before this adjustment.
16. The method according to claim 15, wherein The method further includes: Determine that the first received power is less than the maximum value of the third expected power and greater than the minimum value of the third expected power, and switch the bandwidths of both the first low-pass filter and the second low-pass filter from the bandwidth corresponding to the radio signal to the maximum bandwidth; Obtain the second received power output by the power calculation module, where the second received power is calculated based on the I-channel digital signal of the first branch and the Q-channel digital signal of the second branch after the bandwidths of both the first low-pass filter and the second low-pass filter are switched to the maximum bandwidth; Adjust the gain of the receiver according to the first received power and the second received power.
17. The method according to claim 16, wherein The adjusting the gain of the receiver according to the first received power and the second received power includes: Determine a third power relationship between the first received power and the second received power; Determine that the third power relationship is within a third expected amplitude range, determine a corresponding third gain difference in combination with the first received power, and adjust the gain of the first low-pass filter and / or the second low-pass filter according to the third gain difference; or, Determine that the third power relationship exceeds the third expected amplitude range, determine a corresponding third gain difference in combination with the first received power, and adjust the gain of the low-noise amplifier and / or the external low-noise amplifier according to the third gain difference.
18. The method according to claim 15 or 17, characterized in that The method further includes: When the gain of the receiver falls within the gain expected range, switch the bandwidths of both the first low-pass filter and the second low-pass filter from the maximum bandwidth to the bandwidth corresponding to the radio signal.
19. A gain control device, characterized in that, The apparatus is applied to the receiver according to any one of claims 1 to 4, and the apparatus includes: A determination unit, configured to determine the modulation mode of a radio signal; A bandwidth configuration unit, configured to configure the bandwidth modes of the first low-pass filter and the second low-pass filter by using a corresponding broadband configuration mode according to the modulation mode; A power acquisition unit, configured to acquire the first received power output by the power calculation module; An adjustment unit, configured to adjust the gain of the receiver according to the first received power.
20. A receiver, characterized in that, Comprising: One or more processors; Wherein, the receiver is configured to execute the gain control method according to any one of claims 5-18.
21. A communication device, characterized in that, Comprising: The receiver according to any one of claims 1-4, wherein the receiver is configured to execute the gain control method according to any one of claims 5-18.
22. A storage medium, the storage medium stores instructions, characterized in that, When the instruction runs on the receiver, the receiver is caused to execute the gain control method according to any one of claims 5-18.
23. A computer program product, comprising a computer program, characterized in that, The computer program, when executed by the receiver, implements the steps of the gain control method according to any one of claims 5-18.