A wireless communication system automatic gain control method and device

Dynamically adjusting the gain in the wireless communication system through the particle swarm optimization algorithm solves the problems of insufficient signal-to-noise ratio and response speed of the traditional method in complex environments, achieving system stability and efficiency, and is suitable for high-speed mobile communications and real-time data transmission.

CN118381479BActive Publication Date: 2024-10-11QUANZHOU INST OF INFORMATION ENG
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410814864.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-10-11
Estimated Expiration
2044-06-24

AI Technical Summary

Technical Problem

The traditional automatic gain control method has the flaw of a single gain adjustment strategy in complex and changeable wireless communication environments, resulting in damage to the signal-to-noise ratio and dynamic range, slow response speed, and inability to adjust the gain in time, resulting in signal distortion or loss.

Method used

The particle swarm optimization algorithm (PSO) is used to find the optimal gain profile data group configuration, and the advantages and disadvantages of each configuration are evaluated through the fitness function, the gain of the amplifier is dynamically adjusted, and multiple performance indicators are comprehensively considered to improve the overall performance and stability of the system. sex.

Benefits of technology

It achieves stable signal reception and high signal-to-noise ratio in complex environments, and responds quickly to reduce signal distortion or loss. It is suitable for high-speed mobile communications and real-time data transmission, and improves the automation level and resource utilization efficiency of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118381479B_ABST
    Figure CN118381479B_ABST
Patent Text Reader

Abstract

The present invention provides a wireless communication system automatic gain control method and device, which relates to the field of wireless communication control technology. The method comprises: for each particle, calculating its corresponding fitness value through a fitness function; updating the speed and position of each particle according to the fitness value of each particle to obtain a new gain profile data group configuration; repeating the steps, performing multiple rounds of iterations until the termination condition is met to obtain a final gain profile data group; according to the final gain profile data group, converting the data in the final gain profile data group into a specific control signal corresponding to each amplifier through a control signal output interface; transmitting the specific control signal to each amplifier, so that each amplifier performs corresponding gain adjustment according to the specific control signal. The present invention can improve the performance and stability of the wireless communication system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of wireless communication control, and in particular to an automatic gain control method and device for a wireless communication system. Background Art

[0002] Traditional automatic gain control methods are usually based on simple feedback control mechanisms, which dynamically adjust the gain of the amplifier by monitoring the strength of the output signal to maintain the stability of the output signal. However, these methods often have some problems when dealing with complex and changing wireless communication environments.

[0003] For example, some traditional methods only consider a single gain adjustment strategy and lack comprehensive optimization of the overall system performance. This may result in that in certain specific scenarios, although the stability of the output signal is guaranteed to a certain extent, other performance indicators of the system, such as signal-to-noise ratio and dynamic range, may be damaged.

[0004] Secondly, when dealing with rapidly changing signal environments, some traditional methods have a slow response speed and cannot adjust the gain in a timely and effective manner, resulting in signal distortion or loss. This is particularly prominent in applications such as high-speed mobile communications or real-time data transmission. Summary of the invention

[0005] The present invention provides a wireless communication system automatic gain control method and device, which can improve the performance and stability of the wireless communication system.

[0006] In order to solve the above technical problems, the technical solution of the present invention is as follows:

[0007] In a first aspect, a wireless communication system automatic gain control method is provided, the method comprising:

[0008] Step 11, obtaining the total gain adjustment indication sent by the baseband digital signal processor, including: establishing a communication connection between the control unit of the wireless communication system and the baseband digital signal processor; the control unit divides the data to be transmitted into multiple blocks with different attributes; classifies the blocks with different attributes, and determines the priority corresponding to each block according to the attributes of each block; the control unit sends a final request to the baseband digital signal processor according to the priority corresponding to each block; after sending the request, the control unit waits for a response from the baseband digital signal processor, and when the control unit receives the response from the baseband digital signal processor, reads the data sent from the baseband digital signal processor according to the priority order of the blocks, and the data includes an indication of the total gain adjustment amount; the attributes include data importance, data urgency, data timeliness and data volume; the final request is a command code or a data packet, which is used to trigger the baseband processor to return the total gain adjustment amount information currently required; classifies the blocks with different attributes, and determines the priority corresponding to each block according to the attributes of each block, including:

[0009] Classify blocks with different attributes, and according to the attributes of each block,

[0010] Calculate the priority corresponding to each block, where is the priority index, indicating the priority of the i-th data block; Indicates the data importance weight, which is a numerical value indicating the importance of the data; Indicates the weight of data urgency; Indicates the weight of data timeliness; Indicates the weight of data volume; Indicates the data importance scaling factor; Indicates the data urgency scaling factor; Represents the power index of data timeliness; Indicates the data size scaling factor; Indicates the denominator offset; , , and is the adjustment coefficient, i represents the index;

[0011] Step 12, acquiring parameters related to the wireless communication system according to the indication of the total gain adjustment amount;

[0012] Step 13, generating a group of initial particles according to parameters related to the wireless communication system, each particle representing a gain profile data group configuration;

[0013] Step 14, for each particle, calculate its corresponding fitness value through the fitness function;

[0014] Step 15, updating the speed and position of each particle according to the fitness value of each particle to obtain a new gain profile data group configuration;

[0015] Step 16, repeating step 15 for multiple rounds of iterations until a termination condition is met to obtain a final gain profile data set;

[0016] Step 17, according to the final gain profile data set, converting the data in the final gain profile data set into specific control signals corresponding to each amplifier through the control signal output interface;

[0017] Step 18: transmitting the specific control signal to each amplifier, so that each amplifier performs corresponding gain adjustment according to the specific control signal.

[0018] Furthermore, for each particle, the corresponding fitness value is calculated through the fitness function, including:

[0019] For each particle, Calculate the corresponding fitness value, where F(x) is the fitness function; N is the number of performance indicators; is the weight coefficient of the jth performance indicator; is the ideal value of the jth performance indicator; is the actual value of the jth performance indicator under the current gain profile data group configuration x, where x represents a gain profile data group configuration and j is an index used to traverse all performance indicators.

[0020] Furthermore, when updating the speed and position of each particle, the speed update formula of each particle is:

[0021] ;

[0022] in, is the number of particles in The speed at the moment; w is the inertia weight; is the number of particles in The speed of the moment; is the individual learning factor; is a random number in the range [0, 1]; is the individual best historical position of the ith particle; is the number of particles in The location at the moment; It is a social learning factor; is a random number in the range [0, 1]; is the best historical position of the group; the position update formula of each particle is:

[0023] ;

[0024] in, is the number of particles in The position at the moment.

[0025] In a second aspect, a wireless communication system automatic gain control device is used in the method described, comprising:

[0026] The acquisition module is used to obtain a total gain adjustment indication issued by a baseband digital signal processor; according to the total gain adjustment indication, obtain parameters related to the wireless communication system; according to the parameters related to the wireless communication system, generate a group of initial particles, each particle represents a gain profile data group configuration; for each particle, calculate its corresponding fitness value through a fitness function;

[0027] The processing module is used to update the speed and position of each particle according to the fitness value of each particle to obtain a new gain profile data group configuration; repeat the steps and perform multiple rounds of iterations until the termination condition is met to obtain a final gain profile data group; according to the final gain profile data group, convert the data in the final gain profile data group into a specific control signal corresponding to each amplifier through a control signal output interface; transmit the specific control signal to each amplifier so that each amplifier performs corresponding gain adjustment according to the specific control signal.

[0028] According to a third aspect, a computing device includes:

[0029] one or more processors;

[0030] The storage device is used to store one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the above method.

[0031] In a fourth aspect, a computer-readable storage medium stores a program, and the program implements the above method when executed by a processor.

[0032] The above solution of the present invention includes at least the following beneficial effects:

[0033] By using the particle swarm optimization algorithm (PSO) to find the optimal gain profile data group configuration, multiple performance indicators can be comprehensively considered to achieve the optimization of the overall system performance. This can not only ensure stable signal reception, but also maintain a high signal-to-noise ratio and dynamic range in a complex and changing wireless communication environment.

[0034] This method quickly approaches the optimal solution through multiple rounds of iterations, allowing the system to quickly adjust the gain in the face of a rapidly changing signal environment and reduce signal distortion or loss. It is particularly suitable for application scenarios such as high-speed mobile communications or real-time data transmission.

[0035] The fitness function is used to evaluate the pros and cons of each gain profile data group configuration, allowing the system to intelligently select the gain configuration that best suits the current communication environment. This intelligent decision-making process reduces the need for human intervention and improves the system's automation level.

