CN103178809B - A kind of DDS porch control method, module and pulse signal generator - Google Patents

A kind of DDS porch control method, module and pulse signal generator Download PDF

Info

Publication number
CN103178809B
CN103178809B CN201310043326.8A CN201310043326A CN103178809B CN 103178809 B CN103178809 B CN 103178809B CN 201310043326 A CN201310043326 A CN 201310043326A CN 103178809 B CN103178809 B CN 103178809B
Authority
CN
China
Prior art keywords
edge
rising
amplitude
pulse signal
step value
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
CN201310043326.8A
Other languages
Chinese (zh)
Other versions
CN103178809A (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.)
Shenzhen Siglent Technologies Co Ltd
Original Assignee
Shenzhen Siglent Technologies 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 Shenzhen Siglent Technologies Co Ltd filed Critical Shenzhen Siglent Technologies Co Ltd
Priority to CN201310043326.8A priority Critical patent/CN103178809B/en
Publication of CN103178809A publication Critical patent/CN103178809A/en
Application granted granted Critical
Publication of CN103178809B publication Critical patent/CN103178809B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Manipulation Of Pulses (AREA)
  • Pulse Circuits (AREA)

Abstract

This application discloses a kind of DDS porch control method, module and pulse signal generator, this pulse signal generator comprises the input equipment, microprocessor, DDS module and the digital to analog converter that connect successively, and DDS module comprises: phase accumulator, amplitude modular converter, pulse-width regulated module and edge adjustment module; Edge adjustment module comprises: detection module is for the arrival moment in arrival moment and trailing edge of detecting the rising edge of inceptive impulse signal data; The rising edge that rising edge adjustment module is used for realizing according to upper step value inceptive impulse signal data regulates; The trailing edge that trailing edge adjustment module is used for realizing according to lower step value inceptive impulse signal data regulates.The technical scheme that the application provides compared to existing technology, can realize the quick rising at pulse signal edge and decline and duty ratio is minimum when low frequency, and can regulating impulse signal edge with a wide range of precise.

Description

A kind of DDS porch control method, module and pulse signal generator
Technical field
The application relates to electronic instrumentation, particularly relates to a kind of DDS porch control method, module and pulse signal generator.
Background technology
DDS (DirectDigitalSynthesizer, Direct Digital Synthesizer) can produce Pulse of Arbitrary waveform, and the method that current regulating impulse edge adopts has: a kind of is the adjustment of the hardware circuit using discrete component composition; Another kind is for different rise and fall edges, the mode regulating impulse edge of corresponding impulse waveform data stuffing to the wave memorizer of DDS.But the scope that the porch of these two kinds of methods regulates is all very little, all can not realize quick rising and the decline at pulse signal edge when low frequency pulse.The size at second method edge can be subject to the impact of pulse signal frequency in addition; During low frequency pulse, edge time very large (Millisecond), can not set the time very little (nanosecond) at quick edge and pulse signal edge; Be subject to the restriction of waveform length, the duty ratio of low frequency pulse can not set very little (generally minimum can only be transferred to 0.1%); Obtain different impulse waveforms if want, when namely changing the frequency of pulse, edge and pulsewidth, again will upgrade Wave data, particularly need when the length of Wave data is very large the parameters changing pulse for a long time.
Summary of the invention
The technical problem underlying that the application will solve is, there is provided a kind of can realize pulse signal edge when low frequency quick rising and decline and duty ratio is minimum, and can the DDS porch control method at regulating impulse signal edge, module and pulse signal generator with a wide range of precise.
The application provides a kind of DDS porch control method on the one hand, comprises the following steps:
Pulse signal parameter according to user's input generates inceptive impulse signal data;
Detect the rising edge of inceptive impulse signal data and the arrival moment of trailing edge;
According to the rising edge detected and trailing edge, edge adjustment is carried out to inceptive impulse signal data, comprise: from rising edge arrives the moment, often spend a clock cycle, the amplitude of sampled point is increased progressively according to rising step value, until the amplitude of sampled point is incremented to the maximum amplitude of pulse signal; Arrive the moment from trailing edge, often spend a clock cycle, the amplitude of sampled point is successively decreased according to decline step value, until the amplitude of sampled point is decremented to the minimum amplitude of pulse signal;
Digital-to-analogue conversion is carried out to the pulse data signal after edge regulates, exports the pulse signal after edge adjustment.
Further, rising step value and decline step value obtain according to the rising time of pulse signal of user's input and trailing edge Time Calculation or pre-set respectively.
Further, the computing formula of rising step value and decline step value is respectively:
Δ r i s e = A T r . 1 F s
Δ f a l l = A T f . 1 F s
Wherein, △ rise is rising step value, and △ fall is decline step value, T rrepresent the rising time of the pulse signal of user's input, T frepresent the trailing edge time of the pulse signal of user's input, A is inceptive impulse signal maximum amplitude, F sfor sample frequency.
Further, the pulse signal parameter of user's input comprises the frequency of pulse signal, pulsewidth, rising time and trailing edge time.
The another aspect of the application provides a kind of DDS module, comprising:
Phase accumulator, carries out phase-accumulated for the frequency control word inputted according to user in each operating clock cycle, produces the phase value that inceptive impulse signal data is corresponding; Described frequency control word is obtained by the frequency inverted of inceptive impulse signal;
Amplitude modular converter, for being converted to the amplitude of inceptive impulse signal data by phase value;
Pulse-width regulated module, for the pulsewidth of pulse-width regulated inceptive impulse signal data inputted according to user;
Edge adjustment module, for regulating the edge of inceptive impulse signal data, and export the pulse data signal after edge adjustment, edge adjustment module comprises:
Detection module, for the arrival moment in arrival moment and trailing edge of detecting the rising edge of inceptive impulse signal data;
Rising edge adjustment module, regulates for the rising edge realizing inceptive impulse signal data according to upper step value;
Trailing edge adjustment module, regulates for the trailing edge realizing inceptive impulse signal data according to lower step value.
Further, rising edge adjustment module arrives the moment from rising edge, often spends a clock cycle, the amplitude of sampled point is increased progressively according to rising step value, until the amplitude of sampled point is incremented to the maximum amplitude of pulse signal; Trailing edge adjustment module arrives the moment from trailing edge, often spends a clock cycle, the amplitude of sampled point is successively decreased according to decline step value, until the amplitude of sampled point is decremented to the minimum amplitude of pulse signal.
Further, rising step value and decline step value obtain according to the rising time of pulse signal of user's input and trailing edge Time Calculation or pre-set respectively.
Further, the computing formula of rising step value and decline step value is respectively:
Δ r i s e = A T r . 1 F s
Δ f a l l = A T f . 1 F s
Wherein, △ rise is rising step value, and △ fall is decline step value, T rrepresent the rising time of the pulse signal of user's input, T frepresent the trailing edge time of the pulse signal of user's input, A is the maximum amplitude of inceptive impulse signal, F sfor sample frequency.
The another aspect of the application provides a kind of pulse signal generator, comprising:
Comprise the input equipment, microprocessor, DDS module and the digital to analog converter that connect successively;
Input equipment is used for providing input interface, receives the pulse signal parameter of user's input;
Microprocessor is for obtaining frequency control word, pulsewidth count value, rising step value and decline step value and exporting to DDS module;
DDS module is used for producing inceptive impulse signal data according to pulse signal parameter, detects the arrival moment of rising edge and the arrival moment of trailing edge of inceptive impulse signal data; According to the rising edge detected and trailing edge, edge adjustment is carried out to inceptive impulse signal data, comprise: from rising edge arrives the moment, often spend a clock cycle, the amplitude of sampled point is carried out increasing progressively rear output according to rising step value, until the amplitude of sampled point is incremented to the maximum amplitude of pulse signal; Arrive the moment from trailing edge, often spend a clock cycle, export after the amplitude of sampled point is successively decreased according to decline step value, until the amplitude of sampled point is decremented to the minimum amplitude of pulse signal;
The pulse data signal after edge regulates that digital to analog converter exports for receiving DDS module, carries out digital-to-analogue conversion to the pulse data signal after edge regulates, and exports the pulse signal after edge adjustment.
Further, the pulse signal parameter of user's input comprises the frequency of pulse signal, pulsewidth, rising time and trailing edge time, the frequency inverted of pulse signal is become frequency control word by microprocessor, the pulse width conversion of pulse signal is become pulsewidth count value, DDS module produces inceptive impulse signal data according to frequency control word and pulsewidth count value, and microprocessor calculates rising step value and decline step value according to the maximum amplitude of rising time, trailing edge time, pulse signal and sample frequency.
Effective effect of the application is: DDS porch control method, module and pulse signal generator that the application provides, make to realize when low frequency the quick rising at pulse signal edge and decline by edge adjustment module and duty ratio is minimum, and can regulating impulse signal edge with a wide range of precise.
Accompanying drawing explanation
Fig. 1 is a kind of pulse signal generator structured flowchart of the embodiment of the present application;
Fig. 2 is the flow chart of a kind of DDS porch control method of the embodiment of the present application;
Fig. 3 is a kind of inceptive impulse signal of the embodiment of the present application and the pulse signal schematic diagram of output after edge adjustment module regulates;
Fig. 4 is that the pulse signal edge of the application regulates schematic diagram.
Embodiment
By reference to the accompanying drawings the present invention is described in further detail below by embodiment.
As shown in Figure 1, a kind of pulse signal generator that the application provides, comprises the input equipment 1, microprocessor 2, DDS module 3 and the digital to analog converter 4 that connect successively.Wherein, DDS module 3 comprises phase accumulator 31, amplitude modular converter 32, pulse-width regulated module 33 and edge adjustment module 34.Edge adjustment module 34 comprises again rising edge adjustment module 341, trailing edge adjustment module 342 and detection module 343.
Input equipment 1, for providing input interface, receives the pulse signal parameter of user's input; In a kind of specific embodiment, the pulse signal parameter of user's input comprises the frequency of pulse signal, pulsewidth, rising time and trailing edge time.Microprocessor 2 is for obtaining frequency control word, pulsewidth count value, rising step value and decline step value and exporting to DDS module 3, in the present embodiment, rising step value and decline step value obtain according to the rising time of pulse signal of user's input and trailing edge Time Calculation respectively, in other embodiments, rising step value and decline step value also can pre-set, and the computing formula of rising step value and decline step value is respectively:
Δ r i s e = A T r . 1 F s - - - ( 1 )
Δ f a l l = A T f . 1 F s - - - ( 2 )
Wherein, △ rise is rising step value, and △ fall is decline step value, T rrepresent the rising time of the pulse signal of user's input, T frepresent the trailing edge time of the pulse signal of user's input, A is inceptive impulse signal maximum amplitude, F sfor the sample frequency of digital to analog converter (DAC).In the present embodiment, △ rise, △ fall and A adopt digital quantity to represent.
The phase accumulator 31 of DDS module 3, for carrying out phase-accumulated in each operating clock cycle according to frequency control word, produces the phase value that inceptive impulse signal data is corresponding; In the present embodiment, the frequency inverted of pulse signal is become frequency control word and flows to phase accumulator 31 by microprocessor 2.In other embodiments, frequency control word also can be pre-stored within frequency control register, exports to phase accumulator 31 in use by frequency control register.Amplitude modular converter 32 is for being converted to the amplitude of inceptive impulse signal data by phase value.The pulsewidth of pulse-width regulated inceptive impulse signal data of pulse-width regulated module 33 for inputting according to user.Edge adjustment module 34 for regulating the edge of inceptive impulse signal data, and exports the pulse data signal after edge adjustment.Detection module 343 in edge adjustment module 34 is for the arrival moment in arrival moment and trailing edge of detecting the rising edge of inceptive impulse signal data.Rising edge adjustment module 341 regulates for the rising edge realizing inceptive impulse signal data according to rising step value, the mode realized is: rising edge adjustment module 341 arrives the moment from rising edge, often spending a clock cycle, the amplitude of sampled point is increased progressively according to rising step value, until the amplitude of sampled point is incremented to the maximum amplitude of pulse signal.Maximum amplitude refers to the high level amplitude of the pulse signal that needs produce.Trailing edge adjustment module 342 regulates for the trailing edge realizing inceptive impulse signal data according to lower step value, the mode realized is, trailing edge adjustment module 342 arrives the moment from trailing edge, often spending a clock cycle, the amplitude of sampled point is successively decreased according to decline step value, until the amplitude of sampled point is decremented to the minimum amplitude of pulse signal.Minimum amplitude refers to the low level amplitude of the pulse signal that needs produce.The pulse data signal after edge regulates that digital to analog converter 4 exports for receiving DDS module 3, carries out digital-to-analogue conversion to the pulse data signal after edge regulates, and exports the pulse signal after edge adjustment.It should be noted that the bit wide of pulse data signal is often greater than the data bit width of digital to analog converter, so during specific implementation, the high significance bit of pulse data signal is connected to the data input port of digital to analog converter.
Based on above-mentioned pulse signal generator, as shown in Figure 2, a kind of DDS porch control method that the application provides, comprises the following steps:
Step S100, the pulse signal parameter according to user's input generates inceptive impulse signal data.
User is by input equipment input pulse signal parameter, enter in DDS module by microprocessor, these parameters comprise the frequency of pulse signal, pulsewidth, rising time and trailing edge time, microprocessor 2 calculates rising step value △ rise and decline step value △ fall respectively according to above-mentioned formula (1) and (2), and exports to the edge adjustment module of DDS module.Phase accumulator carries out phase-accumulated according to frequency control word in each operating clock cycle, produce the phase value that inceptive impulse signal data is corresponding, this phase value is converted to the amplitude of inceptive impulse signal data by amplitude modular converter, and the pulse-width regulated of inceptive impulse signal data is the pulsewidth that user wants to obtain by the pulsewidth that pulse-width regulated module inputs according to user.Waveform Figure 101 that a kind of inceptive impulse signal data of the embodiment of the present application is corresponding as shown in Fig. 3 (A) expression.
Step S101, the amplitude that detection module detects sampled point is minimum amplitude or maximum amplitude, if minimum amplitude, then performs step S102, if maximum amplitude, then performs step S103.
Step S102, the rising edge detecting pulse data signal arrives the moment, and when the rising edge arrival moment not detected, the amplitude of each sampled point is set to minimum amplitude, and the data of sampled point are outputted to digital to analog converter.When the rising edge arrival moment being detected, from rising edge arrives the moment (a point as shown in Figure 4), the rising edge of inceptive impulse signal data is regulated.
The arrive detection method in moment of rising edge can adopt the method amplitude of the amplitude of current sampling point and last sampled point compared, if the difference of the amplitude of the amplitude of current sampling point and last sampled point is greater than default first threshold, then think that rising edge arrives.The detection method in rising edge arrival moment also can adopt other detection method of the prior art.
In a kind of specific embodiment, in rising edge regulating step, according to the clock of setting, often spend a clock cycle, the amplitude of sampled point increases progressively according to rising step value △ rise by the rising edge adjustment module of edge adjustment module, until the amplitude of sampled point is incremented to the maximum amplitude of pulse signal, by the amplitude of sampled point from minimum amplitude, the amplitude of next sampled point is that minimum amplitude adds rising step value △ rise, the amplitude of each sampled point is afterwards on the basis of last sampled point amplitude, increase rising step value △ rise, and the amplitude after increasing progressively is replaced with the amplitude of current sampling point, and the data of the sampled point after replacement are outputted to digital to analog converter.For the rising time of pulse signal of satisfying the demand, after each amplitude increases progressively, the maximum of the amplitude after increasing progressively and required pulse is compared, if the amplitude of a certain sampled point (c point as shown in Figure 4) exceedes the maximum amplitude of pulse signal, then the amplitude of this sampled point is replaced with the maximum amplitude of pulse signal, and stop rising edge regulating.
In a kind of specific embodiment, in rising edge regulating step, according to the clock frequency of setting, inceptive impulse signal data is sampled, but to each sampled point, the basis of last sampled point amplitude increases rising step value △ rise, and the amplitude after increasing progressively is replaced with the amplitude of current sampling point, and the data of the sampled point after replacing are outputted to digital to analog converter.And the maximum of the amplitude after increasing progressively and required pulse is compared, if the amplitude of a certain sampled point exceedes the maximum amplitude of pulse signal, then the amplitude of this sampled point is replaced with the maximum amplitude of pulse signal, and stop rising edge regulating.
Rising edge is stopped to regulate rear steering step S101.
Step S103, the trailing edge detecting pulse data signal arrives the moment, and when the trailing edge arrival moment not detected, the amplitude of each sampled point is set to maximum amplitude, and the data of sampled point are outputted to digital to analog converter.When the trailing edge arrival moment being detected, from trailing edge arrives the moment (b point as shown in Figure 4), the rising edge of inceptive impulse signal data is regulated.
The arrive detection method in moment of trailing edge can adopt the method amplitude of the amplitude of current sampling point and a rear sampled point compared, if the difference of the amplitude of the amplitude of current sampling point and a rear sampled point is greater than default Second Threshold, then think that trailing edge arrives.The detection method in trailing edge arrival moment also can adopt other detection method of the prior art.
In a kind of specific embodiment, in trailing edge regulating step, according to the clock of setting, often spend a clock cycle, the amplitude of sampled point is successively decreased according to decline step value △ fall by the trailing edge adjustment module of edge adjustment module, until the amplitude of sampled point is decremented to the minimum amplitude of pulse signal, by the amplitude of sampled point from maximum amplitude, the amplitude of next sampled point is that maximum amplitude deducts decline step value △ fall, the amplitude of each sampled point is afterwards on the basis of last sampled point amplitude, reduce decline step value △ fall, and the amplitude after successively decreasing is replaced with the amplitude of current sampling point, and the data of the sampled point after replacement are outputted to digital to analog converter.For trailing edge time of pulse signal of satisfying the demand, after each amplitude is successively decreased, the minimum value of the amplitude after successively decreasing and required pulse is compared, if the minimum amplitude of extra pulse signal at the bottom of the amplitude of a certain sampled point (d point as shown in Figure 4), then the amplitude of this sampled point is replaced with the minimum amplitude of pulse signal, and stop trailing edge regulating.
In a kind of specific embodiment, in trailing edge regulating step, according to the clock frequency of setting, inceptive impulse signal data is sampled, but to each sampled point, the basis of last sampled point amplitude is reduced decline step value △ fall, and the amplitude after successively decreasing is replaced with the amplitude of current sampling point, and the data of the sampled point after replacing are outputted to digital to analog converter.And the minimum value of the amplitude after successively decreasing and required pulse is compared, if the minimum amplitude of the low extra pulse signal of the amplitude of a certain sampled point, then the amplitude of this sampled point is replaced with the minimum amplitude of pulse signal, and stop trailing edge regulating.
Trailing edge is stopped to regulate rear steering step S101.
Step S104, carries out digital-to-analogue conversion to the pulse data signal after edge regulates, and exports the pulse signal after edge adjustment.
Inceptive impulse signal data is namely exportable for wanting the pulse signal obtained after digital to analog converter conversion again after the adjustment of edge adjustment module, is the oscillogram 201 that the inceptive impulse signal data of the embodiment of the present application is corresponding after edge adjustment module regulates as shown in Fig. 3 (B).
Two formula (3) and (4) are below obtained by after above-mentioned formula (1) and (2) distortion,
T r = A Δ r i s e . 1 F s - - - ( 3 )
T f = A Δ f a l l . 1 F s - - - ( 4 )
As can be seen from two formula (3) and (4) above, rising step value △ rise and decline step value △ fall is less, the rising time T of porch rwith trailing edge time T flarger, rising step value △ rise and decline step value △ fall is larger, then the rising time T of the porch obtained rwith trailing edge time T fless.Therefore at sample frequency F swhen constant with maximum amplitude A, as long as change rising step value △ rise and decline step value △ fall, just can change the edge slope of pulse signal, thus the edge achieving pulse signal regulates.
Require in practical application that edge is at least 2 sampling periods, namely when △ rise is time, min (T r) be make △ rise be 1, obtain max (T f) be in like manner, when △ fall is time, min (T r) be make △ fall be 1, obtain max (T f) be visible when A digital quantity very large (30 powers of such as 2), the edge of pulse signal regulates adjustable range very large, can be adjusted to level second (s) from nanosecond (ns) level.
The output frequency of DDS pulse is wherein FTW is frequency control word, and N is the bit wide of DDS phase accumulator, F sit is sample frequency.Even if still can keep the rise and fall edge of (nanosecond) fast when low frequency, during low frequency, pulsewidth is very little, and rise and fall are along very fast, and pulsewidth can be very little, therefore, it is possible to accomplish minimum duty ratio.
Above content is in conjunction with concrete execution mode further description made for the present invention, can not assert that specific embodiment of the invention is confined to these explanations.For general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, some simple deduction or replace can also be made.

Claims (10)

1. a DDS porch control method, is characterized in that, comprises the following steps:
Pulse signal parameter according to user's input generates inceptive impulse signal data;
Detect the rising edge of described inceptive impulse signal data and the arrival moment of trailing edge;
According to the rising edge detected and trailing edge, edge adjustment is carried out to described inceptive impulse signal data, comprise: from rising edge arrives the moment, often spend a clock cycle, the amplitude of sampled point is increased progressively according to rising step value, until the amplitude of sampled point is incremented to the maximum amplitude of pulse signal; Arrive the moment from trailing edge, often spend a clock cycle, the amplitude of sampled point is successively decreased according to decline step value, until the amplitude of sampled point is decremented to the minimum amplitude of pulse signal;
Digital-to-analogue conversion is carried out to the pulse data signal after edge regulates, exports the pulse signal after edge adjustment;
Described edge is at least 2 sampling periods.
2. the method for claim 1, is characterized in that, described rising step value and decline step value obtain according to the rising time of pulse signal of user's input and trailing edge Time Calculation or pre-set respectively.
3. method as claimed in claim 2, it is characterized in that, the computing formula of described rising step value and decline step value is respectively:
Δ r i s e = A T r . 1 F s
Δ f a l l = A T f . 1 F s
Wherein, △ rise is rising step value, and △ fall is decline step value, T rrepresent the rising time of the pulse signal of user's input, T frepresent the trailing edge time of the pulse signal of user's input, A is the maximum amplitude of inceptive impulse signal, F sfor the sample frequency for carrying out the digital to analog converter of digital-to-analogue conversion to the pulse data signal after edge regulates.
4. the method for claim 1, is characterized in that, the pulse signal parameter of described user's input comprises the frequency of inceptive impulse signal, pulsewidth, rising time and trailing edge time.
5. a DDS module, comprising:
Phase accumulator, for carrying out phase-accumulated in each operating clock cycle according to frequency control word, produces the phase value that inceptive impulse signal data is corresponding; Described frequency control word is obtained by the frequency inverted of inceptive impulse signal;
Amplitude modular converter, for being converted to the amplitude of inceptive impulse signal data by described phase value;
Pulse-width regulated module, for the pulsewidth of inceptive impulse signal data described in the pulse-width regulated that inputs according to user;
It is characterized in that, also comprise:
Edge adjustment module, for regulating the edge of described inceptive impulse signal data, and exports the pulse data signal after edge adjustment;
Described edge adjustment module comprises:
Detection module, for the arrival moment in arrival moment and trailing edge of detecting the rising edge of described inceptive impulse signal data;
Rising edge adjustment module, regulates for the rising edge realizing described inceptive impulse signal data according to rising step value;
Trailing edge adjustment module, regulates for the trailing edge realizing described inceptive impulse signal data according to decline step value.
6. DDS module as claimed in claim 5, it is characterized in that, described rising edge adjustment module arrives the moment from rising edge, often spends a clock cycle, the amplitude of sampled point is increased progressively according to rising step value, until the amplitude of sampled point is incremented to the maximum amplitude of pulse signal; Described trailing edge adjustment module arrives the moment from trailing edge, often spends a clock cycle, the amplitude of sampled point is successively decreased according to decline step value, until the amplitude of sampled point is decremented to the minimum amplitude of pulse signal.
7. DDS module as claimed in claim 6, is characterized in that, described rising step value and decline step value obtain according to the rising time of the pulse signal of user's input and trailing edge Time Calculation or pre-set respectively.
8. DDS module as claimed in claim 7, it is characterized in that, the computing formula of described rising step value and decline step value is respectively:
Δ r i s e = A T r . 1 F s
Δ f a l l = A T f . 1 F s
Wherein, △ rise is rising step value, and △ fall is decline step value, T rrepresent the rising time of the pulse signal of user's input, T frepresent the trailing edge time of the pulse signal of user's input, A is inceptive impulse signal maximum amplitude, F sfor the sample frequency for carrying out the digital to analog converter of digital-to-analogue conversion to the pulse data signal after edge regulates.
9. a pulse signal generator, is characterized in that, comprises the input equipment, microprocessor, DDS module and the digital to analog converter that connect successively;
Described input equipment is used for providing input interface, receives the pulse signal parameter of user's input;
Described microprocessor is for obtaining frequency control word, pulsewidth count value, rising step value and decline step value and exporting to DDS module;
Described DDS module is used for producing inceptive impulse signal data according to pulse signal parameter, detects the arrival moment of the rising edge of described inceptive impulse signal data and the arrival moment of trailing edge; According to the rising edge detected and trailing edge, edge adjustment is carried out to described inceptive impulse signal data, comprise: from rising edge arrives the moment, often spend a clock cycle, the amplitude of sampled point is carried out increasing progressively rear output according to rising step value, until the amplitude of sampled point is incremented to the maximum amplitude of pulse signal; Arrive the moment from trailing edge, often spend a clock cycle, export after the amplitude of sampled point is successively decreased according to decline step value, until the amplitude of sampled point is decremented to the minimum amplitude of pulse signal;
The pulse data signal after edge regulates that described digital to analog converter exports for receiving DDS module, carries out digital-to-analogue conversion to the pulse data signal after edge regulates, and exports the pulse signal after edge adjustment;
Described edge is at least 2 sampling periods.
10. pulse signal generator as claimed in claim 9, it is characterized in that, the pulse signal parameter of described user's input comprises the frequency of pulse signal, pulsewidth, rising time and trailing edge time, the frequency inverted of pulse signal is become frequency control word by described microprocessor, the pulse width conversion of pulse signal is become pulsewidth count value, described DDS module produces inceptive impulse signal data according to frequency control word and pulsewidth count value, described microprocessor is according to rising time, the trailing edge time, the maximum amplitude of pulse signal and sample frequency calculate rising step value and decline step value.
CN201310043326.8A 2013-02-04 2013-02-04 A kind of DDS porch control method, module and pulse signal generator Active CN103178809B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310043326.8A CN103178809B (en) 2013-02-04 2013-02-04 A kind of DDS porch control method, module and pulse signal generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310043326.8A CN103178809B (en) 2013-02-04 2013-02-04 A kind of DDS porch control method, module and pulse signal generator

