Automatic gain control method and device for multi-channel receiver

By generating test signals in multi-channel receivers and locking the optimal gain, adjusting channel gain differences, the problem of gain inconsistency and saturation in multi-channel receivers is solved, and gain consistency and stability are achieved.

CN118300624BActive Publication Date: 2024-09-13GUANGZHOU RUNXIN INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410513067.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-26
Publication Date
2024-09-13
Estimated Expiration
2044-04-26

AI Technical Summary

Technical Problem

Existing multi-channel receivers have gain differences between channels in gain control, resulting in inconsistent output locking amplitudes. Single-channel receivers cannot be simply applied to multi-channel receivers, and there is a risk of channel saturation caused by excessive gain.

Method used

By generating test signals and giving the same gain on multiple channels, obtain the power value of each channel, lock the gain corresponding to the maximum power value as the optimal gain, adjust according to the gain difference value, monitor signal changes in real time and repeat adjustments to ensure Channel gain consistency and avoidance of saturation.

Benefits of technology

It achieves a high degree of consistency in multi-channel receiver gains, avoids the risk of channel saturation, and improves receiver performance and stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118300624B
    Figure CN118300624B
Patent Text Reader

Abstract

The present invention provides a multi-channel receiver automatic gain control method and device, which are applied to the multi-channel receiver. The method comprises: generating a test signal internally, and respectively giving the same gain to the signal power of the test signal through multiple channels, and correspondingly obtaining multiple first power values; respectively obtaining first signals input from the outside by multiple channels, sequentially obtaining second power values ​​of the multiple first signals, and taking the gain corresponding to the maximum second power value as the first optimal gain; locking the first optimal gain, respectively obtaining first difference values ​​between the multiple first power values ​​and the maximum second power value, and performing gain adjustment for the corresponding receiving channel according to the multiple first difference values ​​and the first optimal gain; the present invention can eliminate the gain error of the multi-channel receiver and achieve the consistency of multi-channel gain control at the same time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electronic technology, in particular to a gain control method and device for a receiver in the field of integration, and in particular to an automatic gain control method and device for a multi-channel receiver. Background Art

[0002] The signal processed by the receiver comes from outside the receiver. The strength of the signal power depends on the size of the signal source and the attenuation of the propagation path. Interference outside the signal often falls into the receiving band for some reason. Therefore, the size of the signal processed by the receiver at different times may vary greatly. In order to achieve better performance, the gain of the receiver needs to be able to be automatically controlled according to the size of the processed signal, that is, the automatic gain control (AGC) system.

[0003] Most of the existing related technologies use single-channel automatic gain control, while multi-channel receivers need to maintain gain consistency between channels. In order to avoid asynchronous gain control of each channel, a single-channel receiver cannot be simply used for a multi-channel receiver. To this end, the existing related technologies use multi-channel unified RF attenuation control and intermediate frequency gain control to achieve consistency in gain control of each channel. However, the gain differences between channels cannot be eliminated, resulting in different output locking amplitudes of each channel at the same input amplitude. Summary of the invention

[0004] The purpose of the present invention is to address the deficiencies of the above-mentioned prior art and to propose a multi-channel receiver automatic gain control method and device, which can eliminate the gain error of the multi-channel receiver and achieve consistency of multi-channel gain control.

[0005] In a first aspect, the present invention provides a multi-channel receiver automatic gain control method, which is applied to a multi-channel receiver. The multi-channel receiver automatic gain control method includes:

[0006] A test signal is generated internally, and the same gain is given to the signal power of the test signal through multiple channels respectively, so as to obtain multiple first power values ​​accordingly;

[0007] Respectively obtain first signals input from the outside by multiple channels, sequentially obtain second power values ​​of the multiple first signals, and use the gain corresponding to the maximum second power value as the first optimal gain;

[0008] The first optimal gain is locked, first difference values ​​between a plurality of first power values ​​and the maximum second power value are respectively obtained, and gain adjustment is performed for a corresponding receiving channel according to the plurality of first difference values ​​and the first optimal gain.

[0009] The present invention adopts the method of giving the same gain to the power value of the internally generated test signal in the corresponding channel, and taking the gain corresponding to the maximum power value among multiple external signal powers as the optimal gain. Based on the optimal gain and the difference between multiple channels and the maximum power value, the gain is adjusted for the corresponding channel, which can eliminate the gain difference between different channels, so that the multi-channel receiver can maintain a high consistency of the gain of each channel during operation.

[0010] Further, after the gain adjustment is performed for the corresponding receiving channel, the method further includes:

[0011] After gain adjustment is performed on each receiving channel, multiple first adjustment results are obtained, and based on the multiple first adjustment results, the second signal of the external input is monitored in real time. If the maximum signal change in the second signal is greater than a threshold, the first optimal gain and the adjustment gain are relocked.

[0012] The present invention detects the change of the maximum signal of the external input in real time, and repeats the step of gain adjustment for abnormal situations to perform multi-channel gain adjustment again, thereby avoiding the risk of channel saturation caused by excessive gain in any channel.

[0013] Further, the relocking of the first optimal gain and the adjustment gain comprises:

[0014] The third power values ​​of the multiple channels at the current moment are respectively obtained, and the fourth power values ​​of the third signals input from the outside to the multiple channels are respectively obtained, and the first adjustment result of the channel corresponding to the maximum fourth power value is taken as the second optimal gain, and the second difference values ​​between the multiple third power values ​​and the maximum fourth power value are respectively obtained, and the gain is adjusted for the corresponding receiving channel according to the multiple second difference values ​​and the second optimal gain.

[0015] Further, performing gain adjustment for a corresponding receiving channel according to the plurality of second difference values ​​and the second optimal gain includes:

[0016] The multiple second difference values ​​are sequentially added to the second optimal gain to obtain a re-adjustment result of the corresponding receiving channel gain.

[0017] Further, the step of performing gain adjustment for a corresponding receiving channel according to the plurality of first difference values ​​and the first optimal gain includes:

[0018] The multiple first difference values ​​are sequentially added to the first optimal gain to obtain a first adjustment result of the corresponding receiving channel gain.

[0019] In a second aspect, the present invention provides a multi-channel receiver automatic gain control device, comprising: a receiving channel body, a gain control body and a test device body; wherein,

[0020] The test device body is used to generate a test signal internally;

[0021] The receiving channel body is used to give the same gain to the signal power of the test signal respectively, obtain multiple outputs, and transmit the multiple outputs to the gain control body; the value of the gain is controlled by the gain control body;

[0022] The gain control body is further used to perform power quantization on multiple outputs of the receiving channel body respectively, and obtain multiple first power values ​​accordingly;

[0023] The test device body is further used to control the switch to switch to the internal or external signal input port, so that the test signal or multiple first signals are obtained through the receiving channel body;

[0024] The gain control body is also used to sequentially obtain the second power values ​​of multiple first signals, and use the gain corresponding to the maximum second power value as the first optimal gain, lock the first optimal gain, and respectively obtain the first difference values ​​between the multiple first power values ​​and the maximum second power value, and perform gain adjustment for the corresponding receiving channel according to the multiple first difference values ​​and the first optimal gain.

[0025] Further, after the gain adjustment is performed for the corresponding receiving channel, the method further includes:

[0026] After gain adjustment is performed on each receiving channel, multiple first adjustment results are obtained, and based on the multiple first adjustment results, the second signal of the external input is monitored in real time. If the maximum signal change in the second signal is greater than a threshold, the first optimal gain and the adjustment gain are relocked.

[0027] Further, the relocking of the first optimal gain and the adjustment gain comprises:

[0028] The third power values ​​of the multiple channels at the current moment are respectively obtained, and the fourth power values ​​of the third signals input from the outside to the multiple channels are respectively obtained, and the first adjustment result of the channel corresponding to the maximum fourth power value is taken as the second optimal gain, and the second difference values ​​between the multiple third power values ​​and the maximum fourth power value are respectively obtained, and the gain is adjusted for the corresponding receiving channel according to the multiple second difference values ​​and the second optimal gain.

[0029] Further, performing gain adjustment for a corresponding receiving channel according to the plurality of second difference values ​​and the second optimal gain includes:

