Power supply operation state stability monitoring method based on electrical parameter analysis

Through electrical parameter analysis and improved Kalman filtering algorithm, electromagnetic interference during power supply operation is identified and denoised, which solves the problem of electromagnetic interference influence during power supply operation and improves the accuracy of monitoring.

CN118349791BActive Publication Date: 2024-09-06DALIAN PALITE ELECTRONIC TECH DEV CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410786080.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-18
Publication Date
2024-09-06
Estimated Expiration
2044-06-18

AI Technical Summary

Technical Problem

The existing technology is difficult to accurately identify and respond to electromagnetic interference when the power supply is running, causing distortion of current and voltage signals and reducing the accuracy of system steady state monitoring.

Method used

A method based on electrical parameter analysis is used to determine the transient generation window and electromagnetic transient impact characteristics by acquiring current and voltage signals. Combined with the improved Kalman filter algorithm, the current and voltage signals are denoised to monitor the power supply operating status in real time.

Benefits of technology

It achieves accurate identification and quantification of electromagnetic interference, improves the accuracy of power supply operation status stability monitoring, and eliminates the impact of electromagnetic interference on monitoring.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118349791B
    Figure CN118349791B
Patent Text Reader

Abstract

The present application relates to the technical field of power supply operation status monitoring, and specifically to a power supply operation status stability monitoring method based on electrical parameter analysis, the method comprising: determining a transient generation window based on the frequency domain signal distribution difference of the current and voltage signals of the power supply; determining the electromagnetic transient impact characteristics based on the fluctuation characteristics of the current and voltage signals corresponding to the transient generation window, and the difference between the energy spectrum and the time-frequency diagram; improving the gain coefficient of the Kalman filter algorithm based on the electromagnetic transient impact characteristics of the current and voltage signals in all corresponding transient generation windows, obtaining the denoised current and voltage signals, and performing real-time abnormal monitoring of the power supply operation status. The present application aims to eliminate the influence of electromagnetic interference during power supply stability monitoring and improve the accuracy of power supply operation status stability monitoring.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of power supply operation status monitoring, and in particular to a power supply operation status stability monitoring method based on electrical parameter analysis. Background Art

[0002] Power supply operation status stability monitoring is essential to ensure the safe, reliable and efficient operation of the power system. With the development of technology, monitoring technology has changed from traditional manual detection to automated monitoring using sensors, communication technology and information processing technology. It not only improves the efficiency and response speed of monitoring, but also can timely discover and deal with potential safety hazards through real-time collection of key parameters such as power system operation status, equipment conditions, load conditions, etc. Power supply operation status stability monitoring is the cornerstone of the safe operation of the power system. Through monitoring and testing, problems in the power system can be discovered and solved in a timely manner, and the quality and performance of power products can be improved. At the same time, it also provides important data support for the optimization design and operation and maintenance of the power system.

[0003] However, due to the rapid change of current and the effect of inductance and capacitance components in the circuit, electromagnetic interference (EMI) may be generated. These interferences can be propagated in the form of electromagnetic waves, affecting the normal operation of other electronic devices. When the power supply is running, the electromagnetic interference in the power supply system may be mixed with the current and voltage signals generated by the power supply itself, resulting in noise components in the monitoring signal. In addition, the power supply system may encounter transient events during operation, such as rapid switching of loads or momentary interruptions of power supply. Electromagnetic interference may mask the characteristics of these transient events, making it difficult for the monitoring system to accurately identify and respond to these events. In the existing technology, it is impossible to accurately denoise the impact of electromagnetic interference on the power supply current and voltage signals, resulting in distortion of current and voltage signals, which reduces the accuracy of actual system stable state monitoring. Summary of the invention

[0004] In order to solve the above technical problems, the present application provides a power supply operation status stability monitoring method based on electrical parameter analysis to solve the existing problems.

[0005] The power supply operation state stability monitoring method based on electrical parameter analysis of the present application adopts the following technical solutions:

[0006] An embodiment of the present application provides a method for monitoring the stability of a power supply operation state based on electrical parameter analysis, the method comprising the following steps:

[0007] Obtain current signal and voltage signal of power supply;

[0008] Determine the transient generation window of the current and voltage signals based on the energy spectrum density difference between adjacent time windows under the frequency domain signal distribution of the current and voltage signals;

