CN104639266A - Quick and accurate automatic gain control method - Google Patents

Quick and accurate automatic gain control method Download PDF

Info

Publication number
CN104639266A
CN104639266A CN201510065199.0A CN201510065199A CN104639266A CN 104639266 A CN104639266 A CN 104639266A CN 201510065199 A CN201510065199 A CN 201510065199A CN 104639266 A CN104639266 A CN 104639266A
Authority
CN
China
Prior art keywords
gear
triggering
trigger
level
power
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
CN201510065199.0A
Other languages
Chinese (zh)
Other versions
CN104639266B (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 JIZHI HUIYI TECHNOLOGY Co Ltd
Original Assignee
SHENZHEN JIZHI HUIYI TECHNOLOGY 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 JIZHI HUIYI TECHNOLOGY Co Ltd filed Critical SHENZHEN JIZHI HUIYI TECHNOLOGY Co Ltd
Priority to CN201510065199.0A priority Critical patent/CN104639266B/en
Publication of CN104639266A publication Critical patent/CN104639266A/en
Application granted granted Critical
Publication of CN104639266B publication Critical patent/CN104639266B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a quick and accurate automatic gain control method. The method comprises the following steps of step s1, reading a reference level and a trigger level; step s2, performing signal trigger trying in a Trigger mode through the trigger level, if the trying is successful, skipping to the step s301, and if the trying is not successful, skipping to the step s5; step s301, recording the tried gear to trigger trying to be successful; step s302, recording peak power corresponding to the gear which is successfully triggered; step s4, verifying according to the peak power obtained in the step s302, after the verification is successful, directly retreating, and if the verification fails, after fine tuning the reference level, skipping to the step s2; step s5, running a Free Run mode to perform non-triggering grabbing, if the running is successful, kipping to the step s302, and if the running is not successful, entering the next gear which is not subjected to trigger trying. The irrelevance between power and frequency is eliminated, and automatic gain control is more quickly and accurately finished.

Description

One is auto gain control method fast and accurately
Technical field
The present invention relates to a kind of auto gain control method, particularly relate to one auto gain control method fast and accurately.
Background technology
Usually before the launch mass measuring radiofrequency signal, need the reference level adjusting receiver to suitable position, could measure launch mass more accurately like this, and the too high Y-PSNR that all can affect the signal received by receiver of reference level, described Y-PSNR is often abbreviated as PSNR, it is the engineering term of the ratio of the destructive noise power of an expression signal maximum possible power and the expression precision affecting it, because many signals have the dynamic range of non-constant width, Y-PSNR is commonly used dB unit to represent; If reference level is too low, signal distortion by compressing can be made.
Wireless test instrument is as a kind of test products of a large amount of use, and its receiver need possess the function of adjustment reference level automatically, is called for short AGC(automatic gain control), i.e. automatic growth control; And require that this function is as far as possible quick and precisely, to reach good testing efficiency and user experience.
The setting of the reference level of automatic growth control, need to receive according to receiver to specify the signal power of frequency to adjust, the way of current main flow has Hardware Implementation, the method adopts the mode of power detection meter substantially, by judging the signal power of long period section, and then reach the object of the reference level adjusting receiver.
The advantage of hardware detection mode is that speed is fast, but there are two shortcomings: first shortcoming is that the Relationship Comparison of the power that arrives of hardware detection and required frequency is weak, namely power as shown in Figure 1 and the relation of time can only be processed, have nothing to do with the frequency range of power concentration, the frequency range that power in the frequency range that need as shown in Figure 2 judge may be concentrated with actual power is inconsistent, if there is inconsistent situation as shown in Figure 3, then hardware detection to performance number equal actual power value, but and the performance number in the non-user frequency range that need detect, larger difference may be there is in these two kinds of performance numbers, thus cause AGC inaccurate, second shortcoming is, if when " transmission gap " is as shown in Figure 1 larger, such as, is " signal transmitter section " in Fig. 1 more than 10000 times, then the performance number that AGC judges then can become very inaccurate.
Summary of the invention
Technical problem to be solved by this invention needs to provide a kind of independence can getting rid of power and frequency, realizes auto gain control method fast and accurately, and may be used for testing unlike signal.
To this, the invention provides one auto gain control method fast and accurately, comprise the following steps:
Step s1, reads the existing reference level of receiver and triggering level;
Step s2, under Trigger pattern, carry out signal by existing triggering level to trigger and attempt, and the gear corresponding to this triggering level is labeled as attempts, whether successfully then judge to trigger, if success, jumps to step s301, if unsuccessful, jumps to step s5;
Step s301, records the gear attempted and triggers trial and success, jump to step s302;
Step s302, record triggers the peak power corresponding to successful gear, jumps to step s4;
Step s4, the peak power according to step s302 gained is verified, is proved to be successful, and directly exits, and authentication failed jumps to step s2 after then finely tuning reference level;
Step s5, records this gear and has attempted triggering, and trigger unsuccessfully; Run Free Run pattern and carry out triggerless crawl; If grab complete Frame envelope, then jump to step s302; Otherwise the performance number of record triggerless crawl gained, and enter into the next gear not carrying out triggering and attempt according to the result of triggerless crawl, jump to the signal triggering trial that step s2 carries out Trigger pattern, until complete checking backed off after random;
Wherein, the signal of described Trigger pattern triggers the complete power bracket that the receiver of the Power coverage set by attempting can be tested.
Described peak power also claims frame power; Described Trigger pattern is signal trigger mode, when trigger power is between crest and trough, could trigger and grab the data of specifying, complete triggering, this signal trigger mode can with time-out time, and namely exceeding the time-out time of specifying can't trigger, then exit Trigger and return failure, so, adopt this Trigger pattern, the problem that " transmission gap " is long especially can be solved by the mode arranging Trigger time-out time; Described Free Run pattern is triggerless pattern, for capturing the signal or end signal of making an uproar that cannot trigger, the signal that cannot trigger comprises continuous signal, because there is not the great variety of power, so signal crawl cannot be carried out by Trigger pattern, but signal can be realized by Free Run pattern to capture, this Free Run pattern is used likely to grab the signal of " transmission gap " the inside, so in the process of automatic growth control, this Free Run pattern must be could use after the failure of Trigger pattern.
Further improvement of the present invention is, described Trigger pattern only analyzes the scope of sample rate in designated frequency band, adjust reference level after drawing the power in designated frequency band, described designated frequency band is that the centre frequency of receiver deducts sample rate and centre frequency and adds frequency range between sample rate.
Such as: described receiver centre frequency is 2412MHz, and sample rate is 160MHz, then the designated frequency range analyzed is 2412MHz-160MHz/2 to 2412MHz+160MHz/2, and namely designated frequency band is 2332MHz ~ 2492MHz; Can certainly herein means and determine in band limits, specify less frequency range, but the minimum value of designated frequency band must not be less than the data of resolution bandwidth RBW.The present invention draws power in designated frequency band and then adjustment reference level, continues other tests below, so the present invention can solve first shortcoming of hardware implementation mode, namely can get rid of the independence of power and frequency.
Further improvement of the present invention is, the signal of described Trigger pattern triggers trial and comprises plural gear, and the interval of described gear is less than the absolute value of the difference between end power and reference level of making an uproar of receiver.Preferably, described gear, in units of 25dB, is divided into altogether and is divided into+50 ~+25 dBm ,+25 ~ 0 dBm, 0 ~-25 dBm and-25 ~-50 dBm totally four gear intervals with reference to level.The unit of described gear standard is relative value dB, and actual-gear interval is absolute value dBm.
The division of described gear need be determined according to the arranged scope of receiver reference level and effective triggering level, Trigger Level is such as set, difference between described Trigger power and reference level, unit representation is dBmax, usual employing 25dB gear, it is as follows that gear divides example: the reference level of such as receiver can arrange scope for+50dBm ~-20dBm; And when reference level is minimum value-20dBm, what it can be measured make an uproar, and end power is-60dBm, for meeting lower powered triggering process, then triggering level need be less than the difference-40dBm made an uproar between end power and reference level that this moment can measure, so Trigger Level is set to-40dBmax, and gear divides and must be less than the absolute value of this value, preferably use 25dB, this value also all supported by receiver in the industry at present; Then gear is then in units of 25dB, is divided into+50 dBm ~+25dBm ,+25dBm ~ 0dBm and 0dBm ~-20dBm3 scope altogether; The present invention divides gear according to which can ensure that receiver at least can be triggered to the Burst signal of any gear in a gear.
The present invention, while the problem solving hardware implementation mode, also solves the problem of software processing speed; The present invention triggers the mode of attempting by multiple gear short time, rapid adjustment also verifies the validity of power, and then realize automatic growth control fast and accurately, possesses good autgmentability, according to tested signal type adjustment relevant parameter, the versatility can tested all radiofrequency signal types can be realized.
Further improvement of the present invention is, described step s2 judges to trigger whether success, for whether triggering in the time-out time of specifying and grabbing the data of specifying, if be then judged as triggering successfully, as otherwise exit Trigger pattern and return failure.Described time-out time is carry out triggering the time set when attempting, if the time exceeding this setting does not have suitable signal input yet, then no longer waits for, directly exits to trigger and attempt; Described data of specifying refer to the radiofrequency signal data meeting trigger condition, i.e. the signal of trigger power between the peak power and trough power of data.
Further improvement of the present invention is, described step s4 judges difference between reference level and peak power whether in specified scope, if then complete and exit, if not then according to existing peak power fine setting reference level and triggering level, then verify, until be verified backed off after random.Described specified scope is the headroom discrepancy amount between reference level and peak power, user can be arranged according to different signals, such as ofdm signal, surplus between reference level and peak power is 10dB, then add that the surplus of 10dB is then canonical reference level by existing peak power, difference between this canonical reference level and original reference level is less than ± 1dB, then in specified scope.
Further improvement of the present invention is, described step s5 comprises following sub-step:
Step s501, record respective notch triggers unsuccessfully, runs Free Run pattern and carries out triggerless crawl;
Step s502, judge whether to there is peak power, if exist, record peak power, and jump to step s4, if do not exist, record average power, and the gear corresponding to current triggering level is labeled as attempts, directly switch gear according to existing power and do not carry out triggering signal that the gear attempted carries out Trigger pattern and trigger to next and attempt;
Step s503, judges whether that the signal completed all gears triggers test, is then switched to next not carrying out if not and triggers the gear attempted, and jump to s2; If then jump to step s504;
Step s504, the triggerless analyzing all gears captures the performance number of gained, judge whether that the power difference that there are at least two gears is in specified scope, if exist, directly add that skew surplus is as new reference level value according to arbitrary value of the less performance number of difference, and exit; If do not exist, be judged as that power fluctuation is too large, return and automatically adjust failure.
When the present invention uses Trigger pattern, should be noted the setting of Trigger power, the power bracket that receiver can be tested need be covered, and respectively trial is triggered to the signal that each gear carries out under Trigger pattern, as Trigger success, namely trigger successfully, then analyze the power in its designated frequency band, according to gained peak power reference level finely tuned and verify, until be verified and exit automatic growth control, if Trigger is unsuccessful, namely failure is triggered, then on the basis of same reference level, the triggerless of carrying out under Free Run pattern captures, and the performance number of gained under recording Free Run pattern, and enter into according to the result that triggerless under Free Run pattern captures the signal triggering trial that next specified gear carries out Trigger pattern, by that analogy, until directly exit after completing automatic growth control, or after the equal Trigger of all gears is unsuccessful, can be failed when no signal or continuous signal, result according to Free Run several times judges, if have the result of more than twice or twice all relatively, the result of more than twice or twice is such as had to be less than ± 1dB, a certain performance number wherein is then directly used to adjust corresponding reference level, directly enter Qualify Phase, be proved to be successful, directly exit automatic growth control.
Further improvement of the present invention is, in described step s502, directly switches gear comprise step by step following according to existing power:
Step s5021, arranging peak power with the skew surplus sum in specified scope is new reference level;
Step s5022, judges whether new reference level place gear has been attempted triggering, if then jump to step s5023, terminates after then returning new trigger parameter if not;
Step s5023, judges whether first gear has been attempted triggering, if then jump to step s5024, terminates after then returning new trigger parameter if not;
Step s5024, judges whether next gear has been attempted triggering, if then jump to step s5025, terminates after then returning new trigger parameter if not;
Step s5025, judges whether it is last gear, terminates if then return after all gears are attempted; Then return step s5024 if not.
The present invention uses the initial value of different reference levels and triggering level can measure different power brackets, unlike signal or different test scenes, corresponding power is also different, so we also provide the automatic gaining controling parameter of the acquiescence of different scene, namely different reference levels and triggering level, to reach the effect of more convenient and quicker and then to provide better Consumer's Experience.
Further improvement of the present invention is, described fine setting comprises following sub-step:
Step s401, has judged whether to trigger producing frame, if then arranging peak power with skew surplus sum in specified scope is new reference level, returning this reference level is terminate after new trigger parameter; Then jump to step s402 if not;
Step s402, judges whether reference level reaches the maximum allowing to arrange, if then increase triggering level and jump to step s403, then jumps to step s404 if not;
Step s403, judges whether triggering level is greater than peak, if then arranging triggering level is return after peak and terminate, terminates after then directly returning new trigger parameter if not;
Step s404, judge whether reference level arrives the minimum value allowing to arrange, if then jump to step s405, then arranging peak power if not with skew surplus sum in specified scope is new reference level, and returning this reference level is terminate after new trigger parameter;
Step s405, reduces triggering level, then judges whether triggering level is less than minimum, if then to arrange triggering level be after minimum but meeting receiving, terminates after then directly returning new trigger parameter if not.
Described peak is the highest numerical value that gear is arranged; Described minimum is the minimum numerical value that gear is arranged; The described maximum allowing the maximum of setting and receiver reference level that scope is set, the maximum of such as WT-200 series instrument is the maximum of+50dBm, Agilent N9030 when modulation signal is resolved is+22dBm; The described minimum value allowing to arrange is then just contrary, is the minimum value that receiver reference level arranges scope.
Further improvement of the present invention is, the adjustment of described triggering level is divided into rise synchronizing to enter and lower synchronizing, described rise synchronizing enters to be set to the half of the peak of each gear and the difference of current level, and described downward synchronizing enters to be set to the half of the minimum of each gear and the difference of current level; When measuring ofdm signal or signal type is unknown, described skew surplus is set to 10dB; When the signal of test b T or 802.11b, described skew surplus is set to 3dB.
Compared with prior art, beneficial effect of the present invention is: the independence getting rid of power and frequency, completes automatic growth control more fast and exactly; By the mode of the self-defined configuration of the time-out time of Trigger pattern, solve " transmission gap " length uncertain problem, may be used for the test to multiple unlike signal; Cover the mode in receiver test power bracket by multiple gear, fast and accurately can switch between each gear, reach automatic growth control effect more fast, can also be transplanted to easily on various platform and carry out, highly versatile.
Accompanying drawing explanation
Fig. 1 is the relation schematic diagram of signal power and time in prior art;
Fig. 2 is the relation schematic diagram of power and frequency in prior art;
Fig. 3 is the schematic diagram needing the frequency range of measurement and actual power to concentrate frequency range inconsistent in prior art;
Fig. 4 is the normal schematic diagram sending signal in an embodiment of the present invention;
Fig. 5 is the schematic diagram sending a certain signal in an embodiment of the present invention continuously;
Fig. 6 is the power schematic diagram measured in an embodiment of the present invention in designated frequency band;
Fig. 7 is the workflow schematic diagram of an embodiment of the present invention;
Fig. 8 is the workflow schematic diagram of the gear switch of step s502 in an embodiment of the present invention;
Fig. 9 is the workflow schematic diagram of the fine setting of step s4 in an embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing, preferably embodiment of the present invention is described in further detail.
As shown in Figure 7, this example provides one auto gain control method fast and accurately, comprises the following steps:
Step s1, reads the existing reference level of receiver and triggering level;
Step s2, under Trigger pattern, carry out signal by existing triggering level to trigger and attempt, and the gear corresponding to this triggering level is labeled as attempts, whether successfully then judge to trigger, if success, jumps to step s301, if unsuccessful, jumps to step s5;
Step s301, records the gear attempted and triggers trial and success, jump to step s302;
Step s302, record triggers the peak power corresponding to successful gear, jumps to step s4;
Step s4, the peak power according to step s302 gained is verified, is proved to be successful, and directly exits, and authentication failed jumps to step s2 after then finely tuning reference level;
Step s5, records this gear and has attempted triggering, and trigger unsuccessfully; Run Free Run pattern and carry out triggerless crawl; If grab complete Frame envelope, then jump to step s302; Otherwise the performance number of record triggerless crawl gained, and enter into the next gear not carrying out triggering and attempt according to the result of triggerless crawl, jump to the signal triggering trial that step s2 carries out Trigger pattern, until complete checking backed off after random;
Wherein, the signal of described Trigger pattern triggers the complete power bracket that the receiver of the Power coverage set by attempting can be tested.
This routine described step s4 judges difference between reference level and peak power whether in specified scope, if then complete and exit, if not then according to existing peak power fine setting reference level and triggering level, then verify, until be verified backed off after random.
This routine described step s5 comprises following sub-step:
Step s501, record respective notch triggers unsuccessfully, runs Free Run pattern and carries out triggerless crawl;
Step s502, judge whether to there is peak power, if exist, record peak power, and jump to step s4, if do not exist, record average power, and the gear corresponding to current triggering level is labeled as attempts, directly switch gear according to existing power and do not carry out triggering signal that the gear attempted carries out Trigger pattern and trigger to next and attempt;
Step s503, judges whether that the signal completed all gears triggers test, is then switched to next not carrying out if not and triggers the gear attempted, and jump to s2; If then jump to step s504;
Step s504, the triggerless analyzing all gears captures the performance number of gained, judge whether that the power difference that there are at least two gears is in specified scope, if exist, directly add that skew surplus is as new reference level value according to arbitrary value of the less performance number of difference, and exit; If do not exist, be judged as that power fluctuation is too large, return and automatically adjust failure.In Fig. 7, the deviant of step s504 is skew surplus.
As shown in Figure 8, in this routine described step s502, directly switch gear according to existing power and comprise step by step following:
Step s5021, arranging peak power with the skew surplus sum in specified scope is new reference level;
Step s5022, judges whether new reference level place gear has been attempted triggering, if then jump to step s5023, terminates after then returning new trigger parameter if not;
Step s5023, judges whether first gear has been attempted triggering, if then jump to step s5024, terminates after then returning new trigger parameter if not;
Step s5024, judges whether next gear has been attempted triggering, if then jump to step s5025, terminates after then returning new trigger parameter if not;
Step s5025, judges whether it is last gear, terminates if then return after all gears are attempted; Then return step s5024 if not.
As shown in Figure 9, the fine setting of this routine described step s4 comprises following sub-step:
Step s401, has judged whether to trigger producing frame, if then arranging peak power with skew surplus sum in specified scope is new reference level, returning this reference level is terminate after new trigger parameter; Then jump to step s402 if not;
Step s402, judges whether reference level reaches the maximum allowing to arrange, if then increase triggering level and jump to step s403, then jumps to step s404 if not;
Step s403, judges whether triggering level is greater than peak, if then arranging triggering level is return after peak and terminate, terminates after then directly returning new trigger parameter if not;
Step s404, judge whether reference level arrives the minimum value allowing to arrange, if then jump to step s405, then arranging peak power if not with skew surplus sum in specified scope is new reference level, and returning this reference level is terminate after new trigger parameter;
Step s405, reduces triggering level, then judges whether triggering level is less than minimum, if then to arrange triggering level be after minimum but meeting receiving, terminates after then directly returning new trigger parameter if not.
This example only analyzes the scope of sample rate in designated frequency band, as shown in Figure 6, within the scope of f1 ~ f2 in analysis chart 6, under default situations on designated center basis, the scope of process receiver sample rate, such as, the centre frequency of receiver is 2412MHz, sample rate is 160MHz, the frequency range then analyzed is the scope that 2412MHz-160MHz/2 to 2412MHz+160MHz/2 equals between 2332MHz ~ 2492MHz, can certainly within the scope of this, specify less frequency range, but minimum value must not be less than resolution bandwidth RBW, draw the power in designated frequency band and then adjustment reference level, continue other tests below, so this example can solve first shortcoming of hardware implementation mode, namely solve the shortcoming of the independence of power and designated frequency band.
While the problem solving hardware implementation mode, this example also solves the problem of software processing speed; This example triggers the mode of attempting mainly through multiple gear short time, rapid adjustment also verifies the validity of power, and then realize automatic growth control fast and accurately; This example also possesses good autgmentability, according to tested signal type adjustment relevant parameter, can realize the versatility can tested all radiofrequency signal types.
The division of described gear need according to the arranged scope of receiver reference level and effective triggering level (Trigger Level, difference between Trigger power and reference level, unit representation is dBmax) determine, usual employing 25dB gear, it is as follows that gear divides example: the reference level of such as receiver can arrange scope for+50dBm ~-20dBm; And when reference level is minimum value-20dBm, what it can be measured make an uproar, and end power is-60dBm, for meeting lower powered triggering process, then triggering level need be less than the difference-40dB made an uproar between end power and reference level that this moment can measure, so Trigger Level is set to-40dBmax, and gear divides and must be less than the absolute value of this value, namely use 25dB in this example, this value also all supported by receiver in the industry at present; Then gear is then divided into+50 dBm ~+25dBm ,+25dBm ~ 0dBm and 0dBm ~-20dBm totally three gear intervals in units of 25dB.Gear divides with reference to which then can ensure that receiver at least can be triggered to the Burst signal of any gear in a gear, i.e. signal as shown in Figure 4.
In signal shown in Fig. 4, there is continuous print Wave crest and wave trough, be called there is frame, signal Trigger pattern can be adopted to attempt triggering, described Trigger pattern is signal trigger mode, when trigger power is between the crest shown in Fig. 4 and trough, could trigger and grab the data of specifying, general all with time-out time, namely exceed the time-out time of specifying can't trigger, then exit Trigger and return failure, adopting this Trigger pattern, the problem that " transmission gap " is long especially can be solved by the mode arranging Trigger time-out time.
And signal is as shown in Figure 5 for making an uproar end signal, because there is not the great variety of power, so cannot be captured by signal Trigger pattern, but no signal can be attempted by Free Run pattern to trigger, described Free Run pattern is triggerless pattern, use this Free Run pattern likely to grab " transmission gap " as shown in Figure 1, so in AGC process, this pattern must be could use after Trigger failure.
During this example use signal Trigger pattern, should be noted the setting of Trigger power, the power bracket that receiver can be tested need be covered.Respectively each gear is carried out to the triggering trial of Trigger pattern, as Trigger success, then analyze the power in its designated frequency band, and according to gained peak power reference level finely tuned and verify, described peak power also claims frame power, until be verified and exit AGC, if Trigger is unsuccessful, then on the basis of same reference level, the triggerless of carrying out Free Run pattern captures, and record the performance number of Free Run gained, and enter into according to the result of Free Run the triggering trial that next specified gear carries out Trigger pattern, by that analogy, until directly exit after completing AGC, or after all Trigger lost efficacy, can be failed when no signal or continuous signal, result according to Free Run several times judges, if have the result of more than twice or twice all relatively, such as, the result of more than twice or twice is had to be less than ± 1dB, a certain performance number wherein is then directly used to adjust corresponding reference level, directly enter Qualify Phase, be proved to be successful, directly exit AGC, the workflow diagram of this example as shown in Figure 7.
In Fig. 7, the handoff procedure of described trim process and gear may change attempted gear, and carries out record during triggering under attempting Trigger pattern next time, and the workflow diagram of described fine setting as shown in Figure 9.
In Fig. 9, the stepping of triggering level adjustment adopts 2 steps can travel through the principle of remainder, namely adjusts upward the half that stepping is set to the peak of Trigger Level and the Trigger Level difference of current use; Downward part is also adopted and is processed in the same way.Skew surplus during fine setting is relevant with tested data type, described skew surplus is the difference of maximum power value and average power content in frame, at measurement OFDM (Orthogonal Frequency Division Multiplexing, orthogonal frequency division multiplexi) signal or signal type unknown time, this skew surplus is 10dB, and it is 3dB that the known signal of other non-OFDM such as test b T or 802.11b then arranges skew surplus.
When without frame power, the workflow schematic diagram of the gear switch of step s502 as shown in Figure 8, when using the method, use different initial values can measure different power brackets, unlike signal or different test scenes, corresponding power is also different, so we also provide the AGC parameter of the acquiescence of different scene, to reach the effect of more convenient and quicker and then to provide better Consumer's Experience.Such as, certain signal known is the ofdm signal of 30dBm ± 10dB, and when using WT-200 receiver to test, each parameter in Fig. 7, Fig. 8 and Fig. 9 is as following table:
In upper table, except default reference level and skew surplus, all the other are all fixed according to receiver parameters, so when determining to use WT-200 receiver, only need according to the roughly power of measured signal and signal type, described roughly power is ± 10dB in, then only need once attempt, fine setting can complete whole AGC process.
Even if the signal pattern sent is completely unknown, as long as tested signal power variations is not large especially, all whole flow processs at most only need travel through once the additional once fine setting of all gears and can complete; Thus realize the object of express delivery AGC; In addition, the program adopts software mode to realize, and may be used for receiver in house software, also may be used for, to the process of other radiofrequency signals, also possessing versatility.
Above content is in conjunction with concrete preferred implementation further description made for the present invention, can not assert that specific embodiment of the invention is confined to these explanations.For general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, some simple deduction or replace can also be made, all should be considered as belonging to protection scope of the present invention.

Claims (10)

1. an auto gain control method fast and accurately, is characterized in that, comprise the following steps:
Step s1, reads the existing reference level of receiver and triggering level;
Step s2, under Trigger pattern, carry out signal by existing triggering level to trigger and attempt, and the gear corresponding to this triggering level is labeled as attempts, whether successfully then judge to trigger, if success, jumps to step s301, if unsuccessful, jumps to step s5;
Step s301, records the gear attempted and triggers trial and success, jump to step s302;
Step s302, record triggers the peak power corresponding to successful gear, jumps to step s4;
Step s4, the peak power according to step s302 gained is verified, is proved to be successful, and directly exits, and authentication failed jumps to step s2 after then finely tuning reference level;
Step s5, records this gear and has attempted triggering, and trigger unsuccessfully; Run Free Run pattern and carry out triggerless crawl; If grab complete Frame envelope, then jump to step s302; Otherwise the performance number of record triggerless crawl gained, and enter into the next gear not carrying out triggering and attempt according to the result of triggerless crawl, jump to the signal triggering trial that step s2 carries out Trigger pattern, until complete checking backed off after random;
Wherein, the signal of described Trigger pattern triggers the complete power bracket that the receiver of the Power coverage set by attempting can be tested.
2. auto gain control method according to claim 1, it is characterized in that, described Trigger pattern only analyzes the scope of sample rate in designated frequency band, adjust reference level after drawing the power in designated frequency band, described designated frequency band is that the centre frequency of receiver deducts sample rate and centre frequency and adds frequency range between sample rate.
3. auto gain control method according to claim 2, is characterized in that, the signal of described Trigger pattern triggers trial and comprises plural gear, and the interval of described gear is less than the absolute value of the difference between end power and reference level of making an uproar of receiver.
4. auto gain control method according to claim 3, is characterized in that, described gear, in units of 25dB, is divided into+50 ~+25 dBm ,+25 ~ 0 dBm, 0 ~-25 dBm and-25 ~-50 dBm totally four gear intervals with reference to level.
5. auto gain control method according to claim 1, it is characterized in that, described step s2 judges that whether triggering is successful, for whether triggering in the time-out time of specifying and grabbing the data of specifying, if be then judged as triggering successfully, as otherwise exit Trigger pattern and return failure.
6. the auto gain control method according to claim 1 to 5 any one, it is characterized in that, described step s4 judges difference between reference level and peak power whether in specified scope, if then complete and exit, if not then according to existing peak power fine setting reference level and triggering level, then verify, until be verified backed off after random.
7. auto gain control method according to claim 6, is characterized in that, described step s5 comprises following sub-step:
Step s501, record respective notch triggers unsuccessfully, runs Free Run pattern and carries out triggerless crawl;
Step s502, judge whether to there is peak power, if exist, record peak power, and jump to step s4, if do not exist, record average power, and the gear corresponding to current triggering level is labeled as attempts, directly switch gear according to existing power and do not carry out triggering signal that the gear attempted carries out Trigger pattern and trigger to next and attempt;
Step s503, judges whether that the signal completed all gears triggers test, is then switched to next not carrying out if not and triggers the gear attempted, and jump to s2; If then jump to step s504;
Step s504, the triggerless analyzing all gears captures the performance number of gained, judge whether that the power difference that there are at least two gears is in specified scope, if exist, directly add that skew surplus is as new reference level value according to arbitrary value of the less performance number of difference, and exit; If do not exist, be judged as that power fluctuation is too large, return and automatically adjust failure.
8. auto gain control method according to claim 7, is characterized in that, in described step s502, directly switches gear comprise step by step following according to existing power:
Step s5021, arranging peak power with the skew surplus sum in specified scope is new reference level;
Step s5022, judges whether new reference level place gear has been attempted triggering, if then jump to step s5023, terminates after then returning new trigger parameter if not;
Step s5023, judges whether first gear has been attempted triggering, if then jump to step s5024, terminates after then returning new trigger parameter if not;
Step s5024, judges whether next gear has been attempted triggering, if then jump to step s5025, terminates after then returning new trigger parameter if not;
Step s5025, judges whether it is last gear, terminates if then return after all gears are attempted; Then return step s5024 if not.
9. the auto gain control method according to claim 1 to 5 any one, is characterized in that, described fine setting comprises following sub-step:
Step s401, has judged whether to trigger producing frame, if then arranging peak power with skew surplus sum in specified scope is new reference level, returning this reference level is terminate after new trigger parameter; Then jump to step s402 if not;
Step s402, judges whether reference level reaches the maximum allowing to arrange, if then increase triggering level and jump to step s403, then jumps to step s404 if not;
Step s403, judges whether triggering level is greater than peak, if then arranging triggering level is return after peak and terminate, terminates after then directly returning new trigger parameter if not;
Step s404, judge whether reference level arrives the minimum value allowing to arrange, if then jump to step s405, then arranging peak power if not with skew surplus sum in specified scope is new reference level, and returning this reference level is terminate after new trigger parameter;
Step s405, reduces triggering level, then judges whether triggering level is less than minimum, if then to arrange triggering level be after minimum but meeting receiving, terminates after then directly returning new trigger parameter if not.
10. auto gain control method according to claim 9, it is characterized in that, the adjustment of described triggering level is divided into rise synchronizing to enter and lower synchronizing, described rise synchronizing enters to be set to the half of the peak of each gear and the difference of current level, and described downward synchronizing enters to be set to the half of the minimum of each gear and the difference of current level; When measuring ofdm signal or signal type is unknown, described skew surplus is set to 10dB; When the signal of test b T or 802.11b, described skew surplus is set to 3dB.
CN201510065199.0A 2015-02-06 2015-02-06 Quick and accurate automatic gain control method Active CN104639266B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510065199.0A CN104639266B (en) 2015-02-06 2015-02-06 Quick and accurate automatic gain control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510065199.0A CN104639266B (en) 2015-02-06 2015-02-06 Quick and accurate automatic gain control method

Publications (2)

Publication Number Publication Date
CN104639266A true CN104639266A (en) 2015-05-20
CN104639266B CN104639266B (en) 2017-02-22

Family

ID=53217632

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510065199.0A Active CN104639266B (en) 2015-02-06 2015-02-06 Quick and accurate automatic gain control method

Country Status (1)

Country Link
CN (1) CN104639266B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106559866A (en) * 2015-09-30 2017-04-05 北京展讯高科通信技术有限公司 A kind of auto gain control method and system
CN113358929A (en) * 2021-06-28 2021-09-07 深圳市武锋技术有限公司 Method for adjusting reference level, computer readable storage medium and spectrum receiver

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1401134A1 (en) * 2001-06-25 2004-03-24 Sony Corporation AUTOMATIC GAIN CONTROL CIRCUIT AND METHOD THEREOF, AND DEMODULATION APPARATUS USING THE SAME
CN101192862A (en) * 2006-11-30 2008-06-04 昂达博思公司 Method and device for automatic gain control in wireless communication system
CN101715088A (en) * 2009-11-10 2010-05-26 北京创毅视讯科技有限公司 Automatic gain control method and device for analog mobile TV
CN101742627A (en) * 2010-01-14 2010-06-16 京信通信系统(中国)有限公司 Digital automatic gain control method of communication system and control system thereof
CN103379602A (en) * 2012-04-12 2013-10-30 联芯科技有限公司 Terminal automatic gain control method and terminal for down link multi-slot business
US8948611B1 (en) * 2012-05-31 2015-02-03 Maxim Integrated Products, Inc. I/R receiver with duty cycle synchronized power reduction

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1401134A1 (en) * 2001-06-25 2004-03-24 Sony Corporation AUTOMATIC GAIN CONTROL CIRCUIT AND METHOD THEREOF, AND DEMODULATION APPARATUS USING THE SAME
CN101192862A (en) * 2006-11-30 2008-06-04 昂达博思公司 Method and device for automatic gain control in wireless communication system
CN101715088A (en) * 2009-11-10 2010-05-26 北京创毅视讯科技有限公司 Automatic gain control method and device for analog mobile TV
CN101742627A (en) * 2010-01-14 2010-06-16 京信通信系统(中国)有限公司 Digital automatic gain control method of communication system and control system thereof
CN103379602A (en) * 2012-04-12 2013-10-30 联芯科技有限公司 Terminal automatic gain control method and terminal for down link multi-slot business
US8948611B1 (en) * 2012-05-31 2015-02-03 Maxim Integrated Products, Inc. I/R receiver with duty cycle synchronized power reduction

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106559866A (en) * 2015-09-30 2017-04-05 北京展讯高科通信技术有限公司 A kind of auto gain control method and system
CN106559866B (en) * 2015-09-30 2020-08-21 北京展讯高科通信技术有限公司 Automatic gain control method and system
CN113358929A (en) * 2021-06-28 2021-09-07 深圳市武锋技术有限公司 Method for adjusting reference level, computer readable storage medium and spectrum receiver
CN113358929B (en) * 2021-06-28 2022-04-12 深圳市武锋技术有限公司 Method for adjusting reference level, computer readable storage medium and spectrum receiver

Also Published As

Publication number Publication date
CN104639266B (en) 2017-02-22

Similar Documents

Publication Publication Date Title
US8509090B2 (en) Apparatus and method for testing a wireless transceiver
US8872504B2 (en) Method for automatically setting frequency span in a spectrum analyzer
US20130148519A1 (en) System and method for testing wireless network device
US9893828B2 (en) Signal power/quality measurement from digital RF/IF interface
US20150036729A1 (en) Method for testing sensitivity of a data packet signal transceiver
US20130137380A1 (en) Method and system for testing a wireless network device
CN110536312A (en) A kind of management method of wave cover, device and equipment
CN104639266A (en) Quick and accurate automatic gain control method
JPH0769365B2 (en) Spectrum analyzer
KR20070086227A (en) Channel detecting device, and tuner testing device having the channel detecting device
CN106559055B (en) A kind of automatic gain control circuit and method for continuous wave and pulse-modulated signal compatible in Modulation domain analyzer
CN1247438A (en) Self-diagnosing method for detecting failure of transceiver inside radio receiving unit
CN109584901A (en) Emergent broadcast audio-frequency processing method and device
CN101610119A (en) Error detector, error detecting method and control program thereof
US20140022923A1 (en) Test system and a test method for determining processing parameters of audio and/or video data
CN111541427B (en) Power calibration method, early warning device and system
CN104969562A (en) Measurement apparatus and measurement method for determining an active channel
CN106664225B (en) System and method for capturing and enabling analysis of test data packets from a radio frequency data packet signal transceiver
CN219124222U (en) Internet of things terminal equipment testing device
Mason et al. Analysis of wireless signature feature sets for commercial IoT devices: invited presentation
CN219068196U (en) Intermodulation measurement device
CN110474695A (en) A kind of inspection and optimization method suitable for microwave radiometer interchannel energy mutual interference
CN105933916B (en) Detection ratio method and apparatus in co-frequency cell are obtained based on MR in LTE network
CN106412977B (en) The method and device of intermodulation testing
JP5928652B2 (en) Physical quantity measuring device, physical quantity measuring system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 518000 5C, 1, building No. 6, Ting Wei Road, 67 District, Xingdong community, Baoan District Xin'an, Shenzhen, Guangdong.

Patentee after: SHENZHEN JIZHI HUIYI TECHNOLOGY CO., LTD.

Address before: 518055, 2 buildings, 2 districts, 2 blocks, 2 blocks, 2 13 Liuxian Avenue, Nanshan District, Shenzhen City, Guangdong Province

Patentee before: SHENZHEN JIZHI HUIYI TECHNOLOGY CO., LTD.