[0030] The multiple second difference values ​​are sequentially added to the second optimal gain to obtain a re-adjustment result of the corresponding receiving channel gain.

[0031] Further, the step of performing gain adjustment for a corresponding receiving channel according to the plurality of first difference values ​​and the first optimal gain includes:

[0032] The multiple first difference values ​​are sequentially added to the first optimal gain to obtain a first adjustment result of the corresponding receiving channel gain. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 is a flow chart of a multi-channel receiver automatic gain control method provided by this embodiment;

[0034] Figure 2 This is a schematic diagram of the structure of a multi-channel receiver automatic gain control device provided by this embodiment;

[0035] Figure 3 is a circuit structure diagram of a channel receiver automatic gain control device provided by this embodiment;

[0036] Figure 4 It is a flowchart of another automatic gain control method for a multi-channel receiver provided by this embodiment. DETAILED DESCRIPTION

[0037] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0038] It is worth noting that in order to overcome the differences in multi-channel gain in the existing multi-channel receiver automatic gain control and the gain consistency required by the multi-channel receiver, the present invention provides a multi-channel receiver automatic gain control method and device, which are used to eliminate the gain error of the multi-channel receiver, improve the consistency of multi-channel gain control, and avoid the risk of channel saturation caused by excessive gain in any channel. In order to better illustrate the technical solution of the present invention, it will be described in detail from the following embodiments.

[0039] Example 1

[0040] See also Figure 1 , is a flow chart of a multi-channel receiver automatic gain control method provided by this embodiment, which is applied to a multi-channel receiver. The multi-channel receiver automatic gain control method includes: steps S11 to S13, specifically:

[0041] Step S11: Generate a test signal internally, and give the same gain to the signal power of the test signal through multiple channels, so as to obtain multiple first power values ​​accordingly.

[0042] It is worth noting that the first power value is the power value corresponding to the test signal after channel gain, the second power value is the power value of the signal when it is externally input to the channel, the third power value is the power corresponding to the channel output at the current moment after automatic gain in the real-time monitoring stage, and the fourth power value is the power value of the signal when it is externally input to the channel in the real-time monitoring stage after automatic gain.

[0043] In some embodiments, a multi-channel receiver generates a test signal internally and transmits the test signal into multiple channels. Each channel has the same gain as the input test signal. Each channel outputs an analog signal and converts the analog signal into a digital signal for output. The signal power of the multiple digital signals is quantified to obtain multiple power values.

[0044] Step S12: respectively obtain first signals input from the outside of multiple channels, sequentially obtain second power values ​​of the multiple first signals, and use the gain corresponding to the maximum second power value as the first optimal gain.

[0045] It is worth noting that the first signal is the signal input from the outside to the channel, and the second signal is the signal input from the outside to the channel in the real-time monitoring stage after automatic gain. The first optimal gain is the gain corresponding to the maximum value of the power value of the signal when it is input from the outside to the channel during the initial gain adjustment process; the second optimal gain is the maximum value of the power value of the signal when it is input from the outside to the channel during the real-time monitoring stage after automatic gain, corresponding to the first adjustment result of the channel.

[0046] In some embodiments, each channel has an external input signal, that is, the external input signal of each channel is different.

[0047] In some embodiments, multiple external signals are acquired and respectively input into corresponding channels, each channel outputs a corresponding analog signal, and the multiple analog signals are respectively converted into digital signals and then signal power quantization is performed to obtain multiple power values.

[0048] In some embodiments, a maximum value is selected from a plurality of quantized power values, and the gain of a channel corresponding to the maximum value is taken as an optimal gain; the optimal gain is used to perform gain adjustment on a plurality of channels.

[0049] Step S13: lock the first optimal gain, respectively obtain first difference values ​​between multiple first power values ​​and the maximum second power value, and perform gain adjustment for the corresponding receiving channel according to the multiple first difference values ​​and the first optimal gain.

[0050] It is worth noting that the first difference value is the difference between the multiple first power values ​​and the maximum power value corresponding to the first optimal gain during the first gain adjustment process; the second difference value is the difference between the multiple third power values ​​and the maximum power value corresponding to the second optimal gain during the second gain adjustment process.

