CN114745772B - Digital automatic gain control method, apparatus, device and program product thereof - Google Patents
Digital automatic gain control method, apparatus, device and program product thereof Download PDFInfo
- Publication number
- CN114745772B CN114745772B CN202210664981.4A CN202210664981A CN114745772B CN 114745772 B CN114745772 B CN 114745772B CN 202210664981 A CN202210664981 A CN 202210664981A CN 114745772 B CN114745772 B CN 114745772B
- Authority
- CN
- China
- Prior art keywords
- signal
- initial
- power
- target
- automatic gain
- 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
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/04—TPC
- H04W52/52—TPC using AGC [Automatic Gain Control] circuits or amplifiers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L5/00—Arrangements affording multiple use of the transmission path
- H04L5/14—Two-way operation using the same type of signal, i.e. duplex
- H04L5/1469—Two-way operation using the same type of signal, i.e. duplex using time-sharing
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Control Of Amplification And Gain Control (AREA)
- Circuits Of Receivers In General (AREA)
Abstract
The invention provides a digital automatic gain control method, a device, equipment and a program product thereof, relating to the technical field of wireless communication; the method comprises the steps of firstly, determining whether an initial signal is synchronous transmission; under the condition that the initial signal is not synchronously transmitted, acquiring initial power corresponding to a plurality of sampling points of the initial signal; adjusting the initial signal based on the initial power and a preset judgment strategy to obtain a target signal of synchronous transmission; detecting a target pulse in a target signal; and when the target pulse is detected, performing automatic gain control processing on the target signal. After the initial signal synchronization, the invention counts the target power of the target signal based on the target pulse, judges and acts on the target signal to shorten the adjustment time delay and reduce the capacity of the data needing to be cached. And the large statistical power fluctuation in the blind automatic gain control process in the time division duplex mode is reduced, and the condition of misjudgment to subsequent judgment is easily caused, so that the accuracy of the subsequent judgment is improved.
Description
Technical Field
The present invention relates to the field of wireless communications technologies, and in particular, to a digital automatic gain control method, apparatus, device, and program product.
Background
Two network operation modes exist in a Long Term Evolution (LTE) system, one mode is a Frequency Division Duplex (FDD) mode, uplink and downlink data are carried on different frequencies for transmission, and the uplink and downlink can transmit data at the same time. In another Time Division Duplex (TDD) mode, uplink and downlink data are transmitted on the same frequency, but are transmitted in a staggered manner. A receiver in an LTE system receives data sent by users or base stations at different distances, the power of the received data is large or small, and the signal distortion is caused by the overlarge power of the data, so that the baseband demodulation and decoding are influenced; the digital power is too small, the dynamic range of the intermediate node processing of the baseband processing becomes small, and the baseband demodulation and decoding are also influenced. The digital automatic gain control is to ensure the digital power of the data entering the baseband demodulation and decoding to be within a proper range so as to obtain the best demodulation and decoding effect.
The prior art scheme is usually blind automatic gain control, that is, the received sample power of a sufficiently long window is randomly counted, and then decided and applied (amplified (gain) or reduced (attenuated) or maintained) to the received data of the next time interval.
In the blind automatic gain control process, at least one sub-frame data volume needs to be stored; in addition, in the time division duplex mode, the statistical power fluctuation is large in the blind automatic gain control process, and misjudgment is easily caused to subsequent judgment, so that the automatic gain effect is influenced.
Disclosure of Invention
The invention provides a digital automatic gain control method, a device, equipment and a program product thereof, which have the effects of small adjustment time delay and no need of caching large-capacity data, and can reduce the error of statistical power in the process of carrying out automatic gain control in a time division duplex mode, thereby improving the accuracy of subsequent judgment.
The invention provides a digital automatic gain control method, which comprises the following steps:
determining whether the initial signal is a synchronous transmission; the initial signal comprises an uplink signal and a downlink signal;
under the condition that the initial signal is not synchronously transmitted, acquiring initial power corresponding to a plurality of sampling points of the initial signal;
adjusting the initial signal based on the initial power and a preset decision strategy to obtain the target signal, wherein an uplink signal and a downlink signal in the target signal are synchronously transmitted;
detecting a target pulse in the target signal;
and under the condition that the target pulse is detected, performing automatic gain control processing on the target signal.
In the above technical solution, the obtaining of the initial power corresponding to the plurality of sampling points of the initial signal includes:
and acquiring a plurality of sampling points of the initial signal in the respective corresponding statistical periods of the first window and the second window to obtain the initial power.
In the above technical solution, the adjusting the initial signal based on the initial power and the preset decision policy to obtain the target signal includes:
based on the initial power, performing power adjustment on the initial signal according to the initial signal and the preset decision strategy to obtain an adjusted signal;
and performing time delay adjustment on the adjusted signal to obtain the target signal.
In the above technical solution, the preset decision policy at least includes: attenuating the power of a signal to be judged under the condition that a plurality of first sampling points which are greater than or equal to a first preset value exist in a plurality of sampling points on the signal to be judged; the first sampling point is a sampling point of which the power in the signal to be judged is greater than a preset high threshold corresponding to the first window;
the adjusting the power of the initial signal based on the initial power according to the initial signal and the preset decision strategy to obtain an adjusted signal includes:
based on the initial power and the preset high threshold, taking the initial signal as the signal to be judged, and determining the number of the first sampling points existing in a plurality of sampling points on the initial signal;
and under the condition that the number of the first sampling points existing in the plurality of sampling points on the initial signal is greater than or equal to a first preset value, attenuating the power of the initial signal to obtain an adjusted signal.
In the above technical solution, the preset decision policy at least further includes: amplifying the power of the signal to be judged under the condition that a plurality of second sampling points which are more than or equal to a second preset value exist in a plurality of sampling points on the signal to be judged; the second sampling point is a sampling point of which the power in the signal to be judged is smaller than a preset low threshold corresponding to the second window;
the adjusting the power of the initial signal based on the initial power according to the initial signal and the preset decision strategy to obtain an adjusted signal includes:
based on the initial power and the preset low threshold, taking the initial signal as the signal to be judged, and determining the number of the second sampling points existing in a plurality of sampling points on the initial signal;
and amplifying the power of the initial signal under the condition that the number of the second sampling points existing in the plurality of sampling points on the initial signal is greater than or equal to a second preset value.
In the above technical solution, the performing automatic gain control processing on the target signal includes:
counting the power of the target signal in a preset window to obtain the corresponding target power of each target pulse period in the target signal;
and taking the target signal as the signal to be judged, and performing automatic gain control processing on the target signal based on the target power and the preset judgment strategy.
The invention also provides a digital automatic gain control device aiming at the LTE field, which comprises:
the judging module is used for determining whether the initial signal is synchronous transmission; the initial signal comprises an uplink signal and a downlink signal;
the acquisition module is used for acquiring initial power corresponding to a plurality of sampling points of the initial signal under the condition that the initial signal is not synchronously transmitted;
the adjusting module is used for adjusting the initial signal based on the initial power and a preset decision strategy to obtain the target signal, and an uplink signal and a downlink signal in the target signal are synchronously transmitted;
the detection module is used for detecting a target pulse in the target signal;
and the automatic gain module is used for carrying out automatic gain control processing on the target signal under the condition that the target pulse is detected.
The invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the digital automatic gain control method according to the invention when executing the program.
The invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a digital automatic gain control method according to the invention.
The invention also provides a computer program product comprising a computer program which, when executed by a processor, implements a digital automatic gain control method according to the invention.
The invention provides a digital automatic gain control method, a device and a program product thereof, wherein the method determines whether an initial signal is synchronous transmission; the initial signal comprises an uplink signal and a downlink signal; under the condition that the initial signal is not synchronously transmitted, acquiring initial power corresponding to a plurality of sampling points of the initial signal; adjusting the initial signal based on the initial power and a preset decision strategy to obtain the target signal, wherein an uplink signal and a downlink signal in the target signal are synchronously transmitted; detecting a target pulse in the target signal; and under the condition that the target pulse is detected, performing automatic gain control processing on the target signal. After the initial signal synchronization, the invention counts the digital power (target power) in each target pulse period in the current target signal based on the synchronized timing information (target pulse), judges and acts on the target signal in the current target pulse period, thus shortening the adjustment time delay and reducing the capacity of the data needing to be cached in the process of automatic gain control. The situation that misjudgment is easily caused to follow-up judgment due to large statistical power fluctuation in the blind automatic gain control process in the time division duplex mode can be reduced, and therefore the accuracy of follow-up judgment is improved.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a digital automatic gain control method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of initial power statistics provided by an embodiment of the present invention;
FIG. 3 is a power diagram of a target pulse and a statistical target signal according to an embodiment of the present invention;
fig. 4 is a second flowchart of a digital automatic gain control method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a digital automatic gain control apparatus for the LTE field according to the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without inventive step based on the embodiments of the present invention, are within the scope of protection of the present invention.
Fig. 1 is a flowchart illustrating a digital automatic gain control method according to an embodiment of the present invention. Referring to fig. 1, the present invention provides a digital automatic gain control method, including:
s101, determining whether the initial signal is synchronous transmission; the initial signal includes an upstream signal and a downstream signal.
The method and the device are suitable for determining whether the received signal is a synchronous signal scene.
In the invention, whether the received initial signal is synchronous transmission is determined, wherein the initial signal comprises an uplink signal and a downlink signal.
In the invention, after a User Equipment (UE) is powered on, a connection is established by receiving a signal sent by a base station and sending the signal to the base station; the uplink signal refers to a signal sent by a user terminal and received by a base station; the downlink signal refers to a signal transmitted by the base station and received by the user terminal.
In the invention, whether the transmission of the initial signal is synchronous transmission can be determined through the gap in the transmission process of the uplink signal and the downlink signal in the initial signal; in the asynchronous transmission process, the gaps in the transmission process of the uplink signal and the downlink signal can be asynchronous. For example, after transmitting frame 1, the sender transmits frame 2 5 seconds apart, and the gap is 5 seconds. After receiving frame 1, the receiving side may start receiving frame 2 again at an interval of 10 seconds. The asynchronous transmission generally takes characters as units, and takes 1 character with 8 bits or longer characters as a bit group to be transmitted; the start bit of the bit group firstly sends out a logic '0' signal to indicate the start of transmitting the character; the idle bit is in a logic "1" state, indicating that no data is currently being transmitted on the line.
In the invention, in the synchronous transmission process, the gaps in the transmission process of the uplink signal and the downlink signal are required to be consistent. And in the synchronous transmission process, the transmission of the initial signal is realized by independently sending each character. Wherein each character has its own start and stop bits and at least one of the characters is transmitted together after being combined. The above combination is called a data frame, or simply a frame.
It can be understood that, in the embodiment of the present invention, it is determined how to perform subsequent processing on the initial signal by determining whether the initial signal is in synchronous transmission, so as to implement automatic gain control on the initial signal.
S102, under the condition that the initial signal is not transmitted synchronously, acquiring initial power corresponding to a plurality of sampling points of the initial signal.
The method and the device are suitable for the scene that the initial signal is determined not to be transmitted synchronously.
In the invention, after the initial signal is determined not to be synchronously transmitted through S101, the initial power corresponding to a plurality of sampling points of the initial signal is sampled, so that the initial power corresponding to the plurality of sampling points is obtained.
In the invention, the initial power represents the energy value carried by the initial signal at each sampling point and represents the energy absorbed or released in unit time, and the larger the power is, the more the energy released by the initial signal in unit time is.
In the invention, the initial power of a plurality of sampling points of the initial signal is sampled in the statistical period corresponding to the two windows. The two windows may be a first window and a second window; the first window is a high-threshold window, the initial power of a plurality of sampling points of the initial signal is sampled in a statistical period of the high-threshold window, and whether the single-point power corresponding to the part of the initial signal in the high-threshold window is higher than a single-point peak power high threshold or not is determined; and the second window is a low threshold window, and in the statistical period of the low threshold window, the single-point power corresponding to the part of the initial signal in the low threshold window is determined to be lower than the single-point peak power low threshold. The single-point power refers to the initial power corresponding to any one sampling point of the initial signal.
In the present invention, the high threshold window and the low threshold window are both in the prior art, and are not described herein again.
In the present invention, when the initial signal is the synchronous transmission, S104 is performed with the initial signal as the target signal.
It can be understood that whether the initial power corresponding to the initial signal is within the preset range is determined through the low threshold and the high threshold, so that the initial signal distortion caused by overlarge initial power in the following process is avoided, and the baseband demodulation and decoding are prevented from being influenced; or because the initial power is too small, the dynamic range of the intermediate node processing of the baseband processing is reduced, and the baseband demodulation and decoding are influenced. Therefore, the effects of demodulating and decoding signals obtained after subsequent automatic gain control are improved.
In some embodiments of the present invention, S102 may further include:
and acquiring a plurality of sampling points of the initial signal in the respective corresponding statistical periods of the first window and the second window to obtain the initial power.
In some embodiments of the present invention, fig. 2 is a schematic diagram of initial power statistics provided by an embodiment of the present invention, as shown in fig. 2, a window 1 is a first window, a window 2 is a second window, and a statistical period of the window 1 is from a subframe n-1 to a subframe n, that is, a length of two subframes; the statistical period of the window 2 is from subframe n-1 to subframe n +1, namely the length of three subframes; the statistical period of window 1 is less than the statistical period of window 2. Each line pointing upwards represents the initial power corresponding to each sampling point in the initial signal.
It can be understood that, through the low threshold and the high threshold, it is determined whether the initial power corresponding to the initial signal is within the preset range, so as to make corresponding adjustment on the initial signal in time, and ensure the effects of demodulation and decoding of the signal obtained after the subsequent automatic gain control.
S103, adjusting the initial signal based on the initial power and a preset decision strategy to obtain a target signal, and synchronously transmitting an uplink signal and a downlink signal in the target signal.
The method and the device are suitable for adjusting the initial signal based on the initial power, so that the initial signal meets the scene of the preset requirement.
In the invention, after the initial power corresponding to a plurality of sampling points of the initial signal is acquired, the initial signal is adjusted according to the initial power and a preset judgment strategy to obtain a target signal synchronously transmitted by the uplink signal and the downlink signal.
In the invention, whether the initial power is in a preset range is determined according to the initial power and a preset judgment strategy. Attenuating the initial power under the condition that the initial power is too large (larger than a preset range); amplifying the initial power under the condition that the initial power is too small (smaller than a preset range); and maintaining the initial power unchanged under the condition that the initial power is in a preset range.
In the present invention, for example, the statistical period of the high threshold window (first window) is W1, and the statistical period of the low threshold window (second window) is W2. Accumulating the point number of which the corresponding initial power (single-point power) in at least one acquisition point of the initial signal is higher than the single-point peak power high threshold, judging whether the initial signal is over-high threshold accumulated point number N1 according to the accumulated point number, if so, considering the power of the initial signal to be over-high, and then attenuating the received signal; that is, if the energy value of more than or equal to N1 sampling points in W1 is over the high threshold, xdB is attenuated.
Accumulating the point number of which the corresponding initial power (single-point power) in at least one acquisition point of the initial signal is lower than the single-point peak power low threshold, judging whether the initial signal is too low for accumulating the point number N2 according to the accumulated point number, if so, considering that the power of the initial signal is too low, and then amplifying the power of the received signal; that is, if the energy value of more than or equal to N2 sampling points in W2 is lower than the low threshold, xdB is amplified. If neither of the preceding are met, then the power of the existing input data is maintained.
In the present invention, the statistical period of the second window should be much longer than that of the first window.
In the invention, after the power of the initial signal is adjusted, the time delay of the uplink signal and the downlink signal in the initial signal can be adjusted, so that the start bit and the stop bit of the uplink signal and the downlink signal are aligned with the reference time scale, and synchronous transmission is realized.
It can be understood that after the initial power of the initial signal is adjusted to the preset range, the uplink signal and the downlink signal in the initial signal are synchronously transmitted by adjusting the time delay of the initial signal, so as to obtain the target signal, which is more convenient for performing automatic gain control on the target signal subsequently, and ensures the effects of demodulating and decoding the signal obtained after performing automatic gain control on the target signal subsequently.
In some embodiments of the present invention, S103 may further include S1031-S1032, where S1031-S1032 are as follows:
and S1031, based on the initial power, performing power adjustment on the initial signal according to the initial signal and a preset judgment strategy to obtain an adjusted signal.
In some embodiments of the present invention, the power adjustment refers to attenuating or amplifying an initial power corresponding to the initial signal; in certain scenarios, power adjustment may refer to maintaining the initial power corresponding to the initial signal unchanged.
In some embodiments of the present invention, the preset decision policy at least includes: attenuating the power of the signal to be judged under the condition that a plurality of first sampling points which are greater than or equal to a first preset value exist in a plurality of sampling points on the signal to be judged; the first sampling point is a sampling point of which the power in the signal to be judged is greater than a preset high threshold corresponding to the first window.
In some embodiments of the present invention, S1031 may further include S201a-S202a, S201a-S202a as follows:
s201a, based on the initial power and a preset high threshold, taking the initial signal as a signal to be judged, and determining the number of first sampling points existing in a plurality of sampling points on the initial signal.
In some embodiments of the present invention, for example, as shown in fig. 2, in the statistical period of the window 1, the initial power corresponding to two sampling points in the plurality of sampling points of the initial signal is greater than the high threshold, that is, there are two first sampling points in the signal to be determined.
S202a, attenuating the power of the initial signal to obtain an adjusted signal under the condition that the number of first sampling points existing in the plurality of sampling points on the initial signal is greater than or equal to a first preset value.
In some embodiments of the present invention, for example, in a case where the first preset value is 1, as shown in fig. 2, since two first sampling points exist in the signal to be determined, and the number of the first sampling points is greater than the first preset value, it is determined that the power of the initial signal is too large, and the power of the initial signal is attenuated.
In some embodiments of the present invention, the preset decision policy further includes at least: amplifying the power of the signal to be judged under the condition that a plurality of second sampling points which are greater than or equal to a second preset value exist in a plurality of sampling points on the signal to be judged; and the second sampling point is a sampling point of which the power in the signal to be judged is smaller than a preset low threshold corresponding to the second window.
In some embodiments of the present invention, S1031 may further include S201b-S202b, S201b-S202b as follows:
s201b, based on the initial power and the preset low threshold, taking the initial signal as a signal to be judged, and determining the number of second sampling points existing in a plurality of sampling points on the initial signal.
In some embodiments of the present invention, for example, as shown in fig. 2, in the statistical period of the window 2, the initial power corresponding to four sampling points in the plurality of sampling points of the initial signal is smaller than the low threshold, that is, there are four second sampling points in the signal to be determined.
S202b, amplifying the power of the initial signal under the condition that the number of second sampling points existing in the plurality of sampling points on the initial signal is larger than or equal to a second preset value.
In some embodiments of the present invention, for example, in a case that the second preset value is 3, as shown in fig. 2, since there are four second sampling points in the signal to be determined, and the number of the second sampling points is greater than the second preset value, it is determined that the power of the initial signal is too small, and the power of the initial signal is amplified.
In some embodiments of the present invention, the second preset value should be much larger than the first preset value.
And S1032, performing time delay adjustment on the adjusted signal to obtain a target signal.
In some embodiments of the present invention, after the power adjustment of the initial signal is completed, an adjusted signal is obtained, the power corresponding to the adjusted signal is within a preset range, and at this time, the adjusted signal is subjected to a time delay adjustment, so that an uplink signal and a downlink signal in the adjusted signal are synchronously transmitted, and a target signal is obtained.
In some embodiments of the present invention, since in practical applications, there is a short delay between the uplink signal and the downlink signal in the initial signal during transmission, it is necessary to perform delay adjustment on the adjusted signal.
It can be understood that the initial power corresponding to the initial signal is attenuated, amplified or maintained unchanged, so that the initial power corresponding to the initial signal is within a preset range, and thus the power of the target signal obtained subsequently is also within the preset range, and then the uplink signal and the downlink signal are subjected to time delay adjustment, so that the uplink signal and the downlink signal are synchronously transmitted, and the effects of demodulating and decoding the signal obtained after the target signal is subjected to automatic gain control can be ensured.
And S104, detecting a target pulse in the target signal.
The method and the device are suitable for determining the scene of the initial position of the part needing automatic gain control processing in the target signal of synchronous transmission.
In the invention, after a target signal is obtained, a target pulse in the target signal is detected to determine an initial position for counting the target power in each target pulse period in the target signal.
In the present invention, the target pulse includes a subframe pulse, a symbol pulse, and a slot pulse, and in practical applications, S105 may be performed after at least one of the subframe pulse, the symbol pulse, and the slot pulse is detected.
In practical application, the timing position of an air interface subframe can be obtained from a timer, and a statistical starting position which takes the period length corresponding to a target pulse as a unit can be obtained according to the timing position; in the automatic gain control process, the target power in each target pulse period in the target signal is counted from the above-mentioned counting start position.
It can be understood that, by detecting the target pulse in the target signal, the starting position for counting the target power in each target pulse period in the target signal is determined, so as to subsequently determine whether the target power corresponding to the target signal is within the preset range, so as to perform the automatic gain control processing, and thus it is not necessary to extract the pilot frequency in a specific symbol of the target signal, and simultaneously buffer all the data in the period corresponding to the target pulse corresponding to the pilot frequency, so as to shorten the adjustment delay and reduce the capacity of the data that needs to be buffered.
And S105, performing automatic gain control processing on the target signal when the target pulse is detected.
The method and the device are suitable for a scene of performing automatic gain control processing on the target signal after determining the starting position of the statistic of the target power corresponding to the target signal.
In the invention, after a target pulse is detected, the statistics of the target power in each target pulse period in a target signal in a preset window is triggered; wherein the preset window may be within a Cyclic Prefix (CP) length; illustratively, the length of the preset window is less than 160, and in practical applications, the length of the preset window may be configurable, such as 64 or 128, but the present embodiment is not limited thereto.
In the invention, the length of the preset window is far smaller than that of the first window or the second window.
In the invention, after the target pulse is detected, whether the target power corresponding to the target signal needs to be attenuated or amplified is judged by counting the target power in each target pulse period in the target signal in a preset window, and the target signal is attenuated or amplified according to the judgment result, thus completing the automatic gain control processing.
In the invention, because each subframe comprises a plurality of symbols, when the detection symbol pulse is used as a condition for triggering the automatic gain control processing of the target signal, the accuracy of the target power corresponding to each subframe in the target signal obtained by statistics can be improved.
In the present invention, for example, fig. 3 is a power diagram based on a target pulse and a statistical target signal according to an embodiment of the present invention, as shown in fig. 3, when a symbol pulse corresponding to symbol 0 (CP 0) is detected in subframe n when the target pulse is a symbol pulse, the target power in the symbol pulse period corresponding to symbol 0 is counted, and decides the target power within the pulse period of symbol 0, determines whether the target power within the pulse period of symbol 0 needs to be attenuated or amplified, and acts on the target signal (attenuates the target power or amplifies the target power) within the pulse period of symbol 0, and thereafter detects the symbol pulse corresponding to symbol 1 (CP 1), and counting, judging and acting the target power in the symbol pulse period corresponding to the symbol 1 until stopping the automatic gain control of the target signal.
It can be understood that, by detecting the target pulse in the target signal, the starting position for counting the target power in each target pulse period in the target signal is determined, so as to subsequently determine whether the target power corresponding to the target signal is within the preset range, so as to perform the automatic gain control processing, and thus, it is not necessary to extract the pilot frequency in a specific symbol of the target signal, and simultaneously buffer all data of the sub-frame corresponding to the pilot frequency, so as to shorten the adjustment delay and reduce the capacity of the data that needs to be buffered.
In some embodiments of the invention, S105 may further include S1051-S1052, with S1051-S1052 as follows:
s1051, counting the power of the target signal in a preset window to obtain the target power in each target pulse period in the target signal.
In some embodiments of the present invention, the target signal includes a plurality of frames, each frame includes a plurality of subframes, each subframe includes at least one timeslot, each timeslot includes a plurality of symbols, and in practical applications, the target power corresponding to each frame in the target signal can be obtained by performing statistics on the power in each target pulse period.
And S1052, taking the target signal as a signal to be judged, and performing automatic gain control processing on the target signal based on the target power and a preset judgment strategy.
In some embodiments of the present invention, as in S1031, a target signal is taken as a signal to be determined, and the power of the signal to be determined is attenuated when the number of first sampling points existing in a plurality of sampling points on the signal to be determined is greater than or equal to a first preset value; and amplifying the power of the signal to be judged under the condition that the number of second sampling points existing in the plurality of sampling points on the signal to be judged is greater than or equal to a second preset value.
It can be understood that, by counting the target power in each target pulse period in the target signal, and taking the target power as a basis for judging the target signal, whether the target power corresponding to the target signal is within a preset range is judged, and automatic gain control processing is performed, and thus, it is not necessary to extract a pilot frequency from a specific symbol of the target signal, and simultaneously, all data of a subframe corresponding to the pilot frequency is buffered, so as to shorten the adjustment delay and reduce the capacity of the data to be buffered.
Fig. 4 is a second schematic flow chart of a digital automatic gain control method according to an embodiment of the present invention, as shown in fig. 4, in some embodiments of the present invention, the digital automatic gain control method according to the present invention includes:
the power is first turned on to turn on the power supply, so that the system is stabilized to work and enters into an Automatic Gain Control (AGC) mode. Whether Information sent by a Master Information Block (MIB) is synchronous or not is judged, wherein the MIB is system Information broadcasted by a base station, the amount of Information is small, the Information can be repeatedly sent, the Information sent by the MIB is transmitted through signals, and the Information sent by the MIB can be understood as an initial signal in S101. If the information sent by the MIB is synchronous, entering a triggered open-loop AGC mode from a blind peak AGC mode; and if the information transmitted by the MIB is not synchronous, processing the information transmitted by the MIB in a blind peak AGC mode. Wherein, the information transmitted by the synchronized MIB can be understood as the target signal in S103, and the information transmitted by the unsynchronized MIB can be understood as the initial power corresponding to the sampling point of the initial signal in S101.
The blind peak AGC mode includes the following processes:
s301, peak value detection; and acquiring the energy value corresponding to the sampling point of the information sent by the unsynchronized MIB through peak value detection.
S302, judging whether an energy value corresponding to a sampling point of information sent by the unsynchronized MIB exceeds a threshold, if so, performing S303, and if not, performing S301.
S303, the information transmitted by the unsynchronized MIB is acted upon (attenuated, amplified or maintained), and the information transmitted by the MIB is synchronized.
The triggered open loop AGC mode includes the following processes:
s401, waiting for idling;
s402, detecting a target pulse;
and S403, triggering the statistical power when the target pulse is detected, and counting the energy value corresponding to the sampling point of the synchronized information sent by the MIB in the statistical window.
S404, judging whether the statistical window is finished or not; if yes, S405 is performed, and if no, S403 is performed.
S405, judging and acting (amplifying, attenuating or maintaining) the information sent by the synchronized MIB according to the energy value corresponding to the sampling point of the information sent by the synchronized MIB obtained through statistics; after the decision and action are completed, S401-S405 are repeated.
The energy value corresponding to the sampling point of the synchronized MIB transmitted information may be understood as the target power in each target pulse period in the target signal in S1051.
The digital automatic gain control device for the LTE field provided by the present invention is described below, and the digital automatic gain control device for the LTE field described below and the digital automatic gain control method described above may be referred to correspondingly.
Fig. 5 is a schematic structural diagram of a digital automatic gain control device in the LTE field according to the present invention, and as shown in fig. 5, the present invention further provides a digital automatic gain control device 7 in the LTE field, where the device includes:
a judging module 71, configured to determine whether the initial signal is a synchronous transmission; the initial signal comprises an uplink signal and a downlink signal;
an acquisition module 72, configured to acquire initial power corresponding to multiple sampling points of the initial signal when the initial signal is not transmitted synchronously;
an adjusting module 73, configured to adjust the initial signal based on the initial power and a preset decision policy to obtain the target signal, where an uplink signal and a downlink signal in the target signal are transmitted synchronously;
a detection module 74 for detecting a target pulse in the target signal;
an automatic gain module 75, configured to perform automatic gain control processing on the target signal when the target pulse is detected.
In some embodiments of the present invention, the acquiring module 72 is further configured to acquire a plurality of sampling points of the initial signal in a statistical period corresponding to each of the first window and the second window, so as to obtain the initial power.
In some embodiments of the present invention, the adjusting module 73 is further configured to perform power adjustment on the initial signal according to the initial signal and the preset decision policy based on the initial power, so as to obtain an adjusted signal;
the adjusting module 73 is further configured to perform delay adjustment on the adjusted signal to obtain the target signal.
In some embodiments of the present invention, the determining module 71 is further configured to determine, based on the initial power and the preset high threshold, the number of first sampling points existing in a plurality of sampling points on the initial signal, by using the initial signal as the signal to be determined;
the adjusting module 73 is further configured to attenuate the power of the initial signal to obtain an adjusted signal when the number of the first sampling points existing in the plurality of sampling points on the initial signal is greater than or equal to a first preset value; wherein the preset decision strategy at least comprises: attenuating the power of a signal to be judged under the condition that a plurality of first sampling points which are greater than or equal to a first preset value exist in a plurality of sampling points on the signal to be judged; and the first sampling point is a sampling point of which the power in the signal to be judged is greater than a preset high threshold corresponding to the first window.
In some embodiments of the present invention, the determining module 71 is further configured to determine, based on the initial power and the preset low threshold, the number of second sampling points existing in a plurality of sampling points on the initial signal by using the initial signal as the signal to be determined;
the adjusting module 73 is further configured to amplify the power of the initial signal when the number of the second sampling points existing in the plurality of sampling points on the initial signal is greater than or equal to a second preset value; wherein the preset decision strategy at least further comprises: amplifying the power of the signal to be judged under the condition that a plurality of second sampling points which are greater than or equal to a second preset value exist in a plurality of sampling points on the signal to be judged; and the second sampling point is a sampling point of which the power in the signal to be judged is smaller than a preset low threshold corresponding to the second window.
In some embodiments of the present invention, the acquiring module 72 is further configured to count the power of the target signal in a preset window, so as to obtain a target power in each target pulse period in the target signal;
the automatic gain module 75 is further configured to use the target signal as the signal to be determined, and perform the automatic gain control processing on the target signal based on the target power and the preset determination policy.
Fig. 6 illustrates a schematic physical structure diagram of an electronic device, and as shown in fig. 6, the electronic device provided in the present invention may include: a processor (processor)810, a communication Interface 820, a memory 830 and a communication bus 840, wherein the processor 810, the communication Interface 820 and the memory 830 communicate with each other via the communication bus 840. The processor 810 may invoke logic instructions in the memory 830 to perform the digital automatic gain control methods provided by the methods described above.
In addition, the logic instructions in the memory 830 can be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention or a part thereof which substantially contributes to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, and various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product, which includes a computer program, which can be stored on a non-transitory computer-readable storage medium, and when the computer program is executed by a processor, the computer can execute the digital automatic gain control method provided by the above methods.
In yet another aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored, the computer program being implemented by a processor to perform the digital automatic gain control method provided by the above methods.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, and not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (9)
1. A digital automatic gain control method, comprising:
determining whether the initial signal is a synchronous transmission; the initial signal comprises an uplink signal and a downlink signal;
under the condition that the initial signal is not synchronously transmitted, acquiring initial power corresponding to a plurality of sampling points of the initial signal;
adjusting the initial signal based on the initial power and a preset decision strategy to obtain a target signal, wherein an uplink signal and a downlink signal in the target signal are synchronously transmitted;
detecting a target pulse in the target signal;
and under the condition that the target pulse is detected, performing automatic gain control processing on the target signal.
2. The method according to claim 1, wherein said obtaining initial power corresponding to a plurality of sampling points of the initial signal comprises:
and acquiring a plurality of sampling points of the initial signal in the respective corresponding statistical periods of the first window and the second window to obtain the initial power.
3. The method according to claim 2, wherein the adjusting the initial signal based on the initial power and a predetermined decision strategy to obtain a target signal comprises:
based on the initial power, performing power adjustment on the initial signal according to the initial signal and the preset decision strategy to obtain an adjusted signal;
and performing time delay adjustment on the adjusted signal to obtain the target signal.
4. The digital automatic gain control method of claim 3, wherein the predetermined decision strategy at least comprises: attenuating the power of a signal to be judged under the condition that a plurality of first sampling points which are greater than or equal to a first preset value exist in a plurality of sampling points on the signal to be judged; the first sampling point is a sampling point of which the power in the signal to be judged is greater than a preset high threshold corresponding to the first window;
the adjusting the power of the initial signal based on the initial power according to the initial signal and the preset decision strategy to obtain an adjusted signal includes:
based on the initial power and the preset high threshold, taking the initial signal as the signal to be judged, and determining the number of the first sampling points existing in a plurality of sampling points on the initial signal;
and under the condition that the number of the first sampling points existing in the plurality of sampling points on the initial signal is greater than or equal to a first preset value, attenuating the power of the initial signal to obtain an adjusted signal.
5. The digital automatic gain control method of claim 3, wherein the predetermined decision strategy further comprises at least: amplifying the power of the signal to be judged under the condition that a plurality of second sampling points which are greater than or equal to a second preset value exist in a plurality of sampling points on the signal to be judged; the second sampling point is a sampling point of which the power in the signal to be judged is smaller than a preset low threshold corresponding to the second window;
the adjusting the power of the initial signal based on the initial power according to the initial signal and the preset decision strategy to obtain an adjusted signal includes:
based on the initial power and the preset low threshold, taking the initial signal as the signal to be judged, and determining the number of the second sampling points existing in the plurality of sampling points on the initial signal;
and amplifying the power of the initial signal under the condition that the number of the second sampling points existing in the plurality of sampling points on the initial signal is greater than or equal to a second preset value.
6. The digital automatic gain control method according to claim 4 or 5, wherein the performing automatic gain control processing on the target signal comprises:
counting the power of the target signal in a preset window to obtain the target power of each target pulse period in the target signal;
and taking the target signal as the signal to be judged, and performing automatic gain control processing on the target signal based on the target power and the preset judgment strategy.
7. An apparatus for digital automatic gain control in the LTE domain, the apparatus comprising:
the judging module is used for determining whether the initial signal is synchronous transmission; the initial signal comprises an uplink signal and a downlink signal;
the acquisition module is used for acquiring initial power corresponding to a plurality of sampling points of the initial signal under the condition that the initial signal is not synchronously transmitted;
the adjusting module is used for adjusting the initial signal based on the initial power and a preset decision strategy to obtain a target signal, and an uplink signal and a downlink signal in the target signal are synchronously transmitted;
the detection module is used for detecting a target pulse in the target signal;
and the automatic gain module is used for carrying out automatic gain control processing on the target signal under the condition that the target pulse is detected.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the digital automatic gain control method according to any of claims 1 to 6 when executing the program.
9. A non-transitory computer readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the digital automatic gain control method according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210664981.4A CN114745772B (en) | 2022-06-14 | 2022-06-14 | Digital automatic gain control method, apparatus, device and program product thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210664981.4A CN114745772B (en) | 2022-06-14 | 2022-06-14 | Digital automatic gain control method, apparatus, device and program product thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114745772A CN114745772A (en) | 2022-07-12 |
CN114745772B true CN114745772B (en) | 2022-08-23 |
Family
ID=82287948
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210664981.4A Active CN114745772B (en) | 2022-06-14 | 2022-06-14 | Digital automatic gain control method, apparatus, device and program product thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114745772B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115242351B (en) * | 2022-07-13 | 2024-02-13 | 厦门九华通信设备厂 | Self-adaptive method for serial data communication rate |
CN116233992A (en) * | 2023-05-08 | 2023-06-06 | 杰创智能科技股份有限公司 | Digital automatic gain control method, digital automatic gain control device, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102625435A (en) * | 2012-03-30 | 2012-08-01 | 杭州畅鼎科技有限公司 | Automatic gain control (AGC) device for global system for mobile communication (GSM) digital optical fiber frequency-selecting repeater and quick adaptive time slot method for AGC device |
CN102638882A (en) * | 2011-02-15 | 2012-08-15 | 中兴通讯股份有限公司 | Method and device for realizing automatic gain control (AGC) |
CN106851811A (en) * | 2017-03-14 | 2017-06-13 | 华为技术有限公司 | A kind of communication equipment and gain control method |
WO2021238409A1 (en) * | 2020-05-28 | 2021-12-02 | 哲库科技(北京)有限公司 | Automatic gain control method, terminal and storage medium |
WO2022062993A1 (en) * | 2020-09-22 | 2022-03-31 | 紫光展锐(重庆)科技有限公司 | Gain parameter adjusting method and apparatus, and device |
-
2022
- 2022-06-14 CN CN202210664981.4A patent/CN114745772B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102638882A (en) * | 2011-02-15 | 2012-08-15 | 中兴通讯股份有限公司 | Method and device for realizing automatic gain control (AGC) |
CN102625435A (en) * | 2012-03-30 | 2012-08-01 | 杭州畅鼎科技有限公司 | Automatic gain control (AGC) device for global system for mobile communication (GSM) digital optical fiber frequency-selecting repeater and quick adaptive time slot method for AGC device |
CN106851811A (en) * | 2017-03-14 | 2017-06-13 | 华为技术有限公司 | A kind of communication equipment and gain control method |
WO2021238409A1 (en) * | 2020-05-28 | 2021-12-02 | 哲库科技(北京)有限公司 | Automatic gain control method, terminal and storage medium |
WO2022062993A1 (en) * | 2020-09-22 | 2022-03-31 | 紫光展锐(重庆)科技有限公司 | Gain parameter adjusting method and apparatus, and device |
Non-Patent Citations (1)
Title |
---|
抗干扰功率自动增益控制***的应用;张之国;《有线电视技术》;20170715(第07期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN114745772A (en) | 2022-07-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114745772B (en) | Digital automatic gain control method, apparatus, device and program product thereof | |
US8243634B2 (en) | Random access in time division duplex communication systems | |
US9549397B2 (en) | Method and device for transmitting data | |
EP3103305B1 (en) | System and method for reserving a channel for coexistence of u-lte and wi-fi | |
KR101298392B1 (en) | Method and apparatus for accessing an uplink random access channel in a single carrier frequency division multiple access system | |
US9137828B2 (en) | Methods and apparatuses for performing random access in a telecommunications system | |
CN106851839B (en) | Frame structure determining method and base station | |
WO2015131844A1 (en) | Method and device for adjusting channel frequency domain offset of physical random access channel | |
EP2759179B1 (en) | Location based determination to perform a ranging procedure | |
TWI425851B (en) | Mobile radio communications device and related method of operation | |
EP3448094B1 (en) | Terminal device, base station device and communication method | |
US20180152904A1 (en) | Range Extension Of LTE Cells | |
WO2013060296A1 (en) | User filtering method and base station for user filtering | |
EP2162991B1 (en) | Method for fast acknowledgement and identification of a service access request message or a preamble thereof | |
CN113169835B (en) | Data transmission method and device | |
WO2010075758A1 (en) | Uplink detection method, uplink synchronization method for lte, apparatus and system thereof | |
EP2892288B1 (en) | Automatic gain adjustment and control method and device for eliminating interference of msr receiver gsm and lte | |
WO2014201688A1 (en) | Method and device for performing automatic gain control | |
US11596002B2 (en) | Method, device, apparatus for selecting a random access resource, and storage medium | |
WO2019214583A1 (en) | Uplink transmission method and user equipment | |
EP3448095B1 (en) | Terminal apparatus, base station apparatus and corresponding communication methods | |
CN116233992A (en) | Digital automatic gain control method, digital automatic gain control device, electronic equipment and storage medium | |
CN107995642B (en) | Information processing method and device | |
EP1411738A1 (en) | A telecommunications base station, and a method of detection by a base station of a sequence of data representing a request for call connection from a mobile | |
CN106851697B (en) | Method and device for detecting synchronization and synchronization loss of wireless link |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |