Automatic calculation method suitable for spark discharge energy from uJ level to J level

The combination of band-resistance filtering, low-pass filtering and S-G filtering methods remove interference in the discharge current waveform, calculate the loop resistance and energy of spark discharge, and solve the deviation and success rate of micro-stage to milli-stage spark discharge energy calculation in the prior art. Low problems achieve higher accuracy and universality.

CN118962346APending Publication Date: 2024-11-15CHINA JILIANG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410864487.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-30
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

The prior art is difficult to accurately calculate the micro-stage to milli-stage spark discharge energy, especially in the case of strong interference and phase difference in the discharge current, resulting in low calculation deviation and success rate.

Method used

Band-stop filtering, low-pass filtering and S-G filtering combined methods remove high-frequency noise and DC bias in discharge current waveforms, obtain wave peak and trough values, calculate damping ratio, discharge period, loop inductance and starting voltage, and fit Discharge current waveforms to accurately calculate loop resistance and discharge energy.

Benefits of technology

Effectively suppress high-frequency interference, improve the accuracy and success rate of discharge energy calculation, and is suitable for micro-stage to milli-stage spark discharge, reducing calculation errors and operation complexity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118962346A_ABST
    Figure CN118962346A_ABST
Patent Text Reader

Abstract

The invention discloses an automatic calculation method suitable for uJ-level to J-level spark discharge energy. The automatic calculation method comprises the following steps that direct-current bias and high-frequency noise existing in a discharge current waveform are removed; obtaining a crest value and a trough value of the discharge current waveform and moments corresponding to the crest and the trough; calculating a damping ratio, a discharge period, loop inductance and a discharge initial voltage; fitting the discharge current waveform, and if the fitting degree of the fitted discharge current waveform is lower than a set threshold value; calculating loop resistance; calculating discharge energy; wherein when the discharge energy is in a range of 10 [mu] J level to mJ level, a filtering method combining band elimination filtering, low-pass filtering and S-G filtering is adopted for removing high-frequency noise existing in a discharge current waveform. According to the method, the application range of the discharge energy calculation method is effectively expanded, the steepness of the filter near the cut-off frequency is improved, strong high-frequency interference is effectively inhibited, calculation errors caused by current waveform fluctuation due to accidental interference are reduced, and the calculation accuracy of the discharge energy is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of spark discharge, and in particular to an automatic calculation method suitable for uJ-level to J-level spark discharge energy. Background Art

[0002] Spark discharge is a form of gas discharge. When a high voltage is applied between two cold electrodes with small curvature, the gas between the electrodes is broken down by the strong electric field and self-excited conduction occurs. The impact ionization produced by the discharge process is carried out along a narrow and tortuous light channel and is accompanied by sparks and violent noises. Spark discharge is widely used in many fields such as combustion and explosion parameter testing, physical and chemical parameter testing, and nanomaterial preparation, and is the core function of related instruments. The core evaluation indicator of spark discharge is the discharge energy. Automatic and accurate calculation of discharge energy is not only conducive to improving the intelligence level of related instruments, but is also very necessary to promote in-depth research in related fields.

[0003] The charging energy E can be determined by the charging capacitor C and the charging voltage U, that is, E = 0.5CU 2 . However, during the discharge process, due to factors such as line resistance and distributed capacitance, the actual discharge energy is lower than the charging energy, especially when the discharge energy is in the μJ to mJ level, there is a large deviation between the discharge energy and the charging energy. A common method for measuring discharge energy is to use a high-voltage probe and a current probe to measure the change curves of the discharge voltage U and the discharge current I over time, and calculate the discharge energy using the integral formula E = ∫U(t)I(t)dt. However, there is usually a phase difference between the discharge voltage U and the discharge current I, and the phase of the discharge voltage and discharge current waveforms needs to be adjusted manually, which is a cumbersome operation. Especially when the discharge energy is in the μJ to mJ level, the presence of the voltage probe causes the charge to be discharged through the voltage probe, making it difficult to break through the air gap, which seriously affects the success rate of spark discharge.

[0004] The Chinese patent with publication number CN114707362A discloses a method for automatically calculating the electrostatic spark energy based on the LCR equivalent model. The invention calculates the loop resistance R from the discharge current waveform and uses the integral formula E=∫I 2 (t)Rdt calculates discharge energy. This patent can realize automatic calculation by program, but when the discharge energy is in the μJ to mJ level, the strong interference in the discharge current I makes it difficult to accurately extract the current peak value, which in turn causes a large deviation in the calculation of the loop resistance. Moreover, this strong interference is close to the oscillation frequency of the discharge current and is extremely difficult to remove by conventional methods, making this method difficult to apply to the automatic calculation of discharge energy in the μJ to mJ level. Summary of the invention

[0005] The present invention proposes an automatic calculation method for spark discharge energy of uJ level to J level to solve the above technical problems.

[0006] In order to achieve the above object, the technical solution adopted by the present invention is:

[0007] An automatic calculation method for spark discharge energy of uJ level to J level includes the following steps:

[0008] Step S1, removing DC bias and high-frequency noise in the discharge current waveform;

[0009] Step S2, obtaining the peak value, trough value and the time corresponding to the peak and trough of the discharge current waveform;

[0010] Step S3, calculating the damping ratio, discharge period, loop inductance, and discharge start voltage;

[0011] Step S4, fitting the discharge current waveform. If the fitting degree of the fitted discharge current waveform is lower than the set threshold, return to step S1;

[0012] Step S5, calculating the loop resistance;

[0013] Step S6, calculating the discharge energy;

[0014] When the discharge energy is in the range of 10 μJ to mJ, step S1 removes the high-frequency noise in the discharge current waveform by using a filtering method combining band-stop filtering, low-pass filtering and SG filtering, including the following steps:

[0015] Step S101, calculate the power spectrum of the discharge current I(t) and obtain the frequency corresponding to the maximum peak value, that is, the oscillation frequency f of the discharge current I(t) I ;

[0016] Step S102, performing a first band-stop filter on the discharge current I(t), wherein the center frequency of the first band-stop filter is f 01 , the cut-off frequency of the passband is (f 01 / a、f 01 *a), the cut-off frequency of the stop band is (f 01 / b、f 01 *b), where 8MHz≤f 01 ≤12MHz, 1.5≤a≤1.8, 1.0≤b≤1.1;

[0017] Step S103, performing a second band-stop filter on the discharge current after step S102, and the center frequency f of the second band-stop filter used is 02 , the cut-off frequency of the passband is (f 02 / c,f 02 *c), the cut-off frequency of the stop band is (f 02 / d,f 02 *d), where 10MHz≤f 02≤16MHz, 1.6≤c≤2.0, 1.1≤d≤1.2;

[0018] Step S104, low-pass filtering is performed on the discharge current after step S103, wherein the cut-off frequency f of the low-pass filter is L The value of is the discharge current waveform oscillation frequency f I 3 to 8 times;

[0019] Step S105, performing SG filtering on the discharge current after step S104, wherein the window length of the SG filtering is an odd number in the range of 149 to 299.

[0020] Preferably, the method for removing the DC bias in the discharge current waveform in step S1 includes:

[0021] Take the average value of several starting points of the discharge current waveform, and subtract the average value from the discharge current waveform;

[0022] Alternatively, perform high-pass filtering on the discharge current waveform.

[0023] Preferably, step S3 comprises the following steps:

[0024] Calculate the average logarithmic decay rate δ, Among them I pn is the nth peak value of the discharge spark current I(t), I tn is the nth valley value of the discharge spark current I(t), where n and M are both integers;

[0025] Calculate the damping ratio ζ:

[0026]

[0027] Calculate the oscillation period T:

[0028]

[0029] Among them, t pn is the time corresponding to the nth peak value of the discharge spark current I(t), t tn is the time corresponding to the nth valley value of the discharge spark current I(t), where n and M are both integers;

[0030] Calculate the loop inductance L:

[0031]

[0032] Calculate the discharge starting voltage U d :

[0033]

[0034] Preferably, step S3 comprises the following steps:

[0035] Calculate the average logarithmic decay rate δ:

[0036]