[0051] In some embodiments, the first difference values ​​may be respectively expressed as:

[0052] Gos1 = Pm_test - P1_test;

[0053] Gos2 = Pm_test - P2_test;

[0054] …

[0055] GosN = Pm_test - PN_test;

[0056] Among them, Pm_test is the maximum second power value, PN_test is the first power value corresponding to the Nth channel, and GosN is the first difference value corresponding to the Nth channel.

[0057] In some embodiments, performing gain adjustment for a corresponding receiving channel according to a plurality of first difference values ​​and a first optimal gain includes: sequentially adding the plurality of first difference values ​​to the first optimal gain to obtain a first adjustment result of the gain of the corresponding receiving channel.

[0058] In some embodiments, the first adjustment results corresponding to the multiple channels can be respectively expressed as:

[0059] Gain1 = Gainm + Gos1;

[0060] Gain2 = Gainm + Gos2;

[0061] …

[0062] GainN=Gainm+GosN;

[0063] Among them, Gainm is the first optimal gain, GosN is the first difference value corresponding to the Nth channel, and GainN is the first adjustment result corresponding to the Nth channel.

[0064] It is worth noting that the above steps are used to find the maximum second power value, and automatic gain control is performed based on the corresponding receiving channel to avoid the possibility of channel saturation due to excessive channel gain in any channel of the multi-channel receiver; and through the actual channel gain correction in the self-test stage, the multi-channel receiver maintains a high degree of consistency in the gain of each channel during operation.

[0065] In some embodiments, after performing gain adjustment for the corresponding receiving channel, the process includes: performing gain adjustment for each receiving channel, obtaining multiple first adjustment results, and monitoring the external input second signal in real time based on the multiple first adjustment results, and if the maximum signal change in the second signal is greater than a threshold, re-locking the first optimal gain and the adjusted gain.

[0066] This embodiment detects the change of the maximum signal of the external input in real time, and repeats the gain adjustment steps for abnormal situations to perform multi-channel gain adjustment again, thereby avoiding the risk of channel saturation due to excessive gain in any channel.

[0067] In some embodiments, relocking the first optimal gain and adjusting the gain includes: respectively obtaining third power values ​​of multiple channels at the current moment, and respectively obtaining fourth power values ​​of third signals input from the outside to multiple channels, taking the first adjustment result of the channel corresponding to the maximum fourth power value as the second optimal gain, respectively obtaining second difference values ​​between the multiple third power values ​​and the maximum fourth power value, and performing gain adjustment for the corresponding receiving channel according to the multiple second difference values ​​and the second optimal gain.

[0068] In some embodiments, gain adjustment is performed for a corresponding receiving channel according to the plurality of second difference values ​​and the second optimal gain, including: sequentially adding the plurality of second difference values ​​to the second optimal gain to obtain a re-adjustment result of the gain of the corresponding receiving channel.

[0069] In some embodiments, after completing the locking of the multi-channel gain, the input enters the monitoring phase. If no abnormal situation occurs, it indicates that the multi-channel receiver is in a locked state, and outputs the automatic gain control lock mark AGCLock = 1. When the power quantization unit of the gain control body detects that the external maximum signal changes more than expected, it outputs AGCLock = 0, re-enters the locking phase, and the power quantizer re-quantizes the current outputs of multiple channels separately to obtain a new set of power values, and repeats the locking process. By real-time monitoring of the power of each channel, the risk of excessive gain in any channel of the multi-channel receiver during operation, which may lead to channel saturation, can be avoided.

[0070] Example 2

[0071] See also Figure 2, is a schematic structural diagram of a multi-channel receiver automatic gain control device provided by this embodiment, including: a receiving channel body 21, a gain control body 22 and a test device body 23.

[0072] It is worth noting that the receiving channel is a channel, and the receiving channel body includes multiple channels, that is, multiple receiving channels, which are used to receive internally generated test signals or externally transmitted signals.

[0073] The test device body 23 is used to generate a test signal internally.

[0074] The receiving channel body is used to give the same gain to the signal power of the test signal respectively, obtain multiple outputs, and transmit the multiple outputs to the gain control body 22; the numerical value of the gain is controlled by the gain control body 22.

[0075] The gain control body 22 is also used to perform power quantization on multiple outputs of the receiving channel body 21 respectively, and obtain multiple first power values ​​accordingly.

[0076] The test device body 23 is also used to control the switch to switch to the internal or external signal input port, so that the test signal or multiple first signals are obtained through the receiving channel body 21.

[0077] In some embodiments, the test device body 23 controls a switchable switch to connect a test signal generating device that generates a test signal internally to multiple channels of the receiving channel body 21 in sequence, and transmits the test signal to the receiving channel body 21. Multiple channels in the receiving channel body 21 give the same gain to the test signal and transmit the output result to the gain control body 22. After the gain control body 22 receives the multiple output results transmitted by the receiving channel body 21, it simultaneously performs power quantization on multiple output structures to obtain multiple first power values.

[0078] In some embodiments, the test device body 23 controls the switchable switch to connect the input ports of multiple first signals generated externally to the multiple channels of the receiving channel body 21 one-to-one, and transmit the multiple first signals to the receiving channel body 21. The multiple channels in the receiving channel body 21 respectively output the output results of the multiple first signals, and transmit the output results to the gain control body 22. After the gain control body 22 receives the multiple output results transmitted by the receiving channel body 21, it simultaneously performs power quantization on the multiple output structures to obtain multiple second power values.

[0079] The gain control body 22 is also used to obtain the second power values ​​of multiple first signals in sequence, and take the gain corresponding to the maximum second power value as the first optimal gain, lock the first optimal gain, and respectively obtain the first difference values ​​between the multiple first power values ​​and the maximum second power value, and adjust the gain for the corresponding receiving channel according to the multiple first difference values ​​and the first optimal gain.

[0080] In some embodiments, the receiving channel body 21 includes N receiving channels; each receiving channel includes at least: a programmable gain amplifier (PGA) and an analog-to-digital converter (ADC); the programmable gain amplifier implements a variable gain function, and its gain size is controlled by the output of the AGC algorithm unit. The analog-to-digital converter converts all analog signals output by the programmable gain amplifier into digital signals, and is used to quantify the signal power size.

[0081] In some embodiments, the analog-to-digital converter converts the analog signal output by the programmable gain amplifier into a digital signal and then outputs Dout1, Dout2, ..., DoutN.

[0082] In some embodiments, the gain control body 22 includes: multiple power quantization units and AGC algorithm units. Among them, one power quantization module performs power quantization on the output power of one receiving channel, and the quantized value is sent to the AGC algorithm unit. The AGC algorithm unit is the center of gain control, controlling the test signal generating device and multiple switchable switch units of the test device body 23, and each programmable gain amplifier of the receiving channel body 21.

[0083] In some embodiments, the RX1 power quantization module performs power quantization on the output power of the receiving channel RX1, the RX2 power quantization module performs power quantization on the output power of the receiving channel RX2... The RXN power quantization module performs power quantization on the output power of the receiving channel RXN, and the quantized value is sent to the AGC algorithm unit.

[0084] In some embodiments, the AGC algorithm unit controls the test signal generating device and the switchable switch units S1 , S2 . . . SN of the test device body 23 , and each programmable gain amplifier of the receiving channel body 21 .

[0085] In some embodiments, the test device body 23 includes a test signal generating device and multiple switchable switch units; wherein the test signal generating device can generate a test signal; each switchable switch unit can control the input connection of a corresponding receiving channel, and can switch to the input port of the test signal or external signal.

[0086] In some embodiments, the test signal generating device can generate a test signal Vtest, the switch unit S1 can control the receiving channel RX1 input to be connected to the test signal Vtest or the external normal signal input port Vin1, the switch unit S2 can control the receiving channel RX2 input to be connected to the test signal Vtest or the external normal signal input port Vin2... The switch unit SN can control the receiving channel RXN input to be connected to the test signal Vtest or the external normal signal input port VinN. Figure 3 , is a circuit structure diagram of an automatic gain control device for a channel receiver provided in this embodiment.

