WO2014082504A1 - Automatic gain control method and device in td-lte - Google Patents

Automatic gain control method and device in td-lte Download PDF

Info

Publication number
WO2014082504A1
WO2014082504A1 PCT/CN2013/085335 CN2013085335W WO2014082504A1 WO 2014082504 A1 WO2014082504 A1 WO 2014082504A1 CN 2013085335 W CN2013085335 W CN 2013085335W WO 2014082504 A1 WO2014082504 A1 WO 2014082504A1
Authority
WO
WIPO (PCT)
Prior art keywords
frame
value
power
average power
current
Prior art date
Application number
PCT/CN2013/085335
Other languages
French (fr)
Chinese (zh)
Inventor
唐凯
谢一宁
李焱
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2014082504A1 publication Critical patent/WO2014082504A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/52TPC using AGC [Automatic Gain Control] circuits or amplifiers

Definitions

  • the present invention relates to a Long Term Evolution (LTE) wireless communication technology, and specifically relates to a Time Division Long Term Evolution (AGC) automatic gain control (AGC) method and apparatus.
  • LTE Long Term Evolution
  • AGC Automatic gain control
  • LTE is an evolution of the third generation (3G, Third Generation) mobile communication system due to the use of Orthogonal Frequency Division Multiplexing (OFDM) technology and multiple input multiple output (MIMO, Multiple-Input Multiple-Out-put Core technologies such as technology can be seen as quasi-4G technology.
  • OFDM Orthogonal Frequency Division Multiplexing
  • MIMO Multiple input multiple output
  • the LTE system can provide a peak rate of 100 Mbps downlink and 50 Mbps uplink in a 20 MHz spectrum bandwidth, which can improve the performance of the cell edge users and increase the cell capacity.
  • the LTE system includes TD-LTE and Frequency Division Duplexing Long Term Evolution (FDD-LTE), because TD-LTE can use the same frequency point for data transmission in the uplink and downlink. It saves bandwidth resources and is more favored by researchers.
  • FDD-LTE Frequency Division Duplexing Long Term Evolution
  • one TD-LTE frame is 10 ms, which can be divided into two 5 ms half frames.
  • Each 5 ms half frame can be composed of five 1 ms subframes, and each 1 ms subframe has a unique identifier. Frame number.
  • the TD-LTE downlink signal processing process includes the following three phases: a frequency point scanning and a primary synchronization symbol (PSS) detection phase, and a secondary synchronization symbol (SSS, Secondary Synchronization Signal) detection. And a physical broadcast channel (PBCH, Physical Broadcasting Channel) reading phase and a downlink traffic channel receiving phase; wherein, the frequency point scanning is mainly used for the signal power average value and power in the main diversity antenna The large value and the minimum power are scanned and the interference signal is checked.
  • PSS primary synchronization symbol
  • SSS Secondary Synchronization Signal
  • the PSS detection determines the position of the PSS symbol in the TD-LTE field length, and the UE can know the 5 ms synchronization information; the SSS detection is used to determine The position of the SSS symbol in the frame length, the UE can know the 10ms synchronization information, and the PBCH can read and retrieve the TD-LTE frame number synchronization information; the 5ms synchronization information, the 10ms synchronization information, and the frame number synchronization information set become the TD.
  • the frame synchronization information enables the user equipment (UE, User Equipment) to smoothly receive the signal sent by the base station through the downlink traffic channel.
  • the three phases when the signal sent by the base station is processed through layer processing, interference is unavoidable, which weakens the strength of the signal.
  • the three phases are introduced.
  • a certain power control method In the prior art, the conventional method is to introduce the same power control method into each stage to ensure signal strength stability, but ignores the characteristics of the environment in which the signals of the three stages are located, then, the same power control method Applying to these three different stages becomes inflexible, so there is an urgent need for a power control method that can be flexibly applied to these three stages.
  • the main purpose of the embodiments of the present invention is to provide a TD-LTE automatic gain control method and device, which can solve the problem of inflexibility of the power control method in the prior art.
  • An embodiment of the present invention provides a TD-LTE automatic gain control method, where the method includes: respectively, in a frequency point scanning and a primary synchronization symbol PSS detection phase, a frame length unit, a secondary synchronization symbol SSS detection, and a physical broadcast channel PBCH read.
  • the taking phase is in units of a field length
  • the downlink traffic channel receiving phase is in units of subframe lengths, and the average power of the corresponding symbols in each TD-LTE frame is compared with the power value of the second target, and each phase is obtained. The most reasonable power gain control value.
  • the method in the frequency scanning and PSS detection phase, includes: calculating, according to a frame length of 10 ms, an average power value of each symbol of a current TD-LTE frame, and determining, according to the comparison result, outputting a current TD-LTE frame.
  • the power gain control value is to the SSS detection and PBCH reading stage, or the processing of the next TD-LTE frame is performed.
  • the method includes: receiving a power gain control value outputted by the frequency point scanning and the PSS detection phase, and calculating the current half by using a 5 ms field length of the TD-LTE frame.
  • Frame PSS symbol, SSS symbol average power value compare the calculated current field PSS symbol, SSS symbol average power value with the first target power value, update and output the current field power gain control value of the current field according to the comparison result
  • the processing of the next half frame or the processing of the next half frame is performed simultaneously to the downlink traffic channel receiving phase.
  • the method includes: receiving a power gain control value outputted by the SSS detection and the PBCH reading phase, and calculating a current sub-unit in units of a 1 ms subframe length of the TD-LTE frame.
  • the frame reference signal RS symbol average power value and compares the calculated current subframe RS symbol average power value with the second target power value, and updates the current subframe power gain control value of the current subframe according to the comparison result and notifies the current user The device UE, or performs processing of the next subframe.
  • the method includes:
  • the average power value of each symbol in the second frame length is calculated, and the maximum average power value is compared and found as the maximum average power value of the second frame.
  • the method includes:
  • the average power of the PSS symbol and the SSS symbol in the frequency domain in the first field is calculated, and filtered by the loop filter circuit, where the average power value is used as the average power value of the first frame of the current frame;
  • the first half frame average power value is equal to the first target power value, and when the first field average power value is equal to the first target power value, entering the second frame processing of the current frame;
  • the first field average power gain value is updated as the current field power gain control value, and is output to the downlink traffic channel receiving phase, and simultaneously enters the current frame. Two fields are processed;
  • the average power of the PSS symbol and the SSS symbol in the frequency domain in the second field is calculated, and filtered by the loop filter circuit, where the average power value is used as the average power value of the second half frame;
  • the method includes:
  • the downlink traffic channel receiving phase receives the current field power gain control value outputted by the PSS detection and PBCH reading phases, and performs variable bandwidth processing on the current field power gain control value, and the processed current field power is processed.
  • the gain control value is used as the first subframe initial power gain value of the current field;
  • the average power of the first subframe RS symbol in the frequency domain is calculated, and after filtering by the loop filter circuit, the average power value is the average power value of the first subframe of the current field;
  • the average power of the RS symbol of the second subframe in the frequency domain is calculated, and after filtering by the loop filter circuit, the average power value is the average power value of the second subframe of the current field;
  • the embodiment of the invention further provides a TD-LTE automatic gain control device, the device comprising: a first stage power gain control module, a second stage power gain control module, a third stage power gain control module and a loop filter circuit ; among them,
  • the first stage power gain control module is configured to calculate, according to a frame length of 10 ms, an average power value of each symbol of the current TD-LTE frame and determine a maximum average power value, and a maximum average power value and a power upper limit and/or a power lower limit. For comparison, the most reasonable power gain control value for the frequency sweep and the primary sync symbol PSS detection phase is obtained;
  • the second stage power gain control module is configured to calculate an average power value of the current field PSS symbol and the SSS symbol in units of 5 ms field length of the TD-LTE frame, and calculate the current field PSS symbol, Comparing the average power value of the SSS symbol with the first target power value, and obtaining the most reasonable power gain control value of the secondary synchronization symbol SSS detection and the physical broadcast channel PBCH reading phase;
  • the third stage power gain control module is configured to calculate an average power value of the current subframe RS symbol by using a 1 ms subframe length of the TD-LTE frame, and calculate the calculated current subframe reference. Comparing the average power value of the signal RS symbol with the second target power value to obtain the most reasonable power gain control value in the downlink traffic channel receiving phase;
  • the loop filter circuit is configured to filter an average power value calculated by the second stage power gain control module and the third stage power gain control module.
  • the first stage power gain control module includes: a first processing submodule and a first update output submodule;
  • the first processing sub-module is configured to calculate an average power value of each symbol of the current TD-LTE frame in units of a frame length of 10 ms, and compare the average power value of each symbol of the current TD-LTE frame to determine a maximum average power of the current frame. a value that compares the current frame maximum average power value with a power upper limit and/or a lower power limit;
  • the first update output submodule is configured to update the current TD-LTE frame power gain control value as a next frame initial power gain value and send it to the first processing submodule, or output the current TD- according to the comparison result.
  • LTE frame power gain control value to the second stage power gain control module as a power gain control value of the current frame in the first stage power gain control module;
  • the first processing sub-module is further configured to start processing the next frame after receiving the next frame initial power gain value from the first update output sub-module.
  • the second stage power gain control module includes: a second processing submodule and a second update output submodule;
  • the second processing submodule is configured to calculate a PSS symbol and an SSS symbol average power value of the current field in units of 5 ms frame length; and compare the calculated current field PSS symbol, the SSS symbol average power value, and the first target. Power value
  • the second update output submodule is configured to update the current field power gain value according to the comparison result and output the result to the third stage power gain control module, and notify the second processing submodule to perform the next half frame processing, Or notifying the second processing sub-module to perform the next half of the frame processing;
  • the second processing submodule is further configured to, after receiving the notification sent by the second update output submodule, start processing the lower half of the frame.
  • the third stage power gain control module includes: a third processing submodule and a third update output submodule;
  • the third processing sub-module is configured to calculate a current sub-frame reference signal RS symbol average power value, and compare the calculated current sub-frame RS symbol average power value and a second target power value; the third update output And the module is configured to update the current subframe power gain control value according to the comparison result, and notify the current UE, and notify the third processing sub-module to perform the next subframe processing, or notify the third processing sub-module to perform the next One subframe processing;
  • the third processing submodule is further configured to, after receiving the notification sent by the third update output submodule, start processing the next subframe.
  • the TD-LTE automatic gain control method and device provided by the embodiments of the present invention are directed to the three-stage environmental characteristics of the TD-LTE downlink signal processing process, which are respectively in the frame length, the half frame length, and the subframe length. Calculating the average power of the corresponding symbols in each TD-LTE frame, and comparing the two target power values to obtain the most reasonable power gain control value for each phase; the embodiment of the present invention distinguishes the TD-LTE downlink signal
  • the environmental characteristics of the three phases included in the process increase the flexibility of power control.
  • FIG. 1 is a schematic flowchart of an implementation of a TD-LTE automatic gain control method according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of an implementation process of a TD-LTE automatic gain control method in a frequency point scanning and PSS detection phase according to an embodiment of the present invention
  • 3 is a schematic flowchart of an implementation process of a TD-LTE automatic gain control method in an SSS detection and a PBCH reading phase according to an embodiment of the present invention
  • 4 is a schematic flowchart of an implementation process of a TD-LTE automatic gain control method in a downlink traffic channel receiving phase according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of a structure of a TD-LTE automatic gain control device according to an embodiment of the present invention.
  • the TD-LTE automatic gain control method includes: a frame length unit, an SSS detection, and a PBCH reading phase in units of a half frame length and a downlink service in a frequency sweep and a PSS detection phase, respectively.
  • the channel receiving phase calculates the average power of the corresponding symbols in each TD-LTE frame in units of subframe lengths; respectively, the average power and the preset power upper limit and/or the power lower limit, the first target power value, and the first The comparison of the two target power values yields the most reasonable power gain control value for each phase.
  • the frequency sweep and PSS detection phases calculate the average power of each symbol of each TD-LTE frame;
  • the SSS detection and PBCH read phases calculate the PSS symbols and SSS symbols in each TD-LTE field. Average power;
  • the downlink traffic channel reception phase calculates the average power of the reference signal (RS, Reference Signal) symbols in each TD-LTE subframe.
  • RS Reference Signal
  • the power upper limit, the power lower limit, the first target power value, and the second target power value may be flexibly set according to actual conditions.
  • the method specifically includes step 10, step 20, and step 30:
  • Step 10 Calculate the average power value of each symbol of the current TD-LTE frame in units of 10 ms frame length and determine the maximum average power value, and compare the calculated maximum average power value with the power upper limit and/or the power lower limit, according to comparison As a result, the current TD-LTE frame is outputted at this stage of the power gain control value to the SSS detection and PBCH reading stage, or the next TD-LTE frame processing is performed.
  • the environment characteristics of the frequency point scanning and PSS detection stages are in units of 10 ms frame length; specifically, since the current UE has not acquired any synchronization information for the frequency point scanning and PSS detection stages, therefore, in one TD-
  • the LTE frame length is 10 ms, in the entire cell.
  • Both the uplink and downlink signals are likely to be used by the current UE as an average power estimate. Then, for the environmental characteristics of this stage, a statistical AGC method can be used to obtain better power gain control.
  • the current UE receives the RF circuit signal, and the RF circuit includes a power amplifier, an analog-to-digital converter (ADC), an RF chip, and the like; wherein, the RF chip manufacturer has indicated the RF chip when the RF chip is shipped from the factory.
  • Applicable power gain range from the minimum gain value G_min to the maximum gain value G-max; the power gain range varies depending on the type of the RF chip, and also varies from manufacturer to manufacturer.
  • step 10 may be:
  • the power gain range M indicated by the radio frequency chip is equally divided into N sub-segments, and the average power gain of each sub-segment is M/N (db), and M/N (db) is taken as the average power gain variation, where N is positive Integer
  • all received TD-LTE frames may be arranged into a first frame, a second frame, an ith frame.
  • First processing the first frame updating the initial power gain value A_G (1) of the first frame as the value of the minimum gain value G_min;
  • Second frame processing when the first frame maximum average power value is greater than the power lower limit P MINLIM , output the first frame initial power gain value A_G (1) to the SSS detection and PBCH reading phase, as the first frame at the frequency point Power gain control value resultl output during scanning and PSS detection phase;
  • the entering the second frame processing may specifically be:
  • the second frame initial power gain value A_G ( 3 ) A_G ( 2 ) -M/N is updated, as the third frame initial power gain value, entering the third Frame processing; when the maximum average power value of the second frame is greater than the power lower limit P MINLIM , outputting the second frame initial power gain value A_G ( 2 ) as the power gain control of the second frame in the frequency sweep and PSS detection phases Value resultl;
  • the specific process of entering the processing of the third frame is similar to the process of implementing the processing of the second frame, and so on, until all the frames received by the current UE are processed.
  • the power upper limit P MAXLIM and the power lower limit P MINLIM are preset; for different frames, the power upper limit P MAXLIM and the power lower limit P MINLIM may take the same value or different values;
  • the upper limit of the power limit is lOloglO ( 2 m ) +15 (db)
  • the lower limit of power Pminiim ranges from lOloglO ( 2 m ) -15 (db)
  • m is the bit width of the ADC device;
  • ADC The device's bit width is already specified in the bit width range when the ADC device is shipped from the factory.
  • the value of the parameter N ranges from 3 to 6, which can be flexibly adjusted according to the actual environment (such as the external field test).
  • N can be taken as a smaller value;
  • N may be a relatively large value; since this stage is processing the frame, in this stage, after calculating the average power value of each symbol within each frame length, it is not necessary to perform filtering processing through the loop filter circuit.
  • the position of the PSS symbol in the TD-LTE half frame length can be determined, that is, the half frame synchronization is determined, that is, the current UE has already known the 5 ms synchronization information at this time.
  • the 5ms synchronization information is fully utilized for SSS detection and automatic gain control during the PBCH reading phase.
  • Step 20 Receive a power gain control value, and calculate an average power value of the current field PSS symbol and the SSS symbol in units of 5 ms field length of the TD-LTE frame, and calculate the current field frame PSS symbol and the SSS symbol average power value. Comparing the first target power values, updating and outputting the current field according to the comparison result, performing the processing of the next half frame or the processing of the lower half frame in the phase of the power gain control value to the downlink traffic channel receiving phase;
  • the environment characteristics of the PSS detection and PBCH reading phases are in units of 5 ms field length of the TD-LTE frame;
  • the frequency sweep and PSS detection phases are for 10ms.
  • the current UE After the processing of the TD-LTE frame, after the frequency point scanning and the PSS detection phase are finished, the current UE already knows the 5 ms synchronization information, that is, the field synchronization information, and determines the signal time window of the PSS symbol; then, in the SSS detection, it can be determined. Signal time window of the SSS symbol;
  • the signal time window of the PSS symbol and the SSS symbol can be regarded as two points on the time axis, that is, the position of the PSS symbol and the SSS symbol in the TD-LTE field length has been determined.
  • the PSS symbol and the sss symbol in the half frame length are extracted; it can be seen that this stage is mainly processed for the TD-LTE field length; here, the current 1 Oms TD-LTE frame is divided into the first half.
  • the frame and the second field, the first field and the second field are both 5 ms frame length.
  • step 20 may be:
  • the resultl outputted in the receiving frequency point scanning and PSS detection stage is used as the initial power gain value of this stage;
  • the resultl is used as the initial power gain value of the first subframe in this stage.
  • the first half is calculated by using the prior art. Frame PSS symbol, the average power of the SSS symbol in the frequency domain, and performing multiple accumulation and averaging, and then filtering by the loop filter circuit to filter out noise, and the result is the first field average power value pi;
  • the processing of entering the second field of the current 10 ms TD-LTE frame is specifically: extracting the PSS symbol and the SSS symbol of the second field of the current 10 ms TD-LTE frame, and calculating the second field average by using the prior art.
  • the power value p2 then, determining whether the second field average power value p2 is equal to the target power value Target, and when p2 is equal to Target, entering the first field of the next TD-LTE frame; when p2 is not equal to Target, updating
  • the half frame time is short.
  • a relatively large loop filter coefficient needs to be set in advance to ensure fast convergence of the field symbol.
  • the loop filter coefficients of the loop filter coefficients are all in the range of 0.04 to 0.5.
  • the TD-LTE system with a bandwidth of 1.4 M is taken as an example.
  • the technical solution of the embodiment of the present invention includes, but is not limited to, a TD-LTE system with a bandwidth of 1.4 M, and can also be applied to a TD of other bandwidths.
  • - LTE system such as 10M, 15M, 20M bandwidth TD-LTE system.
  • Step 30 Receive a power gain control value, calculate an average power value of the current subframe RS symbol by using a lms subframe length of the TD-LTE frame, and calculate the calculated current subframe RS symbol average power value and the second target power value. Comparing, updating the power gain control value of the current subframe in the current stage according to the comparison result, and notifying the current UE, or performing the next subframe processing;
  • the environment characteristic of the downlink traffic channel receiving phase is in units of the lms subframe length of the TD-LTE frame;
  • the current UE For the downlink traffic channel reception phase, the current UE already knows TD-LTE downlink synchronization information such as 5ms synchronization information, 10ms synchronization information, and frame number synchronization information, that is, the current UE can determine each 1 ms through downlink synchronization.
  • the position of the reference signal (RS, Referenc Signal) in the sub-frame is in the respective sub-frames. Then, the RS in each sub-frame can be extracted. It can be seen that this stage is mainly for each of TD-LTE.
  • the lms subframe is processed; here, the current 5 ms TD-LTE field is divided into a first subframe, a second subframe, and a third
  • the subframe, the fourth subframe, and the fifth subframe, each subframe is lms long.
  • this phase takes the 20M bandwidth TD-LTE system as an example, because the power and bandwidth are proportional, that is, as the bandwidth increases, the power also Correspondingly enhanced.
  • the power gain control value result2 sent in the SSS detection and PBCH read phases needs to be subjected to variable bandwidth processing first.
  • step 30 may be:
  • variable bandwidth processing is performed on the power gain control value result2 sent from the SSS detection and PBCH reading phases as shown in the formula (1):
  • variable B. Ld is the bandwidth of the TD-LTE system used in the SSS detection and PBCH reading phase; B new is the bandwidth of the TD-LTE system used in this phase.
  • Reading result2_new is the initial power gain value of the first subframe of this stage
  • the average power of the first subframe RS symbol in the current field is calculated by using the prior art, and the loop filtering circuit is used for loop filtering.
  • the UE processes the second subframe by using the result 3 as the initial power gain value of the second subframe;
  • the processing of the second subframe may be: extracting the second subframe RS symbol of the current 5 ms TD-LTE field, and calculating the average power of the second subframe RS symbol in the frequency domain by using the prior art. , using a loop filter circuit for loop filtering to filter out noise, the result is the second sub-frame average power value M_p2; Determining whether the second sub-frame average power value M_p2 is equal to the second target power value Tar.
  • Frame processing
  • the embodiment of the present invention further provides a TD-LTE automatic gain control device.
  • the device includes: a first stage power gain control module 50, a second stage power gain control module 51, and a third stage power.
  • the first stage power gain control module 50 is configured to calculate, according to a frame length of 10 ms, an average power value of each symbol of the current TD-LTE frame and determine a maximum average power value, and a maximum average power value and a power upper limit and/or power. The lower limit is compared to obtain the most reasonable power gain control value at this stage;
  • the second stage power gain control module 51 is configured to calculate an average power value of the current field PSS symbol and the SSS symbol in units of 5 ms field length of the TD-LTE frame, and calculate the current field PSS symbol. And comparing the average power value of the SSS symbol with the first target power value to obtain the most reasonable power gain control value at this stage;
  • the third stage power gain control module 52 is configured to calculate an average power value of the current subframe RS symbol in units of 1 ms subframe length of the TD-LTE frame, and calculate the average power of the current subframe RS symbol. The value is compared with the second target power value to obtain the most reasonable power gain control value at this stage;
  • the loop filter circuit 53 is configured to filter the average power value calculated by the second stage power gain control module 51 and the third stage power gain control module 52.
  • the first stage is the frequency point scanning and PSS detection stage
  • the second stage is the SSS detection and PBCH reading stage
  • the third stage is the downlink traffic channel receiving stage.
  • the first stage power gain control module 50 receives the power gain range M indicated by the radio frequency chip, and divides the M average into N sub-segments, and takes M/N ( db ) as the average power gain change amount;
  • the initial power gain value of the first frame received by the UE is the value of the minimum gain value.
  • the average power value of each symbol in the length of the first frame is calculated by using the average power calculation method in the prior art, and the maximum value is compared and found. Average power value, as the maximum average power value of the first frame;
  • the initial power gain value of the first frame is updated as the initial power gain value of the second frame; and the initial power gain value of the first frame is used as the current frame power gain control value.
  • the first stage power gain control module 50 processes the second frame received by the current UE until all the received frames are completed.
  • the power gain range and the minimum gain value are indicated when the RF chip is shipped from the factory. Value.
  • the second stage power gain control module 51 receives the current frame power output control value sent by the first stage power gain control module 50 as the initial power gain value of the first frame of the current frame;
  • the second stage power gain control module 51 may calculate the average power of the first field PSS symbol and the SSS symbol in the frequency domain of the current frame, and then the second stage power gain control module. 51, the calculated average power is sent to the loop filter circuit 53, filtered by the loop filter circuit 53, and then returned to the second stage power gain control module 51, where the average power value returned is Half frame average power value;
  • the second stage power gain control module 51 receives and determines whether the first field average power value is equal to the first target power value
  • the second power gain control module 51 uses the current frame power output control value sent by the first stage power gain control module 50 as the second half. a frame initial power gain value, according to the foregoing technical solution, starting to process the second field of the current frame;
  • the second stage power gain control module 51 updates the first field average power gain value as the current field power gain control value, and outputs the current The third stage power control module 52; at the same time, using the updated first field average power gain value as the second field initial power gain value, according to the above technical solution, starting to process the second field of the current frame;
  • the second stage power gain control module 51 processes the second field of the current frame until all the fields received by the current UE are processed.
  • the third stage power gain control module 52 receives the current field power gain control value sent by the second stage power gain control module 51, and uses the formula (1) to perform variable bandwidth on the current field power gain control value. Processing, taking the processed current field power gain control value as The initial power gain value of the first subframe of the current field;
  • the third stage power gain control module 52 calculates the average power of the first subframe RS symbol in the frequency domain, and sends the calculated average power to the loop filter circuit 53. After the loop filtering circuit 53 performs filtering, it returns to the third stage power gain control module 52, where the average power value returned is the first sub-frame average power value; the first sub-frame average power value is compared with the first Whether the two target power values are equal;
  • the first sub-frame initial power gain value is used as the second frame initial power gain value, and the third-stage power gain control module 52 starts according to the foregoing technical solution. Processing the second subframe of the current field;
  • the third-stage power gain control module 52 updates the first sub-frame average power gain value as the current sub-frame power gain control value, and notifies the current At the same time, the updated first subframe average power gain value is used as the second frame initial power gain value, and the second subframe of the current field is processed according to the foregoing technical solution;
  • the third stage power gain control module 52 processes the second subframe of the current field until all subframes received by the current UE are processed.
  • the first stage power gain control module 50 includes a first processing submodule 500 and a first update output submodule 501;
  • the first processing sub-module 500 is configured to calculate an average power value of each symbol in the current TD-LTE frame in units of 10 ms frame length, and compare the average power value of each symbol in the current TD-LTE frame to determine a maximum average value of the current frame. a power value that compares a current frame maximum average power value with a power upper limit and/or a power lower limit;
  • the first update output sub-module 501 is configured to update the current TD-LTE frame power gain control value as the next frame initial power gain value and send it to the first processing sub-module 500, or output the current according to the comparison result.
  • TD-LTE frame initial power gain value as current TD-LTE power Gain control value to the second stage power gain control module 51;
  • the first processing sub-module 500 is further configured to start processing the next frame after receiving the next frame initial power gain value from the first update output sub-module 501;
  • the second stage power gain control module 51 includes a second processing submodule 510 and a second updated output submodule 511;
  • the second processing sub-module 510 is configured to calculate a current power value of the PSS symbol and the SSS symbol in the current field in units of 5 ms frame length; and compare the calculated current field PSS symbol and the SSS symbol average power value with the first Target power value size;
  • the second update output sub-module 511 is configured to update and output the current field power gain value to the third-stage power gain control module 52 according to the comparison result, and notify the second processing sub-module 510 to perform the lower half. Frame processing; or only the second processing sub-module 510 is notified to perform the next half of the frame processing;
  • the second processing sub-module 510 is further configured to receive the notification sent by the second update output sub-module 511 and begin processing the next half of the frame.
  • the third stage power gain control module 52 includes a third processing submodule 520 and a third update output submodule 521;
  • the third processing sub-module 520 is configured to calculate a variable power bandwidth, calculate an average power value of the RS symbol of the current subframe, and compare the calculated average power value of the RS symbol of the current subframe with the second target power value;
  • the third update output sub-module 521 is configured to update the current subframe power gain control value according to the comparison result, and notify the current UE, and notify the third processing sub-module 520 to perform the next subframe processing; or only notify The third processing sub-module 520 performs the next subframe processing;
  • the third processing sub-module 520 is further configured to begin processing the next subframe after receiving the notification issued by the third update output sub-module 521.
  • the The first processing sub-module 500 receives the power gain range M indicated by the radio frequency chip, and divides the M average into N sub-segments, then M/N (db) is the average power gain of each sub-segment;
  • M/N ( db ) is taken as the average power gain variation, where N is a positive integer; the RF chip is shipped with the minimum gain value G_min and the maximum gain value G_max;
  • the current UE is connected to all the frames in order, which is the first frame, the second frame, the i-th frame, and i is a positive integer;
  • the first processing sub-module 500 first processes the first frame, and updates the first frame initial power gain value A_G(1) to the value of the minimum gain value G_min;
  • the first processing sub-module 500 calculates the average power value of each symbol in the first frame length; and compares the average power value of each symbol in the first frame length and finds The maximum average power value, as the maximum average power value of the first frame;
  • the first processing submodule 500 compares the maximum average power value of the first frame with the power lower limit P minlim ,
  • the first update output sub-module 501 When the first frame maximum average power value is greater than the power lower limit P minlim , the first update output sub-module 501 outputs the A_G ( 1 ) value to the second-stage power gain control module 51, and specifically sends the a second processing sub-module 510, which is a power gain control value resultl outputted in the frequency point scanning and PSS detection phase of the first frame;
  • the first processing sub-module 500 receives the A-G(2), using the average power calculation method in the prior art, the first processing sub-module 500 calculates the average power value of each symbol in the second frame length. And comparing the average power value of each symbol in the length of the second frame and finding the maximum average power value as the maximum average power value of the second frame;
  • the first processing submodule 500 compares the maximum average power value of the second frame with the power lower limit P minlim .
  • the first update output sub-module 501 When the first frame maximum average power value is greater than the power lower limit P minlim , the first update output sub-module 501 outputs the A_G ( 2 ) value to the second-stage power gain control module 51, and specifically sends the The second processing sub-module 510, as the second frame, the power gain control value resultl outputted by the first stage power gain control module 50;
  • the first processing submodule 500 After receiving the A_G(3), completes the processing of the third frame in conjunction with the first update output submodule 501, and so on, until the receiving of the current UE is completed. Processing to all frames.
  • the power upper limit P maxlim and the power lower limit P minlim are preset in the first stage power gain control module 50, specifically set in the first processing submodule 500; for different frames,
  • the power upper limit P maxlim and the power lower limit P minlim may take the same value or may take different values; Among them, the upper limit of the power limit is lOloglO ( 2 m ) +15 (db), and the lower limit of power Pminiim is lOloglO ( 2 m ) -15 (db), m is the position of the ADC device in the RF circuit. Wide; the signal sent by the radio frequency circuit is received by the current UE;
  • the value of the parameter N ranges from 3 to 6, which is preset in the first stage power gain control module 50, specifically, is set in the first processing submodule 500; The processing performed by the frame, so after the first processing sub-module 500 calculates the average power value of each symbol in the length of each frame, it is no longer necessary to send the calculated average power value of each symbol to the loop filter circuit 53 for filtering. deal with.
  • the second processing submodule 510 receives the result1 sent by the first stage power gain control module 50 as an initial power gain value
  • the current UE can learn the synchronization information of 5 ms, so the second-stage power gain control module 51 can determine the PSS symbol and the SSS symbol position in each field, and can extract and calculate the PSS in each field.
  • the one TD-LTE frame may be divided into a first field and a second field.
  • the second processing sub-module 510 receives the resultl sent by the first-stage power gain control module 50 as the initial power gain value of the first field, and calculates the first half according to the method for calculating the result of the average power into the prior art.
  • Frame PSS symbol, average power of the SSS symbol in the frequency domain then the second processing sub-module 510 sends the calculated average power to the loop filter circuit 53, after being filtered by the loop filter circuit 53, and then Returning the average power to the second processing sub-module 510, where the average power value returned is the first field average power value pi;
  • the second processing sub-module 510 determines whether the first field average power value p 1 is equal to the first target power value Target.
  • the second processing sub-module 510 starts processing the second field
  • the second update output sub-module 511 updates the first field power gain control value result2, and outputs the result2 to the third-stage power control module 52, and outputs the result to the third processing sub-module. 520; using result2 as the second field initial power gain value, the second update output sub-module 511 notifying the second processing sub-module 510 to enter the second field processing;
  • the second processing sub-module 510 After receiving the notification (result2 as the second field initial power gain value) or self-identification (resultl as the second field initial power gain value), the second processing sub-module 510 needs to perform the next half frame processing, and then starts to The second field is processed: the second field initial power gain value is substituted into the prior art average power calculation method to calculate the average power of the second field PSS symbol and the SSS symbol in the frequency domain, and then the second processor The module 510 sends the calculated average power to the loop filter circuit 53, and after filtering by the loop filter circuit 53, returns the average power to the second processing sub-module 510, and returns the average power value.
  • the second processing sub-module 510 determines whether the second field average power value p 1 is equal to the first target power value Target.
  • the second field initial power gain value is used as the third field initial power gain value, and the second processing sub-module 510 starts processing the third field;
  • the second processing sub-module 510 receives the notification or recognizes that it needs to be performed. After the first field of one frame, combined with the second update output sub-module 511, the processing of the first field of the next frame is completed; until all the fields received by the current UE are processed.
  • the first target power value Target is pre-set in the second-stage power gain control module 51, and is specifically disposed in the second processing sub-module 510.
  • the current UE When the current UE is in the downlink traffic channel receiving phase, the current UE can learn 5 ms synchronization information, 10 ms synchronization information, and frame number synchronization information, so the third-stage power gain control module 52 can determine the RS symbol in each subframe. Position, and in turn, can extract and calculate an average power value of RS symbols per subframe;
  • the one TD-LTE field may be divided into a first subframe, a second subframe, a third subframe, a fourth subframe, and a fifth subframe. ;
  • the third processing sub-module 520 receives the second-stage power gain. After the power gain control value result2 of the control module 51, the variable bandwidth processing is performed according to the formula (1), and then the result2_new after the variable bandwidth processing is completed is used as the initial power gain value of the first subframe;
  • the third processing sub-module 520 substitutes result2_new into the prior art average power calculation method, calculates the average power of the first subframe RS symbol in the frequency domain, and then the third processing sub-module 520 sends the calculated
  • the average power is sent to the loop filter circuit 53 and filtered by the loop filter circuit 53 to return the average power to the third processing sub-module 520.
  • the average power value returned is the first sub-frame average power. Value ⁇ ⁇ )1;
  • the third processing sub-module 520 determines whether the first subframe average power value M_pl and the second target power value Tar are equal. When M_p 1 is equal to Tar, with result 2 — new as the second subframe initial power gain value, the third processing sub-module 520 starts processing the second subframe;
  • the third processing sub-module 520 needs to perform the next subframe for receiving the notification (using result3 as the second field initial power gain value) or by itself (with result2_new as the second field initial power gain value) After processing, the second subframe is processed in conjunction with the third update output submodule pair 521:
  • the third processing sub-module 520 calculates the average power of the second subframe RS symbol in the frequency domain according to the prior art average power calculation method, and then the third processing sub-module 520 sends the calculated average power to the
  • the loop filter circuit 53 is filtered by the loop filter circuit 53, and then returns the average power to the third processing sub-module 520.
  • the average power value returned is the second sub-frame average power value M_pl;
  • the third processing sub-module 520 determines whether the second subframe average power value M_p2 is equal to the second target power value Tar.
  • the third processing sub-module 520 combines with the second update output sub-module 521 to complete processing on the next subframe; until all the UEs received by the current UE are processed. frame.
  • the second target power value Tar is preset in the third stage power gain control mode 52, and is specifically disposed in the third processing submodule 520;
  • the current UE already knows TD-LTE downlink synchronization information such as 5ms synchronization information, 10ms synchronization information, and frame number synchronization information, that is, through downlink synchronization, the third processing sub-module 520 can determine each The position of the reference signal RS ( Referenc Signal ) symbol in the 1 ms subframe in the respective subframes, then the RS in each subframe can be extracted.
  • TD-LTE downlink synchronization information such as 5ms synchronization information, 10ms synchronization information, and frame number synchronization information
  • the output sub-module 501, the second processing sub-module 510, the second update output sub-module 511, the third processing sub-module 520, and the third update output sub-module 521 may each be a central processing unit (CPU), or a digital signal. Processing (DSP, Digital Signal Processor), or Field Programmable Gate Array (FPGA), etc.; the CPU, DSP, and FPGA can be built in the base station.
  • DSP Digital Signal Processor
  • FPGA Field Programmable Gate Array
  • the TD-LTE terminal automatic gain control method and device provided by the embodiments of the present invention are applicable to a TD-LTE system with bandwidths of 1.4M, 3M, 5M, 10M, 15M, and 20M.
  • the TD-LTE automatic gain control method calculates the average power of the corresponding symbol in units of frame length, in units of half frame length, and in units of subframe length, respectively, according to the environmental characteristics of the three stages.
  • the most reasonable power gain control value in the frequency sweep and PSS detection phase can be obtained; the average power of the semi-frame long RSS symbol and the SSS symbol is obtained.
  • the most reasonable power gain control value in the SSS detection and PBCH reading stages can be obtained; the downlink service can be obtained by comparing the average power value of the subframe RS symbol with the second target power value.
  • channel The most reasonable power gain control value in the receiving phase; the embodiment of the present invention distinguishes the environmental characteristics of the three phases, and adopts different power gain control methods in each phase to improve the flexibility of power control.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Circuits Of Receivers In General (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Disclosed is an automatic gain control method in TD-LTE. The method comprises: respectively calculating average power of corresponding symbols in all TD-LTE frames in stages of frequency point scanning and primary synchronization symbol (SS) detection in the unit of a frame length, in stages of secondary synchronization symbol (SSS) detection and PBCH reading in the unit of a half frame length, and in a stage of downlink traffic channel receiving in the unit of a subframe length; and respectively obtaining a most reasonable power gain control value of each stage by comparing the average power with an upper power limit and/or a lower power limit, a first target power value, and a second target power value. Further disclosed is an automatic gain control device in TD-LTE. According to the present invention, environmental characteristics of tree stages are differentiated, and the flexibly of power control is improved.

Description

一种 TD-LTE 自动增益控制方法及设备 技术领域  TD-LTE automatic gain control method and device
本发明涉及长期演进(LTE, Long Term evolution )无线通信技术, 具 体涉及一种时分长期演进 ( TD-LTE, Time Division Long Term Evolution ) 自动增益控制 (AGC, Automatic Gain Control )方法及设备。 背景技术  The present invention relates to a Long Term Evolution (LTE) wireless communication technology, and specifically relates to a Time Division Long Term Evolution (AGC) automatic gain control (AGC) method and apparatus. Background technique
LTE是第三代(3G, Third Generation )移动通信系统的演进, 因使用 正交频分复用 ( OFDM, Orthogonal Frequency Division Multiplexing )技术和 多输入多输出(MIMO, Multiple-Input Multiple-Out-put )技术等核心技术可 以被看作准 4G技术。 LTE系统在 20MHz频谱带宽下可提供下行 100Mbps、 上行 50Mbps的峰值速率, 可改善小区边缘用户的性能, 提高小区容量。  LTE is an evolution of the third generation (3G, Third Generation) mobile communication system due to the use of Orthogonal Frequency Division Multiplexing (OFDM) technology and multiple input multiple output (MIMO, Multiple-Input Multiple-Out-put Core technologies such as technology can be seen as quasi-4G technology. The LTE system can provide a peak rate of 100 Mbps downlink and 50 Mbps uplink in a 20 MHz spectrum bandwidth, which can improve the performance of the cell edge users and increase the cell capacity.
目前, LTE 系统包括 TD-LTE 和频分双工长期演进 ( FDD-LTE, Frequency Division Duplexing Long Term evolution ), 因 TD-LTE在上下行链 路中可使用相同频点来进行数据的传送, 能够节省频带资源, 而更受研究 者的青睐。  Currently, the LTE system includes TD-LTE and Frequency Division Duplexing Long Term Evolution (FDD-LTE), because TD-LTE can use the same frequency point for data transmission in the uplink and downlink. It saves bandwidth resources and is more favored by researchers.
在 TD-LTE系统中, 一个 TD-LTE帧为 10ms, 可划分为两个 5ms的半 帧, 每个 5ms的半帧可由 5个 1ms的子帧组成, 每个 1ms的子帧具有一个 唯一标识的帧号。  In the TD-LTE system, one TD-LTE frame is 10 ms, which can be divided into two 5 ms half frames. Each 5 ms half frame can be composed of five 1 ms subframes, and each 1 ms subframe has a unique identifier. Frame number.
现有技术中, TD-LTE下行链路信号处理过程中, 包括以下三个阶段: 频点扫描和主同步符号 ( PSS, Primary Synchronization Signal )检测阶段、 辅同步符号(SSS, Secondary Synchronization Signal )检测和物理广播信道 ( PBCH, Physical Broadcasting Channel )读取阶段、 下行业务信道接收阶 段; 其中, 频点扫描主要用于对主分集天线中的信号功率平均值、 功率最 大值和功率最小值进行扫描并排查干扰信号, 通过对干扰信号的排查, PSS 检测确定 PSS符号在 TD-LTE半帧长中的位置, 此时 UE可知道 5ms同步 信息; SSS检测用于确定 SSS符号在帧长中的位置, 此时 UE可知道 10ms 同步信息, 同时, PBCH可读取出 TD-LTE帧号同步信息; 所述 5ms同步 信息、 10ms同步信息和帧号同步信息集合成为 TD-LTE下行链路同步信息, 帧同步信息可使用户设备( UE, User Equipment )通过下行业务信道顺利接 收基站下发信号。 In the prior art, the TD-LTE downlink signal processing process includes the following three phases: a frequency point scanning and a primary synchronization symbol (PSS) detection phase, and a secondary synchronization symbol (SSS, Secondary Synchronization Signal) detection. And a physical broadcast channel (PBCH, Physical Broadcasting Channel) reading phase and a downlink traffic channel receiving phase; wherein, the frequency point scanning is mainly used for the signal power average value and power in the main diversity antenna The large value and the minimum power are scanned and the interference signal is checked. By troubleshooting the interference signal, the PSS detection determines the position of the PSS symbol in the TD-LTE field length, and the UE can know the 5 ms synchronization information; the SSS detection is used to determine The position of the SSS symbol in the frame length, the UE can know the 10ms synchronization information, and the PBCH can read and retrieve the TD-LTE frame number synchronization information; the 5ms synchronization information, the 10ms synchronization information, and the frame number synchronization information set become the TD. - LTE downlink synchronization information, the frame synchronization information enables the user equipment (UE, User Equipment) to smoothly receive the signal sent by the base station through the downlink traffic channel.
在上述三个阶段中, 基站发来的信号经过层层处理时无法避免的会加 入干扰, 进而削弱了信号的强度, 为保证基站下发信号能够顺利到达 UE, 这三个阶段中均会引入一定功率控制方法。 现有技术中, 惯用手段是将同 一功率控制方法分别引入到每个阶段来保证信号强度稳定性, 但是却忽略 了这三个阶段的信号所处环境的特点, 那么, 将同一种功率控制方法应用 于这三个不同的阶段就会显得不灵活, 因此迫切需要一种能够灵活应用到 这三个阶段的功率控制方法。  In the above three phases, when the signal sent by the base station is processed through layer processing, interference is unavoidable, which weakens the strength of the signal. In order to ensure that the signal sent by the base station can reach the UE smoothly, the three phases are introduced. A certain power control method. In the prior art, the conventional method is to introduce the same power control method into each stage to ensure signal strength stability, but ignores the characteristics of the environment in which the signals of the three stages are located, then, the same power control method Applying to these three different stages becomes inflexible, so there is an urgent need for a power control method that can be flexibly applied to these three stages.
发明内容 Summary of the invention
有鉴于此, 本发明实施例的主要目的在于提供一种 TD- LTE自动增益 控制方法及设备, 能够解决现有技术中功率控制方法不灵活的问题。  In view of this, the main purpose of the embodiments of the present invention is to provide a TD-LTE automatic gain control method and device, which can solve the problem of inflexibility of the power control method in the prior art.
为达到上述目的, 本发明实施例的技术方案是这样实现的:  To achieve the above objective, the technical solution of the embodiment of the present invention is implemented as follows:
本发明实施例提供了一种 TD-LTE自动增益控制方法, 所述方法包括: 分别在频点扫描和主同步符号 PSS检测阶段以帧长为单位、 辅同步符 号 SSS检测和物理广播信道 PBCH读取阶段以半帧长为单位、 下行业务信 道接收阶段以子帧长为单位, 对各 TD-LTE 帧中相应符号的平均功率进行 功率值、 第二目标功率值的比较, 得出每个阶段的最合理功率增益控制值。 上述方案中, 在所述频点扫描和 PSS检测阶段, 所述方法包括: 以 10ms帧长为单位计算当前 TD-LTE帧的各个符号平均功率值并确定 依据比较结果, 输出当前 TD-LTE帧在本阶段功率增益控制值到 SSS检测 和 PBCH读取阶段、 或进行下一 TD-LTE帧的处理。 An embodiment of the present invention provides a TD-LTE automatic gain control method, where the method includes: respectively, in a frequency point scanning and a primary synchronization symbol PSS detection phase, a frame length unit, a secondary synchronization symbol SSS detection, and a physical broadcast channel PBCH read. The taking phase is in units of a field length, and the downlink traffic channel receiving phase is in units of subframe lengths, and the average power of the corresponding symbols in each TD-LTE frame is compared with the power value of the second target, and each phase is obtained. The most reasonable power gain control value. In the foregoing solution, in the frequency scanning and PSS detection phase, the method includes: calculating, according to a frame length of 10 ms, an average power value of each symbol of a current TD-LTE frame, and determining, according to the comparison result, outputting a current TD-LTE frame. At this stage, the power gain control value is to the SSS detection and PBCH reading stage, or the processing of the next TD-LTE frame is performed.
上述方案中, 在所述 SSS检测和 PBCH读取阶段, 所述方法包括: 接收频点扫描和 PSS检测阶段输出的功率增益控制值, 以 TD-LTE帧 的 5ms半帧长为单位计算当前半帧 PSS符号、 SSS符号平均功率值, 将计 算出的当前半帧 PSS符号、 SSS符号平均功率值与第一目标功率值进行比 较, 依据比较结果更新并输出当前半帧在本阶段功率增益控制值到下行业 务信道接收阶段同时进行下一半帧的处理、 或进行下一半帧的处理。  In the foregoing solution, in the SSS detection and PBCH reading phase, the method includes: receiving a power gain control value outputted by the frequency point scanning and the PSS detection phase, and calculating the current half by using a 5 ms field length of the TD-LTE frame. Frame PSS symbol, SSS symbol average power value, compare the calculated current field PSS symbol, SSS symbol average power value with the first target power value, update and output the current field power gain control value of the current field according to the comparison result The processing of the next half frame or the processing of the next half frame is performed simultaneously to the downlink traffic channel receiving phase.
上述方案中, 在所述下行业务信道接收阶段, 所述方法包括: 接收 SSS检测和 PBCH读取阶段输出的功率增益控制值, 以 TD-LTE 帧的 1ms子帧长为单位,将计算当前子帧参考信号 RS符号平均功率值,并 将计算出的当前子帧 RS符号平均功率值与第二目标功率值进行比较,依据 比较结果更新当前子帧在本阶段功率增益控制值并通知给当前用户设备 UE、 或进行下一子帧的处理。  In the above solution, in the downlink traffic channel receiving phase, the method includes: receiving a power gain control value outputted by the SSS detection and the PBCH reading phase, and calculating a current sub-unit in units of a 1 ms subframe length of the TD-LTE frame. The frame reference signal RS symbol average power value, and compares the calculated current subframe RS symbol average power value with the second target power value, and updates the current subframe power gain control value of the current subframe according to the comparison result and notifies the current user The device UE, or performs processing of the next subframe.
上述方案中, 所述方法包括:  In the above solution, the method includes:
接收射频芯片标明的功率增益范围, 并将功率增益范围平均划分为多 个子段, 得到平均功率增益变化量;  Receiving a power gain range indicated by the radio frequency chip, and dividing the power gain range into a plurality of sub-sections to obtain an average power gain variation;
更新当前 UE接收到的第一帧初始功率增益值为最小增益值的取值,利 用平均功率计算方法, 计算出第一帧长度内每个符号平均功率值, 比较并 找出最大的平均功率值, 作为第一帧最大平均功率值;  Update the value of the initial power gain value of the first frame received by the current UE to the minimum gain value, and calculate the average power value of each symbol in the first frame length by using the average power calculation method, compare and find the maximum average power value. , as the maximum average power value of the first frame;
当第一帧最大平均功率值大于功率上限时, 更新第一帧初始功率增益 值, 作为第二帧初始功率增益值; 当第一帧最大平均功率值小于功率上限同时小于功率下限时, 更新第 一帧初始功率增益值, 作为第二帧初始功率增益值; Updating the first frame initial power gain value as the second frame initial power gain value when the first frame maximum average power value is greater than the power upper limit; Updating the first frame initial power gain value as the second frame initial power gain value when the first frame maximum average power value is less than the power upper limit and less than the power lower limit;
当第一帧最大平均功率值小于功率上限同时大于功率下限时, 更新第 一帧初始功率增益值, 作为第二帧初始功率增益值;  When the maximum average power value of the first frame is less than the upper power limit and greater than the lower power limit, updating the initial power gain value of the first frame as the initial power gain value of the second frame;
将第一帧最大平均功率值作为第二帧功率增益控制值输出到所述 PSS 检测和 PBCH读取阶段;  Outputting a first frame maximum average power value as a second frame power gain control value to the PSS detection and PBCH reading phase;
利用平均功率计算方法, 计算出第二帧长度内每个符号平均功率值, 比较并找出最大的平均功率值, 作为第二帧最大平均功率值,  Using the average power calculation method, the average power value of each symbol in the second frame length is calculated, and the maximum average power value is compared and found as the maximum average power value of the second frame.
当第二帧最大平均功率值大于功率上限时, 更新第二帧初始功率增益 值, 作为第三帧初始功率增益值;  When the maximum average power value of the second frame is greater than the upper power limit, updating the initial power gain value of the second frame as the initial power gain value of the third frame;
当第二帧最大平均功率值小于功率上限同时小于功率下限时, 更新第 二帧初始功率增益值, 作为第三帧初始功率增益值;  When the maximum average power value of the second frame is less than the upper power limit and less than the lower power limit, updating the second frame initial power gain value as the third frame initial power gain value;
当第二帧最大平均功率值小于功率上限同时大于功率下限时, 更新第 二帧初始功率增益值, 作为第三帧初始功率增益值;  When the maximum average power value of the second frame is less than the upper power limit and greater than the lower power limit, updating the second frame initial power gain value as the third frame initial power gain value;
将第二帧最大平均功率值作为第二帧功率增益控制值输出到所述 PSS 检测和 PBCH读取阶段;  Outputting a second frame maximum average power value as a second frame power gain control value to the PSS detection and PBCH reading phase;
以此类推, 直至完成 UE接收到的所有帧。  And so on, until all the frames received by the UE are completed.
上述方案中, 所述方法包括:  In the above solution, the method includes:
接收由所述频点扫描和 PSS检测阶段当前帧输出的功率输出控制值, 并作为当前帧第一半帧初始功率增益值;  Receiving a power output control value output by the current frame of the frequency point scanning and PSS detection stage, and serving as a first power frame initial power gain value of the current frame;
依据平均功率计算方法, 计算出第一半帧 PSS符号、 SSS符号在频域 内的平均功率, 经由环路滤波电路进行滤波, 此时平均功率值作为当前帧 第一半帧平均功率值;  According to the average power calculation method, the average power of the PSS symbol and the SSS symbol in the frequency domain in the first field is calculated, and filtered by the loop filter circuit, where the average power value is used as the average power value of the first frame of the current frame;
判断第一半帧平均功率值与第一目标功率值是否相等, 当第一半帧平 均功率值与第一目标功率值相等时, 进入对当前帧第二半帧处理; 当第一 半帧平均功率值与第一目标功率值不相等时, 更新第一半帧平均功率增益 值, 作为当前半帧功率增益控制值, 输出到所述下行业务信道接收阶段, 同时进入对当前帧第二半帧进行处理; Determining whether the first half frame average power value is equal to the first target power value, and when the first field average power value is equal to the first target power value, entering the second frame processing of the current frame; When the half frame average power value is not equal to the first target power value, the first field average power gain value is updated as the current field power gain control value, and is output to the downlink traffic channel receiving phase, and simultaneously enters the current frame. Two fields are processed;
所述进入对当前帧第二半帧进行处理为:  The entry processes the second field of the current frame as:
依据平均功率计算方法, 计算出第二半帧 PSS符号、 SSS符号在频域 内的平均功率, 经由环路滤波电路进行滤波, 此时平均功率值作为第二半 帧平均功率值;  According to the average power calculation method, the average power of the PSS symbol and the SSS symbol in the frequency domain in the second field is calculated, and filtered by the loop filter circuit, where the average power value is used as the average power value of the second half frame;
判断第二半帧平均功率值与第一目标功率值是否相等, 当第二半帧平 均功率值与第一目标功率值相等时, 进入对当前帧第三半帧处理; 当第二 半帧平均功率值与第一目标功率值不相等时, 更新第二半帧平均功率增益 值, 作为当前半帧功率增益控制值, 输出到所述下行业务信道接收阶段, 同时进入对当前帧第三半帧进行处理;  Determining whether the average power value of the second field is equal to the first target power value, and when the average power value of the second field is equal to the first target power value, entering the third field processing of the current frame; When the power value is not equal to the first target power value, updating the second field average power gain value as the current field power gain control value, outputting to the downlink traffic channel receiving phase, and simultaneously entering the third frame of the current frame Process
以此类推, 直至完成 UE接收到的所有半帧。  And so on, until all the fields received by the UE are completed.
上述方案中, 所述方法包括:  In the above solution, the method includes:
所述下行业务信道接收阶段接收由所述 PSS检测和 PBCH读取阶段输 出的当前半帧功率增益控制值, 并对当前半帧功率增益控制值进行变带宽 处理, 将处理后的当前半帧功率增益控制值作为当前半帧的第一子帧初始 功率增益值;  The downlink traffic channel receiving phase receives the current field power gain control value outputted by the PSS detection and PBCH reading phases, and performs variable bandwidth processing on the current field power gain control value, and the processed current field power is processed. The gain control value is used as the first subframe initial power gain value of the current field;
依据平均功率计算方法, 计算出第一子帧 RS 符号在频域内的平均功 率, 经由环路滤波电路滤波后, 此时平均功率值为当前半帧第一子帧平均 功率值;  According to the average power calculation method, the average power of the first subframe RS symbol in the frequency domain is calculated, and after filtering by the loop filter circuit, the average power value is the average power value of the first subframe of the current field;
比较第一子帧平均功率值与第二目标功率值是否相等, 当第一子帧平 均功率值与第二目标功率值相等时, 进入对当前半帧第二子帧处理; 当第 一子帧平均功率值与第二目标功率值不相等时, 更新第一子帧平均功率增 益值, 作为当前子帧功率增益控制值, 通知给当前 UE; 同时, 进入对当前 半帧第二子帧处理; Comparing whether the first subframe average power value and the second target power value are equal, when the first subframe average power value is equal to the second target power value, entering the second subframe processing of the current field; when the first subframe When the average power value is not equal to the second target power value, the first subframe average power gain value is updated as the current subframe power gain control value, and notified to the current UE; Half frame second subframe processing;
所述进入对当前半帧第二子帧处理为:  The entry is processed for the second subframe of the current field as:
依据平均功率计算方法, 计算出第二子帧 RS 符号在频域内的平均功 率, 经由环路滤波电路滤波后, 此时平均功率值为当前半帧第二子帧平均 功率值;  According to the average power calculation method, the average power of the RS symbol of the second subframe in the frequency domain is calculated, and after filtering by the loop filter circuit, the average power value is the average power value of the second subframe of the current field;
比较第二子帧平均功率值与第二目标功率值是否相等, 当第二子帧平 均功率值与第二目标功率值相等时, 进入对当前半帧第三子帧处理; 当第 二子帧平均功率值与第二目标功率值不相等时, 更新第二子帧平均功率增 益值, 作为当前子帧功率增益控制值, 通知给当前 UE; 同时, 进入对当前 半帧第三子帧处理;  Comparing whether the second subframe average power value is equal to the second target power value, when the second subframe average power value is equal to the second target power value, entering the third subframe processing of the current field; when the second subframe When the average power value is not equal to the second target power value, updating the second subframe average power gain value as the current subframe power gain control value, and notifying the current UE; meanwhile, entering the third subframe processing of the current field;
以此类推, 直至完成当前 UE接收到的所有子帧。  And so on, until all the subframes received by the current UE are completed.
本发明实施例还提供了一种 TD-LTE 自动增益控制设备, 所述设备包 括: 第一阶段功率增益控制模块、 第二阶段功率增益控制模块、 第三阶段 功率增益控制模块和环路滤波电路; 其中,  The embodiment of the invention further provides a TD-LTE automatic gain control device, the device comprising: a first stage power gain control module, a second stage power gain control module, a third stage power gain control module and a loop filter circuit ; among them,
所述第一阶段功率增益控制模块, 配置为以 10ms帧长为单位, 计算当 前 TD-LTE 帧各个符号平均功率值并确定最大平均功率值, 将最大平均功 率值与功率上限和 /或功率下限进行比较, 得出频点扫描和主同步符号 PSS 检测阶段最合理功率增益控制值;  The first stage power gain control module is configured to calculate, according to a frame length of 10 ms, an average power value of each symbol of the current TD-LTE frame and determine a maximum average power value, and a maximum average power value and a power upper limit and/or a power lower limit. For comparison, the most reasonable power gain control value for the frequency sweep and the primary sync symbol PSS detection phase is obtained;
所述第二阶段功率增益控制模块, 配置为以 TD-LTE帧的 5ms半帧长 为单位, 计算当前半帧 PSS符号、 SSS符号的平均功率值, 并将计算出的 当前半帧 PSS符号、 SSS符号的平均功率值与第一目标功率值进行比较, 得出辅同步符号 SSS检测和物理广播信道 PBCH读取阶段最合理功率增益 控制值;  The second stage power gain control module is configured to calculate an average power value of the current field PSS symbol and the SSS symbol in units of 5 ms field length of the TD-LTE frame, and calculate the current field PSS symbol, Comparing the average power value of the SSS symbol with the first target power value, and obtaining the most reasonable power gain control value of the secondary synchronization symbol SSS detection and the physical broadcast channel PBCH reading phase;
所述第三阶段功率增益控制模块, 配置为以 TD-LTE帧的 1ms子帧长 为单位, 计算当前子帧 RS符号的平均功率值, 并将计算出的当前子帧参考 信号 RS符号的平均功率值与第二目标功率值进行比较,得出下行业务信道 接收阶段最合理功率增益控制值; The third stage power gain control module is configured to calculate an average power value of the current subframe RS symbol by using a 1 ms subframe length of the TD-LTE frame, and calculate the calculated current subframe reference. Comparing the average power value of the signal RS symbol with the second target power value to obtain the most reasonable power gain control value in the downlink traffic channel receiving phase;
所述环路滤波电路, 配置为对第二阶段功率增益控制模块和第三阶段 功率增益控制模块计算出的平均功率值进行滤波。  The loop filter circuit is configured to filter an average power value calculated by the second stage power gain control module and the third stage power gain control module.
上述方案中, 所述第一阶段功率增益控制模块包括: 第一处理子模块 和第一更新输出子模块; 其中,  In the above solution, the first stage power gain control module includes: a first processing submodule and a first update output submodule;
所述第一处理子模块, 配置为以 10ms帧长为单位, 计算当前 TD-LTE 帧各个符号平均功率值, 并比较当前 TD-LTE帧各个符号平均功率值大小, 确定出当前帧最大平均功率值, 对将当前帧最大平均功率值与功率上限和 / 或功率下限进行比较;  The first processing sub-module is configured to calculate an average power value of each symbol of the current TD-LTE frame in units of a frame length of 10 ms, and compare the average power value of each symbol of the current TD-LTE frame to determine a maximum average power of the current frame. a value that compares the current frame maximum average power value with a power upper limit and/or a lower power limit;
所述第一更新输出子模块, 配置为依据比较结果, 更新当前 TD-LTE 帧功率增益控制值, 作为下一帧初始功率增益值并发送到所述第一处理子 模块、 或输出当前 TD-LTE 帧功率增益控制值到所述第二阶段功率增益控 制模块, 作为当前帧在所述第一阶段功率增益控制模块中的功率增益控制 值;  The first update output submodule is configured to update the current TD-LTE frame power gain control value as a next frame initial power gain value and send it to the first processing submodule, or output the current TD- according to the comparison result. LTE frame power gain control value to the second stage power gain control module as a power gain control value of the current frame in the first stage power gain control module;
所述第一处理子模块, 还配置为在接收到来自所述第一更新输出子模 块的下一帧初始功率增益值后, 开始进行对下一帧处理。  The first processing sub-module is further configured to start processing the next frame after receiving the next frame initial power gain value from the first update output sub-module.
上述方案中, 所述第二阶段功率增益控制模块包括: 第二处理子模块 和第二更新输出子模块;  In the above solution, the second stage power gain control module includes: a second processing submodule and a second update output submodule;
所述第二处理子模块, 配置为以 5ms帧长为单位, 计算当前半帧 PSS 符号、 SSS符号平均功率值; 并比较计算出的当前半帧 PSS符号、 SSS符 号平均功率值与第一目标功率值大小;  The second processing submodule is configured to calculate a PSS symbol and an SSS symbol average power value of the current field in units of 5 ms frame length; and compare the calculated current field PSS symbol, the SSS symbol average power value, and the first target. Power value
所述第二更新输出子模块, 配置为依据比较结果, 更新当前半帧功率 增益值并输出到所述第三阶段功率增益控制模块, 同时通知所述第二处理 子模块进行下一半帧处理、 或通知所述第二处理子模块进行下一半帧处理; 所述第二处理子模块, 还配置为接收由所述第二更新输出子模块发出 的通知后, 开始对下一半帧进行处理。 The second update output submodule is configured to update the current field power gain value according to the comparison result and output the result to the third stage power gain control module, and notify the second processing submodule to perform the next half frame processing, Or notifying the second processing sub-module to perform the next half of the frame processing; The second processing submodule is further configured to, after receiving the notification sent by the second update output submodule, start processing the lower half of the frame.
上述方案中, 所述第三阶段功率增益控制模块包括: 第三处理子模块 和第三更新输出子模块; 其中,  In the above solution, the third stage power gain control module includes: a third processing submodule and a third update output submodule;
所述第三处理子模块,配置为计算当前子帧参考信号 RS符号平均功率 值, 并比较计算出的当前子帧 RS符号平均功率值与第二目标功率值大小; 所述第三更新输出子模块, 配置为依据比较结果, 更新当前子帧功率 增益控制值, 并通知给当前 UE, 同时通知所述第三处理子模块进行下一子 帧处理、 或通知所述第三处理子模块进行下一子帧处理;  The third processing sub-module is configured to calculate a current sub-frame reference signal RS symbol average power value, and compare the calculated current sub-frame RS symbol average power value and a second target power value; the third update output And the module is configured to update the current subframe power gain control value according to the comparison result, and notify the current UE, and notify the third processing sub-module to perform the next subframe processing, or notify the third processing sub-module to perform the next One subframe processing;
所述第三处理子模块, 还配置为接收由所述第三更新输出子模块发出 的通知之后, 开始对下一子帧进行处理。  The third processing submodule is further configured to, after receiving the notification sent by the third update output submodule, start processing the next subframe.
本发明实施例提供的 TD-LTE自动增益控制方法及设备,针对 TD-LTE 下行链路信号处理过程中所包括三个阶段的环境特点, 分别以帧长、 半帧 长、 子帧长为单位, 对各个 TD-LTE帧中的相应符号的平均功率进行计算, 二目标功率值的比较, 得出每一个阶段的最合理功率增益控制值; 本发明 实施例区分了 TD-LTE 下行链路信号处理过程中所包括三个阶段的环境特 点, 增加了功率控制的灵活性。  The TD-LTE automatic gain control method and device provided by the embodiments of the present invention are directed to the three-stage environmental characteristics of the TD-LTE downlink signal processing process, which are respectively in the frame length, the half frame length, and the subframe length. Calculating the average power of the corresponding symbols in each TD-LTE frame, and comparing the two target power values to obtain the most reasonable power gain control value for each phase; the embodiment of the present invention distinguishes the TD-LTE downlink signal The environmental characteristics of the three phases included in the process increase the flexibility of power control.
附图说明 DRAWINGS
图 1为本发明实施例 TD- LTE自动增益控制方法的实现流程示意图; 图 2为本发明实施例在频点扫描和 PSS检测阶段 TD- LTE自动增益控 制方法的实现流程示意图;  1 is a schematic flowchart of an implementation of a TD-LTE automatic gain control method according to an embodiment of the present invention; FIG. 2 is a schematic flowchart of an implementation process of a TD-LTE automatic gain control method in a frequency point scanning and PSS detection phase according to an embodiment of the present invention;
图 3为本发明实施例在 SSS检测和 PBCH读取阶段 TD- LTE自动增益 控制方法的实现流程示意图; 图 4为本发明实施例在下行业务信道接收阶段 TD- LTE自动增益控制 方法的实现流程示意图; 3 is a schematic flowchart of an implementation process of a TD-LTE automatic gain control method in an SSS detection and a PBCH reading phase according to an embodiment of the present invention; 4 is a schematic flowchart of an implementation process of a TD-LTE automatic gain control method in a downlink traffic channel receiving phase according to an embodiment of the present invention;
图 5为本发明实施例 TD- LTE自动增益控制设备的组成结构示意图。  FIG. 5 is a schematic structural diagram of a structure of a TD-LTE automatic gain control device according to an embodiment of the present invention.
具体实施方式 detailed description
本发明实施例提供的 TD- LTE自动增益控制方法, 所述方法包括: 分别在频点扫描和 PSS检测阶段以帧长为单位、 SSS检测和 PBCH读 取阶段以半帧长为单位、 下行业务信道接收阶段以子帧长为单位, 对各 TD-LTE帧中相应符号的平均功率进行计算;分别通过所述平均功率与预设 的功率上限和 /或功率下限、 第一目标功率值、 第二目标功率值的比较, 得 出每个阶段的最合理功率增益控制值。  The TD-LTE automatic gain control method provided by the embodiment of the present invention includes: a frame length unit, an SSS detection, and a PBCH reading phase in units of a half frame length and a downlink service in a frequency sweep and a PSS detection phase, respectively. The channel receiving phase calculates the average power of the corresponding symbols in each TD-LTE frame in units of subframe lengths; respectively, the average power and the preset power upper limit and/or the power lower limit, the first target power value, and the first The comparison of the two target power values yields the most reasonable power gain control value for each phase.
这里, 频点扫描和 PSS检测阶段计算的是每个 TD-LTE帧的各个符号 的平均功率; SSS检测和 PBCH读取阶段计算的是每个 TD-LTE半帧中的 PSS 符号、 SSS 符号的平均功率; 下行业务信道接收阶段计算的是每个 TD-LTE子帧中参考信号 ( RS, Reference Signal )符号的平均功率。  Here, the frequency sweep and PSS detection phases calculate the average power of each symbol of each TD-LTE frame; the SSS detection and PBCH read phases calculate the PSS symbols and SSS symbols in each TD-LTE field. Average power; The downlink traffic channel reception phase calculates the average power of the reference signal (RS, Reference Signal) symbols in each TD-LTE subframe.
其中, 功率上限、 功率下限、 第一目标功率值、 第二目标功率值可根 据实际情况而灵活设置。  The power upper limit, the power lower limit, the first target power value, and the second target power value may be flexibly set according to actual conditions.
如图 1所示, 所述方法具体包括步骤 10、 步骤 20和步骤 30:  As shown in FIG. 1, the method specifically includes step 10, step 20, and step 30:
步骤 10:以 10ms帧长为单位计算当前 TD-LTE帧的各个符号平均功率 值并确定最大平均功率值, 并将计算出的最大平均功率值与功率上限和 /或 功率下限进行比较, 依据比较结果输出当前 TD-LTE 帧在本阶段功率增益 控制值到 SSS检测和 PBCH读取阶段、 或进行下一 TD-LTE帧处理。  Step 10: Calculate the average power value of each symbol of the current TD-LTE frame in units of 10 ms frame length and determine the maximum average power value, and compare the calculated maximum average power value with the power upper limit and/or the power lower limit, according to comparison As a result, the current TD-LTE frame is outputted at this stage of the power gain control value to the SSS detection and PBCH reading stage, or the next TD-LTE frame processing is performed.
这里,针对频点扫描和 PSS检测阶段的环境特点,以 10ms帧长为单位; 具体的, 由于针对频点扫描和 PSS检测阶段, 当前 UE还未获取到任 何同步信息, 所以, 在一个 TD-LTE帧长即 10ms的时间内, 整个小区中的 上行、 下行信号都有可能被当前 UE用作平均功率估计。 那么, 针对本阶段 具有的环境特点, 采用一种统计 AGC的方法, 可以获得较好的功率增益控 制。 Here, the environment characteristics of the frequency point scanning and PSS detection stages are in units of 10 ms frame length; specifically, since the current UE has not acquired any synchronization information for the frequency point scanning and PSS detection stages, therefore, in one TD- The LTE frame length is 10 ms, in the entire cell. Both the uplink and downlink signals are likely to be used by the current UE as an average power estimate. Then, for the environmental characteristics of this stage, a statistical AGC method can be used to obtain better power gain control.
当前 UE接收射频电路信号,所述射频电路包括有功率放大器、模数转 换器(ADC, Analog Digital Conversion ), 射频芯片等; 其中, 射频芯片生 产厂商在所述射频芯片出厂时已经标明该射频芯片适用的功率增益范围: 从最小增益值 G— min至最大增益值 G— max; 所述功率增益范围因射频芯片 的型号不同而不同, 也因生产厂商不同而不同。  The current UE receives the RF circuit signal, and the RF circuit includes a power amplifier, an analog-to-digital converter (ADC), an RF chip, and the like; wherein, the RF chip manufacturer has indicated the RF chip when the RF chip is shipped from the factory. Applicable power gain range: from the minimum gain value G_min to the maximum gain value G-max; the power gain range varies depending on the type of the RF chip, and also varies from manufacturer to manufacturer.
如图 2所示, 步骤 10的具体处理过程可以为:  As shown in FIG. 2, the specific processing procedure of step 10 may be:
将射频芯片标明的功率增益范围 M平均划分为 N个子段,每个子段的 平均功率增益为 M/N ( db ), 将 M/N ( db )作为平均功率增益变化量, 其中, N为正整数;  The power gain range M indicated by the radio frequency chip is equally divided into N sub-segments, and the average power gain of each sub-segment is M/N (db), and M/N (db) is taken as the average power gain variation, where N is positive Integer
这里, 假定当前 UE接收到的所有 TD-LTE帧的个数为 i个, i为正整 数, 那么, 可将接收到的所有 TD-LTE帧排列为第一帧, 第二帧…第 i帧; 先对第一帧进行处理, 更新第一帧初始功率增益值 A— G ( 1 )为最小增 益值 G— min的取值;  Here, it is assumed that the number of all TD-LTE frames received by the current UE is i, and i is a positive integer, then all received TD-LTE frames may be arranged into a first frame, a second frame, an ith frame. First processing the first frame, updating the initial power gain value A_G (1) of the first frame as the value of the minimum gain value G_min;
将第一帧功率增益初始值 A— G ( 1 )代入到现有技术中的平均功率值计 算方法中, 计算第一帧长度内各个符号平均功率值;  Substituting the first frame power gain initial value A_G(1) into the average power value calculation method in the prior art, and calculating the average power value of each symbol in the first frame length;
比较第一帧长度内每个符号平均功率值大小, 并找出最大平均功率值, 作为第一帧最大平均功率值;  Comparing the average power value of each symbol in the length of the first frame, and finding the maximum average power value as the maximum average power value of the first frame;
比较第一帧最大平均功率值与功率上限 Pmaxlim的大小, 当第一帧最大 平均功率值大于功率上限 Pmaxlim时, 更新第一帧初始功率增益值 A—G ( 2 ) =A_G ( 1 ) +M/N, 作为第二帧初始功率增益值, 进入对第二帧处理; 当第 一帧最大平均功率值小于功率上限 Pmaxlim时, 再比较第一帧最大平均功率 值与功率下限 Pminlim的大小; 当第一帧最大平均功率值小于功率下限 PMINLIM时,更新第一帧初始功率 增益值 A— G ( 2 ) =A G ( 1 ) -M/N, 作为第二帧初始功率增益值, 进入对 第二帧处理; 当第一帧最大平均功率值大于功率下限 PMINLIM时,输出第一帧 初始功率增益值 A— G ( 1 )到 SSS检测和 PBCH读取阶段, 作为第一帧在 频点扫描和 PSS检测阶段输出的功率增益控制值 resultl ; Comparing the maximum average power value of the first frame with the power upper limit P maxlim , when the maximum average power value of the first frame is greater than the power upper limit P maxlim , updating the initial power gain value of the first frame A_G ( 2 ) = A_G ( 1 ) +M/N, as the initial power gain value of the second frame, enters processing for the second frame; when the maximum average power value of the first frame is less than the power upper limit P maxlim , compares the maximum average power value and the power lower limit P minlim of the first frame the size of; When the first frame maximum average power value is less than the power lower limit P MINLIM , the first frame initial power gain value A_G ( 2 ) =AG ( 1 ) -M/N is updated as the second frame initial power gain value, and the pair is entered. Second frame processing; when the first frame maximum average power value is greater than the power lower limit P MINLIM , output the first frame initial power gain value A_G (1) to the SSS detection and PBCH reading phase, as the first frame at the frequency point Power gain control value resultl output during scanning and PSS detection phase;
所述进入对第二帧处理具体可以为:  The entering the second frame processing may specifically be:
将第二帧功率增益初始值 A—G ( 2 )代入到现有技术中的平均功率值计 算方法, 计算出第二帧长度内各个符号的平均功率值;  Substituting the second frame power gain initial value A_G ( 2 ) into the average power value calculation method in the prior art, and calculating an average power value of each symbol in the second frame length;
比较第二帧长度内每个符号的平均功率值大小并找出最大平均功率 值, 作为第二帧最大平均功率值;  Comparing the average power value of each symbol in the second frame length and finding the maximum average power value as the maximum average power value of the second frame;
比较第二帧最大平均功率值与功率上限 PMAXLIM的大小, 当第二帧最大 平均功率值大于功率上限 PMAXLIM时, 更新第二帧初始功率增益值 A—G ( 3 ) =A_G ( 2 ) +M/N, 作为第三帧初始功率增益值, 进入对第三帧处理; 当第 二帧最大平均功率值小于功率上限 PMAXLIM时, 再比较第二帧最大平均功率 值与功率下限 PMINLIM的大小; Comparing the maximum average power value of the second frame with the power upper limit P MAXLIM , when the maximum average power value of the second frame is greater than the power upper limit P MAXLIM , updating the second frame initial power gain value A_G ( 3 ) = A_G ( 2 ) +M/N, as the initial power gain value of the third frame, enters processing for the third frame; when the maximum average power value of the second frame is less than the upper power limit P MAXLIM , compares the maximum average power value of the second frame with the lower power limit P MINLIM the size of;
当第二帧最大平均功率值小于功率下限 PMINLIM时,更新第二帧初始功率 增益值 A_G ( 3 ) =A_G ( 2 ) -M/N, 作为第三帧初始功率增益值, 进入对 第三帧处理; 当第二帧最大平均功率值大于功率下限 PMINLIM时,输出第二帧 初始功率增益值 A— G ( 2 ), 作为第二帧在频点扫描和 PSS检测阶段输出的 功率增益控制值 resultl ; When the second frame maximum average power value is less than the power lower limit P MINLIM , the second frame initial power gain value A_G ( 3 ) = A_G ( 2 ) -M/N is updated, as the third frame initial power gain value, entering the third Frame processing; when the maximum average power value of the second frame is greater than the power lower limit P MINLIM , outputting the second frame initial power gain value A_G ( 2 ) as the power gain control of the second frame in the frequency sweep and PSS detection phases Value resultl;
所述进入对第三帧处理的具体过程与上述进入对第二帧处理的实现过 程类似, 以此类推, 直至处理完当前 UE接收到的所有帧。  The specific process of entering the processing of the third frame is similar to the process of implementing the processing of the second frame, and so on, until all the frames received by the current UE are processed.
步骤 10中, 所述功率上限 PMAXLIM、 功率下限 PMINLIM预先设置好的; 针 对不同的帧, 所述功率上限 PMAXLIM、 功率下限 PMINLIM可取相同值, 也可取不 同值; 其中, 功率上限卩皿^的取值范围为 lOloglO ( 2m ) +15(db), 功率下限 Pminiim取值范围为 lOloglO ( 2m ) -15(db), m为 ADC器件的位宽; ADC器 件的位宽在 ADC器件出厂时已经标明位宽范围。 In the step 10, the power upper limit P MAXLIM and the power lower limit P MINLIM are preset; for different frames, the power upper limit P MAXLIM and the power lower limit P MINLIM may take the same value or different values; Wherein, the upper limit of the power limit is lOloglO ( 2 m ) +15 (db), and the lower limit of power Pminiim ranges from lOloglO ( 2 m ) -15 (db), m is the bit width of the ADC device; ADC The device's bit width is already specified in the bit width range when the ADC device is shipped from the factory.
此外, 参数 N的取值范围为 3~6, 可以根据实际环境(比如外场测试) 灵活调整; 当实际环境要求有较快收敛且对增益精度范围要求不高时, 可 取 N为较小值; 反之, 可取 N为相对较大值; 因本阶段是对帧进行的处理, 故本阶段在计算每个帧长度内的各个符号平均功率值后, 无需再经过环路 滤波电路进行滤波处理。  In addition, the value of the parameter N ranges from 3 to 6, which can be flexibly adjusted according to the actual environment (such as the external field test). When the actual environment requires fast convergence and the range of the gain accuracy is not high, N can be taken as a smaller value; On the contrary, N may be a relatively large value; since this stage is processing the frame, in this stage, after calculating the average power value of each symbol within each frame length, it is not necessary to perform filtering processing through the loop filter circuit.
前面已经说明, 频点扫描和 PSS检测阶段结束后, 可确定 PSS符号在 TD-LTE半帧长中的位置, 即确定了半帧同步, 也就是说, 当前 UE此时已 经知道 5ms同步信息, 在 SSS检测和 PBCH读取阶段, 将充分利用 5ms同 步信息进行 SSS检测和 PBCH读取阶段的自动增益控制。  As described above, after the end of the frequency sweep and PSS detection phase, the position of the PSS symbol in the TD-LTE half frame length can be determined, that is, the half frame synchronization is determined, that is, the current UE has already known the 5 ms synchronization information at this time. In the SSS detection and PBCH reading phases, the 5ms synchronization information is fully utilized for SSS detection and automatic gain control during the PBCH reading phase.
步骤 20: 接收功率增益控制值, 以 TD-LTE帧的 5ms半帧长为单位计 算当前半帧 PSS符号、 SSS符号平均功率值, 将计算出的当前半帧 PSS符 号、 SSS 符号平均功率值与第一目标功率值进行比较, 依据比较结果更新 并输出当前半帧在本阶段功率增益控制值到下行业务信道接收阶段同时进 行下一半帧的处理、 或进行下一半帧的处理;  Step 20: Receive a power gain control value, and calculate an average power value of the current field PSS symbol and the SSS symbol in units of 5 ms field length of the TD-LTE frame, and calculate the current field frame PSS symbol and the SSS symbol average power value. Comparing the first target power values, updating and outputting the current field according to the comparison result, performing the processing of the next half frame or the processing of the lower half frame in the phase of the power gain control value to the downlink traffic channel receiving phase;
这里, 针对 PSS检测和 PBCH读取阶段的环境特点, 以 TD-LTE帧的 5ms半帧长为单位;  Here, the environment characteristics of the PSS detection and PBCH reading phases are in units of 5 ms field length of the TD-LTE frame;
从上述方案中可看出, 频点扫描和 PSS 检测阶段是针对 10ms —个 As can be seen from the above scheme, the frequency sweep and PSS detection phases are for 10ms.
TD-LTE帧进行的处理, 频点扫描和 PSS检测阶段结束后, 当前 UE已经知 道 5ms同步信息, 即半帧同步信息, 确定了 PSS符号的信号时间窗; 那么, 在 SSS检测中, 能够确定 SSS符号的信号时间窗; After the processing of the TD-LTE frame, after the frequency point scanning and the PSS detection phase are finished, the current UE already knows the 5 ms synchronization information, that is, the field synchronization information, and determines the signal time window of the PSS symbol; then, in the SSS detection, it can be determined. Signal time window of the SSS symbol;
这里, PSS符号和 SSS符号的信号时间窗可看成在时间坐标轴的两个 点, 即: PSS符号和 SSS符号在 TD-LTE半帧长中的位置已经确定, 就可 以将半帧长中 PSS符号和 sss符号提取出来; 由此可看出, 本阶段主要针 对 TD-LTE半帧长进行处理; 在此, 将当前 1 Oms的 TD-LTE帧划分成第一 半帧和第二半帧, 所述第一半帧和第二半帧均为 5ms的帧长。 Here, the signal time window of the PSS symbol and the SSS symbol can be regarded as two points on the time axis, that is, the position of the PSS symbol and the SSS symbol in the TD-LTE field length has been determined. The PSS symbol and the sss symbol in the half frame length are extracted; it can be seen that this stage is mainly processed for the TD-LTE field length; here, the current 1 Oms TD-LTE frame is divided into the first half. The frame and the second field, the first field and the second field are both 5 ms frame length.
如图 3所示, 步骤 20的具体处理过程可以为:  As shown in FIG. 3, the specific processing procedure of step 20 may be:
接收频点扫描和 PSS检测阶段输出的 resultl作为本阶段初始功率增益 值;  The resultl outputted in the receiving frequency point scanning and PSS detection stage is used as the initial power gain value of this stage;
针对 TD-LTE系统,先将 resultl作为本阶段第一子帧初始功率增益值, 在提取出当前 10ms的 TD-LTE帧第一半帧 PSS符号和 SSS符号之后, 利 用现有技术计算第一半帧 PSS符号、 SSS符号在频域内的平均功率, 并进 行多次累加平均、 再经过环路滤波电路进行滤波, 以便滤除噪声, 所得结 果为第一半帧平均功率值 pi ;  For the TD-LTE system, the resultl is used as the initial power gain value of the first subframe in this stage. After extracting the PSS symbol and the SSS symbol of the first field of the current 10ms TD-LTE frame, the first half is calculated by using the prior art. Frame PSS symbol, the average power of the SSS symbol in the frequency domain, and performing multiple accumulation and averaging, and then filtering by the loop filter circuit to filter out noise, and the result is the first field average power value pi;
判断第一半帧平均功率值 pi与第一目标功率值 Target是否相等,当 pi 等于 Target时, 以 resultl作为第二半帧初始功率增益值, 进入对当前 10ms 的 TD-LTE帧第二半帧的处理; 当 pi不等于 Target时, 更新第一半帧在本 阶段的功率增益控制值 result2 = resultl + ( Target-pl ), 并输出 result2到下 行业务信道接收阶段, 以 result2作为第二半帧初始功率增益值, 进入对当 前 10ms的 TD-LTE帧第二半帧的处理;  Determining whether the first field average power value pi is equal to the first target power value Target. When pi is equal to Target, using resultl as the second field initial power gain value, entering the second field of the current 10 ms TD-LTE frame. Processing; when pi is not equal to Target, updating the power gain control value result2 = resultl + (Target-pl ) of the first field at this stage, and outputting result2 to the downlink traffic channel receiving phase, with result2 as the second field The initial power gain value enters the processing of the second half of the current 10 ms TD-LTE frame;
所述进入对当前 10ms的 TD-LTE帧第二半帧的处理具体为: 提取当前 10ms的 TD-LTE帧第二半帧 PSS符号和 SSS符号,并利用现有技术计算出 第二半帧平均功率值 p2; 然后, 判断第二半帧平均功率值 p2与目标功率值 Target是否相等, 当 p2等于 Target时, 进入下一个 TD-LTE帧的第一半帧; 当 p2不等于 Target时, 更新第二半帧在本阶段功率增益控制值 result 2= p_old+ ( Target- p2 )并输出 result 2到下行业务信道接收阶段;  The processing of entering the second field of the current 10 ms TD-LTE frame is specifically: extracting the PSS symbol and the SSS symbol of the second field of the current 10 ms TD-LTE frame, and calculating the second field average by using the prior art. The power value p2; then, determining whether the second field average power value p2 is equal to the target power value Target, and when p2 is equal to Target, entering the first field of the next TD-LTE frame; when p2 is not equal to Target, updating The second field is at this stage power gain control value result 2 = p_old + (Target- p2 ) and outputs result 2 to the downlink traffic channel reception phase;
这里, 当从 "pi不等于 Target时"的条件成立执行到此时,则取 p— old= result2;当从 "p 1等于 Target时 "的条件成立执行到此时,则取 p— old= result 1; 以此类推, 直至处理完当前 UE接收到的所有半帧。 Here, when the condition from "pi is not equal to Target" is established until this time, p_old= result2 is taken; when the condition from "p1 is equal to Target" is established until this time, p_old= Result 1; And so on, until all the fields received by the current UE are processed.
这里, 第一目标功率值 Target的取值要根据 TD-LTE系统中实际选用 的 ADC器件的位宽 m、 以及较大噪声 /干扰情况下饱和的风险来进行设计, 通常取 Target=2m 0 Here, the value of the first target power value Target is designed according to the bit width m of the actually selected ADC device in the TD-LTE system, and the risk of saturation under a large noise/interference condition, usually taking Target=2 m 0
同时, 由于此阶段是针对 TD-LTE半帧进行处理的, 半帧时间较短, 在环路滤波电路中, 需要预先设置相对较大的环路滤波系数, 以保证半帧 符号的快速收敛。  At the same time, since the phase is processed for the TD-LTE field, the half frame time is short. In the loop filter circuit, a relatively large loop filter coefficient needs to be set in advance to ensure fast convergence of the field symbol.
在此说明下, 在对本发明实施例技术方案说明时, 凡是涉及到环路滤 波系数的, 所取环路滤波系数的取值范围均为 0.04~0.5。  In this description, when the technical solution of the embodiment of the present invention is described, the loop filter coefficients of the loop filter coefficients are all in the range of 0.04 to 0.5.
此外, 在进行步骤 20说明时, 主要以 1.4M带宽的 TD-LTE系统为例, 本发明实施例的技术方案包括但不限于 1.4M带宽的 TD-LTE系统, 还可以 适用于其它带宽的 TD-LTE系统, 如 10M、 15M、 20M带宽的 TD-LTE系 统等。  In addition, when the description of step 20 is performed, the TD-LTE system with a bandwidth of 1.4 M is taken as an example. The technical solution of the embodiment of the present invention includes, but is not limited to, a TD-LTE system with a bandwidth of 1.4 M, and can also be applied to a TD of other bandwidths. - LTE system, such as 10M, 15M, 20M bandwidth TD-LTE system.
步骤 30: 接收功率增益控制值, 以 TD-LTE帧的 lms子帧长为单位计 算当前子帧 RS符号平均功率值, 并将计算出的当前子帧 RS符号平均功率 值与第二目标功率值进行比较, 依据比较结果更新当前子帧在本阶段功率 增益控制值, 并通知当前 UE、 或进行下一子帧处理;  Step 30: Receive a power gain control value, calculate an average power value of the current subframe RS symbol by using a lms subframe length of the TD-LTE frame, and calculate the calculated current subframe RS symbol average power value and the second target power value. Comparing, updating the power gain control value of the current subframe in the current stage according to the comparison result, and notifying the current UE, or performing the next subframe processing;
这里, 针对下行业务信道接收阶段的环境特点, 以 TD-LTE帧的 lms 子帧长为单位;  Here, the environment characteristic of the downlink traffic channel receiving phase is in units of the lms subframe length of the TD-LTE frame;
针对下行业务信道接收阶段, 当前 UE已经知道 5ms同步信息、 10ms 同步信息和帧号同步信息等 TD-LTE 下行链路同步信息, 也就是说, 通过 下行链路同步当前 UE能够确定每个 1 ms子帧中的参考信号( RS, Referenc Signal )符号在各自子帧中的位置, 那么, 就可以将每个子帧中 RS提取出 来; 由此可以看出, 本阶段主要针对 TD-LTE的每个 lms子帧进行处理; 在此, 将当前 5ms的 TD-LTE半帧划分成第一子帧、 第二子帧、 第三 子帧、 第四子帧、 第五子帧, 每个子帧长均为 lms。 For the downlink traffic channel reception phase, the current UE already knows TD-LTE downlink synchronization information such as 5ms synchronization information, 10ms synchronization information, and frame number synchronization information, that is, the current UE can determine each 1 ms through downlink synchronization. The position of the reference signal (RS, Referenc Signal) in the sub-frame is in the respective sub-frames. Then, the RS in each sub-frame can be extracted. It can be seen that this stage is mainly for each of TD-LTE. The lms subframe is processed; here, the current 5 ms TD-LTE field is divided into a first subframe, a second subframe, and a third The subframe, the fourth subframe, and the fifth subframe, each subframe is lms long.
由于针对 SSS检测和 PBCH读取阶段与本阶段的带宽存在不一样的情 况,本阶段以 20M带宽的 TD-LTE系统为例, 因为功率和带宽呈正比关系, 即随着带宽增大, 功率也相应增强。 为了达到 SSS检测和 PBCH读取阶段 与本阶段的更好衔接, 这里, 需要对 SSS检测和 PBCH读取阶段发送来的 功率增益控制值 result2先进行变带宽处理。  Because the SSS detection and PBCH reading phase are different from the bandwidth in this phase, this phase takes the 20M bandwidth TD-LTE system as an example, because the power and bandwidth are proportional, that is, as the bandwidth increases, the power also Correspondingly enhanced. In order to achieve better connection between the SSS detection and the PBCH read phase and this phase, the power gain control value result2 sent in the SSS detection and PBCH read phases needs to be subjected to variable bandwidth processing first.
如图 4所示, 步骤 30的具体处理过程可以为:  As shown in FIG. 4, the specific processing procedure of step 30 may be:
对 SSS检测和 PBCH读取阶段发送来的功率增益控制值 result2进行变 带宽处理如公式( 1 )所示:  The variable bandwidth processing is performed on the power gain control value result2 sent from the SSS detection and PBCH reading phases as shown in the formula (1):
result2_new = result2 - 10*logl0(Bnew I Bold) ( 1 ) Result2_new = result2 - 10*logl0(B new IB old ) ( 1 )
其中, 变量 B。ld为 SSS检测和 PBCH读取阶段所采用的 TD-LTE系统 带宽; Bnew为本阶段所采用 TD-LTE系统带宽。 Among them, the variable B. Ld is the bandwidth of the TD-LTE system used in the SSS detection and PBCH reading phase; B new is the bandwidth of the TD-LTE system used in this phase.
读取 result2— new为本阶段的第一子帧初始功率增益值;  Reading result2_new is the initial power gain value of the first subframe of this stage;
在提取出当前 5ms的 TD-LTE半帧第一子帧 RS符号之后,利用现有技 术计算当前半帧第一子帧 RS符号在频域内的平均功率,利用环路滤波电路 进行环路滤波, 以便滤除噪声, 所得结果为第一子帧平均功率值 M_pl ; 判断第一子帧平均功率值 M_pl 与第二目标功率值 Tar是否相等, 当 M_pl等于 Tar时, 以 result2— new作为第二子帧初始功率增益值,对第二子 帧进行处理; 当 M_pl不等于 Tar时, 更新第一子帧在本阶段的功率增益控 制值 result3 = result2_new+ ( Tar- M_pl ), 并将 result3取值通知当前 UE, 以 result3为第二子帧初始功率增益值, 对第二子帧进行处理;  After extracting the first subframe RS symbol of the current 5 ms TD-LTE field, the average power of the first subframe RS symbol in the current field is calculated by using the prior art, and the loop filtering circuit is used for loop filtering. In order to filter out noise, the result is the first sub-frame average power value M_pl; determine whether the first sub-frame average power value M_pl is equal to the second target power value Tar, and when M_pl is equal to Tar, result2_new is used as the second sub- Frame initial power gain value, processing the second subframe; when M_pl is not equal to Tar, updating the power gain control value result3 = result2_new+ ( Tar- M_pl ) of the first subframe at this stage, and notifying the current value of result3 The UE processes the second subframe by using the result 3 as the initial power gain value of the second subframe;
其中, 所述对第二子帧进行处理具体可以为: 提取出当前 5ms 的 TD-LTE半帧第二子帧 RS符号, 并利用现有技术计算第二子帧 RS符号在 频域内的平均功率, 利用环路滤波电路进行环路滤波, 以便滤除噪声, 所 得结果为第二子帧平均功率值 M_p2; 判断第二子帧平均功率值 M_p2与第二目标功率值 Tar是否相等, 当 M_p2等于 Tar时, 以 result2— new为第二子帧初始功率增益值,对第三子帧 进行处理; 当 M_p2不等于 Tar时, 更新第二子帧在本阶段功率增益控制值 result3 = Y+ ( Tar- M_p2 ), 并将 result3取值通知当前 UE, 以 result3为第三 子帧初始功率增益值, 对第三子帧进行处理; The processing of the second subframe may be: extracting the second subframe RS symbol of the current 5 ms TD-LTE field, and calculating the average power of the second subframe RS symbol in the frequency domain by using the prior art. , using a loop filter circuit for loop filtering to filter out noise, the result is the second sub-frame average power value M_p2; Determining whether the second sub-frame average power value M_p2 is equal to the second target power value Tar. When M_p2 is equal to Tar, the result of the second sub-frame is processed by the result of the second sub-frame initial power gain value; when the M_p2 is not When it is equal to Tar, the second sub-frame is updated at this stage of the power gain control value result3 = Y+ ( Tar- M_p2 ), and the value of result3 is notified to the current UE, and result3 is the initial power gain value of the third subframe, for the third sub-frame. Frame processing;
这里, 当从 "M_pl等于 Tar" 条件成立执行到此时, Y= result2— new; 当从 "M_pl不等于 Tar" 条件成立执行到此时, Y= result3;  Here, when the condition from "M_pl equals Tar" is established to this time, Y = result2 - new; when the condition from "M_pl is not equal to Tar" is established until this time, Y = result3;
以此类推, 直至处理完当前 UE接收到的每一个子帧。  And so on, until each subframe received by the current UE is processed.
在步骤 30中,第二目标功率值 Tar根据 TD-LTE系统中实际选用的 ADC 器件的位宽 m来设计, 通常取 Target=2m, 所述 ADC器件位宽 m在出厂时 已经标明位宽。 In step 30, the second target power value Tar is designed according to the bit width m of the ADC device actually selected in the TD-LTE system, and usually takes Target=2 m , and the bit width m of the ADC device is marked with the bit width at the factory. .
考虑到本阶段要求的控制频率较高, 在环路滤波电路中, 需要选择较 小环路滤波系数, 以保证下行链路的稳定。  Considering that the control frequency required in this stage is high, in the loop filter circuit, a smaller loop filter coefficient needs to be selected to ensure the stability of the downlink.
基于上述 TD- LTE自动增益控制方法。本发明实施例还提供了一种 TD- LTE 自动增益控制设备, 如图 5所示, 所述设备包括: 第一阶段功率增益 控制模块 50、 第二阶段功率增益控制模块 51、 第三阶段功率增益控制模块 52和环路滤波电路 53; 其中,  Based on the above TD-LTE automatic gain control method. The embodiment of the present invention further provides a TD-LTE automatic gain control device. As shown in FIG. 5, the device includes: a first stage power gain control module 50, a second stage power gain control module 51, and a third stage power. a gain control module 52 and a loop filter circuit 53; wherein
所述第一阶段功率增益控制模块 50, 配置为以 10ms帧长为单位, 计 算当前 TD-LTE 帧各个符号平均功率值并确定最大平均功率值, 将最大平 均功率值与功率上限和 /或功率下限进行比较, 得出本阶段最合理功率增益 控制值;  The first stage power gain control module 50 is configured to calculate, according to a frame length of 10 ms, an average power value of each symbol of the current TD-LTE frame and determine a maximum average power value, and a maximum average power value and a power upper limit and/or power. The lower limit is compared to obtain the most reasonable power gain control value at this stage;
所述第二阶段功率增益控制模块 51, 配置为以 TD-LTE帧的 5ms半帧 长为单位, 计算当前半帧 PSS符号、 SSS符号的平均功率值, 并将计算出 的当前半帧 PSS符号、 SSS符号的平均功率值与第一目标功率值进行比较, 得出本阶段最合理功率增益控制值; 所述第三阶段功率增益控制模块 52, 配置为以 TD-LTE帧的 1ms子帧 长为单位, 计算当前子帧 RS 符号的平均功率值, 并将计算出的当前子帧 RS符号的平均功率值与第二目标功率值进行比较, 得出本阶段最合理功率 增益控制值; The second stage power gain control module 51 is configured to calculate an average power value of the current field PSS symbol and the SSS symbol in units of 5 ms field length of the TD-LTE frame, and calculate the current field PSS symbol. And comparing the average power value of the SSS symbol with the first target power value to obtain the most reasonable power gain control value at this stage; The third stage power gain control module 52 is configured to calculate an average power value of the current subframe RS symbol in units of 1 ms subframe length of the TD-LTE frame, and calculate the average power of the current subframe RS symbol. The value is compared with the second target power value to obtain the most reasonable power gain control value at this stage;
所述环路滤波电路 53,配置为对第二阶段功率增益控制模块 51和第三 阶段功率增益控制模块 52计算出的平均功率值进行滤波。  The loop filter circuit 53 is configured to filter the average power value calculated by the second stage power gain control module 51 and the third stage power gain control module 52.
这里, 第一阶段为频点扫描和 PSS检测阶段, 第二阶段为 SSS检测和 PBCH读取阶段, 第三阶段为下行业务信道接收阶段。  Here, the first stage is the frequency point scanning and PSS detection stage, the second stage is the SSS detection and PBCH reading stage, and the third stage is the downlink traffic channel receiving stage.
具体的, 所述第一阶段功率增益控制模块 50, 接收射频芯片标明的功 率增益范围 M, 并将 M平均划分为 N个子段, 将 M/N ( db )作为平均功率 增益变化量;然后更新当前 UE接收到的第一帧初始功率增益值为最小增益 值的取值, 利用现有技术中的平均功率计算方法, 计算出第一帧长度内每 个符号平均功率值, 比较并找出最大的平均功率值, 作为第一帧最大平均 功率值;  Specifically, the first stage power gain control module 50 receives the power gain range M indicated by the radio frequency chip, and divides the M average into N sub-segments, and takes M/N ( db ) as the average power gain change amount; The initial power gain value of the first frame received by the UE is the value of the minimum gain value. The average power value of each symbol in the length of the first frame is calculated by using the average power calculation method in the prior art, and the maximum value is compared and found. Average power value, as the maximum average power value of the first frame;
当第一帧最大平均功率值大于功率上限时更新第一帧初始功率增益 值, 作为第二帧初始功率增益值;  Updating the first frame initial power gain value as the second frame initial power gain value when the first frame maximum average power value is greater than the power upper limit;
当第一帧最大平均功率值小于功率上限同时小于功率下限时, 更新第 一帧初始功率增益值, 作为第二帧初始功率增益值;  When the first frame maximum average power value is less than the power upper limit and less than the power lower limit, updating the first frame initial power gain value as the second frame initial power gain value;
当第一帧最大平均功率值小于功率上限同时大于功率下限时, 更新第 一帧初始功率增益值, 作为第二帧初始功率增益值; 同时第一帧初始功率 增益值作为当前帧功率增益控制值输出到所述第二阶段功率增益控制模块 51 ;  When the maximum average power value of the first frame is less than the upper power limit and greater than the lower power limit, the initial power gain value of the first frame is updated as the initial power gain value of the second frame; and the initial power gain value of the first frame is used as the current frame power gain control value. Output to the second stage power gain control module 51;
依据上述技术方案, 所述第一阶段功率增益控制模块 50对当前 UE接 收到的第二帧进行处理, 直至完成接收到的所有帧。  According to the above technical solution, the first stage power gain control module 50 processes the second frame received by the current UE until all the received frames are completed.
这里, 功率增益范围、 最小增益值在所述射频芯片出厂时已经标明取 值。 Here, the power gain range and the minimum gain value are indicated when the RF chip is shipped from the factory. Value.
所述第二阶段功率增益控制模块 51接收由所述第一阶段功率增益控制 模块 50发来的当前帧功率输出控制值, 作为当前帧第一半帧初始功率增益 值;  The second stage power gain control module 51 receives the current frame power output control value sent by the first stage power gain control module 50 as the initial power gain value of the first frame of the current frame;
依据现有技术平均功率计算方法, 所述第二阶段功率增益控制模块 51 可计算出当前帧第一半帧 PSS符号、 SSS符号在频域内的平均功率, 然后 所述第二阶段功率增益控制模块 51发送计算出的平均功率到所述环路滤波 电路 53, 由所述环路滤波电路 53进行滤波后, 再返回给所述第二阶段功率 增益控制模块 51, 此时返回平均功率值为第一半帧平均功率值;  According to the prior art average power calculation method, the second stage power gain control module 51 may calculate the average power of the first field PSS symbol and the SSS symbol in the frequency domain of the current frame, and then the second stage power gain control module. 51, the calculated average power is sent to the loop filter circuit 53, filtered by the loop filter circuit 53, and then returned to the second stage power gain control module 51, where the average power value returned is Half frame average power value;
所述第二阶段功率增益控制模块 51, 接收并判断第一半帧平均功率值 与第一目标功率值是否相等;  The second stage power gain control module 51 receives and determines whether the first field average power value is equal to the first target power value;
当第一半帧平均功率值与第一目标功率值相等时, 所述第二功率增益 控制模块 51,以所述第一阶段功率增益控制模块 50发送的当前帧功率输出 控制值作为第二半帧初始功率增益值, 依据上述技术方案开始对当前帧的 第二半帧进行处理;  When the first field average power value is equal to the first target power value, the second power gain control module 51 uses the current frame power output control value sent by the first stage power gain control module 50 as the second half. a frame initial power gain value, according to the foregoing technical solution, starting to process the second field of the current frame;
当第一半帧平均功率值与第一目标功率值不相等时, 所述第二阶段功 率增益控制模块 51更新第一半帧平均功率增益值, 作为当前半帧功率增益 控制值, 输出到所第三阶段功率控制模块 52; 同时, 以更新后的第一半帧 平均功率增益值作为第二半帧初始功率增益值, 依据上述技术方案开始对 当前帧的第二半帧进行处理;  When the first field average power value is not equal to the first target power value, the second stage power gain control module 51 updates the first field average power gain value as the current field power gain control value, and outputs the current The third stage power control module 52; at the same time, using the updated first field average power gain value as the second field initial power gain value, according to the above technical solution, starting to process the second field of the current frame;
依据上述技术方案, 所述第二阶段功率增益控制模块 51对当前帧的第 二半帧进行处理, 直至处理完当前 UE接收到的所有半帧。  According to the above technical solution, the second stage power gain control module 51 processes the second field of the current frame until all the fields received by the current UE are processed.
所述第三阶段功率增益控制模块 52, 接收由所述第二阶段功率增益控 制模块 51 发来当前半帧功率增益控制值, 并利用公式(1 )对当前半帧功 率增益控制值进行变带宽处理, 将处理后的当前半帧功率增益控制值作为 当前半帧第一子帧初始功率增益值; The third stage power gain control module 52 receives the current field power gain control value sent by the second stage power gain control module 51, and uses the formula (1) to perform variable bandwidth on the current field power gain control value. Processing, taking the processed current field power gain control value as The initial power gain value of the first subframe of the current field;
依据现有技术平均功率计算方法, 所述第三阶段功率增益控制模块 52 计算出第一子帧 RS符号在频域内的平均功率,发送计算出的平均功率到所 述环路滤波电路 53, 由所述环路滤波电路 53进行滤波后, 再返回给所述第 三阶段功率增益控制模块 52,此时返回平均功率值为第一子帧平均功率值; 比较第一子帧平均功率值与第二目标功率值是否相等;  According to the prior art average power calculation method, the third stage power gain control module 52 calculates the average power of the first subframe RS symbol in the frequency domain, and sends the calculated average power to the loop filter circuit 53. After the loop filtering circuit 53 performs filtering, it returns to the third stage power gain control module 52, where the average power value returned is the first sub-frame average power value; the first sub-frame average power value is compared with the first Whether the two target power values are equal;
当第一子帧平均功率值与第二目标功率值相等时, 以第一子帧初始功 率增益值作为第二帧初始功率增益值, 所述第三阶段功率增益控制模块 52 依据上述技术方案开始对当前半帧的第二子帧进行处理;  When the first sub-frame average power value is equal to the second target power value, the first sub-frame initial power gain value is used as the second frame initial power gain value, and the third-stage power gain control module 52 starts according to the foregoing technical solution. Processing the second subframe of the current field;
当第一子帧平均功率值与第二目标功率值不相等时, 所述第三阶段功 率增益控制模块 52更新第一子帧平均功率增益值, 作为当前子帧功率增益 控制值, 通知给当前 UE; 同时以更新后的第一子帧平均功率增益值作为第 二帧初始功率增益值, 依据上述技术方案开始对当前半帧的第二子帧进行 处理;  When the first sub-frame average power value is not equal to the second target power value, the third-stage power gain control module 52 updates the first sub-frame average power gain value as the current sub-frame power gain control value, and notifies the current At the same time, the updated first subframe average power gain value is used as the second frame initial power gain value, and the second subframe of the current field is processed according to the foregoing technical solution;
依据上述技术方案, 所述第三阶段功率增益控制模块 52对当前半帧的 第二子帧进行处理, 直至处理完当前 UE接收到的所有子帧。  According to the above technical solution, the third stage power gain control module 52 processes the second subframe of the current field until all subframes received by the current UE are processed.
所述第一阶段功率增益控制模块 50包括第一处理子模块 500和第一更 新输出子模块 501 ; 其中,  The first stage power gain control module 50 includes a first processing submodule 500 and a first update output submodule 501;
所述第一处理子模块 500, 配置为以 10ms 帧长为单位, 计算当前 TD-LTE帧各个符号平均功率值, 并比较当前 TD-LTE帧各个符号平均功率 值大小, 确定出当前帧最大平均功率值, 对将当前帧最大平均功率值与功 率上限和 /或功率下限进行比较;  The first processing sub-module 500 is configured to calculate an average power value of each symbol in the current TD-LTE frame in units of 10 ms frame length, and compare the average power value of each symbol in the current TD-LTE frame to determine a maximum average value of the current frame. a power value that compares a current frame maximum average power value with a power upper limit and/or a power lower limit;
所述第一更新输出子模块 501,配置为依据比较结果,更新当前 TD-LTE 帧功率增益控制值, 作为下一帧初始功率增益值并发送到所述第一处理子 模块 500、 或输出当前 TD-LTE帧初始功率增益值, 作为当前 TD-LTE功率 增益控制值到所述第二阶段功率增益控制模块 51; The first update output sub-module 501 is configured to update the current TD-LTE frame power gain control value as the next frame initial power gain value and send it to the first processing sub-module 500, or output the current according to the comparison result. TD-LTE frame initial power gain value, as current TD-LTE power Gain control value to the second stage power gain control module 51;
所述第一处理子模块 500还配置为在接收到来自所述第一更新输出子 模块 501的下一帧初始功率增益值后, 开始进行对下一帧处理;  The first processing sub-module 500 is further configured to start processing the next frame after receiving the next frame initial power gain value from the first update output sub-module 501;
所述第二阶段功率增益控制模块 51包括第二处理子模块 510和第二更 新输出子模块 511 ;  The second stage power gain control module 51 includes a second processing submodule 510 and a second updated output submodule 511;
所述第二处理子模块 510, 配置为以 5ms帧长为单位, 计算当前半帧 PSS符号、 SSS符号平均功率值; 并比较计算出的当前半帧 PSS符号、 SSS 符号平均功率值与第一目标功率值大小;  The second processing sub-module 510 is configured to calculate a current power value of the PSS symbol and the SSS symbol in the current field in units of 5 ms frame length; and compare the calculated current field PSS symbol and the SSS symbol average power value with the first Target power value size;
所述第二更新输出子模块 511, 配置为依据比较结果, 更新并输出当前 半帧功率增益值到所述第三阶段功率增益控制模块 52, 同时通知所述第二 处理子模块 510进行下一半帧处理; 或仅通知所述第二处理子模块 510进 行下一半帧处理;  The second update output sub-module 511 is configured to update and output the current field power gain value to the third-stage power gain control module 52 according to the comparison result, and notify the second processing sub-module 510 to perform the lower half. Frame processing; or only the second processing sub-module 510 is notified to perform the next half of the frame processing;
所述第二处理子模块 510还配置为接收由所述第二更新输出子模块 511 发出的通知后, 开始对下一半帧进行处理。  The second processing sub-module 510 is further configured to receive the notification sent by the second update output sub-module 511 and begin processing the next half of the frame.
所述第三阶段功率增益控制模块 52包括第三处理子模块 520和第三更 新输出子模块 521 ; 其中,  The third stage power gain control module 52 includes a third processing submodule 520 and a third update output submodule 521;
所述第三处理子模块 520, 配置为计算变带宽后, 计算当前子帧 RS符 号平均功率值,并比较计算出的当前子帧 RS符号平均功率值与第二目标功 率值大小;  The third processing sub-module 520 is configured to calculate a variable power bandwidth, calculate an average power value of the RS symbol of the current subframe, and compare the calculated average power value of the RS symbol of the current subframe with the second target power value;
所述第三更新输出子模块 521,配置为依据比较结果更新当前子帧功率 增益控制值, 并通知给当前 UE, 同时通知所述第三处理子模块 520进行下 一子帧处理; 或仅通知所述第三处理子模块 520进行下一子帧处理;  The third update output sub-module 521 is configured to update the current subframe power gain control value according to the comparison result, and notify the current UE, and notify the third processing sub-module 520 to perform the next subframe processing; or only notify The third processing sub-module 520 performs the next subframe processing;
所述第三处理子模块 520还配置为接收由所述第三更新输出子模块 521 发出的通知之后, 开始对下一子帧进行处理。  The third processing sub-module 520 is further configured to begin processing the next subframe after receiving the notification issued by the third update output sub-module 521.
具体的, 在当前 UE处于频点扫描和 PSS检测阶段中时, 首先, 所述 第一处理子模块 500接收射频芯片标明的功率增益范围 M, 并将 M平均划 分为 N个子段, 那么, M/N ( db ) 即为每个子段平均功率增益; Specifically, when the current UE is in the frequency scanning and PSS detection phase, first, the The first processing sub-module 500 receives the power gain range M indicated by the radio frequency chip, and divides the M average into N sub-segments, then M/N (db) is the average power gain of each sub-segment;
这里, 将 M/N ( db )作为平均功率增益变化量, 其中 N为正整数; 所 述射频芯片在出厂时, 标明最小增益值 G— min和最大增益值 G— max;  Here, M/N ( db ) is taken as the average power gain variation, where N is a positive integer; the RF chip is shipped with the minimum gain value G_min and the maximum gain value G_max;
将当前 UE接到所有帧按顺序排号, 为第一帧、 第二帧…第 i帧, i为 正整数;  The current UE is connected to all the frames in order, which is the first frame, the second frame, the i-th frame, and i is a positive integer;
所述第一处理子模块 500, 首先对第一帧进行处理, 更新第一帧初始功 率增益值 A— G ( 1 ) 为最小增益值 G— min的取值;  The first processing sub-module 500 first processes the first frame, and updates the first frame initial power gain value A_G(1) to the value of the minimum gain value G_min;
利用现有技术中的平均功率计算方法, 所述第一处理子模块 500计算 出第一帧长度内每个符号平均功率值; 并比较第一帧长度内每个符号平均 功率值大小并找出最大平均功率值, 作为第一帧最大平均功率值;  Using the average power calculation method in the prior art, the first processing sub-module 500 calculates the average power value of each symbol in the first frame length; and compares the average power value of each symbol in the first frame length and finds The maximum average power value, as the maximum average power value of the first frame;
当第一帧最大平均功率值大于功率上限 Pmaxlim时, 所述第一更新输出 子模块 501更新第一帧初始功率增益值 A— G ( 2 ) =A G ( 1 ) +M/N, 作为 第二帧初始功率增益值, 所述第一更新输出子模块 501将此时的 A—G ( 2 ) 输出到所述第一处理子模块 500; When the first frame maximum average power value is greater than the power upper limit P maxlim , the first update output sub-module 501 updates the first frame initial power gain value A_G ( 2 ) =AG ( 1 ) +M/N, as the first a second frame initial power gain value, the first update output sub-module 501 outputs A-G ( 2 ) at this time to the first processing sub-module 500;
当第一帧最大平均功率值小于功率上限 Pmaxlim时,第一处理子模块 500 再比较第一帧最大平均功率值与功率下限 Pminlim的大小, When the first frame maximum average power value is less than the power upper limit P maxlim , the first processing submodule 500 compares the maximum average power value of the first frame with the power lower limit P minlim ,
当第一帧最大平均功率值小于功率下限 Pminlim时,所述第一更新输出子 模块 501 更新第一帧初始功率增益值 A_G ( 2 ) =A_G ( 1 ) -M/N, 作为第 二帧初始功率增益值, 所述第一更新输出子模块 501将此时的 A— G ( 2 )输 出到所述第一处理子模块 500; When the first frame maximum average power value is less than the power lower limit P minlim , the first update output sub-module 501 updates the first frame initial power gain value A_G ( 2 ) =A_G ( 1 ) -M/N as the second frame. The initial power gain value, the first update output sub-module 501 outputs A-G ( 2 ) at this time to the first processing sub-module 500;
当第一帧最大平均功率值大于功率下限 Pminlim时,所述第一更新输出子 模块 501输出 A— G ( 1 )值发送给所述第二阶段功率增益控制模块 51, 具 体发送给所述第二处理子模块 510, 作为第一帧在频点扫描和 PSS检测阶 段输出的功率增益控制值 resultl ; 所述第一处理子模块 500接收到 A— G ( 2 )之后, 利用现有技术中的 平均功率计算方法, 所述第一处理子模块 500计算出第二帧长度内每个符 号平均功率值; 并比较第二帧长度内每个符号平均功率值大小并找出最大 平均功率值, 作为第二帧最大平均功率值; When the first frame maximum average power value is greater than the power lower limit P minlim , the first update output sub-module 501 outputs the A_G ( 1 ) value to the second-stage power gain control module 51, and specifically sends the a second processing sub-module 510, which is a power gain control value resultl outputted in the frequency point scanning and PSS detection phase of the first frame; After the first processing sub-module 500 receives the A-G(2), using the average power calculation method in the prior art, the first processing sub-module 500 calculates the average power value of each symbol in the second frame length. And comparing the average power value of each symbol in the length of the second frame and finding the maximum average power value as the maximum average power value of the second frame;
当第二帧最大平均功率值大于功率上限 Pmaxlim时, 所述第一更新输出 子模块 501更新第二帧初始功率增益值 A— G ( 3 ) =A G ( 2 ) +M/N, 作为 第三帧初始功率增益值, 所述第一更新输出子模块 501将此时的 A— G ( 3 ) 输出到所述第一处理子模块 500; When the second frame maximum average power value is greater than the power upper limit P maxlim , the first update output sub-module 501 updates the second frame initial power gain value A_G ( 3 ) =AG ( 2 ) +M/N, as the first a three-frame initial power gain value, the first update output sub-module 501 outputs A-G(3) at this time to the first processing sub-module 500;
当第二帧最大平均功率值小于功率上限 Pmaxlim时,第一处理子模块 500 再比较第二帧最大平均功率值与功率下限 Pminlim的大小, When the maximum average power value of the second frame is less than the power upper limit P maxlim , the first processing submodule 500 compares the maximum average power value of the second frame with the power lower limit P minlim .
当第二帧最大平均功率值小于功率下限 Pminlim时,所述第一更新输出子 模块 501 更新第二帧初始功率增益值 A_G ( 3 ) =A_G ( 2 ) -M/N, 作为第 三帧初始功率增益值, 所述第一更新输出子模块 501将此时的 A— G ( 3 )输 出到所述第一处理子模块 500; When the second frame maximum average power value is less than the power lower limit P minlim , the first update output sub-module 501 updates the second frame initial power gain value A_G ( 3 ) =A_G ( 2 ) -M/N as the third frame. The initial power gain value, the first update output sub-module 501 outputs A-G(3) at this time to the first processing sub-module 500;
当第一帧最大平均功率值大于功率下限 Pminlim时,所述第一更新输出子 模块 501输出 A— G ( 2 )值发送给所述第二阶段功率增益控制模块 51, 具 体发送给所述第二处理子模块 510,作为第二帧在第一阶段功率增益控制模 块 50输出的功率增益控制值 resultl; When the first frame maximum average power value is greater than the power lower limit P minlim , the first update output sub-module 501 outputs the A_G ( 2 ) value to the second-stage power gain control module 51, and specifically sends the The second processing sub-module 510, as the second frame, the power gain control value resultl outputted by the first stage power gain control module 50;
依据上述技术方案, 所述第一处理子模块 500在接收到 A— G ( 3 )之 后, 结合第一更新输出子模块 501 完成对第三帧的处理, 以此类推, 直到 完成对当前 UE接收到所有帧处理。  According to the above technical solution, after receiving the A_G(3), the first processing submodule 500 completes the processing of the third frame in conjunction with the first update output submodule 501, and so on, until the receiving of the current UE is completed. Processing to all frames.
这里, 所述功率上限 Pmaxlim、 功率下限 Pminlim在所述第一阶段功率增益 控制模块 50中预先设置好的,具体的在所述第一处理子模块 500中设置的; 针对不同的帧, 所述功率上限 Pmaxlim、 功率下限 Pminlim可取相同值也可取不 同值; 其中, 功率上限卩皿^的取值范围为 lOloglO ( 2m ) +15(db), 功率下限 Pminiim取值范围为 lOloglO ( 2m ) -15(db), m为射频电路中 ADC器件的位 宽; 所述射频电路发送的信号由当前 UE接收; Here, the power upper limit P maxlim and the power lower limit P minlim are preset in the first stage power gain control module 50, specifically set in the first processing submodule 500; for different frames, The power upper limit P maxlim and the power lower limit P minlim may take the same value or may take different values; Among them, the upper limit of the power limit is lOloglO ( 2 m ) +15 (db), and the lower limit of power Pminiim is lOloglO ( 2 m ) -15 (db), m is the position of the ADC device in the RF circuit. Wide; the signal sent by the radio frequency circuit is received by the current UE;
此外, 参数 N的取值范围为 3~6, 在所述第一阶段功率增益控制模块 50中预先设置好的, 具体是在所述第一处理子模块 500中设置的; 因本阶 段是对帧进行的处理, 故在所述第一处理子模块 500计算每帧长度内各个 符号的平均功率值后, 无需再将计算出的各个符号平均功率值发送至所述 环路滤波电路 53进行滤波处理。  In addition, the value of the parameter N ranges from 3 to 6, which is preset in the first stage power gain control module 50, specifically, is set in the first processing submodule 500; The processing performed by the frame, so after the first processing sub-module 500 calculates the average power value of each symbol in the length of each frame, it is no longer necessary to send the calculated average power value of each symbol to the loop filter circuit 53 for filtering. deal with.
在当前 UE处于 PSS检测和 PBCH读取阶段中时, 所述第二处理子模 块 510接收第一阶段功率增益控制模块 50发送来的 resultl为初始功率增益 值;  When the current UE is in the PSS detection and PBCH reading phase, the second processing submodule 510 receives the result1 sent by the first stage power gain control module 50 as an initial power gain value;
此阶段, 当前 UE可获知 5ms的同步信息, 故所述第二阶段功率增益 控制模块 51能够确定出每个半帧中 PSS符号、 SSS符号位置, 进而能够提 取并计算出每个半帧中 PSS符号、 SSS符号平均功率值;  At this stage, the current UE can learn the synchronization information of 5 ms, so the second-stage power gain control module 51 can determine the PSS symbol and the SSS symbol position in each field, and can extract and calculate the PSS in each field. Symbol, SSS symbol average power value;
以当前 UE接收到的一个 TD-LTE帧为例,可将该一个 TD-LTE帧划分 为第一半帧, 第二半帧;  Taking a TD-LTE frame received by the current UE as an example, the one TD-LTE frame may be divided into a first field and a second field.
所述第二处理子模块 510, 接收由第一阶段功率增益控制模块 50发送 来的 resultl作为第一半帧初始功率增益值, 依据将 resultl代入现有技术平 均功率计算方法, 计算出第一半帧 PSS符号、 SSS符号在频域内的平均功 率, 然后所述第二处理子模块 510发送计算出的平均功率到所述环路滤波 电路 53, 由所述环路滤波电路 53进行滤波后, 再返回平均功率给所述第二 处理子模块 510, 此时返回平均功率值为第一半帧平均功率值 pi ;  The second processing sub-module 510 receives the resultl sent by the first-stage power gain control module 50 as the initial power gain value of the first field, and calculates the first half according to the method for calculating the result of the average power into the prior art. Frame PSS symbol, average power of the SSS symbol in the frequency domain, then the second processing sub-module 510 sends the calculated average power to the loop filter circuit 53, after being filtered by the loop filter circuit 53, and then Returning the average power to the second processing sub-module 510, where the average power value returned is the first field average power value pi;
所述第二处理子模块 510判断第一半帧平均功率值 p 1与第一目标功率 值 Target是否相等,  The second processing sub-module 510 determines whether the first field average power value p 1 is equal to the first target power value Target.
当 pi等于 Target时, 以 resultl作为第二半帧初始功率增益值, 所述第 二处理子模块 510开始对第二半帧的处理; When pi is equal to Target, using resultl as the second field initial power gain value, the The second processing sub-module 510 starts processing the second field;
当 pi不等于 Target时, 所述第二更新输出子模块 511更新第一半帧功 率增益控制值 result2, 并将 result2输出到所述第三阶段功率控制模块 52, 具体输出到第三处理子模块 520; 以 result2作为第二半帧初始功率增益值, 所述第二更新输出子模块 511通知所述第二处理子模块 510进入对第二半 帧处理;  When the pi is not equal to the Target, the second update output sub-module 511 updates the first field power gain control value result2, and outputs the result2 to the third-stage power control module 52, and outputs the result to the third processing sub-module. 520; using result2 as the second field initial power gain value, the second update output sub-module 511 notifying the second processing sub-module 510 to enter the second field processing;
其中, result2= result 1+ ( Target-pl );  Where result2= result 1+ ( Target-pl );
所述第二处理子模块 510接收到通知后 (result2作为第二半帧初始功 率增益值)或自身识别出 (resultl 作为第二半帧初始功率增益值) 需要进 行下一半帧处理后, 开始对第二半帧进行处理: 将第二半帧初始功率增益 值代入到现有技术平均功率计算方法计算出第二半帧 PSS符号、 SSS符号 在频域内的平均功率, 然后所述第二处理子模块 510发送计算出的平均功 率到所述环路滤波电路 53, 由所述环路滤波电路 53进行滤波后, 再返回平 均功率给所述第二处理子模块 510,此时返回平均功率值为第二半帧平均功 率值 p2;  After receiving the notification (result2 as the second field initial power gain value) or self-identification (resultl as the second field initial power gain value), the second processing sub-module 510 needs to perform the next half frame processing, and then starts to The second field is processed: the second field initial power gain value is substituted into the prior art average power calculation method to calculate the average power of the second field PSS symbol and the SSS symbol in the frequency domain, and then the second processor The module 510 sends the calculated average power to the loop filter circuit 53, and after filtering by the loop filter circuit 53, returns the average power to the second processing sub-module 510, and returns the average power value. The second half frame average power value p2;
所述第二处理子模块 510判断第二半帧平均功率值 p 1与第一目标功率 值 Target是否相等,  The second processing sub-module 510 determines whether the second field average power value p 1 is equal to the first target power value Target.
当 p2等于 Target时, 以第二半帧初始功率增益值作为第三半帧初始功 率增益值, 所述第二处理子模块 510开始对第三半帧进行处理;  When p2 is equal to Target, the second field initial power gain value is used as the third field initial power gain value, and the second processing sub-module 510 starts processing the third field;
当 p2不等于 Target时, 所述第二更新输出子模块 511更新第一半帧功 率增益控制值 result2, result2= p_old+ ( Target-pl ), 并将 result2输出到所 述第三阶段功率增益控制模块 52, 具体输出到第三处理子模块 520; 所述 第二更新输出子模块 511通知所述第二处理子模块 510进入对下一帧的第 一半帧的处理;  When p2 is not equal to Target, the second update output sub-module 511 updates the first field power gain control value result2, result2=p_old+(Target-pl), and outputs result2 to the third-stage power gain control module. 52, specifically outputting to the third processing sub-module 520; the second update output sub-module 511 notifying the second processing sub-module 510 to enter processing of the first field of the next frame;
其中, 当从 "pi不等于 Target时"的条件成立执行到此时,则取 p— old= result2; 当从 "pi等于 Target时"的条件成立执行到此时,取 p—old= result 1 ; 依据上述技术方案, 所述第二处理子模块 510接收到通知后或自身识 别出需要进行下一帧第一半帧后, 与所述第二更新输出子模块 511 结合, 完成对下一帧第一半帧进行的处理; 直至处理完当前 UE接收到的所有半 帧。 Wherein, when the condition from "pi is not equal to Target" is established until this time, then p_old= Result2; when the condition from "pi equals Target" is established until this time, p_old = result 1 is taken; according to the above technical solution, the second processing sub-module 510 receives the notification or recognizes that it needs to be performed. After the first field of one frame, combined with the second update output sub-module 511, the processing of the first field of the next frame is completed; until all the fields received by the current UE are processed.
这里, 第一目标功率值 Target在所述第二阶段功率增益控制模块 51预 先设置好, 具体设置在所述第二处理子模块 510中。  Here, the first target power value Target is pre-set in the second-stage power gain control module 51, and is specifically disposed in the second processing sub-module 510.
在当前 UE处于下行业务信道接收阶段中时, 当前 UE可获知 5ms同 步信息、 10ms的同步信息和帧号同步信息, 故所述第三阶段功率增益控制 模块 52能够确定出每个子帧中 RS符号位置, 进而能够提取并计算出每个 子帧 RS符号平均功率值;  When the current UE is in the downlink traffic channel receiving phase, the current UE can learn 5 ms synchronization information, 10 ms synchronization information, and frame number synchronization information, so the third-stage power gain control module 52 can determine the RS symbol in each subframe. Position, and in turn, can extract and calculate an average power value of RS symbols per subframe;
以当前 UE接收到的一个 TD-LTE半帧为例,可将该一个 TD-LTE半帧 划分为第一子帧、 第二子帧、 第三子帧、 第四子帧、 第五子帧;  Taking a TD-LTE field received by the current UE as an example, the one TD-LTE field may be divided into a first subframe, a second subframe, a third subframe, a fourth subframe, and a fifth subframe. ;
因所述第二阶段功率增益控制模块 51与所述第三阶段功率增益控制模 块 52工作的带宽存在有不相同的情况, 所以, 所述第三处理子模块 520接 收所述第二阶段功率增益控制模块 51的功率增益控制值 result2后,先依据 公式( 1 )做变带宽处理, 然后读取已做完变带宽处理后的 result2— new作为 第一子帧初始功率增益值;  Because the bandwidth of the second-stage power gain control module 51 and the third-stage power gain control module 52 are different, the third processing sub-module 520 receives the second-stage power gain. After the power gain control value result2 of the control module 51, the variable bandwidth processing is performed according to the formula (1), and then the result2_new after the variable bandwidth processing is completed is used as the initial power gain value of the first subframe;
所述第三处理子模块 520, 将 result2— new代入现有技术平均功率计算 方法, 计算出第一子帧 RS符号在频域内的平均功率, 然后所述第三处理子 模块 520发送计算出的平均功率到所述环路滤波电路 53, 由所述环路滤波 电路 53进行滤波后, 再返回平均功率给所述第三处理子模块 520, 此时返 回平均功率值为第一子帧平均功率值^ ^)1;  The third processing sub-module 520 substitutes result2_new into the prior art average power calculation method, calculates the average power of the first subframe RS symbol in the frequency domain, and then the third processing sub-module 520 sends the calculated The average power is sent to the loop filter circuit 53 and filtered by the loop filter circuit 53 to return the average power to the third processing sub-module 520. At this time, the average power value returned is the first sub-frame average power. Value ^ ^)1;
接下来,所述第三处理子模块 520判断第一子帧平均功率值 M_pl与第 二目标功率值 Tar是否相等, 当 M_p 1等于 Tar时, 以 result2— new作为第二子帧初始功率增益值, 所第三处理子模块 520开始对第二子帧的处理; Next, the third processing sub-module 520 determines whether the first subframe average power value M_pl and the second target power value Tar are equal. When M_p 1 is equal to Tar, with result 2 — new as the second subframe initial power gain value, the third processing sub-module 520 starts processing the second subframe;
当 M_pl不等于 Tar时,所述第三更新输出子模块 521更新第一子帧功 率增益控制值 result3= result2_new+ ( Tar-M_pl ), 并将 result3通知给当前 UE;以 result3作为第二半帧初始功率增益值,所述第三更新输出子模块 521 通知所述第三处理子模块 520进入对第二子帧处理;  When M_pl is not equal to Tar, the third update output sub-module 521 updates the first subframe power gain control value result3= result2_new+ ( Tar-M_pl ), and notifies result 3 to the current UE; and results3 is used as the second field initial a power gain value, the third update output sub-module 521 notifying the third processing sub-module 520 to enter a second subframe processing;
所述第三处理子模块 520对接收到通知 (以 result3作为第二半帧初始 功率增益值 )或自身识别出(以 result2— new作为第二半帧初始功率增益值 ) 需要进行下一子帧处理后, 结合所述第三更新输出子模块对 521 开始对第 二子帧进行处理:  The third processing sub-module 520 needs to perform the next subframe for receiving the notification (using result3 as the second field initial power gain value) or by itself (with result2_new as the second field initial power gain value) After processing, the second subframe is processed in conjunction with the third update output submodule pair 521:
所述第三处理子模块 520,依据现有技术平均功率计算方法, 计算出第 二子帧 RS符号在频域内的平均功率,然后所述第三处理子模块 520发送计 算出的平均功率到所述环路滤波电路 53,由所述环路滤波电路 53进行滤波 后, 再返回平均功率给所述第三处理子模块 520, 此时返回平均功率值为第 二子帧平均功率值 M_pl ;  The third processing sub-module 520 calculates the average power of the second subframe RS symbol in the frequency domain according to the prior art average power calculation method, and then the third processing sub-module 520 sends the calculated average power to the The loop filter circuit 53 is filtered by the loop filter circuit 53, and then returns the average power to the third processing sub-module 520. At this time, the average power value returned is the second sub-frame average power value M_pl;
接下来,所述第三处理子模块 520判断第二子帧平均功率值 M_p2与第 二目标功率值 Tar是否相等,  Next, the third processing sub-module 520 determines whether the second subframe average power value M_p2 is equal to the second target power value Tar.
当 M_p2等于 Tar时, 以 result2— new作为第三子帧初始功率增益值, 所第三处理子模块 520开始对第三子帧进行处理;  When M_p2 is equal to Tar, with result2_new as the third subframe initial power gain value, the third processing sub-module 520 starts processing the third subframe;
当 M_p2不等于 Tar时,所述第三更新输出子模块 521更新第二子帧功 率增益控制值 result3 = Y+ ( Tar- M_p2 ), 并将 result3通知给当前 UE; 所述 第三更新输出子模块 521通知所述第三处理子模块 520进入对第三子帧的 处理;  When M_p2 is not equal to Tar, the third update output sub-module 521 updates the second subframe power gain control value result3 = Y+ ( Tar- M_p2 ), and notifies the current UE to the result 3; the third update output sub-module 521, the third processing sub-module 520 is notified to enter a process of processing the third subframe;
这里, 当从 "M_pl等于 Tar" 条件成立执行到此时, Y= result2— new; 当从 "M_pl不等于 Tar" 条件成立执行到此时 1, Y= result3 ; 依据上述技术方案, 所述第三处理子模块 520接收到通知后, 与所述 第二更新输出子模块 521 结合, 完成对下一子帧进行的处理; 直至处理完 当前 UE接收到的所有子帧。 Here, when the condition from "M_pl is equal to Tar" is established until this time, Y = result2 - new; when the condition from "M_pl is not equal to Tar" is established until this time, Y = result3; According to the foregoing technical solution, after receiving the notification, the third processing sub-module 520 combines with the second update output sub-module 521 to complete processing on the next subframe; until all the UEs received by the current UE are processed. frame.
这里,第二目标功率值 Tar在第三阶段功率增益控制模 52预先设置好, 具体设置在所述第三处理子模块 520中;  Here, the second target power value Tar is preset in the third stage power gain control mode 52, and is specifically disposed in the third processing submodule 520;
在本阶段, 当前 UE已经知道 5ms同步信息、 10ms同步信息和帧号同 步信息等 TD-LTE 下行链路同步信息, 也即是说通过下行链路同步, 第三 处理子模块 520能够确定每个 1ms子帧中的参考信号 RS ( Referenc Signal ) 符号在各自子帧中的位置, 那么就可以将每个子帧中 RS提取出来。  At this stage, the current UE already knows TD-LTE downlink synchronization information such as 5ms synchronization information, 10ms synchronization information, and frame number synchronization information, that is, through downlink synchronization, the third processing sub-module 520 can determine each The position of the reference signal RS ( Referenc Signal ) symbol in the 1 ms subframe in the respective subframes, then the RS in each subframe can be extracted.
在实际应用中, 所述第一阶段功率增益控制模块 50、 第二阶段功率增 益控制模块 51、 第三阶段功率增益控制模块 52、 环路滤波电路 53、 第一处 理子模块 500、 第一更新输出子模块 501、 第二处理子模块 510、 第二更新 输出子模块 511、第三处理子模块 520和第三更新输出子模块 521均可由中 央处理单元(CPU, Central Processing Unit ),或数字信号处理(DSP, Digital Signal Processor )、 或现场可编程门阵列 (FPGA, Field Programmable Gate Array )等来实现; 所述 CPU、 DSP 、 FPGA均可内置于基站中。  In a practical application, the first stage power gain control module 50, the second stage power gain control module 51, the third stage power gain control module 52, the loop filter circuit 53, the first processing submodule 500, the first update The output sub-module 501, the second processing sub-module 510, the second update output sub-module 511, the third processing sub-module 520, and the third update output sub-module 521 may each be a central processing unit (CPU), or a digital signal. Processing (DSP, Digital Signal Processor), or Field Programmable Gate Array (FPGA), etc.; the CPU, DSP, and FPGA can be built in the base station.
本发明实施例提供的 TD- LTE终端自动增益控制方法及设备, 可适用 于带宽为 1.4M、 3M、 5M、 10M、 15M、 20M的 TD-LTE系统。  The TD-LTE terminal automatic gain control method and device provided by the embodiments of the present invention are applicable to a TD-LTE system with bandwidths of 1.4M, 3M, 5M, 10M, 15M, and 20M.
本发明实施例提供的 TD- LTE自动增益控制方法, 针对三个阶段的环 境特点, 分别以帧长为单位、 以半帧长为单位、 以子帧长为单位, 对相应 符号平均功率进行计算, 通过一帧长符号最大平均功率值与功率上限和 /或 功率下限的比较, 可得到在频点扫描及 PSS检测阶段最合理的功率增益控 制值; 通过半帧长 RSS符号和 SSS符号平均功率值与第一目标功率值的比 较, 可得到在 SSS检测和 PBCH读取阶段最合理的功率增益控制值; 通过 子帧 RS符号平均功率值与第二目标功率值的比较,可得到在下行业务信道 接收阶段最合理的功率增益控制值; 本发明实施例区分了此三个阶段的环 境特点, 在每个阶段采用不同的功率增益控制方法, 提高了功率控制的灵 活性。 The TD-LTE automatic gain control method provided by the embodiment of the present invention calculates the average power of the corresponding symbol in units of frame length, in units of half frame length, and in units of subframe length, respectively, according to the environmental characteristics of the three stages. By comparing the maximum average power value of one frame long symbol with the upper power limit and/or the lower power limit, the most reasonable power gain control value in the frequency sweep and PSS detection phase can be obtained; the average power of the semi-frame long RSS symbol and the SSS symbol is obtained. Comparing the value with the first target power value, the most reasonable power gain control value in the SSS detection and PBCH reading stages can be obtained; the downlink service can be obtained by comparing the average power value of the subframe RS symbol with the second target power value. channel The most reasonable power gain control value in the receiving phase; the embodiment of the present invention distinguishes the environmental characteristics of the three phases, and adopts different power gain control methods in each phase to improve the flexibility of power control.
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。  The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.

Claims

权利要求书 claims
1、 一种 TD-LTE自动增益控制方法, 所述方法包括: 1. A TD-LTE automatic gain control method, the method includes:
分别在频点扫描和主同步符号 PSS检测阶段以帧长为单位、 辅同步符 号 SSS检测和物理广播信道 PBCH读取阶段以半帧长为单位、 下行业务信 道接收阶段以子帧长为单位, 对各 TD-LTE 帧中相应符号的平均功率进行 功率值、 第二目标功率值的比较, 得出每个阶段的最合理功率增益控制值。 In the frequency scanning and primary synchronization symbol PSS detection stages, the unit is frame length, in the secondary synchronization symbol SSS detection and physical broadcast channel PBCH reading stages, the unit is half frame length, and in the downlink service channel reception stage, the unit is subframe length. The average power of the corresponding symbol in each TD-LTE frame is compared with the power value and the second target power value to obtain the most reasonable power gain control value for each stage.
2、 根据权利要求 1所述的 TD-LTE自动增益控制方法, 其中, 在所述 频点扫描和 PSS检测阶段, 所述方法包括: 2. The TD-LTE automatic gain control method according to claim 1, wherein in the frequency scanning and PSS detection stages, the method includes:
以 10ms帧长为单位计算当前 TD-LTE帧的各个符号平均功率值并确定 依据比较结果, 输出当前 TD-LTE帧在本阶段功率增益控制值到 SSS检测 和 PBCH读取阶段、 或进行下一 TD-LTE帧的处理。 Calculate the average power value of each symbol of the current TD-LTE frame in units of 10ms frame length and determine based on the comparison results. Output the power gain control value of the current TD-LTE frame at this stage to the SSS detection and PBCH reading stage, or proceed to the next stage. Processing of TD-LTE frames.
3、 根据权利要求 1所述的 TD-LTE自动增益控制方法, 其中, 在所述 SSS检测和 PBCH读取阶段, 所述方法包括: 3. The TD-LTE automatic gain control method according to claim 1, wherein in the SSS detection and PBCH reading stages, the method includes:
接收频点扫描和 PSS检测阶段输出的功率增益控制值, 以 TD-LTE帧 的 5ms半帧长为单位计算当前半帧 PSS符号、 SSS符号平均功率值, 将计 算出的当前半帧 PSS符号、 SSS符号平均功率值与第一目标功率值进行比 较, 依据比较结果更新并输出当前半帧在本阶段功率增益控制值到下行业 务信道接收阶段同时进行下一半帧的处理、 或进行下一半帧的处理。 Receive the power gain control value output in the frequency scanning and PSS detection stages, calculate the average power value of the current half-frame PSS symbol and SSS symbol based on the 5ms half-frame length of the TD-LTE frame, and use the calculated current half-frame PSS symbol, The SSS symbol average power value is compared with the first target power value, and based on the comparison result, the power gain control value of the current half frame in this stage is updated and output to the downlink traffic channel reception stage, and the next half frame is processed at the same time, or the next half frame is processed. deal with.
4、 根据权利要求 1所述的 TD-LTE自动增益控制方法, 其中, 在所述 下行业务信道接收阶段, 所述方法包括: 4. The TD-LTE automatic gain control method according to claim 1, wherein in the downlink traffic channel reception stage, the method includes:
接收 SSS检测和 PBCH读取阶段输出的功率增益控制值, 以 TD-LTE 帧的 1ms子帧长为单位,将计算当前子帧参考信号 RS符号平均功率值,并 将计算出的当前子帧 RS符号平均功率值与第二目标功率值进行比较,依据 比较结果更新当前子帧在本阶段功率增益控制值并通知给当前用户设备 UE、 或进行下一子帧的处理。 Receive the power gain control value output from the SSS detection and PBCH reading stages. Taking the 1ms subframe length of the TD-LTE frame as the unit, the average power value of the current subframe reference signal RS symbol will be calculated, and Compare the calculated average power value of RS symbols of the current subframe with the second target power value, update the power gain control value of the current subframe at this stage according to the comparison result and notify the current user equipment UE, or perform the next subframe deal with.
5、 根据权利要求 2所述的 TD-LTE自动增益控制方法, 其中, 所述方 法包括: 5. The TD-LTE automatic gain control method according to claim 2, wherein the method includes:
接收射频芯片标明的功率增益范围, 并将功率增益范围平均划分为多 个子段, 得到平均功率增益变化量; Receive the power gain range marked by the RF chip, and divide the power gain range into multiple sub-segments on average to obtain the average power gain change;
更新当前 UE接收到的第一帧初始功率增益值为最小增益值的取值,利 用平均功率计算方法, 计算出第一帧长度内每个符号平均功率值, 比较并 找出最大的平均功率值, 作为第一帧最大平均功率值; Update the initial power gain value of the first frame received by the current UE to the value of the minimum gain value, use the average power calculation method to calculate the average power value of each symbol within the length of the first frame, compare and find the maximum average power value , as the maximum average power value of the first frame;
当第一帧最大平均功率值大于功率上限时, 更新第一帧初始功率增益 值, 作为第二帧初始功率增益值; When the maximum average power value of the first frame is greater than the power upper limit, the initial power gain value of the first frame is updated as the initial power gain value of the second frame;
当第一帧最大平均功率值小于功率上限同时小于功率下限时, 更新第 一帧初始功率增益值, 作为第二帧初始功率增益值; When the maximum average power value of the first frame is less than the upper power limit and less than the lower power limit, the initial power gain value of the first frame is updated as the initial power gain value of the second frame;
当第一帧最大平均功率值小于功率上限同时大于功率下限时, 更新第 一帧初始功率增益值, 作为第二帧初始功率增益值; When the maximum average power value of the first frame is less than the upper power limit and greater than the lower power limit, the initial power gain value of the first frame is updated as the initial power gain value of the second frame;
将第一帧最大平均功率值作为第二帧功率增益控制值输出到所述 PSS 检测和 PBCH读取阶段; Output the maximum average power value of the first frame as the power gain control value of the second frame to the PSS detection and PBCH reading stage;
利用平均功率计算方法, 计算出第二帧长度内每个符号平均功率值, 比较并找出最大的平均功率值, 作为第二帧最大平均功率值, Using the average power calculation method, calculate the average power value of each symbol within the second frame length, compare and find the maximum average power value, as the maximum average power value of the second frame,
当第二帧最大平均功率值大于功率上限时, 更新第二帧初始功率增益 值, 作为第三帧初始功率增益值; When the maximum average power value of the second frame is greater than the upper power limit, the initial power gain value of the second frame is updated as the initial power gain value of the third frame;
当第二帧最大平均功率值小于功率上限同时小于功率下限时, 更新第 二帧初始功率增益值, 作为第三帧初始功率增益值; When the maximum average power value of the second frame is less than the upper power limit and less than the lower power limit, the initial power gain value of the second frame is updated as the initial power gain value of the third frame;
当第二帧最大平均功率值小于功率上限同时大于功率下限时, 更新第 二帧初始功率增益值, 作为第三帧初始功率增益值; When the maximum average power value of the second frame is less than the upper power limit and greater than the lower power limit, update the The initial power gain value of the second frame is used as the initial power gain value of the third frame;
将第二帧最大平均功率值作为第二帧功率增益控制值输出到所述 PSS 检测和 PBCH读取阶段; Output the second frame maximum average power value as the second frame power gain control value to the PSS detection and PBCH reading stage;
以此类推, 直至完成 UE接收到的所有帧。 And so on, until all frames received by the UE are completed.
6、 根据权利要求 3所述的 TD-LTE自动增益控制方法, 其中, 所述方 法包括: 6. The TD-LTE automatic gain control method according to claim 3, wherein the method includes:
接收由所述频点扫描和 PSS检测阶段当前帧输出的功率输出控制值, 并作为当前帧第一半帧初始功率增益值; Receive the power output control value output by the current frame in the frequency scanning and PSS detection stages, and use it as the initial power gain value of the first half frame of the current frame;
依据平均功率计算方法, 计算出第一半帧 PSS符号、 SSS符号在频域 内的平均功率, 经由环路滤波电路进行滤波, 此时平均功率值作为当前帧 第一半帧平均功率值; According to the average power calculation method, the average power of the first half-frame PSS symbol and SSS symbol in the frequency domain is calculated, and filtered through the loop filter circuit. At this time, the average power value is used as the first half-frame average power value of the current frame;
判断第一半帧平均功率值与第一目标功率值是否相等, 当第一半帧平 均功率值与第一目标功率值相等时, 进入对当前帧第二半帧处理; 当第一 半帧平均功率值与第一目标功率值不相等时, 更新第一半帧平均功率增益 值, 作为当前半帧功率增益控制值, 输出到所述下行业务信道接收阶段, 同时进入对当前帧第二半帧进行处理; Determine whether the average power value of the first half frame is equal to the first target power value. When the average power value of the first half frame is equal to the first target power value, enter the second half frame processing of the current frame; when the average power value of the first half frame is equal to When the power value is not equal to the first target power value, the first half-frame average power gain value is updated as the current half-frame power gain control value, output to the downlink traffic channel reception stage, and at the same time enters the second half-frame of the current frame to process;
所述进入对当前帧第二半帧进行处理为: The process of entering the second half frame of the current frame is:
依据平均功率计算方法, 计算出第二半帧 PSS符号、 SSS符号在频域 内的平均功率, 经由环路滤波电路进行滤波, 此时平均功率值作为第二半 帧平均功率值; According to the average power calculation method, the average power of the second half-frame PSS symbol and SSS symbol in the frequency domain is calculated, and filtered through the loop filter circuit. At this time, the average power value is used as the second half-frame average power value;
判断第二半帧平均功率值与第一目标功率值是否相等, 当第二半帧平 均功率值与第一目标功率值相等时, 进入对当前帧第三半帧处理; 当第二 半帧平均功率值与第一目标功率值不相等时, 更新第二半帧平均功率增益 值, 作为当前半帧功率增益控制值, 输出到所述下行业务信道接收阶段, 同时进入对当前帧第三半帧进行处理; 以此类推, 直至完成 UE接收到的所有半帧。 Determine whether the second half-frame average power value is equal to the first target power value. When the second half-frame average power value is equal to the first target power value, enter the third half-frame processing of the current frame; when the second half-frame average When the power value is not equal to the first target power value, the second half-frame average power gain value is updated as the current half-frame power gain control value, output to the downlink traffic channel reception stage, and at the same time enters the third half-frame of the current frame to process; And so on, until all half frames received by the UE are completed.
7、 根据权利要求 4所述的 TD-LTE自动增益控制方法, 其中, 所述方 法包括: 7. The TD-LTE automatic gain control method according to claim 4, wherein the method includes:
所述下行业务信道接收阶段接收由所述 PSS检测和 PBCH读取阶段输 出的当前半帧功率增益控制值, 并对当前半帧功率增益控制值进行变带宽 处理, 将处理后的当前半帧功率增益控制值作为当前半帧的第一子帧初始 功率增益值; The downlink traffic channel receiving stage receives the current half-frame power gain control value output by the PSS detection and PBCH reading stage, performs bandwidth variation processing on the current half-frame power gain control value, and converts the processed current half-frame power The gain control value is used as the initial power gain value of the first subframe of the current half frame;
依据平均功率计算方法, 计算出第一子帧 RS 符号在频域内的平均功 率, 经由环路滤波电路滤波后, 此时平均功率值为当前半帧第一子帧平均 功率值; According to the average power calculation method, the average power of the first subframe RS symbol in the frequency domain is calculated. After filtering by the loop filter circuit, the average power value at this time is the average power value of the first subframe of the current half frame;
比较第一子帧平均功率值与第二目标功率值是否相等, 当第一子帧平 均功率值与第二目标功率值相等时, 进入对当前半帧第二子帧处理; 当第 一子帧平均功率值与第二目标功率值不相等时, 更新第一子帧平均功率增 益值, 作为当前子帧功率增益控制值, 通知给当前 UE; 同时, 进入对当前 半帧第二子帧处理; Compare whether the first subframe average power value is equal to the second target power value. When the first subframe average power value is equal to the second target power value, enter the second subframe processing of the current half frame; when the first subframe When the average power value is not equal to the second target power value, the first subframe average power gain value is updated as the current subframe power gain control value and notified to the current UE; at the same time, the second subframe processing of the current half frame is entered;
所述进入对当前半帧第二子帧处理为: The process of entering the second subframe of the current half frame is:
依据平均功率计算方法, 计算出第二子帧 RS 符号在频域内的平均功 率, 经由环路滤波电路滤波后, 此时平均功率值为当前半帧第二子帧平均 功率值; According to the average power calculation method, the average power of the second subframe RS symbol in the frequency domain is calculated. After filtering by the loop filter circuit, the average power value at this time is the average power value of the second subframe of the current half frame;
比较第二子帧平均功率值与第二目标功率值是否相等, 当第二子帧平 均功率值与第二目标功率值相等时, 进入对当前半帧第三子帧处理; 当第 二子帧平均功率值与第二目标功率值不相等时, 更新第二子帧平均功率增 益值, 作为当前子帧功率增益控制值, 通知给当前 UE; 同时, 进入对当前 半帧第三子帧处理; Compare whether the second subframe average power value is equal to the second target power value. When the second subframe average power value is equal to the second target power value, enter the third subframe processing of the current half frame; when the second subframe When the average power value is not equal to the second target power value, the second subframe average power gain value is updated as the current subframe power gain control value and notified to the current UE; at the same time, the third subframe processing of the current half frame is entered;
以此类推, 直至完成当前 UE接收到的所有子帧。 By analogy, until all subframes received by the current UE are completed.
8、 一种 TD-LTE自动增益控制设备, 所述设备包括: 第一阶段功率增 益控制模块、 第二阶段功率增益控制模块、 第三阶段功率增益控制模块和 环路滤波电路; 其中, 8. A TD-LTE automatic gain control device, the device includes: a first-stage power gain control module, a second-stage power gain control module, a third-stage power gain control module and a loop filter circuit; wherein,
所述第一阶段功率增益控制模块, 配置为以 10ms帧长为单位, 计算当 前 TD-LTE 帧各个符号平均功率值并确定最大平均功率值, 将最大平均功 率值与预设的功率上限和 /或功率下限进行比较, 得出频点扫描和主同步符 号 PSS检测阶段最合理功率增益控制值; The first stage power gain control module is configured to calculate the average power value of each symbol of the current TD-LTE frame in units of 10ms frame length and determine the maximum average power value, and combine the maximum average power value with the preset power upper limit and/ Or the power lower limit is compared to obtain the most reasonable power gain control value in the frequency scanning and primary synchronization symbol PSS detection stages;
所述第二阶段功率增益控制模块, 配置为以 TD-LTE帧的 5ms半帧长 为单位, 计算当前半帧 PSS符号、 SSS符号的平均功率值, 并将计算出的 当前半帧 PSS符号、 SSS符号的平均功率值与预设的第一目标功率值进行 比较, 得出辅同步符号 SSS检测和物理广播信道 PBCH读取阶段最合理功 率增益控制值; The second stage power gain control module is configured to calculate the average power value of the current half-frame PSS symbol and SSS symbol based on the 5ms half-frame length of the TD-LTE frame, and use the calculated current half-frame PSS symbol, The average power value of the SSS symbol is compared with the preset first target power value to obtain the most reasonable power gain control value in the secondary synchronization symbol SSS detection and physical broadcast channel PBCH reading stages;
所述第三阶段功率增益控制模块, 配置为以 TD-LTE帧的 1ms子帧长 为单位, 计算当前子帧参考信号 RS符号的平均功率值, 并将计算出的当前 子帧 RS符号的平均功率值与预设的第二目标功率值进行比较,得出下行业 务信道接收阶段最合理功率增益控制值; The third stage power gain control module is configured to calculate the average power value of the current subframe reference signal RS symbol based on the 1ms subframe length of the TD-LTE frame, and use the calculated average power value of the current subframe RS symbol The power value is compared with the preset second target power value to obtain the most reasonable power gain control value in the downlink service channel reception stage;
所述环路滤波电路, 配置为对第二阶段功率增益控制模块和第三阶段 功率增益控制模块计算出的平均功率值进行滤波。 The loop filter circuit is configured to filter the average power value calculated by the second stage power gain control module and the third stage power gain control module.
9、 根据权利要求 8所述的 TD-LTE自动增益控制设备, 其中, 所述第 一阶段功率增益控制模块包括: 第一处理子模块和第一更新输出子模块; 其中, 9. The TD-LTE automatic gain control device according to claim 8, wherein the first stage power gain control module includes: a first processing sub-module and a first update output sub-module; wherein,
所述第一处理子模块, 配置为以 10ms帧长为单位, 计算当前 TD-LTE 帧各个符号平均功率值, 并比较当前 TD-LTE帧各个符号平均功率值大小, 确定出当前帧最大平均功率值, 对将当前帧最大平均功率值与功率上限和 / 或功率下限进行比较; 所述第一更新输出子模块, 配置为依据比较结果, 更新当前 TD-LTE 帧功率增益控制值, 作为下一帧初始功率增益值并发送到所述第一处理子 模块、 或输出当前 TD-LTE 帧功率增益控制值到所述第二阶段功率增益控 制模块, 作为当前帧在第一阶段功率增益控制模块中的功率增益控制值; 所述第一处理子模块, 还配置为在接收到来自所述第一更新输出子模 块的下一帧初始功率增益值后, 开始进行对下一帧处理。 The first processing sub-module is configured to calculate the average power value of each symbol of the current TD-LTE frame in units of 10ms frame length, and compare the average power value of each symbol of the current TD-LTE frame to determine the maximum average power of the current frame. value, compare the maximum average power value of the current frame with the upper power limit and/or the lower power limit; The first update output sub-module is configured to update the current TD-LTE frame power gain control value based on the comparison result as the initial power gain value of the next frame and send it to the first processing sub-module, or output the current TD-LTE frame power gain control value. The LTE frame power gain control value is sent to the second-stage power gain control module as the power gain control value of the current frame in the first-stage power gain control module; the first processing sub-module is also configured to receive the After the first update output sub-module initial power gain value of the next frame, processing of the next frame begins.
10、根据权利要求 8所述的 TD-LTE自动增益控制设备, 其中, 所述第 二阶段功率增益控制模块包括: 第二处理子模块和第二更新输出子模块; 所述第二处理子模块, 配置为以 5ms帧长为单位, 计算当前半帧 PSS 符号、 SSS符号平均功率值; 并比较计算出的当前半帧 PSS符号、 SSS符 号平均功率值与第一目标功率值大小; 10. The TD-LTE automatic gain control device according to claim 8, wherein the second stage power gain control module includes: a second processing sub-module and a second update output sub-module; the second processing sub-module , configured to calculate the current half-frame PSS symbol and SSS symbol average power value in units of 5ms frame length; and compare the calculated current half-frame PSS symbol and SSS symbol average power value with the first target power value;
所述第二更新输出子模块, 配置为依据比较结果, 更新当前半帧功率 增益值并输出到所述第三阶段功率增益控制模块, 同时通知所述第二处理 子模块进行下一半帧处理、 或通知所述第二处理子模块进行下一半帧处理; 所述第二处理子模块, 还配置为接收由所述第二更新输出子模块发出 的通知后, 开始对下一半帧进行处理。 The second update output sub-module is configured to update the current half-frame power gain value based on the comparison result and output it to the third-stage power gain control module, and at the same time notify the second processing sub-module to process the next half-frame. Or notify the second processing sub-module to process the next half-frame; the second processing sub-module is further configured to start processing the next half-frame after receiving the notification sent by the second update output sub-module.
11、根据权利要求 8所述的 TD-LTE自动增益控制设备, 其中, 所述第 三阶段功率增益控制模块包括: 第三处理子模块和第三更新输出子模块; 其中, 11. The TD-LTE automatic gain control device according to claim 8, wherein the third stage power gain control module includes: a third processing sub-module and a third update output sub-module; wherein,
所述第三处理子模块,配置为计算当前子帧参考信号 RS符号平均功率 值, 并比较计算出的当前子帧 RS符号平均功率值与第二目标功率值大小; 所述第三更新输出子模块, 配置为依据比较结果, 更新当前子帧功率 增益控制值, 并通知给当前 UE, 同时通知所述第三处理子模块进行下一子 帧处理、 或通知所述第三处理子模块进行下一子帧处理; The third processing sub-module is configured to calculate the current subframe reference signal RS symbol average power value, and compare the calculated current subframe RS symbol average power value with the second target power value; the third update output sub-module Module configured to update the current subframe power gain control value based on the comparison result and notify the current UE, and simultaneously notify the third processing submodule to perform next subframe processing, or notify the third processing submodule to perform next subframe processing. One subframe processing;
所述第三处理子模块, 还配置为接收由所述第三更新输出子模块发出 的通知之后, 开始对下一子帧进行处理, The third processing sub-module is also configured to receive the information sent by the third update output sub-module. After the notification, start processing the next subframe,
PCT/CN2013/085335 2012-11-27 2013-10-16 Automatic gain control method and device in td-lte WO2014082504A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210490955.0 2012-11-27
CN201210490955.0A CN103841633B (en) 2012-11-27 2012-11-27 A kind of TD LTE auto gain control methods and equipment