[0036] This method does not rely on a specific wireless communication system or hardware platform and has strong versatility and flexibility. At the same time, it can be easily integrated into the existing wireless communication system to improve the overall performance of the system. By optimizing the algorithm to find the best gain configuration, unnecessary energy consumption can be reduced and resource utilization efficiency can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 It is a flow chart of an automatic gain control method for a wireless communication system provided by an embodiment of the present invention.

[0038] Figure 2 It is a schematic diagram of an automatic gain control device for a wireless communication system provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0039] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0040] like Figure 1 As shown, an embodiment of the present invention provides an automatic gain control method for a wireless communication system, the method comprising:

[0041] Step 11, obtaining a total gain adjustment indication issued by a baseband digital signal processor;

[0042] Step 12, acquiring parameters related to the wireless communication system according to the indication of the total gain adjustment amount;

[0043] Step 13, generating a group of initial particles according to parameters related to the wireless communication system, each particle representing a gain profile data group configuration;

[0044] Step 14, for each particle, calculate its corresponding fitness value through the fitness function;

[0045] Step 15, updating the speed and position of each particle according to the fitness value of each particle to obtain a new gain profile data group configuration;

[0046] Step 16, repeating step 15 for multiple rounds of iterations until a termination condition is met to obtain a final gain profile data set;

[0047] Step 17, according to the final gain profile data set, converting the data in the final gain profile data set into specific control signals corresponding to each amplifier through the control signal output interface;

[0048] Step 18: transmitting the specific control signal to each amplifier, so that each amplifier performs corresponding gain adjustment according to the specific control signal.

[0049] In the embodiment of the present invention, step 11 can ensure that the automatic gain control system accurately receives the gain adjustment requirements of the baseband processor. Step 12, by obtaining parameters related to the wireless communication system, more accurate data support can be provided for subsequent gain adjustment to ensure the accuracy of the adjustment. Step 13, by generating an initial particle swarm, a diverse starting point is provided for subsequent iterative optimization, which helps to find the global optimal solution. Step 14, the introduction of the fitness function provides a quantitative evaluation standard for each gain profile data group configuration, which is convenient for comparison and optimization. Step 15, by updating the speed and position of the particles, the system can dynamically adjust the gain profile data group configuration and gradually approach the optimal solution. Step 16, through multiple rounds of iterations, the system can gradually optimize the gain profile data group configuration until the preset termination condition is met, ensuring that the optimal solution is found. Step 17, this step ensures that the final gain profile data group can be accurately converted into the control signal of each amplifier, providing accurate instructions for the actual gain adjustment. Step 18, by transmitting specific control signals to each amplifier, the system can achieve real-time gain adjustment to ensure the stability and performance of the wireless communication system.

[0050] In a preferred embodiment of the present invention, obtaining a total gain adjustment indication issued by a baseband digital signal processor includes:

[0051] Establishing a communication connection between a control unit of a wireless communication system and a baseband digital signal processor;

[0052] The control unit divides the data to be transmitted into a plurality of blocks having different attributes;

[0053] Classify blocks with different attributes and determine the priority of each block according to the attributes of each block;

[0054] The control unit sends a final request to the baseband digital signal processor according to the priority corresponding to each block;

[0055] After sending the request, the control unit waits for a response from the baseband digital signal processor. When the control unit receives the response from the baseband digital signal processor, it reads the data sent from the baseband digital signal processor in order of priority of the blocks, where the data includes an indication of the total gain adjustment amount; attributes include data importance, data urgency, data timeliness, and data volume; the final request is a command code or data packet, which is used to trigger the baseband processor to return the total gain adjustment amount information currently required.

[0056] In the embodiment of the present invention, the control unit of the communication system establishes a stable communication connection with the baseband digital signal processor in a wired or wireless manner to ensure the security of the connection and the stability of data transmission for subsequent data transmission and interaction. By establishing a secure communication connection, data leakage or tampering can be prevented.

[0057] The control unit divides the data to be transmitted into multiple blocks according to different attributes of the data (such as importance, urgency, etc.), and each block contains a part of the data, which has the same priority in subsequent transmission and processing. By dividing the data, data with different attributes can be processed in parallel, the processing efficiency can be improved, and it is convenient to prioritize and optimize the transmission according to the attributes of different blocks; for example, in the automatic gain control method of the wireless communication system, the real-time signal strength data may be regarded as high-importance and high-urgency data due to its immediate requirements for system adjustment. Each piece of data is evaluated and classified into different categories according to its attributes. Some thresholds can be set to judge the attributes of the data. For example, a time threshold is set, and data exceeding the time threshold may be considered to have low timeliness; according to the classification results, the data is divided into different blocks, and each block contains data with similar attributes. For example, all high-importance and high-urgency data may be divided into one block, while low-importance and low-urgency data are divided into another block.