[0087] Based on the structure of the above channel receiver automatic gain control device, the role of each submodule can be clearly divided.

[0088] In some embodiments, the test signal generating device is used to generate a test signal internally.

[0089] In some embodiments, multiple channels are used to respectively provide the same gain to the signal power of the test signal.

[0090] In some embodiments, a plurality of power quantization units are used to obtain a plurality of corresponding powers output by the receiving channel body 21, and correspondingly obtain a plurality of first power values.

[0091] In some embodiments, a plurality of switchable switch units are used to switch the switch to the outside so that a first signal input from the outside is acquired through a plurality of channels; or to switch the switch to the test signal so that the plurality of channels acquire the test signal respectively.

[0092] In some embodiments, the multiple power quantization units are further used to sequentially obtain the second power values ​​of the multiple first signals.

[0093] In some embodiments, the gain control body 22 is used to take the gain corresponding to the maximum second power value as the first optimal gain, and lock the first optimal gain, respectively obtain the first difference values ​​between multiple first power values ​​and the maximum second power value, and adjust the gain for the corresponding receiving channel according to the multiple first difference values ​​and the first optimal gain.

[0094] In some embodiments, performing gain adjustment for a corresponding receiving channel according to a plurality of first difference values ​​and a first optimal gain includes: sequentially adding the plurality of first difference values ​​to the first optimal gain to obtain a first adjustment result of the gain of the corresponding receiving channel.

[0095] In some embodiments, the main working process of the multi-channel receiving automatic gain control device can be divided into a self-test phase, a locking phase and a monitoring phase. Figure 4, is a flow chart of another automatic gain control method for a multi-channel receiver provided in this embodiment.

[0096] exist Figure 4 In the process, the maximum output power Pm is found by comparison in the locking stage, and the automatic gain control is performed based on the corresponding receiving channel RXm to avoid the possibility of channel saturation due to excessive channel gain in any channel of the multi-channel receiver. Then, through the actual channel gain correction in the self-test stage, the multi-channel receiver maintains a high degree of consistency in the gain of each channel during operation. Finally, through real-time monitoring of the power quantization unit of each channel in the monitoring stage, the risk of channel saturation due to excessive gain in any channel of the multi-channel receiver during operation is avoided.

[0097] In some embodiments, during the self-test phase, the power value of the internal test signal is mainly obtained. Specifically, the automatic AGC algorithm unit controls the test signal generating device to generate a test signal of Vtest, and controls the switchable switch units S1, S2...SN so that the receiving channels RX1, RX2...RXN are all connected to the same Vtest, and the programmable gain amplifiers of RX1, RX2...RXN are set to the same typical test gain configuration. Under the same input power and the same gain configuration of the receiving channels RX1, RX2...RXN, the power quantizer quantizes the test outputs of RX1, RX2...RXN respectively, obtains the quantized power P1_test, P2_test...PN_test, and stores the quantized power value of the self-test phase.

[0098] In some embodiments, the locking phase mainly obtains the external input signal, and based on this, the power value of the internal test signal is combined to perform gain correction on multiple channels. Specifically, the AGC algorithm unit controls the switchable switch units S1, S2...SN so that the receiving channels RX1, RX2...RXN are respectively connected to their respective external inputs Vin1, Vin2...VinN, and the power quantizer quantizes the normal outputs of RX1, RX2...RXN respectively to obtain P1, P2...PN, and compares the channel RXm with the maximum power value and its output power value Pm. The AGC algorithm unit first locks the optimal gain Gainm of the RXm channel according to the AGC control target, and then the AGC algorithm unit calculates the difference between the output power P1_test, P2_test...PN_test of each channel in the self-test phase and the output power Pm_test of the RXm channel to obtain the channel gain correction values ​​Gos1, Gos2...GosN.

[0099] In some embodiments, the channel gain correction values ​​of multiple channels can be respectively expressed as:

[0100] Gos1 = Pm_test - P1_test;

[0101] Gos2 = Pm_test - P2_test;

[0102] …

[0103] GosN=Pm_test-PN_test.

[0104] In some embodiments, the AGC algorithm unit completes the gain setting of each current receiving channel through gain correction, that is, the correction of multiple channels can be expressed as:

[0105] Gain1 = Gainm + Gos1;

[0106] Gain2 = Gainm + Gos2;

[0107] …

[0108] GainN=Gainm+GosN。

[0109] At this point, the optimal gain lock of the multi-channel receiver is completed, and the automatic gain control lock flag AGCLock = 1 is output. On the one hand, the maximum power value Pm is found through the comparison in the locking stage, and the automatic gain control is performed based on the corresponding receiving channel RXm to avoid the possibility of channel saturation due to excessive channel gain in any channel of the multi-channel receiver. On the other hand, through the actual channel gain correction in the self-test stage, the multi-channel receiver maintains a high degree of consistency in the gain of each channel during operation.

[0110] After completing the locking of the multi-channel gain, the monitoring phase is entered, which is mainly the continuous monitoring after the first correction. If no abnormal situation occurs, it indicates that the multi-channel receiver is in a locked state and outputs AGCLock = 1. When the power quantization unit of the gain control body 22 detects that the external maximum signal changes more than expected, it outputs AGCLock = 0 and re-enters the locking phase. The power quantizer re-quantizes the current outputs of RX1, RX2...RXN respectively to obtain a new set of P1, P2...PN, and repeats the locking process. Due to the real-time monitoring of the power quantization unit of each channel, the risk of excessive gain in any channel of the multi-channel receiver during operation, which may lead to channel saturation, can be avoided.

[0111] In some embodiments, after performing gain adjustment for the corresponding receiving channel, the process includes: performing gain adjustment for each receiving channel, obtaining multiple first adjustment results, and monitoring the external input second signal in real time based on the multiple first adjustment results, and if the maximum signal change in the second signal is greater than a threshold, re-locking the first optimal gain and the adjusted gain.

[0112] In some embodiments, relocking the first optimal gain and adjusting the gain includes: respectively obtaining third power values ​​of multiple channels at the current moment, and respectively obtaining fourth power values ​​of third signals input from the outside to multiple channels, taking the first adjustment result of the channel corresponding to the maximum fourth power value as the second optimal gain, respectively obtaining second difference values ​​between the multiple third power values ​​and the maximum fourth power value, and performing gain adjustment for the corresponding receiving channel according to the multiple second difference values ​​and the second optimal gain.

[0113] In some embodiments, gain adjustment is performed for a corresponding receiving channel according to the plurality of second difference values ​​and the second optimal gain, including: sequentially adding the plurality of second difference values ​​to the second optimal gain to obtain a re-adjustment result of the gain of the corresponding receiving channel.

[0114] In this embodiment, the power value of the internally generated test signal is given the same gain in the corresponding channel, and the gain corresponding to the maximum power value among the multiple external signal powers is taken as the optimal gain. Based on the optimal gain and the difference between the multiple channels and the maximum power value, the gain is adjusted for the corresponding channel, which can eliminate the gain difference between different channels, so that the multi-channel receiver can maintain a high degree of consistency in the gain of each channel during operation.

[0115] Those skilled in the art will appreciate that the embodiments of the present application may also provide computer program products. Therefore, the present application may adopt the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, the present application may adopt the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program codes.

[0116] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0117] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0118] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0119] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A multi-channel receiver automatic gain control method, applied to a multi-channel receiver, characterized in that: The automatic gain control method of a multi-channel receiver includes: A test signal is generated internally, and the same gain is given to the signal power of the test signal through multiple channels respectively, so as to obtain multiple first power values ​​accordingly; Respectively obtain first signals input from the outside by multiple channels, sequentially obtain second power values ​​of the multiple first signals, and use the gain corresponding to the maximum second power value as the first optimal gain; The first optimal gain is locked, first difference values ​​between a plurality of first power values ​​and the maximum second power value are respectively obtained, and gain adjustment is performed for a corresponding receiving channel according to the plurality of first difference values ​​and the first optimal gain.

2. The multi-channel receiver automatic gain control method according to claim 1, characterized in that: After the gain adjustment is performed for the corresponding receiving channel, the method further comprises: After gain adjustment is performed on each receiving channel, multiple first adjustment results are obtained, and based on the multiple first adjustment results, the second signal of the external input is monitored in real time. If the maximum signal change in the second signal is greater than a threshold, the first optimal gain and the adjustment gain are relocked.

3. The multi-channel receiver automatic gain control method as claimed in claim 2, characterized in that: The relocking of the first optimal gain and the adjustment of the gain include: The third power values ​​of the multiple channels at the current moment are respectively obtained, and the fourth power values ​​of the third signals input from the outside to the multiple channels are respectively obtained, and the first adjustment result of the channel corresponding to the maximum fourth power value is taken as the second optimal gain, and the second difference values ​​between the multiple third power values ​​and the maximum fourth power value are respectively obtained, and the gain is adjusted for the corresponding receiving channel according to the multiple second difference values ​​and the second optimal gain.

4. The multi-channel receiver automatic gain control method as claimed in claim 3, characterized in that: The step of adjusting the gain of the corresponding receiving channel according to the plurality of second difference values ​​and the second optimal gain includes: The multiple second difference values ​​are sequentially added to the second optimal gain to obtain a re-adjustment result of the corresponding receiving channel gain.

5. The multi-channel receiver automatic gain control method according to claim 1, characterized in that: The step of adjusting the gain of a corresponding receiving channel according to the plurality of first difference values ​​and the first optimal gain includes: The multiple first difference values ​​are sequentially added to the first optimal gain to obtain a first adjustment result of the corresponding receiving channel gain.

6. A multi-channel receiver automatic gain control device, characterized in that: include: A receiving channel body, a gain control body and a test device body; wherein, The test device body is used to generate a test signal internally; The receiving channel body is used to give the same gain to the signal power of the test signal respectively, obtain multiple outputs, and transmit the multiple outputs to the gain control body; the value of the gain is controlled by the gain control body; The gain control body is further used to perform power quantization on multiple outputs of the receiving channel body respectively, and obtain multiple first power values ​​accordingly; The test device body is further used to control the switch to switch to the internal or external signal input port, so that the test signal or multiple first signals are obtained through the receiving channel body; The gain control body is also used to sequentially obtain the second power values ​​of multiple first signals, and use the gain corresponding to the maximum second power value as the first optimal gain, lock the first optimal gain, and respectively obtain the first difference values ​​between the multiple first power values ​​and the maximum second power value, and perform gain adjustment for the corresponding receiving channel according to the multiple first difference values ​​and the first optimal gain.

7. The automatic gain control device for a multi-channel receiver as claimed in claim 6, characterized in that: After the gain adjustment is performed for the corresponding receiving channel, the method further comprises: After gain adjustment is performed on each receiving channel, multiple first adjustment results are obtained, and based on the multiple first adjustment results, the second signal of the external input is monitored in real time. If the maximum signal change in the second signal is greater than a threshold, the first optimal gain and the adjustment gain are relocked.

8. The automatic gain control device for a multi-channel receiver as claimed in claim 7, characterized in that: The relocking of the first optimal gain and the adjustment of the gain include: The third power values ​​of the multiple channels at the current moment are respectively obtained, and the fourth power values ​​of the third signals input from the outside to the multiple channels are respectively obtained, and the first adjustment result of the channel corresponding to the maximum fourth power value is taken as the second optimal gain, and the second difference values ​​between the multiple third power values ​​and the maximum fourth power value are respectively obtained, and the gain is adjusted for the corresponding receiving channel according to the multiple second difference values ​​and the second optimal gain.

9. The automatic gain control device for a multi-channel receiver as claimed in claim 8, characterized in that: The step of adjusting the gain of the corresponding receiving channel according to the plurality of second difference values ​​and the second optimal gain includes: The multiple second difference values ​​are sequentially added to the second optimal gain to obtain a re-adjustment result of the corresponding receiving channel gain.

10. The automatic gain control device for a multi-channel receiver as claimed in claim 6, characterized in that: The step of adjusting the gain of a corresponding receiving channel according to the plurality of first difference values ​​and the first optimal gain includes: The multiple first difference values ​​are sequentially added to the first optimal gain to obtain a first adjustment result of the corresponding receiving channel gain.