Publications (1)

Publication Number Publication Date
WO2014082504A1 true WO2014082504A1 (en) 2014-06-05

Family

ID=50804652

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/085335 WO2014082504A1 (en) 2012-11-27 2013-10-16 Automatic gain control method and device in td-lte

Country Status (2)

Country Link
CN (1) CN103841633B (en)
WO (1) WO2014082504A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106102136B (en) * 2016-08-23 2019-11-05 成都国恒空间技术工程有限公司 A kind of searching method of frequency division duplex mobile telecommunication system down synchronization signal
CN114845409A (en) * 2016-09-28 2022-08-02 三菱电机株式会社 Communication system
CN108462977B (en) * 2017-02-21 2020-07-31 深圳市中兴微电子技术有限公司 Automatic gain control method and device
CN107086875B (en) * 2017-04-11 2019-07-09 深圳思凯微电子有限公司 Automatic gain control equipment and method
CN108988882B (en) * 2017-05-31 2020-02-07 深圳市中兴微电子技术有限公司 Automatic gain control rapid convergence method and device
CN107948110B (en) * 2017-11-27 2020-11-17 南京雷行信息技术有限公司 Automatic gain control implementation method based on synchronization in LTE system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030091132A1 (en) * 2001-08-01 2003-05-15 Ipwireless, Inc. AGC scheme and receiver for use in a wireless communication system
CN102027674A (en) * 2008-05-14 2011-04-20 爱立信电话股份有限公司 Technique for controlling a gain of a receiver
CN102347925A (en) * 2010-07-30 2012-02-08 富士通株式会社 Synchronization symbol detection method and apparatus thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030091132A1 (en) * 2001-08-01 2003-05-15 Ipwireless, Inc. AGC scheme and receiver for use in a wireless communication system
CN102027674A (en) * 2008-05-14 2011-04-20 爱立信电话股份有限公司 Technique for controlling a gain of a receiver
CN102347925A (en) * 2010-07-30 2012-02-08 富士通株式会社 Synchronization symbol detection method and apparatus thereof

Also Published As

Publication number Publication date
CN103841633A (en) 2014-06-04
CN103841633B (en) 2017-08-08

Similar Documents

Publication Publication Date Title
WO2014082504A1 (en) Automatic gain control method and device in td-lte
JP5456861B2 (en) Method and system for DC compensation and AGC
CN102265512B (en) Automatic gain control in wireless communication network
CN101359956B (en) Repeater
CN102204365A (en) Transmit power control based on receiver gain setting in a wireless communication network
EP2441188A1 (en) Signal measurements based on sync signals
CN101895507A (en) Orthogonal frequency division multiplexing receiver system and automatic gain control method thereof
CN111586829B (en) Automatic gain control method, terminal and storage medium
WO2013063735A1 (en) Adaptive control method of repeater output signal, device thereof, and system
US20050128987A1 (en) Receiver directed power management for WLAN receiver
CN102821453B (en) The automatic gain for eliminating MSR receiver GSM and LTE interference regulates and controls method and device
US9215122B2 (en) Radio communication apparatus and interference signal detection method
WO2005055447A1 (en) Reception device and reception method
CN106559866B (en) Automatic gain control method and system
Li et al. A two-stage digital AGC scheme with diversity selection for frame-based OFDM systems
US20110243105A1 (en) Method and system for automatically rescaling an accumulation buffer in synchronization systems
EP3024150A1 (en) Accurate desensitization estimation of a receiver
AU2006269678B2 (en) RF receiver, wireless communication terminal and method of operation
CN107276647B (en) Loop gain control system and method
EP2485523B1 (en) Cellular terminal gain control for inter-frequency measurements
CN101577558A (en) Wireless receiving system and method with automatic gain control
KR101075707B1 (en) Apparatus and method for signal processing
Li et al. Digital agc circuit design based on fpga
WO2015014243A1 (en) Correction method for channels, and mutual correction method, device and system for channels
CN202663553U (en) Two-stage all-digital automatic gain control (AGC) device applicable to multi-timeslot short-burst structure

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13859355

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13859355

Country of ref document: EP

Kind code of ref document: A1