Method and system for automatic measurement of lightning surge impulse parameters of a vehicle

By combining the sliding window detection method and energy envelope analysis with the trapezoidal integral method, the precise measurement of vehicle lightning surge pulse parameters was achieved. This solved the problems of large calculation errors and noise interference in surge pulse parameters in traditional measurement systems, and provided accurate surge pulse characteristics and intensity analysis.

CN123136262APending Publication Date: 2026-11-20HEFEI TAIDING TESTING TECHNOLOGY CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611648723.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-23
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

Existing technologies struggle to accurately measure vehicle lightning surge pulses, especially under extreme weather conditions such as lightning strikes. Traditional measurement systems cannot simultaneously and accurately measure voltage and current signals, resulting in large errors in surge pulse parameter calculations. Furthermore, the complex and variable waveforms lead to inaccurate determination of start and end times, and noise interference also plays a role.

Method used

The sliding window detection method is used to acquire the rate of change of current and voltage signals in real time. The first moment of the surge pulse is determined by the abrupt change of the synchronous current and voltage rate of change. Combined with the sliding window energy envelope analysis, the start and end times are accurately located. The surge energy is calculated using the trapezoidal integral method, providing waveform index and energy assessment.

Benefits of technology

It enables accurate real-time identification and start-end time location of vehicle lightning surge pulses, improves detection accuracy, provides a quantitative analysis method for surge pulses, and overcomes the problem that single signal detection is easily affected by noise.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123136262A_ABST
    Figure CN123136262A_ABST
Patent Text Reader

Abstract

The application provides a kind of automatic measurement method and system of vehicle lightning surge pulse parameter, it is related to electrical engineering technical field, the application uses sliding window method to calculate the rate of change of current and voltage, when both synchronous mutation occurs, it is determined as the starting time of surge pulse, with this time as a reference, forward and backward respectively search the starting and stopping time of surge pulse, intercept the current, voltage waveform in corresponding time window, analyze the intercepted waveform, calculate the rise time and duration of surge, and then obtain the waveform index and integrate the instantaneous power using trapezoidal integration method, obtain the surge energy, combined with surge energy threshold interval, the running state of vehicle is evaluated.The application realizes high-precision feature extraction and energy quantization of surge pulse, and provides a scientific basis for safety monitoring and maintenance of vehicle electrical system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of electrical engineering technology, specifically to an automatic measurement method and system for vehicle lightning surge pulse parameters. Background Technology

[0002] With the widespread application of automotive electronic systems, the reliability and safety of electrical and electronic equipment inside vehicles have become important indicators in automotive design and testing. During vehicle operation, especially under extreme weather conditions such as lightning strikes, vehicle busbars and related circuits often encounter high-amplitude, wide-frequency surge pulse impacts. These surge pulses are characterized by strong suddenness, large amplitude, and wide frequency, which can easily lead to damage to key electronic components, system malfunctions, and even safety hazards to the entire vehicle. Traditional vehicle surge testing mainly relies on manual operation or the use of dedicated testing equipment to collect and analyze surge signals. However, due to the non-periodic and random nature of lightning surge pulses and their complex and variable waveforms, manual detection methods often suffer from slow response speed, low identification accuracy, and incomplete parameter extraction.

[0003] In the existing technology, traditional measurement systems are mostly single-channel or asynchronous acquisition, which makes it difficult to achieve synchronous and accurate measurement of voltage and current signals. This results in low measurement accuracy of surge pulse rise time and duration, leading to large errors in surge energy and waveform parameter calculation, and making it difficult to effectively assess the adverse effects of surge pulses on vehicles. In addition, the surge measurement methods for transmission vehicles usually suffer from problems such as inaccurate determination of start and end times and missed detection of abnormal peaks due to the complex and variable waveforms and strong pulse bursts. Moreover, most of them extract surge pulse parameters from the time the surge occurs until it ends. Although filtering and noise reduction processing is performed in the early stage, residual noise and interference signals are still inevitable in the signal. These interferences will introduce local peaks and abrupt change points, confusing the true surge pulse boundary.

[0004] Therefore, it is necessary to propose an automatic measurement method and system for vehicle lightning surge pulse parameters to solve the aforementioned problem.

[0005] The information disclosed in the background section is only intended to enhance the understanding of the background of this disclosure, and therefore may include information that does not constitute prior art known to those skilled in the art. Summary of the Invention

[0006] The purpose of this invention is to provide an automatic measurement method and system for vehicle lightning surge pulse parameters, so as to solve the problems mentioned in the background art.

[0007] To achieve the above objectives, the present invention provides the following technical solution: An automatic measurement method for vehicle lightning surge pulse parameters, comprising the following steps: Step 1: Acquire the current and voltage signals of the vehicle bus in real time, use the sliding window detection method to determine the rate of change of current and voltage in real time, and determine the first moment of surge pulse when the rate of change of current and voltage changes abruptly. Step 2: Using the first moment as the reference moment, search forward for the start moment of the surge pulse and search backward for the end moment of the surge pulse; Step 3: Based on the start and end times of the surge pulse, extract waveform segments within the time window formed by the start and end times from the synchronously acquired current and voltage signals and analyze them to calculate the rise time and duration of the surge pulse. Step 4: Calculate the waveform index of the surge pulse based on the rise time and duration of the acquired surge pulse, calculate the surge energy generated by the surge pulse using the trapezoidal integral method, and evaluate the vehicle condition based on the surge energy.