[0009] Based on the correlation between the energy spectra of the transient generation windows corresponding to the current and voltage signals, and in combination with the cross-spectral density difference and energy spectrum density difference between the time-frequency diagrams of the transient generation windows corresponding to the current and voltage signals, the probability weights of transient events in the transient generation windows corresponding to the current and voltage signals are determined;

[0010] Based on the fluctuations in all corresponding transient generation windows of the current and voltage signals, the differential characteristics between adjacent time windows of the current or voltage signals, and the probability weights of the transient generation windows, the electromagnetic transient impact characteristics of the transient generation windows corresponding to the current and voltage signals are determined;

[0011] Based on the electromagnetic transient influence characteristics of the current and voltage signals in all corresponding transient generation windows, combined with the gain coefficient of the original Kalman filter algorithm, the improved gain coefficient of the Kalman filter algorithm is obtained, and the denoised current and voltage signals are obtained by using the Kalman filter algorithm, and the power supply operation status is monitored in real time for abnormalities;

[0012] The method for obtaining the denoised current and voltage signals comprises:

[0013] Calculating the normalized value of the mean value of the electromagnetic transient influence characteristics of the current and voltage signals in all corresponding transient generation windows, combining the normalized value with the gain coefficient of the original Kalman filter algorithm as an improved Kalman gain coefficient; the improved Kalman gain coefficient obtained by the combination is positively correlated with the normalized value and the gain coefficient of the original Kalman filter algorithm;

[0014] The improved Kalman filter algorithm is used to denoise the current and voltage signals to obtain denoised current and voltage signals.

[0015] Preferably, the method for determining the transient generation window includes:

[0016] Convert the current and voltage signals into frequency domain to obtain the time-frequency diagram of each time window;

[0017] For the time-frequency diagram of any corresponding time window in the current and voltage signals, calculate the energy spectrum density mean of the time-frequency diagram of any corresponding time window, and record it as the energy spectrum density mean of any time window;

[0018] The standard deviation of the preset multiples of the mean of the energy spectral density of all time windows is recorded as the transient threshold;

[0019] Calculate the absolute value of the difference between the energy spectrum density means of any two adjacent time windows and record it as the first difference between any two adjacent time windows;

[0020] When the first difference is greater than the transient threshold, and one of the two first differences on its two adjacent sides is greater than the transient threshold, any two adjacent time windows are determined to be transient generation windows.

[0021] Preferably, the method for determining the probability weight of the transient event comprises:

[0022] Determining the significance weights of the transient generation windows corresponding to the current and voltage signals based on the correlation between the energy spectra of the transient generation windows corresponding to the current and voltage signals;

[0023] Determine event occurrence characteristic values ​​of the transient generation windows corresponding to the current and voltage signals based on the differences between the time-frequency diagrams of the transient generation windows corresponding to the current and voltage signals;

[0024] Based on the significance weight and the event occurrence characteristic value, the probability weight of the transient event generation in the transient generation window corresponding to the current and voltage signals is determined; wherein the significance weight and the event occurrence characteristic value are both positively correlated with the probability weight of the transient event generation.

[0025] Preferably, the method for determining the significance weight includes:

[0026] The correlation is positively correlated with the significance weight; wherein the method for determining the correlation is specifically as follows:

[0027] Calculate the cross-correlation function between the energy spectra of the transient generation windows corresponding to the current and voltage signals; calculate the maximum value, minimum value and average value of the cross-correlation function at different time offsets; calculate the difference between the maximum value and the minimum value;

[0028] The correlation is determined based on the difference and the average value; wherein the correlation is negatively correlated with the difference and positively correlated with the average value.

[0029] Preferably, the method for determining the event occurrence characteristic value includes:

[0030] Calculate the cross spectral density between the time-frequency diagrams of current and voltage in the corresponding transient generation window;

[0031] calculating a first difference between adjacent corresponding transient generation windows of the current and voltage signals;

[0032] The event occurrence characteristic value is determined according to the first difference between the adjacent corresponding transient generation windows and the cross spectral density; wherein the event occurrence characteristic value and the first difference between the adjacent corresponding transient generation windows, and the cross spectral density are all in direct proportion.

[0033] Preferably, the method for determining the electromagnetic transient impact characteristics includes:

[0034] Determine the electromagnetic influence weight of the current or voltage signal in each transient generation window based on the fluctuations of the current and voltage signals in all corresponding transient generation windows and the differential characteristics between adjacent time windows of the current or voltage signals;

[0035] Calculate the mean value of the electromagnetic influence weights of the current and voltage signals in the corresponding transient generation window, and record it as the electromagnetic influence mean value;

[0036] The electromagnetic impact mean value and the probability weight of the transient event generation are both in direct proportion to the electromagnetic transient impact characteristics of the current and voltage signals in the corresponding transient generation window.

[0037] Preferably, the method for determining the electromagnetic influence weight includes:

[0038] The sum of the ratios of the entropy values ​​in all corresponding transient generation windows in the current and voltage signals is taken as the entropy value difference between the current and voltage signals;

[0039] determining a differential signal feature of the current or voltage signal in each transient generation window based on a differential signal of the current or voltage signal between each transient generation window and an adjacent time window;

[0040] Calculate the product of the differential signal feature of the current or voltage signal in each transient generation window and the entropy value difference, and record it as the influence feature value of the current or voltage signal in each transient generation window;

[0041] The electromagnetic influence weight is determined based on the influence characteristic value; wherein the influence characteristic value is directly proportional to the electromagnetic influence weight.

[0042] Preferably, the method for determining the differential signal characteristic comprises: calculating the differential signal of the current or voltage signal between each transient generation window and its adjacent time window; and taking the maximum value of the differential signal as the differential signal characteristic.

[0043] Preferably, the specific process of performing real-time abnormal monitoring on the power supply operation status includes:

[0044] The denoised current and voltage signals are used as input, and an anomaly detection algorithm is used to obtain an anomaly score for each data point;

[0045] When the abnormality score is greater than the preset abnormality threshold, it is determined that there is an abnormal value and there is a problem with the operating state of the power supply; otherwise, the operating state of the power supply is stable.

[0046] In the above scheme, the present application proposes a method for monitoring the stability of power supply operation status based on electrical parameter analysis. Aiming at the probability problem of electromagnetic interference in the power supply system, the short-time Fourier transform algorithm and the calculation method of energy spectrum and cross-spectral density are used to determine the probability weight of transient events, so as to reflect the characteristics of transient events in the power supply system and realize accurate identification and quantification of the impact of electromagnetic interference; Aiming at the problem of the impact of electromagnetic interference on the stability of power supply signal, the method of entropy value calculation and differential signal feature analysis is used to determine the electromagnetic transient impact characteristics, so as to reflect the impact of electromagnetic interference on the spectrum distribution and signal volatility of power supply signal, and realize quantitative evaluation of the impact degree of electromagnetic interference; Finally, for the problem of signal denoising under different electromagnetic interference levels, the Kalman filtering algorithm is improved, and the characteristic value of electromagnetic interference is calculated in real time and the Kalman gain is adjusted to reflect the characteristics of the signal under different interference conditions, so as to realize a dynamic balance between denoising and detail retention, improve the filtering effect, eliminate the impact of electromagnetic interference when monitoring power supply stability, and improve the accuracy of monitoring the stability of power supply operation status. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0048] Figure 1 A flowchart of a method for monitoring the stability of a power supply operation state based on electrical parameter analysis provided in one embodiment of the present application;

[0049] Figure 2 A flowchart for constructing an indicator of a gain coefficient of an improved Kalman filter algorithm provided in one embodiment of the present application. DETAILED DESCRIPTION

[0050] In order to further explain the technical means and effects adopted by the present application to achieve the predetermined invention purpose, the specific implementation method, structure, features and effects of the power supply operation state stability monitoring method based on electrical parameter analysis proposed in the present application are described in detail below in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.

[0051] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.

[0052] The specific scheme of the power supply operation status stability monitoring method based on electrical parameter analysis provided by the present application is described in detail below with reference to the accompanying drawings.

[0053] An embodiment of the present application provides a method for monitoring the stability of power supply operation status based on electrical parameter analysis.

[0054] Specifically, the following power supply operation status stability monitoring method based on electrical parameter analysis is provided, please refer to Figure 1 , the method comprises the following steps:

[0055] The first step is to obtain the current signal and voltage signal of the power supply.

[0056] When the power supply is running, a current and voltage sensor is directly connected to the power supply output terminal to obtain the current and voltage signals when the power supply is running. The current and voltage signals are collected evenly at a time interval of t, and a total of N signals are collected, with t being 0.5s and N being 1000.

[0057] Then, the collected current and voltage signals are normalized using a normalization method.

[0058] At this point, the current signal and voltage signal of the power supply can be obtained according to the above method.

[0059] In the second step, the transient generation window of the current and voltage signals is determined based on the energy spectral density difference between adjacent time windows under the frequency domain signal distribution of the current and voltage signals.

[0060] In order to accurately analyze the impact of electromagnetic interference on the current and voltage signals of the power supply, this embodiment uses the Hanning window function to process the voltage and current sequences, and reduces spectrum leakage by weighting the signals, thereby improving the accuracy of spectrum analysis.

[0061] In this embodiment, the window length of the Hanning window is set to 256 sample points, the overlap rate is 80%, and each window is recorded as a time window. The signal in each time window is subjected to a fast Fourier transform (FFT), and a time-frequency diagram of the signal in each time window can be obtained by the STFT algorithm, and its horizontal and vertical coordinates are represented by time-frequency, that is, the frequency components of the signal at different time points. Among them, the fast Fourier transform algorithm and the STFT algorithm are both well-known technologies and will not be repeated here.

[0062] Since transient phenomena usually appear as sudden changes in the frequency content of a signal, these transient events can be more easily identified by observing the energy changes in the frequency domain.

[0063] The energy spectrum density is calculated for the time spectrum diagram of each time window. Since the length of the current and voltage sequences is the same and the parameters of the short-time Fourier transform are the same, the number of corresponding time windows in the signal after the short-time Fourier transform is the same.

[0064] Based on this, the mean value of the energy spectral density is calculated from the time-frequency diagram of the corresponding time window in the voltage and current signals.

[0065] For example, the energy spectrum density in the nth time window of the current frequency domain signal and the energy spectrum density in the nth time window of the voltage frequency domain signal are calculated, and then the average of the two is calculated and recorded as the average of the energy spectrum density of each time window.

[0066] The three times standard deviation of the mean of the energy spectrum density of all time windows is taken as the transient threshold. The absolute value of the difference between the mean of the energy spectrum density of any two adjacent time windows is recorded as the first difference. If the first difference is greater than the transient threshold, and the first difference on one side of the two first differences on both sides of the any two adjacent time windows is less than the transient threshold, then the any two adjacent time windows in the current and voltage frequency domain signals are determined as transient generation windows.

[0067] It should be noted that if any two adjacent time windows are the leftmost or rightmost windows, and the first difference between the two adjacent windows is greater than the transient threshold, the any two adjacent time windows are determined to be transient generation windows.

[0068] The third step is to determine the probability weight of transient events in the transient generation windows corresponding to the current and voltage signals based on the correlation between the energy spectra of the transient generation windows corresponding to the current and voltage signals, and combined with the cross-spectral density difference and energy spectrum density difference between the time-frequency diagrams of the transient generation windows corresponding to the current and voltage signals.

[0069] For the transient generation windows in all current and voltage signals, the cross spectral density between the time-frequency diagrams of the current and voltage in the corresponding transient generation windows is calculated to determine the event occurrence characteristic value; the cross-correlation function between the energy spectra of the transient generation windows corresponding to the current and voltage is calculated to determine the significance weight, thereby determining the probability weight of the transient event generation.

[0070] The probability weight of the transient event is determined according to the significance weight and the event occurrence characteristic value; wherein the probability weight of the transient event is positively correlated with the significance weight and the event occurrence characteristic value.

[0071] It can be understood that a positive correlation means that the dependent variable will increase as the independent variable increases, and the dependent variable will decrease as the independent variable decreases. The specific relationship can be a multiplication relationship, an addition relationship, or the idempotence of an exponential function, which is determined by actual application and is not specifically limited in this application.

[0072] The significance weights of the transient generation windows corresponding to the current and voltage signals are determined based on the correlation between the energy spectra of the transient generation windows corresponding to the current and voltage signals.

[0073] Preferably, the correlation relationship can be negatively correlated with the difference between the maximum and minimum values ​​of the cross-correlation function between the current and voltage signals in the corresponding transient generation window energy spectra at different time offsets, and positively correlated with the average value of the correlation degree of the cross-correlation function at all time offsets.

[0074] It should be understood that the difference between the maximum and minimum values ​​of the cross-correlation function at different time offsets reflects the range of variation of the similarity between the current and voltage signals at all possible time offsets. The smaller the value, the higher the similarity between the current and voltage signals at different time points, that is, their temporal variation trends are similar, which means that the signal is less disturbed and the characteristics of transient events are more obvious, that is, the difference between the maximum and minimum values ​​of the correlation function at different time offsets is inversely proportional to the significance weight.

[0075] It can be understood that the inverse relationship means that the dependent variable will decrease as the independent variable increases, and the dependent variable will increase as the independent variable decreases. It can be a subtraction relationship, a division relationship, etc., which is determined by actual application.

[0076] The average value of the cross-correlation function reflects the average strength of the overall linear relationship between the current and voltage signals under different time changes. The higher the average value, the more significant the signal synchronization is under multiple time changes. The generation of transient events is accompanied by synchronous changes in the current and voltage signals. Therefore, the larger the value, the greater the significance weight, that is, the average value of the cross-correlation function is proportional to the significance weight.

[0077] In this embodiment, the product of the difference and the average value is used as the correlation, and the correlation is used as the significance weight.

[0078] The event occurrence characteristic values ​​of the transient generation windows corresponding to the current and voltage signals are determined based on the differences between the time-frequency diagrams of the transient generation windows corresponding to the current and voltage signals.

[0079] Preferably, the event occurrence characteristic value can be determined by a first difference between the current and voltage signals corresponding to the transient generation windows, and a cross spectral density between time-frequency diagrams of the transient generation windows of the current and voltage signals at two identical positions.

[0080] It should be understood that, since the set overlap rate is 80%, 80% of the two adjacent time windows overlap. Therefore, the larger the first difference between the current and voltage signals in adjacent corresponding transient generation windows, the greater the occurrence of a rapid current or voltage change near the time point, and the more likely a transient event is to occur, that is, the first difference between the adjacent corresponding transient generation windows is in direct proportion to the characteristic value of the event occurrence.

[0081] The higher the cross-spectral density between the time-frequency diagrams of the current and voltage signals in the corresponding transient generation window, the better the synchronization of the current and voltage signals during the transient event, that is, the more consistent the changing trends of the current and voltage are, the more credible the occurrence of the transient event is; that is, the event occurrence characteristic value is positively proportional to the cross-spectral density between the time-frequency diagrams of the current and voltage signals in the corresponding transient generation window.

[0082] In this embodiment, the product of the first difference between the adjacent corresponding transient generation windows and the cross spectral density is used as the event occurrence feature value.

[0083] Furthermore, the probability weight of the transient event generation in the transient generation window corresponding to the current and voltage signals is determined based on the significance weight and the event occurrence characteristic value, wherein the significance weight and the event occurrence characteristic value are both positively correlated with the probability weight of the transient event generation.

[0084] It should be understood that for all two adjacent corresponding transient generation windows in the current and voltage signals, if the significance weight is higher, it means that the signal coherence is better, the interference is smaller, and the characteristics of the transient event are more obvious; and if the event occurrence characteristic value is higher, it means that the current and voltage signals show more obvious rapid changes and synchronization during the transient window, and the probability of the transient event being accurately identified is greater.

[0085] Preferably, in this embodiment, the product of the significance weight and the event occurrence characteristic value is used as the probability weight of the transient event generation.

[0086] The fourth step is to determine the electromagnetic transient impact characteristics of the transient generation windows corresponding to the current and voltage signals based on the volatility in all corresponding transient generation windows of the current and voltage signals, the differential characteristics between adjacent time windows of the current or voltage signals, and the probability weight of the transient generation window.

[0087] Subsequently, the entropy values ​​of all corresponding transient generation windows in the current and voltage signals are calculated, and the differential signals of all transient generation windows of current or voltage and their adjacent time windows are calculated to determine the electromagnetic impact weight of the current or voltage signal in each transient generation window, and the electromagnetic transient impact characteristics are determined in combination with the probability weight.

[0088] The electromagnetic influence weight is determined based on the volatility between all corresponding transient generation windows of the current and voltage signals, and the electromagnetic influence weight is obtained by calculating the entropy value difference in all corresponding transient generation windows in the current and voltage signals, and the differential signal characteristics between adjacent time windows of each transient generation window of the current or voltage signal.

[0089] The product of the entropy value difference of the current and voltage signals and the differential signal feature between the current or voltage signal in each transient generation window and its adjacent time window is calculated and recorded as the influence characteristic value of the current or voltage signal in each transient generation window. The influence characteristic value is proportional to the electromagnetic influence weight.