Publications (2)

Publication Number Publication Date
CN103178809A CN103178809A (en) 2013-06-26
CN103178809B true CN103178809B (en) 2016-02-17

Family

ID=48638463

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310043326.8A Active CN103178809B (en) 2013-02-04 2013-02-04 A kind of DDS porch control method, module and pulse signal generator

Country Status (1)

Country Link
CN (1) CN103178809B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109142820A (en) * 2018-09-26 2019-01-04 深圳市鼎阳科技有限公司 A kind of pulse wave generating device

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103888105B (en) * 2014-04-14 2016-10-26 优利德科技(中国)有限公司 A kind of broadband continuously adjustable pulsewidth wave number word production method and system
CN104038185B (en) * 2014-05-23 2017-02-22 大连理工大学 Rising edge detection circuit
JP6527704B2 (en) * 2015-01-29 2019-06-05 ルネサスエレクトロニクス株式会社 Semiconductor device
CN105634444A (en) * 2015-12-24 2016-06-01 福建利利普光电科技有限公司 Square wave generation method based on DDS signal generator
DE102016109799B4 (en) * 2016-05-27 2017-12-14 Infineon Technologies Ag Communication devices, methods for detecting an edge in a received signal and method for receiving data
CN106059536B (en) * 2016-07-14 2024-03-01 深圳市鼎阳科技股份有限公司 Square wave signal generator
CN106921370B (en) * 2017-02-20 2021-04-13 江苏旭微科技有限公司 Duty ratio adjusting circuit of clock signal
CN107153352A (en) * 2017-04-25 2017-09-12 华南理工大学 A kind of pulse generation method based on digital frequency synthesis technology
CN107271891B (en) * 2017-06-14 2019-06-14 电子科技大学 A kind of device that train pulse rising edge is jittered
CN107834354A (en) * 2017-10-26 2018-03-23 山东海富光子科技股份有限公司 A kind of signal generator applied to high-peak power laser
CN108572266B (en) * 2017-12-11 2020-09-15 深圳市鼎阳科技股份有限公司 Waveform generating device
CN110989767A (en) * 2018-12-12 2020-04-10 苏州普源精电科技有限公司 Interpolation method and device
CN109857188B (en) * 2019-01-08 2020-06-23 优利德科技(中国)股份有限公司 Pulse wave generation method, device and system based on DDS
CN112255467A (en) * 2019-07-22 2021-01-22 苏州普镭辰光光电有限公司 Device and method for measuring arrival time of pulse signal
CN110768647B (en) * 2019-11-12 2023-05-09 中电科思仪科技股份有限公司 Method and system for reducing pulse signal jitter based on edge control
CN111817127A (en) * 2020-07-07 2020-10-23 上海瀚宇光纤通信技术有限公司 Output control device and control method of laser and laser wind measuring radar
CN111766498B (en) * 2020-07-28 2022-11-25 哈尔滨工业大学 Control method and device for deep energy level transient spectrum trigger signal and storage medium
CN113434006B (en) * 2021-07-08 2022-06-03 电子科技大学 High-resolution pulse waveform generating device based on DDS
CN114553644B (en) * 2022-01-18 2023-04-18 电子科技大学 Adjustable pulse forming method based on DDS technology
CN117233734B (en) * 2023-11-14 2024-01-30 山东富锐光学科技有限公司 Laser radar data acquisition method and system based on TDC and ADC and laser radar

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1954494A (en) * 2004-05-26 2007-04-25 松下电器产业株式会社 Skew correction apparatus
CN101141122A (en) * 2007-10-11 2008-03-12 电子科技大学 Pulse fast edge conversion device
CN102109875A (en) * 2009-12-28 2011-06-29 北京普源精电科技有限公司 Signal generator with pulse signal generation function, and method for generating pulse signal
CN102723931A (en) * 2012-07-02 2012-10-10 优利德科技(成都)有限公司 Wide-dynamic high-accuracy and edge time adjustable impulse wave producing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1954494A (en) * 2004-05-26 2007-04-25 松下电器产业株式会社 Skew correction apparatus
CN101141122A (en) * 2007-10-11 2008-03-12 电子科技大学 Pulse fast edge conversion device
CN102109875A (en) * 2009-12-28 2011-06-29 北京普源精电科技有限公司 Signal generator with pulse signal generation function, and method for generating pulse signal
CN102723931A (en) * 2012-07-02 2012-10-10 优利德科技(成都)有限公司 Wide-dynamic high-accuracy and edge time adjustable impulse wave producing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109142820A (en) * 2018-09-26 2019-01-04 深圳市鼎阳科技有限公司 A kind of pulse wave generating device
CN109142820B (en) * 2018-09-26 2021-07-13 深圳市鼎阳科技股份有限公司 Pulse wave generating device