[0058] The control unit classifies each block and assigns a priority to each block based on its data importance, urgency, timeliness, and data size. High-priority data will be processed and transmitted first. Prioritization ensures that important and urgent data are processed first, and data that requires a quick response can be processed more quickly.

[0059] The control unit constructs a request (command code or data packet) based on the priority of each block. This request is sent to the baseband digital signal processor, triggering it to return the total gain adjustment information currently required. By sending a request, the required total gain adjustment information can be obtained from the baseband processor on demand, only the necessary information is obtained, and unnecessary data transmission is reduced.

[0060] After sending the request, the control unit waits for the response from the baseband digital signal processor. Once the response is received, the control unit reads the data sent from the baseband processor in the order of priority of the block, which contains the indication of the total gain adjustment for use in subsequent steps. By waiting and reading the response, it can ensure that the latest and most accurate indication of the total gain adjustment is obtained, and reading the data according to the priority can process important and urgent data faster.

[0061] In a preferred embodiment of the present invention, blocks with different attributes are classified, and the priority corresponding to each block is determined according to the attribute of each block, including:

[0062] Classify blocks with different attributes, and according to the attributes of each block,

[0063] Calculate the priority corresponding to each block, where is the priority index, indicating the priority of the i-th data block; Indicates the data importance weight, which is a numerical value indicating the importance of the data; Indicates the weight of data urgency; Indicates the weight of data timeliness; Indicates the weight of data volume; Indicates the data importance scaling factor; Indicates the data urgency scaling factor; Represents the power index of data timeliness; Indicates the data size scaling factor; Indicates the denominator offset; , , and is the adjustment coefficient and i represents the index.

[0064] In an embodiment of the present invention, the priority of each data block can be accurately determined by formula calculation to ensure that high-priority data blocks are processed first. The parameters in the formula (such as adjustment coefficient, scaling coefficient, etc.) can be adjusted according to actual needs so that the priority calculation is more in line with the requirements of a specific scenario. The method comprehensively considers multiple factors such as the importance, urgency, timeliness and amount of data, making the determination of priority more comprehensive and reasonable. Through priority control, the allocation of system resources can be optimized to ensure that limited resources are first used to process the most important and urgent data blocks. After classifying and prioritizing the data blocks, the system can process the data more specifically and improve the overall processing efficiency. Through reasonable data processing and priority control, the stability problems of the system caused by untimely processing or insufficient resources can be reduced.

[0065] In a preferred embodiment of the present invention, for each particle, the corresponding fitness value is calculated by a fitness function, including:

[0066] For each particle, Calculate the corresponding fitness value, where F(x) is the fitness function; N is the number of performance indicators; is the weight coefficient of the jth performance indicator; is the ideal value of the jth performance indicator; is the actual value of the jth performance indicator under the current gain profile data group configuration x, where x represents a gain profile data group configuration and j is an index used to traverse all performance indicators.

[0067] In the embodiment of the present invention, the fitness function comprehensively considers multiple performance indicators, so that the optimization process can focus on multiple goals at the same time, rather than just a single goal. This helps to find a solution that strikes a balance between multiple performance indicators. , it is easy to change the importance of different performance indicators in the optimization process. This flexibility allows the method to adapt to different application scenarios and needs. Since the fitness function takes multiple performance indicators into account, the resulting solution is usually more robust to fluctuations in a single performance indicator. This means that in practical applications, when certain performance indicators are disturbed or changed, the overall performance of the system can remain stable. By calculating the fitness value of each particle, it is possible to quickly identify which particles are more likely to be close to the optimal solution. This allows the optimization algorithm to allocate computing resources more efficiently and focus on more promising solutions, thereby improving optimization efficiency.

[0068] In a preferred embodiment of the present invention, when updating the speed and position of each particle, the speed update formula of each particle is:

[0069] ;

