CN105353213B - A kind of wave complete machine gain distribution method of spectrum analyzer - Google Patents

A kind of wave complete machine gain distribution method of spectrum analyzer Download PDF

Info

Publication number
CN105353213B
CN105353213B CN201510938962.6A CN201510938962A CN105353213B CN 105353213 B CN105353213 B CN 105353213B CN 201510938962 A CN201510938962 A CN 201510938962A CN 105353213 B CN105353213 B CN 105353213B
Authority
CN
China
Prior art keywords
gain
unit
error
gain unit
new
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.)
Expired - Fee Related
Application number
CN201510938962.6A
Other languages
Chinese (zh)
Other versions
CN105353213A (en
Inventor
马风军
邓旭亮
任水生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CETC 41 Institute
Original Assignee
CETC 41 Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CETC 41 Institute filed Critical CETC 41 Institute
Priority to CN201510938962.6A priority Critical patent/CN105353213B/en
Publication of CN105353213A publication Critical patent/CN105353213A/en
Application granted granted Critical
Publication of CN105353213B publication Critical patent/CN105353213B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R23/00Arrangements for measuring frequencies; Arrangements for analysing frequency spectra
    • G01R23/16Spectrum analysis; Fourier analysis

Landscapes

  • Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of wave complete machine gain distribution method of spectrum analyzer, step are as follows:Spectrum analyzer radio frequency and the gain unit in intermediate-frequency circuit are analyzed, the maximum gain that analysis gain unit can distribute, are the gain that each gain unit sets needs to distribute according to the maximum gain that can be distributed;The gain distributed as needed is configured to first gain unit;After being configured gain unit, start to carry out gain data correction analysis to set gain unit;Determine that gain and decision to gain unit itself distribution pass to the new gain error of next gain unit after being analyzed;Judge whether that also gain unit is not provided with, if just setting next gain unit, return to previous step;If it is not, terminate.It is analyzed the relation between gain to be allocated and hardware gain resource, as far as possible distributes gain and realized by hardware, avoid gain compression, improve measurement accuracy by the distribution of each gain unit of dynamic corrections.

Description

A kind of wave complete machine gain distribution method of spectrum analyzer
Technical field
The present invention relates to a kind of wave complete machine gain distribution method of spectrum analyzer.
Background technology
Spectrum analyzer is in order in interior measurement signal amplitude in a big way, need to being directed to different signal amplitude measurement requests Adjust internal gain distribution, to reach optimum measurement state, therefore it is internal radio frequency and intermediate-frequency circuit have it is multiple it is different, can The gain unit of regulation is used to realize that gain distributes.
Conventional gain allocation algorithm is a kind of block form algorithm, obtains the parameter of each gain unit by calibration, distributes When according to these parameter one-time calculations go out the gain that each gain unit needs to distribute, then carry out the hard of each gain unit Part is set.The advantages of this method is the control that each gain unit thinks of oneself only, each other without coupling, algorithm and control All very simple is easily achieved;Shortcoming is the failure to make full use of hardware circuit resource, and gain distribution error may be larger, and works as When hardware gain distribution error is larger, gain compression may occur under some critical conditions, this can directly result in measuring error. An improvement to this scheme is to improve measurement accuracy using software gain compensation, but this method can not improve gain compression.
Prior art technical problem to be solved includes:
1 provides a kind of method that awave, gain distributes sustainable feedback;
2 improving costs are low, few to original software scenario change amount;
3 can realize the optimum utilization of hardware gain unit, and measurement accuracy is good;Interface is simply clear, has well Durability.
The content of the invention
The purpose of the present invention is exactly to solve the above problems, there is provided the wave complete machine gain of a kind of spectrum analyzer point Method of completing the square, it analyzes the relation between gain to be allocated and hardware gain resource by the distribution of each gain unit of dynamic corrections, Gain is distributed as far as possible and realized by hardware, avoids gain compression, improves measurement accuracy.
To achieve these goals, the present invention adopts the following technical scheme that:
A kind of wave complete machine gain distribution method of spectrum analyzer, comprises the following steps:
Step (1):Spectrum analyzer radio frequency and the gain unit in intermediate-frequency circuit are analyzed, analyze gain unit energy The maximum gain enough distributed, it is the gain that each gain unit sets needs to distribute according to the maximum gain that can be distributed;
Step (2):After being configured first gain unit, start to increase first set gain unit Beneficial data correction analysis;Determine that gain and decision to the distribution of first gain unit itself pass to next increasing after being analyzed The new gain error of beneficial unit;
Step (3):Judge whether that also gain unit is not provided with, if just setting next gain unit, return to step (2);If it is not, terminate.
The maximum gain that the step (1) analysis gain unit can distribute, be because the ability of each gain unit not Together, prevent each gain unit distribution from gross differences occur.
The step of step (2) is:
The gain that judge currently allocated gain error needs to distribute with step (1) adds and whether exceeds this gain unit The maximum gain that can be distributed;
If exceeding, it is the maximum gain that this gain unit can distribute to determine the gain to gain unit itself distribution, And gain error is modified to the first new gain error;First new gain error determines to pass to next gain unit New gain error;
First new gain error=(currently allocated gain error+step (1) needs the gain distributed)-this gain The maximum gain that unit can distribute;
If without departing from, determine distribution to gain unit itself gain be:Currently allocated gain error and step Suddenly (1) need the gain that distributes add and;And gain error is modified to the second new gain error;Second new gain error is Decision passes to the new gain error of next gain unit;
The gain that second new gain error=this gain unit actually distributes-(currently allocated gain error+step (1) gain distributed is needed).
Beneficial effects of the present invention:
The present invention is on the basis of existing gain distribution method, and by the distribution of each gain unit of dynamic corrections, analysis is treated The relation distributed between gain and hardware gain resource, gain is distributed as far as possible and realized by hardware, avoids gain compression, is improved Measurement accuracy.
The present invention uses C Plus Plus and Object-Oriented Design, passes through unified gain allocation algorithm interface, both clear letter It is clean and maintain flexibility during in face of complex hardware circuit, reach multiplexing effect.
1) it is few to original gain distribution control flow change, it need to only increase gain distribution feedback interface;
2) optimum utilization of gain unit can be realized, measurement accuracy is good;Interface is simply clear, easy to use, and has There is good durability.
Brief description of the drawings
Fig. 1 is wave gain allocation flow;
Fig. 2 is wave gain allocation flow;
Fig. 3 is gain data correction analysis flow.
Embodiment
The invention will be further described with embodiment below in conjunction with the accompanying drawings.
1. gain allocation flow designs
The key of gain distribution is to reduce error caused by each gain distribution in time, and this needs gain data amendment Analytical technology, the technology are specifically completed during hardware setting, and its implementation process is as shown in Figure 1.
After the hardware cell for needing gain to distribute to one every time is configured, pass through a unified interface interchange gain Data correction analysis module, the result that gain distributes is passed into gain data correction analysis module and analyzed, gain data Correction analysis module simultaneously return analysis after needed for gain distribution amendment data.Each gain unit is involved in the error of gain Amendment, but the comprehensive analysis with other gain units is not involved in, that is, independence is still kept between each other, design remains unchanged simple Easily.
By distribution->Correction analysis->Distribution->The such method of correction analysis ..., gain error as wave not Break and moved ahead between each gain unit, expanded all the time in continuous amendment but not accumulation.
As shown in Fig. 2 a kind of wave complete machine gain distribution method of spectrum analyzer, comprises the following steps:
Step (1):Spectrum analyzer radio frequency and the gain unit in intermediate-frequency circuit are analyzed, analyze gain unit The maximum gain that can be distributed, it is the gain that each gain unit sets needs to distribute according to maximum gain;
Step (2):After being configured first gain unit, start to increase first set gain unit Beneficial data correction analysis;Determine that gain and decision to the distribution of first gain unit itself pass to next increasing after being analyzed The new gain error of beneficial unit;
Step (3):Judge whether that also gain unit is not provided with, if just setting next gain unit, return to step (2);If otherwise carrying out software gain-boosted op amp, terminate.
2. gain data correction analysis
When carrying out gain data correction analysis every time, the actual gain data distributed of current gain unit can be all provided, Algorithm is as shown in Figure 3:
The algorithm needs 3 parameters, represents currently allocated gain error respectively, is this time initially required this gain unit The gain of distribution and this gain unit allow the maximum gain of distribution.
First according to allocated gain error, the gain for this time needing to distribute is calculated, gain distribution is passed through this as far as possible The hardware of gain unit is realized, prevents error accumulation;
Determine that ideally this gain unit needs the gain distributed further according to the ability of this gain unit permission;By Logical in the data of gain unit is centrifugal pump, so error is had between the gain that the gain and needs that finally distribute distribute, this Individual new error will be recorded, and be passed to next gain unit ... and be so modified successively, until all gain units Assigning process is involved in, hardware circuit state now is exactly optimum measurement state.
This module interface is clear, as long as repeating to call the once interface after setting every time, durability is good, to original soft The modification of part code is also clearly simple, and the module carries out simple operation using three floating numbers, and run time is relative to hard Part sets and can be ignored.
Although above-mentioned the embodiment of the present invention is described with reference to accompanying drawing, model not is protected to the present invention The limitation enclosed, one of ordinary skill in the art should be understood that on the basis of technical scheme those skilled in the art are not Need to pay various modifications or deformation that creative work can make still within protection scope of the present invention.

