CN115344079A - Pulse control equipment and use method thereof - Google Patents
Pulse control equipment and use method thereof Download PDFInfo
- Publication number
- CN115344079A CN115344079A CN202211273972.9A CN202211273972A CN115344079A CN 115344079 A CN115344079 A CN 115344079A CN 202211273972 A CN202211273972 A CN 202211273972A CN 115344079 A CN115344079 A CN 115344079A
- Authority
- CN
- China
- Prior art keywords
- clock
- module
- pulse width
- pulse
- cnt
- 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
- 238000000034 method Methods 0.000 title claims abstract description 17
- 238000006243 chemical reaction Methods 0.000 claims abstract description 32
- 230000002159 abnormal effect Effects 0.000 claims description 12
- 230000008859 change Effects 0.000 claims description 10
- 238000004364 calculation method Methods 0.000 claims description 8
- 230000000630 rising effect Effects 0.000 abstract 1
- 230000008569 process Effects 0.000 description 4
- 238000005086 pumping Methods 0.000 description 4
- 238000013461 design Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012356 Product development Methods 0.000 description 1
- 230000004913 activation Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000013078 crystal Substances 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000005284 excitation Effects 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000003754 machining Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000035484 reaction time Effects 0.000 description 1
- 230000033764 rhythmic process Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 238000002054 transplantation Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
- 238000003079 width control Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/04—Generating or distributing clock signals or signals derived directly therefrom
- G06F1/06—Clock generators producing several clock signals
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/24—Resetting means
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01S—DEVICES USING THE PROCESS OF LIGHT AMPLIFICATION BY STIMULATED EMISSION OF RADIATION [LASER] TO AMPLIFY OR GENERATE LIGHT; DEVICES USING STIMULATED EMISSION OF ELECTROMAGNETIC RADIATION IN WAVE RANGES OTHER THAN OPTICAL
- H01S3/00—Lasers, i.e. devices using stimulated emission of electromagnetic radiation in the infrared, visible or ultraviolet wave range
- H01S3/10—Controlling the intensity, frequency, phase, polarisation or direction of the emitted radiation, e.g. switching, gating, modulating or demodulating
- H01S3/11—Mode locking; Q-switching; Other giant-pulse techniques, e.g. cavity dumping
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K5/00—Manipulating of pulses not covered by one of the other main groups of this subclass
- H03K5/22—Circuits having more than one input and one output for comparing pulses or pulse trains with each other according to input signal characteristics, e.g. slope, integral
- H03K5/24—Circuits having more than one input and one output for comparing pulses or pulse trains with each other according to input signal characteristics, e.g. slope, integral the characteristic being amplitude
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03L—AUTOMATIC CONTROL, STARTING, SYNCHRONISATION OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
- H03L7/00—Automatic control of frequency or phase; Synchronisation
- H03L7/06—Automatic control of frequency or phase; Synchronisation using a reference signal applied to a frequency- or phase-locked loop
- H03L7/16—Indirect frequency synthesis, i.e. generating a desired one of a number of predetermined frequencies using a frequency- or phase-locked loop
- H03L7/18—Indirect frequency synthesis, i.e. generating a desired one of a number of predetermined frequencies using a frequency- or phase-locked loop using a frequency divider or counter in the loop
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Plasma & Fusion (AREA)
- Optics & Photonics (AREA)
- Nonlinear Science (AREA)
- Manipulation Of Pulses (AREA)
Abstract
The invention provides a pulse control device and a using method thereof, wherein the pulse control device comprises: the pulse width conversion device comprises a clock counter module, a clock comparator module, a pulse width batch configuration module, a pulse width to clock number module and a pulse width output controller module. Through organic combination, can produce the sequence pulse of high time accuracy, different pulse widths, clock counter module is with FPGA hardware external selection 50M active clock source, through PLL (phase-locked loop) rising frequency to 500MHz, each clock count precision can reach 2ns, the clock stability can reach 0.2ns level, has guaranteed signal accuracy in the source.
Description
Technical Field
The invention relates to the technical field of pulse width control, in particular to pulse control equipment and a using method thereof.
Background
The pulse control technology is widely applied to the fields of radar, ultrasonic flaw detection and laser control, and particularly, along with the rapid development of the detection technology, the requirements on the performance diversity, the reliability and the operation convenience of the controller are higher and higher. An ideal light source for laser machining or medical cosmetology, for example, is a laser light source with high output beam quality, adjustable pulse width, repetition frequency and peak power, high stability and high reliability. However, the Q-switched fiber lasers on the market at present are basically single pulse width lasers, i.e. both the pulse width and the duty cycle are fixed and not ideal in performance.
The pulse control device generating variable multi-pulse-width signals at present is based on an MCU chip, is limited by the precision of an external crystal oscillator and an MCU internal timer, has the pulse width precision of ms level generally, and cannot be switched quickly, namely, the reaction time of level conversion is also ms level, and the switching speed is insufficient, so that the control precision of a laser or other controlled devices is insufficient, for example, chinese patent CN105356205A discloses a long-pulse-width and high-peak-power quasi-continuous optical fiber laser system, a driving system generates pulse current to drive a pumping source to output ms-level quasi-continuous pumping light, the central wavelength of the pumping source is 915 +/-2 nm, the pulse width of the pumping light is within the range of 0.2-50ms, and the duty ratio is within the range of 10% -50%. Therefore, how to design a pulse control device with higher precision is a technical problem which needs to be solved urgently.
Disclosure of Invention
In view of this, the present invention provides a pulse control apparatus and a method for using the same to solve the existing problem of low precision in generating variable multi-pulse width signals.
The technical scheme of the invention is realized as follows: in one aspect, the present invention provides a pulse control apparatus, wherein the pulse control apparatus comprises:
the pulse width batch configuration module comprises a clock counter module, a clock comparator module, a pulse width batch configuration module, a pulse width to clock number conversion module and a pulse width output controller module;
the clock counter module is electrically connected with the clock comparator module and is used for counting clocks by self and sending the counted number to the clock comparator module;
the clock comparator module is used for comparing the counting number of the clock counter module with the set number of the pulse width to clock number conversion module;
the pulse width batch configuration module is electrically connected with the pulse width to clock number conversion module and used for storing parallel sequence pulse width data and sending the parallel sequence pulse width data to the pulse width to clock number conversion module;
the pulse width to clock number conversion module is electrically connected with the clock comparator module and is used for sending the set number to the clock comparator module;
the pulse width output controller module is electrically connected with the clock comparator module and used for outputting level voltage according to the comparison result of the clock comparator module.
On the basis of the above technical solution, preferably, the clock counter module receives a count RESET signal RESET _ CNT sent by the clock comparator module, starts to receive an external clock signal CLK, performs high-speed self-counting of a clock, and sends the count number CLK _ CNT to the clock comparator module.
On the basis of the above technical solution, preferably, the clock comparator module sends a count RESET signal RESET _ CNT to the clock counter module when a trigger condition is satisfied, that is, when the level voltage of the external trigger signal TRIG changes, the clock counter module starts counting from zero, compares the count number CLK _ CNT of the clock counter module with the SET number SET _ CNT of the PULSE width to clock number module, and sends an output signal to the PULSE width output controller module to change the output level voltage PULSE _ OUT and simultaneously change the PULSE width SHIFT state PULSE _ SHIFT when the count number CLK _ CNT of the clock counter module is equal to the SET number SET _ CNT of the PULSE width to clock number module;
when the RESET signal RESET is powered on or abnormal, the state of the RESET signal is changed to RESET the clock comparator module.
On the basis of the technical scheme, preferably, the PULSE width batch configuration module sequentially sends parallel sequence PULSE width data PULSE _ WIDE1, PULSE _ WIDE2, \ 8230according to the change of the PULSE width SHIFT state PULSE _ SHIFT, and the PULSE _ WIDE is sent to the PULSE width to clock number conversion module;
and when the RESET signal RESET is powered on or abnormal, changing the state of the RESET signal to RESET the pulse width batch configuration module.
On the basis of the above technical solution, preferably, the PULSE width to clock number conversion module converts the parallel sequence PULSE width data PULSE _ wide into the number of clock counts according to the SET PULSE width, that is, the SET number SET _ CNT, where i =1,2, \ 8230, n, and the calculation formula is as follows:
wherein f is CLK Is the clock frequency.
On the basis of the above technical solution, preferably, the PULSE width output controller module receives the result of the clock comparator module, changes the output level voltage PULSE _ OUT, and stops working after n times of output level voltage PULSE _ OUT changes are completed;
and when the RESET signal RESET is powered on or abnormal, changing the state of the RESET signal to RESET the pulse width output controller module.
On the basis of the above technical solution, preferably, the clock counter module, the clock comparator module, the pulse width batch configuration module, the pulse width to clock number conversion module, and the pulse width output controller module are all implemented on FPGA hardware through Verilog codes.
On the basis of the above technical solution, preferably, EP4CE10 from Altera is used as the FPGA hardware.
In another aspect, the present invention provides a method for using a pulse control device, which uses the pulse control device as described above, wherein the method includes the following steps:
s1, changing the state of a RESET signal when a RESET signal RESET is electrified or abnormal, and resetting a clock comparator module, a pulse width batch configuration module and a pulse width output controller module;
s2, when the level voltage of the external trigger signal TRIG changes, the initial level signal START sets the output level voltage PULSE _ OUT of the PULSE width output controller module;
s3, the clock counter module receives a counting RESET signal RESET _ CNT sent by the clock comparator module, starts to receive an external clock signal CLK, performs clock self-adding counting, and sends the counting number CLK _ CNT to the clock comparator module;
s4, sending the parallel sequence PULSE width data PULSE _ WIDE1 to a PULSE width to clock number conversion module by a PULSE width batch configuration module, and converting the PULSE width to a SET number SET _ CNT;
s5, comparing the counting number CLK _ CNT of the clock counter module with the setting number SET _ CNT of the PULSE width to clock number conversion module by the clock comparator module, changing the output level voltage PULSE _ OUT by the PULSE width output controller module when the counting number CLK _ CNT is equal to the setting number SET _ CNT of the PULSE width to clock number conversion module, simultaneously performing PULSE width shift by the PULSE width batch configuration module, outputting the next parallel sequence PULSE width data PULSE _ WIDE2, sending a counting RESET signal RESET _ CNT by the clock comparator module, resetting the clock counter module, performing clock self-adding counting again by the clock counter, comparing by the clock comparator module again, changing the output level voltage PULSE _ OUT again when the counting number CLK _ CNT is equal to the setting number SET _ CNT, and repeating the steps until n PULSEs are output and then stopping working.
Compared with the prior art, the pulse control equipment and the using method thereof have the following beneficial effects:
(1) The clock counter module selects a 50M active clock source from the exterior of FPGA hardware, the frequency is raised to 500MHz through a PLL (phase-locked loop), the counting precision of each clock can reach 2ns, the clock stability can reach 0.2ns level, and the signal precision is ensured at the source;
(2) Pulse widths are configured in batch through the pulse width batch configuration module, and are configured in advance, so that computing resources in the working process of the system are not occupied;
(3) And the pulse width-to-clock number module realizes that the configured time sequence data Mi and Ni are converted into the counting number in batches in advance and are converted into integral multiples representing the minimum time unit. After the integer multiple is obtained, the int type calculation efficiency is higher, and the influence on the system is smaller.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a block diagram of a pulse control apparatus of the present invention;
FIG. 2 is a schematic diagram of the operation of the pulse control apparatus of the present invention;
fig. 3 is a schematic diagram of time-series data of the pulse control device of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
Example one
As shown in fig. 1 to 2, a pulse control apparatus of the present invention, wherein the pulse control apparatus comprises:
the pulse width batch configuration module comprises a clock counter module, a clock comparator module, a pulse width batch configuration module, a pulse width to clock number conversion module and a pulse width output controller module;
the clock counter module is electrically connected with the clock comparator module and is used for counting clocks by self and sending the counted number to the clock comparator module;
the clock comparator module is used for comparing the counting number of the clock counter module with the set number of the pulse width to clock number conversion module;
the pulse width batch configuration module is electrically connected with the pulse width to clock number conversion module and used for storing parallel sequence pulse width data and sending the parallel sequence pulse width data to the pulse width to clock number conversion module;
the pulse width to clock number conversion module is electrically connected with the clock comparator module and is used for sending the set number to the clock comparator module;
the pulse width output controller module is electrically connected with the clock comparator module and used for outputting level voltage according to the comparison result of the clock comparator module.
The equipment adopts logic IP core to realize a trigger type variable multi-pulse width, the precision of the pulse width can reach ns level, a modularized product is formed through design, simulation and verification, the rapid transplantation among different platforms can be realized, and the product development process is accelerated.
The clock counter module receives a counting RESET signal RESET _ CNT sent by the clock comparator module, starts to receive an external clock signal CLK, performs high-speed clock self-adding counting, and sends the counting number CLK _ CNT to the clock comparator module.
The clock counter module selects a 50M active clock source from the exterior of FPGA hardware, the frequency is raised to 500MHz through a PLL (phase-locked loop), the counting precision of each clock can reach 2ns, the clock stability can reach 0.2ns level, and the signal precision is ensured at the source. The external clock signal CLK is clocked, and after triggering, counting is started from 0, e.g. recording the duration of high level reaching N x CLK, N x I.e. the count number CLK _ CNT.
When a trigger condition is met, namely the level voltage of the external trigger signal TRIG changes, the clock comparator module sends a counting RESET signal RESET _ CNT to the clock counter module, the clock counter module starts counting from zero, compares the counting number CLK _ CNT of the clock counter module with the SET number SET _ CNT of the PULSE width to clock number conversion module, and sends an output signal to the PULSE width output controller module to change the output level voltage PULSE _ OUT and change the PULSE width SHIFT state PULSE _ SHIFT when the counting number CLK _ CNT and the SET number SET _ CNT are equal;
when the RESET signal RESET is powered on or abnormal, the state of the RESET signal is changed to RESET the clock comparator module.
The clock comparator block is a device that generates an interrupt when the clock count value equals or exceeds a value specified by a program, that is, compares the count number CLK _ CNT of the clock counter block with the SET number SET _ CNT of the pulse width clock count by clock number block, and outputs a stop signal when CLK _ CNT = SET _ CNT, for example.
The PULSE width batch configuration module sequentially sends parallel sequence PULSE width data PULSE _ WIDE1, PULSE _ WIDE2, 8230according to the change of a PULSE width SHIFT state PULSE _ SHIFT;
and when the RESET signal RESET is powered on or abnormal, changing the state of the RESET signal to RESET the pulse width batch configuration module.
As shown in FIG. 3, the PULSE width batch configuration module can freely configure the time series data Mi and Ni (low and high level durations) of the required parallel sequence PULSE width data PULSE _ WIDE1, PULSE _ WIDE2, \8230, PULSE _ WIDEn through external communication, wherein i =1,2, \8230, n, and can send the time series data Mi and Ni to the PULSE width to clock number module at the moment of power-on start of the device, and the PULSE width batch configuration module is used for batch configuration of PULSE widths, and is configured in advance, and does not occupy the computing resources in the working process of the system.
The PULSE width to clock number conversion module converts parallel sequence PULSE width data PULSE _ WIDEi into the number of clock counts according to the SET PULSE width, namely the SET number SET _ CNT, wherein i =1,2, \8230, n, and the calculation formula is as follows:
wherein f is CLK Is the clock frequency.
And the pulse width-to-clock number module realizes that the configured time sequence data Mi and Ni are converted into the counting number in batches in advance and are converted into integral multiples representing the minimum time unit. The general time configuration is 0.002-1000.000ms, the time configuration is float double precision type, the calculation occupies resources, the speed is slow, if the batch calculation is not carried out in advance, the calculation is carried out in the pulse timing process, the system resources are occupied, the pulse output time of the pulse width output controller module is uncertain (generally, 10-1000 times of the minimum time unit 2ns are different, namely, the dynamic error of ms level), after the pulse output time becomes integral multiple, the int type calculation efficiency is higher, and the influence on the system is smaller.
The PULSE width output controller module receives the result of the clock comparator module, changes the output level voltage PULSE _ OUT, and stops working after n times of output level voltage PULSE _ OUT changes are completed;
and when the RESET signal RESET is powered on or abnormal, changing the state of the RESET signal to RESET the pulse width output controller module.
The PULSE width output controller module changes the output level voltage PULSE _ OUT, the PULSE width batch configuration module performs PULSE width shift at the same time, next parallel sequence PULSE width data PULSE _ WIDE2 is output, the clock comparator module sends OUT a counting RESET signal RESET _ CNT, the clock counter module RESETs again, the clock counter counts again by the clock counter, the clock comparator module compares again, when the two are equal, the output level voltage PULSE _ OUT is changed again, the operation is circulated until n PULSEs are output, and then the operation is stopped.
The clock counter module, the clock comparator module, the pulse width batch configuration module, the pulse width to clock number conversion module and the pulse width output controller module are all realized on FPGA hardware through Verilog codes.
The method can receive an external serial port sending instruction and is realized by an NIOS system driver of the FPGA.
The FPGA hardware adopts the EP4CE10 of Altera corporation.
And (3) externally selecting a 50M clock source, and increasing the frequency to 500MHz through PLL, wherein the counting precision of each clock can reach 2ns.
The pulse control device in this embodiment can set different time sequence data Mi and Ni, where Mi and Ni are not necessarily the same, and implement sequence change rhythm control of pulse signal output, that is, the variable multiple pulse widths can generate sequence pulses with high time accuracy and different pulse widths through organic combination, so as to achieve application effects in complex scenes, for example, in an active excitation experiment, an accurate activation effect can be achieved by controlling the time of the changed pulse width.
Example two
There is provided a method for using a pulse control device according to an embodiment, including the steps of:
s1, changing the state of a RESET signal to RESET a clock comparator module, a pulse width batch configuration module and a pulse width output controller module when a RESET signal RESET is electrified or abnormal;
s2, when the level voltage of the external trigger signal TRIG changes, the initial level signal START sets the output level voltage PULSE _ OUT of the PULSE width output controller module;
s3, the clock counter module receives a counting RESET signal RESET _ CNT sent by the clock comparator module, starts to receive an external clock signal CLK, performs clock self-adding counting, and sends the counting number CLK _ CNT to the clock comparator module;
s4, sending the parallel sequence PULSE width data PULSE _ WIDE1 to a PULSE width to clock number conversion module by a PULSE width batch configuration module, and converting the PULSE width to a SET number SET _ CNT;
s5, comparing the counting number CLK _ CNT of the clock counter module with the setting number SET _ CNT of the PULSE width to clock number conversion module by the clock comparator module, changing the output level voltage PULSE _ OUT by the PULSE width output controller module when the counting number CLK _ CNT is equal to the setting number SET _ CNT of the PULSE width to clock number conversion module, simultaneously performing PULSE width shift by the PULSE width batch configuration module, outputting the next parallel sequence PULSE width data PULSE _ WIDE2, sending a counting RESET signal RESET _ CNT by the clock comparator module, resetting the clock counter module, performing clock self-adding counting again by the clock counter, comparing by the clock comparator module again, changing the output level voltage PULSE _ OUT again when the counting number CLK _ CNT is equal to the setting number SET _ CNT, and repeating the steps until n PULSEs are output and then stopping working.
As shown in fig. 2, the trigger provides a trigger signal, such as a PLC, a high-low output sensor, etc.; the computer or other serial port controllers send data to the memory space of the NIOS through serial communication (RXD) to carry out parameter configuration; the RESET can realize the erasing and emptying control of parameters; the output level voltage PULSE _ OUT is directly connected to an IO control port of laser equipment through a PULSE output port, and the existence of laser output is controlled.
The application method of the pulse control equipment in the embodiment is completed by adopting a standard Verilog language, and by adopting a modular design method, the pulse control equipment can receive an external serial port sending instruction, and an NIOS (network input/output) inside the FPGA drives an IP (Internet protocol) core, so that the flexibility and the expansibility are improved, and nanosecond trigger type variable multi-pulse-width square waves can be generated by FPGA hardware.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and should not be taken as limiting the scope of the present invention, which is intended to cover any modifications, equivalents, improvements, etc. within the spirit and scope of the present invention.
Claims (8)
1. A pulse control apparatus characterized by: the pulse control apparatus includes:
the pulse width batch configuration module comprises a clock counter module, a clock comparator module, a pulse width batch configuration module, a pulse width to clock number conversion module and a pulse width output controller module;
the clock counter module is electrically connected with the clock comparator module and is used for counting clocks by self and sending the counted number to the clock comparator module;
the clock comparator module is used for comparing the counting number of the clock counter module with the set number of the pulse width to clock number conversion module;
the pulse width batch configuration module is electrically connected with the pulse width to clock number conversion module and used for storing parallel sequence pulse width data and sending the parallel sequence pulse width data to the pulse width to clock number conversion module;
the pulse width to clock number conversion module is electrically connected with the clock comparator module and is used for sending the set number to the clock comparator module;
the pulse width output controller module is electrically connected with the clock comparator module and used for outputting level voltage according to the comparison result of the clock comparator module.
2. The pulse control apparatus according to claim 1, wherein: the clock counter module receives a counting RESET signal RESET _ CNT sent by the clock comparator module, starts to receive an external clock signal CLK, performs high-speed clock self-adding counting, and sends the counting number CLK _ CNT to the clock comparator module.
3. The pulse control apparatus according to claim 2, wherein: when a trigger condition is met, namely level voltage change occurs in an external trigger signal TRIG, the clock comparator module sends a counting RESET signal RESET _ CNT to the clock counter module, the clock counter module starts counting from zero, compares the counting number CLK _ CNT of the clock counter module with the SET number SET _ CNT of the PULSE width to clock number conversion module, and sends an output signal to the PULSE width output controller module to change an output level voltage PULSE _ OUT and a PULSE width SHIFT state PULSE _ SHIFT when the counting number CLK _ CNT and the SET number SET _ CNT are equal;
when the RESET signal RESET is powered on or abnormal, the state of the RESET signal is changed to RESET the clock comparator module.
4. A pulse control apparatus according to claim 3, wherein: the PULSE width batch configuration module sequentially sends parallel sequence PULSE width data PULSE _ WIDE1, PULSE _ WIDE2, \ 8230according to the change of the PULSE width SHIFT state PULSE _ SHIFT;
and when the RESET signal RESET is powered on or abnormal, changing the state of the RESET signal to RESET the pulse width batch configuration module.
5. Pulse control device according to claim 4, characterized in that: the PULSE width to clock number module converts the parallel sequence PULSE width data PULSE _ WIDEi into the number of clock counts according to the SET PULSE width, namely the SET number SET _ CNT, wherein i =1,2, \8230, n, and the calculation formula is as follows:
wherein, f CLK Is the clock frequency.
6. A pulse control apparatus according to claim 3, wherein: the PULSE width output controller module receives the result of the clock comparator module, changes the output level voltage PULSE _ OUT, and stops working after n times of output level voltage PULSE _ OUT changes are completed;
and when the RESET signal RESET is powered on or abnormal, changing the state of the RESET signal to RESET the pulse width output controller module.
7. The pulse control apparatus according to claim 1, wherein: the clock counter module, the clock comparator module, the pulse width batch configuration module, the pulse width to clock number conversion module and the pulse width output controller module are all realized on FPGA hardware through Verilog codes.
8. Use of a pulse control device according to any of claims 1-7, characterized in that: the method comprises the following steps:
s1, changing the state of a RESET signal when a RESET signal RESET is electrified or abnormal, and resetting a clock comparator module, a pulse width batch configuration module and a pulse width output controller module;
s2, when the level voltage of the external trigger signal TRIG changes, setting the output level voltage PULSE _ OUT of the PULSE width output controller module by the initial level signal START;
s3, the clock counter module receives a counting RESET signal RESET _ CNT sent by the clock comparator module, starts to receive an external clock signal CLK, performs clock self-adding counting, and sends the counting number CLK _ CNT to the clock comparator module;
s4, sending parallel sequence PULSE width data PULSE _ WIDE1 to a PULSE width to clock number conversion module by a PULSE width batch configuration module, and converting the PULSE width to SET number SET _ CNT;
s5, comparing the counting number CLK _ CNT of the clock counter module with the setting number SET _ CNT of the PULSE width to clock number module by the clock comparator module, changing the output level voltage PULSE _ OUT by the PULSE width output controller module when the counting number CLK _ CNT and the setting number SET _ CNT are equal, simultaneously performing PULSE width shift by the PULSE width batch configuration module, outputting the next parallel sequence PULSE width data PULSE _ WIDE2, sending a counting RESET signal RESET _ CNT by the clock comparator module, resetting the clock counter module, performing clock self-counting again by the clock counter, comparing by the clock comparator module again, changing the output level voltage PULSE _ OUT again when the counting number CLK _ CNT and the setting number SET _ CNT are equal, and circulating until n PULSEs are output and stopping working.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211273972.9A CN115344079B (en) | 2022-10-18 | 2022-10-18 | Pulse control equipment and use method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211273972.9A CN115344079B (en) | 2022-10-18 | 2022-10-18 | Pulse control equipment and use method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115344079A true CN115344079A (en) | 2022-11-15 |
CN115344079B CN115344079B (en) | 2023-03-10 |
Family
ID=83957607
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211273972.9A Active CN115344079B (en) | 2022-10-18 | 2022-10-18 | Pulse control equipment and use method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115344079B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102668379A (en) * | 2009-10-13 | 2012-09-12 | 相干公司 | Digital pulse-width-modulation control of a radio frequency power supply for pulsed laser |
RU2600563C1 (en) * | 2016-04-13 | 2016-10-20 | Игорь Борисович Широков | Method of generating pulse-width sequence with given pulse ratio and frequency with high-accuracy with variation of pulse repetition frequency in wide range |
US20170054272A1 (en) * | 2015-08-21 | 2017-02-23 | VueMetrix, Inc | Digital pulse width modulation power supply with pico second resolution |
US20170330509A1 (en) * | 2016-05-10 | 2017-11-16 | X-Celeprint Limited | Multi-pixel distributed pulse width modulation control |
CN112582870A (en) * | 2020-12-01 | 2021-03-30 | 上海飞博激光科技有限公司 | High-power all-fiber pulse fiber laser system |
CN113411072A (en) * | 2021-07-13 | 2021-09-17 | 上海艾为电子技术股份有限公司 | Pulse width modulation module, audio power amplifier circuit and electronic equipment |
-
2022
- 2022-10-18 CN CN202211273972.9A patent/CN115344079B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102668379A (en) * | 2009-10-13 | 2012-09-12 | 相干公司 | Digital pulse-width-modulation control of a radio frequency power supply for pulsed laser |
US20170054272A1 (en) * | 2015-08-21 | 2017-02-23 | VueMetrix, Inc | Digital pulse width modulation power supply with pico second resolution |
RU2600563C1 (en) * | 2016-04-13 | 2016-10-20 | Игорь Борисович Широков | Method of generating pulse-width sequence with given pulse ratio and frequency with high-accuracy with variation of pulse repetition frequency in wide range |
US20170330509A1 (en) * | 2016-05-10 | 2017-11-16 | X-Celeprint Limited | Multi-pixel distributed pulse width modulation control |
CN112582870A (en) * | 2020-12-01 | 2021-03-30 | 上海飞博激光科技有限公司 | High-power all-fiber pulse fiber laser system |
CN113411072A (en) * | 2021-07-13 | 2021-09-17 | 上海艾为电子技术股份有限公司 | Pulse width modulation module, audio power amplifier circuit and electronic equipment |
Non-Patent Citations (1)
Title |
---|
王睿: "具有多路PWM输出的数字电源控制芯片研究与设计", 《万方数据知识服务平台》 * |
Also Published As
Publication number | Publication date |
---|---|
CN115344079B (en) | 2023-03-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102668379B (en) | Digital pulse-width-modulation control of a radio frequency power supply for pulsed laser | |
CN109361381B (en) | PWM generating circuit, processing circuit and chip | |
US8174302B2 (en) | Pulse signal generator, and method of generating pulse signal | |
US20160204774A1 (en) | Pulse width modulation signal generation circuit and method | |
CN106067787B (en) | Clock generation circuit applied to charge pump system | |
CN116566383B (en) | Synchronous five-frequency dividing circuit and five-frequency dividing signal generation method | |
CN102195228B (en) | Acousto-optic Q switch drive source with function of automatic first pulse suppression | |
CN103427795B (en) | A kind of rectangular pulse signal generating circuit and production method | |
CN103904547A (en) | Pulsed laser system and driving method thereof | |
EP2070230A2 (en) | Spread spectrum clock generator using arrival locked loop technology | |
CN115344079B (en) | Pulse control equipment and use method thereof | |
CN116455368A (en) | PWM signal generation circuit and output control method | |
CN108227828A (en) | A kind of sequence signal generator and sequence signal production method | |
JP6118827B2 (en) | High resolution pulse width modulator | |
CN105811971A (en) | Counter-based variable frequency clock source and FPGA device | |
CN115938291B (en) | Driver and display device | |
CN113904210B (en) | Programmable ultrafast pulse laser generator | |
CN109580975B (en) | Speed detector, processing circuit and chip based on PWM signal | |
CN109391247B (en) | Filter, processing circuit and chip based on PWM signal | |
CN115117730A (en) | Laser driving circuit, transmitting device and laser radar | |
CN104115401B (en) | Waveform generating | |
CN106707245A (en) | Vacuum tube transmitter loaded slow start control method and vacuum tube transmitter loaded slow start control circuit | |
CN201689650U (en) | Drive circuit for liquid crystal display | |
CN215186674U (en) | Double-channel synchronous complex loading pulse generator | |
CN114659573A (en) | Double-end sound wave excitation system and method of transducer, electronic device and storage medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |