Summary of the invention
The purpose of the present invention is to provide a kind of editing device of high voltage pulse waveform and methods, for solving the prior art
The problem of, the present invention by drawing any high voltage pulse waveform on computers, then to the high voltage pulse waveform feature of drafting
Parameter extracts, by issuing high voltage pulse generator, the high-voltage pulse that final output is edited after compiling.
In order to achieve the above objectives, the present invention adopts the following technical scheme:
A kind of editing device of high voltage pulse waveform, including 5 modules, i.e. high voltage pulse waveform drafting module, high-tension pulse
Rush waveform display module, high voltage pulse waveform setup module, high voltage pulse waveform editor module and high voltage pulse waveform data
Sending module.
Wherein, high voltage pulse waveform drafting module is used to draw the high voltage pulse waveform of arbitrary shape.High voltage pulse waveform
Display interface of the display module by the high voltage pulse waveform drawn in the module is intuitively shown.
Revocation (the high-tension pulse that revocation previous step is drawn of high voltage pulse waveform may be implemented in high voltage pulse waveform setup module
Rush waveform), the removing of high voltage pulse waveform (removing all high voltage pulse waveforms drawn), high voltage pulse waveform periodicity
Generate functions such as (generating the high voltage pulse waveform drawn again);And drawn high-voltage pulse can be arranged by the module
The voltage of waveform, pulsewidth, periodicity, rise/fall are along parameters such as times.
High voltage pulse waveform editor module is to edit generated high voltage pulse waveform, and calculating extracts every section of height
Press the voltage of impulse waveform, pulsewidth, rise/fall along the parameters such as time size.
Whole parameters that high voltage pulse waveform data transmission blocks are responsible for needing to send are sent to according to specific format
The control terminal of high-voltage pulse power source, the consistent high-tension pulse of high voltage pulse waveform for making high-voltage pulse generation circuit export and draw
Punching.
Further, which can form the bipolar of arbitrary shape by four kinds of edit modes
Property high voltage pulse waveform or unipolar impulse waveform, and can be after high voltage pulse waveform editor completes by the high pressure
The corresponding voltage of impulse waveform, pulsewidth, periodicity, rise/fall are extracted along parameters such as times, are then sent to high pressure
The control terminal of the pulse power.
Further, the display interface of high voltage pulse waveform display module by horizontal axis, the horizontal scroll bar of horizontal axis, the longitudinal axis,
Four parts of vernier form.Horizontal axis is set as pulsewidth, indicates the size of high-voltage pulse width, unit can for nanosecond, millisecond or
Other time unit, range are 0 to 100 seconds.The horizontal scroll bar of horizontal axis is for the ease of checking the whole high-tension pulses drawn
Rush waveform.The longitudinal axis is set as voltage, indicates the voltage that the size of high-voltage pulse, unit are volt, which can edit
Range is 0 to 500 kilovolts.Vernier be in order to when drawing high voltage pulse waveform it can clearly be seen that oneself drawing transverse and longitudinal a little
Coordinate keeps the high voltage pulse waveform drawn more accurate.
Further, high voltage pulse waveform drafting module provides the method for drafting of four kinds of high voltage pulse waveforms.The first
The method for drafting of high voltage pulse waveform is the arbitrary shape needed for the display interface hand drawn of high voltage pulse waveform display module
The high voltage pulse waveform of shape.It is drawn in display interface using mouse drag vernier, long-pressing mouse can drag vernier, work as pine
A point is drawn out in vernier position when opening mouse, and so on, these points of drafting are connected with line segment
High voltage pulse waveform required for generating.The method for drafting of second of high voltage pulse waveform is to be directly inputted a little using input control
Coordinate, on high voltage pulse waveform display interface by these point show, then the point of drafting is sequentially connected with line segment
Get up, that is, can produce required high voltage pulse waveform.The method for drafting of the third high voltage pulse waveform is to lead from Excel table
Enter data, the data in Excel are divided into two column, and first row data indicate that pulse width, secondary series data indicate voltage, every a line
Two data equal available point indicates on the display interface of high voltage pulse waveform display module, all points are connected
It can produce required high voltage pulse waveform.The method of 4th kind of drafting high voltage pulse waveform is the combination of first three methods.
When using Mouse-plot at one's leisure, such as needed for draw high voltage pulse waveform parameter it is smaller, then use Mouse-plot;Work as use
When Mouse-plot trouble, then the side for sitting calibration method or Excel table importing data a little is directly inputted using input control
Method directly inputs coordinate a little using input control when the required point for drawing high voltage pulse waveform is less or parameter is larger
Method;When wanting to quickly generate high voltage pulse waveform, the method for Excel table importing data is used.
Further, which can produce periodical and acyclic high voltage pulse waveform.For acyclic
High voltage pulse waveform, the four kinds of drafting waveform display methods that can be provided by high voltage pulse waveform drafting module are directly drawn.For
Periodic high voltage pulse waveform, the four kinds of drawing practices that can first pass through the offer of high voltage pulse waveform drafting module draw out one
The high voltage pulse waveform in a period, then the starting for needing the high voltage pulse waveform recycled is inputted in high voltage pulse waveform setup module
Point coordinate, terminating point coordinate and periodicity can generate corresponding behind the signal period high voltage pulse waveform drawn
The high voltage pulse waveform of periodicity.
Further, the edit methods of high voltage pulse waveform are to obtain every section of high pressure by high voltage pulse waveform editor module
The head and the tail two o'clock coordinate of impulse waveform will describe section waveform so as to find out the slope of every section of high voltage pulse waveform with slope below
(high voltage pulse waveform is connected in sequence by the point drawn, and the high voltage pulse waveform that adjacent two o'clock is formed by connecting is hereinafter referred to as
For section waveform).
The section waveform for being zero for slope, i.e. section waveform are horizontal, and the voltage value for needing to transmit is that head and the tail two o'clock is vertical
The size of coordinate, pwm value are the absolute value of the difference of head and the tail two o'clock abscissa.
It is infinitely great section waveform for slope, i.e. rising edge or failing edge time is zero, and section waveform is vertical direction, then
It is without any processing without considering.
It is zero to the number between infinity for slope, i.e. rising edge or failing edge time is not zero, and section waveform is inclination
Direction, needs for this section of waveform to be split as that multiple slopes are zero and slope is infinitely great section waveform, since slope is infinity
Section waveform be not required to consider, so the section waveform that slope is zero to infinitely great intermediate number can be considered as the section that multistage slope is zero
Waveform, the section waveform that every slope over 10 is zero can find out its voltage value and pwm value according to above method.
Further, there are two types of the control methods of high-voltage pulse power source control terminal voltage, one is programmable by control
The voltage of charge power supply, the high-voltage pulse amplitude of available consecutive variations;Another kind is by controlling high-voltage pulse power source control
The on-off of end switch processed obtains discrete high-voltage pulse amplitude.
Further, discrete high-voltage pulse amplitude, high-voltage pulse power source control terminal contain N number of switch and lead in order to obtain
Road (N is positive integer), needs for voltage magnitude to be evenly distributed to each switching channels, and the quantity of switching channels closure determines voltage
Size.High voltage pulse waveform editor module can calculate the voltage magnitude of every section of high voltage pulse waveform, be extracted by traversal
The minimum value and maximum value of voltage constitute a set out, which is divided into N parts, N number of new set is obtained, uses number respectively
1~N of word is indicated.The voltage value of every section of impulse waveform may determine that the set locating for it, go to indicate voltage with corresponding number
Size.
Due to the size of the switching channels control voltage at pulse power source control end, switching channels are every to open one, voltage value
The number of place set expression can add one, therefore for the section waveform that rising time is not zero, it is equivalent to stepped electricity
The numerical value of set expression successively adds one multistage section waveform where pressure;For the section waveform that the failing edge time is not zero, by its etc.
The multistage section waveform that effect successively subtracts one for the numerical value of set expression where stepped voltage.
Further, high voltage pulse waveform data transmission blocks need periodical and acyclic high voltage pulse waveform
The parameter to be transmitted is different.For acyclic high voltage pulse waveform, need to be sent to the ginseng of high-voltage pulse power source control terminal
Number is mainly the voltage value and pulsewidth of the calculated whole section waveforms of high voltage pulse waveform editor module.For periodic high pressure
Impulse waveform, voltage value and arteries and veins of the parameter for needing to send in addition to the calculated whole section waveforms of high voltage pulse waveform editor module
Width, there are also the starting point coordinates and terminating point of the high voltage pulse waveform for needing to recycle set by high voltage pulse waveform setup module
Coordinate and periodicity.
Before supplemental characteristic transmission, need to convert 16 for these parameters in high voltage pulse waveform data transmission blocks
System number, and the identification for the ease of high-voltage pulse power source control terminal for these parameters, respectively in these supplemental characteristics
Front adds specific identifier, and the identifier of voltage is 00 (01) AAAAAA, and the identifier of pulsewidth is 02AAAAAA, needs to follow
The abscissa identifier of the high voltage pulse waveform starting point of ring is 03AAAAAA, and ordinate identifier is 04 (05) AAAAAA, is needed
The abscissa identifier for the high voltage pulse waveform terminating point to be recycled is 06AA AA AA, and ordinate identifier is 07 (08) AA
AA AA, the identifier of periodicity are 09AA AA AA.
Further, which can identify any polar high voltage pulse waveform drawn.When every section of section
The calculated voltage value of wavelength is when being all positive value, which is positive pulse;When every section of calculated voltage value of section wavelength
When to be all negative value, which is negative pulse;When again every section of calculated voltage value of section wavelength is that existing positive value has negative value
When, which is bipolar pulse.In order to enable the control terminal of high-voltage pulse power source identify received voltage value
The classification of positive and negative situation and high voltage pulse waveform, generating positive and negative voltage value uses different prefix identifiers, such as 00AA AA AA table
Show that voltage is positive, 01AA AA AA indicates that voltage is negative, and 04AA AA AA indicates the high voltage pulse waveform starting point for needing to recycle
Ordinate, that is, voltage value is positive, and 05AA AAAA indicates that starting point ordinate is negative, and 07AAAAAA indicates the high-tension pulse for needing to recycle
It rushes the i.e. voltage value of waveform terminating point ordinate to be positive, 08AAAAAA indicates that terminating point ordinate is negative.
Compared with prior art, the invention has the following beneficial technical effects:
It is periodical or non-along the time that apparatus of the present invention can edit Pulse of Arbitrary width, voltage magnitude and rise/fall
Periodic high voltage pulse waveform, and whole high-voltage pulse parameters can be calculated and extract, high pressure is issued with certain format
Pulse power source control end, structure is simple, easy to operate, has very extensive application field.
High voltage pulse waveform drafting module can draw any shape by the method for drafting of four kinds of high voltage pulse waveforms
The positive/negative high voltage pulse waveform of unipolarity or bipolarity high voltage pulse waveform periodically or non-periodically, and can be
High voltage pulse waveform display module intuitively shows the high voltage pulse waveform drawn.
High voltage pulse waveform can be with high voltage pulse waveform setup module to the high-tension pulse drawn out during drawing
The parameter for rushing the high voltage pulse waveform drawn needed for waveform is finely adjusted, modifies or is arranged, makes high voltage pulse waveform can be with people
For control, the high voltage pulse waveform drawn out more fully meet demand is allowed.
After high voltage pulse waveform is completed, the electricity of its every section waveform is calculated by the edit methods of high voltage pulse waveform
Pressure value, pwm value and rise/fall, will finally by high voltage pulse waveform data transmission blocks along the size of the parameters such as time
The whole parameters for needing to send are converted into hexadecimal number, add prefix identifier, are sent to the control of high-voltage pulse power source
End, the generation for control terminal high voltage pulse waveform.
Specific embodiment
The present invention is described in further detail below in conjunction with the accompanying drawings, described to be explanation of the invention rather than limit
It is fixed:
It is the device of the invention structure chart referring to Fig. 1.The device contains 5 modules, i.e. high voltage pulse waveform draws mould
Block, high voltage pulse waveform setup module, high voltage pulse waveform editor module and high voltage pulse waveform data transmission blocks.In program
Enter high voltage pulse waveform drafting module after operation, this module provides four kinds of different high voltage pulse waveform method for drafting.
The method for drafting of the first high voltage pulse waveform is needed for the display interface hand drawn of high voltage pulse waveform display module
The high voltage pulse waveform of arbitrary shape.It is drawn in display interface using mouse drag vernier, long-pressing mouse can drag trip
Mark, draws out a point in vernier position when unclamping mouse, and so on, these point line segments of drafting are connected
Come, that is, can produce required high voltage pulse waveform.The method for drafting of second of high voltage pulse waveform is straight using input control
The coordinate for connecing input point shows these points on high voltage pulse waveform display interface, then with line segment by the point of drafting
It is connected in turn, that is, can produce required high voltage pulse waveform.The method for drafting of the third high voltage pulse waveform be from
Excel table imports data, and the data in Excel are divided into two column, and first row data indicate that pulse width, secondary series data indicate
Voltage, two data of every a line equal available point on the display interface of high voltage pulse waveform display module indicate will own
Point connect and can produce required high voltage pulse waveform.The method of 4th kind of drafting high voltage pulse waveform is first three
The combination of method.When using Mouse-plot at one's leisure, such as needed for draw high voltage pulse waveform parameter it is smaller, then use mouse
It draws;When using Mouse-plot trouble, then seat calibration method a little is directly inputted using input control or Excel table is led
The method for entering data, it is directly defeated using input control when the required point for drawing high voltage pulse waveform is less or parameter is larger
The seat calibration method of access point;When wanting to quickly generate high voltage pulse waveform, the method for Excel table importing data is used.
For acyclic high voltage pulse waveform, any shape can be drawn by four kinds of different drawing practices
High voltage pulse waveform;For periodic high voltage pulse waveform, the four of high voltage pulse waveform drafting module offer can be first passed through
Kind drawing practice draws out the high voltage pulse waveform of signal period, then need to recycle in the input of high voltage pulse waveform setup module
The starting point coordinate and terminating point coordinate and periodicity of high voltage pulse waveform, can be in the signal period high-voltage pulse drawn
The high voltage pulse waveform of respective cycle number is generated behind waveform.During drawing high voltage pulse waveform, if high-tension pulse
Waveform drawing mistake is rushed, the high voltage pulse waveform drawn out can be cancelled by high voltage pulse waveform setup module,
It removes, and can be configured in parameter of the module to high voltage pulse waveform, the high voltage pulse waveform drawn out is made more
Meet demand.
Enter high voltage pulse waveform editor module after high voltage pulse waveform is completed, can acquire and be drawn in the module
The coordinate of each graphical pointv of high voltage pulse waveform processed, voltage, the pulsewidth of every section of section waveform can be calculated by these coordinates.By
Containing n switching channels in the control terminal of high-voltage pulse power source, the number of switching channels closure can be equivalent to the size of voltage value,
Therefore the voltage magnitude by calculated section of wavelength of high voltage pulse waveform editor module is needed to be divided into n parts, for controlling high-tension pulse
Rush the quantity of the closure in power switch channel.Table 1 is that voltage magnitude is Vol volts, high-voltage pulse power source control terminal switching channels
Number is the voltage magnitude of n and the mapping table of switching channels number.Voltage magnitude is divided into n parts, respectively corresponds high-voltage pulse
Closure 1~n of number of power control terminal switching channels, switching channels closure is more, and voltage is bigger.
The mapping table of table 1 voltage magnitude and switching channels number
Arteries and veins of the high voltage pulse waveform data transmission blocks the calculated every section of section waveform of high voltage pulse waveform editor module
Wide numerical value corresponding with voltage value is converted into hexadecimal, and prefix is added before the hexadecimal number of transmission, is convenient for high-voltage pulse
Power control terminal identification.It, only need to be by pulsewidth and the corresponding hexadecimal number of voltage value for acyclic high voltage pulse waveform
And prefix passes to high-voltage pulse power source control terminal by communication protocol;For periodic high voltage pulse waveform, in Jiang Mai
After wide hexadecimal number corresponding with voltage value and prefix pass to high-voltage pulse power source control terminal by communication protocol, also
Hexadecimal number need to be converted by the starting point coordinate for needing the high voltage pulse waveform recycled and terminating point coordinate and periodicity,
Along with defined new prefix passes to high-voltage pulse power source control terminal together, so that high-voltage pulse power source control terminal be made to obtain
To periodic high-voltage pulse.
It referring to fig. 2, is the parameter schematic diagram of high voltage pulse waveform.The editor of high voltage pulse waveform shown according to the present invention
Method can be realized all continuous of the parameters such as pulse voltage, pulse width, pulse rise time and fall time, periodicity
With it is discontinuous adjustable.The unit of voltage magnitude is volt, and the voltage range that the present apparatus can edit is 0 to 500 kilovolts;Pulse is wide
The unit of degree can be nanosecond, millisecond or other time unit, and the pulse width range that can be edited is 0 to 100 seconds;Rising edge
Unit with failing edge is nanosecond, and the range that can be edited is 0 to 100 milliseconds.
Fig. 3 is the waveform compilation figure of high voltage pulse waveform.Below the data edition side of the device will be introduced by taking this figure as an example
Method obtains the voltage value and pulse width of every section of section wavelength.The figure is a part that drawn high voltage pulse waveform intercepts out, we
Purpose be that this corresponding voltage of 9 sections of section wavelength of AB, BC, CD, DE, EF, FG, GH, HI, IJ is calculated by waveform compilation module
Value and pulse width.The specific method is as follows:
The head and the tail two o'clock coordinate of every section of waveform can be obtained by waveform compilation module, coordinate is as shown in figure 3, by 10 groups of numbers
According in abscissa deposit array Arr1, i.e. Arr1=[a1, a2, a3, a4, a5, a6, a6, a7, a7, a8], ordinate is stored in array
In Arr2, i.e. Arr2=[b1, b1, b2, b2, b3, b3, b4, b4, b5, b5] can successively be found out adjacent by two arrays of traversal
The slope of two o'clock institute composition section waveform, being acquired AB slope over 10 is 0, BC slope over 10 for (b2-b1)/(a3-a2), and CD slope over 10 is
Zero, DE slope over 10 are (b3-b2)/(a5-a4), EF slope over 10 be zero, FG slope over 10 be it is infinite, GH slope over 10 is zero, HI section oblique
Rate be it is infinite, IJ slope over 10 is zero.
The section waveform for being zero for slope, i.e. section waveform are horizontally oriented, and the voltage value for needing to transmit is head and the tail two o'clock
The size of ordinate, pwm value are the absolute value of the difference of head and the tail two o'clock abscissa, and such AB sections of pulse width is (a2-
A1), voltage value b1;CD sections of pulse width is (a4-a3), voltage value b2;EF sections of pulse width is (a6-a5), electricity
Pressure value is b3;GH sections of pulse width is (a7-a6), voltage value b4;IJ sections of pulse width is (a8-a7), and voltage value is
b5。
It is infinitely great section waveform for slope, i.e. rising edge or failing edge time is zero, and section waveform is vertical direction, then
Without any processing, i.e. FG sections and HI sections without considering.
It is zero to infinitely great intermediate number for slope, i.e. rising edge or failing edge time is not zero, and section waveform is inclination
Direction, needs for this section of waveform to be split as that multiple slopes are zero and slope is section waveform combined by infinity, since slope is
Infinitely great section waveform is not required to consider, so the section waveform of number that slope is zero to infinitely great centre can be considered as multistage slope and be
Zero section waveform, the section waveform that every slope over 10 is zero can find out its voltage value and pwm value.Such situation corresponds to BC and DE sections,
For BC sections, need for this section of waveform to be split as that (b2-b1) a slope is zero and slope is section waveform combined by infinity;It is right
In DE sections, need for this section of waveform to be split as that (b3-b2) a slope is zero and slope is section waveform combined by infinity.
If b2-b1=2, b3-b2=3, then situation is decomposed as shown in Fig. 3 dotted portion.It can be concluded that BC sections need to transmit
Pulse width be (a3-a2)/(b2-b1), (a3-a2)/(b2-b1) ..., (a3-a2)/(b2-b1), share (b2-b1)
Number, voltage b1+1, b1+2 ..., b1+ (b2-b1);DE sections need the pulse widths transmitted be (a5-a4)/| (b3-b2)
|, (a5-a4)/| (b3-b2) | ..., (a5-a4)/| (b3-b2) |, share | (b3-b2) | number, voltage b2-1, b2-
2,……,b2-(b3-b2).In conclusion voltage value and arteries and veins that every section of section wavelength of high voltage pulse waveform needs to transmit can be found out
Rush width value.