CN109142820A - A kind of pulse wave generating device - Google Patents
A kind of pulse wave generating device Download PDFInfo
- Publication number
- CN109142820A CN109142820A CN201811125028.2A CN201811125028A CN109142820A CN 109142820 A CN109142820 A CN 109142820A CN 201811125028 A CN201811125028 A CN 201811125028A CN 109142820 A CN109142820 A CN 109142820A
- Authority
- CN
- China
- Prior art keywords
- shake
- pulse
- pulse width
- phase
- input
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R1/00—Details of instruments or arrangements of the types included in groups G01R5/00 - G01R13/00 and G01R31/00
- G01R1/28—Provision in measuring instruments for reference values, e.g. standard voltage, standard waveform
Abstract
A kind of pulse wave generating device, including processor, shake pulse width coefficient determining module, shake generation module and edge data determining module;The calculated Vibrating pulse configuration parameter of Vibrating pulse parameter that shake pulse width coefficient determining module can be inputted according to processor according to user determines the pulse width coefficient with shake;Shake generation module can determine that the edge of impulse wave generates the moment and output phase gives edge data determining module according to the pulse width coefficient that the band is shaken;Edge data determining module determines the edge data of the corresponding impulse wave in pulse address using the phase as pulse address, obtains the digit pulse wave with shake.The moment is generated due to that can determine the pulse width coefficient with shake according to Vibrating pulse parameter, and then by the edge that the pulse width coefficient with shake controls impulse wave, the shake of impulse wave is controlled with this, so that the shake of the impulse wave generated can be adjusted as desired.
Description
Technical field
The present invention relates to electronic technology fields, and in particular to a kind of pulse wave generating device.
Background technique
In electronic computer, communication, radar, TV, automatic control, remote-control romote-sensing, radionavigation and test measurement skill
The electronic technology fields such as art, impulse wave play very important effect, for example, can be used for testing the step response of circuit, can
Using as radar wireless pulse wave, can be modulated in the communications generate PWM (Pulse Width Modulation,
Pulse width modulation) wave etc..
The shake of signal is commonly defined as short-term offset of the signal in a certain particular moment relative to its ideal position, signal
Shake schematic diagram can be found in Fig. 1, wherein true pulse wave is trembling for signal relative to offset e1~e6 of ideal pulse wave
It is dynamic.The shake of signal is usually as caused by the noise or other disturbing factors in system, in signal acquisition and treatment process
In will lead to the signal that processor collects mistake, to reduce the transmission performance of digital signal, therefore, shake is to measure letter
The important indicator of number quality, it is also to measure a digital system performance that the accuracy of data is kept in the case where signal jitter
Important indicator.It is shaken by being added to signal, performance of the system under unlike signal quality can be simulated, in electronic device
Research and development, test etc. have great importance, but can not also carry out at present according to actual demand come the shake to impulse wave
Adjustment.
Summary of the invention
The application provides a kind of pulse wave generating device, shakes adjustable impulse wave to generate.
A kind of pulse wave generating device is provided in a kind of embodiment, including processor, shake pulse width coefficient determining module, is trembled
Dynamic generation module and edge data determining module;
The processor, Vibrating pulse parameter for being inputted according to user calculate Vibrating pulse configuration parameter, and by institute
It states Vibrating pulse configuration parameter and is allocated to the shake pulse width coefficient determining module, the shake generation module and the edge number
According to determining module;
The shake pulse width coefficient determining module, for determining the pulsewidth with shake according to the Vibrating pulse configuration parameter
Coefficient, and the pulse width coefficient that the band is shaken is exported and gives shake generation module;
The shake generation module, it is true for the pulse width coefficient according to the Vibrating pulse configuration parameter and band shake
The edge for determining impulse wave generates the moment, and generates moment output phase to the edge data determining module at the edge;
The edge data determining module, phase and the Vibrating pulse for being exported according to the shake generation module
Configuration parameter determines the edge data of impulse wave, obtains the digit pulse wave with shake.
According to the pulse wave generating device of above-described embodiment, since shake pulse width coefficient determining module can be according to Vibrating pulse
Configuration parameter determines the pulse width coefficient with shake, and then is determined by shake generation module according to the pulse width coefficient that the band is shaken
The edge of impulse wave generates the moment and determines the edge data of impulse wave at this time by edge data determining module, can lead in this way
It crosses and controls the offset that the edge generates the moment to control impulse wave relative to its ideal position, i.e., the shake of control impulse wave is big
It is small;And Vibrating pulse configuration parameter therein is that Vibrating pulse parameter input by user is calculated, so as to root
The degree of jitter of impulse wave is adjusted according to the Vibrating pulse parameter of user's input, so that the shake of the impulse wave generated is adjustable.
Detailed description of the invention
Fig. 1 is the schematic diagram of the shake of signal;
Fig. 2 is the schematic diagram of the relevant parameter of impulse wave;
Fig. 3 is the schematic diagram that DDS generates impulse wave in the prior art;
Fig. 4 is a kind of structural schematic diagram of the pulse wave generating device of embodiment of the application;
Fig. 5 is a kind of structural schematic diagram of the pulse wave generating device of specific embodiment of the application;
Fig. 6 is a kind of flow chart of the method for the generation impulse wave of specific embodiment of the application.
Specific embodiment
Below by specific embodiment combination attached drawing, invention is further described in detail.
It is herein component institute serialization number itself, such as " first ", " second " etc., is only used for distinguishing described object,
Without any sequence or art-recognized meanings.
Herein, the explanation of the relevant parameter of impulse wave can be found in Fig. 2, as shown in Fig. 2, A represents the rising edge of impulse wave
Time, B represent the failing edge time of impulse wave, and C represents the pulsewidth (alternatively referred to as duty ratio) of impulse wave, and D represents impulse wave
In the period, that reflects the frequencies of pulse, can represent pulse frequency.
Currently, generalling use direct digital synthesis technique (Direct Digital Synthesis, DDS) technology to generate
Impulse wave, the schematic diagram for generating impulse wave can be found in Fig. 3, the frequency control word of storage user input in frequency control register
FTW carries out phase accumulator within each clock cycle according to FTW phase-accumulated, obtains a phase value, and then interception should
Address of the higher bit position of phase value as wave memorizer, obtains the output of wave memorizer, then through digital analog converter
(DAC) required impulse wave is generated after converting.There can be trembling for a system clock cycle when generating impulse wave using the technology
It is dynamic, and the degree of the shake can not be controlled.
In embodiments of the present invention, Vibrating pulse configuration parameter is calculated according to the Vibrating pulse parameter that user inputs, then
The pulse width coefficient with shake is determined according to the Vibrating pulse configuration parameter, is trembled then according to Vibrating pulse configuration parameter and the band
Dynamic pulse width coefficient determines that the edge of impulse wave generates the moment, and determines the edge data of impulse wave at this time, is used
Impulse wave with shake needed for family.
Embodiment one:
Referring to FIG. 4, Fig. 4 is a kind of structural schematic diagram of the pulse wave generating device of embodiment of the application, the impulse wave
Generating device includes processor 1, shake pulse width coefficient determining module 2, shake generation module 3 and edge data determining module 4.
Specifically, the Vibrating pulse parameter that processor 1 is used to be inputted according to user calculates Vibrating pulse configuration parameter, and will
The Vibrating pulse configuration parameter is allocated to shake pulse width coefficient determining module 2, shake generation module 3 and edge data determining module
4.Wherein, the Vibrating pulse parameter of user's input may include the frequency f of impulse wave, pulsewidth width, rise time rise, under
Time fall, shake cycle criterion difference dev and jitter profile mode drop, and dev and jitter profile mode are control impulse wave shake
Jitter parameter.Processor 1 according to the calculated Vibrating pulse configuration parameter of these pulse parameters include frequency control word FTW1,
FTW2, FTW3 and the first width parameter P and random number coefficients R, while also Vibrating pulse being used as to configure jitter profile mode
Parameter, wherein FTW1 is directly proportional to f, and the ratio of FTW1 and FTW2 are directly proportional to rise and are inversely proportional with 1/ (2*f), FTW1 and
The ratio of FTW3 is directly proportional to fall and is inversely proportional with 1/ (2*f), and P is calculated according to f, width, rise and fall, R with
Dev is directly proportional.
In a specific embodiment, FTW1, FTW2, FTW3, P and R can be calculated by following formula:
The calculation formula of FTW1 are as follows:M therein is system bit wide, fclkFor system clock;
The calculation formula of FTW2 are as follows:
The calculation formula of FTW3 are as follows:
The calculation formula of P are as follows:Wherein, N indicates a cycle, generation
The second width parameter of table, value can be designed according to actual demand, but the rising for needing to guarantee to generate impulse wave
Edge and failing edge;
The calculation formula of R are as follows: R=K*dev, K therein are system parameter, depending on the actual design of system, for example are set
The calibration etc. of device used in meter.
Vibrating pulse configuration parameter FTW1, FTW2 that shake pulse width coefficient determining module 2 is used to be obtained according to processor 1,
FTW3, P and R determine the pulse width coefficient with shake, join for example, can be configured by certain logical operation to these Vibrating pulses
Number carries out operation, obtains the pulse width coefficient with shake, then exports the pulse width coefficient that the band is shaken and gives shake generation module 3.
Shake generation module 3 determines the side of impulse wave for the pulse width coefficient according to Vibrating pulse configuration parameter and with shake
Moment output phase is generated to edge along generation moment, the i.e. rising edge time of impulse wave or failing edge moment, and at the edge
Data determining module 4.What the phase and processor 1 that edge data determining module 4 is used to be exported according to shake generation module 3 configured
Vibrating pulse configuration parameter determines the edge data of impulse wave, obtains the digit pulse wave with shake.
Specifically, for ideal impulse wave, starting at the t1 moment by taking signal jitter schematic diagram shown in FIG. 1 as an example
Generate rising edge.And when pulse wave generating device of the invention being used to generate impulse wave, user's input jiffer pulse as needed
Parameter, processor 1 then calculate Vibrating pulse configuration parameter according to the Vibrating pulse parameter, shake pulse width coefficient determining module 2
It can determine the pulse width coefficient with shake according to Vibrating pulse configuration parameter and export to give shake generation module 3, at this point, shake produces
Raw module 3 can determine that the edge of impulse wave generates the moment according to the pulse width coefficient that the band is shaken, and such as Fig. 1 is opened at the t2 moment
Begin to generate rising edge, at this moment, for the impulse wave actually generated, the opportunity that rising edge generates will deposit relative to ideal pulse wave
It is delayed in the time of t2-t1, the edge data of impulse wave, and then the arteries and veins generated is at this moment determined by edge data determining module 4
The short-term offset that wave there will be e2 relative to ideal position is rushed, i.e., the impulse wave actually generated can have shake, and the journey of the shake
Degree is determined by the pulse width coefficient with shake.
In this way, Vibrating pulse configuration parameter will change, and determine when the Vibrating pulse parameter change of user's input
Pulse width coefficient with shake can also change, and also change correspondingly so that the edge of impulse wave generates the moment, thus needed for generating
The impulse wave of shake.In this way, the edge that can control impulse wave according to the Vibrating pulse parameter that user inputs generates the moment, obtain
To the impulse wave for having required shake, degree of jitter will follow the change of Vibrating pulse parameter and change, to realize pulse
The adjusting of wave shake.
Pulse wave generating device provided in this embodiment can determine band shake according to the Vibrating pulse parameter that user inputs
Pulse width coefficient, and then according to the band shake pulse width coefficient determine impulse wave edge generate the moment, by controlling the side
Offset of the impulse wave relative to its ideal position is controlled along the moment is generated, i.e., controls arteries and veins by controlling the edge generation moment
The generation of wave shake and the size of the shake are rushed, so as to change the shake of impulse wave by adjusting Vibrating pulse parameter
Degree generates the impulse wave for having required shake, realizes the control and adjusting of the shake to impulse wave.
Embodiment two:
Based on embodiment one, Fig. 5 shows a kind of structure of the pulse wave generating device of specific embodiment, impulse wave hair
Generating apparatus includes processor 1, shake pulse width coefficient determining module 2, shake generation module 3 and edge data determining module 4.Its
In, the working method of processor 1 is identical as the working method in embodiment one, and details are not described herein again;Shaking generation module 3 includes
First phase accumulator 31 and comparator 32.
First phase accumulator 31 is used for after receiving the calculated Vibrating pulse configuration parameter of processor 1, with FTW1
It brings into operation for frequency control word, and output phase accumulated value is to the first end of comparator 32.
The output end of the second end connection shake pulse width coefficient determining module 2 of comparator 32, the comparator 32 are used for it
The input of first end is compared with the input of its second end, at the time of the input of its first end is greater than the input of its second end
The edge for being determined as impulse wave generates moment, the i.e. rising edge time of impulse wave or failing edge moment, and output phase is to edge
Data determining module 4 exports the comparison result that the edge generates the moment to edge data determining module 4.
Specifically, edge data determining module 4 includes that the first multiplier 41, second phase accumulator 42 and edge data are deposited
Reservoir 43.Comparator 32 is specifically used for for its comparison result being input to the first end of the first multiplier 41;The comparator 32 is each
When the input of its first end is greater than the input of its second end, the output of control shake pulse width coefficient determining module 2 is in the first shake
Switched in turn between pulse width coefficient and the second shake pulse width coefficient, and the second end input for controlling the first multiplier 41 exists
Switched in turn between FTW3/FTW1 and FTW2/FTW1, and controls the frequency control word of second phase accumulator 42 in FTW3
Switched in turn between FTW2;Meanwhile comparator 32 is also used to be switched to the second shake pulsewidth in the input of its second end
The phase accumulation value that first phase accumulator 31 is controlled when coefficient reduces by the second width parameter N;First shake therein pulsewidth system
Number and the second shake pulse width coefficient are the shake pulse width coefficient shaking pulse width coefficient determining module 2 and determining.Specifically, comparing
Device 32 is for the input of its first end to be compared with the input of its second end, when the input of its first end is greater than shake pulsewidth
When the first shake pulse width coefficient or the second shake pulse width coefficient that coefficient determination module 2 exports, the part that will exceed, which is used as, compares
As a result it exports to the first end of the first multiplier 41;It is exactly phase accumulation value of the comparator 32 to first phase accumulator 31
The shake pulse width coefficient exported with shake pulse width coefficient determining module 2 is compared, by phase accumulation value beyond shake pulsewidth system
Several parts is exported as comparative result to the first end of the first multiplier 41.
First multiplier 41 is used to the input of its first end and second end carrying out multiplying, and operation result is exported
To second phase accumulator 42.
Second phase accumulator 42 is used for using FTW3 or FTW2 as frequency control word, and with the operation knot of the first multiplier 41
Fruit is initial phase operation, in each clock cycle output phase to edge data storage 43.Edge data storage 43 is then
The phase exported using second phase accumulator 42 determines the edge number of the corresponding impulse wave in pulse address as pulse address
According to, obtain with shake digit pulse wave.
Pulse address and impulse wave edge data can be previously stored in practical application, in edge data storage 43
Corresponding relationship can be searched from the corresponding relationship in this way using the phase that second phase accumulator 42 exports as pulse address
The corresponding edge data in the address out, the corresponding relationship can be configured by processor 1.
In above-mentioned apparatus, shake pulse width coefficient determining module 2 includes pulsewidth modulation coefficient generation module 21, register 22
With adder 23, the output end of the second end connection shake pulse width coefficient determining module 2 of comparator 32 specifically: comparator 32
Second end is connect with the output end of adder 23.
Pulsewidth modulation coefficient generation module 21 is used for after the Vibrating pulse configuration parameter for receiving the calculating of processor 1, root
According to the jitter profile mode and random number coefficients R generation pulsewidth modulation coefficient r in Vibrating pulse configuration parameter, and r is output to
The first end of adder 23;Comparator 32 controls pulsewidth modulation when the input of its each first end is greater than the input of its second end
Coefficient generation module 21 updates a r.Specifically, when the phase accumulation value that comparator 32 compares the input of its first end is greater than it
When the first shake pulse width coefficient or the second shake pulse width coefficient of second end input, control pulsewidth modulation coefficient generation module 21 is more
A new r.
The output end of register 22 is connect with the second input terminal of adder 23, which is used to store P and N, and
Comparator 32 first end input every time greater than the input of the second end of comparator 32 when output it the output at end in P and
Switched in turn between N.
Adder 23 is used to the input of its first end and second end carrying out add operation, and operation result is inputed to ratio
Compared with the second end of device 32.
Wherein, the first shake pulse width coefficient is P+r, and the second shake pulse width coefficient is N+r.N therein is less than or equal to the
The half of the phase upper limit of one phase accumulator 31, to guarantee that pulse wave generating device can generate the rising edge of impulse wave under
Edge drops.In actual application, can take the phase upper limit of first phase accumulator 31 is 720 degree, and the value of N is 360 degree.
Based on this, when register 22 exports P, r and P that adder 23 can generate pulsewidth modulation coefficient generation module 21
It is added, obtains the first shake pulse width coefficient (pulse width coefficient i.e. with shake) P+r and input to comparator 32;When comparator 32 compares
More out first phase accumulator 31 export phase accumulation value be greater than P+r when, using phase accumulation value beyond P+r part as than
Relatively result is exported to the first multiplier 41, while being controlled register 22 and being exported N, and updating a r;At this point, adder 23 exports
Second shake pulse width coefficient N+r.When again the phase accumulation value that comparator 32 compares the output of first phase accumulator 31 is greater than N+r
When, phase accumulation value is exported as comparative result beyond the part of N+r to the first multiplier 33, while it is tired to control first phase
The phase accumulation value of device 31 is added to reduce N, control register 22 exports P, and updates a r;The first phase is compared in comparator 32
When the phase accumulation value that bit accumulator 31 exports is greater than P+r or N+r, comparator 32 can also control the second end of the first multiplier 41
Input is switched in turn between FTW3/FTW1 and FTW2/FTW1, and controls the frequency control word of second phase accumulator 42
Switched in turn between FTW3 and FTW2;Later, the process is so recycled.In this process, since FTW2 is and pulse
The rise time rise of wave is directly proportional, and FTW3 is directly proportional to the fall time fall of impulse wave, therefore can be passed through
FTW2 and FTW3 controls rising time and the failing edge time of impulse wave respectively;Further, compared by comparator 32
The P+r or N+r that the phase accumulation value and adder 23 that first phase accumulator 31 exports export determine pulse with comparison result
The rising edge of wave or the generation opportunity of failing edge, so as to control impulse wave rising edge and failing edge generation, Jin Ertong
The generation opportunity of rising edge and failing edge is spent to control the pulsewidth width of impulse wave, for example generated first rising 0 second moment
Edge generated first failing edge 1 second moment, then the pulsewidth of impulse wave is just 1 second.
In a specific embodiment, pulsewidth modulation coefficient generation module 21 includes random-number-generating module 211 and the
Paired multiplier 212.Wherein, random-number-generating module 211 is used for after receiving Vibrating pulse configuration parameter according to jitter profile
Mode generates random number a, and random number a is exported to the first end of the second multiplier 212;The second of second multiplier 212
End input R, second multiplier 212 are used to the input of its first end and its second end carrying out multiplying, obtain pulsewidth tune
Coefficient r (i.e. r=a*R) processed, and obtained r is output to the first end of adder 23.At this moment, when comparator 32 compares first
When the phase accumulation value that phase accumulator 31 exports is greater than P+r or N+r, comparator 32 controls pulsewidth modulation coefficient generation module 21
Update a r i.e. are as follows: comparator 32 controls random-number-generating module 211 and regenerates once at random according to jitter profile mode
Number, is equivalent to and is updated to a.
In practical applications, random-number-generating module 211 can generate various by not according to the jitter profile mode of setting
With the random data of rule distribution, such as according to the random data of Gaussian Profile, the size of the random number generated can be according to
Jitter profile mode is distributed between 0 to 1.
Based on pulse wave generating device shown in fig. 5, Fig. 6 shows a kind of flow chart of method for generating impulse wave, should
Method may comprise steps of:
Step 101: calculating Vibrating pulse configuration parameter.
Vibrating pulse parameter f, width, rise, fall, dev and jitter profile mode that processor 1 is inputted according to user,
Vibrating pulse configuration parameter is calculated using the calculation formula of Vibrating pulse configuration parameter FTW1, FTW2, FTW3, P and R, than
The calculation formula as described in using embodiment one calculates Vibrating pulse configuration parameter, while jitter profile mode being also used as and is trembled
Moving pulse configuration parameter.After processor 1 calculates Vibrating pulse configuration parameter, which is allocated to and is trembled
The wide coefficient determination module 2 of artery, shake generation module 3 and edge data determining module 4.
Step 102: the operation of first phase accumulator.
After shake generation module 3 receives Vibrating pulse configuration parameter, first phase accumulator 31 is using FTW1 as frequency
Control word is initial phase with 0 and brings into operation by the phase upper limit of preset A that add up FTW1 under the action of system clock
And output phase accumulated value is to the first end of comparator 32, such as the output phase of current time first phase accumulator 31
A1, then next system clock will export A1+FTW1;In practical applications, phase upper limit A here can be taken as 720 degree.
Step 103: generating pulsewidth modulation coefficient r.
Random-number-generating module 211 receives the instruction of control jitter profile, that is, receives in Vibrating pulse configuration parameter
Jitter profile mode, export one according to the jitter profile mode and meet the regularity of distribution and size is random between 0 to 1
A is counted, and random number a is inputed to the first end of the second multiplier 212, which such as can be Gaussian Profile;This
When, the random number coefficients R in random number a and Vibrating pulse configuration parameter is carried out multiplying by the second multiplier 212, is obtained
R, is then inputed to the first end of the second multiplier 212 by pulsewidth modulation coefficient r, i.e. r=a*R.
Step 104: calculating the first shake pulse width coefficient.
Register 22 exports P to adder 23, and the r that adder 23 exports P and the second multiplier 212 carries out addition fortune
It calculates, obtains the pulse width coefficient P+r with shake to get to the first shake pulse width coefficient, P+r is then inputed into comparator 32
Second end.
Step 105: comparator is compared control by the first preset rules.
Specifically, comparator 32 is by the phase accumulation value that first phase accumulator 31 exports and the P+r that adder 23 exports
Be compared, when phase accumulation value be greater than P+r when, comparator 32 using the phase accumulation value beyond P+r part as compare tie
Fruit exports to the first multiplier 41, while controlling random-number-generating module 211 according to jitter profile schema update random number a, control
Register 22 processed exports N to adder 23, and the second end input for controlling the first multiplier 41 is FTW3/FTW1, controls the second phase
The frequency control word of bit accumulator 42 is FTW3.At this point, the second multiplier 212 can export new r, adder 23, which inputs to, to be compared
The data of 32 second end of device will be switched to N+r, and at this moment, comparator 32 starts to export in first phase accumulator 31 phase-accumulated
The N+r that value and adder 23 export is compared.In practical application, the value of N is less than or equal to first phase accumulator 31
The half of the phase upper limit.In a specific embodiment, the phase upper limit that can take first phase accumulator 31 is 720 degree, and N takes
It is 360 degree.
Step 106: calculating the initial phase of second phase accumulator.
The input of its first end and the input of its second end are carried out multiplying by the first multiplier 33, and by operation result
Initial phase as second phase accumulator 42 is exported to second phase accumulator 42.
Step 107: determining pulse address.
The operation result that second phase accumulator 42 is exported using the first multiplier 41 is determined as initial phase with comparator 32
Frequency control word bring into operation for frequency control word, in system clock fclkUnder the action of, the phase of each clock output is made
It exports for pulse address to edge data storage 43.
Step 108: obtaining edge data.
The phase that edge data storage 43 is exported using second phase accumulator 42 reads this pulsedly as pulse address
The edge data of the corresponding impulse wave in location obtain the digit pulse wave with shake.Specifically, can be in edge data storage 43
The corresponding relationship of pulse address Yu impulse wave edge data is stored in advance, for example, being stored with one group in edge data storage 43
Rising edge data and one group of failing edge data, storage mode are the corresponding edge data in each pulse address;When second
When phase accumulator 42 is run using the operation result of the first multiplier 41 as initial phase, each clock cycle exports a phase
To edge data storage 43, it is one corresponding that edge data storage 43 can find the phase from above-mentioned corresponding relationship
Edge data, second phase accumulator 42 can export multiple phases during reaching its phase upper limit from initial phase operation
Position, this multiple phase corresponds to multiple edge data, so that the rising edge data or failing edge data of impulse wave can be obtained.Actually answer
In, one group of rising edge data can be only stored in edge data storage 43, is after this group of rising edge data inverted order arrangement
One group of failing edge data, in this way, each can be equivalent to pulsedly by the corresponding rising edge data in every two pulse address
Location corresponds to an edge data;Similar, one group of failing edge data can also be only stored in edge data storage 43.
Step 109: comparator is compared control by the second preset rules.
Specifically, when the phase accumulation value that comparator 32 compares the output of first phase accumulator 31 is defeated greater than adder 23
When N+r out, phase accumulation value is exported as comparative result beyond the part of N+r to the first multiplier 41, same time control again
The phase accumulation value of first phase accumulator 31 processed reduces N, controls random-number-generating module 211 according to jitter profile schema update
Random number a, control register 22 export P to adder 23, and the second end input for controlling the first multiplier 33 is FTW2/FTW1,
The frequency control word for controlling second phase accumulator 42 is FTW2.At this point, the second multiplier 212 can export new r, adder 23
The data for inputing to 32 second end of comparator will be switched to P+r, and at this moment, comparator 32 again can export first phase accumulator 31
Phase accumulation value and adder 23 export P+r be compared.
Step 110: executing step 106~step 108.
Hereafter, circulation executes the process of step 103 to step 110.
According to the generation process of above-mentioned impulse wave, the arteries and veins with shake can be determined according to the Vibrating pulse parameter that user inputs
Wide coefficient, and then determine that the edge of impulse wave generates the moment according to the pulse width coefficient that the band is shaken, it is produced by controlling the edge
The raw moment controls offset of the impulse wave relative to its ideal position, i.e., controls impulse wave by controlling the edge generation moment
The size of the generation of shake and the shake, to obtain the impulse wave for having required shake, and the shake is adjustable.In the mistake
Cheng Zhong, on the one hand, the initial phase of second phase accumulator is bigger, and first point at the edge of the impulse wave of generation is bigger, arteries and veins
It is more forward to rush the waveform of wave within a clock cycle, likewise, the initial phase is smaller, impulse wave is within a clock cycle
Waveform more rearward, the lead or the amount of delaying can be used offset in the prior art using DDS principle generate impulse wave when
The waveform of an existing clock cycle is shaken, such that the shake of the impulse wave finally generated is to tremble needed for user
It is dynamic, the degree of jitter of impulse wave can be changed better by Vibrating pulse parameter is adjusted.On the other hand, FTW2 can be passed through
Rising time and the failing edge time of impulse wave are controlled respectively with FTW3, while tired to first phase by using comparator
The phase accumulation value for adding device to export is compared with the pulse width coefficient with shake, and the rising edge of impulse wave is determined with comparison result
Or the generation opportunity of failing edge, to control the generation of the rising edge and failing edge of impulse wave, so can by rising edge and
The generation opportunity of failing edge controls pulsewidth.Furthermore the pulse width coefficient with shake is by pulsewidth modulation coefficient and width parameter phase
Add, the pulsewidth modulation coefficient is proportional to random number, so the pulse width coefficient with shake be it is random adjustable, to make
Impulse wave rising edge and failing edge generation opportunity it is adjustable, and then generate adjustable randomized jitter, and can be by adjusting
Jitter profile mode allows random-number-generating module to generate the random number of the various regularities of distribution to control the regularity of distribution of shake, so that
The shake of impulse wave can be adjusted according to the demand of user.In addition, the upper limit of the jitter range of impulse wave is by impulse wave
Period determines, generally no greater than the 1/4 of the period, and the step value for the lower limit and adjustment shaken is by the smallest rising of impulse wave
The lead of edge or the smallest failing edge determines that the lead can come real by adjusting the initial phase of second phase accumulator
Existing, the stepping-in amount of shake can achieve ps (picosecond) magnitude.
In practical application, the processor in the various embodiments described above can be embeded processor, main realization user interaction,
The functions such as the setting of Vibrating pulse parameter, the calculating of Vibrating pulse configuration parameter.Shake pulse width coefficient determining module, shake generates
Module and edge data determining module can by field programmable gate array (Field-Programmable Gate Array,
FPGA it) realizes.
In practical application, the pulse wave generating device of the various embodiments described above further includes that digital analog converter (DAC) and simulation are logical
Road, after obtaining the digit pulse wave with shake, the digit pulse wave that edge data determining module can shake the band is sent
To DAC, after the digit pulse wave that the band is shaken is converted to analog signal (the analog pulse wave i.e. with shake) by DAC, warp
Cross the analog pulse wave that analog channel exports band shake.
Use above specific case is illustrated the present invention, is merely used to help understand the present invention, not to limit
The system present invention.For those skilled in the art, according to the thought of the present invention, can also make several simple
It deduces, deform or replaces.
Claims (10)
1. a kind of pulse wave generating device, which is characterized in that generated including processor, shake pulse width coefficient determining module, shake
Module and edge data determining module;
The processor, the Vibrating pulse parameter for being inputted according to user calculates Vibrating pulse configuration parameter, and trembles described
It is true that moving pulse configuration parameter is allocated to the shake pulse width coefficient determining module, the shake generation module and the edge data
Cover half block;
The shake pulse width coefficient determining module, for determining the pulsewidth system with shake according to the Vibrating pulse configuration parameter
Number, and the pulse width coefficient that the band is shaken is exported and gives shake generation module;
The shake generation module, for determining arteries and veins according to the pulse width coefficient of the Vibrating pulse configuration parameter and band shake
The edge for rushing wave generates the moment, and generates moment output phase to the edge data determining module at the edge;
The edge data determining module, for being configured according to the phase and the Vibrating pulse of the shake generation module output
Parameter determines the edge data of impulse wave, obtains the digit pulse wave with shake.
2. pulse wave generating device as described in claim 1, which is characterized in that the Vibrating pulse parameter includes frequency f, arteries and veins
Wide width, rise time rise, fall time fall, shake cycle criterion difference dev and jitter profile mode;
The Vibrating pulse configuration parameter includes frequency control word FTW1, FTW2, FTW3 and the first width parameter P, random number system
The number R and jitter profile mode, wherein the FTW1 is directly proportional to the f, the ratio of the FTW1 and the FTW2 and
The rise is directly proportional and is inversely proportional with 1/ (2*f), the ratio of the FTW1 and the FTW3 it is directly proportional to the fall and with
1/ (2*f) is inversely proportional, and the P is calculated according to the f, the width, the rise and the fall, the R with it is described
Dev is directly proportional.
3. pulse wave generating device as claimed in claim 2, which is characterized in that the shake generation module includes first phase
Accumulator and comparator;
The first phase accumulator, for being controlled after receiving the Vibrating pulse configuration parameter by frequency of the FTW1
Word brings into operation, and output phase accumulated value gives the first end of the comparator;
The comparator, second end connect the output end of the shake pulse width coefficient determining module, and the comparator is used for will
The input of its first end is compared with the input of its second end, by its first end input be greater than its second end input when
Carve be determined as impulse wave edge generate the moment, and by the edge generate the moment comparison result export it is true to the edge data
Cover half block.
4. pulse wave generating device as claimed in claim 3, which is characterized in that the edge data determining module includes first
Multiplier, second phase accumulator and edge data storage;
The comparator is specifically used for for its comparison result being input to the first end of the first multiplier, and the comparator is every time at it
The input of first end is greater than the output that the shake pulse width coefficient determining module is controlled when the input of its second end in the first shake
Switched in turn between pulse width coefficient and the second shake pulse width coefficient, and the second end input for controlling first multiplier exists
Switched in turn between FTW3/FTW1 and FTW2/FTW1, and the frequency control word for controlling the second phase accumulator exists
Switched in turn between FTW3 and FTW2, the comparator is when the input of its second end is switched to the second shake pulse width coefficient
The phase accumulation value for controlling the first phase accumulator reduces the second width parameter N, the first shake pulse width coefficient and institute
Stating the second shake pulse width coefficient is the shake pulse width coefficient;
First multiplier for the input of its first end and second end to be carried out multiplying, and operation result is exported
To the second phase accumulator;
The second phase accumulator, for being by frequency control word of FTW3 or FTW2 and with the operation result of the first multiplier
Initial phase operation gives the edge data storage in each clock cycle output phase;
The edge data storage, the phase for being exported using second phase accumulator determine the pulse as pulse address
The edge data of the corresponding impulse wave in address obtain the digit pulse wave with shake.
5. pulse wave generating device as claimed in claim 4, which is characterized in that the shake pulse width coefficient determining module includes
Pulsewidth modulation coefficient generation module, register and adder;
The pulsewidth modulation coefficient generation module, for being divided after receiving the Vibrating pulse configuration parameter according to the shake
Cloth mode and the R generate pulsewidth modulation coefficient r, and the r is output to the first end of the adder;In the comparator
The input of first end when being greater than the input of its second end every time, the comparator controls the pulsewidth modulation coefficient generation module
Update the primary r;
The register includes output end, and the second end connection of the output end and adder, the register is for storing the P
With the N, and the first end of the comparator input every time greater than the comparator second end input when its is defeated
The output of outlet is switched in turn between the P and the N;
The adder for the input of its first end and second end to be carried out add operation, and operation result is exported to institute
State the second end of comparator.
6. pulse wave generating device as claimed in claim 5, which is characterized in that the pulsewidth modulation coefficient generation module includes
Random-number-generating module and the second multiplier;
The random-number-generating module is used for after receiving the Vibrating pulse configuration parameter according to the jitter profile mode
Random number is generated, and the random number is exported to the first end of second multiplier;In the first end of the comparator
When input is greater than the input of second end of comparator every time, the comparator controls the random-number-generating module and regenerates one
Secondary random number;
Second multiplier includes first end and second end, and second end inputs the R, and second multiplier is used for it
The input of first end and its second end carries out multiplying, obtains pulsewidth modulation coefficient r, and the r is output to the addition
The first end of device.
7. pulse wave generating device as claimed in claim 6, which is characterized in that the random-number-generating module generates random
Several sizes are between 0 to 1.
8. such as pulse wave generating device described in claim 5 or 6, which is characterized in that the first shake pulse width coefficient is P+
R, the second shake pulse width coefficient is N+r.
9. pulse wave generating device as claimed in claim 8, which is characterized in that the N is less than or equal to the first phase
The half of the phase upper limit of accumulator.
10. pulse wave generating device as described in claim 1, which is characterized in that the pulse wave generating device further includes number
Mode converter and analog channel;
The digital analog converter, for receiving the digit pulse wave with shake of the edge data determining module output, and will
The digit pulse wave of the band shake is converted to the analog pulse wave with shake;
The analog channel, the analog pulse wave with shake obtained for exporting digital analog converter.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811125028.2A CN109142820B (en) | 2018-09-26 | 2018-09-26 | Pulse wave generating device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811125028.2A CN109142820B (en) | 2018-09-26 | 2018-09-26 | Pulse wave generating device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109142820A true CN109142820A (en) | 2019-01-04 |
CN109142820B CN109142820B (en) | 2021-07-13 |
Family
ID=64812644
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811125028.2A Active CN109142820B (en) | 2018-09-26 | 2018-09-26 | Pulse wave generating device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109142820B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109861668A (en) * | 2019-01-25 | 2019-06-07 | 西安微电子技术研究所 | A kind of high reliability button commands impulse circuit |
CN109857188A (en) * | 2019-01-08 | 2019-06-07 | 优利德科技(中国)股份有限公司 | A kind of pulse wave generation method based on DDS, device and its system |
CN110768647A (en) * | 2019-11-12 | 2020-02-07 | 中电科仪器仪表有限公司 | Method and system for reducing pulse signal jitter based on edge control |
CN111007765A (en) * | 2019-12-13 | 2020-04-14 | 贵州航天计量测试技术研究所 | Fast-edge pulse signal generating device with adjustable pulse parameters |
CN113691241A (en) * | 2021-08-11 | 2021-11-23 | 电子科技大学 | High-precision digital jitter injection device based on amplitude conversion time sequence |
CN114594825A (en) * | 2022-03-28 | 2022-06-07 | 深圳市爱普泰科电子有限公司 | System and method for generating jittered clock signal |
CN117217139A (en) * | 2023-11-09 | 2023-12-12 | 成都翌创微电子有限公司 | Clock generation method and system for digital chip verification |
CN114594825B (en) * | 2022-03-28 | 2024-04-12 | 深圳市爱普泰科电子有限公司 | System and method for generating jittered clock signal |
Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101383603A (en) * | 2008-06-27 | 2009-03-11 | 绿达光电(苏州)有限公司 | Controllable stochastic jitter oscillator circuit |
CN201323559Y (en) * | 2008-12-26 | 2009-10-07 | 桂林电子科技大学 | Digital type ultra-wideband pulse generation device with adjustable pulse duration |
CN101888175A (en) * | 2009-05-15 | 2010-11-17 | 绿达光电股份有限公司 | Pulse width modulation controller with frequency jittering function and related method thereof |
CN102468828A (en) * | 2010-11-03 | 2012-05-23 | 北京普源精电科技有限公司 | Pulse edge control device for waveform generator |
CN102571117A (en) * | 2010-12-09 | 2012-07-11 | 横河电机株式会社 | Pulse signal receiving apparatus and transmission system |
CN103178814A (en) * | 2011-12-21 | 2013-06-26 | 北京普源精电科技有限公司 | Function signal generating device and function signal generating method |
US20130200923A1 (en) * | 2012-02-02 | 2013-08-08 | Anritsu Corporation | Jitter measuring trigger generator, jitter measuring apparatus using the same, method of generating jitter measuring trigger, and method of measuring jitter |
CN103731024A (en) * | 2013-12-24 | 2014-04-16 | 苏州易能微电子科技有限公司 | Signal dither system and method based on switching period changes |
CN103888105A (en) * | 2014-04-14 | 2014-06-25 | 优利德科技(中国)有限公司 | Method and system for generating pulse width wave digits with continuously-adjusted wide frequency |
CN105116802A (en) * | 2015-08-17 | 2015-12-02 | 华北水利水电大学 | An apparatus and method for generating deterministic clock jittering |
CN103178809B (en) * | 2013-02-04 | 2016-02-17 | 深圳市鼎阳科技有限公司 | A kind of DDS porch control method, module and pulse signal generator |
US20160112224A1 (en) * | 2014-09-12 | 2016-04-21 | Image Processing Techniques Limited | Determining a representation of an electrical signal |
CN107078725A (en) * | 2014-11-11 | 2017-08-18 | 密克罗奇普技术公司 | The pulse density modulated D/A converter produced with triangular wave |
CN107171657A (en) * | 2017-06-14 | 2017-09-15 | 电子科技大学 | A kind of jittered device of train pulse part rising edge |
CN107271890A (en) * | 2017-06-14 | 2017-10-20 | 电子科技大学 | A kind of jittered device of train pulse part trailing edge |
CN108572266A (en) * | 2017-12-11 | 2018-09-25 | 深圳市鼎阳科技有限公司 | A kind of waveshape generating device |
-
2018
- 2018-09-26 CN CN201811125028.2A patent/CN109142820B/en active Active
Patent Citations (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101383603A (en) * | 2008-06-27 | 2009-03-11 | 绿达光电(苏州)有限公司 | Controllable stochastic jitter oscillator circuit |
CN201323559Y (en) * | 2008-12-26 | 2009-10-07 | 桂林电子科技大学 | Digital type ultra-wideband pulse generation device with adjustable pulse duration |
CN101888175A (en) * | 2009-05-15 | 2010-11-17 | 绿达光电股份有限公司 | Pulse width modulation controller with frequency jittering function and related method thereof |
CN102468828A (en) * | 2010-11-03 | 2012-05-23 | 北京普源精电科技有限公司 | Pulse edge control device for waveform generator |
CN102571117A (en) * | 2010-12-09 | 2012-07-11 | 横河电机株式会社 | Pulse signal receiving apparatus and transmission system |
CN103178814A (en) * | 2011-12-21 | 2013-06-26 | 北京普源精电科技有限公司 | Function signal generating device and function signal generating method |
US20130200923A1 (en) * | 2012-02-02 | 2013-08-08 | Anritsu Corporation | Jitter measuring trigger generator, jitter measuring apparatus using the same, method of generating jitter measuring trigger, and method of measuring jitter |
CN103178809B (en) * | 2013-02-04 | 2016-02-17 | 深圳市鼎阳科技有限公司 | A kind of DDS porch control method, module and pulse signal generator |
CN103731024A (en) * | 2013-12-24 | 2014-04-16 | 苏州易能微电子科技有限公司 | Signal dither system and method based on switching period changes |
CN103888105A (en) * | 2014-04-14 | 2014-06-25 | 优利德科技(中国)有限公司 | Method and system for generating pulse width wave digits with continuously-adjusted wide frequency |
US20160112224A1 (en) * | 2014-09-12 | 2016-04-21 | Image Processing Techniques Limited | Determining a representation of an electrical signal |
CN107078725A (en) * | 2014-11-11 | 2017-08-18 | 密克罗奇普技术公司 | The pulse density modulated D/A converter produced with triangular wave |
CN105116802A (en) * | 2015-08-17 | 2015-12-02 | 华北水利水电大学 | An apparatus and method for generating deterministic clock jittering |
CN107171657A (en) * | 2017-06-14 | 2017-09-15 | 电子科技大学 | A kind of jittered device of train pulse part rising edge |
CN107271890A (en) * | 2017-06-14 | 2017-10-20 | 电子科技大学 | A kind of jittered device of train pulse part trailing edge |
CN108572266A (en) * | 2017-12-11 | 2018-09-25 | 深圳市鼎阳科技有限公司 | A kind of waveshape generating device |
Non-Patent Citations (5)
Title |
---|
I.VEGAS: "Design of a variable width pulse generator feasible for manual or automatic control", 《NUCLEAR INSTRUMENTS AND METHODS IN PHYSICS RESEARCH SECTION A: ACCELERATORS, SPECTROMETERS, DETECTORS AND ASSOCIATED EQUIPMENT》 * |
付在明: "高速脉冲波形合成关键技术研究", 《中国博士学位论文全文数据库 信息科技辑》 * |
张娟娟: "环形激光陀螺数字抖动频偏技术研究", 《弹箭与制导学报》 * |
易敏: "宽频脉冲码型发生器的设计与实现", 《中国优秀硕士学位论文全文数据库 工程科技II辑》 * |
王学力: "基于DSP时钟抖动测量系统的研究与实现", 《科学技术与工程》 * |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109857188A (en) * | 2019-01-08 | 2019-06-07 | 优利德科技(中国)股份有限公司 | A kind of pulse wave generation method based on DDS, device and its system |
CN109857188B (en) * | 2019-01-08 | 2020-06-23 | 优利德科技(中国)股份有限公司 | Pulse wave generation method, device and system based on DDS |
CN109861668B (en) * | 2019-01-25 | 2023-03-21 | 西安微电子技术研究所 | High-reliability button instruction pulse circuit |
CN109861668A (en) * | 2019-01-25 | 2019-06-07 | 西安微电子技术研究所 | A kind of high reliability button commands impulse circuit |
CN110768647A (en) * | 2019-11-12 | 2020-02-07 | 中电科仪器仪表有限公司 | Method and system for reducing pulse signal jitter based on edge control |
CN110768647B (en) * | 2019-11-12 | 2023-05-09 | 中电科思仪科技股份有限公司 | Method and system for reducing pulse signal jitter based on edge control |
CN111007765A (en) * | 2019-12-13 | 2020-04-14 | 贵州航天计量测试技术研究所 | Fast-edge pulse signal generating device with adjustable pulse parameters |
CN113691241B (en) * | 2021-08-11 | 2022-03-15 | 电子科技大学 | High-precision digital jitter injection device based on amplitude conversion time sequence |
CN113691241A (en) * | 2021-08-11 | 2021-11-23 | 电子科技大学 | High-precision digital jitter injection device based on amplitude conversion time sequence |
CN114594825A (en) * | 2022-03-28 | 2022-06-07 | 深圳市爱普泰科电子有限公司 | System and method for generating jittered clock signal |
CN114594825B (en) * | 2022-03-28 | 2024-04-12 | 深圳市爱普泰科电子有限公司 | System and method for generating jittered clock signal |
CN117217139A (en) * | 2023-11-09 | 2023-12-12 | 成都翌创微电子有限公司 | Clock generation method and system for digital chip verification |
CN117217139B (en) * | 2023-11-09 | 2024-01-30 | 成都翌创微电子有限公司 | Clock generation method and system for digital chip verification |
Also Published As
Publication number | Publication date |
---|---|
CN109142820B (en) | 2021-07-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109142820A (en) | A kind of pulse wave generating device | |
KR102437238B1 (en) | Edge generator-based phase locked loop reference clock generator for automated test system | |
US10511315B1 (en) | Adaptive jitter and spur adjustment for clock circuits | |
CN102723931B (en) | The pulse wave generation method that a kind of wide dynamic high precision edge time is adjustable | |
CN113434006B (en) | High-resolution pulse waveform generating device based on DDS | |
CN110324038A (en) | Slope generation is quickly established using phaselocked loop | |
KR20180070835A (en) | Asynchronous clock signal generator and semiconductor device for correcting multi-phase signal using asynchronous clock signal | |
CN107528567A (en) | Injection locked oscillator and the semiconductor devices for including it | |
CN109959905A (en) | Agile coherent radar phase compensating method and circuit based on AD9915 | |
US20040212410A1 (en) | Reduced-size integrated phase-locked loop | |
CN105871337B (en) | Improved signal generator capable of modulating in segmented mode | |
CN108572266A (en) | A kind of waveshape generating device | |
US9348358B2 (en) | Clock multiplication and distribution | |
US20100211372A1 (en) | Method and simulator for generating phase noise in system with phase-locked loop | |
CN105871339B (en) | Flexible signal generator capable of modulating in segmented mode | |
CN104579324B (en) | Frequency modulated continuous wave radar system and its application method | |
CN106357271A (en) | Excess loop delay compensation circuit, excess loop compensation method and continuous time delta-sigma analog-digital converter | |
CN103178784B (en) | Oscillation keying modulation method and device and function signal generator | |
CN108292991A (en) | Data phase hunting gear, data phase follow method and communication device | |
CN109714032A (en) | A kind of impulse wave FM circuit and frequency modulation method based on DDS | |
CN116032252A (en) | Digital-analog interface time sequence control circuit | |
CN102468847B (en) | The output intent of square wave and device | |
CN105322957A (en) | Method and system for manufacturing frequency control source loop | |
Joeres et al. | Event driven analog modeling of rf frontends | |
CN103888105A (en) | Method and system for generating pulse width wave digits with continuously-adjusted wide frequency |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | 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: 518000, 3 floors of 4 workshops and 1-3 floors of 5 office buildings of Antongda industrial plant, 68 District, Xingdong community, Xin'an street, Bao'an District, Shenzhen City, Guangdong Province Applicant after: Shenzhen dingyang Technology Co.,Ltd. Address before: 518000 3rd floor, building 4, Antongda Industrial Park, liuxiansan Road, 68 District, Bao'an District, Shenzhen City, Guangdong Province Applicant before: SHENZHEN CITY SIGLENT TECHNOLOGIES Co.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |