CN102638883B - A kind of method and device realizing the control of AGC gain gear - Google Patents
A kind of method and device realizing the control of AGC gain gear Download PDFInfo
- Publication number
- CN102638883B CN102638883B CN201210136725.4A CN201210136725A CN102638883B CN 102638883 B CN102638883 B CN 102638883B CN 201210136725 A CN201210136725 A CN 201210136725A CN 102638883 B CN102638883 B CN 102638883B
- Authority
- CN
- China
- Prior art keywords
- gear
- signal
- agc gain
- input signal
- carrier frequency
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 24
- 238000001514 detection method Methods 0.000 claims description 14
- 238000000605 extraction Methods 0.000 claims description 4
- 238000012545 processing Methods 0.000 claims description 2
- 230000005540 biological transmission Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 229920006395 saturated elastomer Polymers 0.000 description 2
- 230000003321 amplification Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 238000011895 specific detection Methods 0.000 description 1
Landscapes
- Circuits Of Receivers In General (AREA)
Abstract
A kind of method and apparatus realizing AGC gain gear and control; Wherein, described method comprises: when mobile station MS enters special state from Idle state, arranges the AGC gain gear that obtains from main carrier frequency as the original speed position under special state; After described MS enters described special state, detect the signal to noise ratio of input signal; When the signal to noise ratio of described input signal is more than or equal to predetermined threshold value, the signal to noise ratio of this input signal is utilized to control AGC gain gear.Adopt the method and apparatus of the embodiment of the present invention, effectively can avoid first business module error code under special state, and the situation that can effectively avoid gear locked, ensure normally carrying out of business.
Description
Technical Field
The invention relates to the technical field of data transmission control, in particular to a method and a device for realizing AGC gain gear control.
Background
Due to different conditions of wireless channels, the level variation range of an input signal of a radio frequency receiver is large, and is often as small as below-110 db and as large as above-10 db; when the strength of the input signal is very different, in order to ensure that the linear amplification of the signal by the radio frequency receiver is not saturated and distorted, it is usually necessary to Control an AGC (automatic Gain Control) Gain of the radio frequency receiver according to the strength of the input signal, so that the output signal of the radio frequency receiver maintains a proper level.
Currently, in the prior art, 4 AGC gain steps are usually adopted, which correspond to 4 intervals of an input signal, respectively, and when the AGC gain steps are matched with the strength of the input signal, a radio frequency receiver can output a proper output signal, but when the AGC gain steps are not matched with the strength of the input signal, the output signal may be too small or saturated.
For this reason, the prior art generally uses the signal-to-noise ratio for controlling the AGC gain stage: after the current frame is demodulated, if the value of the signal-to-noise ratio is larger than or equal to a preset threshold value N, the frame is considered to be a normal frame, and an expected gear obtained from the current frame is used for receiving the next frame; if the value of the signal-to-noise ratio is smaller than the preset threshold value N, the frame is determined to be a discontinuous transmission frame, at the moment, the expected gear obtained from the current frame cannot be used for receiving the next frame, and the expected gear obtained from the latest normal frame is used for receiving the next frame; therefore, the saturation of the received signal can be avoided, and the data transmission performance and the voice communication can not be influenced.
However, the above-mentioned method for AGC gain step control using snr has excellent performance in a dedicated state when data transmission or voice service is in progress, but has obvious disadvantages when the MS enters the dedicated state from an idle state: in the method, the default gear is used as the initial gear of the special state, so when the actual signal intensity of the service channel is not matched with the default gear, the error code of the first service code block entering the special state is easily caused; meanwhile, when the signal strength of the main carrier frequency is strong and the signal strength of the sub-carrier frequency is weak, AGC gain gear control is performed according to the signal-to-noise ratio in the above manner, which may cause that the gain gear is not locked, resulting in that the service cannot be performed normally.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for implementing AGC gain shift control, which can effectively avoid an error code of a first service block in a dedicated state, and can effectively avoid a shift from being locked.
In order to solve the above problems, the technical solutions provided by the embodiments of the present invention are as follows:
in one aspect, the present embodiment provides a method for implementing AGC gain shift control, including:
when the MS enters a special state from an idle state, setting an AGC gain gear obtained from a main carrier frequency as an initial gear in the special state;
detecting the signal-to-noise ratio of an input signal after the MS enters the special state;
and when the signal-to-noise ratio of the input signal is greater than or equal to a preset threshold value, controlling an AGC gain gear by using the signal-to-noise ratio of the input signal.
In another aspect, the present embodiment provides an apparatus for implementing AGC gain shift control, including: the device comprises a setting unit, a detection unit and a control unit; wherein,
the setting unit is used for setting an AGC gain gear obtained from a main carrier frequency as an initial gear in a special state when the mobile station MS enters the special state from an idle state;
the detection unit is used for detecting the signal-to-noise ratio of an input signal and informing the control unit of a detection result after the MS enters the special state;
and the control unit is used for receiving the detection result notified by the detection unit and controlling an AGC gain gear by using the signal-to-noise ratio of the input signal when the signal-to-noise ratio of the input signal is greater than or equal to a preset threshold value.
It can be seen that, by using the method and apparatus of the embodiments of the present invention, the AGC gain stage obtained from the main carrier frequency is set as the initial stage in the dedicated state, and when the signal-to-noise ratio of the input signal is greater than or equal to the preset threshold, the signal-to-noise ratio of the input signal is used to control the AGC gain stage, so as to effectively avoid the error code of the first service block in the dedicated state, effectively avoid the situation of locking the stage, and ensure the normal operation of the service. +
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart illustrating a method for implementing AGC gain shift control according to an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating initial gear setting according to a first embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating AGC gain shift control according to a first embodiment of the present invention;
fig. 4 is a schematic structural diagram of an apparatus for implementing AGC gain shift control according to a second embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention; it is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
An embodiment of the present invention provides a method for implementing AGC gain shift control, as shown in fig. 1, the method includes:
step 110: when the MS enters a special state from an idle state, setting an AGC gain gear obtained from a main carrier frequency as an initial gear in the special state;
before the MS enters a special state from an idle state, a broadcast message on a main carrier frequency must be received, and the MS extracts an AGC gain gear of the main carrier frequency from the broadcast message; when the MS enters a special state from an idle state, an AGC gain gear of a main carrier frequency is already saved; in this embodiment, when the MS enters the dedicated state from the idle state, the extracted AGC gain stage of the main carrier frequency is set as the initial stage in the dedicated state, and the first service code block in the dedicated state is received. Because the signal strength of the main carrier frequency and the sub-carrier frequency are not greatly different under most conditions of the commercial network, the gear for receiving the main carrier frequency signal and the gear for receiving the sub-carrier frequency signal can be considered to be the same, so that the AGC gain gear obtained on the main carrier frequency is set in the embodiment without using the default gain gear as the initial gear of the special state, the probability of matching the gear and the signal strength can be improved, and the probability of correctly receiving the first service code block can be improved;
for example as shown in FIG. 2: when the MS is in an idle state, the default AGC gain step is 1 step, and it is known by RSSI (Received Signal Strength Indication), the sub-carrier frequency Signal Strength is-50 db, the expected step is 2 step, if the first frame Signal is Received on the sub-carrier frequency using the default step 1 step, because the actual Signal Strength is not matched with the default step, the error code of the first service code block after entering the dedicated state is caused, that is, the first frame Signal is distorted when Received; for this reason, in the embodiment, the 2-gear stage corresponding to the-50 db obtained from the main carrier frequency is set as the initial stage of the dedicated state, instead of using the default 1-gear stage, so that the situation that the stages are not matched when the first frame is received on the sub-carrier frequency can be avoided, and thus the error code of the first service block in the dedicated state can be effectively avoided.
Step 120: (ii) a Detecting the signal-to-noise ratio of an input signal after the MS enters the special state; and when the signal-to-noise ratio of the input signal is greater than or equal to a preset threshold value, controlling an AGC gain gear by using the signal-to-noise ratio of the input signal.
It should be noted that, in this embodiment, after the MS enters the dedicated state, the signal-to-noise ratio of the input signal may be detected by using a method in the prior art, and a specific detection process is not described herein again.
It is worth noting that, because the signal strength of the main carrier frequency and the sub-carrier frequency is not greatly different under most conditions, the AGC gain gear obtained from the main carrier frequency is set as the initial gear under the special state, and the situation that the gears are not matched when the first frame signal is received on the sub-carrier frequency can be avoided under most conditions, so that the error code of the first service block under the special state can be effectively avoided; however, when the signal strengths of the main carrier frequency and the sub-carrier frequency are completely different, setting the AGC gain gear obtained from the main carrier frequency as the initial gear in the dedicated state still cannot avoid the gear mismatch when receiving the first frame on the sub-carrier frequency, and if the AGC gain gear control mode in the prior art is still used at this time, that is, when the value of the input signal to noise ratio is smaller than the preset threshold N, receiving the next frame using the expected gear obtained from the latest normal frame will cause the signal to be distorted all the time, thereby causing the situation of gear lock and causing the service to be unable to be performed normally;
for this reason, in this embodiment, when the signal strengths of the main carrier frequency and the sub carrier frequency are completely different, after the MS enters the dedicated state from the idle state, the signal-to-noise ratio of the input signal is detected, and meanwhile, the AGC gain gear is shifted up or shifted down by using the existing method, instead of using the conventional signal-to-noise ratio to control the AGC gain gear, so as to avoid gear lock; when the signal-to-noise ratio of the input signal is greater than or equal to a preset threshold value, controlling an AGC gain gear by utilizing the signal-to-noise ratio of the input signal; specifically, when the value of the signal-to-noise ratio of the input signal is greater than or equal to a preset threshold value N, acquiring the signal intensity of the input signal, searching for an expected gear corresponding to the signal intensity of the input signal, and receiving a next frame signal by using the expected gear corresponding to the signal intensity of the input signal;
for example, as shown in fig. 3, when the MS enters the dedicated state, the signal strength of the main carrier frequency is-50 db, so that the AGC gain step 2 obtained from the main carrier frequency is set as the initial step in the dedicated state; as can be known from RSSI, the sub-carrier signal strength is-80 db, the desired gear is 1 gear, and if the first frame signal is received on the sub-carrier using the initial gear 2 gear, the actual signal strength is not matched with the initial gear 2 gear, which may cause the error code of the first service code block after entering the dedicated state, i.e., distortion when receiving the first frame signal; at the moment, the AGC gain gear is shifted down by using the existing mode, namely 2 gears of the current gear are shifted down to 1 gear to receive the next frame signal, and the AGC gain gear is not controlled by using a signal-to-noise ratio, so that the gear is prevented from being locked; and simultaneously, the signal-to-noise ratio of the input signal is detected, and when the signal-to-noise ratio of the input signal is detected to be greater than or equal to a preset threshold value N, the next frame signal of the input signal is received by using the expected gear of the input signal, so that the condition of gear locking can be effectively avoided, and the normal operation of the service is ensured.
It can be seen that, by using the methods of the above embodiments, the AGC gain stage obtained from the main carrier frequency is set as the initial stage in the dedicated state, and when the signal-to-noise ratio of the input signal is greater than or equal to the preset threshold, the signal-to-noise ratio of the input signal is used to control the AGC gain stage, so that the error code of the first service block in the dedicated state can be effectively avoided, the situation of gear locking can be effectively avoided, and the normal operation of the service is ensured.
Based on the above idea, a second embodiment of the present invention further provides an apparatus for implementing AGC gain shift control, as shown in fig. 4, the apparatus 200 includes: a setting unit 210, a detection unit 220, and a control unit 230; wherein,
the setting unit 210 is configured to set, as an initial gear in a dedicated state, an AGC gain gear obtained from a main carrier frequency when the MS enters the dedicated state from an idle state;
the detecting unit 220 is configured to detect a signal-to-noise ratio of an input signal after the MS enters the dedicated state, and notify the control unit 230 of a detection result;
the control unit 230 is configured to receive the detection result notified by the detection unit 220, and control an AGC gain stage by using the signal-to-noise ratio of the input signal when the signal-to-noise ratio of the input signal is greater than or equal to a preset threshold.
In addition, the setting unit 210 may further include (not shown in the figure): a receiving module for receiving the broadcast message on the main carrier frequency; an extraction module for extracting the AGC gain gear of the main carrier frequency from the broadcast message on the main carrier frequency received by the receiving module; and the processing module is used for setting the main carrier frequency AGC gain gear extracted by the extraction module as the initial gear of the MS in a special state.
In addition, the control unit 230 may further include (not shown in the figure): the device comprises an acquisition module, a search module and a matching module; wherein,
the acquisition module is used for acquiring the signal intensity of the input signal; the searching module is used for searching an expected gear corresponding to the signal intensity of the input signal acquired by the acquiring module; the matching module is used for receiving the next frame signal by utilizing the expected gear searched by the searching module.
It should be noted that the searching module may be further configured to search for an expected gear corresponding to the input signal by using a preset comparison table between the AGC gain gear and the signal strength of the input signal.
It is noted that the apparatus 200 may further comprise (not shown): and the adjusting unit is used for performing gear-up or gear-down of an AGC gain gear by using the existing mode after the MS enters a special state from an idle state when the signal strength of the main carrier frequency and the sub carrier frequency is different.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present embodiments.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present embodiments. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the embodiments. Thus, the present embodiments are not intended to be limited to the embodiments shown herein but are to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the present invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention shall be included in the scope of the present invention.
Claims (10)
1. A method for implementing AGC gain step control, comprising:
when the MS enters a special state from an idle state, setting an AGC gain gear obtained from a main carrier frequency as an initial gear in the special state;
detecting the signal-to-noise ratio of an input signal after the MS enters the special state;
and when the signal-to-noise ratio of the input signal is greater than or equal to a preset threshold value, controlling an AGC gain gear by using the signal-to-noise ratio of the input signal.
2. The method according to claim 1, wherein the setting of the AGC gain stage obtained from the main carrier frequency as the initial stage in the dedicated state specifically comprises:
receiving a broadcast message on a main carrier frequency;
extracting an AGC gain gear of the main carrier frequency from the broadcast message on the main carrier frequency;
and setting the extracted main carrier frequency AGC gain gear as an initial gear of the MS in a special state.
3. The method of claim 1, wherein the utilizing the signal-to-noise ratio of the input signal to control the AGC gain stage specifically comprises:
acquiring the signal strength of the input signal;
searching an expected gear corresponding to the signal intensity of the input signal;
and receiving the next frame signal by using the expected gear corresponding to the signal strength of the input signal.
4. The method of claim 3, wherein: and searching an expected gear corresponding to the input signal by using a preset comparison table of AGC gain gears and the signal intensity of the input signal.
5. The method of any one of claims 1 to 4, further comprising:
and when the signal intensity of the main carrier frequency and the sub-carrier frequency is different, after the MS enters a special state from an idle state, performing upshift or downshift of an AGC gain gear by using the conventional mode.
6. An apparatus for implementing AGC gain step control, comprising: the device comprises a setting unit, a detection unit and a control unit; wherein,
the setting unit is used for setting an AGC gain gear obtained from a main carrier frequency as an initial gear in a special state when the mobile station MS enters the special state from an idle state;
the detection unit is used for detecting the signal-to-noise ratio of an input signal and informing the control unit of a detection result after the MS enters the special state;
and the control unit is used for receiving the detection result notified by the detection unit and controlling an AGC gain gear by using the signal-to-noise ratio of the input signal when the signal-to-noise ratio of the input signal is greater than or equal to a preset threshold value.
7. The apparatus according to claim 6, wherein the setting unit comprises:
a receiving module for receiving the broadcast message on the main carrier frequency;
an extraction module for extracting the AGC gain gear of the main carrier frequency from the broadcast message on the main carrier frequency received by the receiving module; and the number of the first and second groups,
and the processing module is used for setting the main carrier frequency AGC gain gear extracted by the extraction module as the initial gear of the MS in a special state.
8. The apparatus of claim 6, wherein the control unit comprises: the device comprises an acquisition module, a search module and a matching module; wherein,
the acquisition module is used for acquiring the signal intensity of the input signal;
the searching module is used for searching an expected gear corresponding to the signal intensity of the input signal acquired by the acquiring module;
the matching module is used for receiving the next frame signal by utilizing the expected gear searched by the searching module.
9. The apparatus of claim 8, wherein:
the searching module can also be used for searching the expected gear corresponding to the input signal by using a preset comparison table of the AGC gain gear and the signal strength of the input signal.
10. The apparatus of any one of claims 6 to 9, further comprising: and the adjusting unit is used for performing gear-up or gear-down of an AGC gain gear by using the existing mode after the MS enters a special state from an idle state when the signal strength of the main carrier frequency and the sub carrier frequency is different.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210136725.4A CN102638883B (en) | 2012-05-04 | 2012-05-04 | A kind of method and device realizing the control of AGC gain gear |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210136725.4A CN102638883B (en) | 2012-05-04 | 2012-05-04 | A kind of method and device realizing the control of AGC gain gear |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102638883A CN102638883A (en) | 2012-08-15 |
CN102638883B true CN102638883B (en) | 2015-09-09 |
Family
ID=46623068
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210136725.4A Active CN102638883B (en) | 2012-05-04 | 2012-05-04 | A kind of method and device realizing the control of AGC gain gear |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102638883B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115884341A (en) * | 2021-09-28 | 2023-03-31 | 中兴通讯股份有限公司 | Gain gear control method and device for multi-user transmission power and electronic equipment |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6603825B1 (en) * | 1999-01-12 | 2003-08-05 | Motorola Inc. | Automatic gain control for a receiver and method therefor |
JP2001189692A (en) * | 1999-12-28 | 2001-07-10 | Matsushita Electric Ind Co Ltd | Receiver and gain control method |
JP2001244765A (en) * | 2000-02-28 | 2001-09-07 | Mitsubishi Electric Corp | Automatic gain control method and automatic gain control processor, and demodulator |
CN1787398B (en) * | 2005-12-16 | 2011-04-27 | 上海宣普实业有限公司 | Method and apparatus for public channel auto gain control |
-
2012
- 2012-05-04 CN CN201210136725.4A patent/CN102638883B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN102638883A (en) | 2012-08-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2681848B1 (en) | Signal quality measurement based on transmitter status | |
US10644738B2 (en) | Methods, circuits, systems and apparatus providing audio sensitivity enhancement in a wireless receiver, power management and other performances | |
CN1681265B (en) | Channel quality estimation method and channel quality estimation apparatus | |
US8121229B2 (en) | Guard section length detection method and system | |
US8903023B1 (en) | Adaptive bluetooth receiver and method | |
JPH11168446A (en) | Method for detecting synchronization in data transmitting device and device therefor | |
US9729377B2 (en) | Coarse symbol boundary detection in OFDM receivers | |
CN102027674A (en) | Technique for controlling a gain of a receiver | |
US20050175123A1 (en) | Method and apparatus for improved burst acquisition in a digital receiver | |
CN102404059A (en) | Automatic gain control system with dual-RSSI interference detection | |
US8259887B2 (en) | Systems and methods for detecting a specific timing from a synchronization channel | |
CN102638883B (en) | A kind of method and device realizing the control of AGC gain gear | |
CN102369769B (en) | Method and device for adjusting gain | |
CN101895370A (en) | Method for detecting interference of OFDM communication system | |
CN102264120B (en) | Terminal and method for searching cell frequency point | |
CN103369659A (en) | Method and device used for carrying out automatic gain control (AGC) to received signal | |
CN116233992A (en) | Digital automatic gain control method, digital automatic gain control device, electronic equipment and storage medium | |
WO2013044638A1 (en) | Method and device for setting initial agc gain | |
CN114337727B (en) | Optimization method, apparatus and computer readable storage medium for spread spectrum acquisition | |
AU2006269678B2 (en) | RF receiver, wireless communication terminal and method of operation | |
US20160149741A1 (en) | Antenna direction adjustment method and ofdm reception device | |
US10313981B2 (en) | Gain adjustment method for wireless communication | |
KR101057365B1 (en) | Preamble Detection Method for Burst Mode Packet Transmission System | |
CN114520988B (en) | Squelch control method, device, equipment and readable storage medium | |
JP5574531B2 (en) | transceiver |
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 | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210421 Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040 Patentee after: Honor Device Co.,Ltd. Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd. |