[0037] Among them, I pn is the nth peak value of the discharge spark current waveform, where n and M are both integers;

[0038] Calculate the damping ratio ζ:

[0039]

[0040] Calculate the oscillation period T:

[0041]

[0042] where t n It is the moment corresponding to the nth peak value of the discharge spark current waveform;

[0043] Calculate the loop inductance L:

[0044]

[0045] Calculate the discharge starting voltage U d :

[0046]

[0047] Preferably, step S4 comprises the following steps:

[0048] Step S401, fitting the discharge current waveform:

[0049]

[0050] Step S402, calculate the sum of squared deviations SST:

[0051] SST=(I 1 -I avg ) 2 +(I 2 -I avg ) 2 +…+(I m -I avg ) 2 ,

[0052] Among them I 1 ,I 2 ,I m are the current values ​​of the 1st, 2nd and mth data points of the discharge current I(t), I avg is the arithmetic mean value of the discharge current I(t);

[0053] Step S403, calculate the residual sum of squares SSE:

[0054] SSE=(I 1 -I' 1 ) 2 +(I 2 -I' 2 ) 2 +…+(I m -I' m ) 2 ,

[0055] Among them, I' 1 , I' 2 , I' m are the current values ​​of the 1st, 2nd and mth data points of the fitted discharge current I'(t), respectively;

[0056] Step S404, calculate the fitting degree R-squared:

[0057] R-squared = 1-SSE / SST,

[0058] If R-squared<the set threshold, the discharge current fitting fails, and the process returns to step S1 to adjust the filter parameters.

[0059] Preferably, in step S5,

[0060] Calculate the loop resistance R: or

[0061] In step S6,

[0062] Calculate the discharge energy E: E = ∫I(t) 2 Rdt.

[0063] Preferably, the step S6 includes calculating the nominal discharge energy, including the following steps:

[0064] Step S601, calculating the oscillation period T:

[0065]

[0066] Among them, t pn is the time corresponding to the nth peak value of the discharge spark current I(t), t tn is the time corresponding to the nth valley value of the discharge spark current I(t), where n and M are both integers;

[0067] Step S602, calculating the loop inductance L:

[0068]

[0069] Step S603, calculating the discharge start voltage U d :

[0070]

[0071] Step S604, calculate the nominal discharge energy: E 名义 =0.5CU d 2 .

[0072] Preferably, the step S6 includes calculating the nominal discharge energy, including the following steps:

[0073] Step S611, calculating the oscillation period T:

[0074]

[0075] Among them, t n is the moment corresponding to the nth peak value of the discharge spark current I(t), where n and M are both integers;

[0076] Step S612, calculating the loop inductance L:

[0077]

[0078] Step S613, calculating the discharge start voltage U d :

[0079]

[0080] Step S614, calculate the nominal discharge energy: E 名义 =0.5CU d 2 .

[0081] Compared with the prior art, the present invention obtains key parameters such as loop inductance, loop resistance and discharge starting voltage of the discharge system through the discharge current waveform, and verifies the correctness of the key parameter solution by fitting the discharge current waveform with the parameters. In order to eliminate the strong interference close to the discharge current frequency in the discharge current waveform, the steepness of the filter near the cut-off frequency is improved by combining a band-stop filter, a low-pass filter and an SG filter, which effectively suppresses strong high-frequency interference and effectively expands the application scope of the discharge energy calculation method; at the same time, the data of the first multiple oscillation cycles of the discharge current waveform are used to calculate the loop inductance, loop resistance and discharge starting voltage, which reduces the calculation error caused by the current waveform fluctuation caused by accidental interference and effectively improves the calculation accuracy of the discharge energy; the discharge starting voltage can be solved directly from the discharge current waveform without the need to use a high-voltage probe, which greatly improves the discharge success rate of μJ to mJ energy and also improves the calculation accuracy of the nominal discharge energy. BRIEF DESCRIPTION OF THE DRAWINGS

[0082] Figure 1 It is a flow chart of an automatic calculation method for spark discharge energy of uJ level to J level according to the present invention;

[0083] Figure 2 A schematic flow chart of a filtering method combining band-stop filtering, low-pass filtering and SG filtering used in step S1 of the present invention to remove high-frequency noise in the discharge current waveform;

[0084] Figure 3 The amplitude-frequency characteristic diagram of the filter of the present invention;

[0085] Figure 4 This is a diagram showing the filtering effect of the J-level energy discharge current in Example 1 of the present invention;

[0086] Figure 5 This is a diagram showing the filtering effect of the mJ-level energy discharge current of Example 2 of the present invention;

[0087] Figure 6 This is a diagram showing the filtering effect of a 100 μJ level energy discharge current according to Example 3 of the present invention;

[0088] Figure 7 This is a diagram showing the filtering effect of a 10 μJ level energy discharge current according to Example 4 of the present invention;

[0089] Figure 8 This is a fitting effect diagram of the J-level energy discharge current of Example 1 of the present invention;

[0090] Fig. 9 This is a fitting effect diagram of the 10mJ level energy discharge current of Example 2 of the present invention;

[0091] Fig.10This is a fitting effect diagram of the 100 μJ level energy discharge current of Example 3 of the present invention. DETAILED DESCRIPTION

[0092] The present invention will be described in detail below in conjunction with the specific embodiments shown in the accompanying drawings. However, these embodiments do not limit the present invention, and any structural, methodological, or functional changes made by a person skilled in the art based on these embodiments are all within the scope of protection of the present invention.

[0093] The terms used in the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The singular forms "a", "the" and "the" used in the present invention and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0094] The present invention provides an automatic calculation method for spark discharge energy of uJ to J level, aiming to improve the calculation accuracy of discharge energy while significantly improving the intelligence and universality of discharge energy calculation, so that it can be adapted to multiple application scenarios such as explosion parameter testing, physical and chemical parameter testing, and nanomaterial preparation.

