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

Quick and accurate automatic gain control method Download PDF

Info

Publication number
CN104639266B
CN104639266B CN201510065199.0A CN201510065199A CN104639266B CN 104639266 B CN104639266 B CN 104639266B CN 201510065199 A CN201510065199 A CN 201510065199A CN 104639266 B CN104639266 B CN 104639266B
Authority
CN
China
Prior art keywords
triggering
gear
trigger
datum
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.)
Active
Application number
CN201510065199.0A
Other languages
Chinese (zh)
Other versions
CN104639266A (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

Landscapes

  • Mobile Radio Communication Systems (AREA)

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 kind fast and accurately auto gain control method
Technical field
The present invention relates to a kind of auto gain control method, more particularly, to one kind fast and accurately automatic growth control side Method.
Background technology
Generally before the launch mass of measurement radiofrequency signal, need the datum adjusting receiver to suitable position, So launch mass could be measured than accurately, and the too high peak that all can affect the signal received by receiver of datum Value signal to noise ratio, described Y-PSNR is often abbreviated as PSNR, is one and represents signal maximum possible power and affect its table Show the engineering term of the ratio of destructive noise power of precision, because many signals have the dynamic range of non-constant width, peak value Signal to noise ratio is commonly used dB unit to represent;If datum is too low, signal can be made to be compressed and distortion.
Wireless test instrument need to possess adjust automatically datum as a kind of test product of a large amount of uses, its receiver Function, abbreviation AGC(automatic gain control), i.e. automatic growth control;And require this function as far as possible quick Accurately, to reach preferable testing efficiency and user experience.
The setting of the datum of automatic growth control, needs to be entered according to the signal power that receiver receives specified frequency Row adjustment, the way of current main flow has Hardware Implementation, the method substantially by the way of power detection meter, by longer The signal power of time period is judged, and then reaches the purpose of the datum of adjustment receiver.
The advantage of hardware detection mode is that speed is fast, but there are two shortcomings:First shortcoming is the work(that hardware detection arrives Rate is weak with the Relationship Comparison of required frequency, can only process the relation of power as shown in Figure 1 and time, the frequency concentrated with power Duan Wuguan, the power in frequency range that need as shown in Figure 2 judge may be inconsistent with the frequency range that actual power is concentrated, In the event of inconsistent situation as shown in Figure 3, then the performance number that hardware detection arrives is equal to actual power value, but and non-user The performance number in frequency range that need to detect, both performance numbers there may be the larger difference of ratio, thus leading to AGC inaccurate;The Two shortcomings are, if " transmission gap " as shown in Figure 1 than larger when, 10000 times of " signal transmitter section " in e.g. Fig. 1 More than, then the performance number that AGC judges then can become to be forbidden very much.
Content of the invention
The technical problem to be solved is to need to provide a kind of independence that can exclude power and frequency, realizes Fast and accurately auto gain control method is it is possible to be used for unlike signal is tested.
In this regard, the present invention provides one kind fast and accurately auto gain control method, comprise the following steps:
Step s1, reads the existing datum of receiver and triggering level;
Step s2, carries out signal triggering under Trigger pattern by existing triggering level and attempts, and to this triggering electricity Flat corresponding gear position indicia is to have attempted to, and then judges whether triggering is successful, if success, jumps to step s301, if not Successful then jump to step s5;
Step s301, records attempted gear triggering trial and success, jumps to step s302;
Step s302, record triggers the peak power corresponding to successful gear, jumps to step s4;
Step s4, is verified according to the peak power of step s302 gained, is proved to be successful, directly exited, authentication failed Step s2 is jumped to after then datum being finely adjusted;
Step s5, records this gear and attempts triggering, and trigger unsuccessfully;Operation Free Run pattern is no triggered grabs Take;If grabbing complete Frame envelope, jump to step s302;Otherwise record the performance number of no triggering crawl gained, And the gear that the next one did not carried out triggering trial is entered into according to the result no triggering crawl, jump to step s2 and carry out The signal triggering of Trigger pattern is attempted, until completing to verify backed off after random;
Wherein, the signal triggering of described Trigger pattern attempts what set Power coverage receiver can be tested Complete power bracket.
Described peak power is also referred to as frame power;Described Trigger pattern triggers pattern for signal, when triggering power is between ripple When between peak and trough, could trigger and grab the data specified, complete to trigger, this signal triggering pattern can be with super When the time, that is, exceed if the time-out time specified can't trigger, then exit Trigger and return failure, so, using this Trigger pattern, can solve the problems, such as that " transmission gap " is especially long by way of arranging Trigger time-out time;Described Free Run pattern is the pattern that no triggers, for capturing the signal that cannot trigger or bottom signal of making an uproar it is impossible to the signal bag of triggering Including continuous signal, because there is not the great variety of power, signal crawl cannot be carried out by Trigger pattern, but can To realize signal crawl by Free Run pattern, it is possible to grab inside " transmission gap " using this Free Run pattern Signal, so during automatic growth control, this Free Run pattern must just can be made after the failure of Trigger pattern With.
Further improvement of the present invention is, described Trigger pattern only analyzes the scope of sample rate in designated frequency band, obtains After going out the power in designated frequency band, datum is adjusted, described designated frequency band is that the centre frequency of receiver deducts and adopts Sample rate and centre frequency add the frequency range between sample rate.
For example:Described receiver centre frequency is 2412MHz, and sample rate is 160MHz, then the designated frequency range analyzed For 2412MHz- 160MHz/2 to 2412MHz+160MHz/2, that is, designated frequency band is 2332MHz ~ 2492MHz;Certainly Can also here specify in band limits it is intended that less frequency range, but the minimum of a value of designated frequency band cannot be less than resolution bandwidth The data of RBW.The present invention draws power and then adjustment datum in designated frequency band, continues other tests below, so The present invention can solve first shortcoming of hardware implementation mode, can exclude the independence of power and frequency.
Further improvement of the present invention is, the signal triggering of described Trigger pattern is attempted including plural shelves Position, the interval of described gear is less than the absolute value of the difference between bottom power and datum of making an uproar of receiver.Preferably, described shelves Position, in units of 25dB, is divided into altogether and for datum to be divided into+50 ~+25 dBm ,+25 ~ 0 dBm, 0 ~ -25 dBm And -25 ~ -50 dBm totally four gear intervals.The unit of described gear standard is relative value dB, and actual-gear interval is Absolute value dBm.
The division of described gear need to be determined according to the arranged scope of receiver datum and effective triggering level, Such as Trigger Level, difference between described Trigger power and datum are set, unit is expressed as dBmax, generally Using mono- gear of 25dB, it is as follows that gear divides example:The datum of such as receiver can arrange scope be+50dBm ~- 20dBm;And when datum is for minimum of a value -20dBm, what it can measure makes an uproar bottom power for -60dBm, for meeting to low-power Triggering process, then difference-the 40dBm making an uproar between bottom power and datum that triggering level can need to measure less than this moment, institute - 40dBmax is set to Trigger Level, and gear divides the absolute value being necessarily less than this value, preferably uses 25dB, mesh This value also all supported by front receiver in the industry;Then gear is then in units of 25dB, be divided into altogether+50 dBm ~+25dBm ,+ 25dBm ~ 0dBm and 0dBm ~ -20dBm3 scope;The present invention divides gear according to which and ensure that receiver extremely Few Burst signal that can be triggered to any gear in a gear.
The present invention, while solving the problems, such as hardware implementation mode, also solves the problems, such as software processing speed;The present invention By way of triggering is attempted by multiple gear short time, quickly adjust and verify the validity of power, and then realize quick and precisely Automatic growth control, possess good autgmentability, can be realized to all according to the signal type adjustment relevant parameter tested The versatility that radiofrequency signal type can be tested.
Further improvement of the present invention is, described step s2 judge triggering whether success, be when specified overtime Interior whether trigger and grab the data specified, if being then judged as triggering successfully, such as otherwise exiting Trigger pattern and returning Return unsuccessfully.Described time-out time is to carry out triggering set time when attempting, if the time exceeding this setting does not have properly yet Signal input, then be no longer waiting for, directly exit triggering attempt;The described data specified refers to meet the radio frequency of trigger condition Signal data, that is, triggering power is between the signal between the peak power of data and trough power.
Further improvement of the present invention is, described step s4 is to judge that the difference between datum and peak power is No within the specified range, if then completing and exiting, if otherwise according to existing peak power fine setting datum and triggering electricity Flat, then verified, until being verified backed off after random.Described specified range is the surplus between datum and peak power Measures of dispersion, user can be configured according to different signals, and such as ofdm signal is remaining between datum and peak power Measure as 10dB, be then then canonical reference level by the surplus that existing peak power adds 10dB, this canonical reference level with former Difference between the datum coming is less than ± 1dB, then within the specified range.
Further improvement of the present invention is, described step s5 includes following sub-step:
Step s501, record respective notch triggers unsuccessfully, runs Free Run pattern and is no triggered crawl;
Step s502, judges whether peak power, if existing, recording peak power, and jumping to step s4, if There is not then record mean power, and be to have attempted to the gear position indicia corresponding to current triggering level, according to active Rate directly switches the gear extremely next one and did not carried out triggering the signal triggering trial that the gear attempted carries out Trigger pattern;
Step s503, judges whether to have completed the signal triggering test to all gears, if being otherwise switched to the next one Do not carried out triggering the gear attempted, and jumped to s2;If then jumping to step s504;
Step s504, analyzes the performance number of the no triggering crawl gained of all gears, judges whether at least two grades Within the specified range, if existing, any value according to the less performance number of difference directly adds skew surplus to the power difference of position As new reference level value, and exit;If not existing, being judged as that power fluctuation is too big, returning adjust automatically failure.
When the present invention uses Trigger pattern, should be noted the setting of Trigger power, need to cover receiver can test Power bracket, and the signal triggering respectively each gear being carried out under Trigger pattern attempts, such as Trigger success, that is, touch Send out successfully, then analyze the power in its designated frequency band, according to gained peak power, datum is finely adjusted and verifies, until It is verified and exit automatic growth control;If Trigger is unsuccessful, that is, trigger unsuccessfully, then in the base with reference also to level On plinth, the no triggering carrying out under Free Run pattern captures, and records the performance number of gained under Free Run pattern, and according to No trigger under Free Run pattern crawl result enter into next specified gear carry out Trigger pattern signal triggering taste After examination, by that analogy, directly exits after completing automatic growth control, or the equal Trigger of all gears is unsuccessful, no Can fail when signal or continuous signal, be judged according to the result of Free Run several times, if there are twice or twice with On result all relatively, for example have twice or above twice result be less than ± 1dB, then directly using therein a certain Performance number, to adjust corresponding datum, is directly entered Qualify Phase, is proved to be successful, and directly exits automatic growth control.
Further improvement of the present invention is, in described step s502, according to existing power directly switch gear include with Under step by step:
Step s5021, setting peak power and skew surplus sum within the specified range are new datum;
Step s5022, judges whether new datum place gear is attempted triggering, if then jumping to step S5023, if terminate after otherwise returning new trigger parameter;
Step s5023, judges whether first gear is attempted triggering, if then jumping to step s5024, if otherwise returning Terminate after the trigger parameter of Hui Xin;
Step s5024, judges whether next gear is attempted triggering, if then jumping to step s5025, if otherwise returning Terminate after the trigger parameter of Hui Xin;
Step s5025, judges whether it is last gear, if then return terminating after all gears are attempted;If not Then return to step s5024.
The present invention can measure different power brackets using the initial value of different datums and triggering level, different Signal or different test scenes, corresponding power is also different, so we also provide the automatic increasing of the acquiescence of different scenes Beneficial control parameter, i.e. different datums and triggering level, to reach the effect of more convenient and quicker and then to provide preferably use Family is experienced.
Further improvement of the present invention is, described fine setting includes following sub-step:
Step s401, determines whether that triggering produces frame, if then setting peak power and skew within the specified range Surplus sum is new datum, and returning this datum is end after new trigger parameter;If otherwise jumping to step s402;
Step s402, judges whether datum reaches the maximum allowing setting, if then increasing triggering level and jumping Go to step s403, if otherwise jumping to step s404;
Step s403, judges whether triggering level is more than peak, if then setting triggering level is return after peak And terminate, if terminating after otherwise directly returning new trigger parameter;
Step s404, judges whether datum reaches the minimum of a value allowing setting, if then jumping to step s405, if Otherwise setting peak power and skew surplus sum within the specified range are new datum, and it is new for returning this datum Trigger parameter after terminate;
Step s405, reduces triggering level, then judges whether triggering level is less than minimum, if then setting triggering electricity Put down for after minimum but meeting receiving, if terminating after otherwise directly returning new trigger parameter.
The highest numerical value that described peak is arranged for gear;The minimum numerical value that described minimum is arranged for gear;Described fair Permitted setting maximum be receiver datum arrange scope maximum, for example the maximum of WT-200 series instrument be+ The maximum when modulated signal parses for 50dBm, the Agilent N9030 is+22dBm;The described minimum of a value allowing to arrange is then firm Good contrary, it is the minimum of a value that receiver datum 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 set It is set to the half of the minimum of each gear and the difference of current level;When measurement ofdm signal or signal type are unknown When, 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, the beneficial effects of the present invention is:The independence of exclusion power and frequency, more quick and It is accurately finished automatic growth control;By way of the time-out time of Trigger pattern custom-configures, solve " between transmission Gap " length uncertain problem, can be used for the test to multiple unlike signals;Cover receiver test power by multiple gears In the range of mode, can quickly and accurately switch between each gear, reach more quick automatic growth control effect, Can also easily be transplanted to and carry out on various platforms, highly versatile.
Brief description
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 to need the frequency range measuring and actual power to concentrate the inconsistent schematic diagram of frequency range in prior art;
Fig. 4 is the schematic diagram of normal sending signal in an embodiment of the present invention;
Fig. 5 is the schematic diagram continuously transmitting a certain signal in an embodiment of the present invention;
Fig. 6 is the power schematic diagram in measurement designated frequency band in an embodiment of the present invention;
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.
Specific embodiment
Below in conjunction with the accompanying drawings, the preferably embodiment of the present invention is described in further detail.
As shown in fig. 7, this example provides one kind fast and accurately auto gain control method, comprise the following steps:
Step s1, reads the existing datum of receiver and triggering level;
Step s2, carries out signal triggering under Trigger pattern by existing triggering level and attempts, and to this triggering electricity Flat corresponding gear position indicia is to have attempted to, and then judges whether triggering is successful, if success, jumps to step s301, if not Successful then jump to step s5;
Step s301, records attempted gear triggering trial and success, jumps to step s302;
Step s302, record triggers the peak power corresponding to successful gear, jumps to step s4;
Step s4, is verified according to the peak power of step s302 gained, is proved to be successful, directly exited, authentication failed Step s2 is jumped to after then datum being finely adjusted;
Step s5, records this gear and attempts triggering, and trigger unsuccessfully;Operation Free Run pattern is no triggered grabs Take;If grabbing complete Frame envelope, jump to step s302;Otherwise record the performance number of no triggering crawl gained, And the gear that the next one did not carried out triggering trial is entered into according to the result no triggering crawl, jump to step s2 and carry out The signal triggering of Trigger pattern is attempted, until completing to verify backed off after random;
Wherein, the signal triggering of described Trigger pattern attempts what set Power coverage receiver can be tested Complete power bracket.
Step s4 described in this example is to judge difference between datum and peak power whether within the specified range, if Then complete and exit, if otherwise according to existing peak power fine setting datum and triggering level, then being verified, until It is verified backed off after random.
Step s5 described in this example includes following sub-step:
Step s501, record respective notch triggers unsuccessfully, runs Free Run pattern and is no triggered crawl;
Step s502, judges whether peak power, if existing, recording peak power, and jumping to step s4, if There is not then record mean power, and be to have attempted to the gear position indicia corresponding to current triggering level, according to active Rate directly switches the gear extremely next one and did not carried out triggering the signal triggering trial that the gear attempted carries out Trigger pattern;
Step s503, judges whether to have completed the signal triggering test to all gears, if being otherwise switched to the next one Do not carried out triggering the gear attempted, and jumped to s2;If then jumping to step s504;
Step s504, analyzes the performance number of the no triggering crawl gained of all gears, judges whether at least two grades Within the specified range, if existing, any value according to the less performance number of difference directly adds skew surplus to the power difference of position As new reference level value, and exit;If not existing, being judged as that power fluctuation is too big, returning adjust automatically failure.Fig. 7 In, the deviant of step s504 is skew surplus.
As shown in figure 8, in step s502 described in this example, according to existing power directly switch gear include following step by step:
Step s5021, setting peak power and skew surplus sum within the specified range are new datum;
Step s5022, judges whether new datum place gear is attempted triggering, if then jumping to step S5023, if terminate after otherwise returning new trigger parameter;
Step s5023, judges whether first gear is attempted triggering, if then jumping to step s5024, if otherwise returning Terminate after the trigger parameter of Hui Xin;
Step s5024, judges whether next gear is attempted triggering, if then jumping to step s5025, if otherwise returning Terminate after the trigger parameter of Hui Xin;
Step s5025, judges whether it is last gear, if then return terminating after all gears are attempted;If not Then return to step s5024.
As shown in figure 9, the fine setting of step s4 described in this example includes following sub-step:
Step s401, determines whether that triggering produces frame, if then setting peak power and skew within the specified range Surplus sum is new datum, and returning this datum is end after new trigger parameter;If otherwise jumping to step s402;
Step s402, judges whether datum reaches the maximum allowing setting, if then increasing triggering level and jumping Go to step s403, if otherwise jumping to step s404;
Step s403, judges whether triggering level is more than peak, if then setting triggering level is return after peak And terminate, if terminating after otherwise directly returning new trigger parameter;
Step s404, judges whether datum reaches the minimum of a value allowing setting, if then jumping to step s405, if Otherwise setting peak power and skew surplus sum within the specified range are new datum, and it is new for returning this datum Trigger parameter after terminate;
Step s405, reduces triggering level, then judges whether triggering level is less than minimum, if then setting triggering electricity Put down for after minimum but meeting receiving, if terminating after otherwise directly returning new trigger parameter.
This example only analyzes the scope of sample rate in designated frequency band, as shown in fig. 6, only analyzing in the range of the f1 ~ f2 in Fig. 6, Under default situations on the basis of designated center, process the scope of receiver sample rate, for example, the centre frequency of receiver is 2412MHz, sample rate be 160MHz, then the frequency range analyzed for 2412MHz- 160MHz/2 to 2412MHz+ 160MHz/2 is equal to scope between 2332MHz ~ 2492MHz naturally it is also possible within this range it is intended that less frequency range, But minimum of a value cannot be less than resolution bandwidth RBW, draw the power in designated frequency band and then adjust datum, continue below Other tests;So this example can solve first shortcoming of hardware implementation mode, that is, solve power unrelated with designated frequency band The shortcoming of property.
While solving the problems, such as hardware implementation mode, this example also solves the problems, such as software processing speed;This example is main By way of triggering is attempted by multiple gear short time, quickly adjust and verify the validity of power, and then realize quick and precisely Automatic growth control;This example is also equipped with good autgmentability, can be realized according to the signal type adjustment relevant parameter tested The versatility that all radiofrequency signal types can be tested.
The division of described gear need to be according to the arranged scope of receiver datum and effective triggering level (difference between Trigger Level, Trigger power and datum, unit is expressed as dBmax), to determine, generally adopts Mono- gear of 25dB, it is as follows that gear divides example:The datum of such as receiver can arrange scope be+50dBm ~- 20dBm;And when datum is for minimum of a value -20dBm, what it can measure makes an uproar bottom power for -60dBm, for meeting to low-power Triggering process, then difference-the 40dB making an uproar between bottom power and datum that triggering level can need to measure less than this moment, so Trigger Level is set to -40dBmax, and gear divides the absolute value being necessarily less than this value, i.e. using 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 in units of 25dB ~ 0dBm and 0dBm ~ -20dBm totally three gear intervals.Gear divides with reference to which and then can guarantee that receiver at least exists One gear interior energy is triggered to the Burst signal of any gear, i.e. signal as shown in Figure 4.
In signal shown in Fig. 4, there is continuous Wave crest and wave trough, referred to as have frame, can be tasted using signal Trigger pattern Examination triggering, described Trigger pattern triggers pattern for signal, when between the crest shown in triggering power is between Fig. 4 and trough, Could trigger and grab the data specified, typically all carry time-out time, that is, exceeding the time-out time specified can't trigger If, then exit Trigger and return failure, using this Trigger pattern, can be by arranging Trigger time-out time Mode solves the problems, such as that " transmission gap " is especially long.
And signal as shown in Figure 5 is to make an uproar bottom signal, because there is not the great variety of power, signal cannot be passed through Trigger pattern is captured, but can attempt no signal triggering by Free Run pattern, and described Free Run pattern is no Triggering pattern, is possible to grab " transmission gap " as shown in Figure 1 using this Free Run pattern, so during AGC, This pattern must could be used after Trigger failure.
When this example uses signal Trigger pattern, should be noted the setting of Trigger power, need to cover receiver can survey The power bracket of examination.The triggering that respectively each gear is carried out with Trigger pattern is attempted, such as Trigger success, then analyze it and refer to Determine the power in frequency range, and according to gained peak power, datum is finely adjusted and verifies, described peak power is also referred to as frame Power, until being verified and exiting AGC;If Trigger is unsuccessful, on the basis of with reference also to level, carry out The no triggering crawl of Free Run pattern, and record the performance number of Free Run gained, and entered according to the result of Free Run The triggering carrying out Trigger pattern to next specified gear is attempted, and by that analogy, directly exits after completing AGC, or After all Trigger lost efficacy, can fail in no signal or continuous signal, be sentenced according to the result of Free Run several times Disconnected, if there are twice or above twice result all relatively, such as, have twice or result above twice be less than ± 1dB, then directly adjust corresponding datum using a certain performance number therein, be directly entered Qualify Phase, be proved to be successful Then directly exit AGC, the workflow diagram of this example is as shown in Figure 7.
In Fig. 7, the handoff procedure of described trim process and gear may change attempted gear, and attempts in next time Recorded during triggering under Trigger pattern, the workflow diagram of described fine setting is as shown in Figure 9.
In Fig. 9, the stepping of triggering level adjustment can travel through the principle of remainder using 2 steps, that is, adjust upward stepping It is set to the peak of Trigger Level and the half of currently used Trigger Level difference;Downward part is also adopted by Same mode is processed.Skew surplus during fine setting is relevant with tested data type, and the balance of frame in of described skew is High-power value and the difference of average power content, are measuring OFDM (Orthogonal Frequency Division Multiplexing, orthogonal frequency division multiplexi) signal or signal type unknown when, the balance of 10dB of this skew, test b T Or the known signal of other non-OFDM such as 802.11b then arranges the balance of 3dB of skew.
When no frame power, the workflow schematic diagram of the gear switch of step s502 is as shown in figure 8, using the method When, different power brackets, unlike signal or different test scenes, corresponding work(can be measured using different initial values Rate is also different, so we also provide the AGC parameter of the acquiescence of different scenes, to reach the effect of more convenient and quicker and then offer Preferably Consumer's Experience.For example, as it is known that certain signal is the ofdm signal of 30dBm ± 10dB, surveyed using WT-200 receiver Each parameter such as following table during examination, in Fig. 7, Fig. 8 and Fig. 9:
In upper table, except default reference level and skew surplus in addition to, remaining be all according to receiver parameters depending on, so When determining using WT-200 receiver, only need to be according to the substantially power of measured signal and signal type, described substantially power For in ± 10dB, then only need to once attempt, fine setting can complete whole AGC process.
Even if the signal pattern sending is totally unknown, as long as being test for signal power variations especially not greatly, all whole Flow process at most only need to travel through once the additional once fine setting of all gears and can complete;Thus realizing the purpose of express delivery AGC;In addition, The program adopts software mode to realize, and can be used for receiver in house software it is also possible to be used for the process to other radiofrequency signals, It is also equipped with versatility.
Above content is to further describe it is impossible to assert with reference to specific preferred embodiment is made for the present invention Being embodied as of the present invention is confined to these explanations.For general technical staff of the technical field of the invention, On the premise of present inventive concept, some simple deduction or replace can also be made, all should be considered as belonging to the present invention's Protection domain.

Claims (8)

1. one kind fast and accurately auto gain control method it is characterised in that comprising the following steps:
Step s1, reads the existing datum of receiver and triggering level;
Step s2, carries out signal triggering under Trigger pattern by existing triggering level and attempts, and to this triggering level institute Corresponding gear position indicia is to have attempted to, and then judges whether triggering is successful, if success, jumps to step s301, if unsuccessful Then jump to step s5;
Step s301, records attempted gear triggering trial and success, jumps to step s302;
Step s302, record triggers the peak power corresponding to successful gear, jumps to step s4;
Step s4, is verified according to the peak power of step s302 gained, is proved to be successful, directly exit, authentication failed is then right Datum and triggering level jump to step s2 after being finely adjusted;
Step s5, records this gear and attempts triggering, and trigger unsuccessfully;Run Free Run pattern and no triggered crawl;If Grab complete Frame envelope, then jump to step s302;Otherwise record the performance number of no triggering crawl gained, and according to The result no triggering crawl enters into the gear that the next one did not carried out triggering trial, jumps to step s2 and carries out Trigger mould The signal triggering of formula is attempted, until completing to verify backed off after random;
Wherein, what the signal triggering of described Trigger pattern attempted that set Power coverage receiver can test is complete Power bracket;
Described Trigger pattern only analyzes the scope of sample rate in designated frequency band, draws after the power in designated frequency band to reference Level is adjusted, described designated frequency band be receiver centre frequency deduct sample rate and centre frequency add sample rate it Between frequency range;
Fine setting in described step s4 includes following sub-step:
Step s401, determines whether that triggering produces frame, if then setting peak power and skew surplus within the specified range Sum is new datum, and returning this datum is end after new trigger parameter;If otherwise jumping to step s402;
Step s402, judges whether datum reaches the maximum allowing setting, if then increasing triggering level and jumping to Step s403, if otherwise jump to step s404;
Step s403, judges whether triggering level is more than peak, if then setting triggering level is for returning after peak and tying Bundle, if terminate after otherwise directly returning new trigger parameter;
Step s404, judges whether datum reaches the minimum of a value allowing setting, if then jumping to step s405, if otherwise Setting peak power and skew surplus sum within the specified range are new datum, and returning this datum is new touching Terminate after sending out parameter;
Step s405, reduces triggering level, then judges whether triggering level is less than minimum, if then setting triggering level is Terminate after minimum, if terminating after otherwise directly returning new trigger parameter.
2. auto gain control method according to claim 1 is it is characterised in that the signal of described Trigger pattern touches Send out and attempt including plural gear, the interval of described gear is less than the difference between bottom power and datum of making an uproar of receiver Absolute value.
3. auto gain control method according to claim 2, will it is characterised in that described gear is in units of 25dB Datum is divided into+50 ~+25 dBm ,+25 ~ 0 dBm, 0 ~ -25 dBm and -25 ~ -50 dBm totally four shelves Position is interval.
4. auto gain control method according to claim 1 it is characterised in that described step s2 whether judge triggering Whether success, be to trigger in specified time-out time and grab the data specified, if being then judged as triggering successfully, such as no Then exit Trigger pattern and return failure.
5. the auto gain control method according to Claims 1-4 any one is it is characterised in that described step s4 is Judge difference between datum and peak power whether within the specified range, if then completing and exiting, if otherwise basis Existing peak power fine setting datum and triggering level, are then verified, until being verified backed off after random.
6. auto gain control method according to claim 5 is it is characterised in that described step s5 includes following sub-step Suddenly:
Step s501, record respective notch triggers unsuccessfully, runs Free Run pattern and is no triggered crawl;
Step s502, judges whether peak power, if existing, recording peak power, and jumping to step s4, if not depositing Then recording mean power, and it is to have attempted to the gear position indicia corresponding to current triggering level, straight according to existing power Connect the switching gear extremely next one not carrying out triggering the signal triggering trial that the gear attempted carries out Trigger pattern;
Step s503, judges whether to have completed the signal triggering test to all gears, if be otherwise switched to the next one not entering The gear that triggering of going is attempted, and jump to s2;If then jumping to step s504;
Step s504, analyzes the performance number of the no triggering crawl gained of all gears, judges whether at least two gears Within the specified range, if existing, any value according to the less performance number of difference directly adds skew surplus conduct to power difference New reference level value, and exit;If not existing, being judged as that power fluctuation is too big, returning adjust automatically failure.
7. auto gain control method according to claim 6 is it is characterised in that in described step s502, according to existing Power directly switch gear include following step by step:
Step s5021, setting peak power and skew surplus sum within the specified range are new datum;
Step s5022, judges whether new datum place gear is attempted triggering, if then jumping to step s5023, if Terminate after otherwise returning new trigger parameter;
Step s5023, judges whether first gear is attempted triggering, if then jumping to step s5024, if otherwise returning new Trigger parameter after terminate;
Step s5024, judges whether next gear is attempted triggering, if then jumping to step s5025, if otherwise returning new Trigger parameter after terminate;
Step s5025, judges whether it is last gear, if then return terminating after all gears are attempted;If otherwise returning Return step s5024.
8. the auto gain control method according to Claims 1-4 any one is it is characterised in that described triggering level Adjustment be divided into rise synchronizing to enter and lowers synchronizing, described raise synchronizing enter to be set to the peak of each gear with currently The half of the difference of level, described downward synchronizing enters to be set to the one of the minimum of each gear and the difference of current level Half;When measuring ofdm signal or signal type is unknown, described skew surplus is set to 10dB;As test b T or During the signal of 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 CN104639266A (en) 2015-05-20
CN104639266B true 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)

Families Citing this family (2)

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

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3599001B2 (en) * 2001-06-25 2004-12-08 ソニー株式会社 Automatic gain control circuit and method, and demodulation device using them
CN101192862B (en) * 2006-11-30 2013-01-16 昂达博思公司 Method and device for automatic gain control in wireless communication system
CN101715088B (en) * 2009-11-10 2011-07-27 北京创毅视讯科技有限公司 Automatic gain control method and device for analog mobile TV
CN101742627B (en) * 2010-01-14 2012-08-29 京信通信***(中国)有限公司 Digital automatic gain control method of communication system and control system thereof
CN103379602B (en) * 2012-04-12 2016-04-20 联芯科技有限公司 Terminal auto gain control method under downlink multi-slot business and terminal
US8948611B1 (en) * 2012-05-31 2015-02-03 Maxim Integrated Products, Inc. I/R receiver with duty cycle synchronized power reduction

Also Published As

Publication number Publication date
CN104639266A (en) 2015-05-20

Similar Documents

Publication Publication Date Title
US8509090B2 (en) Apparatus and method for testing a wireless transceiver
CN101626585B (en) Network interference evaluation method, dynamic channel distribution method and equipment in wireless network
CN103906109B (en) A kind of mobile communication system interference investigation method and apparatus
US8872504B2 (en) Method for automatically setting frequency span in a spectrum analyzer
US9485040B2 (en) Method for testing sensitivity of a data packet signal transceiver
CN104168588B (en) A kind of LTE system interference check method and device
US20130148519A1 (en) System and method for testing wireless network device
JP6339227B2 (en) Cell interference investigation method and system, and network manager
CN103581957B (en) A kind of interference detection method, equipment and system
CN104639266B (en) Quick and accurate automatic gain control method
CN110536312A (en) A kind of management method of wave cover, device and equipment
CN109756240A (en) Wireless communication receiver and gain control method with gain control
US11368870B2 (en) Distributed antenna system with improved uplink leveling
CN107690148A (en) A kind of interference processing method and processing device of cell signal
KR20070086227A (en) Channel detecting device, and tuner testing device having the channel detecting device
CN103037239A (en) System and method for testing receiving performance of digital video receiving terminal
CN101540639B (en) Device and method for achieving anomaly detection
CN105222949B (en) The method and apparatus for testing vacuum
CN111541427B (en) Power calibration method, early warning device and system
CN105933916B (en) Detection ratio method and apparatus in co-frequency cell are obtained based on MR in LTE network
CN101296469B (en) GSM signal frequency point detection method and device thereof
CN102427587B (en) Method for detecting faults of receiving channel
CN219124222U (en) Internet of things terminal equipment testing device
CN109510674A (en) A kind of control system and method for examining fire-fighting wireless communication signals
CN110231815A (en) A kind of DAS system signal detection and the method for assessment

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

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.

CP02 Change in the address of a patent holder