CN109286971A - A kind of circule power control method and device based on DSP processing - Google Patents
A kind of circule power control method and device based on DSP processing Download PDFInfo
- Publication number
- CN109286971A CN109286971A CN201710602591.3A CN201710602591A CN109286971A CN 109286971 A CN109286971 A CN 109286971A CN 201710602591 A CN201710602591 A CN 201710602591A CN 109286971 A CN109286971 A CN 109286971A
- Authority
- CN
- China
- Prior art keywords
- value
- power
- power control
- fit interval
- reduced
- Prior art date
- Legal status (The legal status 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 status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/04—TPC
- H04W52/06—TPC algorithms
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/04—TPC
- H04W52/18—TPC being performed according to specific parameters
- H04W52/20—TPC being performed according to specific parameters using error rate
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/04—TPC
- H04W52/18—TPC being performed according to specific parameters
- H04W52/22—TPC being performed according to specific parameters taking into account previous information or commands
- H04W52/225—Calculation of statistics, e.g. average, variance
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/04—TPC
- H04W52/18—TPC being performed according to specific parameters
- H04W52/24—TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters
- H04W52/242—TPC being performed according to specific parameters using SIR [Signal to Interference Ratio] or other wireless path parameters taking into account path loss
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/04—TPC
- H04W52/30—TPC using constraints in the total amount of available transmission power
- H04W52/36—TPC using constraints in the total amount of available transmission power with a discrete range or set of values, e.g. step size, ramping or offsets
Abstract
The embodiment of the present invention provides a kind of circule power control method and device based on DSP processing, which comprises obtains received power value;Fit interval where the received power value determines the corresponding fitting algorithm of the received power value, wherein the fit interval is determined according to the subinterval of power control range;According to the fitting algorithm, the reduced value of the received power value is calculated;Power control instruction is determined according to the reduced value.Circule power control method and device provided in an embodiment of the present invention based on DSP processing, by the way that power control section is divided into multiple fit intervals, the reduced value of received power value is determined according to the corresponding fitting algorithm of fit interval where received power value, floating-point operation is converted into integer calculations, segmentation calculates the reduced value of received power value, computational accuracy is improved, keeps power adjustment more accurate, improves system performance.
Description
Technical field
The present embodiments relate to fields of communication technology, and in particular to a kind of circule power control method and device based on DSP processing.
Background technique
In the uplink power control of long term evolution (Long Term Evolution, referred to as: LTE) system, base station passes through object
It manages and carries power control commands word (Transmit in control channel (Physical Downlink Control Channel, PDCCH)
Power Control, abbreviation TPC) up-regulation of control user equipment (User Equipment, referred to as: UE) transmission power, lower or
It keeps.Specifically, base station is according to the UE transmission power received, with the data signal processor (Digital built in it
Signal Processor, referred to as: DSP) be compared the reception power measured with target received power, according to the two
Difference determines TPC command word, sends the Msg2 comprising TPC command word to UE, notice UE increases or reduce the transmission power of Msg3.
When handling power control commands word based on DSP, DSP needs to convert the reception power of base station for the performance number of dBm unit, the prior art
In, DSP calls directly dBm of the logarithmic function calculating to reduced power in operating system library function when carrying out power conversion
Value, and the data structure of DSP is generally indicated with integer, carries out various operations with the mode of fixed point, if to handle in dsp
Floating number, it is necessary to floating number is expressed as by Q format by integer and carry out operation.It is calculated after switching to fixed point due to DSP floating-point
Precision problem directly calculates its reduced value using logarithmic function to fixed point power value, in the system that individual sections have 2dB or so
Error.To reduce this error, another translation method has been stored in advance to the relationship between reduced value and dBm value, using looking into
Table method obtains the dBm value for receiving power, and this look-up method is although simple and easy but committed memory space is too big, such with empty
Between change the method for time and expend excessive precious DSP memory source, and demand of the look-up table to memory headroom can be according to calculating
The requirement of precision exponentially increases, therefore is difficult to accomplish precision within 1dB.
Summary of the invention
For the defects in the prior art, the embodiment of the invention provides a kind of circule power control methods and dress based on DSP processing
It sets.
In a first aspect, the embodiment of the present invention provides a kind of circule power control method based on DSP processing, comprising:
Obtain received power value;
Fit interval where the received power value determines the corresponding fitting algorithm of the received power value, wherein
The fit interval is determined according to the subinterval of power control range;
According to the fitting algorithm, the reduced value of the received power value is calculated;
Power control instruction is determined according to the reduced value.
Second aspect, the embodiment of the present invention provide a kind of power control device based on DSP processing, comprising:
Module is obtained, for obtaining received power value;
Processing module, for determining that the received power value is corresponding according to the fit interval where the received power value
Fitting algorithm, wherein the fit interval is determined according to the subinterval of power control range;
Computing module, for calculating the reduced value of the received power value according to the fitting algorithm;
Power control module, for determining power control instruction according to the reduced value.
The third aspect, the embodiment of the present invention provide a kind of electronic equipment, comprising:
Memory and processor, the processor and the memory complete mutual communication by bus;It is described to deposit
Reservoir is stored with the program instruction that can be executed by the processor, and it is as follows that the processor calls described program instruction to be able to carry out
Method:
Obtain received power value;Fit interval where the received power value determines that the received power value is corresponding
Fitting algorithm, wherein the fit interval according to the subinterval of power control range determine;According to the fitting algorithm, described in calculating
The reduced value of received power value;Power control instruction is determined according to the reduced value.
Fourth aspect, the embodiment of the present invention provide a kind of storage medium, are stored thereon with computer program, the computer journey
Following method is realized when sequence is executed by processor: obtaining received power value;Fit interval where the received power value
The corresponding fitting algorithm of the received power value is determined, wherein the fit interval is determined according to the subinterval of power control range;Root
According to the fitting algorithm, the reduced value of the received power value is calculated;Power control instruction is determined according to the reduced value.
Circule power control method and device provided in an embodiment of the present invention based on DSP processing, it is multiple by the way that power control section to be divided into
Fit interval determines the reduced value of received power value according to the corresponding fitting algorithm of fit interval where received power value, will
Floating-point operation is converted to integer calculations, and segmentation calculates the reduced value of received power value, improves computational accuracy, make power adjustment more
Add precisely, improves system performance.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair
Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is prior art library function performance map;
Fig. 2 is prior art library function performance map partial enlarged view;
Fig. 3 is the circule power control method flow diagram provided in an embodiment of the present invention based on DSP processing;
Fig. 4 is fitting algorithm performance map provided in an embodiment of the present invention;
Fig. 5 is fitting algorithm performance map partial enlarged view provided in an embodiment of the present invention;
Fig. 6 is the Msg3 power control flow diagram provided in an embodiment of the present invention based on DSP processing;
Fig. 7 is the power control device structural schematic diagram provided in an embodiment of the present invention based on DSP processing;
Fig. 8 is the structural schematic diagram of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Fig. 3 is the circule power control method flow diagram provided in an embodiment of the present invention based on DSP processing, as shown in figure 3, described
Method includes:
Step S11, received power value is obtained;
Specifically, when handling data in dsp, need to convert data to fixed point form, for example, by 0.5 turn of floating number
It is changed to 16384, calibration format is Q15, in this way, when DSP internal data is handled, operation is carried out with integer data as 16384,
Operation result is finally converted into real-coded GA again.In practical applications, according to the adjustable Q format of operational precision, such as
It is adjusted to Q12, then indicates floating point values 0.5 with 2048.In the power control system handled based on DSP, due to the unit of power control
Different from the unit of power is received, for example, the unit of received power value is mW or W, the unit of power control is dBm or dB, because
This needs to be converted to the performance number received the power unit value of power control processing, in embodiments of the present invention, by what is received
Performance number is denoted as received power value, including PA_intAnd PA_float, wherein PA_intFor the fixed-point value of received power value, PA_floatFor
The power unit value that power control is handled is denoted as reduced value, including P by the floating point values of received power valueB_intAnd PB_float, wherein
PB_intFor the fixed-point value of power reduced value, PB_floatFor the floating point values of power reduced value.In PA_floatWith PB_floatBetween exist pair
Number functional relation, i.e. PB_float=f (PA_float)=10log10PA_float- b, wherein b is logarithmic function parameter, different DSP
Corresponding different b, in practical applications, uplink value has arrived receiving end and generally has been negative value because of the relationship of path loss,
That is PB_floatGenerally negative value, such as -120dBm.
When needing to carry out power control processing, firstly, DSP obtains received power value PA_float, due to inside DSP to the reception
Performance number carries out operation, and herein, DSP is also needed the PA_floatBe converted to PA_int, wherein receiving the Q format of power calibration precision
It may be set according to actual conditions, the embodiment of the present invention is not construed as limiting this.
By base station to UE send Msg3 power control instruction for, base station according to receive the UE last time to base station transmission signal
Performance number, with expectation receive next time base station send signal performance number comparison inform UE adjustment transmission power.Such as base
Station receives the reception signal for carrying Msg1, and the DSP of embedded in base station obtains received power value PA_float, PA_floatUnit be mW
Or the TPC command word fixation in its memory is initialized as maximum value by W, DSP, then judgement, which is known, needs to reconfigure TPC life
Enable word come when adjusting transmission power, which is converted to fixed-point value P by DSPA_int。
Step S12, the corresponding fitting of the received power value is determined according to the fit interval where the received power value
Algorithm, wherein the fit interval is determined according to the subinterval of power control range;
Specifically, power control range is generally power bracket as unit of dB or dBm, in advance by power control range be divided into
A few subinterval, the corresponding fit interval in each subinterval, wherein the endpoint value in subinterval is its corresponding fit interval
Endpoint reduced value.Such as subinterval is [PB_float(i), PB_float(j)], then its corresponding fit interval is [PA_float
(i), PA_float(j)].Each fit interval has its corresponding fitting algorithm, and then DSP is according to received power value PA_floatPlace
Fit interval, determine the corresponding fitting algorithm of the fit interval, i.e. received power value institute fitting algorithm to be used.Herein
Fit interval can be mW or the segmentation of the fixed point power value of W with unit, such as fit interval is [PA_int(i), PA_int(j)], this
Sample DSP can be according to received power value PA_intThe fit interval at place determines the corresponding fitting algorithm of the fit interval.
For example, power control range is then in advance to be divided into [- 120dBm, -90dBm] multiple between -120dBm to -90dBm
Subinterval, such as [- 120dBm, -110dBm) it is a subinterval, [- 110dBm, -90dBm] is a subinterval, then really
The corresponding fit interval in stator section, for example, [- 120dBm, -110dBm) corresponding fit interval is [10-12MW, 10-11MW),
[- 110dBm, -90dBm] corresponding fit interval is [10-11MW, 10-9MW], after such DSP obtains received power value, direct root
The fit interval locating for it is judged according to the milliwatt value for receiving power, it in practical applications can also will [10-12MW, 10-11MW] turn
It is changed to the fixed-point value section of Q format and is converted into the fixed-point value of Q format, then root after such DSP obtains received power value
The fit interval locating for it is judged according to the fixed-point value, so that it is determined that institute's fitting algorithm to be used.No matter above-mentioned any two kinds of sections
Representation method, corresponding fitting algorithm are fixed-point computation method.
Step S13, according to the fitting algorithm, the reduced value of the received power value is calculated;
Specifically, according to step S11 received power value has been determined corresponding to fitting algorithm, the fitting algorithm be according to it
What corresponding fit interval feature pre-established, the fitting algorithm is called, the reduced value of received power value can be obtained.Due to quasi-
Hop algorithm needs use inside DSP, therefore the data of fitting algorithm processing are fixed-point data, it is assumed that fitting algorithm PB_int
=f ' (PA_int), then first by received power value PA_floatBe converted to fixed point form PA_int, in the fit interval according to locating for it
Fitting algorithm, calculate reduced value PB_int, finally by PB_intBe converted to floating point values PB_float, thus obtained reception power
PA_floatReduced value PB_float。
Step S14, power control instruction is determined according to the reduced value.
Specifically, it is determined that determining power control instruction according to the reduced value after the reduced value of received power value, power control behaviour is completed
Make.
For example, DSP determines the TPC power control instruction being adjusted to Msg3, then to UE according to the reduced value for receiving power
The Msg2 for carrying TPC power control instruction is sent, power control operation is completed.For example, the Msg2 that table 1 is the PUSCH for scheduling is carried
TPC command word table determines adjustment power according to reduced value, then searches its corresponding TPC command word, generate TPC instruction, then
The Msg2 for carrying power control instruction is sent to UE, completes power control operation.
The TPC command word table that table 1 is carried for the Msg2 of the PUSCH of scheduling
TPC command word | DB value |
0 | -6 |
1 | -4 |
2 | -2 |
3 | 0 |
4 | 2 |
5 | 4 |
6 | 6 |
7 | 8 |
Circule power control method provided in an embodiment of the present invention based on DSP processing, by the way that power control section is divided into multiple fitting areas
Between, the reduced value of received power value is determined according to the corresponding fitting algorithm of fit interval where received power value, and floating-point is transported
Calculation is converted to integer calculations, and segmentation calculates the reduced value of received power value, improves computational accuracy, keep power adjustment more smart
Standard improves system performance.
On the basis of the above embodiments, further, the fit interval is divided according to following steps:
According within the scope of power control, logarithmic relationship curve between input power sample and output reduced power sample, by institute
It states power control range and is divided at least one subinterval, its corresponding fit interval is determined according to the subinterval, wherein Mei Gesuo
State the corresponding fitting algorithm of fit interval.
In order to reduce the mistake of the floating point values of the fixed-point calculation result in DSP and the floating point values of actual logarithmic function calculating
Difference is needed to logarithmic function f (PA_float) be fitted, make fitting function f ' (PA_int) floating point values of calculated reduced value forces
Nearly logarithmic relationship curve.Specifically, within the scope of power control, input power sample and output reduced power sample are obtained, wherein defeated
Reduced power sample is the reduced value of input power sample, calculation method P outB_float=f (PA_float)=10log10PA_float-
B, according to above-mentioned formula, so that it may output reduced power sample corresponding with input power sample is obtained, then according to above-mentioned public affairs
Formula obtains input power sample and exports the logarithmic relationship curve between reduced power sample, special according to the logarithmic relationship curve
Property, power control range is divided into multiple subintervals, the corresponding fit interval in each subinterval, wherein subinterval is with reduced power
Unit indicates interval endpoint, and fit interval indicates that interval endpoint, the endpoint value in subinterval are that its is corresponding quasi- with performance number unit
Close the reduced value of the endpoint value in section, the corresponding fitting algorithm of each fit interval.In practical applications, the Q of power is received
Format is different, and fit interval endpoint value is different, therefore, in embodiments of the present invention, divides power control subinterval with reduced power value
Endpoint determines fit interval endpoint value according to each power control subinterval endpoint again, keeps the division adaptation range of fit interval wider, draws
Divide according to more reasonable.
In practical applications, reduced value can be divided into multiple according to the logarithmic curve relation property within the scope of power control
Section calculates the corresponding performance number of endpoint in subinterval according to above-mentioned formula, can obtain since logarithmic curve is monotonous curve
To the endpoint value of fit interval, it is hereby achieved that multiple fit intervals.For example, according to f (PA_float) logarithmic relationship curve spy
Property, first part's curve is steeper, can be used as a fit interval, and second part curve is relatively slow, can be used as second fitting
Section.In practical applications, ready-portioned fit interval can also be converted to the fitting area that the fixed-point value of Q format indicates
Between.
For example, power control range is [- 120dBm, -90dBm], then according to input power sample and output reduced power sample
Between logarithmic relationship curve characteristic, power control range is divided into multiple subintervals, for example, subinterval be [- 120dBm ,-
110dBm), [- 110dBm, -100dBm) and [- 100dBm, -90dBm), the corresponding fit interval in subinterval is then calculated, each
Fit interval corresponds to a fitting algorithm.
Circule power control method provided in an embodiment of the present invention based on DSP processing, according to input power value and reduced power value it
Between logarithmic relationship curve power control range is divided into multiple fit intervals, the corresponding fitting algorithm of each fit interval makes
Fitting algorithm more approaches logarithmic relationship curve, improves computational accuracy, keeps power adjustment more accurate, improves system performance.
On the basis of the various embodiments described above, further, the fitting algorithm is determined according to following steps:
According to the corresponding input power sample of the fit interval, it is bent to be fitted the corresponding logarithmic relationship of the fit interval
Line determines the fitting algorithm.
Specifically, logarithmic relationship curve is divided into the sub- curve of a plurality of logarithmic relationship by fit interval, to reduce systematic error,
It needs to be fitted the sub- curve of every logarithmic relationship respectively, determines the corresponding fitting algorithm of fit interval.In practical applications, may be used also
To be pre-processed to input power sample, down-sampled or interpolation according to the sub- curve characteristic of the corresponding logarithmic relationship of fit interval
Sample point determines the corresponding fitting algorithm of fit interval according to pretreated input power sample, reduces over-fitting or owes quasi-
Conjunction problem.
For example, the subinterval of power control range be [- 120dBm, -110dBm), [- 110dBm, -100dBm) and [-
100dBm, -80dBm), then according to the sub- curve characteristic of the corresponding logarithmic relationship in subinterval, incite somebody to action [- 120dBm, -110dBm) section
Input power sample is converted to the fixed-point value of Q format, and 3 are then moved to right to it, i.e., every 8 input power samples take a sampling
Point calculates the corresponding reduced power value of floating point values of sampled point, can be obtained by the corresponding input power sample of fit interval in this way
This and output reduced power sample, then according to the fixed-point value of input power sample and output reduced power sample fixed-point value,
And [- 120dBm, -110dBm) the sub- curve characteristic of the corresponding logarithmic relationship in section, determine the fitting algorithm of the fit interval.Together
Reason, will [- 110dBm, -100dBm) the input power sample in section is converted to the fixed-point value of Q format, 6 then are moved to right to it
Position, i.e., every 64 input power samples take a sampled point, calculate the corresponding reduced power value of floating point values of sampled point, thus
The corresponding input power sample of available fit interval and output reduced power sample;Will [- 100dBm, -80dBm) section
Input power sample is converted to the fixed-point value of Q format, and 9 are then moved to right to it, i.e., every 512 input power samples take one
Sampled point calculates the corresponding reduced power value of floating point values of sampled point, can be obtained by the corresponding input work of fit interval in this way
Rate sample and output reduced power sample, then according to the fixed-point value of the input power sample of the fit interval and output conversion function
The fixed-point value of rate sample determines the corresponding fitting algorithm of the fit interval.
Circule power control method provided in an embodiment of the present invention based on DSP processing, according to the corresponding input power sample of fit interval
This, is fitted the corresponding logarithmic relationship curve of fit interval, determines fitting algorithm, fitting algorithm is made more to approach logarithmic relationship
Curve improves computational accuracy, keeps power adjustment more accurate, improves system performance.
On the basis of the various embodiments described above, further, the determination fitting algorithm includes:
Calculate the output reduced power parameter of the input power sample;
If the output reduced power parameter and the difference of the output reduced power sample are less than preset threshold, basis
The input power parameter and the output reduced power parameter determine input power-reduced power relation table;
If the output reduced power parameter and the difference of the output reduced power sample are greater than or equal to preset threshold,
The fitting coefficient that the logarithmic relationship curve is then determined according to the input power sample is determined according to the fitting coefficient and is fitted
Multinomial.
Specifically, according to formula PB_int=f (PA_int)=10log10PA_int- b calculates input power sample PA_floatDetermine
Point value PA_intCorresponding output reduced power parameter PB_int, which is fixed-point value, will export reduced power parameter
Fixed-point value is converted to floating point values PB_float, then according to formula PB_float=f (PA_float)=10log10PA_float- b calculates output
Reduced power sample floating point values and output reduced power parameter floating point values, calculate the difference of two floating point values, which is to be
System error, if the difference is less than preset threshold, such as preset threshold is set as 0.5dBm, that is, the calculating for requiring fitting algorithm to reach
Precision is ± 0.5dBm, then by input power parameter fixed point value PA_intOutput reduced power parameter fixed point value corresponding with its
PB_intIt is fabricated to input power-reduced power relation table, is stored in the Const table in DSP memory.
If judgement knows the difference not less than preset threshold, systematic error is larger, cannot directly be calculated and be rolled over according to formula
Performance number is calculated, at this point, the fitting coefficient of logarithmic relationship curve is determined according to the corresponding input power sample of the fit interval, according to
The fitting coefficient determines polynomial fitting.For example, polynomial fitting is PQ=P1*xn+P2*xn-1+...+Pnx+Pn+1, wherein PQFor
The fixed-point value of power reduced value, PnFor the coefficient of polynomial fitting, x is the fixed-point value of input power value.According to fit interval
Corresponding logarithmic relationship curve, determine fitting coefficient, so that it is determined that the polynomial fitting of the fit interval, each fit interval
Polynomial fitting and Const table constitute fitting algorithm PB_int=f ' (PA_int).In this way, if knowing determining for received power value
Point value, according to function f ' (PA_int), so that it may obtain the fixed-point value of the reduced value of received power value.
For example, power control range are as follows: [- 140dBm, -80dBm], power subinterval be [- 140dBm, -120dBm), [-
120dBm, -110dBm), [- 110dBm, -100dBm) and [- 100dBm, -80dBm), corresponding fit interval is C1, C2, C3
And C4.
In fit interval C1, it can accomplish that systematic error is less than 0.5dBm using the method tabled look-up, and be fitted
Logarithmic relationship curve is steeper in the C1 of section, and using polynomial fitting method effect and bad, precision is not high, if using too high
Instead the fitting of a polynomial of rank wastes the processing time, and look-up table only needs to do 128 points constant table, EMS memory occupation very little because
The reduced value of this input power sample in the section C1 in direct digital simulation section C1, and they are corresponded and is stored in
In Const table in DSP memory, when judging that received power value is in C1 fit interval, is searched using look-up table and receive power
The reduced value of value.It should be noted that calculating power reduced value herein is outside DSP by formula PB_float=f
(PA_float)=10log10PA_float- b calculates reduced value, then by PA_floatAnd PB_floatBe converted to PA_intAnd PB_int,
It is stored in the Const table in DSP memory.
In fit interval C2, C3 and C4, n-order polynomial Fitted logistic relation curve can be used, by analysis, if
Use the same n-order polynomial Fitted logistic relation curve in C2, C3 and C4, systematic error is greater than 0.5dBm, therefore using C2,
C3 and C4 respectively respectively corresponds a n-order polynomial, in order to realize that code is unified, adjusts polynomial fitting according to DSP data area
The calibration precision of coefficient, such as the Q format that fitting coefficient uses is Q27, Q25, Q25 and Q8, the calibration format of power reduced value
For Q8, then:
In fit interval C2, using three rank multinomial fitting power reduced values, fitting coefficient [P1, P2, P3, P4]=
[881,67345,8228592,31498], and pass through calculation formula PQ=P1*x3-P2*x2+P3x-P4Calculate reduced value;
In fit interval C3, using three rank multinomial fitting power reduced values, fitting coefficient [P1, P2, P3, P4]=
[527,48730,7089690,29039], and pass through calculation formula PQ=P1*x3-P2*x2+P3x-P4Calculate reduced value;
In fit interval C4, using three rank multinomial fitting power reduced values, fitting coefficient [P1, P2, P3, P4]=
[748,59227,7615501,26767], and pass through calculation formula PQ=P1*x3-P2*x2+P3x-P4Calculate reduced value.
The fitting algorithm of all fit intervals has been determined according to the above method, when DSP gets received power value, judgement
Fit interval locating for it, if exporting reduced value in the section C1 by searching for DSP Const table stored in memory, if
In the section C2, C3 or C4, then DSP calculates reduced value according to corresponding three rank multinomial in the section.
Fig. 1 is prior art library function performance map, and Fig. 4 is fitting algorithm performance map provided in an embodiment of the present invention, such as Fig. 1
With shown in Fig. 4, abscissa is through DSP received power value adjusted, and calibration format is Q33, and ordinate is power dBm value, carefully
Curve is logarithmic relationship curve, and the bold curve in Fig. 4 is fitting algorithm curve, and the bold curve in Fig. 1 is library function curve, by scheming
1 and Fig. 4 can visually see, and the fitting algorithm of the embodiment of the present invention more approaches logarithmic relationship curve.More specifically, Fig. 5 is
Fitting algorithm performance map partial enlarged view provided in an embodiment of the present invention, Fig. 2 are prior art library function performance map partial enlargement
Figure, abscissa are through DSP received power value adjusted, and calibration format is Q33, and ordinate is power dBm value, by Fig. 2 and Fig. 5
It can visually see, fitting algorithm systematic error of the embodiment of the present invention is significantly less than library function algorithm.
Circule power control method provided in an embodiment of the present invention based on DSP processing, by different quasi- to the setting of different fit intervals
Floating-point operation is converted to integer calculations by hop algorithm, and segmentation calculates the reduced value of received power value, improves computational accuracy, make
Power adjustment is more accurate, improves system performance.
It is further, described that power control instruction is determined according to the reduced value on the basis of the various embodiments described above, comprising:
Calculate the difference of the reduced value and target power;
Power control instruction is determined according to the difference.
Specifically, DSP calculates the difference for receiving power reduced value and target value, such as the difference is -4dB, then basis should
Difference determines power control instruction, such as setting TPC command word is 1.
By taking base station sends the power control instruction of Msg3 to UE as an example, base station is according to the reception function for receiving the Msg1 that UE is sent
Rate, and need to receive the reception power target value that UE sends Msg3, determine TPC command word, then base station sends to UE and carries
The Msg2 of TPC command word, UE determine the transmission power of Msg3 according to the Msg2 received, are sent with the transmission power to base station
Msg3.Fig. 6 is the Msg3 power control flow diagram provided in an embodiment of the present invention based on DSP processing, as shown in fig. 6, the stream
Journey includes:
Step S1: the TPC command word fixation in DSP memory is initialized as 7;
Step S2: judge whether that configuring OM switch adjusts power control with maximum command word, if then going to step S5, otherwise
Execute step S3;
Step S3: the reduced value of received power value is calculated;Wherein calculation method includes: acquisition received power value;According to institute
Fit interval where stating received power value determines the corresponding fitting algorithm of the received power value, wherein the fit interval root
It is determined according to the subinterval of power control range;According to the fitting algorithm, the reduced value of the received power value is calculated;
Step S4: the reduced value of received power value and the difference of target value are calculated;
Step S5: TPC instruction is generated.
In practical applications, Msg3 power control characteristic is analyzed, know the target value of power adjustment -120dBm~-
Between 90dBm, and the Tpc command word maximum adjusted value of Msg3 is -6 ,+8.Therefore calculate power bracket -128dBm~-
83dBm can be met the requirements, i.e., power control range is -128dBm~-83dBm.
If it is desired to which DSP computational accuracy is ± 0.5dBm, i.e., preset threshold is 0.5dBm, then emulates number for the power control range
Model is learned to be fitted logarithmic relationship curve, using n-order polynomial Fitted logistic relation curve characteristic, by simulation analysis,
If be fitted in entire scope using 5 rank multinomials, error is ± 2dBm;If being divided to two sections, first segment does table, second segment
It is fitted using 5 rank multinomials, program error is smaller, but poor in -120dBm performance bounds, error nearly 2dBm, still
Preset threshold is not met, continues for second segment to be divided into multiple sections, preferably, power control section is divided into 4 subintervals, [-
141dBm, -120dBm), [- 120dBm, -110dBm), [- 110dBm, -100dBm) and [- 100dBm, -80dBm), it is corresponding
Fit interval are as follows: [1,128), [128,1024), [1024,10240) and [10240 ,+∞), wherein corresponding fit interval can
With determines according to actual conditions, the corresponding fit interval endpoint value of different calibration precisions is different, but power control subinterval is identical.It is right
[- 141dBm, -120dBm) section is using doing table fitting;[- 120dBm, -110dBm) section using 3 rank multinomials be fitted;[-
110dBm, -100dBm) section using 3 rank multinomials be fitted;[- 100dBm, -80dBm) section using 3 rank multinomials be fitted;And
And it can be according to logarithmic relationship curve characteristic, by using different sampling weeks to input power sample in different fit intervals
Phase, and sample value is narrowed down into fixed range, so that polynomial parameters feature is consistent, i.e. the Q uniform format of multinomial coefficient, this
The realization of sample code can unify, to further promote processing speed, table 2 is library function and fitting algorithm time-consuming contrast table, by
As can be seen that by the reachable ± 0.5dBm of fitting algorithm computational accuracy, DSP processing speed mentions table 2 significantly within 320 circulations
High DSP performance.
2 library function of table and fitting algorithm time-consuming contrast table
Library function | Fitting algorithm | The comparison of optimization front and back | |
Single user calculates reduced value coding time | 2600 circulations | 320 circulations | 88% |
Circule power control method provided in an embodiment of the present invention based on DSP processing adjusts polynomial fitting according to DSP data area
The calibration precision of coefficient reduces sampled point according to logarithmic relationship curve characteristic, and maximizing is promoted while avoiding data from overflowing
Precision is converted, floating-point operation is converted into integer calculations while guaranteeing precision, promotes processing speed, and generation can be unified
The process of code is realized and is safeguarded convenient for code.
Fig. 7 is the power control device structural schematic diagram provided in an embodiment of the present invention based on DSP processing, as shown in fig. 7, described
Device includes: to obtain module 71, processing module 72, computing module 73 and power control module 74, in which: obtains module 71 for obtaining
Received power value;Processing module 72 is used to determine the received power value pair according to the fit interval where the received power value
Wherein the fit interval determines the fitting algorithm answered according to the subinterval of power control range;Computing module 73 is used for according to described quasi-
Hop algorithm calculates the reduced value of the received power value;Power control module 74 is used to determine power control instruction according to the reduced value.
Specifically, it obtains module 71 and obtains received power value PA_float, in practical applications, obtain module 71 also need by
Received power value is converted to fixed point format PA_int, module 71 is then obtained by PA_intIt is sent to processing module 72, processing module 72
Power control range is divided at least one subinterval in advance, each subinterval corresponds to a fit interval, wherein the end in subinterval
Point value is that the reduced value of the endpoint of its corresponding fit interval determines a fitting algorithm then to each fit interval.It calculates
Module 73 is according to PA_intThe fit interval at place determines fitting algorithm PB_int=f ' (PA_int), then calculated according to fitting algorithm
Reduced value P outB_int, and by reduced value PB_intIt is sent to power control module 74, power control module 74 is according to reduced value PB_intFloating point values
Reduced value PB_floatDetermine power control instruction.Device provided in an embodiment of the present invention, function referring in particular to above method embodiment,
Details are not described herein again.
Power control device provided in an embodiment of the present invention based on DSP processing, by the way that power control section is divided into multiple fitting areas
Between, the reduced value of received power value is determined according to the corresponding fitting algorithm of fit interval where received power value, and floating-point is transported
Calculation is converted to integer calculations, and segmentation calculates the reduced value of received power value, improves computational accuracy, keep power adjustment more smart
Standard improves system performance.
On the basis of the above embodiments, further, the fit interval is divided according to following steps:
According within the scope of power control, logarithmic relationship curve between input power sample and output reduced power sample, by institute
It states power control range and is divided at least one subinterval, its corresponding fit interval is determined according to the subinterval, wherein Mei Gesuo
State the corresponding fitting algorithm of fit interval.
Specifically, within the scope of power control, input power sample and output reduced power sample are obtained, wherein output conversion
Power sample is the reduced value of input power sample, calculation method PB_float=f (PA_float)=10log10PA_float- b, according to
Above-mentioned formula, so that it may obtain output reduced power sample corresponding with input power sample, then be obtained according to above-mentioned formula
Logarithmic relationship curve between input power sample and output reduced power sample, according to the logarithmic relationship curve characteristic, by function
Control range is divided into multiple subintervals, and the corresponding fit interval in each subinterval, wherein subinterval is with reduced power unit table
Show interval endpoint, fit interval indicates that interval endpoint, the endpoint value in subinterval are its corresponding fit interval with performance number unit
Endpoint value reduced value, the corresponding fitting algorithm of each fit interval.It in practical applications, can be according within the scope of power control
Logarithmic curve relation property, reduced value is divided into multiple sections, due to logarithmic curve be monotonous curve, according to above-mentioned
Formula calculates the corresponding performance number of endpoint in subinterval, the endpoint value of fit interval can be obtained, it is hereby achieved that multiple fittings
Section.
In practical applications, the fixed-point value that ready-portioned fit interval can also be converted to Q format indicates quasi-
Close section.Device provided in an embodiment of the present invention, function is referring in particular to above method embodiment, and details are not described herein again.
Power control device provided in an embodiment of the present invention based on DSP processing, according to input power value and reduced power value it
Between logarithmic relationship curve power control range is divided into multiple fit intervals, the corresponding fitting algorithm of each fit interval makes
Fitting algorithm more approaches logarithmic relationship curve, improves computational accuracy, keeps power adjustment more accurate, improves system performance.
On the basis of the various embodiments described above, further, the fitting algorithm is determined according to following steps:
According to the corresponding input power sample of the fit interval, it is bent to be fitted the corresponding logarithmic relationship of the fit interval
Line determines the fitting algorithm.
Specifically, logarithmic relationship curve is divided into the sub- curve of a plurality of logarithmic relationship by fit interval, to reduce systematic error,
It needs to be fitted the sub- curve of every logarithmic relationship respectively, determines the corresponding fitting algorithm of fit interval.In practical applications, may be used also
To be pre-processed to input power sample, down-sampled or interpolation according to the sub- curve characteristic of the corresponding logarithmic relationship of fit interval
Sample point determines the corresponding fitting algorithm of fit interval according to pretreated input power sample, reduces over-fitting or owes quasi-
Conjunction problem.Device provided in an embodiment of the present invention, function is referring in particular to above method embodiment, and details are not described herein again.
Power control device provided in an embodiment of the present invention based on DSP processing, according to the corresponding input power sample of fit interval
This, is fitted the corresponding logarithmic relationship curve of fit interval, determines fitting algorithm, fitting algorithm is made more to approach logarithmic relationship
Curve improves computational accuracy, keeps power adjustment more accurate, improves system performance.
Fig. 8 is the structural schematic diagram of electronic equipment provided in an embodiment of the present invention, as shown in figure 8, the equipment includes: place
Manage device (processor) 801, memory (memory) 802 and bus 803;
Wherein, processor 801 and memory 802 complete mutual communication by the bus 803;
Processor 801 is used to call the program instruction in memory 802, to execute provided by above-mentioned each method embodiment
Method, for example, obtain received power value;Fit interval where the received power value determines the reception power
It is worth corresponding fitting algorithm, wherein the fit interval is determined according to the subinterval of power control range;According to the fitting algorithm, meter
Calculate the reduced value of the received power value;Power control instruction is determined according to the reduced value.
The embodiment of the present invention discloses a kind of computer program product, and the computer program product is non-transient including being stored in
Computer program on computer readable storage medium, the computer program include program instruction, when described program instructs quilt
When computer executes, computer is able to carry out method provided by above-mentioned each method embodiment, for example, obtains and receives power
Value;Fit interval where the received power value determines the corresponding fitting algorithm of the received power value, wherein described
Fit interval is determined according to the subinterval of power control range;According to the fitting algorithm, the reduced value of the received power value is calculated;
Power control instruction is determined according to the reduced value.
The embodiment of the present invention provides a kind of non-transient computer readable storage medium, the non-transient computer readable storage
Medium storing computer instruction, the computer instruction make the computer execute side provided by above-mentioned each method embodiment
Method, for example, obtain received power value;Fit interval where the received power value determines the received power value
Corresponding fitting algorithm, wherein the fit interval is determined according to the subinterval of power control range;According to the fitting algorithm, calculate
The reduced value of the received power value;Power control instruction is determined according to the reduced value.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through
The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program
When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: ROM, RAM, magnetic disk or light
The various media that can store program code such as disk.
The embodiments such as device and equipment described above are only schematical, wherein described be used as separate part description
Unit may or may not be physically separated, component shown as a unit may or may not be
Physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to the actual needs
Some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying
In the case where creative labor, it can understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on
Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should
Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers
It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation
Method described in certain parts of example or embodiment.
Finally, it should be noted that the above various embodiments is only to illustrate the technical solution of the embodiment of the present invention, rather than it is right
It is limited;Although the embodiment of the present invention is described in detail referring to foregoing embodiments, the ordinary skill of this field
Personnel are it is understood that it is still possible to modify the technical solutions described in the foregoing embodiments, or to part
Or all technical features are equivalently replaced;And these are modified or replaceed, it does not separate the essence of the corresponding technical solution
The range of each embodiment technical solution of the embodiment of the present invention.
Claims (10)
1. a kind of circule power control method based on DSP processing characterized by comprising
Obtain received power value;
Fit interval where the received power value determines the corresponding fitting algorithm of the received power value, wherein described
Fit interval is determined according to the subinterval of power control range;
According to the fitting algorithm, the reduced value of the received power value is calculated;
Power control instruction is determined according to the reduced value.
2. the method according to claim 1, wherein the fit interval is divided according to following steps:
According within the scope of power control, logarithmic relationship curve between input power sample and output reduced power sample, by the function
Control range is divided at least one subinterval, determines its corresponding fit interval according to the subinterval, wherein each described quasi-
Close the corresponding fitting algorithm in section.
3. according to the method described in claim 2, it is characterized in that, the fitting algorithm is determined according to following steps:
According to the corresponding input power sample of the fit interval, it is fitted the corresponding logarithmic relationship curve of the fit interval, really
The fixed fitting algorithm.
4. according to the method described in claim 3, it is characterized in that, the determination fitting algorithm includes:
Calculate the output reduced power parameter of the input power sample;
If the output reduced power parameter and the difference of the output reduced power sample are less than preset threshold, according to
Input power parameter and the output reduced power parameter determine input power-reduced power relation table;
If the output reduced power parameter and the difference of the output reduced power sample are greater than or equal to preset threshold, root
The fitting coefficient that the logarithmic relationship curve is determined according to the input power sample determines that fitting is multinomial according to the fitting coefficient
Formula.
5. the method according to claim 1, wherein described determine power control instruction according to the reduced value, comprising:
Calculate the difference of the reduced value and target power;
Power control instruction is determined according to the difference.
6. a kind of power control device based on DSP processing characterized by comprising
Module is obtained, for obtaining received power value;
Processing module, for determining the corresponding fitting of the received power value according to the fit interval where the received power value
Algorithm, wherein the fit interval is determined according to the subinterval of power control range;
Computing module, for calculating the reduced value of the received power value according to the fitting algorithm;
Power control module, for determining power control instruction according to the reduced value.
7. device according to claim 6, which is characterized in that the fit interval is divided according to following steps:
According within the scope of power control, logarithmic relationship curve between input power sample and output reduced power sample, by the function
Control range is divided at least one subinterval, determines its corresponding fit interval according to the subinterval, wherein each described quasi-
Close the corresponding fitting algorithm in section.
8. device according to claim 7, which is characterized in that the fitting algorithm is determined according to following steps:
According to the corresponding input power sample of the fit interval, it is fitted the corresponding logarithmic relationship curve of the fit interval, really
The fixed fitting algorithm.
9. a kind of electronic equipment characterized by comprising
Memory and processor, the processor and the memory complete mutual communication by bus;The memory
It is stored with the program instruction that can be executed by the processor, the processor calls described program instruction to be able to carry out right such as and wants
Seek 1 to 5 any method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
Method as claimed in claim 1 to 5 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710602591.3A CN109286971B (en) | 2017-07-21 | 2017-07-21 | Power control method and device based on DSP processing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710602591.3A CN109286971B (en) | 2017-07-21 | 2017-07-21 | Power control method and device based on DSP processing |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109286971A true CN109286971A (en) | 2019-01-29 |
CN109286971B CN109286971B (en) | 2021-08-06 |
Family
ID=65185328
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710602591.3A Expired - Fee Related CN109286971B (en) | 2017-07-21 | 2017-07-21 | Power control method and device based on DSP processing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109286971B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110479701A (en) * | 2019-07-16 | 2019-11-22 | 云谷(固安)科技有限公司 | Ultrasonic equipment and its control method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103095448A (en) * | 2013-01-22 | 2013-05-08 | 广西宝恒电子科技有限公司 | Processing method of digitized signals |
US20140101485A1 (en) * | 2012-10-04 | 2014-04-10 | Albert W. Wegener | Data compression profiler for configuration of compression |
CN105827319A (en) * | 2015-01-06 | 2016-08-03 | 中兴通讯股份有限公司 | Data processing method and data processing device |
CN105913836A (en) * | 2016-04-07 | 2016-08-31 | 虞安波 | Fixed-point real time noise reduction method based on DSP |
-
2017
- 2017-07-21 CN CN201710602591.3A patent/CN109286971B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140101485A1 (en) * | 2012-10-04 | 2014-04-10 | Albert W. Wegener | Data compression profiler for configuration of compression |
CN103095448A (en) * | 2013-01-22 | 2013-05-08 | 广西宝恒电子科技有限公司 | Processing method of digitized signals |
CN105827319A (en) * | 2015-01-06 | 2016-08-03 | 中兴通讯股份有限公司 | Data processing method and data processing device |
CN105913836A (en) * | 2016-04-07 | 2016-08-31 | 虞安波 | Fixed-point real time noise reduction method based on DSP |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110479701A (en) * | 2019-07-16 | 2019-11-22 | 云谷(固安)科技有限公司 | Ultrasonic equipment and its control method |
Also Published As
Publication number | Publication date |
---|---|
CN109286971B (en) | 2021-08-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109002358A (en) | Mobile terminal software adaptive optimization dispatching method based on deeply study | |
CN105760213B (en) | The early warning system and method for resources of virtual machine utilization rate under cloud environment | |
CN102932301B (en) | A kind of automatic gain control equipment and method realizing Fast Convergent | |
CN111083767B (en) | Heterogeneous network selection method based on deep reinforcement learning | |
CN111026548A (en) | Power communication equipment test resource scheduling method for reverse deep reinforcement learning | |
CN113469325A (en) | Layered federated learning method, computer equipment and storage medium for edge aggregation interval adaptive control | |
CN112105062A (en) | Mobile edge computing network energy consumption minimization strategy method under time-sensitive condition | |
Chen et al. | Dynamic task software caching-assisted computation offloading for multi-access edge computing | |
CN111429142A (en) | Data processing method and device and computer readable storage medium | |
CN112929980A (en) | Initial MCS value determination method, electronic device and storage medium | |
CN109286971A (en) | A kind of circule power control method and device based on DSP processing | |
CN101848533B (en) | Automatic gain control (AGC) method of radio frequency loop of TD-SCDMA (Time Division-Synchronization Code Division Multiple Access) terminal | |
CN110430593A (en) | Method for unloading tasks of edge computing user | |
CN112817741B (en) | DNN task control method for edge calculation | |
CN113473449A (en) | Intelligent connection system based on Internet of things terminal | |
CN112231009A (en) | Energy capture network model task calculation unloading decision and scheduling method | |
CN114172149B (en) | Distributed generation cluster autonomous control method and system | |
CN108510996A (en) | A kind of iteratively faster adaptive filter method | |
Aejaz et al. | RSSI-based parameter estimation for Rician fading environments on wireless sensor nodes | |
CN104244386B (en) | Poewr control method and device | |
CN115551105B (en) | Task scheduling method, device and storage medium based on 5G network edge calculation | |
CN109660625A (en) | A kind of edge device control method, edge device and computer readable storage medium | |
CN113543223A (en) | Parameter adjusting method, server and storage medium | |
CN110134009B (en) | Gateway equipment cooling method and device, gateway equipment and storage medium | |
CN111490889A (en) | Method and device for estimating wireless service growth |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20210806 |
|
CF01 | Termination of patent right due to non-payment of annual fee |