[0008] Furthermore, the sliding window detection method is used to calculate the rate of change of current and voltage, and the difference between the rates of change of current and voltage is obtained. The method used is as follows: Real-time acquisition of vehicle bus current signal and voltage signal , respectively with sampling interval Discrete sampling is performed to obtain discrete sequences of current and voltage signals. and Using a length of A sliding window is used to process the sampled signal, calculating the rate of change of current and voltage. The rate of change is defined as the slope of the linear fit of the signal within the window, and the calculation formula is: in, Indicates the first The slope of the linear fit of the current signal with respect to time at each sampling point, i.e., the rate of change of the current. Here is the index of the sampling point, indicating the sampling point corresponding to the current calculation of the rate of change. This indicates that all sampling points within the current sliding window are sampled from index [index missing]. arrive Perform a summation operation. For the first The sampling time corresponding to each sampling point This represents the average sampling time within the sliding window. For the first Current signal value at each sampling point This represents the average value of the current signal within the sliding window. The total number of sampling points, and t represents the time variable of the sampling process; The same formula described above is used to determine the rate of change of the voltage at the k-th sampling point. Based on the obtained rates of change of voltage and current, the difference between the rates of change of current and voltage is calculated using the following formula: in, Indicates the first Difference in the rate of change of current at each sampling point Indicates the first The rate of change of the current signal calculated at each sampling point Indicates the first The rate of change of voltage signal calculated at each sampling point Indicates the first The voltage change rate difference at each sampling point.

[0009] Furthermore, the method used to determine the first moment of the surge pulse is as follows: Set the current change rate threshold. With voltage change rate threshold ,when , When both exceed the preset current and voltage change rate thresholds, and at the same sampling point If the above-mentioned abrupt changes occur simultaneously, the mean values ​​of the current and voltage change rates within the sliding window will be introduced again. , variance of the rate of change of current and voltage , The standardized mutation number of the rate of change of current and voltage is defined using significance indicators based on the mean and variance of the rate of change. The formula used is as follows: in, , They represent the first time. The standardized mutation number of the rate of change of current and voltage at each sampling point. , They represent the first time. The average rate of change of current and voltage at each sampling point. , They represent the first time. The variance of the rate of change of current and voltage at each sampling point It is a positive number that prevents division by zero; Set a standardized mutation threshold ,when , Then it means the first The rate of change of current and voltage at each sampling point significantly deviates from historical fluctuations. To avoid misjudgment due to the time misalignment of current and voltage abrupt changes, a time tolerance window is introduced. The determination condition is: if a sampling point exists. satisfy Then determine the sampling point The first moment of a lightning surge ,in , These represent the detection point indices for current and voltage surges, respectively, requiring them to occur synchronously within the tolerance time window.

[0010] Furthermore, using the first moment as the reference moment, the method for searching forward to the start moment of the surge pulse and backward to the end moment of the surge pulse is as follows: Based on the first moment of the identified surge pulse, the discrete sequences of current and voltage signals are analyzed separately. and The formula used to calculate the sliding window energy envelope value of current and voltage signals is as follows: in, Indicates the first The sliding window energy envelope value of the current signal at each sampling point; this value is a representation of the past... The summation of the squares of the current amplitudes at each sampling point reflects the energy intensity of the current signal within that window. Indicates the first The sliding window energy envelope value of the voltage signal at each sampling point reflects the energy intensity of the voltage signal within the window; It is the length of the sub-sliding window, representing the number of sampling points covered during energy envelope calculation; For the first Current signal values ​​at each sampling point; For the first The voltage signal value at each sampling point, and ; The difference between the energy envelopes of the current and voltage signals is calculated based on the sliding window energy envelope values ​​of the acquired current and voltage signals. , Simultaneously, threshold values ​​for changes in the envelope energy of the corresponding current and voltage signals are set. , Set joint judgment conditions: , Neither exceeded the preset current and voltage change rate thresholds, and the difference in the energy envelopes of the current and voltage signals... , None of them exceeded the preset threshold for changes in the envelope energy of the current and voltage signals. , ; Based on the above joint determination conditions, scan the index backward from the first moment to find the first index that satisfies the joint determination conditions and is continuously true for more than [time period missing]. Sampling points of each sampling point Set the start time Similarly, scanning the index backwards from the first moment, we find the first instance where the joint judgment condition is continuously satisfied for more than [time period missing]. Sampling points of each sampling point Set deadline ;in, It is the number of consecutively satisfied sampling points used to filter isolated outliers. This is the index of the first starting sampling point in the forward scan, from which the samples continue forward. All sampling points meet the above judgment criteria. This is the index of the first starting sampling point in the backward scan, from which the samples continue sequentially. All sampling points meet the judgment criteria.

[0011] Furthermore, waveform segments within this time window are extracted and analyzed to calculate the rise time and duration of the surge pulse. The method used is as follows: Select time interval The current waveform, voltage waveform, and surge pulse rise time reflect the time span from the initial stage of the signal to the peak. The rise time is defined as the time from the initial moment... At the first moment The time interval between surge pulses, and the duration, are defined as the time interval from the start time to the end time of the surge pulse. The formulas used to calculate the rise time and duration of a surge pulse are as follows: in, , These represent the rise time and duration of the surge pulse, respectively.