[0070] in, is the number of particles in The speed at the moment; w is the inertia weight; is the number of particles in The speed of the moment; is the individual learning factor; is a random number in the range [0, 1]; is the individual best historical position of the ith particle; is the number of particles in The location at the moment; It is a social learning factor; is a random number in the range [0, 1]; is the best historical position of the group; the position update formula of each particle is:

[0071] ;

[0072] in, is the number of particles in The position at the moment.

[0073] In the embodiment of the present invention, by continuously updating the speed and position of the particles, PSO can efficiently search for potential optimal solutions in the solution space. The introduction of the inertia weight w helps to balance the global search and local search capabilities of the algorithm. A larger w value is conducive to global search, while a smaller w value is more inclined to local search. and social learning factors PSO takes into account both the particle's own experience (the individual's historical best position ), and also considers the experience of the group (the historical best position of the group ), thereby more effectively guiding the particles to fly towards the optimal solution.

[0074] In another preferred embodiment of the present invention, step 16 is specifically implemented as follows:

[0075] Initialize the iteration counter and set a termination condition, such as the maximum number of iterations, fitness threshold, or stagnation of optimization effect; enter the iteration loop, and in each iteration, adjust the position of each particle (i.e., gain profile data group configuration) according to the particle fitness value calculated in the previous step and the particle swarm optimization update strategy (such as the speed and position update formula); after each iteration, recalculate the fitness value of each particle; check whether the termination condition is met. If it is met (such as reaching the maximum number of iterations or the fitness value reaches the preset threshold), jump out of the loop, and the current best particle position is the final gain profile data group; if it is not met, continue to iterate.

[0076] Through multiple rounds of iterations, the algorithm can continuously search and optimize the gain profile data set to find a configuration that is closer to the global optimal solution. This iterative process helps improve system performance and ensures that the final gain profile data set can achieve a better balance in multiple performance indicators. Setting termination conditions can adjust the accuracy and computational cost of optimization according to actual needs and resource constraints. For example, you can set a maximum number of iterations to avoid infinite loops, or set a fitness threshold to ensure that the solution found meets a certain quality standard. Through iterations, the algorithm gradually converges to a stable solution, which makes the final gain profile data set more reliable and effective.

[0077] Step 17: The specific implementation process is as follows:

[0078] The final gain profile data group obtained in step 16 is obtained, and each gain value in the data group is converted into a corresponding control signal according to the control interface protocol and data format requirements of the amplifier. This involves data format conversion (such as converting floating point numbers to integers or specific encoding formats) or unit conversion (such as converting gain values ​​to corresponding voltage or current values), and these control signals are prepared to be sent through the control signal output interface (hardware interface or software API). Converting the gain profile data group into specific control signals corresponding to each amplifier can ensure that each amplifier can receive accurate and tailored instructions, thereby achieving fine gain adjustment. Data conversion through the control signal output interface can ensure that the system is compatible with amplifiers of different models and manufacturers, thereby improving the flexibility and scalability of the system. The clear data conversion process makes the system easier to maintain and upgrade. When the amplifier needs to be replaced or upgraded, only the data conversion rules need to be adjusted without making major changes to the entire system.

[0079] Step 18: The specific implementation process is as follows:

[0080] The control signal prepared in step 17 is sent to the corresponding amplifier via wired or wireless means. This involves network communication, serial communication or other forms of signal transmission. After the amplifier receives the control signal, it interprets the signal and adjusts its gain setting accordingly according to its internal control logic. After the amplifier completes the gain adjustment, it sends a feedback signal to confirm that the adjustment has been successfully completed. The system can monitor these feedback signals to ensure that all amplifiers have adjusted their gains correctly.

[0081] After receiving the control signal, the amplifier analyzes the signal and adjusts its gain setting accordingly according to its internal control logic, including:

[0082] The amplifier receives a control signal from the control system through its communication interface (such as a serial port, a network interface or other dedicated interface), and the receiving module converts the received signal from the physical layer into a digital signal that can be processed by the internal logic inside the amplifier.

[0083] The amplifier first verifies the integrity and correctness of the received control signal, for example, by using checksums and CRC (cyclic redundancy checks) to ensure that the signal is not damaged during transmission. If the signal is damaged or the format is incorrect, the amplifier will request to resend the control signal or enter error handling mode. After verification, the control logic of the amplifier begins to parse the control signal, which includes extracting key information from the signal, such as gain values, configuration parameters, or other instructions.