Claims (4)

1. a kind of wave complete machine gain distribution method of spectrum analyzer, it is characterized in that, comprise the following steps:
Step (1):Spectrum analyzer radio frequency and the gain unit in intermediate-frequency circuit are analyzed, analysis gain unit can divide The maximum gain matched somebody with somebody, it is the gain that each gain unit sets needs to distribute according to the maximum gain that can be distributed;
Step (2):After being configured first gain unit, start to carry out gain number to first set gain unit According to correction analysis;Determine that gain and decision to the distribution of first gain unit itself pass to next gain list after being analyzed The new gain error of member;
Step (3):Judge whether that also gain unit is not provided with, if just setting next gain unit, return to step (2); If it is not, terminate.
2. a kind of wave complete machine gain distribution method of spectrum analyzer as claimed in claim 1, it is characterized in that, the step Suddenly the maximum gain that (1) analysis gain unit can distribute, it is because the ability of each gain unit is different, prevents each gain There are gross differences in unit distribution.
3. a kind of wave complete machine gain distribution method of spectrum analyzer as claimed in claim 1, it is characterized in that, the step Suddenly the step of (2) are:
Whether the gain that judge currently allocated gain error needs to distribute with step (1) adds and can divide beyond this gain unit The maximum gain matched somebody with somebody;
If exceeding, it is the maximum gain that this gain unit can distribute to determine the gain to gain unit itself distribution, and will Gain error is modified to the first new gain error;First new gain error is to determine to pass to the new of next gain unit Gain error;
First new gain error=(currently allocated gain error+step (1) needs the gain distributed)-this gain unit The maximum gain that can be distributed.
4. a kind of wave complete machine gain distribution method of spectrum analyzer as claimed in claim 3, it is characterized in that,
If without departing from, determine distribution to gain unit itself gain be:Currently allocated gain error and step (1) The gain for needing to distribute add and;And gain error is modified to the second new gain error;Second new gain error determines Pass to the new gain error of next gain unit;
The gain that second new gain error=this gain unit actually distributes-(currently allocated gain error+step (1) Need the gain distributed).
CN201510938962.6A 2015-12-15 2015-12-15 A kind of wave complete machine gain distribution method of spectrum analyzer Expired - Fee Related CN105353213B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510938962.6A CN105353213B (en) 2015-12-15 2015-12-15 A kind of wave complete machine gain distribution method of spectrum analyzer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510938962.6A CN105353213B (en) 2015-12-15 2015-12-15 A kind of wave complete machine gain distribution method of spectrum analyzer