[0095] like Figure 1 As shown, the present invention discloses a method for calculating spark discharge energy applicable to μJ level to J level, comprising the following steps:

[0096] Step S1, removing DC bias and high-frequency noise in the discharge current waveform;

[0097] Step S2, obtaining the peak value, trough value and the time corresponding to the peak and trough of the discharge current waveform;

[0098] Step S3, calculating the damping ratio, discharge period, loop inductance, and discharge start voltage;

[0099] Step S4, fitting the discharge current waveform, if the fitting degree of the fitted discharge current waveform is lower than the set threshold, returning to step S1;

[0100] Step S5, calculating loop resistance;

[0101] Step S6: Calculate the discharge energy.

[0102] Since the DC bias in the discharge current waveform will affect the solution of the damping ratio, resulting in a large deviation in the discharge energy calculation, it is necessary to remove the DC bias in the discharge current waveform through step S1, which can be achieved through a variety of methods, including but not limited to: taking the numerical average of several starting points of the discharge current waveform and subtracting the average value from the discharge current waveform; or, high-pass filtering the discharge current waveform.

[0103] The high-frequency noise in the discharge current waveform will affect the selection of the peak current, and further affect the calculation of the damping ratio, resulting in a large deviation in the discharge energy calculation. Therefore, it is necessary to remove the high-frequency noise in the discharge current waveform through step S1, which can be achieved through a variety of methods, including but not limited to: low-pass filtering the discharge current waveform, the cut-off frequency of the low-pass filter depends on the oscillation frequency of the discharge current waveform.

[0104] When the discharge energy is between 10mJ and J, the discharge current is much larger than the high-frequency noise, and a good filtering effect can be achieved only by a low-pass filter. However, when the discharge energy is between 10μJ and mJ, the discharge current is lower than the high-frequency noise, and the frequency of the high-frequency noise is close to the frequency of the discharge current. It is difficult to effectively remove the high-frequency noise using only a low-pass filter, so that the current peak cannot be accurately captured, which in turn affects the calculation of the discharge energy. At this time, the present invention provides a filtering method that combines band-stop filtering, low-pass filtering and SG filtering, such as Figure 2 As shown, the following steps are included:

[0105] Step S101, calculate the power spectrum of the discharge current I(t) and obtain the frequency corresponding to the maximum peak value, that is, the oscillation frequency f of the discharge current I(t) I ;

