CN105680800B - Signal generator with frequency sweeping function - Google Patents

Signal generator with frequency sweeping function Download PDF

Info

Publication number
CN105680800B
CN105680800B CN201410653874.7A CN201410653874A CN105680800B CN 105680800 B CN105680800 B CN 105680800B CN 201410653874 A CN201410653874 A CN 201410653874A CN 105680800 B CN105680800 B CN 105680800B
Authority
CN
China
Prior art keywords
frequency
sweep
return
control word
time
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
CN201410653874.7A
Other languages
Chinese (zh)
Other versions
CN105680800A (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.)
Puyuan Jingdian Technology Co ltd
Original Assignee
Puyuan Jingdian Technology Co ltd
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 Puyuan Jingdian Technology Co ltd filed Critical Puyuan Jingdian Technology Co ltd
Priority to CN201410653874.7A priority Critical patent/CN105680800B/en
Publication of CN105680800A publication Critical patent/CN105680800A/en
Application granted granted Critical
Publication of CN105680800B publication Critical patent/CN105680800B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measurement Of Resistance Or Impedance (AREA)
  • Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)

Abstract

A signal generator with frequency sweep functionality, comprising: the DDS signal source is used for generating a sweep frequency signal according to the sweep frequency control word; the sweep-wave table generating unit includes: an input unit for generating a scan time, a scan type, a return time, a return type, a start frequency, and a stop frequency according to a user input; the calculating unit is used for generating corresponding forward frequency sweeping frequency control words according to the scanning time, the scanning type, the starting frequency and the terminating frequency and generating corresponding return frequency sweeping frequency control words according to the return time, the return type, the starting frequency and the terminating frequency; and the control unit is used for controlling the forward frequency sweeping frequency control word and the return frequency sweeping frequency control word to be sequentially sent to the DDS signal source according to the scanning time and the return time. The signal generator of the invention allows a user to set forward scanning parameters and return scanning parameters respectively, thereby increasing the flexibility of the frequency sweeping function.

Description