Also Published As

Publication number Publication date
CN103178809A (en) 2013-06-26

Similar Documents

Publication Publication Date Title
CN103178809B (en) A kind of DDS porch control method, module and pulse signal generator
CN101356718B (en) Comparator type DC-DC converter
CN103916004A (en) Power factor correction circuit and control method thereof
US9035633B1 (en) Switching power converter control
US8786377B2 (en) System and method of maintaining gain linearity of variable frequency modulator
TWI520468B (en) Controllers and control methods for dc/dc converter
CN103580000A (en) Overvoltage protection method and circuit for switching power supply output and switching power supply provided with the circuit
CN107645233A (en) For producing the method and circuit of pulse-width signal
CN102723931B (en) The pulse wave generation method that a kind of wide dynamic high precision edge time is adjustable
CN103516203B (en) DC-DC controller and operation method thereof
US9614506B1 (en) Digital pre-compensation for voltage slewing in a power converter
CN105027406B (en) Impulse density D/A converter with slope-compensation function
CN103092248A (en) Feedforward control method and device
CN106774628A (en) A kind of multichannel editing device and method
CN202075343U (en) Three phase electric energy meter and three phase electric energy correction system
CN103378726B (en) Switched power supply and control circuit thereof and control method
CN108572266A (en) A kind of waveshape generating device
CN102624360B (en) Frequency multiplying circuit and system capable of automatically adjusting duty ratio of output signal
US9923450B2 (en) Switched mode power supply compensation loop
CN102427347A (en) Clipped triangular wave generation circuit
US8143871B1 (en) Dynamically-compensated controller
US20220278603A1 (en) DIGITAL ZERO-CURRENT SWITCHING LOCK-IN CONTROLLER IC FOR OPTIMIZED OPERATION OF RESONANT SWITCHED-CAPACITOR CONVERTERS (SCCs)
EP2991212B1 (en) Voltage adjusting power source and method for controlling output voltage
JP2017055522A (en) Power supply device and signal processing method therefor
US10886907B1 (en) Method of controlling resolution of digital pulse width modulation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 518000 Guangdong Province, Baoan District, Baoan District, Xin'an Street, Xingdong Community, 68 District, Antongda Industrial Factory Area, 4 factories, 3 floors, 5 office buildings, 1-3 floors

Patentee after: Shenzhen dingyang Technology Co., Ltd

Address before: Shenzhen City, Guangdong province Baoan District 518000 District 68 road left three Antongda Industrial Park, 4 floor

Patentee before: Shenzhen Siglent Technologies Co., Ltd.

CP03 Change of name, title or address