Publications (2)

Publication Number Publication Date
CN105353213A CN105353213A (en) 2016-02-24
CN105353213B true CN105353213B (en) 2018-02-06

Family

ID=55329215

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510938962.6A Expired - Fee Related CN105353213B (en) 2015-12-15 2015-12-15 A kind of wave complete machine gain distribution method of spectrum analyzer

Country Status (1)

Country Link
CN (1) CN105353213B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5478059A (en) * 1977-12-05 1979-06-21 Hitachi Ltd Gain control circuit
CN1162218A (en) * 1995-10-23 1997-10-15 汤姆森消费电子有限公司 Device for controlling conversion gain of down converter
CN1179038A (en) * 1996-09-13 1998-04-15 摩托罗拉公司 Power control circuit of radio frequency transmitter
CN1518804A (en) * 2001-03-28 2004-08-04 Gct�뵼�幫˾ Automatic gain control method for highly integrated communicaton receiver
CN204031125U (en) * 2014-08-18 2014-12-17 中国科学院嘉兴微电子与***工程中心 Three grades of automatic gain control equipments

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7643812B2 (en) * 2006-09-18 2010-01-05 Agere Systems Inc. Method and apparatus for a single-path enhanced-algorithm digital automatic gain control integrated receiver with power management and XM interference enhancement

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5478059A (en) * 1977-12-05 1979-06-21 Hitachi Ltd Gain control circuit
CN1162218A (en) * 1995-10-23 1997-10-15 汤姆森消费电子有限公司 Device for controlling conversion gain of down converter
CN1179038A (en) * 1996-09-13 1998-04-15 摩托罗拉公司 Power control circuit of radio frequency transmitter
CN1518804A (en) * 2001-03-28 2004-08-04 Gct�뵼�幫˾ Automatic gain control method for highly integrated communicaton receiver
CN204031125U (en) * 2014-08-18 2014-12-17 中国科学院嘉兴微电子与***工程中心 Three grades of automatic gain control equipments

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于频谱分析仪的动态增益分配技术;任水生;《国外电子测量技术》;20140131;第33卷(第1期);第36-39页 *
频谱分析仪中频增益动态分配设计;马风军 等;《中国仪器仪表》;20081231(第8期);第46-48页 *

Also Published As

Publication number Publication date
CN105353213A (en) 2016-02-24

Similar Documents

Publication Publication Date Title
CN102437994B (en) Crest clipping method and equipment for multiband broadband signal
CN112019006B (en) Harmonic compensation method and device of PFC circuit and terminal equipment
US11126301B2 (en) Power adapter control method and control apparatus
CN104333492A (en) Method and device for evaluating rationality of communication network structure
CN104270767A (en) Method suitable for enabling wireless power private network to be broadband
CN112333734B (en) Serving cell switching method and device
CN103858397A (en) Predistortion feedback method, apparatus and system
CN101030760A (en) Self-adaptive grid-voltage compensator and its compensation
CN106851804B (en) Mobile terminal inner loop power control method, device and computer equipment
CN105353213B (en) A kind of wave complete machine gain distribution method of spectrum analyzer
CN102665256B (en) Frequency sweeping method, frequency sweeping device, web searching method and web searching terminal for wireless communication system
US20150341868A1 (en) Power adjustment method and apparatus based on low delay power detection before dpd
JP7394217B2 (en) Link pre-equalization compensation method and device, storage medium, electronic device
CN216145101U (en) Double-channel high-speed data playback device
CN105224432A (en) A kind of performance test method for parameter configuration, device, pressing machine and system
CN105067994A (en) Method and application for positioning system-on-chip temporal logic error, and error rate calculation method
CN106033984B (en) Method and system for calibrating downlink channel and uplink channel of intelligent antenna
CN111416377B (en) Flexible direct current control method and device for improving transient stability of power grid
CN110649801B (en) Bus voltage sampling method, PFC control circuit and power conversion circuit
CN110112761B (en) Energy storage constant volume method, device and equipment suitable for power plant energy storage auxiliary frequency modulation
CN106872950A (en) A kind of system for testing low altitude radar comprehensive frequency generator
CN202058000U (en) Switching strategy programmable controller
CN108347738A (en) The method and system that cellular cell messaging parameter automatically configures
CN104485898A (en) Debugging method and system of double-channel power amplifier
CN106413073A (en) Power dynamic distribution method and apparatus of MRRU cells

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180206

Termination date: 20201215