Frequency shift compensation method and system, and medium and device
By using peak detectors and historical data averages to determine the precise power in 5G MIMO systems, the high cost and development difficulty of multi-antenna devices in the prior art are solved, and accurate frequency shift compensation and low-cost development are achieved.
Patent Information
- Application Number
- PCT/CN2023/121904
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-08-22
- Filing Date
- 2023-09-27
- Publication Date
- 2025-02-27
AI Technical Summary
When existing multi-antenna devices realize synchronization, power detection and frequency shift compensation of NR signals, there are problems such as high cost, difficult development, relying on foreign high-speed digital processing chips and being unable to accurately determine power.
By using a peak detector in a 5G MIMO system, multiple peaks of the output signal are obtained according to the sampling period, the maximum power value is calculated, and the precise power is determined by the average of historical data, so that the channel output power is adjusted through the attenuator for frequency shift compensation when the traffic volume is above the threshold.
The precise power determination of 5G MIMO systems is achieved, ensuring the accuracy of frequency shift compensation, while reducing process costs and development difficulties.
Smart Images

Figure CN2023121904_27022025_PF_FP_ABST
Abstract
Description
Frequency shift compensation method, system, medium and device Technical Field
[0001] The present invention belongs to the field of signal compensation, and in particular relates to a frequency shift compensation method, system, medium and equipment. Background Art
[0002] The existing technology is: existing multi-antenna equipment is all digital products, and digital solutions can easily realize NR signal synchronization, power detection, power control and other functions.
[0003] The shortcomings of the prior art are as follows:
[0004] 1. High product cost;
[0005] 2. The development is difficult and requires the participation of multiple senior technical personnel;
[0006] 3. The foreign high-speed digital processing chips required are expensive and difficult to buy;
[0007] 4. It is impossible to determine whether the power is accurate and thus unable to compensate for the frequency shift.
[0008] Summary of the Invention
[0009] The technical problem to be solved by the present invention is to provide a frequency shift compensation method, system, medium and equipment.
[0010] The present invention solves the above technical problems with the following technical solutions: A frequency shift compensation method comprising:
[0011] Step 1: According to the sampling period, multiple peak values of the output signal of the 5G MIMO system are obtained through a peak detector, and the maximum power value in the current sampling period is calculated for any peak value;
[0012] Step 2: Repeat step 1 for the historical data until the maximum power value corresponding to m sampling periods is obtained, calculate a first average of the m maximum power values, determine the traffic volume in each sampling period based on the average value, calculate a second average of the m traffic volumes, and determine the precise power of the 5G MIMO system based on the first average value and the second average value, where m is a positive integer greater than 1.
[0013] Step 3: When the traffic volume in the current sampling period is higher than the threshold, the output power values of the direct channel and the frequency conversion channel of the 5G MIMO system are adjusted to the values of the precise power through the attenuator to complete the frequency shift compensation.
[0014] The beneficial effects of the present invention are as follows: by collecting and processing the output signal of the 5G MIMO system, the precise power of the 5G MIMO system can be determined, and further compensation for frequency shift based on this can ensure the accuracy of the compensation. At the same time, the process cost involved in this solution is low and the development difficulty is small.
[0015] On the basis of the above technical solution, the present invention can also be improved as follows.
[0016] Furthermore, the process of calculating any peak value to obtain the maximum power value in the current sampling period specifically includes:
[0017] Any peak signal is converted into a voltage value, a first maximum value among all voltage values in a current sampling period is determined, and a maximum power value in the current sampling period is determined according to the first maximum value.
[0018] Furthermore, the step 2 further includes:
[0019] When there is no historical data, the maximum power value in the current sampling period is used as the precise power of the 5G MIMO system, and step 3 is executed, wherein the traffic volume of the sampling period in which there is no historical data is a fixed value.
[0020] Furthermore, when the traffic volume in the current sampling period is lower than a threshold, the frequency conversion channel of the 5G MIMO system is closed, and the output power of the through channel of the 5G MIMO system is reduced through an attenuator.
[0021] Another technical solution of the present invention to solve the above technical problem is as follows: a frequency shift compensation system, comprising:
[0022] The acquisition module is used to obtain multiple peak values of the output signal of the 5G MIMO system through a peak detector according to the sampling period, and calculate the maximum power value within the current sampling period for any peak value;
[0023] The repetition module is configured to: repeat the acquisition module in the historical data until a maximum power value corresponding to m sampling periods is obtained, calculate a first average of the m maximum power values, determine a traffic volume in each sampling period based on the first average, calculate a second average of the m traffic volumes, and determine an accurate power of the 5G MIMO system based on the first average and the second average, where m is a positive integer greater than 1;
[0024] The compensation module is used to: when the traffic volume in the current sampling period is higher than the threshold, adjust the output power values of the direct channel and the frequency conversion channel of the 5G MIMO system to the precise power values through the attenuator to complete the frequency shift compensation.
[0025] The beneficial effects of the present invention are as follows: by collecting and processing the output signal of the 5G MIMO system, the precise power of the 5G MIMO system can be determined, and further compensation for frequency shift based on this can ensure the accuracy of the compensation. At the same time, the process cost involved in this solution is low and the development difficulty is small.
[0026] Furthermore, the process of calculating any peak value to obtain the maximum power value in the current sampling period specifically includes:
[0027] Any peak signal is converted into a voltage value, a first maximum value among all voltage values in a current sampling period is determined, and a maximum power value in the current sampling period is determined according to the first maximum value.
[0028] Furthermore, the repeating module is also used for:
[0029] When there is no historical data, the maximum power value in the current sampling period is used as the precise power of the 5G MIMO system, and the compensation module is executed, wherein the traffic volume of the sampling period in which there is no historical data is a fixed value.
[0030] Furthermore, when the traffic volume in the current sampling period is lower than a threshold, the frequency conversion channel of the 5G MIMO system is closed, and the output power of the through channel of the 5G MIMO system is reduced through an attenuator.
[0031] Another technical solution of the present invention to solve the above technical problem is as follows: a storage medium, wherein instructions are stored in the storage medium, and when a computer reads the instructions, the computer executes any of the methods described above.
[0032] The beneficial effects of the present invention are as follows: by collecting and processing the output signal of the 5G MIMO system, the precise power of the 5G MIMO system can be determined, and further compensation for frequency shift based on this can ensure the accuracy of the compensation. At the same time, the process cost involved in this solution is low and the development difficulty is small.
[0033] Another technical solution of the present invention to solve the above technical problem is as follows: an electronic device includes the above storage medium and a processor that executes instructions in the above storage medium.
[0034] The beneficial effects of the present invention are as follows: by collecting and processing the output signal of the 5G MIMO system, the precise power of the 5G MIMO system can be determined, and further compensation for frequency shift based on this can ensure the accuracy of the compensation. At the same time, the process cost involved in this solution is low and the development difficulty is small. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] FIG1 is a flow chart of a frequency shift compensation method according to an embodiment of the present invention;
[0036] FIG2 is a structural framework diagram of a frequency shift compensation system embodiment of the present invention. DETAILED DESCRIPTION
[0037] The principles and features of the present invention are described below. The examples given are only used to explain the present invention and are not used to limit the scope of the present invention.
[0038] As shown in FIG1 , a frequency shift compensation method includes:
[0039] Step 1: According to the sampling period, multiple peak values of the output signal of the 5G MIMO system are obtained through a peak detector, and the maximum power value in the current sampling period is calculated for any peak value;
[0040] Step 2: Repeat step 1 for the historical data until the maximum power value corresponding to m sampling periods is obtained, calculate a first average of the m maximum power values, determine the traffic volume in each sampling period based on the average value, calculate a second average of the m traffic volumes, and determine the precise power of the 5G MIMO system based on the first average value and the second average value, where m is a positive integer greater than 1.
[0041] Step 3: When the traffic volume in the current sampling period is higher than the threshold, the output power values of the direct channel and the frequency conversion channel of the 5G MIMO system are adjusted to the values of the precise power through the attenuator to complete the frequency shift compensation.
[0042] In some possible implementations, the precise power of the 5G MIMO system can be determined by collecting and processing the output signal of the 5G MIMO system. Based on this, further frequency shift compensation can ensure the accuracy of the compensation. At the same time, the process cost involved in this solution is low and the hardware development difficulty is small.
[0043] It should be noted that due to its energy-saving characteristics, it is difficult to detect the actual signal power of 5G NR signals through analog detection. Most of the time, digital signal processing is used to extract the power information. Therefore, the present invention uses a peak detector to detect the output signal of the 5G MIMO system within a sampling period (such as 5ms), converts any detected data to obtain the power value corresponding to the data, and selects the maximum power value within the sampling period; for example, 100 data are detected within a sampling period of 5ms, and the data are all AD values. It should be noted that there are two methods for calculating the maximum power value within the sampling period:
[0044] 1) The first method: convert each AD value into a voltage value, then convert each voltage value into a power value using formula 1, and determine the maximum power value from all power values using formula 2;
[0045] 2) The second method: convert each AD value into a voltage value, select the maximum voltage value from all voltage values to convert the power value, and the converted power value is the maximum power value.
[0046] It should be further explained that AD sampling is achieved through the ADC inside the microcontroller, with a reference level of 3.3V, a sampling bit width of 12 bits, and a sampling rate of 200kHz. At this time, it can be determined that V=A*3.3 / 4096, where A is the AD value.
[0047] S2: After determining the maximum power value within the current sampling period, the precise power of the 5G MIMO system can be further determined. The specific process is as follows:
[0048] S21, determining whether there is historical data before the current sampling period. If there is historical data, the accurate power is determined through the following process:
[0049] In the historical data, according to the method for determining the maximum power value mentioned above, the maximum power value corresponding to each sampling period is determined, and the first average value of all maximum power values is calculated. Based on the first average value, the business volume in each sampling period is determined in turn, and the second average value of all business volumes is calculated. Based on the first average value and the second average value, the precise power of the 5G MIMO system can be determined.
[0050] It needs to be further explained here that the sampling period corresponds to the subframe duration of the NR signal.
[0051] For example, historical data includes 20 sampling periods and the data corresponding to each sampling period. Based on actual needs, the five sampling periods closest to the current sampling period and the data corresponding to these five sampling periods are selected. Each period corresponds to 100 data. The maximum power values corresponding to these five sampling periods are calculated respectively. The first average value of the maximum power values of these five sampling periods is calculated using Formula 7. Based on this first average value, the number of the 100 data in each sampling period that exceeds the first average value is determined in turn. The obtained ratio is used as the business volume. The business volume of the sampling period is calculated using Formulas 4 and 5. According to the above method for calculating business volume, the business volume corresponding to the five sampling periods is calculated. The average value of the five business volumes is then calculated using Formula 6 to obtain a second average value. Based on the first and second average values, the precise power of the 5G MIMO system can be determined using Formula 8.
[0052] S22: If no historical data exists, the accurate power is determined through the following process:
[0053] The average value of all data in the current sampling period is calculated as the first average value. The business volume is determined through the above process. The second average value at this time is the business volume. The subsequent processing is the same as that with historical data.
[0054] At this point, the precise power determination for the 5G MIMO system has been completed. This function is to ensure maximum output power and two-channel balance under high traffic volume, and maintain low power consumption mode under low traffic volume. The process of using this precise power to complete frequency shift compensation is as follows:
[0055] S31, determining whether the traffic volume of the current period is higher than a threshold; if so, adjusting the output power of the direct channel and the frequency conversion channel of the 5G MIMO system so that the output power of the direct channel and the frequency conversion channel is a first output power value;
[0056] When the traffic volume exceeds 50%, the direct channel gain is adjusted to the maximum supported by the device. The variable frequency channel gain is then adjusted accordingly based on the direct output power, ensuring balanced output power on both channels. The combined output power of the variable frequency channel and the direct channel is the precise power value calculated using Formula 8.
[0057] S32, if below the threshold, then:
[0058] The output power of the through channel of the 5G MIMO system is adjusted by an attenuator so that the gain of the through channel of the 5G MIMO system is reduced to 1 / 2 of that before adjustment. At the same time, the frequency conversion channel of the 5G MIMO system is turned off.
[0059] Table 1
[0060] Preferably, in any of the above embodiments, the process of calculating any peak value to obtain the maximum power value in the current sampling period specifically includes:
[0061] Any peak signal is converted into a voltage value, a first maximum value among all voltage values in a current sampling period is determined, and a maximum power value in the current sampling period is determined according to the first maximum value.
[0062] Preferably, in any of the above embodiments, step 2 further includes:
[0063] When there is no historical data, the maximum power value in the current sampling period is used as the precise power of the 5G MIMO system, and step 3 is executed, wherein the traffic volume of the sampling period in which there is no historical data is a fixed value.
[0064] Preferably, in any of the above embodiments, when the traffic volume in the current sampling period is lower than a threshold, the frequency conversion channel of the 5G MIMO system is closed, and the output power of the through channel of the 5G MIMO system is reduced through an attenuator.
[0065] As shown in FIG2 , a frequency shift compensation system includes:
[0066] The acquisition module 100 is configured to obtain multiple peak values of the output signal of the 5G MIMO system through a peak detector according to a sampling period, and calculate a maximum power value within the current sampling period for any peak value;
[0067] The repetition module 200 is configured to: repeat the acquisition module 100 in the historical data until a maximum power value corresponding to m sampling periods is obtained, calculate a first average value of the m maximum power values, determine a traffic volume in each sampling period based on the first average value, calculate a second average value of the m traffic volumes, and determine an accurate power of the 5G MIMO system based on the first average value and the second average value, where m is a positive integer greater than 1;
[0068] The compensation module 300 is used to: when the traffic volume in the current sampling period is higher than the threshold, adjust the output power values of the direct channel and the frequency conversion channel of the 5G MIMO system to the precise power values through the attenuator to complete the frequency shift compensation.
[0069] In some possible implementations, the precise power of the 5G MIMO system can be determined by collecting and processing the output signal of the 5G MIMO system. Based on this, further frequency shift compensation can ensure the accuracy of the compensation. At the same time, the process involved in this solution is low-cost and has little development difficulty.
[0070] Preferably, in any of the above embodiments, the process of calculating any peak value to obtain the maximum power value in the current sampling period specifically includes:
[0071] Any peak signal is converted into a voltage value, a first maximum value among all voltage values in a current sampling period is determined, and a maximum power value in the current sampling period is determined according to the first maximum value.
[0072] Preferably, in any of the above embodiments, the repeating module 200 is further configured to:
[0073] When there is no historical data, the maximum power value in the current sampling period is used as the accurate power of the 5G MIMO system, and the compensation module 300 is executed, wherein the traffic volume of the sampling period in which there is no historical data is a fixed value.
[0074] Preferably, in any of the above embodiments, when the traffic volume in the current sampling period is lower than a threshold, the frequency conversion channel of the 5G MIMO system is closed, and the output power of the through channel of the 5G MIMO system is reduced through an attenuator.
[0075] Another technical solution of the present invention to solve the above technical problem is as follows: a storage medium, wherein instructions are stored in the storage medium, and when a computer reads the instructions, the computer executes any of the methods described above.
[0076] In some possible implementations, the precise power of the 5G MIMO system can be determined by collecting and processing the output signal of the 5G MIMO system. Based on this, further frequency shift compensation can ensure the accuracy of the compensation. At the same time, the process involved in this solution is low-cost and has little development difficulty.
[0077] Another technical solution of the present invention to solve the above technical problem is as follows: an electronic device includes the above storage medium and a processor that executes instructions in the above storage medium.
[0078] In some possible implementations, the precise power of the 5G MIMO system can be determined by collecting and processing the output signal of the 5G MIMO system. Based on this, further frequency shift compensation can ensure the accuracy of the compensation. At the same time, the process involved in this solution is low-cost and has little development difficulty.
[0079] The reader should understand that in the description of this specification, reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art can combine and combine different embodiments or examples described in this specification and features of different embodiments or examples without contradiction.
[0080] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method can be implemented in other ways. For example, the method embodiments described above are merely illustrative. For example, the division of steps is merely a logical function division. In actual implementation, other division methods may be used. For example, multiple steps may be combined or integrated into another step, or some features may be ignored or not performed.
[0081] If the above method is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or 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 and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, and other media that can store program code.
[0082] The above are merely specific embodiments of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present invention, and such modifications or substitutions are intended to be within the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be subject to the scope of protection of the claims.
Claims
1. A frequency shift compensation method, characterized in that: include: Step 1: According to the sampling period, multiple peak values of the output signal of the 5G MIMO system are obtained by a peak detector, and the maximum power value in the current sampling period is obtained by calculating any peak value; Step 2: Repeat step 1 in the historical data until the maximum power value corresponding to m sampling periods is obtained, calculate a first average value of the m maximum power values, and determine the service volume in each sampling period according to the average value, calculate a second average value of the m service volumes, and determine the precise power of the 5G MIMO system according to the first average value and the second average value, where m is a positive integer greater than 1. Step 3: When the traffic volume in the current sampling period is higher than the threshold, the output power values of the direct channel and the frequency conversion channel of the 5G MIMO system are adjusted to the values of the precise power through the attenuator to complete the frequency shift compensation.
2. A frequency shift compensation method according to claim 1, characterized in that: The process of calculating any peak value to obtain the maximum power value in the current sampling period specifically includes: Any peak signal is converted into a voltage value, a first maximum value among all voltage values in a current sampling period is determined, and a maximum power value in the current sampling period is determined according to the first maximum value.
3. A frequency shift compensation method according to claim 1, characterized in that: The step 2 also includes: When there is no historical data, the maximum power value in the current sampling period is used as the precise power of the 5G MIMO system, and step 3 is executed, wherein the traffic volume of the sampling period in which there is no historical data is a fixed value.
4. A frequency shift compensation method according to claim 1, characterized in that: When the traffic volume in the current sampling period is lower than the threshold, the frequency conversion channel of the 5G MIMO system is closed, and the output power of the through channel of the 5G MIMO system is reduced through an attenuator.
5. A frequency shift compensation system, characterized in that: include: The acquisition module is used to: obtain multiple peak values of the output signal of the 5G MIMO system through a peak detector according to the sampling period, and calculate any peak value to obtain the maximum power value in the current sampling period; The repetition module is used to: repeat the acquisition module in the historical data until the maximum power value corresponding to m sampling periods is obtained, calculate a first average value of the m maximum power values, and determine the service volume in each sampling period according to the average value, calculate a second average value of the m service volumes, and determine the precise power of the 5G MIMO system according to the first average value and the second average value, wherein m is a positive integer greater than 1; The compensation module is used to: when the traffic volume in the current sampling period is higher than the threshold, adjust the output power values of the direct channel and the frequency conversion channel of the 5G MIMO system to the values of the precise power through the attenuator to complete the frequency shift compensation.
6. A frequency shift compensation system according to claim 5, characterized in that: The process of calculating any peak value to obtain the maximum power value in the current sampling period specifically includes: Any peak signal is converted into a voltage value, a first maximum value among all voltage values in a current sampling period is determined, and a maximum power value in the current sampling period is determined according to the first maximum value.
7. The frequency shift compensation system according to claim 5, characterized in that: The repeating module is also used to: When there is no historical data, the maximum power value in the current sampling period is used as the precise power of the 5G MIMO system, and the compensation module is executed, wherein the traffic volume in the sampling period in which there is no historical data is a fixed value.
8. The frequency shift compensation system according to claim 5, characterized in that: When the traffic volume in the current sampling period is lower than the threshold, the frequency conversion channel of the 5G MIMO system is closed, and the output power of the through channel of the 5G MIMO system is reduced through an attenuator.
9. A storage medium, characterized in that: The medium stores instructions, and when a computer reads the instructions, the computer executes the method according to any one of claims 1 to 4.
10. An electronic device, characterized in that: The invention comprises the storage medium as claimed in claim 9 and a processor for executing instructions in the storage medium.
Citation Information
Patent Citations
Low-power 5G indoor distribution system and method
CN113193892A
5G NR frequency shift dual-path MIMO power self-balancing system
CN114584158A
Two-way power difference redundancy obtaining method and system and electronic equipment
CN115474205A
Frequency shift compensation method, system, medium and equipment
CN116781187A
Wireless System Using Different Bands in the Transmit and Receive Direction and Applying Frequency Shifts for Bandwidth Expansion
US20180019797A1