[0090] Preferably, in this embodiment, the entropy value difference is obtained by adding up the ratios of the entropy values ​​in all corresponding transient generation windows in the current and voltage signals, and the differential signal feature between each transient generation window of the current or voltage signal and its adjacent time window is obtained by calculating the maximum value of the differential signal between the current or voltage signal in each transient generation window and its adjacent time window.

[0091] In other embodiments of the present application, the entropy value difference can also be obtained by other suitable calculation methods such as the product of the ratio of the entropy values ​​in all corresponding transient generation windows in the current and voltage signals.

[0092] It should be understood that electromagnetic interference will cause disturbances in the power supply signal, which is manifested in the frequency domain as a change in the signal's spectral distribution. When electromagnetic interference occurs, the signal's spectral distribution becomes more complex and random, increasing the signal's uncertainty. In the absence of electromagnetic interference, the frequency domain characteristics of current and voltage signals are relatively stable. When electromagnetic interference occurs, the signal's frequency domain characteristics will change, and the entropy value difference will become larger, that is, the electromagnetic influence weight is proportional to the entropy value difference; the differential signal reflects the rate of change of the signal over time. By calculating the maximum value, standard deviation and other characteristics of the differential signal, the amplitude and volatility of the signal change can be quantified. The larger the characteristic value, the more severe the interference to the signal, and the correspondingly higher the electromagnetic influence weight, that is, the electromagnetic influence weight is also proportional to the differential signal characteristic.

[0093] The electromagnetic transient impact characteristics are determined based on the electromagnetic impact weight and the probability weight.

[0094] The mean of the electromagnetic influence weights of the current and voltage signals in the corresponding transient generation window is calculated and recorded as the electromagnetic influence mean; the electromagnetic influence mean and the probability weight of the transient event generation are both proportional to the electromagnetic transient influence characteristics of the current and voltage signals in the corresponding transient generation window.

[0095] It should be understood that the electromagnetic impact weight reflects the degree of influence of electromagnetic interference on the stability of the power supply system. The larger the weight, the more significant the impact of the interference and the stronger the interference. The probability weight provides a quantitative measure of the possibility of a transient event and evaluates the credibility of a transient event. The larger the value, the higher the probability of occurrence.

[0096] In this embodiment, the product of the electromagnetic impact mean value and the probability weight of the transient event generation is used as the electromagnetic transient impact feature of the current and voltage signals in the corresponding transient generation window.

[0097] The fifth step is to obtain the improved gain coefficient of the Kalman filter algorithm based on the electromagnetic transient influence characteristics of the current and voltage signals in all corresponding transient generation windows and the gain coefficient of the original Kalman filter algorithm. The Kalman filter algorithm is used to obtain the denoised current and voltage signals, and the power supply operation status is monitored in real time for abnormalities.

[0098] In order to eliminate the impact of electromagnetic interference on the power supply system, the Kalman filter algorithm is used to denoise the acquired current and voltage signals. The Kalman gain coefficient in the Kalman filter algorithm controls the balance between noise reduction and detail retention. A larger Kalman gain coefficient can remove noise more effectively, but may cause the loss of useful signals. A smaller Kalman gain coefficient helps to retain signal details, but the denoising effect may be weakened.

[0099] Therefore, this embodiment adopts a method of adjusting the Kalman gain to adapt to different electromagnetic interference levels and signal characteristics, ensuring that the signal generated when the power supply is running is retained to the maximum extent while removing the interference.

[0100] The original Kalman gain coefficient of the algorithm is calculated according to a fixed formula, by calculating the product of the observation matrix and the state covariance matrix, adding the covariance matrix of the observation noise and then finding the inverse matrix, and finally multiplying it by the transpose of the state covariance matrix estimated a priori. In order to adapt to the characteristics of electromagnetic interference in real time, this embodiment improves the Kalman gain:

[0101] For each current and voltage signal collected, the mean of the electromagnetic transient impact characteristics of the current and voltage signals in all corresponding transient generation windows is calculated, and the mean is normalized and combined with the gain coefficient of the original Kalman filter algorithm. The amplification factor is set to enhance the adjustment amplitude of the Kalman gain to ensure that the gain adjustment is significant enough even in the case of weak electromagnetic interference, thereby affecting the filtering effect, and obtaining an improved Kalman filter algorithm, denoising the current and voltage signals, and obtaining the denoised current and voltage signals.

[0102] In this embodiment, the indicator construction flow chart of the gain coefficient of the improved Kalman filter algorithm is as follows: Figure 2 shown.

[0103] It should be noted that the improved Kalman gain coefficient obtained by the combination is positively correlated with the normalized value and the gain coefficient of the original Kalman filter algorithm.

[0104] Optionally, in this embodiment, the method combined with the Kalman gain calculated by the original algorithm can be obtained by normalizing the mean of all electromagnetic transient impact characteristics, setting the amplification factor to 2 and multiplying the normalized result, and the resulting product range is By amplifying the Kalman gain calculated by the original algorithm, the gain can be gradually increased on the original gain as the influence of electromagnetic interference increases, ensuring the accuracy of filtering.

[0105] In the power supply system, the characteristic value of electromagnetic interference represents the intensity of interference. By quantifying these characteristics, we can better understand the impact of interference on power supply signals. When the characteristic value of electromagnetic interference is larger, it indicates that the interference is stronger. At this time, increasing the Kalman gain can filter out noise more actively. On the contrary, when the characteristic value of electromagnetic interference is smaller, it indicates that the interference is weaker. At this time, reducing the Kalman gain helps to retain more signal details. A dynamic balance is achieved between denoising and detail retention. Under different interference conditions, the filter can automatically adjust its behavior to achieve the best filtering effect.

[0106] Finally, the denoised current and voltage signals are used as input, and the anomaly detection algorithm is used to obtain the anomaly score of each data point to check whether the denoised current and voltage signals contain outliers.

[0107] In this embodiment, the LOF anomaly detection algorithm is used to detect anomalies in the denoised current and voltage signals to obtain the local outlier factor of each data point. In this embodiment, the anomaly threshold is set to 1, and the implementer can set it according to the actual situation. When the local outlier factor is greater than the anomaly threshold, it is determined that there is an abnormal value, which means that there is a problem with the operating state of the power supply; otherwise, it means that the operating state of the power supply is stable.

[0108] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.

[0109] It should be noted that, unless otherwise specified and limited, terms such as "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a circuit structure, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such article or device. In the absence of further restrictions, an element defined by the sentence "including one..." does not exclude the existence of other identical elements in the article or device including the element. In addition, the term "and\or" used herein includes any and all combinations of one or more related listed items.

[0110] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention herein. The present application is intended to cover any variations, uses or adaptations of the present application, which follow the general principles of the present application and include common knowledge or customary technical means in the art that are not invented by the present application.

[0111] It should be understood that the present application 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.

Claims

1. A method for monitoring the stability of power supply operation status based on electrical parameter analysis, characterized in that: The method comprises the following steps: Obtain current signal and voltage signal of power supply; Determine the transient generation window of the current and voltage signals based on the energy spectrum density difference between adjacent time windows under the frequency domain signal distribution of the current and voltage signals; Based on the correlation between the energy spectra of the transient generation windows corresponding to the current and voltage signals, and in combination with the cross-spectral density difference and energy spectrum density difference between the time-frequency diagrams of the transient generation windows corresponding to the current and voltage signals, the probability weights of transient events in the transient generation windows corresponding to the current and voltage signals are determined; Based on the fluctuations in all corresponding transient generation windows of the current and voltage signals, the differential characteristics between adjacent time windows of the current or voltage signals, and the probability weights of the transient generation windows, the electromagnetic transient impact characteristics of the transient generation windows corresponding to the current and voltage signals are determined; Based on the electromagnetic transient influence characteristics of the current and voltage signals in all corresponding transient generation windows, combined with the gain coefficient of the original Kalman filter algorithm, the improved gain coefficient of the Kalman filter algorithm is obtained, and the denoised current and voltage signals are obtained by using the Kalman filter algorithm, and the power supply operation status is monitored in real time for abnormalities; The method for obtaining the denoised current and voltage signals comprises: Calculating the normalized value of the mean value of the electromagnetic transient influence characteristics of the current and voltage signals in all corresponding transient generation windows, combining the normalized value with the gain coefficient of the original Kalman filter algorithm as an improved Kalman gain coefficient; the improved Kalman gain coefficient obtained by the combination is positively correlated with the normalized value and the gain coefficient of the original Kalman filter algorithm; The improved Kalman filter algorithm is used to denoise the current and voltage signals to obtain denoised current and voltage signals; The method for determining the probability weight of the transient event includes: Determining the significance weights of the transient generation windows corresponding to the current and voltage signals based on the correlation between the energy spectra of the transient generation windows corresponding to the current and voltage signals; Determine event occurrence characteristic values ​​of the transient generation windows corresponding to the current and voltage signals based on the differences between the time-frequency diagrams of the transient generation windows corresponding to the current and voltage signals; Determining the probability weight of the transient event generation in the transient generation window corresponding to the current and voltage signals based on the significance weight and the event occurrence characteristic value; wherein the significance weight and the event occurrence characteristic value are both positively correlated with the probability weight of the transient event generation; The method for determining the significance weight includes: The correlation is positively correlated with the significance weight; wherein the method for determining the correlation is specifically as follows: Calculate the cross-correlation function between the energy spectra of the transient generation windows corresponding to the current and voltage signals; calculate the maximum value, minimum value and average value of the cross-correlation function at different time offsets; calculate the difference between the maximum value and the minimum value; Determine the correlation based on the difference and the average value; wherein the correlation is negatively correlated with the difference and positively correlated with the average value; The method for determining the event occurrence characteristic value comprises: Calculate the cross spectral density between the time-frequency diagrams of current and voltage in the corresponding transient generation window; calculating a first difference between adjacent corresponding transient generation windows of the current and voltage signals; The event occurrence characteristic value is determined according to the first difference between the adjacent corresponding transient generation windows and the cross spectral density; wherein the event occurrence characteristic value and the first difference between the adjacent corresponding transient generation windows, and the cross spectral density are all in direct proportion.