[0012] Furthermore, the waveform index of the surge pulse is calculated using the following method: Based on time interval The waveform index of a surge pulse is calculated by the ratio of its rise time to its duration. The surge energy generated by the surge pulse is then calculated, and the vehicle condition is assessed based on this surge energy. The formula used is as follows: in, The waveform index representing the surge pulse; Calculate within the time interval The instantaneous power at each sampling point within the sample, reflecting the rate of electrical energy transfer at that moment, is based on the following formula: in, Indicates the first Instantaneous power at each sampling point For the first Voltage values ​​at each sampling point For the first Current values ​​at each sampling point; The energy integration of discrete sampled signals using the trapezoidal integral method is employed, and the formula used to calculate surge energy is as follows: in, This represents the surge energy generated by the vehicle within a given time interval. and Corresponding time and The index of the sampling points; Surge energy threshold range is set based on empirical quantile method. Surge energy was acquired during both normal and abnormal vehicle operation periods, and the 95th percentile of surge energy during normal operation was selected as the threshold. The surge energy quantile at 5% during abnormal operation was selected as... ; Based on the calculated surge energy, combined with the set surge energy threshold range Conduct a vehicle condition assessment, when This indicates that the vehicle is operating normally and no surge pulse has occurred; if A moderate surge was detected, and the vehicle was inspected; if The system has been determined to have a severe surge pulse phenomenon in the vehicle, which could cause equipment damage and should be repaired promptly.

[0013] The present invention also provides an automatic measurement system for vehicle lightning surge pulse parameters, the automatic measurement system being used to perform the above-described automatic measurement method, comprising: The surge change identification module is used to acquire the current and voltage signals of the vehicle bus in real time. It uses the sliding window detection method to determine the rate of change of current and voltage in real time, and determines the first moment of the surge pulse when the rate of change of current and voltage changes changes simultaneously. The pulse interval positioning module is used to search forward for the start time of the surge pulse and backward for the end time of the surge pulse, with the first moment as the reference time. The pulse feature extraction module, based on the start and end times of the surge pulse, extracts waveform segments within the time window formed by the start and end times from the synchronously acquired current and voltage signals and analyzes them to calculate the rise time and duration of the surge pulse. The energy assessment module is used to calculate the waveform index of the surge pulse based on the rise time and duration of the acquired surge pulse, calculate the surge energy generated by the surge pulse using the trapezoidal integral method, and assess the vehicle condition based on the surge energy.

[0014] Compared with the prior art, the beneficial effects of the present invention are: This invention achieves accurate real-time identification and start / end time location of vehicle lightning surge pulses by employing a synchronous detection method of current and voltage change rate combined with sliding window energy envelope analysis. This method effectively overcomes the problems of single signal detection being susceptible to noise and misjudgment, improves the accuracy of surge pulse detection, accurately locates the start / end time interval of the surge, and provides calculation methods for surge waveform index and surge energy, providing quantitative analysis means for the morphological characteristics and intensity of surge pulses. Attached Figure Description

[0015] Figure 1 This is a schematic diagram of the overall method flow of the present invention.

[0016] Figure 2 This is a schematic diagram of the system module flow of the present invention. Detailed Implementation

[0017] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to specific embodiments.

[0018] It should be noted that, unless otherwise defined, the technical or scientific terms used in this invention should have the ordinary meaning understood by one of ordinary skill in the art to which this invention pertains. The terms "first," "second," and similar terms used in this invention do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Terms such as "comprising" or "including" mean that the element or object preceding the word encompasses the elements or objects listed following the word and their equivalents, without excluding other elements or objects. Terms such as "connected" or "linked" are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. Terms such as "upper," "lower," "left," and "right" are used only to indicate relative positional relationships; when the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0019] Example: Please see Figure 1 An automatic measurement method for vehicle lightning surge pulse parameters, comprising the following steps: Step 1: Acquire the current and voltage signals of the vehicle bus in real time, use the sliding window detection method to determine the rate of change of current and voltage in real time, and determine the first moment of surge pulse when the rate of change of current and voltage changes abruptly.

[0020] In a specific embodiment of the present invention, the purpose of determining the first moment of the surge pulse is to provide a unified time anchor point. Since significant abrupt changes occur simultaneously in both current and voltage signals, determining a common starting moment as the anchor point of the surge pulse facilitates consistent time positioning of the initial, rising, and sustained phases. Furthermore, single-channel detection is susceptible to noise, interference, or instantaneous anomalies, while dual-channel synchronous abrupt changes and statistical significance judgment can reduce the probability of misjudgment, ensuring that the surge characteristics of the current and voltage signals are correctly aligned within the same time region. Determining the first moment facilitates consistent calculation of morphological and energy characteristics. Subsequent surge pulse parameters all need to define the time window with a reliable starting point. This approach ensures the repeatability and comparability of the characteristic quantities.

[0021] In the specific implementation process, it is necessary to use the same sampling point. By observing sudden changes in current and voltage, and ensuring that both sudden changes occur synchronously within the set tolerance range, the first moment can be determined, thereby avoiding incorrect starting points caused by single-path anomalies. Explanation regarding the tolerance time window setting: Because current and voltage sampling are discrete, the two signals may trigger abrupt changes at several adjacent sampling points. Therefore, it is generally recommended to set the tolerance time window... Let's set the time to be equivalent to several sampling periods, specifically, a sampling rate of 20kHz. It can be set to 2-5 sampling periods, i.e., 0.1-0.25ms; Furthermore, the sliding window detection method is used to calculate the rate of change of current and voltage, and the difference between the rates of change of current and voltage is obtained. The method used is as follows: Real-time acquisition of vehicle bus current signal and voltage signal , respectively with sampling interval Discrete sampling is performed to obtain discrete sequences of current and voltage signals. and Using a length of A sliding window is used to process the sampled signal, calculating the rate of change of current and voltage. The rate of change is defined as the slope of the linear fit of the signal within the window, and the calculation formula is: in, Indicates the first The slope of the linear fit of the current signal with respect to time at each sampling point, i.e., the rate of change of the current. Here is the index of the sampling point, indicating the sampling point corresponding to the current calculation of the rate of change. This indicates that all sampling points within the current sliding window are sampled from index [index missing]. arrive Perform a summation operation. For the first The sampling time corresponding to each sampling point This represents the average sampling time within the sliding window. For the first Current signal value at each sampling point This represents the average value of the current signal within the sliding window. The total number of sampling points, and ; The rate of change of the voltage at the k-th sampling point is determined using the same formula as above. Based on the obtained rates of change of voltage and current, the difference between the rates of change of current and voltage is calculated using the following formula: in, Indicates the first Difference in the rate of change of current at each sampling point Indicates the first The rate of change of the current signal calculated at each sampling point Indicates the first The rate of change of voltage signal calculated at each sampling point Indicates the first The voltage change rate difference at each sampling point.

[0022] It should be noted that the purpose of first determining that the standardized mutation number exceeds the threshold before setting the zero-tolerance window is to distinguish between "truly significant changes" and "ordinary fluctuations, noise, or short-term extreme values." The standardized mutation number compares the changes of the two signals with their historical statistics, and only fluctuations that are statistically significant proceed to the next step, avoiding being misled by occasional spikes. Since the units, dimensions, and fluctuation amplitudes of the two signals may be different, using the standardized mutation number can fairly compare the degree of anomaly of the two signals under the same judgment framework, thereby improving the robustness of the judgment. The reason for setting a tolerance window is that in actual systems, there are sampling delays, sensor response differences, signal transmission delays, and clock drift in the processing link, which cause the sudden changes in current and voltage of the same surge to not be strictly synchronized. This is used to provide a tolerance range to ensure that genuine common events can be identified as the same surge; The reason for using dual-determination to determine the first moment is that anomalies in a single path are more prone to misjudgment; only when both signals show significant changes at the same moment and... Only when internal synchronization occurs can a real surge event be reliably identified. Furthermore, lightning strikes or strong pulses usually manifest rapid changes in both current and voltage signals simultaneously. When both signals simultaneously meet the threshold and are aligned, a more realistic first moment can be provided, facilitating subsequent boundary localization and feature extraction.

[0023] Furthermore, the method used to determine the first moment of the surge pulse is as follows: Set the current change rate threshold. With voltage change rate threshold ,when , When both exceed the preset current and voltage change rate thresholds, and at the same sampling time If the above-mentioned abrupt changes occur simultaneously, the mean values ​​of the current and voltage change rates within the sliding window will be introduced again. , variance of the rate of change of current and voltage , The standardized mutation number of the rate of change of current and voltage is defined using significance indicators based on the mean and variance of the rate of change. The formula used is as follows: in, , They represent the first time. The standardized mutation number of the rate of change of current and voltage at each sampling point. , They represent the first time. The average rate of change of current and voltage at each sampling point. , They represent the first time. The variance of the rate of change of current and voltage at each sampling point It is a positive number that prevents division by zero; Set a standardized mutation threshold ,when , Then it means the first The rate of change of current and voltage at each sampling point significantly deviates from historical fluctuations. To avoid misjudgment due to the time misalignment of current and voltage abrupt changes, a time tolerance window is introduced. The determination condition is: if a sampling point exists. satisfy Then determine the sampling point The first moment of a lightning surge ,in , These represent the detection point indices for current and voltage surges, respectively, requiring them to occur synchronously within the tolerance time window. Sampling points The corresponding moment.

[0024] It should be noted that lightning surges typically manifest in the time domain as rapid rising edges of current and voltage. , That is, the rate of change of current and voltage will be significantly greater than that in steady state; directly using the voltage and current amplitude to judge is easily affected by the steady-state operating point and load level; while the rate of change is more sensitive to transient changes and is more suitable for capturing the initiation moment of surge; , Indicates the first The average rate of change of current and voltage within the sliding window before the point. It represents the center of normal background fluctuations; the current rate of change... By comparing with this mean, we can determine whether the current point deviates from the normal state; use , This is to ensure causality and detection sensitivity; if the current anomaly point It also participates in the calculation of mean and variance, which will inflate the mean and variance, making... The smaller the window, the more likely it is to miss detections; therefore, it is more reasonable to estimate normal statistical characteristics using historical windows prior to the current point. Lightning surges can manifest as a sudden change in the positive direction, or as a sudden change in the negative direction due to sensor polarity, current reversal, oscillation, etc. Taking the absolute value can detect significant deviations in both directions, avoiding detection of only the upward direction; Among them, the standardized mutation threshold The setting is not uniquely determined by the formula; it is usually determined based on the actual distribution of standardized mutation numbers under normal operating conditions, the allowable false alarm rate, the false alarm rate, the detection delay, and the on-site noise level. For conditions approximating normal fluctuations... If it follows a standard normal distribution, then Corresponding agreement The two-sided false alarm rate, Approximately , Approximately Therefore, in engineering practice, a value between 3 and 5 is often used as a starting point. A more reliable method is to calculate using normal data under surge-free conditions. The threshold can be determined by using high quantiles such as 99.9% and 99.99%, or by working backward from the sampling rate and the allowable number of false alarms. When the window is short, the noise is non-Gaussian, or the interference is strong, the threshold should be appropriately increased. However, joint judgment using both current and voltage channels significantly reduces the overall false alarm rate; therefore, the single-channel threshold can be appropriately relaxed. In practice, when there is no prior data, a threshold of 3 to 4 can be used initially. For low false alarm requirements, a threshold of 4 to 5 can be used, and for high sensitivity requirements, a threshold of 2.5 to 3 can be used. Finally, the threshold should be optimized based on the ROC curves of normal and surge samples or the actual false alarm and missed alarm situations.

[0025] Step 2: Using the first moment as the reference moment, search forward for the start moment of the surge pulse and search backward for the end moment of the surge pulse.

[0026] In a specific embodiment of the present invention, based on the first moment, scanning forward and backward and continuously judging, it is possible to extract the start and end times of the real surge pulse in the presence of noise and single-point anomalies, forming a clear time window, and filtering out isolated points by setting the number of sampling points that continuously meet the conditions, reducing misjudgment and boundary jitter, and ensuring that the boundary is consistent under different observations or different samples. The reason for calculating the sliding window energy envelope here is that... , In the past The energy accumulation at each sampling point reflects the signal's energy intensity, revealing a continuous energy input rather than just looking at a single instantaneous spike or a simple rate of change. , Susceptible to high-frequency noise and sampling jitter, the energy envelope reduces the occasional impact of noise by accumulating the sum of the squares of the signal, enhancing the identification of real surges, and through... , This is used to assess whether changes in the energy envelope are continuous and significant, thereby determining whether a scan in a certain direction has truly entered or exited the range of surge energy release, and avoiding misjudging the boundary due to short-term fluctuations.

[0027] Furthermore, using the first moment as the reference moment, the method for searching forward to the start moment of the surge pulse and backward to the end moment of the surge pulse is as follows: Based on the first moment of the identified surge pulse, the discrete sequences of current and voltage signals are analyzed separately. and The formula used to calculate the sliding window energy envelope value of current and voltage signals is as follows: in, Indicates the first The sliding window energy envelope value of the current signal at each sampling point; this value is a representation of the past... The summation of the squares of the current amplitudes at each sampling point reflects the energy intensity of the current signal within that window. Indicates the first The sliding window energy envelope value of the voltage signal at each sampling point reflects the energy intensity of the voltage signal within the window; It is the length of the sub-sliding window, representing the number of sampling points covered during energy envelope calculation; For the first Current signal values ​​at each sampling point; For the first The voltage signal value at each sampling point, and ; The difference between the energy envelopes of the current and voltage signals is calculated based on the sliding window energy envelope values ​​of the acquired current and voltage signals. , Simultaneously, threshold values ​​for changes in the envelope energy of the corresponding current and voltage signals are set. , Set joint judgment conditions: , Neither exceeded the preset current and voltage change rate thresholds, and the difference in the energy envelopes of the current and voltage signals... , None of them exceeded the preset threshold for changes in the envelope energy of the current and voltage signals. , ; It should be noted that there are no uniform fixed values ​​for the above thresholds. They typically need to be calibrated jointly based on normal operating condition statistical characteristics, typical lightning surge waveforms, sampling rate, sensor bandwidth, and on-site noise levels. For current and voltage change rate thresholds... , Calculations can be performed first under normal operating conditions without surges. , The absolute value sequence is used to calculate its mean, standard deviation, or high quantile. If the noise is approximately normal, the mean plus 3 to 5 times the standard deviation can be used. If the noise is non-Gaussian or has many spikes, the 99.9% to 99.99% quantile is used as the initial value. Simultaneously, this threshold should be significantly lower than the rate of change of the rising edge of a typical lightning surge to ensure no missed detections in the initial screening stage. Therefore, it is often taken as 1.5 to 3 times the upper limit of normal noise, or one-fifth to one-third of the rate of change of a typical surge. Since the dimension of the rate of change is related to the sampling rate, it is best to first... , By normalizing the rated current and rated voltage to a per-unit rate of change and then setting a threshold, the comparability is improved under different sampling rates and different device capacities. For the energy envelope difference threshold , First, the length of the sliding window must be determined. . The sampling period should be greater than the fluctuation period of high-frequency noise and sampling jitter, but less than the duration of the surge pulse. Typically, it covers several to dozens of sampling points; specifically, at a sampling rate of 10kHz, 5 to 50 points can be used, corresponding to 0.5 to 5ms. This ensures the energy envelope reflects continuous energy input without overly smoothing the boundaries. Then, calculations are performed in the surge-free region. , difference , Since the energy envelope is a sum of squares, the difference can be positive or negative; therefore, the threshold should be set according to... , Compare them, or set the rising edge and falling edge thresholds separately. , Under normal operating conditions The 99.9th percentile, or the mean plus 3 to 5 times the standard deviation, can also be set as a percentage of the square of the rated current or voltage, for example, 1.5 to 2 times the upper limit of normal fluctuation. This threshold must be consistent with... Adjust the sampling rate accordingly, because changing the window length will directly change the amplitude of the energy envelope and its difference.

[0028] Based on the above joint determination conditions, scan the index backward from the first moment to find the first index that satisfies the joint determination conditions and is continuously true for more than [time period missing]. Sampling points of each sampling point Set the start time Similarly, scanning the index backwards from the first moment, we find the first instance where the joint judgment condition is continuously satisfied for more than [time period missing]. Sampling points of each sampling point Set deadline ;in, It is the number of consecutively satisfied sampling points used to filter isolated outliers. This is the index of the first starting sampling point in the forward scan, from which the samples continue forward. All sampling points meet the above judgment criteria. This is the index of the first starting sampling point in the backward scan, from which the samples continue sequentially. All sampling points meet the judgment criteria. Sampling points The corresponding moment.

[0029] Step 3: Based on the start and end times of the surge pulse, extract waveform segments within the time window formed by the start and end times from the synchronously acquired current and voltage signals and analyze them to calculate the rise time and duration of the surge pulse.

[0030] In a specific embodiment of the present invention, a clear surge time window is formed by utilizing the first moment, the start moment, and the end moment, and the rise time. The time from the start of the event to the point of significant mutation was identified, reflecting the phase of rapid energy accumulation; duration. The duration of the event, from the first moment to its end, was confirmed, reflecting the extent of energy release. The reason why the rise time and duration in the surge pulse parameters can be directly calculated using the first moment, the start moment, and the end moment is that the start moment is determined by the sampling points that continuously meet the conditions in the previous step, representing the starting point of the event officially entering the observable energy release range; and the first moment is the point at which the sudden changes in current and voltage are synchronized in time and reach the statistical threshold, which is usually regarded as the "significant peak trigger or inflection point of the surge" and is an important sampling point in the rise process. Finally, the end moment is determined by the sampling points that continuously meet the conditions in the next step, representing the sampling point where the event enters a relatively stable or ended state. This shows that the three time nodes used for calculation all have physical meaning. Furthermore, waveform segments within this time window are extracted and analyzed to calculate the rise time and duration of the surge pulse. The method used is as follows: Select time interval The current waveform, voltage waveform, and surge pulse rise time reflect the time span from the initial stage of the signal to the peak. The rise time is defined as the time from the initial moment... At the first moment The time interval between surge pulses, and the duration, are defined as the time interval from the start time to the end time of the surge pulse. The formulas used to calculate the rise time and duration of a surge pulse are as follows: in, , These represent the rise time and duration of the surge pulse, respectively.

[0031] Step 4: Calculate the waveform index of the surge pulse based on the rise time and duration of the acquired surge pulse, calculate the surge energy generated by the surge pulse using the trapezoidal integral method, and evaluate the vehicle condition based on the surge energy.

[0032] In a specific embodiment of the present invention, waveform index and surge energy are used to characterize surge pulse features because the waveform index of the surge pulse, as shape information, can distinguish between a "rapidly rising but short-duration" spike and an abnormal pattern of "slowly rising but longer duration," helping to identify different surge driving mechanisms. Surge energy, which combines amplitude and duration, can more directly reflect the energy impact on the equipment, which is better than relying solely on peak or instantaneous power.

[0033] Furthermore, the waveform index of the surge pulse is calculated using the following method: Based on time interval The waveform index of a surge pulse is calculated by the ratio of its rise time to its duration. The surge energy generated by the surge pulse is then calculated, and the vehicle condition is assessed based on this surge energy. The formula used is as follows: in, The waveform index representing the surge pulse is given in the formula above. The increase in size will lead to The increase indicates a smaller upward slope, a longer time required to reach a significant peak, and a more dispersed energy release over time, rather than being concentrated in a very short instant. Reducing will also lead to The increase indicates that, with the rise time remaining constant, the subsequent duration is shorter. This means that within the same interval, the rise phase of the waveform accounts for a larger proportion of the subsequent phase. From a temporal perspective, the time distribution of the waveform at the "rise end" is relatively more prominent, the subsequent energy release ends faster, and the waveform appears "sharper" or ends faster.

[0034] It should be noted that setting the waveform exponent to... Essentially, it constructs a dimensionless ratio that is unaffected by voltage and current amplitudes and dimensions, reflecting only the proportion of the rise phase to the entire pulse duration. As the rise time increases, the peak value is reached more slowly, and energy release is prolonged. When the duration increases and the ascent time decreases, the ascent phase accounts for a larger proportion of the total ascent time, and the subsequent energy release ends more quickly, all while keeping the ascent time constant. It will also increase, so it can describe whether the waveform is a "slow rise, long pulse" or a "fast rise, short pulse, sharp ending"; but It only describes the temporal shape, not the energy magnitude, so it is also necessary to calculate the instantaneous power and surge energy. Only by combining the two can a more comprehensive assessment of surge hazards be made. Calculate within the time interval The instantaneous power at each sampling point within the sample, reflecting the rate of electrical energy transfer at that moment, is based on the following formula: in, Indicates the first Instantaneous power at each sampling point For the first Voltage values ​​at each sampling point For the first Current values ​​at each sampling point; It should be noted that the calculation The trapezoidal integral method is used to integrate the discrete signal in order to obtain the instantaneous power transfer rate at each sampling point. This is because actual sampling is discrete, and multiplying the average power of two adjacent points by the time interval provides a closer approximation to the true integral than a simple rectangular integral, especially when the sampling rate is limited and the surge waveform changes rapidly, thus reducing errors. Surge energy exist The internal integral reflects the energy actually transmitted or deposited by the surge, which directly corresponds to the thermal effect, insulation stress and damage risk of the equipment. By using a defined start and end time as the integration interval, the energy of non-surge segments can be avoided, ensuring that the evaluation object is the real surge pulse. The energy integration of discrete sampled signals using the trapezoidal integral method is employed, and the formula used to calculate surge energy is as follows: in, This represents the surge energy generated by the vehicle within a given time interval. and Corresponding time and The index of the sampling points; Surge energy threshold range is set based on empirical quantile method. Surge energy was acquired during both normal and abnormal vehicle operation periods, and the 95th percentile of surge energy during normal operation was selected as the threshold. The surge energy quantile at 5% during abnormal operation was selected as... ; Based on the calculated surge energy, combined with the set surge energy threshold range Conduct a vehicle condition assessment, when This indicates that the vehicle is operating normally and no surge pulse has occurred; if A moderate surge was detected, and the vehicle was inspected; if The vehicle is currently experiencing a severe surge pulse phenomenon, which could lead to equipment damage and should be repaired promptly. The empirical quantile method is used to set... , This is because surge energy distribution is usually not an ideal normal distribution and is affected by vehicle type, operating conditions, sensor type, and sample differences; directly setting a fixed physical threshold is not robust enough. The 95th percentile of energy under normal operating conditions is taken as... This means that about 95% of normal samples are below this value, and those above it are suspected of being abnormal; the 5% quantile of energy under abnormal operating conditions is taken as... This means that approximately 95% of the abnormal samples exceed this value, and reaching it is highly likely to indicate a severe surge. The area between these two values ​​represents an overlapping gray zone between normal and abnormal distributions; therefore, it is classified as a moderate surge and an inspection is recommended. Below this value... Normal, above or equal to The condition is deemed serious and requires immediate repair.

[0035] Please see Figure 2 The present invention also provides an automatic measurement system for vehicle lightning surge pulse parameters, the automatic measurement system being used to perform the above-described automatic measurement method, comprising: The present invention also provides an automatic measurement system for vehicle lightning surge pulse parameters, the automatic measurement system being used to perform the above-described automatic measurement method, comprising: The surge change identification module is used to acquire the current and voltage signals of the vehicle bus in real time. It uses the sliding window detection method to determine the rate of change of current and voltage in real time, and determines the first moment of the surge pulse when the rate of change of current and voltage changes changes simultaneously. The pulse interval positioning module is used to search forward for the start time of the surge pulse and backward for the end time of the surge pulse, with the first moment as the reference time. The pulse feature extraction module, based on the start and end times of the surge pulse, extracts waveform segments within the time window formed by the start and end times from the synchronously acquired current and voltage signals and analyzes them to calculate the rise time and duration of the surge pulse. The energy assessment module is used to calculate the waveform index of the surge pulse based on the rise time and duration of the acquired surge pulse, calculate the surge energy generated by the surge pulse using the trapezoidal integral method, and assess the vehicle condition based on the surge energy.

[0036] The above formulas are all dimensionless calculations. The formulas are derived from software simulations based on a large amount of collected data to obtain the most recent real-world results. The preset parameters in the formulas are set by those skilled in the art according to the actual situation.

[0037] The above embodiments can be implemented, in whole or in part, by software, hardware, firmware, or any other combination thereof. When implemented in software, the above embodiments can be implemented, in whole or in part, as a computer program product. Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution.

[0038] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment, depending on actual needs.

[0039] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application.

Claims

1. An automatic measurement method for vehicle lightning surge pulse parameters, characterized in that, The specific steps include: Step 1: Acquire the current and voltage signals of the vehicle bus in real time, use the sliding window detection method to determine the rate of change of current and voltage in real time, and determine the first moment of surge pulse when the rate of change of current and voltage changes abruptly. Step 2: Using the first moment as the reference moment, search forward for the start moment of the surge pulse and search backward for the end moment of the surge pulse; Step 3: Based on the start and end times of the surge pulse, extract waveform segments within the time window formed by the start and end times from the synchronously acquired current and voltage signals and analyze them to calculate the rise time and duration of the surge pulse. Step 4: Calculate the waveform index of the surge pulse based on the rise time and duration of the acquired surge pulse, calculate the surge energy generated by the surge pulse using the trapezoidal integral method, and evaluate the vehicle condition based on the surge energy.

2. The automatic measurement method for vehicle lightning surge pulse parameters according to claim 1, characterized in that, The sliding window detection method is used to calculate the rate of change of current and voltage, and to obtain the difference between the rates of change of current and voltage. The method used is as follows: Real-time acquisition of vehicle bus current signal and voltage signal , respectively with sampling interval Discrete sampling is performed to obtain discrete sequences of current and voltage signals. and Using a length of The sliding window processes the sampled signal and calculates the rate of change of current and voltage. The rate of change is defined as the slope of the linear fit of the signal within the window, and t is the time variable of the sampling process. This determines the rate of change of voltage at the k-th sampling point. Based on the obtained rate of change of voltage and rate of change of current, the difference between the rate of change of current and rate of change of voltage is calculated, where k is the index of the sampling point.