[0106] Step S102, performing a first band-stop filter on the discharge current I(t), wherein the center frequency of the first band-stop filter is f 01 , the cut-off frequency of the passband is (f 01 / a、f 01 *a), the cut-off frequency of the stop band is (f 01 / b、f 01 *b), where 8MHz≤f 01 ≤12MHz, 1.5≤a≤1.8, 1.0≤b≤1.1;

[0107] Step S103, performing a second band-stop filter on the discharge current after step S102, and the center frequency f of the second band-stop filter used is 02 , the cut-off frequency of the passband is (f 02 / c,f 02 *c), the cut-off frequency of the stop band is (f 02 / d,f 02*d), where 10MHz≤f 02 ≤16MHz, 1.6≤c≤2.0, 1.1≤d≤1.2;

[0108] Step S104, low-pass filtering is performed on the discharge current after step S103, wherein the cut-off frequency f of the low-pass filter is L The value of is the discharge current waveform oscillation frequency f I 3 to 8 times;

[0109] Step S105, performing SG filtering on the discharge current after step S104, wherein the window length of the SG filtering is an odd number in the range of 149 to 299.

[0110] Too high or too low cutoff frequency in low-pass filtering and too high or too low window length in SG filtering will affect the filtering effect. SG filtering further ensures the smoothness of the discharge current waveform, which is conducive to the accurate extraction of current peak and valley values.

[0111] The amplitude-frequency characteristics of the filter of the present invention are as follows: Figure 3 As shown, compared with a conventional low-pass filter, the filter of the present invention drops more steeply near the cut-off frequency, which can ensure a good suppression effect on strong interference with a frequency close to the discharge current oscillation frequency.

[0112] Here, the filtering effect of the present invention is further described by using the discharge energy of Example 1 being at the J level, the discharge energy of Example 2 being at the mJ level, the discharge energy of Example 3 being at the 100μJ level, and the discharge energy of Example 4 being at the 10μJ level. Figure 4 As shown, the filter and low-pass filter of the present invention can both achieve good filtering effects. When the discharge energy is at the mJ level, Figure 5 As shown in the figure, the high-frequency interference is stronger than the discharge current. After passing through the low-pass filter, although the high-frequency interference is filtered out, a certain distortion will be generated, which will affect the calculation of the damping ratio and cause a large deviation in the calculation of the discharge energy. When the discharge energy is 100μJ and 10μJ, as Figure 6 and Figure 7 As shown, the high-frequency interference is much stronger than the discharge current, and after passing through the low-pass filter, the high-frequency interference cannot be completely filtered out. Under the same cut-off frequency as the low-pass filter, the filter of the present invention can well suppress the high-frequency interference in a wider discharge energy range, and at the same time does not cause the discharge current to be distorted, thereby ensuring the accurate capture of the discharge current peak.

[0113] The discharge current waveform is not an ideal underdamped oscillation attenuation. In the early stage of discharge, the spark channel can basically remain stable, and the equivalent resistance of the spark channel remains basically unchanged. In the later stage of discharge, as the discharge energy weakens, the spark channel is insufficient to maintain stability, and the equivalent resistance of the spark channel gradually increases. The discharge energy is mainly concentrated in the early stage of discharge. Therefore, the discharge energy can be calculated using the equivalent resistance of the spark channel in the early stage of discharge. Step S3 may include the following steps:

[0114] Step S301, calculate the average logarithmic decay rate δ:

[0115]

[0116] Among them, I pn is the nth peak value of the discharge spark current I(t), I tn is the nth valley value of the discharge spark current I(t), where n and M are both integers;

[0117] Step S302: Calculate the damping ratio ζ:

[0118]

[0119] Step S303, calculating the oscillation period T:

[0120]

[0121] Among them, t pn is the time corresponding to the nth peak value of the discharge spark current I(t), t tn is the time corresponding to the nth valley value of the discharge spark current I(t), where n and M are both integers;

[0122] Step S304, calculating the loop inductance L:

[0123]

[0124] Step S305: Calculate the discharge start voltage U d :

[0125]

[0126] In the above steps S301 to S305, n is preferably 1 to 5, and the order of executing steps S301 to S305 can be appropriately changed without affecting the calculation result, that is, the same calculation result can be obtained by executing steps S303, S304, S305, S301, S302 in order.

[0127] For the purpose of simplifying the calculation, only the peak or the trough may be used for calculation. The above steps S301 to S305 may have the following variations:

[0128] Step S311, calculate the average logarithmic decay rate δ:

[0129]

[0130] Among them, I pn is the nth peak value of the discharge spark current waveform, where n and M are both integers;

[0131] Step S312, calculate the damping ratio ζ:

[0132]

[0133] Step S313, calculating the oscillation period T:

[0134]

[0135] Among them, t n It is the moment corresponding to the nth peak value of the discharge spark current I(t);

[0136] Step S314, calculating the loop inductance L:

[0137]

[0138] Step S315: Calculate the discharge start voltage U d :

[0139]

[0140] In the above steps S311 to S315, n is preferably 1 to 5. Compared with steps S301 to S305, steps S311 to S315 use only the peak value of the discharge current I(t) for calculation, which simplifies the calculation to a certain extent. Similarly, the same result can be obtained by using only the valley value of the discharge current I(t) for calculation.

[0141] Steps S301 to S305 and steps S311 to S315 use data from multiple cycles of the discharge current waveform oscillation to calculate the average logarithmic decay rate, oscillation period and discharge starting voltage, thereby reducing the calculation error caused by fluctuations in current values ​​due to accidental interference, thereby improving the calculation accuracy of the discharge energy.

[0142] In order to avoid a large deviation in the discharge energy calculation caused by an error in the extraction of the discharge current peak value, it is necessary to verify the parameters solved in the above step S3, and fit the discharge current waveform through step S4, which may include the following:

[0143] Step S401, fitting the discharge current waveform:

[0144]

[0145] Step S402, calculate the sum of squared deviations SST:

[0146] SST=(I 1 -I avg ) 2 +(I 2 -I avg ) 2 +…+(I m -I avg ) 2 ,

[0147] Among them, I 1 ,I 2 ,I m are the current values ​​of the 1st, 2nd and mth data points of the discharge current I(t), I avg is the arithmetic mean value of the discharge current I(t);

[0148] Step S403, calculate the residual sum of squares SSE:

[0149] SSE=(I 1 -I' 1 ) 2 +(I 2 -I' 2 ) 2 +…+(I m -I' m ) 2 ,

[0150] Among them I' 1 , I' 2 , I' m are the current values ​​of the 1st, 2nd and mth data points of the fitted discharge current I'(t), respectively;

[0151] Step S404, calculate the fitting degree R-squared:

[0152] R-squared = 1-SSE / SST,

[0153] If R-squared ≥ the set threshold, the discharge current fitting result is excellent, and step S5 is continued. If R-squared < the set threshold, the discharge current fitting fails, and the filter parameters are adjusted by returning to step S1, and steps S1 to S4 are repeated. If the maximum number of calculations is repeated and R-squared < the set threshold is still not satisfied, the result with the best fitting degree is selected for presentation.

[0154] The discharge current fitting waveforms of the discharge energy levels of J, 10mJ, and 100μJ are as follows: Figure 8 , Fig. 9 and Fig.10In the energy range from μJ to J, the fitted discharge current and the actual discharge current have good repeatability, which verifies the effectiveness of the method of the present invention in obtaining the key parameters of discharge.

[0155] In step S5, the loop resistance R is In spark discharge, usually ζ<<1, so the loop resistance can also be calculated by Calculated.

[0156] Furthermore, in step S6, the discharge energy E is calculated: E = ∫I(t) 2 Rdt.

[0157] When the spark discharge energy is from 10mJ to J, the charging capacitor used is usually not less than 500pF, which is much larger than the distributed capacitance of the discharge circuit. At this time, the discharge voltage is almost the same as the charging voltage. However, when the spark discharge energy is from μJ to mJ, the charging capacitor used is at the same level as the distributed capacitance of the discharge circuit, and the discharge starting voltage U d Will be lower than the charging voltage U 0 , and the smaller the charging capacitance, the higher the discharge starting voltage U d The further away from the charging voltage U 0 If 0.5CU is used 0 2 If the nominal discharge energy is calculated, the value will be much larger than the actual discharge energy, resulting in a large deviation. If the voltage probe is used to directly measure the discharge start voltage, the charge will be discharged through the voltage probe during the short period of time from when the electrode is loaded with high voltage to when the high voltage breaks through the air gap, making it difficult to break through the air gap.

[0158] In view of this, a method for calculating the nominal discharge energy is provided in step S6 of the present invention, which may include the following steps:

[0159] Step S601, calculating the oscillation period T:

[0160]

[0161] Among them, t pn is the time corresponding to the nth peak value of the discharge spark current I(t), t tn is the time corresponding to the nth valley value of the discharge spark current I(t), where n and M are both integers;

[0162] Step S602, calculating the loop inductance L:

[0163]

[0164] Step S603, calculating the discharge start voltage U d :

[0165]

[0166] Step S604, calculate the nominal discharge energy: E 名义 =0.5CU d 2 .

[0167] In the above steps S601 to S603, n is preferably 1 to 5. In the above steps S601 to S603, the discharge start voltage U can be calculated from the discharge current waveform. d , and then get the nominal discharge energy 0.5CU d 2 , no high-voltage probe is needed, which greatly improves the discharge success rate of μJ to mJ energy.

[0168] For the purpose of simplifying the calculation, only the peak or the trough may be used for calculation. The above steps S601 to S604 may have the following variations:

[0169] Step S611, calculating the oscillation period T:

[0170]

[0171] Among them, t n is the moment corresponding to the nth peak value of the discharge spark current I(t), where n and M are both integers;

[0172] Step S612, calculating the loop inductance L:

[0173]

[0174] Step S613, calculating the discharge start voltage U d :

[0175]

[0176] Step S614, calculate the nominal discharge energy: E 名义 =0.5CU d 2 .

[0177] In the above steps S611 to S613, n is preferably 1 to 5. Compared with steps S601 to S603, steps S611 to S613 use only the peak value of the discharge current I(t) for calculation, which simplifies the calculation to a certain extent. Similarly, the same result can be obtained by using only the valley value of the discharge current I(t) for calculation.

[0178] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present invention, which follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed by the present invention. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present invention are indicated by the claims of the present application.

[0179] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

Claims

1. An automatic calculation method for spark discharge energy from uJ level to J level, characterized in that: The following steps are involved: Step S1, removing DC bias and high-frequency noise in the discharge current waveform; Step S2, obtaining the peak value, trough value and the time corresponding to the peak and trough of the discharge current waveform; Step S3, calculating the damping ratio, discharge period, loop inductance, and discharge start voltage; Step S4, fitting the discharge current waveform. If the fitting degree of the fitted discharge current waveform is lower than the set threshold, return to step S1; Step S5, calculating the loop resistance; Step S6, calculating the discharge energy; When the discharge energy is in the range of 10 μJ to mJ, step S1 removes the high-frequency noise in the discharge current waveform by using a filtering method combining band-stop filtering, low-pass filtering and SG filtering, including the following steps: Step S101, calculate the power spectrum of the discharge current I(t) and obtain the frequency corresponding to the maximum peak value, that is, the oscillation frequency f of the discharge current I(t) I ; Step S102, performing a first band-stop filter on the discharge current I(t), wherein the center frequency of the first band-stop filter is f 01 , the cut-off frequency of the passband is (f 01 / a、f 01 *a), the cut-off frequency of the stop band is (f 01 / b、f 01 *b), where 8MHz≤f 01 ≤12MHz, 1.5≤a≤1.8, 1.0≤b≤1.1; Step S103, performing a second band-stop filter on the discharge current after step S102, and the center frequency f of the second band-stop filter used is 02 , the cut-off frequency of the passband is (f 02 / c,f 02 *c), the cut-off frequency of the stop band is (f 02 / d,f 02 *d), where 10MHz≤f 02 ≤16MHz, 1.6≤c≤2.0, 1.1≤d≤1.2; Step S104, low-pass filtering is performed on the discharge current after step S103, wherein the cut-off frequency f of the low-pass filter is L The value of is the discharge current waveform oscillation frequency f I 3 to 8 times; Step S105, performing SG filtering on the discharge current after step S104, wherein the window length of the SG filtering is an odd number in the range of 149 to 299.

2. The automatic calculation method for spark discharge energy of uJ to J level according to claim 1, characterized in that: The method for removing the DC bias in the discharge current waveform in step S1 includes: Take the average value of the starting points of the discharge current waveform and subtract the average value from the discharge current waveform. value; or, perform high-pass filtering on the discharge current waveform.

3. The automatic calculation method for spark discharge energy of uJ to J level according to claim 1, characterized in that: The step S3 comprises the following steps: Calculate the average logarithmic decay rate δ, Among them I pn is the nth peak value of the discharge spark current I(t), I tn is the nth valley value of the discharge spark current I(t), where n and M are both integers; Calculate the damping ratio ζ: Calculate the oscillation period T: Among them, t pn is the time corresponding to the nth peak value of the discharge spark current I(t), t tn is the time corresponding to the nth valley value of the discharge spark current I(t), where n and M are both integers; Calculate the loop inductance L: Calculate the discharge starting voltage U d :

4. The automatic calculation method for spark discharge energy of uJ to J level according to claim 1, characterized in that: The step S3 comprises the following steps: Calculate the average logarithmic decay rate δ: Among them, I pn is the nth peak value of the discharge spark current waveform, where n and M are both integers; Calculate the damping ratio ζ: Calculate the oscillation period T: where t n It is the moment corresponding to the nth peak value of the discharge spark current waveform; Calculate the loop inductance L: Calculate the discharge starting voltage U d :

5. The automatic calculation method for spark discharge energy of uJ to J level according to claim 3 or 4, characterized in that: The step S4 comprises the following steps: Step S401, fitting the discharge current waveform: Step S402, calculate the sum of squared deviations SST: SST=(I1-I avg ) 2 +(I2-I avg ) 2 +…+(I m -I avg ) 2 , Among them, I1, I2, I m are the current values ​​of the 1st, 2nd and mth data points of the discharge current I(t), I avg is the arithmetic mean value of the discharge current I(t); Step S403, calculate the residual sum of squares SSE: SSE=(I1-I′1) 2 +(I2-I'2) 2 +…+(I m -I' m ) 2 , Among them, I'1, I'2, I' m are the current values ​​of the 1st, 2nd and mth data points of the fitted discharge current I'(t), respectively; Step S404, calculate the fitting degree R-squared: R-squared = 1-SSE / SST, If R-squared<the set threshold, the discharge current fitting fails, and the process returns to step S1 to adjust the filter parameters.

6. The automatic calculation method for spark discharge energy of uJ to J level according to claim 5, characterized in that: In the step S5, Calculate the loop resistance R: or In step S6, Calculate the discharge energy E: E = ∫I(t) 2 Rdt.

7. The automatic calculation method for spark discharge energy of uJ to J level according to claim 6, characterized in that: The step S6 includes calculating the nominal discharge energy, including the following steps: Step S601, calculating the oscillation period T: Among them, t pn is the time corresponding to the nth peak value of the discharge spark current I(t), t tn is the time corresponding to the nth valley value of the discharge spark current I(t), where n and M are both integers; Step S602, calculating the loop inductance L: Step S603, calculating the discharge start voltage U d : Step S604, calculate the nominal discharge energy: E 名义 =0.5CU d 2 .

8. The automatic calculation method for spark discharge energy of uJ to J level according to claim 6 is characterized in that: The step S6 includes calculating the nominal discharge energy, including the following steps: Step S611, calculating the oscillation period T: Among them, t n is the moment corresponding to the nth peak value of the discharge spark current I(t), where n and M are both integers; Step S612, calculating the loop inductance L: Step S613, calculating the discharge start voltage U d : Step S614, calculate the nominal discharge energy: E 名义 =0.5CU d 2 .