Signal generator with frequency sweeping function
Technical Field
The invention relates to the technical field of measurement and testing, in particular to a signal generator with a frequency sweeping function.
Background
In the technical field of measurement and test, a signal generator is a common excitation source, and is mainly used for simulating various real signals, serving as input excitation of a circuit or system to be tested, and providing a simulation environment for various performance indexes of the circuit or system to be tested. Most of the existing signal generators have powerful signal generating capability, such as: 1. can generate basic common function waveforms such as sine waves, square waves, triangular waves, sawtooth waves, pulse waves and the like; 2. can generate digital and analog modulation signals; 3. a sweep frequency signal with continuously changing frequency can be generated; 4. the pulse train output of various waveform functions can be generated; 5. any waveform output may be generated, and so on.
The signal generator has a frequency sweep function, i.e. the frequency of the carrier signal is repeatedly and continuously changed in a certain range along with a certain rule. The frequency sweeping function is an important technology in electronic measurement and is widely used for measuring frequency characteristics of frequency modulation amplifiers, broadband amplifiers, various filters, phase detectors and other active or passive networks.
Besides being used as a single measuring instrument, the signal generator also appears to be used as an oscilloscope and other measuring instruments integrating the function of the signal generator. However, whether it is a separate signal generator or a signal generator integrated in an oscilloscope, in order to meet the user's needs, the signal generator is required to have a frequency sweeping function.
The existing signal generator is generally implemented by using a Direct Digital Frequency Synthesis (DDS) technique. The DDS technique is a technique for realizing frequency synthesis by using a full digital technique, and far exceeds the level of the conventional frequency synthesis technique in a series of performance indexes such as relative bandwidth, frequency conversion time, frequency resolution, phase continuity, quadrature output, integration and the like, and is widely applied.
Chinese patent application No. 201010531140.3 discloses a DDS signal generator 100, and referring to fig. 1, the signal generator 100 includes a DDS signal source 101, a frequency control word storage unit 105 (i.e., a wave table), a digital-to-analog converter 105, a low-pass filter and other signal conditioning analog circuits 107, and a clock 108, wherein the DDS signal source 101 includes a phase accumulator 104, an adder 102, and a waveform memory 103.
The frequency control word storage unit 105 stores a frequency control word K, and sends the frequency control word K to the phase accumulator 104 when the signal generator 100 works;
the phase accumulator 104 accumulates by taking the frequency control word K as a step under the control of a clock fc output by a clock 108, and outputs an accumulation result to the adder 102;
adder 102 adds the accumulated result output by phase accumulator 104 to a phase control word P, and the result is the address of waveform memory 103;
addressing the waveform memory 103 according to the calculated address of the waveform memory 103, taking out a corresponding amplitude code value, and outputting the amplitude code value to the digital-to-analog converter 105;
the digital-to-analog converter 105 converts the received amplitude code value into a step-like analog signal, and the step-like analog signal is a smooth analog output signal after being conditioned by the signal conditioning analog circuit 107.
When the frequency sweep function is implemented by the signal generator 100, the frequency control word K in the frequency control word storage unit 105 needs to be changed to change according to the rule required by the user. Specifically, the user may set various parameters required for the frequency sweep through the human-computer interaction module of the signal generator 100: start frequency, end frequency, scan time and return time, scan type, or there may also be start hold time, end hold time, trigger mode, etc.
For example, a signal generator DG4000 on the market is a kind of the signal generator 100, and a user can set parameters such as a start frequency, an end frequency, a scan time and a return time, a scan type, a start hold time, an end hold time, a trigger mode, etc. to generate the frequency sweep signal as shown in fig. 2. In fig. 2, the horizontal axis of the coordinate is time, the vertical axis is output frequency, the default time when the trigger signal arrives is 0, and according to the setting of the user, the whole frequency sweeping process is as follows:
first, in the initial holding time t0, the output frequency is the initial frequency ft;
then, within the scanning time t1, the output frequency gradually changes from the start frequency ft to the end frequency fp, the changing mode is determined by the scanning type;
then, during the termination holding time t2, the output frequency is held at fp;
then, in the return time t3, the output frequency changes from the end frequency fp to the start frequency ft in a manner determined by the scanning type;
finally, the start frequency ft (or 0, etc.) is held, and the arrival of the next trigger signal is waited for.
From the above-described sweep process, it can be seen that the scan types are the same (except that the variation is just opposite) in the scan time t1 and the return time t3, for example, both are linear scans or step scans. This is because the signal generator 100 calculates a set of frequency control words Kn from the parameters such as the start frequency and the end frequency set by the user and stores the frequency control words Kn in the frequency control word storage unit 105, and the signal generator 100 takes out the frequency control words Kn one by one from the beginning to the end during the scanning time t 1; during the return time t3, the signal generator 100 fetches the frequency control words K one by one from the back to the front, and the only difference is the fetching speed (sweep speed) determined by the sweep time t1 and the return time t 3.
The frequency control word is stored in a small storage unit, so that the frequency control word is low in cost. But also has disadvantages: the sweep function is single, and the sweep types in the sweep time t1 and the return time t3 must be consistent, so that the limitation influences the diversity of the output waveforms of the sweep function, and the actual requirements of users cannot be met.
Disclosure of Invention
In order to solve the above problems, the present invention provides a signal generator with frequency sweep function, so that a user can set the scanning types in the scanning time and the return time respectively, and the frequency sweep function is expanded.
The signal generator with the frequency sweeping function comprises a frequency sweeping wave table generating unit, a DDS signal source,
the sweep frequency wave table generating unit is used for generating sweep frequency control words,
the DDS signal source is used for generating a frequency sweeping signal according to the frequency sweeping frequency control word;
the sweep wave table generating unit includes:
an input unit for generating a scan time, a scan type, a return time, a return type, a start frequency, and a stop frequency according to a user input;
the computing unit is used for generating corresponding forward frequency sweeping frequency control words according to the scanning time, the scanning type, the starting frequency and the ending frequency, and generating corresponding return frequency sweeping frequency control words according to the return time, the return type, the starting frequency and the ending frequency;
and the control unit is used for controlling the forward frequency sweeping frequency control word and the return frequency sweeping frequency control word to be sequentially sent to the DDS signal source according to the scanning time and the return time.
The signal generator divides the frequency sweeping function into two frequency sweeping processes of forward frequency sweeping (corresponding to scanning time) and return frequency sweeping (corresponding to return time), so that a user can respectively set the scanning type and scanning time in the forward frequency sweeping and the return type and return time in the return frequency sweeping, then respectively calculate a forward frequency sweeping frequency control word and a return frequency sweeping frequency control word according to the starting frequency and the ending frequency, and then the DDS signal source can respectively generate a corresponding forward frequency sweeping signal and a corresponding return frequency sweeping signal according to the forward frequency sweeping frequency control word and the return frequency sweeping frequency control word, finally, the purpose that the user can independently set the forward frequency sweeping type and the return type is achieved, and the frequency sweeping function of the signal generator is expanded.
As an illustration, in the signal generator of the present invention, the signal generator further includes a carrier wave table, a forward swept wave table, and a return swept wave table;
the calculation unit includes:
a first calculating unit, configured to calculate, according to the smaller of the starting frequency and the terminating frequency, a corresponding frequency control word as a carrier frequency control word, and store the carrier frequency control word in the carrier wave table;
the second calculation unit is used for calculating and obtaining the accumulated amount of the control words of the forward sweep frequency according to the scanning time, the scanning type, the starting frequency and the ending frequency and storing the accumulated amount of the control words of the forward sweep frequency in the forward sweep wave table;
the third calculating unit is used for calculating and obtaining the control word accumulation amount of the returned sweep frequency according to the returned time, the returned type, the starting frequency and the ending frequency, and storing the control word accumulation amount in the returned sweep frequency wave table;
the first adder is used for adding the carrier frequency control word and the accumulated amount of the forward frequency sweeping frequency control word to obtain a forward frequency sweeping frequency control word;
and the second adder is used for adding the carrier frequency control word and the accumulated amount of the returned frequency sweeping frequency control word to obtain the returned frequency sweeping frequency control word.
As another example, in the signal generator of the present invention, the forward and return sweep-wave tables have the same storage depth.
As still another illustration, in the signal generator of the present invention, the scanning type is linear scanning, logarithmic scanning or step scanning; the return type is linear scan, logarithmic scan, or step scan.
As still another example, in the signal generator of the present invention, the control unit includes a sweep frequency speed control unit, a counter,
the sweep frequency speed control unit is used for generating forward sweep frequency speed control words according to the scanning time and the storage depth of the forward sweep frequency wave table and generating return sweep frequency speed control words according to the return time and the storage depth of the return sweep frequency wave table;
and the counter is used for respectively controlling the first adder and the second adder according to the forward frequency sweeping speed control word and the return frequency sweeping speed control word in sequence and sending the forward frequency sweeping frequency control word and the return frequency sweeping frequency control word to the DDS signal source in sequence.
As another example, in the signal generator of the present invention, the first adder and the second adder are the same adder.
As another example, in the signal generator of the present invention, the DDS signal source, the carrier wave table, the forward swept wave table, the return swept wave table, and the control unit are all implemented by an FPGA type programmable logic chip.
The invention provides a signal generator with a frequency sweeping function, which can enable a user to independently set a forward frequency sweeping type and a return type respectively, and expand the frequency sweeping function of the signal generator.
Drawings
FIG. 1 is a schematic diagram of the structure of a signal generator 100 of the present invention;
FIG. 2 is a schematic diagram of a swept frequency signal output by the signal generator 100 of the present invention;
FIG. 3 is a schematic diagram of the structure of a signal generator 300 of the present invention;
FIG. 4 is a schematic menu diagram of signal generator 300 of the present invention;
FIG. 5 is a schematic diagram of yet another menu of the signal generator 300 of the present invention;
FIG. 6 is a schematic diagram of yet another configuration of the signal generator 300 of the present invention;
FIG. 7 is a schematic diagram of yet another configuration of the signal generator 300 of the present invention;
FIG. 8 is a schematic diagram of yet another configuration of signal generator 300 of the present invention;
fig. 9 is a schematic diagram of the output swept frequency signal of the signal generator 300 of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Referring to fig. 3 in combination, the present invention discloses a signal generator 300 with frequency sweep function, where the signal generator 300 includes a swept-wave-meter generating unit 301 and a DDS signal source 302; the sweep wave table generating unit 301 comprises an input unit 303, a calculating unit 304 and a control unit 305;
the output end of the input unit 303 is connected to the input ends of the computing unit 304 and the control unit 305, respectively, the output end of the computing unit 304 is connected to the input end of the DDS signal source 302, the output end of the control unit 305 is connected to the control end of the computing unit 304, and the output end of the DDS signal source 302 outputs a digital frequency sweep signal.
During specific work, a user inputs parameters such as scanning time t1, scanning type, returning time t3, returning type, starting frequency ft, terminating frequency fp and the like into the signal generator 300 according to the requirement of the user;
the input unit 303 generates corresponding scan time t1, scan type, return time t3, return type, start frequency ft, end frequency fp according to the user input, and sends the above parameters to the calculation unit 304 and the control unit 305;
the calculating unit 304 generates a corresponding forward frequency sweeping frequency control word K according to the scanning time t1, the scanning type, the starting frequency ft and the ending frequency fp, and generates a corresponding return frequency sweeping frequency control word K' according to the return time t3, the return type, the starting frequency ft and the ending frequency fp;
the control unit 305 sequentially controls the forward sweep frequency control word K and the return sweep frequency control word K' according to the scan time t1 and the return time t3 to be sequentially sent to the DDS signal source 302;
the DDS signal source 302 sequentially generates frequency sweep signals according to the forward frequency sweep frequency control word K and the return frequency sweep frequency control word K'.
In this embodiment, the input unit 303 may be formed by a physical keyboard and a display screen, and the user may select and input various parameters through the keyboard and the display screen.
For example, the scan and the return are divided into two corresponding parts, i.e. a first level menu, and referring to fig. 4, the first level menu includes a scan S1 (corresponding to a scan time t1) and a return S2 (corresponding to a return time t3), the scan S1 has a sub-menu time S3 (i.e. a scan time t1) and a type S4 (i.e. a scan type), and the return S2 has a sub-menu time S5 (i.e. a return time t3) and a type S6 (i.e. a return type), wherein the types S4 and S6 can be set to a switching mode for directly letting the user switch to select a desired type.
In this mode, the user may first set the parameters under scanning S1, and after selecting the sub-menu time S3, the user may set the scanning time t1, and the setting of the scanning time t1 may be in the form of a knob, up-down, left-right keys, or numeric keys; after selecting the sub-menu type S4, the user can switch to select the corresponding type, such as linear, logarithmic, step, etc.
The user may then set the parameters back to S2, which may be set in the same manner as set scan S1.
Of course, in the first-level or second-level menu, the user is also required to set the start frequency ft and the end frequency fp, and only needs to set once.
As a variation, the input unit 303 may also be implemented by a touch screen or an external interface, and at this time, the user may input various parameters through other devices such as an upper computer.
As a variation, the scan and return can be set in other menu forms, and referring to fig. 5, the first level menu includes a sweep type S7, a scan time S8, a return time S9, etc. (which may also include a start frequency ft and an end frequency fp), wherein the scan type S7 includes a second level menu scan type S10 and a return type S11, and setting of various parameters can also be implemented.
It should be noted that the first-level menu and the second-level menu are relative, and do not refer to the first-level menu in the signal generator 300, but refer to the menu setting mode under the frequency sweep function.
By way of example, with reference to fig. 6, the computing unit 304 includes:
a first calculating unit 601, which calculates a corresponding frequency control word as a carrier frequency control word K0 according to the smaller of the start frequency ft and the end frequency fp, and stores the carrier frequency control word K0 in a carrier wave table 604;
the second calculating unit 602, calculating the accumulated amount of the forward sweep frequency control word K1 according to the scanning time t1, the scanning type, the starting frequency ft and the ending frequency fp, and storing the accumulated amount in a forward sweep wavetable 605;
a third calculating unit 603, configured to calculate an accumulated amount K1 'of the returned swept frequency control word according to the return time t3, the return type, the start frequency ft, and the end frequency fp, and store the accumulated amount K1' in a returned swept wave table 606;
a first adder 607, configured to add the carrier frequency control word K0 and the forward frequency sweep frequency control word accumulation amount K1 to obtain a forward frequency sweep frequency control word K;
a second adder 608, configured to add the carrier frequency control word K0 and the accumulated amount of returned swept frequency control words K1 'to obtain a returned swept frequency control word K'.
The first calculation unit 601, the second calculation unit 602 and the third calculation unit 603 are separately arranged from the first adder 607 and the second adder 608, so that the calculation flow is clear; it is also convenient for the entire calculation unit 304 and the plurality of wavetables to be implemented using suitable chips.
The specific calculation methods are all the prior art, for example:
the start frequency ft and the end frequency fp set by the user are smaller and larger (if the two frequencies are equal, the frequency of the output signal is always consistent, and the frequency sweeping function is not generally used), the first calculating unit 601 fetches the smaller of the two (in this example, the default start frequency ft is smaller and fp is larger), and according to the calculation formula K0, ft × 2 is obtainedn/fclkCalculating a carrier frequency control word K0, where fclkIs the clock of the computing unit 304, n is the number of bits (alternatively referred to as word length) of the phase accumulator (i.e., the module that directly receives the forward swept frequency control word K and the return swept frequency control word K') in the DDS signal source 302, and stores the carrier frequency control word K0 in the carrier wave table 604.
The second calculating unit 602 and the third calculating unit 603 determine their calculating formulas according to the scan type and the return type:
step value when the scan type is linear scan
Figure BDA0000609713250000071
N is the storage depth of the forward sweep waveform table 605 (for example, may be 2K, that is, 2048 points), and at this time, the default start frequency ft is smaller than the end frequency fp; then the accumulated amount of the forward sweep frequency control word K1 stored in the forward sweep waveform table 605 is step i; i is taken from 0 to N-1.
Similarly, when the return type is linear scan, step by step
Figure BDA0000609713250000072
M is the storage depth of the return sweep-frequency wave table 606, and at this time, the default starting frequency ft is smaller than the ending frequency fp; then the accumulated amount of the returned swept frequency control word K1' step [ (M-1) -i) stored in the returned swept wave table 606 is stored]And i is taken from 0 to M-1.
When the scan type is step scan, the step value
Figure BDA0000609713250000073
Q is the number of scanning steps, and the default starting frequency ft is smaller than the ending frequency fp; then the accumulated amount of the forward sweep frequency control word stored in the forward sweep waveform table 605
Figure BDA0000609713250000074
i takes values from 1 to Q.
Similarly, when the return type is step scan, the step value
Figure BDA0000609713250000081
P is the number of return steps, the accumulated amount of return sweep frequency control words stored in the return sweep wave table 606
Figure BDA0000609713250000082
i takes values from 0 to P-1.
Similarly, the scan type and the return type may be set to other scanning modes such as logarithmic scan, and the present invention is not described in detail.
As a variation, the calculating unit 304 may also directly calculate the forward sweep frequency control word K according to the scanning time t1, the scanning type, the start frequency ft, and the end frequency fp, and directly calculate the return sweep frequency control word K' according to the return time t3, the return type, the start frequency ft, and the end frequency fp, and respectively store them in a wave table.
As a variation, the first adder 607 and the second adder 608 may be the same adder, and perform addition in time-sharing manner.
Illustratively, the carrier wave table 604, the forward sweep wave table 605 and the return sweep wave table 606 may be different address segments of the same memory, or may be different memories.
For illustration, the storage depths of the forward swept wave table 605 and the return swept wave table 606 may be the same or different.
As an example, referring to fig. 7 in combination, the control unit 305 includes a sweep rate control unit 701 and a counter 702. The sweep frequency speed control unit 701 generates a forward sweep frequency speed control word according to the scanning time t1 and the storage depth of the forward sweep wave table 605, and generates a return sweep frequency speed control word according to the return time t3 and the storage depth of the return sweep wave table 606; the counter 702 sequentially controls the first adder 607 and the second adder 608 according to the forward frequency sweeping speed control word and the return frequency sweeping speed control word, and sequentially sends the forward frequency sweeping frequency control word and the return frequency sweeping frequency control word to the DDS signal source 302.
Specifically, the forward sweep speed control word is equal to the scanning time t1 divided by the storage depth of the forward sweep wavetable 605; the return sweep speed control word is equal to the return time t2 divided by the storage depth of the return sweep wavetable 606. The counter 702 counts the clock of the signal generator 300 (generally, the same as the clock of the computing unit 304), and when the count reaches the forward sweep frequency speed control word or the returned sweep frequency speed control word, the computing unit 304 is controlled to extract the next accumulated forward sweep frequency control word K1 or the next accumulated returned sweep frequency control word K1' from the corresponding forward sweep frequency wave table 605 or the returned sweep frequency wave table 606, so as to calculate the forward sweep frequency control word or the returned sweep frequency control word, and sequentially send the forward sweep frequency control word or the returned sweep frequency control word to the DDS 302 signal source, so as to control and adjust the output frequency of the DDS signal source 302.
As a variant, the control unit 305 may comprise two sweep speed control units and two counters, which may control the forward and return sweeps, respectively.
As another variation, the control unit 305 may also use other methods such as timing to control the frequency sweep.
Illustratively, the DDS signal source 302 may be various existing DDS signal sources, such as DDS signal source 101 in the background of the invention.
As a variation, referring to fig. 8 in combination, the DDS signal source 302 may have another structure, and unlike the DDS signal source 101, the DDS signal source 302 shown in fig. 8 is further provided with another adder 803 between the adder 102 and the waveform memory 103, where the adder 803 is configured to add the result output by the adder 102 to a waveform control word, and then send the result to the waveform memory 103 for addressing.
Referring to fig. 8, the signal generator 300 generally includes a clock 108, a digital-to-analog converter 106, a low-pass filter, and other signal conditioning analog circuits 107, which are not described in detail since they do not relate to the inventive subject matter of the present invention.
For an illustration, the DDS signal source 302, the carrier wave table 604, the forward sweep wave table 605, the return sweep wave table 606, and the control unit 305 are all implemented by an FPGA type programmable logic chip.
As a modification, the DDS signal source 302, the carrier wave table 604, the forward direction swept wave table 605, the return swept wave table 606, and the control unit 305 may be implemented by other types of chips such as a CPLD type chip.
As another variation, the DDS signal source 302, the carrier wave table 604, the forward swept wave table 605, the return swept wave table 606, and the control unit 305 may be implemented by different chips, for example, the carrier wave table 604, the forward swept wave table 605, and the return swept wave table 606 may be implemented by a single RAM memory.
As an illustration, the computing unit 304 is implemented by an ARM chip.
As a variation, the calculation unit 304 may also be implemented by other chips such as a DSP chip.
As a further variation, the calculation unit 304 may also be implemented by a plurality of chips, for example, the first calculation unit 601, the second calculation unit 602, and the third calculation unit 604 are implemented by an ARM chip, and the first adder 607 and the second adder 608 are implemented by an FPGA type programmable logic chip.
The present invention provides a signal generator 300 with frequency sweep function, which is combined with fig. 9, and a user can generate a frequency sweep signal as shown in fig. 9 if necessary, and the frequency sweep function works as follows:
firstly, a user respectively sets sweep frequency parameters such as scanning time t1, scanning type (such as logarithmic scanning), returning time t3, returning type (such as step scanning), starting frequency ft, ending frequency fp and the like through a man-machine interaction mode; related parameters including inspiration hold time t0, expiration hold time t2, triggering mode and the like may also be set.
Then, the calculating unit 304 calculates the carrier frequency control word K0, the accumulated amount of forward frequency control word K1, and the accumulated amount of return frequency control word K1 'according to the above parameters, and then calculates the forward frequency control word K and the return frequency control word K'.
The control unit 305 calculates a sweep frequency speed control word according to the scan time t1, the return time t3, the storage depth of the forward sweep frequency wave table and the return sweep frequency wave table, and controls the calculation unit 304 to sequentially send the forward sweep frequency control word K and the return sweep frequency control word K' to the DDS signal source 302 according to the sweep frequency speed control.
Then, the DDS signal source 302 always outputs at the starting frequency ft within the starting holding time t0, and within the scanning time t1, the DDS signal source 302 generates a corresponding logarithmic sweep frequency signal according to the received forward sweep frequency control word K; always outputting at the termination frequency fp during the termination holding time t 2; within the return time t3, the DDS signal source 302 generates a corresponding linear frequency sweep signal according to the received return frequency sweep frequency control word K', and finishes frequency sweep of one period; and continues to output at the start frequency ft, waiting for the next trigger signal.
The signal generator can be a single signal generator instrument, and can also be a signal generator module integrated on other instruments such as an oscilloscope and the like. It should be noted that the signal generator may be referred to as a signal source, an arbitrary wave generator, a function generator, etc. in other terms in the industry, but it is within the scope of the present invention as long as the solution of the present invention can be implemented.
The signal generator 300 disclosed by the invention allows a user to independently set various parameters and types of forward frequency sweep and return frequency sweep, opens all parameter interfaces of the frequency sweep function to the user, and the user can respectively set the parameters according to the requirements of the user, and then the signal generator 300 can process the parameters set by the user to output frequency sweep signals required by the user, so that the whole frequency sweep function is more flexible, the frequency sweep function is expanded, and various requirements of the user on frequency sweep can be met.
The above embodiments are only specific embodiments of the present invention, and it should be understood that the above embodiments are only for assisting understanding of the method and the core idea of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalents and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (7)

1. A signal generator with frequency sweep function comprises a frequency sweep wave table generating unit, a DDS signal source,
the sweep frequency wave table generating unit is used for generating sweep frequency control words,
the DDS signal source is used for generating a frequency sweeping signal according to the frequency sweeping frequency control word;
wherein the sweep wave table generating unit includes:
an input unit for generating a scan time, a scan type, a return time, a return type, a start frequency, and a stop frequency according to a user input;
the computing unit is used for generating corresponding forward frequency sweeping frequency control words according to the scanning time, the scanning type, the starting frequency and the ending frequency, and generating corresponding return frequency sweeping frequency control words according to the return time, the return type, the starting frequency and the ending frequency;
the control unit is used for controlling the forward sweep frequency control word and the return sweep frequency control word to be sequentially sent to the DDS signal source according to the scanning time and the return time;
the signal generator also comprises a carrier wave table, a forward sweep wave table and a return sweep wave table.
2. The signal generator of claim 1, wherein:
the calculation unit includes:
a first calculating unit, configured to calculate, according to the smaller of the starting frequency and the terminating frequency, a corresponding frequency control word as a carrier frequency control word, and store the carrier frequency control word in the carrier wave table;
the second calculation unit is used for calculating and obtaining the accumulated quantity of the control words of the forward sweep frequency according to the scanning time, the scanning type, the starting frequency and the ending frequency, and storing the accumulated quantity of the control words of the forward sweep frequency in the forward sweep wave table;
the third calculating unit is used for calculating and obtaining the control word accumulation amount of the returned sweep frequency according to the returned time, the returned type, the starting frequency and the ending frequency, and storing the control word accumulation amount in the returned sweep frequency wave table;
the first adder is used for adding the carrier frequency control word and the accumulated amount of the forward frequency sweeping frequency control word to obtain a forward frequency sweeping frequency control word;
and the second adder is used for adding the carrier frequency control word and the accumulated amount of the returned frequency sweeping frequency control word to obtain the returned frequency sweeping frequency control word.
3. The signal generator of claim 2, wherein:
the forward sweep wave table and the return sweep wave table have the same storage depth.
4. A signal generator according to claim 2 or 3, characterized in that:
the scanning type is linear scanning, logarithmic scanning or step scanning;
the return type is linear scan, logarithmic scan, or step scan.
5. A signal generator according to claim 2 or 3, characterized in that:
the control unit comprises a sweep frequency speed control unit and a counter,
the sweep frequency speed control unit is used for generating forward sweep frequency speed control words according to the scanning time and the storage depth of the forward sweep frequency wave table and generating return sweep frequency speed control words according to the return time and the storage depth of the return sweep frequency wave table;
and the counter is used for respectively controlling the first adder and the second adder according to the forward frequency sweeping speed control word and the return frequency sweeping speed control word in sequence and sending the forward frequency sweeping frequency control word and the return frequency sweeping frequency control word to the DDS signal source in sequence.
6. The signal generator of claim 5, wherein:
the first adder and the second adder are the same adder.
7. The signal generator of claim 6, wherein:
the DDS signal source, the carrier wave meter, the forward sweep wave meter, the return sweep wave meter and the control unit are all realized by an FPGA type programmable logic chip.
CN201410653874.7A 2014-11-17 2014-11-17 Signal generator with frequency sweeping function Active CN105680800B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410653874.7A CN105680800B (en) 2014-11-17 2014-11-17 Signal generator with frequency sweeping function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410653874.7A CN105680800B (en) 2014-11-17 2014-11-17 Signal generator with frequency sweeping function

Publications (2)

Publication Number Publication Date
CN105680800A CN105680800A (en) 2016-06-15
CN105680800B true CN105680800B (en) 2021-01-29

Family

ID=56944527

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410653874.7A Active CN105680800B (en) 2014-11-17 2014-11-17 Signal generator with frequency sweeping function

Country Status (1)

Country Link
CN (1) CN105680800B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109030979A (en) * 2018-06-07 2018-12-18 中国电子科技集团公司第四十研究所 A kind of method of scalar network analyzer and signal generator accurate synchronization frequency sweep
CN110770712B (en) * 2018-11-30 2023-08-18 北京算能科技有限公司 Operation method, chip, system, readable storage medium and computer program product
WO2020113562A1 (en) * 2018-12-07 2020-06-11 北京比特大陆科技有限公司 Computing power control method, apparatus and device, and storage medium
CN117686984B (en) * 2024-02-01 2024-05-07 西安电子科技大学 FPGA-based large-bandwidth complex sweep frequency interference signal generation method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744072A (en) * 2004-09-02 2006-03-08 北京中星微电子有限公司 Programmeable multiple digital waveform generating method and its device
CN102468805A (en) * 2010-11-03 2012-05-23 北京普源精电科技有限公司 Sweep signal generator and method for generating sweep signals
CN102468868A (en) * 2010-11-03 2012-05-23 北京普源精电科技有限公司 DDS signal generator and frequency hopping method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6681235B2 (en) * 2000-02-10 2004-01-20 Anritsu Corporation Frequency synthesizer and Gaussian noise generator using the same
US7012453B2 (en) * 2004-01-20 2006-03-14 Harris Corporation Phase continuous synthesizer with phase coasting and associated methods

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744072A (en) * 2004-09-02 2006-03-08 北京中星微电子有限公司 Programmeable multiple digital waveform generating method and its device
CN102468805A (en) * 2010-11-03 2012-05-23 北京普源精电科技有限公司 Sweep signal generator and method for generating sweep signals
CN102468868A (en) * 2010-11-03 2012-05-23 北京普源精电科技有限公司 DDS signal generator and frequency hopping method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
14位GHz DDS设计及ASIC实现;郭旭龙;《中国优秀硕士学位论文全文数据库 信息科技辑》;20131215;正文第三章第3.1、3.2节,第四章第4.3节,图3.1、3.5、3.14、3.18 *

Also Published As

Publication number Publication date
CN105680800A (en) 2016-06-15

Similar Documents

Publication Publication Date Title
CN105680800B (en) Signal generator with frequency sweeping function
CN102073033A (en) Method for generating high-precision stepping delay capable of dynamic calibration
CN105607023A (en) Pulse signal generation and measurement method for calibration of partial discharge detector
CN102591996B (en) Data synchronization architecture and method for multiple measurement instruments
CN102723931A (en) Wide-dynamic high-accuracy and edge time adjustable impulse wave producing method
CN105510861B (en) A kind of multifunction digital PD meter calibrator
CN110261830B (en) Performance calibrator for radar echo simulator
CN105515551B (en) Signal generator with arbitrary wave editing function
CN103675381A (en) Parallel sampling oscilloscope with cycle triggering function
JP5256094B2 (en) Jitter measuring device
Pedersen Digital generation of coherent sweep signals
CN207571261U (en) A kind of system for signal acquisition in integrated circuit testing
US8575983B1 (en) Waveform generation circuit for a waveform generator
CN105281715A (en) Power-frequency synchronization depth storage ns-grade pulse multi-parameter generation system
CN103185820A (en) Oscilloscope with automatic cursor tracing function
CN205142160U (en) Synchronous degree of depth storage ns level pulse many reference amounts generator of power frequency
US10107896B2 (en) Measuring device and measuring method for measuring the ambiguity function of radar signals
CN103675380A (en) An oscilloscope with a periodic trigger function
CN104935258B (en) A kind of swept signal generator can produce multiple frequency markings
CN105577121B (en) Segmented frequency sweeping device and signal generator with segmented frequency sweeping function
Liu et al. Design and implementation of a ultra-high timing resolution pulse generator based on real-time computation
CN203502749U (en) Pulse time interval measuring device
Hidvégi et al. FPGA based phase detector for high-speed clocks with pico-seconds resolution
CN104734673B (en) Burst changeable parameters signal generator and the burst signal generator that recurring number is variable
US11693046B2 (en) Monitoring waveforms from waveform generator at device under test

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Kolding road high tech Zone of Suzhou City, Jiangsu Province, No. 8 215163

Applicant after: Puyuan Jingdian Technology Co., Ltd

Address before: Suzhou City, Jiangsu province 215163 Suzhou New District kolding Road No. 8

Applicant before: SUZHOU RIGOL PRECISION ELECTRIC TECHNOLOGIES Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant