CN102507993B - Burst signal generator with automatic initial phase calibration function - Google Patents
Burst signal generator with automatic initial phase calibration function Download PDFInfo
- Publication number
- CN102507993B CN102507993B CN201110317655.8A CN201110317655A CN102507993B CN 102507993 B CN102507993 B CN 102507993B CN 201110317655 A CN201110317655 A CN 201110317655A CN 102507993 B CN102507993 B CN 102507993B
- Authority
- CN
- China
- Prior art keywords
- phase
- signal
- initial phase
- burst
- burst signal
- 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
Links
Images
Abstract
The invention discloses a burst signal generator with an automatic initial phase calibration function. A signal measurement unit, which is composed of an average value measurement device and a peak-to-peak value measurement device, is additionally arranged on the base of the traditional burst signal generator. The signal measurement unit is used for firstly measuring a peak-to-peak value voltage UCPP and a direct-current bias voltage deltaUDC of a continuous carrier signal, and an average value UAVE of measured burst signals, and then calculating an initial phase theta2 of an output burst signal and setting a phase difference deltatheta between an initial phase theta1 and the initial phase theta2, and increasing and decreasing a phase control word according to the phase difference deltatheta. According to the invention, the signal measurement unit is placed in the burst signal generator and a measured result is fed back to a control unit to increase and decrease the phase control word and carry out corresponding calibration on the initial phase. The calibration process does not need manual intervention and has the advantage of rapid and accurate calibration compared with the traditional method.
Description
Technical field
The invention belongs to waveform generation and field of measuring technique, more specifically say, relate to a kind of burst signal generator with automatic initial phase calibration function.
Background technology
In the technical field of electronic instrument, the application of burst signal is more and more extensive.For thering is the signal source of the function of bursting, how to guarantee the high-precision requirement of its initial phase of bursting, become that burst signal produces and fields of measurement in an important problem.
As shown in Figure 1, burst signal is actually a kind of modulation signal, is defined as after start pulse signal arrives, and exports the carrier waveform that one or several have characteristic frequency and phase place, before next start pulse signal arrives, output keeps constant direct current signal.Carrier wave can be the various common continuous waves such as sine wave, triangular wave, sawtooth wave.Fig. 1 is that initial phase is that 45 °, carrier wave are the sinusoidal wave waveform of bursting.Wherein, T is the duration of Constant Direct Current level, is the time interval of the upper pulse high level t1 finish time and the moment t2 of pulse high level arrival next time, the low level of corresponding start pulse signal; U
tDCvoltage for direct current signal.
Fast development along with digital technology, DDS technology is one of aborning a kind of common technology of burst signal, its ultimate principle is to calculate reset signal duration T according to the number of set carrier waveform, as Fig. 1 shows, the reset signal of controlling DDS phase accumulator in time T enables, periodically phase accumulator is carried out to clear operation, realize the generation of the waveform of bursting.The control of initial phase of bursting is to realize by changing the control word of phase place totalizer.In actual applications, because circuit elements device parameters is not mated and the impact of placement-and-routing, the high precision of burst signal initial phase cannot be guaranteed.Along with the application of burst signal is more and more extensive, the precision that how the to guarantee burst signal initial phase ever more important that also becomes.For the initial phase of calibration burst signal, traditional method is carried out software matching after often adopting specialized equipment to measure, but the method complex operation and consuming time.
Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art, a kind of burst signal generator with automatic initial phase calibration function is provided, can carry out fast accurate automatic calibration to the burst signal initial phase of output.
For achieving the above object, the present invention has the burst signal generator of automatic initial phase calibration function, comprises the signal generation unit, the control module that phase accumulator, reset signal generator, phase place totalizer, RAM storer, DAC and analog channel, consist of;
The carrier frequency that control module is set according to user calculates corresponding frequency control word to phase accumulator, the burst signal initial phase θ that control module is set according to user
1calculate corresponding phase control words to phase place totalizer;
Phase accumulator adds up to frequency control word, output accumulated value in phase place totalizer with phase control words phase adduction as address, reading carrier waveform data in RAM storer sends into DAC and carries out digital-to-analog conversion, generate simulating signal, simulating signal generates required carrier wave again after analog channel adjustment;
The burst frequency that control module is set according to user, reset signal generator is set, make its quenching pulse signal that produces corresponding burst frequency to phase accumulator, when quenching pulse signal is high level, enabling phase accumulator adds up, when quenching pulse signal is low level, phase accumulator stops adding up and keeps current output until quenching pulse signal starts the cumulative of next cycle while being high level;
It is characterized in that, also comprise a signal measurement unit being formed by measurement of average value device and peak-to-peak value measurement mechanism; In control module, also comprise peak-to-peak value voltage register, DC offset voltage register and mean value register;
User, set carrier frequency, burst signal initial phase θ
1, after burst frequency, the quenching pulse signal that control module is controlled reset signal generator output is high level always, and burst signal generator output continuous carrier signal, connects peak-to-peak value measurement mechanism and mean value measurement mechanism successively, the continuous carrier signal of measuring output, obtains peak-to-peak value voltage U
cPP, DC offset voltage
Δu
dC, and be stored in respectively in peak-to-peak value voltage register, DC offset voltage register;
After measuring continuous carrier signal, it is f that control module is controlled reset signal generator output burst frequency
2quenching pulse signal and send into phase accumulator, the burst signal that burst signal generator output is set; Connect measurement of average value device, measure the mean value U of burst signal
aVE, and be stored in mean value register.
In control module, by following formula, calculate the initial phase θ of output burst signal
2:
Then, calculate and set initial phase θ
1with measurement initial phase θ
2phase difference θ=θ
1-θ
2, if just, phase control words is being carried out the increase of phase difference θ corresponding amount, negative if, phase control words is carried out to phase differential | Δ θ | the minimizing of corresponding amount, the burst signal of the initial phase that output is accurately controlled.
Goal of the invention of the present invention is achieved in that
The present invention has the burst signal generator of automatic initial phase calibration function, at existing burst signal generator, on the basis of signal generation unit, control module, increased a signal measurement unit being formed by measurement of average value device and peak-to-peak value measurement mechanism.First signal measurement unit measures the peak-to-peak value voltage U of continuous carrier signal
cPP, DC offset voltage
Δu
dCand the mean value U that measures burst signal
aVE, then calculate the initial phase θ that exports burst signal
2, θ
2be the burst signal prima facies place value of measurement, according to setting initial phase θ
1with measurement initial phase θ
2calculate both phase difference θ, and according to phase difference θ, phase control words is carried out the increase of corresponding amount or reduced, the initial phase of the burst signal of output has just obtained calibration like this.In the present invention, signal measurement unit is built in burst signal generator, with original module composition feedback control loop, measurement feedback is returned to control module and phase control words is increased or reduced, and initial phase is calibrated accordingly.This calibration process, without manual intervention, is compared classic method, has the advantage of quick accurate calibration.
Accompanying drawing explanation
Fig. 1 is burst signal and as an oscillogram of the start pulse signal of modulation signal;
Fig. 2 is the theory diagram that the present invention has burst signal generator one embodiment of automatic initial phase calibration function;
Fig. 3 is actual phase oscillogram corresponding to phase value that burst signal carrier wave is measured while being sinusoidal carrier;
Fig. 4 is burst signal carrier wave calibrating principle oscillogram of the present invention while being sinusoidal carrier.
Embodiment
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described, so that those skilled in the art understands the present invention better.Requiring particular attention is that, in the following description, when perhaps the detailed description of known function and design can desalinate main contents of the present invention, these are described in here and will be left in the basket.
Fig. 2 is the theory diagram that the present invention has burst signal generator one embodiment of automatic initial phase calibration function.
In the present embodiment, as shown in Figure 2, the burst signal generator that the present invention has an automatic initial phase calibration function comprises signal generation unit 1, the control module 2 being comprised of phase accumulator, reset signal generator, phase place totalizer, RAM storer, DAC and analog channel and the signal measurement unit 3 being comprised of measurement of average value device and peak-to-peak value measurement mechanism.Frequency control word and phase control words that frequency control word register in signal generation unit 1 and phase control word register provide for storage control unit 2.
The carrier frequency f that control module 2 is set according to user
1calculate corresponding frequency control word and deposit in frequency control word register, then offer phase accumulator; The burst signal initial phase θ that control module 2 is set according to user
1calculate corresponding phase control words and deposit in phase control word register, then offer phase place totalizer.
Phase accumulator adds up to frequency control word, output accumulated value in phase place totalizer with phase control words phase adduction as address, reading carrier waveform data in RAM storer sends into DAC and carries out digital-to-analog conversion, generate simulating signal, simulating signal generates required carrier wave again after analog channel adjustment.
The burst frequency f that control module 2 is set according to user
2reset signal generator is set, make its quenching pulse signal that produces corresponding burst frequency to phase accumulator, when quenching pulse signal is high level, enabling phase accumulator adds up, when quenching pulse signal is low level, phase accumulator stops adding up and keeps current output until quenching pulse signal starts the cumulative of next cycle while being high level.Just to export burst frequency be f to burst signal generator like this
2, carrier frequency is f
1burst signal.This is the ultimate principle of the burst signal generator of prior art based on DDS.
The present invention, on the basis of existing burst signal generator, has increased a signal measurement unit being comprised of measurement of average value device and peak-to-peak value measurement mechanism on the basis of signal generation unit, control module.In control module, increased have peak-to-peak value voltage register, DC offset voltage register and mean voltage register, for storing the peak-to-peak value voltage U of continuous carrier signal
cPP, DC offset voltage
Δu
dCand the mean value U that measures burst signal
aVE.
Calibration and the course of work are as follows:
User, set carrier frequency f
1burst signal initial phase θ
1, burst frequency f
2after, the quenching pulse signal that control module 2 is controlled reset signal generator output is high level always, burst signal generator output frequency is f
1continuous carrier signal, connect successively peak-to-peak value measurement mechanism and mean value measurement mechanism, measure the continuous carrier signal of output, obtain peak-to-peak value voltage U
cPP, DC offset voltage
Δu
dC, and be stored in respectively in peak-to-peak value voltage register, DC offset voltage register;
After measuring continuous carrier signal, it is f that control module 2 is controlled reset signal generator output burst frequency
2quenching pulse signal and send into phase accumulator, the burst signal that burst signal generator output is set; Connect measurement of average value device, measure the mean value U of burst signal
aVE, and be stored in mean voltage register;
In control module 2, by following formula, calculate the initial phase θ of output burst signal
2:
Then, calculate and set initial phase θ
1with measurement initial phase θ
2phase difference θ=θ
1-θ
2, if just, phase control words is being carried out the increase of phase difference θ corresponding amount, negative if, phase control words is carried out to phase differential | Δ θ | the minimizing of corresponding amount, output is the burst signal of the initial phase of control accurately, has realized the quick accurate calibration of initial phase.
In the present embodiment, carrier wave is sinusoidal wave, and the cycle is that the sinusoidal carrier of 2 π be take x=pi/2 as even symmetry, as shown in Figure 3, and initial phase θ
2while being 30 ° and 150 °, correspondence identical sine function, now should do concrete judgement by the setting value of initial phase.If initial phase setting value is θ
1(θ
190 ° of >), time, measured value is θ
2(θ
290 ° of <), actual measured value should be 180 °-θ
2; If θ
190 ° of <, actual measured value should be θ
2.
Fig. 4 is burst signal carrier wave calibrating principle oscillogram of the present invention while being sinusoidal carrier.
The measuring principle of DC level is that the mean value of signal is measured.Following discussion is with DC-offset correction voltage
Δu
dCbasis on carry out.Definition phase value θ
3: θ
3for according to user's setting value θ
1and the actual phase value producing, phase value θ
2to θ
3measured value.As shown in Figure 4, U
tDCinitial phase θ for the sinusoidal carrier burst signal of burst signal generator output
3corresponding amplitude, U
aVEfor the mean value of the burst signal measured, U
cPPpeak-to-peak value voltage for carrier signal.In Fig. 4, definition S1, S2, S3, S4, S5, S6 are respectively the initial phase θ of sinusoidal carrier burst signal
3time represented each dash area area.
In Fig. 4, the initial phase θ of sinusoidal carrier burst signal
3for:
The initial phase θ of sinusoidal carrier burst signal
3corresponding DC level is U
tDC, the area in corresponding diagram 4 is:
Obtain
The mean value U of the burst signal of measuring
aVEwith U
tDCbetween had certain error, in Fig. 4, the algebraic sum of actual measurement part area can be expressed as:
Obtain
The measured value θ of the initial phase of sinusoidal carrier burst signal
2for:
By formula (4) and formula (6), obtain U
aVEwith U
tDCerror be:
Try to achieve
Thus can be in the hope of the mean value U of sinusoidal carrier burst signal
aVEthe error delta producing is
So the error that use the present invention measures burst signal initial phase is mainly by f
2/ f
1introduce.When bursting waveform initial phase one regularly, f
2/ f
1value less, precision is higher; Otherwise, lower.
Example
Because the present invention is higher to the accuracy requirement of voltage measurement, so in specific implementation process, use high-precision voltage measuring apparatus in signal measurement unit.The measuring accuracy of signal measurement unit is 6 half in this example.Meanwhile, because the present invention is self-operated measuring unit, so in the concrete process of implementing, all measuring processes are for automatically completing.Take sinusoidal carrier burst signal as example, introduce the course of work as follows:
1. a frequency of signal generation unit generation is the continuous sine wave signal that 100kHz, amplitude are 1V after setting completed, connects successively measurement of average value device and peak-to-peak value measurement mechanism, records measurement result U
cPPwith
Δu
dC, measurement result is inserted in table 1.
2. burst signal generator produces burst signal: initial phase is 0, and burst frequency is 100Hz, and carrier wave is sinusoidal wave, and carrier amplitude is that 1V, frequency are 100kHz.Measure its mean value level U
tDC, the result of measurement is inserted in table 1.
3. calculate the measured value θ of initial phase
2with phase deviation Δ θ, insert in table 1.
Table 1 for initial phase be 0 o'clock measurement data.
Table 1
Table 2 for the sinusoidal carrier burst signal waveform of bursting be 100Hz, the initial phase calibration value of bursting under the condition that carrier signal is 100KHz.
Table 2
The experimental test data of sinusoidal carrier burst signal initial phase testing and calibration provide in table 2.Above-mentioned measurement data is analyzed, can be shown that the method can carry out accurate calibration to burst signal initial phase effectively.Simultaneously, when the carrier waveform of burst signal is that triangular wave, sawtooth wave etc. can be described with formula, and in cycle (within the scope of 0-2 π as sawtooth wave etc.), semiperiod (within the scope of 0-π as triangular wave etc.) or the 1/4 cycle scope such as (within the scope of 0-pi/2 as sinusoidal wave), wave-shape amplitude is strictly monotone increase (or strictly monotone minimizing), all can adopt this invention to carry out accurate calibration to burst signal initial phase.
Visible result of the present invention is accurate, can to the initial phase of burst signal, calibrate quickly and accurately.
Although above the illustrative embodiment of the present invention is described; so that the technician of this technology neck understands the present invention; but should be clear; the invention is not restricted to the scope of embodiment; to those skilled in the art; as long as various variations appended claim limit and definite the spirit and scope of the present invention in, these variations are apparent, all utilize innovation and creation that the present invention conceives all at the row of protection.
Claims (2)
1. a burst signal generator with automatic initial phase calibration function, comprises the signal generation unit, the control module that phase accumulator, reset signal generator, phase place totalizer, RAM storer, DAC and analog channel, consist of;
The carrier frequency that control module is set according to user calculates corresponding frequency control word to phase accumulator, the setting initial phase θ of the burst signal that control module is set according to user
1calculate corresponding phase control words to phase place totalizer;
Phase accumulator adds up to frequency control word, output accumulated value in phase place totalizer with phase control words phase adduction as address, reading carrier waveform data in RAM storer sends into DAC and carries out digital-to-analog conversion, generate simulating signal, simulating signal generates required carrier wave again after analog channel adjustment;
The burst frequency that control module is set according to user, reset signal generator is set, make its quenching pulse signal that produces corresponding burst frequency to phase accumulator, when quenching pulse signal is high level, enabling phase accumulator adds up, when quenching pulse signal is low level, phase accumulator stops adding up and keeps current output until quenching pulse signal starts the cumulative of next cycle while being high level;
It is characterized in that, also comprise a signal measurement unit being formed by measurement of average value device and peak-to-peak value measurement mechanism; In control module, also include peak-to-peak value voltage register, DC offset voltage register and mean voltage register;
User, set the setting initial phase θ of carrier frequency, burst signal
1, after burst frequency, the quenching pulse signal that control module is controlled reset signal generator output is high level always, and burst signal generator output continuous carrier signal, connects peak-to-peak value measurement mechanism and mean value measurement mechanism successively, the continuous carrier signal of measuring output, obtains peak-to-peak value voltage U
cPP, DC offset voltage
Δu
dC, and be stored in respectively in peak-to-peak value voltage register, DC offset voltage register;
After measuring continuous carrier signal, it is f that control module is controlled reset signal generator output burst frequency
2quenching pulse signal and send into phase accumulator, the burst signal that burst signal generator output is set; Connect measurement of average value device, measure the mean value U of burst signal
aVE, and be stored in mean voltage register;
In control module, by following formula, calculate the measurement initial phase θ of output burst signal
2:
Then, calculate and set initial phase θ
1with measurement initial phase θ
2phase difference θ=θ
1-θ
2, if just, phase control words is being carried out the increase of phase difference θ corresponding amount, negative if, phase control words is carried out to phase differential | Δ θ | the minimizing of corresponding amount, the burst signal of the initial phase that output is accurately controlled.
2. the burst signal generator with automatic initial phase calibration function according to claim 1, is characterized in that, described carrier wave is sinusoidal wave, sets initial phase θ
1in the time of >90 °, measure initial phase θ
2be modified to 180 °-θ of actual measured value
2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110317655.8A CN102507993B (en) | 2011-10-19 | 2011-10-19 | Burst signal generator with automatic initial phase calibration function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110317655.8A CN102507993B (en) | 2011-10-19 | 2011-10-19 | Burst signal generator with automatic initial phase calibration function |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102507993A CN102507993A (en) | 2012-06-20 |
CN102507993B true CN102507993B (en) | 2014-03-26 |
Family
ID=46220099
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110317655.8A Expired - Fee Related CN102507993B (en) | 2011-10-19 | 2011-10-19 | Burst signal generator with automatic initial phase calibration function |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102507993B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104660226B (en) * | 2013-11-22 | 2019-04-12 | 苏州普源精电科技有限公司 | It is a kind of to burst the signal generator of function with gate |
CN103675372A (en) * | 2013-12-16 | 2014-03-26 | 上海华岭集成电路技术股份有限公司 | Random-order electrical level generator |
CN103701462B (en) * | 2013-12-23 | 2016-07-13 | 广西大学 | The self-tuning signal generator of high-precision phase position based on FPGA |
CN108132448B (en) * | 2017-12-26 | 2021-07-06 | 北京无线电计量测试研究所 | Device and method for calibrating phase zero of phase generator |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3142856B2 (en) * | 1990-04-13 | 2001-03-07 | 日置電機株式会社 | Control method of setting contents in standard voltage current generator |
CN101149630A (en) * | 2007-09-28 | 2008-03-26 | 电子科技大学 | DDS signal source amplitude-frequency characteristic compensation method and related DDS signal source |
CN101799704A (en) * | 2010-03-23 | 2010-08-11 | 电子科技大学 | Multichannel DDS signal generator with precise phase control function |
CN101799705A (en) * | 2010-03-23 | 2010-08-11 | 电子科技大学 | High-speed DDS signal generator |
-
2011
- 2011-10-19 CN CN201110317655.8A patent/CN102507993B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3142856B2 (en) * | 1990-04-13 | 2001-03-07 | 日置電機株式会社 | Control method of setting contents in standard voltage current generator |
CN101149630A (en) * | 2007-09-28 | 2008-03-26 | 电子科技大学 | DDS signal source amplitude-frequency characteristic compensation method and related DDS signal source |
CN101799704A (en) * | 2010-03-23 | 2010-08-11 | 电子科技大学 | Multichannel DDS signal generator with precise phase control function |
CN101799705A (en) * | 2010-03-23 | 2010-08-11 | 电子科技大学 | High-speed DDS signal generator |
Non-Patent Citations (3)
Title |
---|
多通道任意波形发生器精密相位控制方法;刘科等;《信息与控制》;20110430;第40卷(第2期);209-213 * |
直接数字式频率合成信号的滤波处理;周鹏等;《测控技术》;20041231;第23卷(第9期);14-16 * |
高精度可连续调节宽带猝发信号发生器设计;夏志敏等;《制造业自动化》;20060930;第28卷(第9期);86-88、91 * |
Also Published As
Publication number | Publication date |
---|---|
CN102507993A (en) | 2012-06-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104460304B (en) | High-resolution time interval measurer with function of automatic correction | |
CN102507993B (en) | Burst signal generator with automatic initial phase calibration function | |
CN106569544B (en) | Real-time timepiece chip and its clock correcting method, device | |
CN104199276B (en) | FPGA-based (field programmable gate array based) signal time difference measurement method and FPGA-based time-to-digital converter | |
US11552338B2 (en) | Method of monitoring a battery, monitoring system and monitoring circuit | |
CN104678343A (en) | Frequency response characteristic calibration method, device and system of waveform generator | |
CN105978555A (en) | Real-time clock timing precision correction circuit and method with temperature compensation function | |
CN110708047B (en) | Structure and method for measuring precision of high-speed comparator based on TDC chip | |
CN103499743B (en) | The system of a kind of high-acruracy survey resistance capacitance and circuit | |
CN104297716A (en) | Intelligent electric meter RTC calibrating method | |
CN106124033B (en) | Large-trigger-delay accumulated calibration method for laser vibration measurement calibration | |
CN108196217B (en) | Direct current metering method and system for off-board charger current calibration instrument | |
CN210005677U (en) | Electric energy meter basic error testing device considering temperature and current change | |
CN106291102B (en) | A kind of Frequency Standard Comparison device and method | |
CN105629329B (en) | The method for calibrating the standby duration of proximity test sensor and associated sensor | |
CN104300985B (en) | A kind of integration type A/D convertor circuit and method based on step-by-step counting | |
CN104035320B (en) | A kind of system and method for realizing time interval measurement | |
CN105571666A (en) | Flow compensation method, compensation device and flow sensor | |
CN104635193B (en) | A kind of SOC real-time clock high-accuracy compensation method of ammeter | |
CN104880609A (en) | Method for measuring parasitic capacitance of circuit through ATE | |
CN215526371U (en) | Delay line time difference measuring device based on FPGA | |
US20140114593A1 (en) | Apparatus and method for calculating electrical charge quantity or electrical discharge quantity for battery unit according to calibration parameter used for adjusting time interval of electrical charge/discharge calculation, and method for calibrating integral time interval | |
CN106647226A (en) | Time digital converter, error correcting device and error correcting method | |
RU2338212C1 (en) | Method for defining phase shift angle between two signals represented by digital readings | |
CN104391175A (en) | Frequency measurement system capable of realizing wide frequency range disclosure and phase information keeping as well as frequency measurement method thereof |
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 |
Granted publication date: 20140326 Termination date: 20161019 |
|
CF01 | Termination of patent right due to non-payment of annual fee |