CN104883231A - Wireless router frequency offset calibration method and device - Google Patents

Wireless router frequency offset calibration method and device Download PDF

Info

Publication number
CN104883231A
CN104883231A CN201510283926.0A CN201510283926A CN104883231A CN 104883231 A CN104883231 A CN 104883231A CN 201510283926 A CN201510283926 A CN 201510283926A CN 104883231 A CN104883231 A CN 104883231A
Authority
CN
China
Prior art keywords
frequency deviation
deviation value
compensate
value
screening
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
Application number
CN201510283926.0A
Other languages
Chinese (zh)
Other versions
CN104883231B (en
Inventor
李祥瑞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Gongjin Electronics Co Ltd
Original Assignee
Shenzhen Gongjin Electronics Co Ltd
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 Shenzhen Gongjin Electronics Co Ltd filed Critical Shenzhen Gongjin Electronics Co Ltd
Priority to CN201510283926.0A priority Critical patent/CN104883231B/en
Publication of CN104883231A publication Critical patent/CN104883231A/en
Application granted granted Critical
Publication of CN104883231B publication Critical patent/CN104883231B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a wireless router frequency offset calibration method comprising the following steps: determining a first frequency offset compensation value, a second frequency offset compensation value, a first frequency offset value and a second frequency offset value according to a value range of the frequency offset compensation value of the wireless router; determining a first rate of change, a screening frequency offset compensation value and a screening frequency offset value according to the first frequency offset value and the second frequency offset value; calculating a third frequency offset compensation value and detecting a third frequency offset value according to the first rate of change, the screening frequency offset compensation value and the screening frequency offset value. If an absolute value of the third frequency offset value is bigger than that of the screening frequency offset value, the obtained screening frequency offset value is the calibrated frequency offset value; if not, recalculating and detecting until the third frequency offset value satisfying requirements is obtained. The wireless router frequency offset calibration method is simple in calculation, and high in frequency offset calibration efficiency.

Description

A kind of more accurate method and apparatus of frequency shift (FS) of wireless router
Technical field
The invention belongs to wireless communication field, particularly relate to a kind of more accurate method and apparatus of frequency shift (FS) of wireless router.
Background technology
Along with the development of network technology, occurred increasing wireless WiFi in the life area of people, thus people can be more convenient is connected to network by wireless WiFi, improve the convenience of people's interconnection network.
For people provide the wireless router device of wireless network, the key index affecting its performance comprises: power P ower, frequency shift (FS) Frequency Offset (or being called frequency deviation) and EVM (English full name is: Error Vector Magnitude, and Chinese full name is: Error Vector Magnitude) etc.Wherein, the size of frequency shift (FS) is the important parameter affecting WiFi signal quality, by calibrating frequency shift (FS), the interference between similar frequency bands signal can be reduced, ensure the accuracy of signal and stability, therefore, calibrating frequency shift (FS) is during fabrication a very important operation.
In currently used frequency shifted calibration method, the formula of complexity that adopts is calibrated more, and thus computational process of its calibration is comparatively complicated, and frequency shifted calibration efficiency is lower.
Summary of the invention
The object of the present invention is to provide a kind of more accurate method of frequency shift (FS) of wireless router, during to solve prior art frequency offset correction, the computational process of calibration is comparatively complicated, the problem that frequency shifted calibration efficiency is lower.
First aspect, embodiments provide a kind of more accurate method of frequency shift (FS) of wireless router, described method comprises:
The first compensate of frequency deviation value and the second compensate of frequency deviation value is determined according to the span of the compensate of frequency deviation value of described wireless router;
Detect described first compensate of frequency deviation value and the first frequency deviation value corresponding to the second compensate of frequency deviation value and the second frequency deviation value respectively;
Size according to described first frequency deviation value and the second frequency deviation value is determined the first rate of change, screens compensate of frequency deviation value, is screened frequency deviation value;
Calculate the 3rd compensate of frequency deviation value according to described first rate of change, screening compensate of frequency deviation value and screening frequency deviation value, detect the 3rd frequency deviation value according to described 3rd compensate of frequency deviation value;
If the absolute value of the 3rd frequency deviation value is greater than the absolute value of screening frequency deviation value, then obtain screen frequency deviation value be calibration after frequency deviation value, otherwise, using the 3rd compensate of frequency deviation value as screening compensate of frequency deviation value, 3rd frequency deviation value is recalculated detection as screening frequency deviation value, until obtain the 3rd frequency deviation value met the demands.
In conjunction with first aspect, may in implementation in the first of first aspect, described using the 3rd compensate of frequency deviation value as screening compensate of frequency deviation value, using the 3rd frequency deviation value as after screening frequency deviation value recalculates detecting step, described method also comprises:
According to described 3rd frequency deviation value, the 3rd compensate of frequency deviation value and the second rate of change, calculate the 4th compensate of frequency deviation value;
Judge whether described 4th compensate of frequency deviation value is greater than maximum frequency deviation offset, or be less than minimum compensate of frequency deviation value;
If described 4th compensate of frequency deviation value is less than maximum frequency deviation offset, and is greater than minimum compensate of frequency deviation value, then obtain the 4th frequency deviation value be calibration after frequency deviation value.
In conjunction with the first possibility implementation of first aspect, in the second possibility implementation of first aspect, described according to described 3rd frequency deviation value, the 3rd compensate of frequency deviation value and the second rate of change, calculate the 4th compensate of frequency deviation value step and specifically comprise:
According to formula gain3=|gain2|+slope1*|offset2|, calculate the 4th compensate of frequency deviation value, wherein, gain2 is the 3rd compensate of frequency deviation value, slope1 is the second rate of change, and slope0=| (gain1-gain0)/(offset1-offset0) |, offset0, offset1, offset2 represent the first compensate of frequency deviation value, the second compensate of frequency deviation value, the 3rd compensate of frequency deviation value respectively, and gain0, gain1 represent the first frequency deviation value, the second frequency deviation value respectively.
In conjunction with first aspect, in the third possibility implementation of first aspect, the span of the described compensate of frequency deviation value according to described wireless router determines that the first compensate of frequency deviation value and the second compensate of frequency deviation value step are specially:
Obtain the maximum frequency deviation offset gainMax of wireless router and minimum compensate of frequency deviation value gainMin;
Calculate the first compensate of frequency deviation value according to formula gain0=(gainMin+gainMax)/2, calculate the second compensate of frequency deviation value according to formula gain1=gain0+ (gainMax-gainMin)/10.
In conjunction with the third possibility implementation of first aspect, may in implementation at the 4th kind of first aspect, the described size according to described first frequency deviation value and the second frequency deviation value determines the first rate of change, screen compensate of frequency deviation value, screen frequency deviation value step is specially:
Judge the absolute value of the first frequency deviation value | the absolute value of offset0| and the second frequency deviation value | the size of offset1|;
If the absolute value of the first frequency deviation value | offset0| is greater than the absolute value of the second frequency deviation value | offset0|, then determine the 3rd compensate of frequency deviation value according to formula nextgain=|gain1|+slope*|offset1|, and described first rate of change be on the occasion of, offset1 is the second frequency deviation value;
If the absolute value of the first frequency deviation value | offset0| is less than the absolute value of the second frequency deviation value | offset0|, then determine the 3rd compensate of frequency deviation value according to formula nextgain=|gain0|+slope0*|offset0|, and described first rate of change gets its opposite number, for negative value, offset0 is the first frequency deviation value;
Wherein, described first rate of change slope0=| (gain1-gain0)/(offset1-offset0) |.
Second aspect, embodiments provide a kind of frequency shift (FS) comparatively standard apparatus of wireless router, described device comprises:
Compensate of frequency deviation setup unit, the span for the compensate of frequency deviation value according to described wireless router determines the first compensate of frequency deviation value and the second compensate of frequency deviation value;
First detecting unit, for detecting described first compensate of frequency deviation value and the first frequency deviation value corresponding to the second compensate of frequency deviation value and the second frequency deviation value respectively;
Screening unit, for determining the first rate of change according to the size of described first frequency deviation value and the second frequency deviation value, screening compensate of frequency deviation value, screening frequency deviation value;
Second detecting unit, for calculating the 3rd compensate of frequency deviation value according to described first rate of change, screening compensate of frequency deviation value and screening frequency deviation value, detects the 3rd frequency deviation value according to described 3rd compensate of frequency deviation value;
First calibration frequency deviation determining unit, if the absolute value for the 3rd frequency deviation value is greater than the absolute value of screening frequency deviation value, then obtain screen frequency deviation value be calibration after frequency deviation value, otherwise, using the 3rd compensate of frequency deviation value as screening compensate of frequency deviation value, 3rd frequency deviation value is recalculated detection as screening frequency deviation value, until obtain the 3rd frequency deviation value met the demands.
In conjunction with second aspect, in the first possibility implementation of second aspect, described device also comprises:
Computing unit, for according to described 3rd frequency deviation value, the 3rd compensate of frequency deviation value and the second rate of change, calculates the 4th compensate of frequency deviation value;
Judging unit, for judging whether described 4th compensate of frequency deviation value is greater than maximum frequency deviation offset, or is less than minimum compensate of frequency deviation value;
Second calibration frequency deviation determining unit, if be less than maximum frequency deviation offset for described 4th compensate of frequency deviation value, and is greater than minimum compensate of frequency deviation value, then obtaining the 4th frequency deviation value is frequency deviation value after calibration.
May implementation in conjunction with the first of second aspect, may in implementation at the second of second aspect, described computing unit specifically for:
According to formula gain3=|gain2|+slope1*|offset2|, calculate the 4th compensate of frequency deviation value, wherein, gain2 is the 3rd compensate of frequency deviation value, slope1 is the second rate of change, and slope0=| (gain1-gain0)/(offset1-offset0) |, offset0, offset1, offset2 represent the first compensate of frequency deviation value, the second compensate of frequency deviation value, the 3rd compensate of frequency deviation value respectively, and gain0, gain1 represent the first frequency deviation value, the second frequency deviation value respectively.
In conjunction with second aspect, in the third possibility implementation of second aspect, described second detecting unit comprises:
Be worth most and obtain subelement, for obtaining the maximum frequency deviation offset gainMax of wireless router and minimum compensate of frequency deviation value gainMin;
Computation subunit, for calculating the first compensate of frequency deviation value according to formula gain0=(gainMin+gainMax)/2, calculates the second compensate of frequency deviation value according to formula gain1=gain0+ (gainMax-gainMin)/10.
May implementation in conjunction with the third of second aspect, may in implementation at the 4th kind of second aspect, described screening unit specifically for:
Judge the absolute value of the first frequency deviation value | the absolute value of offset0| and the second frequency deviation value | the size of offset1|;
If the absolute value of the first frequency deviation value | offset0| is greater than the absolute value of the second frequency deviation value | offset0|, then determine the 3rd compensate of frequency deviation value according to formula nextgain=|gain1|+slope*|offset1|, and described first rate of change be on the occasion of, offset1 is the second frequency deviation value;
If the absolute value of the first frequency deviation value | offset0| is less than the absolute value of the second frequency deviation value | offset0|, then determine the 3rd compensate of frequency deviation value according to formula nextgain=|gain0|+slope0*|offset0|, and described first rate of change gets its opposite number, for negative value, offset0 is the first frequency deviation value;
Wherein, described first rate of change slope0=| (gain1-gain0)/(offset1-offset0) |.
In the present invention, the first compensate of frequency deviation value and the second compensate of frequency deviation value is determined according to the span of the compensate of frequency deviation value of router, and record corresponding frequency deviation value accordingly, then satisfactory frequency deviation value is screened according to the size of two frequency deviation values, compensate of frequency deviation value and the first rate of change, and calculate the 3rd compensate of frequency deviation value, and detection obtains the 3rd frequency deviation value, if the absolute value of the 3rd frequency deviation value is less than screening frequency deviation value, then using the 3rd compensate of frequency deviation value as screening compensate of frequency deviation value, 3rd frequency deviation value is recalculated detection as screening frequency deviation value, repeatedly calculate, obtain fast the 3rd frequency deviation value closest to 0 time corresponding compensate of frequency deviation value.Frequency offset correction method of the present invention calculates simple, and frequency offset correction efficiency is high.
Accompanying drawing explanation
Fig. 1 is the realization flow figure of the more accurate method of frequency shift (FS) of the wireless router that first embodiment of the invention provides;
Fig. 2 is the realization flow figure of calculating the 3rd compensate of frequency deviation value method that first embodiment of the invention provides;
Fig. 3 is the realization flow figure of the more accurate method of frequency shift (FS) of the wireless router that second embodiment of the invention provides;
The frequency shift (FS) of the wireless router that Fig. 4 provides for third embodiment of the invention is compared with the structural representation of standard apparatus.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The object of the embodiment of the present invention is a kind of more accurate method of inclined rate skew providing wireless router, comparatively punctual to solve prior art frequency offset, needs to rely on complicated computing formula, calculates and comparatively bother, and the problem lower compared with forward efficiency.
The more accurate method of frequency shift (FS) of wireless router of the present invention, comprising: determine the first compensate of frequency deviation value and the second compensate of frequency deviation value according to the span of the compensate of frequency deviation value of described wireless router; Detect described first compensate of frequency deviation value and the first frequency deviation value corresponding to the second compensate of frequency deviation value and the second frequency deviation value respectively; Size according to described first frequency deviation value and the second frequency deviation value is determined the first rate of change, screens compensate of frequency deviation value, is screened frequency deviation value; Calculate the 3rd compensate of frequency deviation value according to described first rate of change, screening compensate of frequency deviation value and screening frequency deviation value, detect the 3rd frequency deviation value according to described 3rd compensate of frequency deviation value; If the absolute value of the 3rd frequency deviation value is greater than the absolute value of screening frequency deviation value, then obtain screen frequency deviation value be calibration after frequency deviation value, otherwise, using the 3rd compensate of frequency deviation value as screening compensate of frequency deviation value, 3rd frequency deviation value is recalculated detection as screening frequency deviation value, until obtain the 3rd frequency deviation value met the demands.
The first compensate of frequency deviation value and the second compensate of frequency deviation value is determined according to the span of the compensate of frequency deviation value of router, and record corresponding frequency deviation value accordingly, then satisfactory frequency deviation value is screened according to the size of two frequency deviation values, compensate of frequency deviation value and the first rate of change, and calculate the 3rd compensate of frequency deviation value, and detection obtains the 3rd frequency deviation value, if the absolute value of the 3rd frequency deviation value is less than screening frequency deviation value, then using the 3rd compensate of frequency deviation value as screening compensate of frequency deviation value, 3rd frequency deviation value is recalculated detection as screening frequency deviation value, repeatedly calculate, obtain fast the 3rd frequency deviation value closest to 0 time corresponding compensate of frequency deviation value.Frequency offset correction method of the present invention calculates simple, and frequency offset correction efficiency is high.Illustrate below in conjunction with accompanying drawing.
Embodiment one:
Fig. 1 shows the realization flow of the more accurate method of frequency shift (FS) of the wireless router that first embodiment of the invention provides, and details are as follows:
In step S101, determine the first compensate of frequency deviation value and the second compensate of frequency deviation value according to the span of the compensate of frequency deviation value of described wireless router.
Concrete, in the embodiment of the present invention, described wireless router, be the equipment that user provides WiFi to access, described method in embodiments of the present invention, especially the frequency offset correction of the router device based on RTL (English full name is Realtek, and Chinese name is Xi Mentieke, is the mainstream supplier of a wireless chip) wireless chip is applicable to.
The span of described compensate of frequency deviation value, refers to the maximum occurrences gainMax of compensate of frequency deviation value and the minimum value gainMin of compensate of frequency deviation value.For different router chips, corresponding maximum occurrences and minimum value also can change accordingly, directly can read parameter information corresponding to product.
The account form of described first compensate of frequency deviation value and the second compensate of frequency deviation value, can comprise the following mode enumerated or with the alternate manner of the flexible modification of under type.
Such as, can formula be passed through: gain0=(gainMin+gainMax)/2 calculates the first compensate of frequency deviation value, calculate the second compensate of frequency deviation value according to formula gain1=gain0+ (gainMax-gainMin)/10.
Other obvious variant, such as in the second compensate of frequency deviation value computing formula, does corresponding adjustment etc. for calculating parameter.
In step s 102, described first compensate of frequency deviation value and the first frequency deviation value corresponding to the second compensate of frequency deviation value and the second frequency deviation value is detected respectively.
According to the first compensate of frequency deviation value calculated, under radio-circuit device operating state, detect the output signal corresponding when the first compensate of frequency deviation value, and detect the first corresponding frequency deviation value, equally, during corresponding when the second compensate of frequency deviation value output signal, detect the second corresponding frequency deviation value.
Frequency spectrograph can be adopted to gather the spectrum signal that wireless router exports, with the frequency offseting value that the spectrum signal obtaining exporting is corresponding.
In step s 103, determine the first rate of change according to the size of described first frequency deviation value and the second frequency deviation value, screen compensate of frequency deviation value, screen frequency deviation value.
Wherein, the described size according to the first frequency deviation value and the second frequency deviation value, is referred to the size of the absolute value of absolute value and the second frequency deviation value comparing the first frequency deviation value, is namely compared by the size of absolute value, can judge the distance of frequency deviation value zero-range set constant.
As a kind of multilevel iudge method in the embodiment of the present invention, following steps as shown in Figure 2 specifically can be comprised:
In step s 201, the absolute value of the first frequency deviation value is judged | the absolute value of offset0| and the second frequency deviation value | the size of offset1|.
In step S202, if the absolute value of the first frequency deviation value | offset0| is greater than the absolute value of the second frequency deviation value | offset0|, then determine the 3rd compensate of frequency deviation value according to formula nextgain=|gain1|+slope*|offset1|, and described first rate of change be on the occasion of, offset1 is the second frequency deviation value;
In step S203, if the absolute value of the first frequency deviation value | offset0| is less than the absolute value of the second frequency deviation value | offset0|, then determine the 3rd compensate of frequency deviation value according to formula nextgain=|gain0|+slope0*|offset0|, and described first rate of change gets its opposite number, for negative value, offset0 is the first frequency deviation value;
Wherein, described first rate of change slope0=| (gain1-gain0)/(offset1-offset0) |.
By formulae discovery the first rate of change out, be always on the occasion of, but the first rate of change get on the occasion of still get this on the occasion of opposite number, need the absolute value according to the first frequency deviation value | the absolute value of offset0| and the second frequency deviation value | the size of offset0| determines.
In addition, the value of described screening compensate of frequency deviation value, need the absolute value according to the first frequency deviation value | the absolute value of offset0| and the second frequency deviation value | the comparative result of offset0|, select different calculated datas, such as, in the present invention, when the absolute value of the first frequency deviation value | offset0| is less than the absolute value of the second frequency deviation value | offset0|, select the first compensate of frequency deviation value as basis, and determine the 3rd compensate of frequency deviation value according to formula nextgain=|gain0|+slope0*|offset0|, on the contrary, when the absolute value of the first frequency deviation value | offset0| is greater than the absolute value of the second frequency deviation value | offset0|, then determine the 3rd compensate of frequency deviation value according to formula nextgain=|gain1|+slope*|offset1|.
In step S104, calculate the 3rd compensate of frequency deviation value according to described first rate of change, screening compensate of frequency deviation value and screening frequency deviation value, detect the 3rd frequency deviation value according to described 3rd compensate of frequency deviation value.
Concrete, in the embodiment of the present invention, can be, but not limited to determine the 3rd compensate of frequency deviation value according to such as under type:
Gain3=gain screening+ slope0*offset screening, certainly, this is wherein a kind of account form just.
Further, the 3rd compensate of frequency deviation value according to calculating loads on wireless router device, is detected the 3rd frequency deviation value of wireless router output by frequency detection equipment.
In step S105, if the absolute value of the 3rd frequency deviation value be greater than screening frequency deviation value absolute value, then obtain screen frequency deviation value be calibration after frequency deviation value.
If the absolute value of the 3rd frequency deviation value is greater than the absolute value of screening frequency deviation value, then obtains screening the corrected value of compensate of frequency deviation value as wireless router, export the frequency deviation value after calibration by this corrected value.
In step s 106, if the absolute value of the 3rd frequency deviation value is less than or equal to the absolute value of screening frequency deviation value, using the 3rd compensate of frequency deviation value as screening compensate of frequency deviation value, the 3rd frequency deviation value is recalculated detection as screening frequency deviation value, until obtain the 3rd frequency deviation value met the demands.
If the absolute value of the 3rd frequency deviation value is less than or equal to the absolute value of screening frequency deviation value, then using the 3rd compensate of frequency deviation value as screening compensate of frequency deviation value, the 3rd frequency deviation value is recalculated as screening frequency deviation value, obtains the 4th frequency deviation value after recalculating.
Wherein, when calculating the 4th frequency deviation value compensation, then need to obtain the second rate of change according to the 3rd frequency deviation value and screening frequency deviation value, and calculate the 4th compensate of frequency deviation value according to the 3rd frequency deviation value, the second rate of change, the 3rd compensate of frequency deviation value, computing formula is: gain4=|gain3|+slope1*|offset3|, parameter name is consistent with above-mentioned, and namely slope1 represents the second rate of change.
And, compare with the 3rd frequency deviation value according to the 4th frequency deviation value after recalculating, if the absolute value of the 4th frequency deviation value is still less than the 3rd frequency deviation value, then continue calculating the 6th frequency deviation value, until be met the compensate of frequency deviation value of requirement, the compensate of frequency deviation value according to meeting the demands corrects frequency deviation.
Embodiment two:
Fig. 3 shows the realization flow of the more accurate method of frequency shift (FS) of the wireless router that second embodiment of the invention provides, and details are as follows:
In step S301, determine the first compensate of frequency deviation value and the second compensate of frequency deviation value according to the span of the compensate of frequency deviation value of described wireless router.
In step s 302, described first compensate of frequency deviation value and the first frequency deviation value corresponding to the second compensate of frequency deviation value and the second frequency deviation value is detected respectively.
In step S303, the size according to described first frequency deviation value and the second frequency deviation value is determined the first rate of change, screens compensate of frequency deviation value, is screened frequency deviation value.
In step s 304, calculate the 3rd compensate of frequency deviation value according to described first rate of change, screening compensate of frequency deviation value and screening frequency deviation value, detect the 3rd frequency deviation value according to described 3rd compensate of frequency deviation value.
Step S301-S304 is substantially identical with step S101-S104 in embodiment one, does not repeat at this.
In step S305, according to described 3rd frequency deviation value, the 3rd compensate of frequency deviation value and the second rate of change, calculate the 4th compensate of frequency deviation value.
When calculating the 4th frequency deviation value compensation, then need to obtain the second rate of change according to the 3rd frequency deviation value and screening frequency deviation value, and calculate the 4th compensate of frequency deviation value according to the 3rd frequency deviation value, the second rate of change, the 3rd compensate of frequency deviation value, computing formula is: gain4=|gain3|+slope1*|offset3|, parameter name is consistent with above-mentioned, and namely slope1 represents the second rate of change.According to the 4th compensate of frequency deviation value, detect the 4th corresponding frequency deviation value.
In step S306, judge whether described 4th compensate of frequency deviation value is greater than maximum frequency deviation offset, or be less than minimum compensate of frequency deviation value.
In step S307, if described 4th compensate of frequency deviation value is less than maximum frequency deviation offset, and be greater than minimum compensate of frequency deviation value, then obtain the 4th frequency deviation value be calibration after frequency deviation value, namely according to the 3rd frequency deviation value be calibration after frequency deviation value.
Certainly, if when the 4th compensate of frequency deviation value is greater than maximum frequency deviation value, then the 4th frequency deviation value is set to maximum frequency deviation offset, if or when the 4th compensate of frequency deviation value is less than minimum compensate of frequency deviation value, then the 4th compensate of frequency deviation value is set to minimum compensate of frequency deviation value, and continues to compare after returning step S305 calculating the 5th frequency deviation value further.
When the embodiment of the present invention is by being greater than the compensate of frequency deviation value scope of wireless router itself to the frequency compensation value calculated, is automatically adjusted to corresponding value, thus the present invention can more effectively be corrected.
Embodiment three:
Fig. 4 shows the structural representation of frequency shift (FS) compared with standard apparatus of the wireless router that third embodiment of the invention provides, and details are as follows:
The frequency shift (FS) comparatively standard apparatus of wireless router described in the embodiment of the present invention, comprising:
Compensate of frequency deviation setup unit 401, the span for the compensate of frequency deviation value according to described wireless router determines the first compensate of frequency deviation value and the second compensate of frequency deviation value;
First detecting unit 402, for detecting described first compensate of frequency deviation value and the first frequency deviation value corresponding to the second compensate of frequency deviation value and the second frequency deviation value respectively;
Screening unit 403, for determining the first rate of change according to the size of described first frequency deviation value and the second frequency deviation value, screening compensate of frequency deviation value, screening frequency deviation value;
Second detecting unit 404, for calculating the 3rd compensate of frequency deviation value according to described first rate of change, screening compensate of frequency deviation value and screening frequency deviation value, detects the 3rd frequency deviation value according to described 3rd compensate of frequency deviation value;
First calibration frequency deviation determining unit 405, if the absolute value for the 3rd frequency deviation value is greater than the absolute value of screening frequency deviation value, then obtain screen frequency deviation value be calibration after frequency deviation value, otherwise, using the 3rd compensate of frequency deviation value as screening compensate of frequency deviation value, 3rd frequency deviation value is recalculated detection as screening frequency deviation value, until obtain the 3rd frequency deviation value met the demands.
Preferably, described device also comprises:
Computing unit, for according to described 3rd frequency deviation value, the 3rd compensate of frequency deviation value and the second rate of change, calculates the 4th compensate of frequency deviation value;
Judging unit, for judging whether described 4th compensate of frequency deviation value is greater than maximum frequency deviation offset, or is less than minimum compensate of frequency deviation value;
Second calibration frequency deviation determining unit, if be less than maximum frequency deviation offset for described 4th compensate of frequency deviation value, and is greater than minimum compensate of frequency deviation value, then obtaining the 4th frequency deviation value is frequency deviation value after calibration.
Preferably, described computing unit specifically for:
According to formula gain3=|gain2|+slope1*|offset2|, calculate the 4th compensate of frequency deviation value, wherein, gain2 is the 3rd compensate of frequency deviation value, slope1 is the second rate of change, and slope0=| (gain1-gain0)/(offset1-offset0) |, offset0, offset1, offset2 represent the first compensate of frequency deviation value, the second compensate of frequency deviation value, the 3rd compensate of frequency deviation value respectively, and gain0, gain1 represent the first frequency deviation value, the second frequency deviation value respectively.
Preferably, described second detecting unit comprises:
Be worth most and obtain subelement, for obtaining the maximum frequency deviation offset gainMax of wireless router and minimum compensate of frequency deviation value gainMin;
Computation subunit, for calculating the first compensate of frequency deviation value according to formula gain0=(gainMin+gainMax)/2, calculates the second compensate of frequency deviation value according to formula gain1=gain0+ (gainMax-gainMin)/10.
Preferably, described screening unit specifically for:
Judge the absolute value of the first frequency deviation value | the absolute value of offset0| and the second frequency deviation value | the size of offset1|;
If the absolute value of the first frequency deviation value | offset0| is greater than the absolute value of the second frequency deviation value | offset0|, then determine the 3rd compensate of frequency deviation value according to formula nextgain=|gain1|+slope*|offset1|, and described first rate of change be on the occasion of, offset1 is the second frequency deviation value;
If the absolute value of the first frequency deviation value | offset0| is less than the absolute value of the second frequency deviation value | offset0|, then determine the 3rd compensate of frequency deviation value according to formula nextgain=|gain0|+slope0*|offset0|, and described first rate of change gets its opposite number, for negative value, offset0 is the first frequency deviation value;
Wherein, described first rate of change slope0=| (gain1-gain0)/(offset1-offset0) |.
The frequency shift (FS) comparatively standard apparatus of wireless router described in the embodiment of the present invention, corresponding with the more accurate method of frequency shift (FS) of wireless router described in embodiment one and two, do not repeat at this.
In several embodiment provided by the present invention, should be understood that, disclosed apparatus and method, can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. the more accurate method of the frequency shift (FS) of wireless router, is characterized in that, described method comprises:
The first compensate of frequency deviation value and the second compensate of frequency deviation value is determined according to the span of the compensate of frequency deviation value of described wireless router;
Detect described first compensate of frequency deviation value and the first frequency deviation value corresponding to the second compensate of frequency deviation value and the second frequency deviation value respectively;
Size according to described first frequency deviation value and the second frequency deviation value is determined the first rate of change, screens compensate of frequency deviation value, is screened frequency deviation value;
Calculate the 3rd compensate of frequency deviation value according to described first rate of change, screening compensate of frequency deviation value and screening frequency deviation value, detect the 3rd frequency deviation value according to described 3rd compensate of frequency deviation value;
If the absolute value of the 3rd frequency deviation value is greater than the absolute value of screening frequency deviation value, then obtain screen frequency deviation value be calibration after frequency deviation value, otherwise, using the 3rd compensate of frequency deviation value as screening compensate of frequency deviation value, 3rd frequency deviation value is recalculated detection as screening frequency deviation value, until obtain the 3rd frequency deviation value met the demands.
2. method according to claim 1, is characterized in that, described using the 3rd compensate of frequency deviation value as screening compensate of frequency deviation value, using the 3rd frequency deviation value as after screening frequency deviation value recalculates detecting step, described method also comprises:
According to described 3rd frequency deviation value, the 3rd compensate of frequency deviation value and the second rate of change, calculate the 4th compensate of frequency deviation value;
Judge whether described 4th compensate of frequency deviation value is greater than maximum frequency deviation offset, or be less than minimum compensate of frequency deviation value;
If described 4th compensate of frequency deviation value is less than maximum frequency deviation offset, and is greater than minimum compensate of frequency deviation value, then obtain the 4th frequency deviation value be calibration after frequency deviation value.
3. method according to claim 2, is characterized in that, described according to described 3rd frequency deviation value, the 3rd compensate of frequency deviation value and the second rate of change, calculates the 4th compensate of frequency deviation value step and specifically comprises:
According to formula gain3=|gain2|+slope1*|offset2|, calculate the 4th compensate of frequency deviation value, wherein, gain2 is the 3rd compensate of frequency deviation value, slope1 is the second rate of change, and slope0=| (gain1-gain0)/(offset1-offset0) |, offset0, offset1, offset2 represent the first compensate of frequency deviation value, the second compensate of frequency deviation value, the 3rd compensate of frequency deviation value respectively, and gain0, gain1 represent the first frequency deviation value, the second frequency deviation value respectively.
4. method according to claim 1, it is characterized in that, the span of the described compensate of frequency deviation value according to described wireless router determines that the first compensate of frequency deviation value and the second compensate of frequency deviation value step are specially:
Obtain the maximum frequency deviation offset gainMax of wireless router and minimum compensate of frequency deviation value gainMin;
Calculate the first compensate of frequency deviation value according to formula gain0=(gainMin+gainMax)/2, calculate the second compensate of frequency deviation value according to formula gain1=gain0+ (gainMax-gainMin)/10.
5. method according to claim 4, is characterized in that, describedly calculates the 3rd compensate of frequency deviation value step according to described first rate of change, screening compensate of frequency deviation value and screening frequency deviation value and is specially:
Judge the absolute value of the first frequency deviation value | the absolute value of offset0| and the second frequency deviation value | the size of offset1|;
If the absolute value of the first frequency deviation value | offset0| is greater than the absolute value of the second frequency deviation value | offset0|, then determine the 3rd compensate of frequency deviation value according to formula nextgain=|gain1|+slope*|offset1|, and described first rate of change be on the occasion of, offset1 is the second frequency deviation value;
If the absolute value of the first frequency deviation value | offset0| is less than the absolute value of the second frequency deviation value | offset0|, then determine the 3rd compensate of frequency deviation value according to formula nextgain=|gain0|+slope0*|offset0|, and described first rate of change gets its opposite number, for negative value, offset0 is the first frequency deviation value;
Wherein, described first rate of change slope0=| (gain1-gain0)/(offset1-offset0) |.
6. the frequency shift (FS) of a wireless router comparatively standard apparatus, is characterized in that, described device comprises:
Compensate of frequency deviation setup unit, the span for the compensate of frequency deviation value according to described wireless router determines the first compensate of frequency deviation value and the second compensate of frequency deviation value;
First detecting unit, for detecting described first compensate of frequency deviation value and the first frequency deviation value corresponding to the second compensate of frequency deviation value and the second frequency deviation value respectively;
Screening unit, for determining the first rate of change according to the size of described first frequency deviation value and the second frequency deviation value, screening compensate of frequency deviation value, screening frequency deviation value;
Second detecting unit, for calculating the 3rd compensate of frequency deviation value according to described first rate of change, screening compensate of frequency deviation value and screening frequency deviation value, detects the 3rd frequency deviation value according to described 3rd compensate of frequency deviation value;
First calibration frequency deviation determining unit, if the absolute value for the 3rd frequency deviation value is greater than the absolute value of screening frequency deviation value, then obtain screen frequency deviation value be calibration after frequency deviation value, otherwise, using the 3rd compensate of frequency deviation value as screening compensate of frequency deviation value, 3rd frequency deviation value is recalculated detection as screening frequency deviation value, until obtain the 3rd frequency deviation value met the demands.
7. device according to claim 6, it is characterized in that, described device also comprises:
Computing unit, for according to described 3rd frequency deviation value, the 3rd compensate of frequency deviation value and the second rate of change, calculates the 4th compensate of frequency deviation value;
Judging unit, for judging whether described 4th compensate of frequency deviation value is greater than maximum frequency deviation offset, or is less than minimum compensate of frequency deviation value;
Second calibration frequency deviation determining unit, if be less than maximum frequency deviation offset for described 4th compensate of frequency deviation value, and is greater than minimum compensate of frequency deviation value, then obtaining the 4th frequency deviation value is frequency deviation value after calibration.
8. device according to claim 7, is characterized in that, described computing unit specifically for:
According to formula gain3=|gain2|+slope1*|offset2|, calculate the 4th compensate of frequency deviation value, wherein, gain2 is the 3rd compensate of frequency deviation value, slope1 is the second rate of change, and slope0=| (gain1-gain0)/(offset1-offset0) |, offset0, offset1, offset2 represent the first compensate of frequency deviation value, the second compensate of frequency deviation value, the 3rd compensate of frequency deviation value respectively, and gain0, gain1 represent the first frequency deviation value, the second frequency deviation value respectively.
9. device according to claim 6, it is characterized in that, described second detecting unit comprises:
Be worth most and obtain subelement, for obtaining the maximum frequency deviation offset gainMax of wireless router and minimum compensate of frequency deviation value gainMin;
Computation subunit, for calculating the first compensate of frequency deviation value according to formula gain0=(gainMin+gainMax)/2, calculates the second compensate of frequency deviation value according to formula gain1=gain0+ (gainMax-gainMin)/10.
10. device according to claim 9, is characterized in that, described screening unit specifically for:
Judge the absolute value of the first frequency deviation value | the absolute value of offset0| and the second frequency deviation value | the size of offset1|;
If the absolute value of the first frequency deviation value | offset0| is greater than the absolute value of the second frequency deviation value | offset0|, then determine the 3rd compensate of frequency deviation value according to formula nextgain=|gain1|+slope*|offset1|, and described first rate of change be on the occasion of, offset1 is the second frequency deviation value;
If the absolute value of the first frequency deviation value | offset0| is less than the absolute value of the second frequency deviation value | offset0|, then determine the 3rd compensate of frequency deviation value according to formula nextgain=|gain0|+slope0*|offset0|, and described first rate of change gets its opposite number, for negative value, offset0 is the first frequency deviation value;
Wherein, described first rate of change slope0=| (gain1-gain0)/(offset1-offset0) |.
CN201510283926.0A 2015-05-28 2015-05-28 A kind of calibrated method and apparatus of the frequency shift (FS) of wireless router Active CN104883231B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510283926.0A CN104883231B (en) 2015-05-28 2015-05-28 A kind of calibrated method and apparatus of the frequency shift (FS) of wireless router

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510283926.0A CN104883231B (en) 2015-05-28 2015-05-28 A kind of calibrated method and apparatus of the frequency shift (FS) of wireless router

Publications (2)

Publication Number Publication Date
CN104883231A true CN104883231A (en) 2015-09-02
CN104883231B CN104883231B (en) 2018-01-12

Family

ID=53950575

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510283926.0A Active CN104883231B (en) 2015-05-28 2015-05-28 A kind of calibrated method and apparatus of the frequency shift (FS) of wireless router

Country Status (1)

Country Link
CN (1) CN104883231B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106549720A (en) * 2016-10-13 2017-03-29 广东欧珀移动通信有限公司 A kind of method and mobile terminal for improving mobile terminal radio frequency frequency deviation
WO2019024946A1 (en) * 2017-08-02 2019-02-07 乐鑫信息科技(上海)股份有限公司 Method and device for automatically calibrating wireless frequency offsets

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101521528A (en) * 2008-02-29 2009-09-02 中兴通讯股份有限公司 Method and device for automatically adjusting the frequency deviation of crystal oscillator in GSM base station
CN101938444A (en) * 2009-06-30 2011-01-05 中兴通讯股份有限公司 Method and device for estimating and correcting frequency offset of orthogonal frequency division multiplexing system
CN102185663A (en) * 2011-02-16 2011-09-14 意法·爱立信半导体(北京)有限公司 Frequency calibration method and device
CN105659940B (en) * 2009-05-13 2012-10-31 北京理工大学 A kind of integer carrier wave frequency deviation synchronous method based on airborne communication OFDM technology
US8723553B1 (en) * 2013-02-22 2014-05-13 Qualcomm Incorporated Systems and methods for performing frequency offset estimation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101521528A (en) * 2008-02-29 2009-09-02 中兴通讯股份有限公司 Method and device for automatically adjusting the frequency deviation of crystal oscillator in GSM base station
CN105659940B (en) * 2009-05-13 2012-10-31 北京理工大学 A kind of integer carrier wave frequency deviation synchronous method based on airborne communication OFDM technology
CN101938444A (en) * 2009-06-30 2011-01-05 中兴通讯股份有限公司 Method and device for estimating and correcting frequency offset of orthogonal frequency division multiplexing system
CN102185663A (en) * 2011-02-16 2011-09-14 意法·爱立信半导体(北京)有限公司 Frequency calibration method and device
US8723553B1 (en) * 2013-02-22 2014-05-13 Qualcomm Incorporated Systems and methods for performing frequency offset estimation

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106549720A (en) * 2016-10-13 2017-03-29 广东欧珀移动通信有限公司 A kind of method and mobile terminal for improving mobile terminal radio frequency frequency deviation
WO2019024946A1 (en) * 2017-08-02 2019-02-07 乐鑫信息科技(上海)股份有限公司 Method and device for automatically calibrating wireless frequency offsets
US11330544B2 (en) 2017-08-02 2022-05-10 Espressif Systems (Shanghai) Co., Ltd. Method and device for automatically calibrating wireless frequency offsets

Also Published As

Publication number Publication date
CN104883231B (en) 2018-01-12

Similar Documents

Publication Publication Date Title
WO2020147488A1 (en) Method and device for identifying irregular group
US20190355435A1 (en) Memory system quality margin analysis and configuration
TWI692206B (en) Clock and data recovery circuit, memory storage device and flash memory controller
CN114815946B (en) Current output equipment, method, device, system and medium
CN104883231A (en) Wireless router frequency offset calibration method and device
CN102682017B (en) Information retrieval method and system
CN106253977A (en) The method of adjustment of LOS alarm decision threshold and optical module
CN104865477A (en) Detection method and detection device of power adapter
CN109753372A (en) Multidimensional data method for detecting abnormality, device, readable storage medium storing program for executing and electronic equipment
CN103823614B (en) Information processing method, device and electronic equipment
US9690358B2 (en) Method and apparatus for system control of a central processing unit (CPU) maximum power detector
CN104716974B (en) Data receiver circuit with shifted edges sampler
CN102916781A (en) Calibration method and calibration device
CN109542503B (en) Method and system for optimizing compatibility of storage link
CN102572929B (en) Voice detection method and equipment
US20210203334A1 (en) Connection interface circuit, memory storage device and phase-locked loop circuit calibration method
US20220247602A1 (en) Method and system for adjusting line width and line gap of differential signal pair
CN103778242A (en) Method and device for searching SERDES parameters
CN107396273A (en) A kind of detection circuit and its detection method and device for broadcasting audio amplifier
WO2016145879A1 (en) Transmission power detection method and device, computer storage medium
CN116361591A (en) Content auditing method, device, electronic equipment and computer readable storage medium
CN115981617A (en) Code sentence recommendation method and device, electronic equipment and storage medium
CN100459421C (en) Method for regulating linearity of multi-stage power amplifier
CN104731819A (en) Advertisement keyword extraction method and advertisement keyword extraction device
CN106575999A (en) Optical fiber coupling system and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant