A kind of receiving channel automatic controlling method for gain and equipment
Technical field
The present invention relates to fields of communication technology, more particularly, to a kind of receiving channel automatic controlling method for gain and set
It is standby.
Background technology
The technology of car networking based on TDMA (Time Division Multiple Access, time division multiple acess) technology is special
Property includes:(1) pass through GNSS (Global Navigation Satellite System, global navigation satellite between vehicle and vehicle
System) it is synchronous, time slot is divided on the basis of GNSS time services, each car individually occupies the running time-frequency resource of a time slot, different user
Use different time-gap;(2) it is received using 2 antennas;(3) when vehicle sends information, most far 300 meters of the range covered is needed,
Adjacent vehicle minimum distance is 2 meters, and the dynamic range for receiving signal is larger;(4) since the mobility of vehicle is strong, network topology changes soon,
Therefore the far and near information of certain time slot can not be predicted, that is, possible received signal power can not be learnt before receiving certain time slot;It in addition, will
The reception signal using a time slot is sought, while completes receiving channel Gain tuning and signal testing function.
D2D (Device to Device, equipment in LTE (Long Term Evolution, long term evolution) Cellular Networks
To equipment) communication, D2D terminals need to safeguard two sets of links simultaneously, first, traditional D2N (Device to Network, equipment
To network) link, another is D2D links;If the resource of this two sets of links is time-multiplexed, switch from D2N
To before D2D, D2D terminals need the AGC (Automatic Gain Control, automatic growth control) for preserving D2N links to increase
Benefit value, and when switching to D2N from D2D, restore previously stored AGC gain value.Further, between 2 D2D terminals away from
From being uncertain, and D2D terminal mobilities are very strong, for the D2D terminals of receiving side, since received signal power is still fast
Speed variation, therefore the D2D terminals can not learn possible received signal power.
In the prior art, receiving device calculates receiving channel gain using single antenna reception mode, and computational methods are:
Reception average power signal within numeric field statistics a period of time, and average power signal and desired value are received by comparing,
To determine how receiving channel gain should be adjusted.
In the implementation of the present invention, inventor has found to have at least the following problems in the prior art:
Due to that can lead to ADC when receiving channel gain is excessive, (Analog to Digital Converter, modulus turn
Parallel operation) after data saturation, signal can be caused to be submerged in noise when receiving channel gain is too small, and distorted digital signal without
Method estimates accurate receiving channel gain, therefore in the car networking communication based on TDMA technologies and the D2D communications of LTE Cellular Networks
In, cause receiving device that can not learn possible received signal power since received signal power quickly changes, it is current
It is a repetitious process to adjust receiving channel gain, only repeatedly is likely to be adjusted to after adjustment suitably to receive logical
Road gain enters ADC, so as to which very big running time-frequency resource be caused to waste, while also brings very big service surface propagation delay time.
Invention content
The embodiment of the present invention provides a kind of receiving channel automatic controlling method for gain and equipment, to be quickly adjusted to suitable
Receiving channel gain avoids causing very big running time-frequency resource waste and service surface propagation delay time.
In order to achieve the above object, the embodiment of the present invention provides a kind of receiving channel automatic controlling method for gain, this method
Including:
Receiving device connects using each antenna receiving channel of the corresponding reception signal calculating of each antenna receiving channel is corresponding
Receive channel gain adjusted value;
The receiving device selects absolute value most from the corresponding receiving channel gain adjustment value of each antenna receiving channel
Small receiving channel gain adjustment value;
The receiving device determines that current corresponding receive of the receiving channel gain adjustment value of the absolute value minimum is led to
Road gain;
The receiving device sets the reception that the receiving channel gain of each antenna receiving channel is absolute value minimum
The currently corresponding receiving channel gain of channel gain adjusted value;
The receiving device is by the receiving channel gain adjustment value of absolute value minimum to each antenna receiving channel
Receiving channel gain adjust accordingly.
The embodiment of the present invention provides a kind of receiving device, which includes:
Computing module, it is corresponding for calculating each antenna receiving channel using the corresponding reception signal of each antenna receiving channel
Receiving channel gain adjustment value;
Selecting module, for selecting absolute value minimum from the corresponding receiving channel gain adjustment value of each antenna receiving channel
Receiving channel gain adjustment value;
Determining module, for determining the receiving channel gain adjustment value of the absolute value minimum currently corresponding receiving channel
Gain;
Setup module, the reception for the receiving channel gain of each antenna receiving channel to be set to be absolute value minimum are led to
The currently corresponding receiving channel gain of road gain adjustment value;
Adjust module, for by the receiving channel gain adjustment value of absolute value minimum to each antenna receiving channel
Receiving channel gain adjusts accordingly.
Compared with prior art, the embodiment of the present invention has at least the following advantages:In the embodiment of the present invention, pass through multiple days
The corresponding receiving channel gain adjustment value of line receiving channel carries out the Gain Automatic control of receiving channel, so as in received signal power
During quick variation, ensure that receiving channel gain can quickly be adapted to the variation of received signal power, and be quickly adjusted to
Suitable receiving channel gain avoids causing very big running time-frequency resource waste and service surface propagation delay time.Further, Ke Yi
The receiving channel Gain tuning time delay of each time slot is largely compressed, has in frequency efficiency, propagation delay time and significantly carries
It rises.
Description of the drawings
It, below will be to attached drawing needed in embodiment description in order to illustrate more clearly of technical scheme of the present invention
It is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, general for this field
For logical technical staff, without creative efforts, other attached drawings are can also be obtained according to these attached drawings.
Fig. 1 is the receiving channel automatic controlling method for gain flow diagram that the embodiment of the present invention one provides;
Fig. 2 and Fig. 3 is that the receiving channel gain proposed in the embodiment of the present invention one enters ADC expectation received powers with meeting
Receiving channel gain between relation schematic diagram;
Fig. 4 is a kind of structure diagram of receiving device provided by Embodiment 2 of the present invention.
Specific embodiment
In Adhoc (point-to-point) wireless self-networking, model that the transmission power of each node is covered according to node needs
It encloses to determine, the range of node requirements covering is bigger, it is necessary to which node transmitting power is stronger.It is general in ad-hoc communication network
Multiple nodes of existence position random distribution, receiving node received signal power is with the distance with transmitting node and wirelessly
Radio propagation environment difference and it is different, transmitting node is near apart from receiving node, then it is strong to receive power, and distance far then receives power
It is weak.Therefore for each node, the dynamic range of received signal power is bigger, and node transmitting power is bigger, section
The dynamic range that point receives signal is bigger.Dynamic range is more than certain amplitude, may result in node and is unable to properly receive signal,
The problem of node receives AGC is just introduced at this time, i.e., controls receiving channel gain.
For Adhoc wireless self-networkings, each node within a specified time emits signal, remaining interdependent node needs
The transmitting signal of this node is received within the time.For Mr. Yu's node, continuous multiple time slot received signals are different
Node send, and these sending nodes are random distribution with a distance from this node;Based on this, receiving watt level is also
Random distribution, and dynamic range is bigger.
Traditional receiving channel automatic controlling method for gain is when receiving signal for the first time, sets a fixed work(
Then rate Dynamic gene calculates received signal power, the reception power adjustment of next period is set according to watt level
The factor.The receiving channel gain meeting very little of the considerations of for protection receiving channel amplifier, for the first time acquiescence, such that the
The receiving channel gain once calculated may be not accurate enough, if it is determined that the receiving channel gain calculated is inaccurate, then needs
Receiving channel gain is adjusted, then calculates receiving channel gain again, if the receiving channel gain calculated is still inaccurate
Really, then continue to adjust receiving channel gain, so recycle, until the receiving channel gain calculated is more accurate, signal ability
Accurately receive.Aforesaid way will reach the state of reception gain stable convergence, need 2-4 reception power adjustment, very
It is extremely longer, the problems such as decline so as to cause spectrum efficiency with propagation delay time increase.
In view of the above-mentioned problems, the embodiment of the present invention provides a kind of receiving channel automatic controlling method for gain and equipment, pass through
The corresponding receiving channel gain adjustment value of mutiple antennas receiving channel carries out the Gain Automatic control of receiving channel, so as to receive letter
When number power quickly changes, ensure that receiving channel gain can quickly be adapted to the variation of received signal power, and quick
Suitable receiving channel gain is adjusted to, avoids causing very big running time-frequency resource waste and service surface propagation delay time.Further, may be used
Largely to compress the receiving channel Gain tuning time delay of each time slot, have in frequency efficiency, propagation delay time apparent
Promotion.
Below in conjunction with the attached drawing in the present invention, the technical solution in the present invention is clearly and completely described, is shown
So, described embodiment is only the part of the embodiment of the present invention, instead of all the embodiments.Based in the present invention
Embodiment, all other embodiment that those of ordinary skill in the art are obtained without making creative work, all
Belong to the scope of protection of the invention.
Embodiment one
In Adhoc ad hoc network, the embodiment of the present invention one provides a kind of receiving channel automatic controlling method for gain, this method
It can be applied to received signal power and quickly change the application for causing receiving device that can not learn possible received signal power
Scene, such as the D2D of the car networking communication scenes based on TDMA technologies in current Adhoc ad hoc network and LTE Cellular Networks communications
Scene etc.;Certainly, the application scenarios of the embodiment of the present invention are not limited to the application scenarios of Adhoc ad hoc network, are needing quickly
In the system for completing the Gain Automatic control of receiving channel, technical solution provided in an embodiment of the present invention may be used and carry out correlation
Processing, to shorten the adjustment time of receiving channel gain, is then quickly adjusted to suitable receiving channel gain.
In the embodiment of the present invention, receiving device needs to open multiple antennas receiving channel, and sets initial gain adjustment step
A length of adj_step=y/ (2*n), and antenna receiving channel i is set initially corresponding receiving channel gain is:Z (i)=x+ (2*
i+1)*adj_step;Wherein, gain inequalities of the y between receiving channel gain maximum and receiving channel gain minimum value, n are
Antenna receiving channel quantity, z (i) be antenna receiving channel i currently corresponding receiving channel gains, x for receiving channel gain most
Small value, i is the number of antenna receiving channel, and i is the integer more than or equal to 0 and less than n, and adj_step is adjusted for current gain
Step-length.
Based on the above situation, as shown in Figure 1, this method includes the following steps:
Step 101, receiving device calculates each antenna receiving channel using the corresponding signal that receives of each antenna receiving channel
Corresponding receiving channel gain adjustment value;Wherein, the corresponding receiving channel gain adjustment values of antenna receiving channel i are agc (i), i
To be more than or equal to 0 and the integer less than n.
In the embodiment of the present invention, receiving device is connect using the corresponding each antenna of signal calculating that receives of each antenna receiving channel
The corresponding receiving channel gain adjustment value of channel is received, is specifically including but not limited to following manner:Receiving device calculates each antenna
The corresponding mean power for receiving signal of receiving channel, and using the corresponding mean power of each antenna receiving channel with desiring to enter into
The corresponding reception of each antenna receiving channel of mathematic interpolation between the target received power (receiving power target value) of ADC
Channel gain adjusted value.
Step 102, receiving device selects absolutely from the corresponding receiving channel gain adjustment value of each antenna receiving channel
It is worth minimum receiving channel gain adjustment value;Wherein, the receiving channel gain adjustment value of absolute value minimum is:min(abs(agc
(i))), i is the integer more than or equal to 0 and less than n.
Step 103, receiving device determines that current corresponding receive of the receiving channel gain adjustment value of absolute value minimum is led to
Road gain;For example, when the receiving channel gain that 0 corresponding receiving channel gain adjustment value of antenna receiving channel is absolute value minimum
During adjusted value, then the receiving channel gain adjustment value of absolute value minimum currently corresponding receiving channel gain is z (0)=x+adj_
step;When the receiving channel gain adjustment value that 1 corresponding receiving channel gain adjustment value of antenna receiving channel is absolute value minimum
When, then the receiving channel gain adjustment value of absolute value minimum currently corresponding receiving channel gain is z (1)=x+3*adj_
step。
Step 104, receiving device judges whether the receiving channel gain adjustment value of absolute value minimum is in zone of reasonableness
Receiving channel gain adjustment value;If it is, perform step 105;If it is not, then perform step 107.Wherein, receiving terminal is set
The standby receiving channel gain adjustment value that can be preset in setting zone of reasonableness, in the receiving channel Gain tuning for determining absolute value minimum
After value, can directly it increase by comparing the receiving channel in the receiving channel gain adjustment value of absolute value minimum and zone of reasonableness
Beneficial adjusted value, finally to determine whether the receiving channel gain adjustment value of absolute value minimum is receiving channel increasing in zone of reasonableness
Beneficial adjusted value.
Step 105, receiving device sets the reception that the receiving channel gain of each antenna receiving channel is absolute value minimum
The currently corresponding receiving channel gain of channel gain adjusted value.
For example, when 0 corresponding receiving channel gain adjustment value of antenna receiving channel increases for the receiving channel of absolute value minimum
During beneficial adjusted value, the receiving channel gain adjustment value currently corresponding receiving channel gain of absolute value minimum is z (0)=x+adj_
Step, the receiving channel gain of setting antenna receiving channel 0 is z (0)=x+adj_step, and setting antenna receiving channel 1 connects
Receipts channel gain is z (1)=x+adj_step.
When the receiving channel Gain tuning that 1 corresponding receiving channel gain adjustment value of antenna receiving channel is absolute value minimum
During value, the receiving channel gain adjustment value currently corresponding receiving channel gain of absolute value minimum is z (1)=x+3*adj_
Step, the receiving channel gain of setting antenna receiving channel 0 is z (0)=x+3*adj_step, setting antenna receiving channel 1
Receiving channel gain is z (1)=x+3*adj_step.
Step 106, receiving device by the receiving channel gain adjustment value of absolute value minimum to each antenna receiving channel
Receiving channel gain adjust accordingly, i.e. the receiving channel gain of receiving device adjustment antenna receiving channel 0 is z (0)
The sum of with the receiving channel gain adjustment value of absolute value minimum, the receiving channel gain of adjustment antenna receiving channel 1 for z (1) with
The sum of receiving channel gain adjustment value of absolute value minimum.After this step 106, terminate the automatic control of this receiving channel gain
Process processed.
Step 107, receiving device judges to calculate each antenna reception using the corresponding signal that receives of each antenna receiving channel
(i.e. whether the execution number of step 101) is less than preset times value to the corresponding receiving channel gain adjustment value of channel;If it is,
Step 108 is performed, if it is not, then performing step 109.
Wherein, the corresponding receiving channel of each antenna receiving channel is calculated using the corresponding signal that receives of each antenna receiving channel
The execution number of gain adjustment value is receiving channel Gain tuning cycle-index, which can be adjusted according to actual conditions
Whole, it is 2 that can such as set the receiving channel Gain tuning cycle-index.
Step 108, receiving device is led to using current corresponding receive of receiving channel gain adjustment value of absolute value minimum
Road gain and current gain adjusting step set the currently corresponding receiving channel gain of each antenna receiving channel respectively.This step
After 108, step 101 is performed.
In the embodiment of the present invention, when the receiving channel gain adjustment value of absolute value minimum is less than 0, receiving device needs
The currently corresponding receiving channel gain of each antenna receiving channel is reduced, such as:Receiving device setting antenna receiving channel i is current
Corresponding receiving channel gain is:z-(2*i+1)*adj_step;It is not small in the receiving channel gain adjustment value of absolute value minimum
When 0, receiving device needs to improve the currently corresponding receiving channel gain of each antenna receiving channel, such as:Receiving device
Setting antenna receiving channel i currently corresponding receiving channel gains be:z+(2*i+1)*adj_step.
Wherein, z be absolute value minimum receiving channel gain adjustment value currently corresponding receiving channel gain, i are antenna
The number of receiving channel, and i is the integer more than or equal to 0 and less than n, n is antenna receiving channel quantity, and adj_step is current
Gain tuning step-length.Wherein, current gain adjusting step is previous Gain tuning step-length/(2*n), and initial gain adjusts
Step-length is y/ (2*n);Wherein, gain inequalities of the y between receiving channel gain maximum and receiving channel gain minimum value, n are
Antenna receiving channel quantity.
Step 109, receiving device confirms the corresponding reception invalidating signal of this each antenna receiving channel, skips this and connects
Receipts processing, and terminate this receiving channel gain control flow.
In conclusion in the embodiment of the present invention, in Adhoc ad hoc network, multiple antennas reception mode may be used and quickly look for
To receiving channel gain target value, and reception antenna is more, and the process for finding reasonable receiving channel gain is faster, is moved in very big
Correct receiving channel gain target value is quickly found out in the range of state.
The above process is described in detail below in conjunction with specific application scenarios.
Be the Adhoc ad hoc network of 2 reception antenna under this application scene, receiving device and sending ending equipment it
Between recently for 2 meters, most far 300 meters, and the dynamic range of receiving device can reach 80dB, i.e. receiving channel gain is maximum
Gain inequality between value and receiving channel gain minimum value is 80dB;Assuming that receiving device after signal is received, needs to carry out
Receiving channel Gain tuning, and it is suitble to the receiving channel gain of the receiver of receiving device (i.e. full for z_final=x+34dB
The receiving channel gain that foot enters ADC expectation received powers is x+34dB), and x is receiving channel gain minimum value.
Under above application scene, receiving device opens 2 antenna receiving channels, and antenna receiving channel is respectively that antenna connects
Receive channel 0 and antenna receiving channel 1;Receiving device setting initial gain adjusting step is adj_step=y/ (2*n)=80/
(2*2)=20dB;The 0 initial corresponding receiving channel gain of receiving device setting antenna receiving channel is:Z (0)=x+ (2*0+
1) * 20dB=x+20dB, the 1 initial corresponding receiving channel gain of setting antenna receiving channel are:Z (1)=x+ (2*1+1) *
20dB=x+60dB.
In a step 101, receiving device calculates antenna receiving channel using the corresponding signal that receives of antenna receiving channel 0
0 corresponding receiving channel gain adjustment value agc (0), and calculate antenna reception using the corresponding signal that receives of antenna receiving channel 1
1 corresponding receiving channel gain adjustment value agc (1) of channel.
Specifically, receiving device calculates corresponding mean power using the corresponding signal that receives of antenna receiving channel 0, and
It is the target received signal work(for desiring to enter into ADC to calculate 0 corresponding receiving channel gain adjustment value agc (0) of antenna receiving channel
The corresponding receiving channel gain adjustment value of difference between rate and 0 corresponding mean power of antenna receiving channel;Receiving device
Corresponding mean power is calculated using the corresponding signal that receives of antenna receiving channel 1, and calculates that antenna receiving channel 1 is corresponding to be connect
It is to desire to enter into that the target received power of ADC is corresponding with antenna receiving channel 1 to put down to receive channel gain adjusted value agc (1)
The corresponding receiving channel gain adjustment value of difference between equal power.
As shown in Fig. 2, for receiving channel gain and meet between the receiving channel gain of ADC expectation received powers
Relation schematic diagram, as it is assumed that the corresponding receiving channel gain of receiving channel gain met into ADC expectation received powers is
(x+34dB), therefore 0 corresponding receiving channel gain adjustment value agc (0) of antenna receiving channel is (x+34dB) and (x+20dB)
Between difference, 1 corresponding receiving channel gain adjustment value agc (1) of antenna receiving channel for (x+34dB) and (x+60dB) it
Between difference.
In a step 102, receiving device connects from 0 corresponding receiving channel gain adjustment value of antenna receiving channel and antenna
Receive the receiving channel gain adjustment value that absolute value minimum is selected in 1 corresponding receiving channel gain adjustment value of channel;Wherein, due to
Difference of the 0 corresponding receiving channel gain adjustment value agc (0) of antenna receiving channel between (x+34dB) and (x+20dB), day
Difference of the 1 corresponding receiving channel gain adjustment value agc (1) of line receiving channel between (x+34dB) and (x+60dB), therefore
The receiving channel gain adjustment value for selecting absolute value minimum is 0 corresponding receiving channel gain adjustment value agc of antenna receiving channel
(0), and 0 corresponding receiving channel gain adjustment value agc (0) of antenna receiving channel is more than 0.
In step 103, receiving device determines that the receiving channel gain adjustment value agc (0) of absolute value minimum is current right
Receiving channel gain z=z (the 0)=x+20dB answered.
At step 104, receiving device judge absolute value minimum receiving channel gain adjustment value agc (0) whether be
Receiving channel gain adjustment value in zone of reasonableness;If so, the receiving channel gain of setting antenna receiving channel 0 is absolute value
The current corresponding receiving channel gains (x+20dB) of minimum receiving channel gain adjustment value agc (0), set antenna receiving channel
Receiving channel gain adjustment value agc (0) current corresponding receiving channel gain (x of the 1 receiving channel gain for absolute value minimum
+20dB).Later, the receiving channel gain of receiving device adjustment antenna receiving channel 0 is (x+20dB) and absolute value minimum
The sum of receiving channel gain adjustment value agc (0), the receiving channel gain of adjustment antenna receiving channel 1 is (x+20dB) and absolute
It is worth the sum of minimum receiving channel gain adjustment value agc (0).
Specifically, whether the receiving channel gain adjustment value agc (0) for judging absolute value minimum is reception in zone of reasonableness
The purpose of channel gain adjusted value is to ensure that the signal into ADC is suitable for receiving channel gain estimation, receiving channel gain
Desired value can be set as ADC and can characterize the intermediate value of range, if the receiving channel Gain tuning of absolute value minimum calculated
The absolute value of value agc (0) is very big, then illustrates that the signal for entering ADC is less than normal or bigger than normal, the agc (0) calculated at this time is inaccurate
's;If the ADC of 11bit bit wides, it is believed that the receiving channel gain adjustment value in zone of reasonableness is -10dB-10dB.
Under this application scene, the receiving channel gain adjustment value agc (0) of absolute value minimum is 14dB, i.e. absolute value is minimum
Receiving channel gain adjustment value agc (0) receiving channel gain adjustment values (- 10dB-10dB) not in the reasonable scope model
In enclosing, it is therefore desirable to perform step 107.
In step 107, receiving device judges whether receiving channel Gain tuning cycle-index is less than preset times value;
Assuming that preset times value is 2, and this is first time receiving channel Gain tuning process, therefore judging result increases for receiving channel
Benefit adjustment cycle-index is less than preset times value, performs step 108.
In step 108, receiving device adjusts current gain adjusting step as adj_step=initial gain tune first
Synchronizing length/(2*n)=20/ (2*2)=5dB.Later, receiving device utilizes the receiving channel gain adjustment value of absolute value minimum
The current corresponding receiving channel gains (x+20dB) of agc (0) and current gain adjusting step (5dB) set antenna to receive respectively
Channel 0 and the current corresponding receiving channel gain of antenna receiving channel 1.Wherein, in the receiving channel gain tune of absolute value minimum
When whole value is less than 0, need to reduce antenna receiving channel 0 and the current corresponding receiving channel gain of antenna receiving channel 1, such as:
Receiving device setting antenna receiving channel i currently corresponding receiving channel gains be:z-(2*i+1)*adj_step;Absolute
When the minimum receiving channel gain adjustment value of value is not less than 0, needs to improve antenna receiving channel 0 and antenna receiving channel 1 is current
Corresponding receiving channel gain, such as:Receiving device setting antenna receiving channel i currently corresponding receiving channel gains be:z
+(2*i+1)*adj_step。
Under this application scene, the receiving channel gain adjustment value agc (0) of absolute value minimum is not less than 0, therefore receiving terminal
The 0 current corresponding receiving channel gain of equipment setting antenna receiving channel is:Z (0)=z+ (2*i+1) * adj_step=(x+
20dB)+5dB=x+25dB;The 1 current corresponding receiving channel gain of receiving device setting antenna receiving channel is:Z (1)=z
+ (2*i+1) * adj_step=(x+20dB)+15dB=x+35dB.As shown in figure 3, enter for receiving channel gain with meeting
Relation schematic diagram between the receiving channel gain of ADC expectation received powers, the receiving channel gain of setting have approached z_ quickly
final。
After this step 108, step 101 is performed.
In a step 101, receiving device calculates antenna receiving channel using the corresponding signal that receives of antenna receiving channel 0
0 corresponding receiving channel gain adjustment value agc (0), and calculate antenna reception using the corresponding signal that receives of antenna receiving channel 1
1 corresponding receiving channel gain adjustment value agc (1) of channel.
Specifically, receiving device calculates corresponding mean power using the corresponding signal that receives of antenna receiving channel 0, and
It is the target received signal work(for desiring to enter into ADC to calculate 0 corresponding receiving channel gain adjustment value agc (0) of antenna receiving channel
The corresponding receiving channel gain adjustment value of difference between rate and 0 corresponding mean power of antenna receiving channel;Receiving device
Corresponding mean power is calculated using the corresponding signal that receives of antenna receiving channel 1, and calculates that antenna receiving channel 1 is corresponding to be connect
It is to desire to enter into that the target received power of ADC is corresponding with antenna receiving channel 1 to put down to receive channel gain adjusted value agc (1)
The corresponding receiving channel gain adjustment value of difference between equal power.
As shown in figure 3, for receiving channel gain and meet between the receiving channel gain of ADC expectation received powers
Relation schematic diagram, as it is assumed that the corresponding receiving channel gain of receiving channel gain met into ADC expectation received powers is
(x+34dB), therefore 0 corresponding receiving channel gain adjustment value agc (0) of antenna receiving channel is (x+34dB) and (x+25dB)
Between difference, 1 corresponding receiving channel gain adjustment value agc (1) of antenna receiving channel for (x+34dB) and (x+35dB) it
Between difference.
In a step 102, receiving device connects from 0 corresponding receiving channel gain adjustment value of antenna receiving channel and antenna
Receive the receiving channel gain adjustment value that absolute value minimum is selected in 1 corresponding receiving channel gain adjustment value of channel;Wherein, due to
Difference of the 0 corresponding receiving channel gain adjustment value agc (0) of antenna receiving channel between (x+34dB) and (x+25dB), day
Difference of the 1 corresponding receiving channel gain adjustment value agc (1) of line receiving channel between (x+34dB) and (x+35dB), therefore
The receiving channel gain adjustment value for selecting absolute value minimum is 1 corresponding receiving channel gain adjustment value agc of antenna receiving channel
(1), and 1 corresponding receiving channel gain adjustment value agc (1) of antenna receiving channel is less than 0.
In step 103, receiving device determines that the receiving channel gain adjustment value agc (1) of absolute value minimum is current right
Receiving channel gain z=z (the 1)=x+35dB answered.
At step 104, receiving device judge absolute value minimum receiving channel gain adjustment value agc (1) whether be
Receiving channel gain adjustment value in zone of reasonableness;Judge absolute value minimum receiving channel gain adjustment value agc (1) whether be
The purpose of receiving channel gain adjustment value in zone of reasonableness is to ensure that the signal into ADC is suitable for receiving channel gain and estimates
Meter, the desired value of receiving channel gain, which can be set as ADC, can characterize the intermediate value of range, be connect if the absolute value calculated is minimum
The absolute value for receiving channel gain adjusted value agc (1) is very big, then illustrates that the signal for entering ADC is less than normal or bigger than normal, calculate at this time
Agc (1) is inaccurate;If the ADC of 11bit bit wides, it is believed that receiving channel gain adjustment value in zone of reasonableness for-
10dB-10dB.Under this application scene, the receiving channel gain adjustment value agc (1) of absolute value minimum be -1dB, i.e. absolute value most
The model of the receiving channel gain adjustment values (- 10dB-10dB) of small receiving channel gain adjustment value agc (1) in the reasonable scope
In enclosing, need to perform step 105.
In step 105, the receiving channel gain of receiving device setting antenna receiving channel 0 is minimum for absolute value connects
The current corresponding receiving channel gains (x+35dB) of channel gain adjusted value agc (1) are received, and connecing for antenna receiving channel 1 is set
Receive receiving channel gain adjustment value agc (1) current corresponding receiving channel gain (x+ of the channel gain for absolute value minimum
35dB)。
In step 106, the receiving channel gain of receiving device adjustment antenna receiving channel 0 is (x+35dB) and absolute
It is worth the sum of minimum receiving channel gain adjustment value agc (1), the receiving channel gain of adjustment antenna receiving channel 1 is (x+
35dB) the sum of with the receiving channel gain adjustment value agc (1) of absolute value minimum.
Embodiment two
Based on the same inventive concept of the above method, additionally provide a kind of receiving device in the embodiment of the present invention, such as
Shown in Fig. 4, which includes:
Computing module 11, for calculating each antenna receiving channel correspondence using the corresponding signal that receives of each antenna receiving channel
Receiving channel gain adjustment value;
Selecting module 12, for selecting absolute value most from the corresponding receiving channel gain adjustment value of each antenna receiving channel
Small receiving channel gain adjustment value;
Determining module 13, for determining that current corresponding receive of the receiving channel gain adjustment value of the absolute value minimum is led to
Road gain;
Setup module 14, for setting the reception that the receiving channel gain of each antenna receiving channel is absolute value minimum
The currently corresponding receiving channel gain of channel gain adjusted value;
Adjust module 15, for by the receiving channel gain adjustment value of absolute value minimum to each antenna receiving channel
Receiving channel gain adjust accordingly.
The computing module 11, specifically for calculating the corresponding mean power for receiving signal of each antenna receiving channel, profit
With the difference between the corresponding mean power of each antenna receiving channel and the target received power for desiring to enter into analog-digital converter ADC
Value calculates the corresponding receiving channel gain adjustment value of each antenna receiving channel.
Receiving device further includes:Judgment module 16, for judging the receiving channel Gain tuning of the absolute value minimum
Whether value is receiving channel gain adjustment value in zone of reasonableness;By the setup module 14 the judgment module judgement knot
Fruit sets the receiving channel gain tune that the receiving channel gain of each antenna receiving channel is absolute value minimum when being, to perform
The process of the whole current corresponding receiving channel gain of value.
The setup module 14 is additionally operable to, when the judging result of the judgment module 16 is no, utilize the absolute value
Currently corresponding receiving channel gain and current gain adjusting step are set respectively minimum receiving channel gain adjustment value respectively
The currently corresponding receiving channel gain of antenna receiving channel.
The setup module 14 is further used for when the receiving channel gain adjustment value of absolute value minimum is less than 0,
Setting antenna receiving channel i currently corresponding receiving channel gains be:z-(2*i+1)*adj_step;In absolute value minimum
Receiving channel gain adjustment value be not less than 0 when, setting antenna receiving channel i currently corresponding receiving channel gains be:z+(2*
i+1)*adj_step;
Wherein, z be absolute value minimum receiving channel gain adjustment value currently corresponding receiving channel gain, i are
The number of antenna receiving channel, and i is the integer more than or equal to 0 and less than n, n is antenna receiving channel quantity, and adj_step is
Current gain adjusting step.
In the embodiment of the present invention, current gain adjusting step be previous Gain tuning step-length/(2*n), initial gain
Adjusting step is y/ (2*n);Wherein, gain inequalities of the y between receiving channel gain maximum and receiving channel gain minimum value,
N is antenna receiving channel quantity.
In the embodiment of the present invention, initially corresponding receiving channel gain is antenna receiving channel i:x+(2*i+1)*adj_
step;X is receiving channel gain minimum value, and i is the number of antenna receiving channel, and i is the integer more than or equal to 0 and less than n,
N is antenna receiving channel quantity, and adj_step is current gain adjusting step.
The judgment module 16 is additionally operable to judge to connect using the corresponding each antenna of signal calculating that receives of each antenna receiving channel
Whether the execution number for receiving the corresponding receiving channel gain adjustment value of channel is less than preset times value;Existed by the setup module 14
The judging result of the judgment module is currently right using the receiving channel gain adjustment value of absolute value minimum when being, to perform
The receiving channel gain and current gain adjusting step answered set each antenna receiving channel currently corresponding receiving channel respectively
The process of gain;
The determining module 13 is additionally operable to, when the judging result of the judgment module 16 is no, confirm this each antenna
The corresponding reception invalidating signal of receiving channel, and terminate this receiving channel gain control flow.
Wherein, the modules of apparatus of the present invention can be integrated in one, and can also be deployed separately.Above-mentioned module can close
And be a module, multiple submodule can also be further split into.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by
Software adds the mode of required general hardware platform to realize, naturally it is also possible to which by hardware, but the former is more in many cases
Good embodiment.Based on such understanding, what technical scheme of the present invention substantially in other words contributed to the prior art
Part can be embodied in the form of software product, which is stored in a storage medium, if including
Dry instruction, which is used, so that computer equipment (can be personal computer, server or the network equipment etc.) performs this hair
Method described in bright each embodiment.
It will be appreciated by those skilled in the art that attached drawing is the schematic diagram of a preferred embodiment, module or stream in attached drawing
Journey is not necessarily implemented necessary to the present invention.
It will be appreciated by those skilled in the art that the module in device in embodiment can describe be divided according to embodiment
It is distributed in the device of embodiment, respective change can also be carried out and be located in one or more devices different from the present embodiment.On
The module for stating embodiment can be merged into a module, can also be further split into multiple submodule.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Disclosed above is only several specific embodiments of the present invention, and still, the present invention is not limited to this, any ability
What the technical staff in domain can think variation should all fall into protection scope of the present invention.