[0084] For example, the control signal sent by the control system to the amplifier contains the coded gain value, which may be in binary, hexadecimal or other formats, depending on the design of the control system and the communication protocol. After the amplifier receives this coded data, it first needs to decode it. For example, if the gain value is encoded in binary form, the amplifier will convert the binary data into a decimal value. The decoded value may not be the direct gain value, but a relative value or index. In this case, there will be a mapping table inside the amplifier to map this value to the actual gain value. For example, the control system may send a value between 0 and 255, and the amplifier will perform linear or nonlinear mapping based on this value within a predefined gain range to obtain the actual gain value. Once the actual gain value is obtained, the amplifier will prepare to adjust the gain through its internal DAC. The role of the DAC is to convert the digital signal into an analog signal. Because the gain adjustment of the amplifier usually involves analog circuits, the amplifier quantizes the gain value to the resolution of the DAC and performs some scaling or offset adjustments to ensure that the output of the DAC can cover the entire gain adjustment range of the amplifier. The DAC generates an analog output signal corresponding to the received digital input. This analog signal directly controls the gain adjustment circuit of the amplifier, for example, by changing the feedback network or bias current of the amplifier to achieve gain adjustment. The circuit inside the amplifier will respond to the output of the DAC and adjust its gain in real time to match the gain value parsed from the control signal. After the gain is adjusted, the amplifier will go through a verification process to check whether the gain has been adjusted correctly through internal sensors or monitoring circuits.

[0085] like Figure 2 As shown, an embodiment of the present invention further provides an automatic gain control device 20 for a wireless communication system, which is applied in the method described, and includes:

[0086] The acquisition module 21 is used to obtain a total gain adjustment indication issued by the baseband digital signal processor; according to the total gain adjustment indication, obtain parameters related to the wireless communication system; according to the parameters related to the wireless communication system, generate a group of initial particles, each particle represents a gain profile data group configuration; for each particle, calculate its corresponding fitness value through a fitness function;

[0087] The processing module 22 is used to update the speed and position of each particle according to the fitness value of each particle to obtain a new gain profile data group configuration; repeat the steps and perform multiple rounds of iterations until the termination condition is met to obtain the final gain profile data group; according to the final gain profile data group, convert the data in the final gain profile data group into a specific control signal corresponding to each amplifier through the control signal output interface; transmit the specific control signal to each amplifier so that each amplifier performs corresponding gain adjustment according to the specific control signal.

[0088] It should be noted that the device is a device corresponding to the above method, and all implementation methods in the above method embodiment are applicable to this embodiment and can achieve the same technical effect.

[0089] The embodiment of the present invention further provides a computing device, comprising: a processor, a memory storing a computer program, wherein when the computer program is executed by the processor, the method described above is executed. All implementations in the above method embodiment are applicable to this embodiment and can achieve the same technical effect.

[0090] The embodiment of the present invention also provides a computer-readable storage medium storing instructions, which, when executed on a computer, enable the computer to execute the method described above. All implementations in the above method embodiment are applicable to this embodiment and can achieve the same technical effect.

[0091] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0092] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0093] In the embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0094] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0095] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0096] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical disks.

[0097] In addition, it should be pointed out that in the apparatus and method of the present invention, it is obvious that each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent schemes of the present invention. Moreover, the steps of performing the above series of processing can naturally be performed in chronological order according to the order of description, but it is not necessary to perform them in chronological order, and some steps can be performed in parallel or independently of each other. For those of ordinary skill in the art, it is understandable that all or any steps or components of the method and apparatus of the present invention can be implemented in hardware, firmware, software or a combination thereof in any computing device (including processors, storage media, etc.) or a network of computing devices, which can be achieved by those of ordinary skill in the art using their basic programming skills after reading the description of the present invention.

[0098] Therefore, the purpose of the present invention can also be achieved by running a program or a group of programs on any computing device. The computing device can be a well-known general device. Therefore, the purpose of the present invention can also be achieved by simply providing a program product containing a program code that implements the method or device. That is to say, such a program product also constitutes the present invention, and the storage medium storing such a program product also constitutes the present invention. Obviously, the storage medium can be any well-known storage medium or any storage medium developed in the future. It should also be pointed out that in the device and method of the present invention, it is obvious that each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent schemes of the present invention. In addition, the steps of performing the above-mentioned series of processing can naturally be performed in chronological order according to the order of description, but it is not necessary to perform them in chronological order. Some steps can be performed in parallel or independently of each other.

[0099] The above is 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 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 wireless communication system automatic gain control method, characterized in that: The method comprises: Step 11, obtaining the total gain adjustment indication sent by the baseband digital signal processor, including: establishing a communication connection between the control unit of the wireless communication system and the baseband digital signal processor; the control unit divides the data to be transmitted into multiple blocks with different attributes; classifies the blocks with different attributes, and determines the priority corresponding to each block according to the attributes of each block; the control unit sends a final request to the baseband digital signal processor according to the priority corresponding to each block; after sending the request, the control unit waits for a response from the baseband digital signal processor, and when the control unit receives the response from the baseband digital signal processor, reads the data sent from the baseband digital signal processor according to the priority order of the blocks, and the data includes an indication of the total gain adjustment amount; the attributes include data importance, data urgency, data timeliness and data volume; the final request is a command code or a data packet, which is used to trigger the baseband processor to return the total gain adjustment amount information currently required; classifies the blocks with different attributes, and determines the priority corresponding to each block according to the attributes of each block, including: Classify blocks with different attributes, and according to the attributes of each block, Calculate the priority corresponding to each block, where is the priority index, indicating the priority of the i-th data block; Indicates the data importance weight, which is a numerical value indicating the importance of the data; Indicates the weight of data urgency; Indicates the weight of data timeliness; Indicates the weight of data volume; Indicates the data importance scaling factor; Indicates the data urgency scaling factor; Represents the power index of data timeliness; Indicates the data size scaling factor; Indicates the denominator offset; , , and is the adjustment coefficient, i represents the index; Step 12, acquiring parameters related to the wireless communication system according to the indication of the total gain adjustment amount; Step 13, generating a group of initial particles according to parameters related to the wireless communication system, each particle representing a gain profile data group configuration; Step 14, for each particle, calculate its corresponding fitness value through the fitness function; Step 15, updating the speed and position of each particle according to the fitness value of each particle to obtain a new gain profile data group configuration; Step 16, repeating step 15 for multiple rounds of iterations until a termination condition is met to obtain a final gain profile data set; Step 17, according to the final gain profile data set, converting the data in the final gain profile data set into specific control signals corresponding to each amplifier through the control signal output interface; Step 18, transmitting the specific control signal to each amplifier, so that each amplifier performs corresponding gain adjustment according to the specific control signal; For each particle, the corresponding fitness value is calculated through the fitness function, including: For each particle, Calculate the corresponding fitness value, where F(x) is the fitness function; N is the number of performance indicators; is the weight coefficient of the jth performance indicator; is the ideal value of the jth performance indicator; is the actual value of the jth performance indicator under the current gain profile data group configuration x, where x represents a gain profile data group configuration and j is an index used to traverse all performance indicators.

2. The automatic gain control method of a wireless communication system according to claim 1, characterized in that: When updating the speed and position of each particle, the speed update formula of each particle is: ; in, is the number of particles in The speed at the moment; w is the inertia weight; is the number of particles in The speed of the moment; is the individual learning factor; is a random number in the range [0, 1]; is the individual best historical position of the ith particle; is the number of particles in The location at the moment; It is a social learning factor; is a random number in the range [0, 1]; is the best historical position of the group; the position update formula of each particle is: ; in, is the number of particles in The position at the moment.

3. A wireless communication system automatic gain control device, characterized in that: The method as claimed in any one of claims 1 to 2 comprises: The acquisition module is used to obtain a total gain adjustment indication issued by a baseband digital signal processor; according to the total gain adjustment indication, obtain parameters related to the wireless communication system; according to the parameters related to the wireless communication system, generate a group of initial particles, each particle represents a gain profile data group configuration; for each particle, calculate its corresponding fitness value through a fitness function; The processing module is used to update the speed and position of each particle according to the fitness value of each particle to obtain a new gain profile data group configuration; repeat the steps and perform multiple rounds of iterations until the termination condition is met to obtain a final gain profile data group; according to the final gain profile data group, convert the data in the final gain profile data group into a specific control signal corresponding to each amplifier through a control signal output interface; transmit the specific control signal to each amplifier so that each amplifier performs corresponding gain adjustment according to the specific control signal.

4. A computing device, characterized in that include: one or more processors; A storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, the one or more processors implement the method as claimed in any one of claims 1 to 2.

5. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program, which implements the method according to any one of claims 1 to 2 when executed by a processor.