3. The automatic measurement method for vehicle lightning surge pulse parameters according to claim 2, characterized in that, The method used to determine the first moment of a surge pulse is as follows: Set the current change rate threshold. With voltage change rate threshold , To indicate the first Difference in the rate of change of current at each sampling point In the first The voltage change rate difference at each sampling point, when , When both exceed the preset current and voltage change rate thresholds, and at the same sampling point If the above-mentioned abrupt changes occur simultaneously, the mean values ​​of the current and voltage change rates within the sliding window will be introduced again. , variance of the rate of change of current and voltage , We define the standardized mutation number of the rate of change of current and voltage using significance indicators based on the mean and variance of the rate of change. Set a standardized mutation threshold ,when , Then it means the first The rate of change of current and voltage at each sampling point significantly deviates from historical fluctuations. To avoid misjudgment due to the time misalignment of current and voltage abrupt changes, a time tolerance window is introduced. The determination condition is: if a sampling point exists. satisfy Then determine the sampling point The first moment of a lightning surge ,in , These represent the detection point indices for current and voltage surges, respectively, requiring them to occur synchronously within the tolerance time window. Sampling points The corresponding moment.

4. The automatic measurement method for vehicle lightning surge pulse parameters according to claim 3, characterized in that, Using the first moment as the baseline, the method for searching forward to find the start time of the surge pulse and backward to find the end time of the surge pulse is as follows: Based on the first moment of the identified surge pulse, the discrete sequences of current and voltage signals are analyzed separately. and Calculate the sliding window energy envelope values ​​of current and voltage signals; The difference in the energy envelopes of the current and voltage signals at each sampling point is calculated based on the sliding window energy envelope values ​​of the acquired current and voltage signals. , Simultaneously, threshold values ​​for changes in the envelope energy of the corresponding current and voltage signals are set. , Set joint judgment conditions: , Neither exceeded the preset current and voltage change rate thresholds, and the difference in the energy envelopes of the current and voltage signals... , None of them exceeded the preset threshold for changes in the envelope energy of the current and voltage signals. , ; Based on the above joint determination conditions, scan the index backward from the first moment to find the first index that satisfies the joint determination conditions and is continuously true for more than [time period missing]. Sampling points of each sampling point Set the start time Similarly, scanning the index backwards from the first moment, we find the first instance where the joint judgment condition is continuously satisfied for more than [time period missing]. Sampling points of each sampling point Set deadline ;in, It is the number of consecutively satisfied sampling points used to filter isolated outliers. This is the index of the first starting sampling point in the forward scan, from which the samples continue forward. All sampling points meet the above judgment criteria. It is the index of the first starting sampling point in the backward scan. Sampling points The corresponding time, starting from here and continuing continuously All sampling points meet the judgment criteria.

5. The automatic measurement method for vehicle lightning surge pulse parameters according to claim 4, characterized in that, Waveform segments within this time window are extracted and analyzed to calculate the rise time and duration of the surge pulse. The method used is as follows: Select time interval The current waveform, voltage waveform, and surge pulse rise time reflect the time span from the initial stage of the signal to the peak. The rise time is defined as the time from the initial moment... At the first moment The time interval between surge pulses is defined as the time interval from the start time to the end time of the surge pulse.

6. The automatic measurement method for vehicle lightning surge pulse parameters according to claim 5, characterized in that, The method used to calculate the waveform exponent of a surge pulse is as follows: Based on time interval The waveform index of a surge pulse is calculated by the ratio of its rise time to its duration. The surge energy generated by the surge pulse is then calculated, and the vehicle condition is assessed based on the surge energy. Calculate within the time interval The instantaneous power at each sampling point within the sample is used to reflect the rate of power transfer at that moment. The energy of the surge is calculated by integrating the discrete sampled signal using the trapezoidal integral method. Surge energy threshold range is set based on empirical quantile method. Surge energy was acquired during both normal and abnormal vehicle operation periods, and the 95th percentile of surge energy during normal operation was selected as the threshold. The surge energy quantile at 5% during abnormal operation was selected as... ; Based on the calculated surge energy, combined with the set surge energy threshold range Conduct a vehicle condition assessment, when , This represents the surge energy generated by the vehicle within a given time interval, indicating that the vehicle is operating normally and no surge pulses have occurred; if A moderate surge was detected, and the vehicle was inspected; if The system has been determined to have a severe surge pulse phenomenon in the vehicle, which could cause equipment damage and should be repaired promptly.

7. An automatic measurement system for vehicle lightning surge pulse parameters, characterized in that, The automatic measurement system is used to execute the automatic measurement method for vehicle lightning surge pulse parameters as described in any one of claims 1-6, including: The surge change identification module is used to acquire the current and voltage signals of the vehicle bus in real time. It uses the sliding window detection method to determine the rate of change of current and voltage in real time, and determines the first moment of the surge pulse when the rate of change of current and voltage changes changes simultaneously. The pulse interval positioning module is used to search forward for the start time of the surge pulse and backward for the end time of the surge pulse, with the first moment as the reference time. The pulse feature extraction module, based on the start and end times of the surge pulse, extracts waveform segments within the time window formed by the start and end times from the synchronously acquired current and voltage signals and analyzes them to calculate the rise time and duration of the surge pulse. The energy assessment module is used to calculate the waveform index of the surge pulse based on the rise time and duration of the acquired surge pulse, calculate the surge energy generated by the surge pulse using the trapezoidal integral method, and assess the vehicle condition based on the surge energy.