2. The method for monitoring the stability of power supply operation status based on electrical parameter analysis according to claim 1, characterized in that: The method for determining the transient generation window includes: Convert the current and voltage signals into frequency domain to obtain the time-frequency diagram of each time window; For the time-frequency diagram of any corresponding time window in the current and voltage signals, calculate the energy spectrum density mean of the time-frequency diagram of any corresponding time window, and record it as the energy spectrum density mean of any time window; The standard deviation of the preset multiples of the mean of the energy spectral density of all time windows is recorded as the transient threshold; Calculate the absolute value of the difference between the energy spectrum density means of any two adjacent time windows and record it as the first difference between any two adjacent time windows; When the first difference is greater than the transient threshold, and one of the two first differences on its two adjacent sides is greater than the transient threshold, any two adjacent time windows are determined to be transient generation windows.

3. The method for monitoring the stability of power supply operation status based on electrical parameter analysis according to claim 2, characterized in that: The method for determining the electromagnetic transient impact characteristics includes: Determine the electromagnetic influence weight of the current or voltage signal in each transient generation window based on the fluctuations of the current and voltage signals in all corresponding transient generation windows and the differential characteristics between adjacent time windows of the current or voltage signals; Calculate the mean value of the electromagnetic influence weights of the current and voltage signals in the corresponding transient generation window, and record it as the electromagnetic influence mean value; The electromagnetic impact mean value and the probability weight of the transient event generation are both proportional to the electromagnetic transient impact characteristics of the current and voltage signals in the corresponding transient generation window; The method for determining the electromagnetic influence weight includes: The sum of the ratios of the entropy values ​​in all corresponding transient generation windows in the current and voltage signals is taken as the entropy value difference between the current and voltage signals; determining a differential signal feature of the current or voltage signal in each transient generation window based on a differential signal of the current or voltage signal between each transient generation window and an adjacent time window; Calculate the product of the differential signal feature of the current or voltage signal in each transient generation window and the entropy value difference, and record it as the influence feature value of the current or voltage signal in each transient generation window; The electromagnetic influence weight is determined based on the influence characteristic value; wherein the influence characteristic value is directly proportional to the electromagnetic influence weight.

4. The method for monitoring the stability of power supply operation status based on electrical parameter analysis according to claim 3, characterized in that: The method for determining the differential signal feature includes: calculating the differential signal of the current or voltage signal between each transient generation window and its adjacent time window; and taking the maximum value of the differential signal as the differential signal feature.

5. The method for monitoring the stability of power supply operation status based on electrical parameter analysis according to claim 1, characterized in that: The specific process of real-time abnormal monitoring of the power supply operation status includes: The denoised current and voltage signals are used as input, and an anomaly detection algorithm is used to obtain an anomaly score for each data point; When the abnormality score is greater than the preset abnormality threshold, it is determined that there is an abnormal value and there is a problem with the operating state of the power supply; otherwise, the operating state of the power supply is stable.