CN105406881B - The gain control and method of lookup table mode in software radio - Google Patents
The gain control and method of lookup table mode in software radio Download PDFInfo
- Publication number
- CN105406881B CN105406881B CN201510895038.4A CN201510895038A CN105406881B CN 105406881 B CN105406881 B CN 105406881B CN 201510895038 A CN201510895038 A CN 201510895038A CN 105406881 B CN105406881 B CN 105406881B
- Authority
- CN
- China
- Prior art keywords
- radio
- gain
- software radio
- host computer
- software
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/06—Receivers
- H04B1/16—Circuits
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/06—Receivers
- H04B1/16—Circuits
- H04B1/1638—Special circuits to enhance selectivity of receivers not otherwise provided for
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Monitoring And Testing Of Transmission In General (AREA)
Abstract
The present invention provides a kind of gain controls of lookup table mode in software radio, including host computer, software radio and radio frequency testing instrument;Wherein, the host computer connects the software radio;The software radio connects the radio frequency testing instrument;The radio frequency testing instrument connects the host computer;The host computer frequency band to be tested for the transmission of stepping is sent to the software radio for traversing all gain values that can be arranged, and by the gain values to the software radio;The software radio is for being configured radio frequency by the frequency band and the gain values;The radio frequency testing instrument is used to generate a performance number whenever software radio one frequency band of setting and gain values.The present invention obtains the gain values optimized by the method for PC control radio frequency testing instrument test, so that software radio can carry out gain setting in such a way that PPC tables look-up.
Description
Technical field
The present invention relates to software radios, and in particular, to the gain control of lookup table mode in a kind of software radio
Device and method processed.
Background technique
In software radio, control gain is usually that the FPGA completion of radio frequency is controlled by leading portion, and mode is logical
One yield value of setting is crossed, the power output result after reading setting is compared with result actually required, is optimal effect
Confirm that the gain is set as the value needed afterwards, the process efficiency that inspection is arranged repeatedly in this way is relatively low, and compares occupancy system
Resource.
By the retrieval to the prior art, discovery is entitled to have broadband automatic gain application No. is 88107826.3
A kind of radio station of the disclosure of the invention of the radio station of control circuit, the signal electricity that it can be such that required broadcasting station sends
It puts down and is not inhibited by broad band automatic gain control circuit in the case where there is interference signal.The radio station includes one and receives signal for detecting
First detection device of field strength;The second detection device whether one detection broad band automatic gain control works;And according to first and second
The output signal of detection device slightly changes the device of the tuning situation of rf tuning circuit.The invention is unable to control setting for gain
It sets, the process efficiency of gain setting is relatively low.
Summary of the invention
For the defects in the prior art, the object of the present invention is to provide a kind of increasings of lookup table mode in software radio
Beneficial control device and method.
The gain control of lookup table mode in the software radio provided on one side is provided according to the present invention, including
Host computer, software radio and radio frequency testing instrument;
Wherein, the host computer connects the software radio;The software radio connects the radio frequency testing
Instrument;The radio frequency testing instrument connects the host computer;
The host computer frequency band to be tested for the transmission of stepping is all for traversing to the software radio
The gain values that can be arranged, and the gain values are sent to the software radio;
The software radio is for being configured radio frequency by the frequency band and the gain values;
The radio frequency testing instrument is used for whenever a frequency band and gain values, generation one is arranged in software radio
Performance number;
The host computer is corresponding by the corresponding frequency point of each frequency band, optimum gain numerical value for reading the performance number
Storage forms gain parameter file cocurrent and send to the software radio.
Preferably, the host computer connects the software radio by cable;The software radio is by penetrating
Frequency line connects the radio frequency testing instrument;Connected between the radio frequency testing instrument and the host computer by GPIB data collecting card
It connects.
The gain control method of lookup table mode in the software radio provided on the other hand is provided according to the present invention, is adopted
With the gain control of lookup table mode in the software radio, include the following steps:
Step 1: the transmission of host computer stepping frequency band to be tested to the software radio, host computer traversal are all
The gain values that can be arranged, and the gain values are sent to the software radio;
Step 2: the software radio is configured radio frequency by the frequency band and the gain values, often sets
A frequency band and gain values are set, host computer reads the performance number of radio frequency testing instrument output;
Step 3: the corresponding frequency point of each frequency band, the corresponding storage of optimum gain numerical value are formed gain and joined by the host computer
Number file cocurrent is sent to the software radio.
Preferably, further include following steps:
Step 4: software radio reads the gain parameter file, and generates the data of frequency point Yu optimum gain numerical value
Group;
Step 5: when the gain of a frequency point is arranged in the software radio, being obtained most by inquiring the data group
Excellent gain values.
Preferably, the host computer can traverse all frequency bands as stepping using 500KHz, then to each frequency band
All gain values are set
Compared with prior art, the present invention have it is following the utility model has the advantages that
1, the present invention obtains the gain values optimized by the method for PC control radio frequency testing instrument test, thus
Software radio can carry out gain setting in such a way that PPC tables look-up;
2, after using heretofore described method, the automatic growth control originally realized in FPGA is placed on software wireless
It is realized in the CPU in radio station, reduces the resource overhead of FPGA;
3, present invention uses the modes tabled look-up than previous setting inquiry, and the mode for the inquiry tabled look-up is more efficient, and
By verifying to each software radio, setting data more meet the actual conditions of each radio-frequency module.
Detailed description of the invention
Upon reading the detailed description of non-limiting embodiments with reference to the following drawings, other feature of the invention,
Objects and advantages will become more apparent upon:
Fig. 1 is the structural schematic diagram of the gain control of lookup table mode in software radio in the present invention;
Fig. 2 is the work flow diagram of host computer in the present invention;
Fig. 3 is the work flow diagram of software radio in the present invention;
Fig. 4 is the work flow diagram in the present invention after software radio booting;
Fig. 5 is the working fluid that software radio uses data group in the present invention.
Specific embodiment
The present invention is described in detail combined with specific embodiments below.Following embodiment will be helpful to the technology of this field
Personnel further understand the present invention, but the invention is not limited in any way.It should be pointed out that the ordinary skill of this field
For personnel, without departing from the inventive concept of the premise, various modifications and improvements can be made.These belong to the present invention
Protection scope.
In the present embodiment, in software radio provided by the invention lookup table mode gain control, including it is upper
Position machine, software radio and radio frequency testing instrument;
Wherein, the host computer connects the software radio;The software radio connects the radio frequency testing
Instrument;The radio frequency testing instrument connects the host computer.
The host computer frequency band to be tested for the transmission of stepping is all for traversing to the software radio
The gain values that can be arranged, and the gain values are sent to the software radio;
The software radio is for being configured radio frequency by the frequency band and the gain values;
The radio frequency testing instrument is used for whenever a frequency band and gain values, generation one is arranged in software radio
Performance number;
The host computer is corresponding by the corresponding frequency point of each frequency band, optimum gain numerical value for reading the performance number
Storage forms gain parameter file cocurrent and send to the software radio.
More specifically, the host computer connects the software radio by cable;The software radio is logical
It crosses radio frequency line and connects the radio frequency testing instrument, with the output power of test software radio station;The radio frequency testing instrument and
It is connected between the host computer by GPIB data collecting card.
Host computer provides the standard I/O function library for the programming of radio frequency testing instrument by VISA, and host computer can control
The setting of radio frequency testing instrument, and read the test data of radio frequency testing instrument.Software radio has a 100M/
1000M adaptive network mouth, connect with host computer, by way of TCP/IP with host computer frequency of interaction parameter setting information
And the respective file of transmitting calibrating frequency point and yield value.
The gain control method of lookup table mode in software radio provided by the invention, using the software radio
The gain control of lookup table mode, includes the following steps: in platform
Step 1: the transmission of host computer stepping frequency band to be tested to the software radio, host computer traversal are all
The gain values that can be arranged, and the gain values are sent to the software radio;
Step 2: the software radio is configured radio frequency by the frequency band and the gain values, often sets
A frequency band and gain values are set, host computer reads the performance number of radio frequency testing instrument output;
Step 3: the corresponding frequency point of each frequency band, the corresponding storage of optimum gain numerical value are formed gain and joined by the host computer
Number file cocurrent is sent to the software radio.
Step 4: software radio reads the gain parameter file, and generates the data of frequency point Yu optimum gain numerical value
Group;
Step 5: when the gain of a frequency point is arranged in the software radio, being obtained most by inquiring the data group
Excellent gain values.
Host computer is first configured radio frequency testing instrument, the control information that configuration radio frequency testing instrument needs.Then
Host computer can traverse all frequency bands, i.e. frequency point as stepping using 500KHz, its all increasing then is arranged to each frequency point
Benefit value, for example, the settable range of gain is 0~31db, this 32 numerical value are arranged in traversal.Every time in one frequency frequency band of test
A kind of yield value when software radio is sent information to by way of TCP/IP, it is desirable that software radio into
The corresponding radio frequency parameter setting of row, the return information for then software radio being waited to be provided with.After confirmation is provided with, lead to
The rf data that the instrument order inquiry current radio frequency test equipment crossed in the library VSIA tests out, i.e. performance number, are recorded.
Repeatedly until all situations of all frequency bands are all tested, optimum gain then is selected in the test data of record
Value;Such as test needs output+27db, and the gain for looking for output power to be equal to the output valve is just needed in the test data of each frequency point
Setting value needs to look for closest data if not.After recording this frequency point and the corresponding relationship of optimal gain values, one is generated
A text file, is written into.This document is sent into a software radio after the completion, as the data after verification.
Groundwork of the software radio in verification is setting radio frequency parameter.Its frequency for waiting host computer to send over
The network packet of point and setting yield value.After information parsing in network packet, interface is arranged by radio frequency and is configured
(receive the network information is CPU device, such as PPC8548, so CPU needs send the information of setting in a manner of protocol package
Radio-frequency configuration is then carried out by the latter to FPGA).After accomplishing the setting up, sending to reply to wrap by network notifies host computer is completed to set
It sets, it is desirable that it is tested.After completing all tests, the correspondence of the host computer frequency point sended over and optimal gain values is waited
Relational file is retained on local.(CPU device runs vxWorks operating system, so herein can be by way of FTP
Carry out the transmitting of file)
The corresponding relationship file with the presence or absence of frequency point and optimal gain values can be looked for after software radio booting, if
Have, it is read out, corresponding relationship is filled in as in the array list in software.If there is no then illustrating that radio station do not pass through
Related check is crossed, in order to guarantee the use in radio station, default array list is housed in software.
When the output gain of some frequency point will be arranged in software radio, determine whether the frequency point is 500KHz first
(because being to carry out assignment test with the stepping of 500KHz), if it is searches the gain number of corresponding frequency point directly in table
Value, if not the gain values for then finding immediate frequency point.It is the output work based on a benchmark when due to verification
Rate, such as+27db, so the value in this numerical tabular is the optimal situation in+27db output situation, so setting if necessary+
If 37db, then needs in optimal value plus 10db is configured, if instead if needing output+20db, then in optimal value
On subtract 7db.Due to there is the limit of setting, so when calculating resulting value and going beyond the scope, be just arranged its it is maximum or
Minimum value.
Specific embodiments of the present invention are described above.It is to be appreciated that the invention is not limited to above-mentioned
Particular implementation, those skilled in the art can make various deformations or amendments within the scope of the claims, this not shadow
Ring substantive content of the invention.
Claims (5)
1. the gain control of lookup table mode in a kind of software radio, which is characterized in that including host computer, software wireless
Radio station and radio frequency testing instrument;
Wherein, the host computer connects the software radio;The software radio connects the radio frequency testing instrument;
The radio frequency testing instrument connects the host computer;
The host computer for stepping transmission frequency band to be tested to the software radio, for traverse it is all can
The gain values of setting, and the gain values are sent to the software radio;
The software radio is for being configured radio frequency by the frequency band and the gain values;
The radio frequency testing instrument is used to generate a power whenever software radio one frequency band of setting and gain values
Value;
The host computer is for reading the performance number, by the corresponding frequency point of each frequency band, the corresponding storage of optimum gain numerical value
Gain parameter file cocurrent is formed to send to the software radio;
Wherein, the output power found in all gain values that can be arranged of each frequency point is equal to the increasing of required output power
Beneficial numerical value selects output power closest to the gain of required output power as the optimum gain numerical value if do not found
Numerical value is as the optimum gain numerical value.
2. the gain control of lookup table mode in software radio according to claim 1, which is characterized in that described
Host computer connects the software radio by cable;The software radio connects the radio frequency testing by radio frequency line
Instrument;It is connected between the radio frequency testing instrument and the host computer by GPIB data collecting card.
3. the gain control method of lookup table mode in a kind of software radio, which is characterized in that use claim 1 to 2 times
The gain control of lookup table mode, includes the following steps: in software radio described in one
Step 1: for the transmission of host computer stepping frequency band to be tested to the software radio, host computer traversal is all can
The gain values of setting, and the gain values are sent to the software radio;
Step 2: the software radio is configured radio frequency by the frequency band and the gain values, every setting one
A frequency band and gain values, host computer read the performance number of radio frequency testing instrument output;
Step 3: the corresponding frequency point of each frequency band, the corresponding storage of optimum gain numerical value are formed gain parameter text by the host computer
Part is simultaneously sent to the software radio;
Wherein, the output power found in all gain values that can be arranged of each frequency point is equal to the increasing of required output power
Beneficial numerical value selects output power closest to the gain of required output power as the optimum gain numerical value if do not found
Numerical value is as the optimum gain numerical value.
4. the gain control method of lookup table mode in software radio according to claim 3, which is characterized in that also wrap
Include following steps:
Step 4: software radio reads the gain parameter file, and generates the data group of frequency point Yu optimum gain numerical value;
Step 5: when the gain of a frequency point is arranged in the software radio, obtaining optimal increasing by inquiring the data group
Beneficial numerical value.
5. the gain control method of lookup table mode in software radio according to claim 3, which is characterized in that described
Host computer traverses all frequency bands as stepping using 500KHz, then each frequency band is arranged all gain values.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510895038.4A CN105406881B (en) | 2015-12-07 | 2015-12-07 | The gain control and method of lookup table mode in software radio |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510895038.4A CN105406881B (en) | 2015-12-07 | 2015-12-07 | The gain control and method of lookup table mode in software radio |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105406881A CN105406881A (en) | 2016-03-16 |
CN105406881B true CN105406881B (en) | 2018-12-28 |
Family
ID=55472165
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510895038.4A Active CN105406881B (en) | 2015-12-07 | 2015-12-07 | The gain control and method of lookup table mode in software radio |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105406881B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005025056A8 (en) * | 2003-08-29 | 2005-12-15 | Sharp Kk | Automatic gain control amplification device, reception device, and radio communication device |
CN101335546A (en) * | 2007-06-26 | 2008-12-31 | 中兴通讯股份有限公司 | Radio frequency auto-gain control system and method |
CN104202002A (en) * | 2014-09-18 | 2014-12-10 | 天津七一二通信广播有限公司 | FPGA (field programmable gate array) based digital AGC (automatic gain control) system and method of ultra-short wave radio set |
CN204190712U (en) * | 2014-09-18 | 2015-03-04 | 天津七一二通信广播有限公司 | A kind of ultrashort wave radio set automatic gain control circuit |
-
2015
- 2015-12-07 CN CN201510895038.4A patent/CN105406881B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005025056A8 (en) * | 2003-08-29 | 2005-12-15 | Sharp Kk | Automatic gain control amplification device, reception device, and radio communication device |
CN101335546A (en) * | 2007-06-26 | 2008-12-31 | 中兴通讯股份有限公司 | Radio frequency auto-gain control system and method |
CN104202002A (en) * | 2014-09-18 | 2014-12-10 | 天津七一二通信广播有限公司 | FPGA (field programmable gate array) based digital AGC (automatic gain control) system and method of ultra-short wave radio set |
CN204190712U (en) * | 2014-09-18 | 2015-03-04 | 天津七一二通信广播有限公司 | A kind of ultrashort wave radio set automatic gain control circuit |
Also Published As
Publication number | Publication date |
---|---|
CN105406881A (en) | 2016-03-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110191483A (en) | A kind of Performance Test System and method for Wifi mould group | |
TW201325273A (en) | Testing system and testing method for wireless network device | |
CN110649962A (en) | Intelligent optical cable on-line monitoring system and monitoring method | |
CN104808096A (en) | Wireless module automatic test device and method based on instrument control | |
CN107944312B (en) | Method and device for detecting receiving sensitivity of RFID reader-writer | |
CN101426216B (en) | Test method and device for wireless access system distributed base station | |
CN105406881B (en) | The gain control and method of lookup table mode in software radio | |
CN107509214B (en) | Multi-radio-frequency link wireless router and fault diagnosis method | |
CN104753544A (en) | Power calibration method and system for radio frequency receiver of terminal | |
CN109120356A (en) | A kind of the radio frequency path loss measurement method and system of the high accuracy based on passive RFID | |
CN101668228A (en) | Device and method for testing interface | |
CN103517299B (en) | A kind of base-station intermodulation signal detection method and system | |
KR101237490B1 (en) | the performance analysis and self diagnosis device for the RF system of mobile telecommunication | |
CN102065316B (en) | Automatic set top box level test device and method | |
CN104933851A (en) | Electric meter data collector with infrared upgrade function and upgrade method thereof | |
CN102394708A (en) | Method and system for testing mobile communication equipment | |
CN107911148A (en) | Active UHF RFID tags equivalent radiation power test device and method | |
CN103884979A (en) | Batch test method of wireless two-in-one mouse end chips | |
CN114499570A (en) | Method for transmitting information, radio frequency device and control device | |
CN108107782B (en) | Self-control concurrent data acquisition method for electric power energy acquisition equipment | |
CN109640336B (en) | Radio frequency head end positioning method, radio frequency head end positioning system and computer medium | |
CN111224723A (en) | Calibration method and system of radio frequency front-end module, electronic equipment and storage medium | |
CN104993885B (en) | Radio communication channel parameter estimation algorithm test system based on FPGA and Matlab | |
CN106302499B (en) | A kind of security log acquisition method, apparatus and system | |
KR102382301B1 (en) | Method and apparatus for determining aclr fail |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |