CN104393858B - A kind of compensating for frequency response data Real-time Generation based on static RAM - Google Patents

A kind of compensating for frequency response data Real-time Generation based on static RAM Download PDF

Info

Publication number
CN104393858B
CN104393858B CN201410554368.2A CN201410554368A CN104393858B CN 104393858 B CN104393858 B CN 104393858B CN 201410554368 A CN201410554368 A CN 201410554368A CN 104393858 B CN104393858 B CN 104393858B
Authority
CN
China
Prior art keywords
data
compensating
frequency response
frequency
control word
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
Application number
CN201410554368.2A
Other languages
Chinese (zh)
Other versions
CN104393858A (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.)
CLP Kesiyi Technology Co Ltd
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 CN201410554368.2A priority Critical patent/CN104393858B/en
Publication of CN104393858A publication Critical patent/CN104393858A/en
Application granted granted Critical
Publication of CN104393858B publication Critical patent/CN104393858B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention proposes a kind of compensating for frequency response data Real-time Generation based on static RAM, the static RAM based on storage compensating for frequency response data, FPGA and auxiliary circuit for real-time searching compensating for frequency response data, comprises the following steps:After instrument electrifying startup, the compensating for frequency response data in full frequency band, full power range are downloaded in static RAM;When whole machine state changes, pass through the comparison program inside FPGA, frequency and preset power according to corresponding to current arbitrary sequence state, the index address of corresponding compensating for frequency response data is drawn in real time, and start reading sequential, the corresponding offset data in the address is sent in corresponding DAC interface circuits.The compensating for frequency response data of the present invention can be produced in real time, can meet the demand controlled when the switching of broadband signal generator fast state, the continuous state switching of especially hundred nanosecond orders compensating for frequency response.

Description

A kind of compensating for frequency response data Real-time Generation based on static RAM
Technical field
The present invention relates to technical field of measurement and test, more particularly to a kind of compensating for frequency response data based on static RAM are generated in real time Method.
Background technology
In broadband signal generator, for frequency response in the higher power flatness of acquirement, base band band and IQ modulation accuracies Index, is generally required for carrying out the compensating for frequency response of wide-band.It is combined to traditional based on lock in the signal generator of system, frequency Compensation is rung typically by whole machine control software according to the calibration data of compensating for frequency response, current carrier frequency, current carrier power Etc. parameter, the corresponding compensating for frequency response data of current state are calculated.For requiring the faster modem signal generators of switch speed For, because whole machine state switching time is below Millisecond, even up to microsecond or hundred nanosecond orders, the above method is so It can not be completed in the short time.
In technical field of measurement and test, due to circuit components non-linear, microwave component broadband frequency response characteristic and The reasons such as temperature drift, broadband signal generator usually there will be the inconsistent phenomenon of frequency response in working frequency range.With working frequency The difference of span, power bracket etc., its frequency response is generally present under several dB fluctuating, extreme case, after some time it is possible to reach more than 10dB. For high-precision broadband signal generator, the higher the better for its frequency response index, and preferable frequency response data are zero.But due to electricity The factors such as the economy that the stability on road, repeatable and whole machine function are realized, the frequency response data of actual test instrument can not It can accomplish infinitely small.It is different according to whole machine working frequency range, after its frequency response index is calibrated, can reach ± 0.3dB~± 2dB with It is interior, it just can meet the demand of most of test applications.
Consider from economy and the convenience realized, existing compensating for frequency response typically uses data storage+Software Create Mode produce the corresponding compensating for frequency response data of current state.Then, then by whole machine control software the offset data is sent Into compensation DAC, under the control of whole machine Synchronization Control sequential, the compensating for frequency response of current state is completed.The totality of this scheme Theory diagram as shown in figure 1, stored in compensating for frequency response data file be generate in calibration process with overall frequency, power phase The whole machine compensating for frequency response data closed;Whole machine status data is the current whole machine of sign of current whole machine output signal frequency and power etc. The data acquisition system of state;Compensating for frequency response control software is the application program being operated on broadband signal generator master controller, when When the whole machine state of broadband signal generator changes, the control software takes out frequency in current whole machine state, power first Deng status data, according to the status data, the corresponding offset data of current state is calculated, the data are then passed through into I/O channel Set in compensating for frequency response DAC;Under the control of whole machine control sequential, current offset data is converted to benefit by compensating for frequency response DAC Repay driving voltage control signal;The control signal drives compensating for frequency response circuit, so as to realize the benefit to current state frequency response error Repay and correct.
It is existing that the method for offset data is calculated based on control software since it is desired that software lookup data, software calculate number According to the process such as, software transmission data and compensation data delay, cause whole process speed slow, do not apply to switch speed compared with Fast modem signal generators.
The content of the invention
In order to solve the existing slow-footed problem of method that offset data is calculated based on control software, the present invention is proposed A kind of compensating for frequency response data Real-time Generation based on static RAM, by using this method, it is not necessary to which control software is participated in, Compensating for frequency response data are directly gone out by the lookup to RAM data and interpolation calculation, instrument switch speed is greatly improved.
The technical proposal of the invention is realized in this way:
A kind of compensating for frequency response data Real-time Generation based on static RAM, the static state based on storage compensating for frequency response data RAM, FPGA and auxiliary circuit for real-time searching compensating for frequency response data, comprise the following steps:
After instrument electrifying startup, the compensating for frequency response data in full frequency band, full power range are downloaded in static RAM;
When whole machine state changes, by the comparison program inside FPGA, according to current arbitrary sequence state, institute is right The frequency and preset power answered, draw the index address of corresponding compensating for frequency response data in real time, and start reading sequential, by this The corresponding offset data in address is sent in corresponding DAC interface circuits.
Alternatively, the frequency control word and power control word of the FPGA receiving instrument, according in compensation data storage Frequency resolution and power resolution, are blocked downwards to the frequency control word and power control word received;
Using the frequency control word after blocking as high address, power control word after blocking is as low order address, then The high address and status address are combined again, as RAM reading address, reading offset data is designated as C1 from RAM; Plus 1 to address, it is C2 that offset data is read from RAM;
To block again rear frequency control word plus 1 and power control word combination as RAM read address, the receive data from RAM According to being designated as C3;Add 1 to address again, data are read from RAM and are designated as C4;
Respective frequencies and the offset data of power are generated by data fit procedure again.
Alternatively, the data fit procedure is:
C12 is the offset data for blocking rear frequency and Power Control, and computing formula is as follows:
C34 adds 1 and the offset data of Power Control for interception frequency, and computing formula is as follows:
C is respective frequencies control word and the offset data of power control word, and computing formula is as follows:
Due to F1=F0+1, P1=P0+1, institute's above formula can be reduced to:
C=C1+ (C2-C1) * (P-Po)+(C3-C1) * (F-F0)+
((C4+C1)-(C2+C3))*(F-F0)*(P-P0) (4)
P0 blocked for P after data, F0 blocked for F after data, the part that P-P0 casts out after being blocked for P, F-F0 be F cut Have no progeny the data given up.
The beneficial effects of the invention are as follows:
(1) compensating for frequency response data can be produced in real time, disclosure satisfy that the switching of broadband signal generator fast state, especially hundred The demand controlled during the continuous state switching of nanosecond order compensating for frequency response;
(2) it is applied in broadband signal generator, frequency response index when instrument state switches at a high speed can be greatly improved, so that Improve the test speed and test quality when continuous multimode is tested.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the existing theory diagram based on data file+control software mode frequency response compensation method;
Fig. 2 is the theory diagram of the compensating for frequency response data Real-time Generation based on static RAM of the present invention;
Fig. 3 is the data fitted figure of the compensating for frequency response data Real-time Generation based on static RAM of the present invention;
Fig. 4 is the FPGA internal control block diagrams of the compensating for frequency response data Real-time Generation based on static RAM of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
The present invention proposes a kind of high speed frequency variation signal compensating for frequency response data Real-time Generation based on static RAM, should Static RAM, FPGA for real-time searching compensating for frequency response data and related auxiliary electricity of the method based on storage compensating for frequency response data Road.
The general principle of compensating for frequency response data Real-time Generation of the present invention is:
After instrument electrifying startup, the compensating for frequency response data in full frequency band, full power range are downloaded in static RAM;When When whole machine state changes, by the comparison program inside FPGA, frequency according to corresponding to current arbitrary sequence state and Preset power, draws the index address of corresponding compensating for frequency response data in real time, and starts reading sequential, and the address is corresponding Offset data is sent in corresponding DAC interface circuits, so as to realize whole machine full frequency band, arbitrary sequence is jumped in total power presetting range Compensating for frequency response data in the case of turning are generated in real time.
The compensating for frequency response data Real-time Generation of the present invention is described in detail below in conjunction with the accompanying drawings.
As shown in Fig. 2 the frequency control word and power control word of FPGA receiving instrument, according to the frequency in compensation data storage Rate resolution ratio and power resolution, are blocked downwards to the frequency control word and power control word received, then will be blocked Frequency control word and power control word afterwards is combined, wherein the frequency control word after blocking is as high address, after blocking Power control word as low order address, as RAM reading address, from RAM reading offset data is designated as C1, to address plus 1, it is C2 that offset data is read from RAM;To block again rear frequency control word plus 1 and power control word combination read as RAM Address, reading data are designated as C3 from RAM, then add 1 to address, and data are read from RAM and are designated as C4.It was fitted again by data The offset data of Cheng Shengcheng respective frequencies and power.
As shown in figure 3, data fit procedure is as follows:
Transverse axis is frequency, and unit is the frequency resolution in offset data, and vertical pivot is power, and unit is the work(of offset data Rate resolution ratio.C1 is the offset data read from RAM after being blocked to frequency control word and power control word, and C2 is to blocking Frequency is the data for adding 1 to cut frequency and blocking in the RAM of power, C4 with blocking the data in the RAM that rear power plus 1, C3 To add 1 to cut frequency and blocking the data in the RAM that power plus 1.C12 is the compensation number for blocking rear frequency and Power Control According to computing formula is as follows:
C34 adds 1 and the offset data of Power Control for interception frequency, and computing formula is as follows:
C is respective frequencies control word and the offset data of power control word, and computing formula is as follows:
Because F1=F0+1, P1=P0+1, institute's above formula can be reduced to:
C=C1+ (C2-C1) * (P-Po)+(C3-C1) * (F-F0)+
((C4+C1)-(C2+C3))*(F-F0)*(P-P0) (4)
Realization principle of the formula (4) inside FPGA as shown in figure 4, because P0 blocked for P after data, after F0 blocks for F Data, so the part that P-P0 casts out after being blocked for P, the data that F-F0 gives up after being blocked for F.
The method of the present invention works as instrument by the way that whole machine full frequency band, full power range compensating for frequency response data are put into static RAM During state change, FPGA control devices are automatic raw in real time by the link such as blocking, comparing and be fitted according to current instrument state Into the corresponding compensating for frequency response data of current state.
Prior art compensating for frequency response data are non real-time generation, and the compensating for frequency response data of the present invention can be produced in real time It is raw, during therefore, it is possible to meet the switching of broadband signal generator fast state, the continuous state switching of especially hundred nanosecond orders pair The demand of compensating for frequency response control.
Compensating for frequency response data Real-time Generation based on static RAM and FPGA proposed by the invention is applied to broadband letter In number generator, can greatly improve instrument state at a high speed switching when frequency response index so that when improving continuous multimode test Test speed and test quality.
Presently preferred embodiments of the present invention is the foregoing is only, is not intended to limit the invention, all essences in the present invention God is with principle, and any modifications, equivalent substitutions and improvements made etc. should be included within the scope of the present invention.

Claims (2)

1. a kind of compensating for frequency response data Real-time Generation based on static RAM, it is characterised in that based on storage compensating for frequency response number According to static RAM, FPGA and auxiliary circuit for real-time searching compensating for frequency response data, comprise the following steps:
After instrument electrifying startup, the compensating for frequency response data in full frequency band, full power range are downloaded in static RAM;
When whole machine state changes, by the comparison program inside FPGA, according to corresponding to current arbitrary sequence state Frequency and preset power, draw the index address of corresponding compensating for frequency response data in real time, and start reading sequential, by the address Corresponding offset data is sent in corresponding DAC interface circuits;
The frequency control word and power control word of the FPGA receiving instrument, according to compensation data storage in frequency resolution and Power resolution, is blocked downwards to the frequency control word and power control word received;
Then the frequency control word after blocking and power control word are combined, wherein the frequency control word after blocking is used as height Bit address, the power control word after blocking is as low order address, as RAM reading address, and offset data note is read from RAM For C1;Plus 1 to address, it is C2 that offset data is read from RAM;
To block again rear frequency control word plus 1 and power control word combination as RAM read address, from RAM read data note For C3;Add 1 to address again, data are read from RAM and are designated as C4;
Respective frequencies and the offset data of power are generated by data fit procedure again.
2. the compensating for frequency response data Real-time Generation as claimed in claim 1 based on static RAM, it is characterised in that described Data fit procedure is:
C12 is the offset data for blocking rear frequency and Power Control, and computing formula is as follows:
C 12 = C 1 + C 2 - C 1 P 1 - P 0 * ( P - P 0 ) - - - ( 1 )
C34 adds 1 and the offset data of Power Control for interception frequency, and computing formula is as follows:
C 34 = C 3 + C 4 - C 3 P 1 - P 0 * ( P - P 0 ) - - - ( 2 )
C is respective frequencies control word and the offset data of power control word, and computing formula is as follows:
C = C 12 + C 34 - C 12 F 1 - F 0 * ( F - F 0 ) - - - ( 3 )
Due to F1=F0+1, P1=P0+1, institute's above formula can be reduced to:
C=C1+ (C2-C1) * (P-Po)+(C3-C1) * (F-F0)+
((C4+C1)-(C2+C3))*(F-F0)*(P-P0) (4)
P0 blocked for P after data, F0 blocked for F after data, the part that P-P0 casts out after being blocked for P, after F-F0 blocks for F The data given up.
CN201410554368.2A 2014-10-10 2014-10-10 A kind of compensating for frequency response data Real-time Generation based on static RAM Active CN104393858B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410554368.2A CN104393858B (en) 2014-10-10 2014-10-10 A kind of compensating for frequency response data Real-time Generation based on static RAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410554368.2A CN104393858B (en) 2014-10-10 2014-10-10 A kind of compensating for frequency response data Real-time Generation based on static RAM

Publications (2)

Publication Number Publication Date
CN104393858A CN104393858A (en) 2015-03-04
CN104393858B true CN104393858B (en) 2017-07-11

Family

ID=52611707

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410554368.2A Active CN104393858B (en) 2014-10-10 2014-10-10 A kind of compensating for frequency response data Real-time Generation based on static RAM

Country Status (1)

Country Link
CN (1) CN104393858B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201666935U (en) * 2009-07-16 2010-12-08 福建省普华电子科技有限公司 Winding deformation tester using analyzing method of frequency response method
CN102508045A (en) * 2010-12-20 2012-06-20 中国电子科技集团公司第四十一研究所 Method for accurately measuring narrow pulse modulation parameter
CN103647520A (en) * 2013-11-13 2014-03-19 中国电子科技集团公司第四十一研究所 Frequency agile signal frequency response compensation method based on electrically controlled attenuator
CN103645378A (en) * 2013-12-13 2014-03-19 中国电子科技集团公司第四十一研究所 High-speed seamless capture pulse power statistics measuring method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020131522A1 (en) * 2001-03-14 2002-09-19 Tilman Felgentreff Method and apparatus for the digital predistortion linearization, frequency response compensation linearization and feedforward linearization of a transmit signal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201666935U (en) * 2009-07-16 2010-12-08 福建省普华电子科技有限公司 Winding deformation tester using analyzing method of frequency response method
CN102508045A (en) * 2010-12-20 2012-06-20 中国电子科技集团公司第四十一研究所 Method for accurately measuring narrow pulse modulation parameter
CN103647520A (en) * 2013-11-13 2014-03-19 中国电子科技集团公司第四十一研究所 Frequency agile signal frequency response compensation method based on electrically controlled attenuator
CN103645378A (en) * 2013-12-13 2014-03-19 中国电子科技集团公司第四十一研究所 High-speed seamless capture pulse power statistics measuring method

Also Published As

Publication number Publication date
CN104393858A (en) 2015-03-04

Similar Documents

Publication Publication Date Title
CN101702018B (en) Calibrating method for big modulation bandwidth linear FM signal frequency response
CN105259534A (en) Generation method and device of non-linear frequency-modulated signals
CN104935535B (en) A kind of adaptive modulation bandwidth I/Q modulation error digital compensation method and system greatly
CN103149772A (en) Optical frequency comb generator based on time-frequency mapping
CN102520245A (en) Micro-grid harmonic and inter-harmonic analysis method based on cubic spline interpolation waveform reconstruction
CN103543426A (en) Interpolating compensation method for each-band calibration of network analyzer
CN103698778A (en) Amplitude and phase error signal generator
CN103178779B (en) A kind of signal generator with Amplitude Compensation function and method thereof
CN103647520B (en) A kind of frequency agility signal frequency response compensation method based on electrically controlled attenuator
CN105510706A (en) High-precision undersampling frequency measurement method
CN102608419B (en) Self-adaption instantaneous frequency measuring method with noise suppression performance
CN105607296A (en) Light pulse shaping device based on electro-optical modulator and shaping method
CN103595580A (en) Method and device for testing digital array module receiving delay
CN111123186A (en) Device and method for testing broadband characteristics of optical fiber current sensor
CN105515688B (en) A kind of calibration method of the calibration of power device of transmitter
CN107036720A (en) A kind of ultrashort chirped pulse time domain phase and frequency domain Method for Phase Difference Measurement and system
CN103576071A (en) Precise representation method of matching characteristics of power transistor
CN104393858B (en) A kind of compensating for frequency response data Real-time Generation based on static RAM
CN103618578A (en) Radio-frequency signal power agility method based on numerical control attenuation
CN207472983U (en) A kind of electric network impedance on-line identification device based on PRBS disturbance injections
CN111308207B (en) Dq impedance measuring method for single-phase alternating current system
CN111082834B (en) Radio frequency time delay rapid measuring device based on chirp signal orthogonal demodulation
CN103067105B (en) Doppler frequency shift test device, the method for Doppler frequency shift device and communication module
CN104407334A (en) Closed-loop amplitude phase test method for radar simulation equipment
CN108566259B (en) Phase jitter compensation method and compensation system

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
TR01 Transfer of patent right

Effective date of registration: 20190308

Address after: 266000 No. 98 Xiangjiang Road, Huangdao District, Qingdao City, Shandong Province

Patentee after: China Electronics Technology Instrument and Meter Co., Ltd.

Address before: 266555 No. 98 Xiangjiang Road, Qingdao economic and Technological Development Zone, Shandong

Patentee before: The 41st Institute of CETC

TR01 Transfer of patent right
CP03 Change of name, title or address

Address after: 266555 No. 98 Xiangjiang Road, Huangdao District, Qingdao City, Shandong Province

Patentee after: CLP kesiyi Technology Co.,Ltd.

Address before: 266000 No. 98 Xiangjiang Road, Huangdao District, Qingdao City, Shandong Province

Patentee before: CHINA ELECTRONIC TECHNOLOGY INSTRUMENTS Co.,Ltd.

CP03 Change of name, title or address