A power supply quality early warning method and system based on artificial intelligence
The artificial intelligence differential integrated moving average autoregressive model is used to predict the future state of power supply parameters, which solves the problem of inability to provide early warning of abnormality of power supply equipment in the existing technology, achieves accurate abnormal prediction and early warning of power supply equipment, and improves the reliability of the equipment. and security.
Patent Information
- Application Number
- CN202410728721.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-06-06
AI Technical Summary
The existing power supply equipment status monitoring system cannot effectively warn of abnormalities that may occur in the power supply equipment in the future, making it impossible to schedule maintenance in advance.
A differential integrated moving average autoregressive model based on artificial intelligence is used to predict the future state of power supply parameters by obtaining power supply parameter fragments, determining outliers and correlations, and output early warning information outside the preset range.
It achieves accurate prediction and early warning of abnormalities in power supply equipment, helps maintenance personnel know possible problems in advance, and improves the reliability and safety of power supply equipment.
Smart Images

Figure CN118297366B
Abstract
Description
Technical Field
[0001] The present application relates to the field of electric power technology, and in particular to an artificial intelligence-based power supply quality early warning method and system. Background Art
[0002] The power supply device is a device that directly supplies power to the power-consuming device, or a device that supplies power to the power-consuming device through the power grid. The power supply device may include a first end and a second end, and the first end of the power supply device can be connected to the energy storage unit, and the second end of the power supply device can be connected to the power-consuming device or the power grid to realize power supply to the power-consuming device; or the power supply device may include a third end and a fourth end, and the third end of the power supply device is connected to the power generation device, and the fourth end of the power supply device is connected to the power-consuming device or the power grid to realize power supply to the power-consuming device.
[0003] When the power supply device is supplying power, the working state of the power supply device may be affected by changes in the environment in which the power supply device is located, for example, changes in the temperature or humidity in which the power supply device is located, or the power supply device may be subject to electromagnetic interference from other devices except the power supply device.
[0004] In order to keep the power supply equipment in a normal working state, the operating state of the power supply equipment can be monitored so as to control the power supply equipment, thereby ensuring that the power supply equipment supplies power to the power-consuming equipment and ensuring the normal power consumption of the power-consuming equipment.
[0005] In the related technology, for example, in the Chinese patent application document with publication number CN116359652A, a status monitoring system for power equipment is provided, which monitors the operating status of the power supply equipment according to power supply parameters such as the output voltage or output current of the power supply equipment. It can only know that there is an abnormality in the current working status of the power supply equipment, but cannot know whether the power supply equipment may have an abnormality within a preset time period in the future. Therefore, it is impossible to effectively warn of the abnormality of the power supply equipment. Summary of the invention
[0006] In order to overcome the problem in the related art that it is impossible to effectively warn of abnormalities in power supply equipment, the present application provides an artificial intelligence-based power supply quality warning method and system.
[0007] According to a first aspect of an embodiment of the present application, there is provided a power supply quality early warning method based on artificial intelligence, comprising:
[0008] When the power supply device is in the target power supply mode, a power supply parameter segment of the power supply device within the target time period is obtained; based on the power supply parameter segment, a first abnormal value corresponding to the target time is determined; the first abnormal value is used to characterize the abnormal degree of the power supply parameter at the target time, and the target time is later than the end time of the target time period; based on the first abnormal value corresponding to the target time, the order of the moving average part of the differential integrated moving average autoregressive model at the target time is determined, and the predicted value of the power supply parameter at the target time is obtained based on the order; when the predicted value is outside the preset range, an early warning message is output, and the early warning message is used to warn the power supply parameter at the target time.
[0009] In this way, when the power supply equipment is in the target power supply mode, when the differential integrated moving average autoregressive model is used to determine the predicted value of the power supply parameter, the first abnormal value of the power supply parameter at the target time is taken into account, so that the order corresponding to the moving average part of the differential integrated moving average autoregressive model at the target time is more accurate, and a more accurate predicted value of the power supply parameter can be obtained, so as to effectively warn of the abnormalities in the power supply equipment.
[0010] The differential integrated moving average autoregressive model is used to determine the predicted values of the power supply parameters of the power supply equipment, which helps maintenance personnel to know the possible abnormalities of the power supply equipment in advance; and the influence of the power supply mode on the power supply parameters of the power supply equipment is considered, which helps to obtain more accurate predicted values of the power supply parameters.
[0011] Optionally, the power supply parameter segment includes a first power supply parameter segment and a second power supply parameter segment, the first power supply parameter segment corresponds to the first power supply parameter, and the second power supply parameter segment corresponds to the second power supply parameter; the first abnormal value is determined according to at least one of the second abnormal value and the third abnormal value; wherein the second abnormal value is determined according to the first power supply parameter segment, and the second abnormal value is used to characterize the degree of abnormality of the first power supply parameter at the target moment; the third abnormal value is determined according to the second power supply parameter segment, and the third abnormal value is used to characterize the degree of abnormality of the second power supply parameter at the target moment.
[0012] Optionally, the method also includes: determining a correlation coefficient corresponding to the target time based on the first power supply parameter segment and the second power supply parameter segment; the correlation coefficient is used to characterize the degree of correlation between the first power supply parameter and the second power supply parameter at the target time; and determining the order of the moving average part of the differential integrated moving average autoregressive model at the target time based on the first abnormal value corresponding to the target time, including: determining the order of the moving average part of the differential integrated moving average autoregressive model at the target time based on the correlation coefficient and the first abnormal value corresponding to the target time.
[0013] Optionally, a correlation coefficient corresponding to the target moment is determined according to the first power supply parameter segment and the second power supply parameter segment; including: obtaining the Pearson correlation coefficient between the first power supply parameter and the second power supply parameter according to the first power supply parameter segment and the second power supply parameter segment; determining a first entropy value of multiple first power supply parameter values in the first power supply parameter segment; determining a second entropy value of multiple second power supply parameter values in the second power supply parameter segment; taking the absolute value of the difference between the first entropy value and the second entropy value to obtain a first numerical value; normalizing the Pearson correlation coefficient to the target interval, and determining the correlation coefficient corresponding to the target moment according to the normalized Pearson correlation coefficient and the first numerical value.
[0014] In this way, due to the Pearson correlation coefficient between the first power supply parameter and the second power supply parameter, the correlation between the first power supply parameter and the second power supply parameter can be reflected; the first entropy value of the first power supply parameter can reflect the complexity of multiple first power supply parameter values in the first power supply parameter segment; the second entropy value of the second power supply parameter can reflect the complexity of multiple second power supply parameter values in the second power supply parameter segment; the first numerical value obtained by taking the absolute value of the difference between the first entropy value and the second entropy value can reflect the difference between the complexity of the first power supply parameter and the complexity of the second power supply parameter, thereby reflecting the correlation between the first power supply parameter and the second power supply parameter from the side.
[0015] Optionally, the correlation coefficient corresponding to the target moment is determined based on the normalized Pearson correlation coefficient and the first numerical value, including: taking the absolute value of the difference between the second abnormal value and the third abnormal value to obtain a second numerical value; multiplying the second numerical value by the first numerical value to obtain a first multiplication value; adding the first multiplication value to a first preset numerical value to obtain a third numerical value; and taking the ratio of the normalized Pearson correlation coefficient to the third numerical value as the correlation coefficient corresponding to the target moment.
[0016] Optionally, based on the correlation coefficient and the first outlier corresponding to the target moment, the order corresponding to the moving average part of the differential integrated moving average autoregressive model at the target moment is determined, including: obtaining a first number of extreme value points of the first power supply parameter, and a second number of extreme value points of the second power supply parameter; taking the absolute value of the difference between the first number and the second number as a fourth value, and performing an exponential operation on the fourth value to obtain a first operation value; multiplying the first outlier by the correlation coefficient to obtain a second multiplication value, and taking the ratio of the second multiplication value to the first operation value as a fifth value; obtaining an initial order corresponding to the target moment, and multiplying the fifth value, the first outlier and the initial order to obtain a third multiplication value; taking the integer result of the sum of the third multiplication value and the second preset value as the order of the target moment.
[0017] In this way, the fifth value is multiplied by the initial order to obtain the third product value; the integer result of the sum of the third product value and the second preset value is used as the order corresponding to the moving average part at the target time; when the specific values of the fifth value are different, matching orders can be used for the moving average part.
[0018] Optionally, determining the first abnormal value corresponding to the target moment according to the power supply parameter segment includes: obtaining the variance of multiple power supply parameter values in the power supply parameter segment; obtaining the median, maximum value, minimum value and average value of multiple power supply parameter values in the power supply parameter segment; determining the first abnormal value corresponding to the target moment according to at least one item of the median, the maximum value, the minimum value and the average value and the variance.
[0019] Optionally, the first abnormal value corresponding to the target moment is determined based on at least one of the median, the maximum value, the minimum value and the average value and the variance, including: taking the absolute value of the difference between the median and the average value to obtain a sixth value; subtracting the minimum value from the maximum value to obtain a first difference; multiplying the variance, the sixth value and the first difference to obtain a fourth multiplied value, and using the fourth multiplied value as the first abnormal value corresponding to the target moment.
[0020] In this way, since the variance, the sixth value and the first difference of the multiple power supply parameter values in the power supply parameter segment can all better reflect the changes in the multiple power supply parameter values in the power supply parameter segment of the target time period, the variance, the sixth value and the first difference are multiplied to obtain a fourth multiplication value, and the fourth multiplication value is used as the first abnormal value corresponding to the target moment. The obtained first abnormal value can better reflect the abnormal degree of the power supply parameters at the target moment.
[0021] Optionally, the preset range is determined by: acquiring power supply requirement information for the power supply device; and determining the preset range according to the power supply requirement information.
[0022] In this way, the power supply demand for the power supply device is submitted by the user, so that the power supply of the power supply device can better meet the user's usage requirements.
[0023] According to a second aspect of an embodiment of the present application, there is provided an artificial intelligence-based power supply quality warning system, comprising: a processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, the steps of the artificial intelligence-based power supply quality warning method in the first aspect of the present application are implemented.
[0024] The technical solution provided by the embodiments of the present application may include the following beneficial effects: when the power supply equipment is in the target power supply mode, when the predicted value of the power supply parameter is determined using the differential integrated moving average autoregressive model, the first abnormal value of the power supply parameter at the target time is taken into account, so that the order corresponding to the moving average part of the differential integrated moving average autoregressive model at the target time is more accurate, and a more accurate predicted value of the power supply parameter can be obtained, so as to effectively warn of the abnormalities existing in the power supply equipment.
[0025] The differential integrated moving average autoregressive model is used to determine the predicted values of the power supply parameters of the power supply equipment, which helps maintenance personnel to know the possible abnormalities of the power supply equipment in advance; and the influence of the power supply mode on the power supply parameters of the power supply equipment is considered, which helps to obtain more accurate predicted values of the power supply parameters.
[0026] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0028] Figure 1 is a flow chart of a power supply quality early warning method based on artificial intelligence according to an exemplary embodiment;
[0029] Figure 2 It is a structural diagram of a power supply quality early warning system based on artificial intelligence according to an exemplary embodiment. DETAILED DESCRIPTION
[0030] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0031] The following embodiments described in some examples of the present application do not represent all embodiments consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0032] First, the application scenario of the present application is introduced. In the application scenario of the present application, when the power supply device is supplying power, the working state of the power supply device may be affected by changes in the environment in which the power supply device is located. For example, changes in the temperature or humidity of the power supply device may occur. Or, the power supply device may be affected by electromagnetic interference from devices other than the power supply device.
[0033] In the related art, the operating status of the power supply equipment is monitored based on power supply parameters such as the output voltage, output current and output power of the power supply equipment. When there is a large difference between the actual output voltage of the power supply equipment and the target output voltage, for example, when there is a voltage deviation of more than 10% between the actual output voltage of the power supply equipment and the target output voltage, it is only known that there is an abnormality in the current working status of the power supply equipment, but it is impossible to know whether the power supply equipment may have an abnormality within a preset time period in the future. Therefore, it is not convenient to dispatch maintenance personnel in advance for the abnormalities that may occur in the power supply equipment within the preset time period in the future.
[0034] In response to the above technical problems, an embodiment of the present application provides an artificial intelligence-based power supply quality warning method and system. When the power supply equipment is in the target power supply mode, the first abnormal value of the power supply parameter at the target time is taken into account when the predicted value of the power supply parameter is determined by using the differential integrated moving average autoregressive model, so that the order corresponding to the moving average part of the differential integrated moving average autoregressive model at the target time is more accurate, and a more accurate prediction value of the power supply parameter can be obtained, so as to effectively warn of the abnormalities existing in the power supply equipment.
[0035] Using the differential integrated moving average autoregressive model to determine the predicted values of the power supply parameters of the power supply equipment helps maintenance personnel to know in advance the possible abnormalities of the power supply equipment, so as to schedule the maintenance personnel in advance; and, the embodiment of the present application takes into account the impact of the power supply mode on the power supply parameters of the power supply equipment, which helps to obtain more accurate predicted values of the power supply parameters.
[0036] Figure 1 is a flow chart of a power supply quality early warning method based on artificial intelligence according to an exemplary embodiment. Figure 1 As shown, the method includes the following steps.
[0037] In step S101 , when the power supply device is in a target power supply mode, a power supply parameter segment of the power supply device within a target time period is acquired.
[0038] The artificial intelligence-based power supply quality warning method in the embodiment of the present application can be applied to power supply equipment, other electronic devices that control power supply equipment, or servers that can control power supply equipment, for example, terminal devices that are communicatively connected to power supply equipment.
[0039] The power supply equipment in the embodiment of the present application may be, for example, power supply equipment at a power supply station, used to supply power to the power grid; or, the power supply equipment in the embodiment of the present application may also be other power supply equipment capable of charging the device to be charged. The embodiment of the present application does not impose any limitation on the type of power supply equipment used.
[0040] The target power supply mode may be one of a plurality of preset power supply modes, which may include, for example: power supplying according to a target output voltage, power supplying according to a target output current, power supplying according to a target output power, or power supplying according to a preset power supply curve; wherein the power supply curve may characterize the relationship between the power supply moment and the power supply parameter value, and may correspond to the same or different power supply parameter values at different power supply moments, and the power supply parameter value is the value of the power supply parameter.
[0041] By setting a power supply parameter collection device, a power supply parameter segment within a target time period when the power supply device is supplying power in a target power supply mode can be obtained, and the power supply parameter segment includes multiple power supply parameter values of the power supply device within the target time period.
[0042] For example, a current collection device may be connected to the power supply circuit of the power supply device to obtain a power supply current segment of the power supply device within the target time period; for another example, a voltage collection device may be connected to both ends of the power supply circuit of the power supply device to obtain a power supply voltage segment of the power supply device within the target time period; for another example, a voltage collection device may be connected to both ends of the power supply circuit of the power supply device, and a current collection device may be connected to the power supply circuit of the power supply device to collect the power supply current and the power supply voltage, so as to obtain a power supply power segment of the power supply device within the target time period based on the power supply current and the power supply voltage obtained at different times, and the power supply power segment may include multiple power supplies of the power supply device at multiple different times.
[0043] Here, the power supply parameter fragment can better reflect the situation when the power supply equipment works in the target power supply mode. The power supply parameter fragment of the target time period can also avoid the limitations of the power supply parameter value at a single moment. Therefore, by obtaining the power supply parameter fragment, it helps to determine whether there is any abnormality in the power supply parameters at the target moment.
[0044] In step S102, a first abnormal value corresponding to a target time is determined according to the power supply parameter segment.
[0045] The first abnormal value is used to characterize the abnormality of the power supply parameter at the target time, and the target time is later than the end time of the target time period.
[0046] For example, the target time period may be 08:00:00 to 08:01:30, the start time of the target time period is 08:00:00, the end time of the target time period is 08:01:30, and the duration of the target time period is 1 minute and 30 seconds; that is, the duration of the target time period is 90 seconds, and the power supply parameter segment includes multiple power supply parameter values of the power supply equipment within 90 seconds; since the target time is later than the end time of the target time period, the target time may be, for example, 08:02:00.
[0047] Here, the end time of the target time period is earlier than the target time. By determining the first abnormal value corresponding to the target time through the power supply parameter segment corresponding to the target time period earlier than the target time, it is helpful to predict the power supply parameter value of the power supply equipment at the target time.
[0048] For example, the degree of abnormality of the power supply parameters of the power supply equipment at future moments in the current moment can be determined based on the power supply parameter fragments of the power supply equipment within 90 seconds before the current moment, so as to schedule maintenance personnel in advance and ensure the safe operation of the power supply equipment.
[0049] In one embodiment, determining a first abnormal value corresponding to a target moment according to the power supply parameter segment includes: obtaining a variance of multiple power supply parameter values in the power supply parameter segment; obtaining a median, a maximum value, a minimum value, and an average value of multiple power supply parameter values in the power supply parameter segment; and determining the first abnormal value corresponding to the target moment according to at least one of the median, the maximum value, the minimum value, and the average value and the variance.
[0050] The variance of multiple power supply parameter values in the power supply parameter segment can better reflect the fluctuation of the power supply parameter values in the power supply segment at different times within the target time period; therefore, based on at least one item of the median, maximum value, minimum value and average value and the variance, the first abnormal value corresponding to the target time is determined, and the first abnormal value obtained can better reflect the abnormal degree of the power supply parameter at the target time on the basis of the variance.
[0051] For example, the larger the first abnormal value corresponding to the target time, the greater the abnormality of the power supply parameters of the power supply equipment at the target time; or, the smaller the first abnormal value corresponding to the target time, the smaller the abnormality of the power supply parameters of the power supply equipment at the target time.
[0052] In one embodiment, the first abnormal value corresponding to the target moment is determined based on at least one of the median, the maximum value, the minimum value and the average value and the variance, including: taking the absolute value of the difference between the median and the average value to obtain a sixth value; subtracting the minimum value from the maximum value to obtain a first difference; multiplying the variance, the sixth value and the first difference to obtain a fourth multiplied value, and using the fourth multiplied value as the first abnormal value corresponding to the target moment.
[0053] The following takes an exemplary method of calculating the first abnormal value as an example to explain the process of obtaining the first abnormal value corresponding to the target time in this application:
[0054] ; Where K represents the first abnormal value corresponding to the target time, D f represents the variance of multiple power supply parameter values in the power supply parameter segment, D mid Indicates the median of multiple power supply parameter values in the power supply parameter segment, D avg represents the average value of multiple power supply parameter values in the power supply parameter segment, D max Indicates the maximum value of multiple power supply parameter values in the power supply parameter segment, D min It indicates the minimum value of multiple power supply parameter values in the power supply parameter segment; norm indicates the normalization process.
[0055] Here, (D mid -D avg ) is the sixth value, which can reflect the difference between the median and the average of multiple power supply parameter values in the power supply parameter segment, thereby indirectly reflecting the abnormality of the power supply parameter at the target time; the first difference is (D max -D min ), through the first difference, the difference between the maximum value and the minimum value of multiple power supply parameter values in the power supply parameter segment can be characterized, the maximum value of multiple power supply parameter values in the power supply parameter segment is greater than or equal to the minimum value, and the first difference can also reflect the fluctuation of multiple power supply parameter values in the power supply parameter segment within the target time period.
[0056] For example, when the maximum value of multiple power supply parameter values in the power supply parameter segment is equal to the minimum value, it means that the multiple power supply parameter values in the power supply parameter segment are equal, the power supply parameters in the target time period are relatively consistent, and the power supply parameter value at the target moment is associated with the multiple power supply parameter values of the power supply parameter segment in the target time period. Therefore, the probability of abnormality in the power supply parameters at the target moment is low.
[0057] In this way, since the variance, the sixth value and the first difference of the multiple power supply parameter values in the power supply parameter segment can all better reflect the changes in the multiple power supply parameter values in the power supply parameter segment of the target time period, the variance, the sixth value and the first difference are multiplied to obtain a fourth multiplication value, and the fourth multiplication value is used as the first abnormal value corresponding to the target moment. The obtained first abnormal value can better reflect the abnormal degree of the power supply parameters at the target moment.
[0058] In step S103, the order of the moving average part of the differential integrated moving average autoregressive model at the target time is determined according to the first abnormal value corresponding to the target time, and the predicted value of the power supply parameter at the target time is obtained based on the order.
[0059] The larger the first abnormal value is, the greater the abnormality of the power supply parameters at the target moment is, and the predicted value of the power supply parameters at the target moment can be determined with more data; on the contrary, the smaller the first abnormal value is, the smaller the abnormality of the power supply parameters at the target moment is, and the predicted value of the power supply parameters at the target moment can be effectively determined with less data.
[0060] The ARIMA model (Auto Regressive Integrated Moving Average model), also known as the integrated moving average autoregressive model, is one of the time series forecasting and analysis methods. AR is the autoregressive part in the integrated moving average autoregressive model, and MA is the moving average part in the integrated moving average autoregressive model.
[0061] Here, the order corresponding to the first abnormal value can be determined based on the first corresponding relationship between the first abnormal value and the order; or the order corresponding to the first abnormal value can be determined based on the second corresponding relationship between the first abnormal value and the order after rounding the first abnormal value, so as to obtain the predicted value of the power supply parameter at the target time based on the order.
[0062] When the order of the moving average part in the ARIMA model has been determined, using the ARIMA model to determine the predicted value of the parameter based on historical data is a conventional technical means for those skilled in the art and will not be described in detail in this application.
[0063] In this way, the order of the predicted value of the power supply parameter at the target moment is determined based on the first abnormal value at the target moment, which can make the determined order more consistent with the actual situation of the power supply parameter at the target moment, and therefore, can make the predicted value of the power supply parameter at the target moment more accurate.
[0064] In step S104, when the predicted value is outside the preset range, warning information is output, and the warning information is used to warn about the power supply parameters at the target time.
[0065] For example, when the power supply parameter is the power supply voltage, when the preset range of the power supply parameter is [200V, 240V], the predicted value of the power supply parameter of the power supply equipment at the target time is 250V, indicating that the predicted value is outside the preset range. The power supply parameter of the power supply equipment has a high probability of having an abnormal high power supply voltage at the target time, and maintenance personnel can be scheduled in advance to maintain the power supply equipment.
[0066] The terminal device held by the maintenance personnel can, for example, output a voice prompt message or text prompt message with the content "There may be an abnormality in the power supply equipment, please pay attention"; it can also determine the content of the warning information based on the location information of the power supply equipment. For example, when the power supply equipment is located at position A, the terminal device can output a warning message with the content "There may be an abnormality in the power supply equipment at position A, please pay attention."
[0067] For another example, when the preset range is [200V, 240V], the predicted value of the power supply parameters of the power supply equipment at the target time is 230V, indicating that the predicted value is within the preset range, and there is a high probability that the power supply parameters of the power supply equipment will not be abnormal at the target time, and there is no need to arrange maintenance personnel to maintain the power supply equipment.
[0068] In one embodiment, the preset range is determined by: acquiring power supply requirement information for the power supply device; and determining the preset range according to the power supply requirement information.
[0069] For example, users such as managers or maintenance personnel of power supply equipment can input power supply demand information through the terminal device. The power supply demand information may include, for example, the power supply mode of the power supply equipment; for example, supplying power according to the target power supply voltage; when the terminal device obtains the power supply demand information input by the user, it can determine the preset range corresponding to the power supply parameter based on the power supply demand information.
[0070] In this way, the power supply demand for the power supply device is submitted by the user, so that the power supply of the power supply device can better meet the user's usage requirements.
[0071] Through the artificial intelligence-based power supply quality warning method provided by the present application, when the power supply equipment is in the target power supply mode, when the differential integrated moving average autoregressive model is used to determine the predicted value of the power supply parameter, the first abnormal value of the power supply parameter at the target time is taken into account, so that the order corresponding to the moving average part of the differential integrated moving average autoregressive model at the target time is more accurate, and a more accurate predicted value of the power supply parameter can be obtained, so as to effectively warn of the abnormalities existing in the power supply equipment.
[0072] Using the differential integrated moving average autoregressive model to determine the predicted values of the power supply parameters of the power supply equipment helps maintenance personnel to know in advance possible abnormalities of the power supply equipment; and, the embodiment of the present application takes into account the impact of the power supply mode on the power supply parameters of the power supply equipment, which helps to obtain more accurate predicted values for the power supply parameters.
[0073] In one embodiment, the power supply parameter segment includes a first power supply parameter segment and a second power supply parameter segment, the first power supply parameter segment corresponds to the first power supply parameter, and the second power supply parameter segment corresponds to the second power supply parameter; the first abnormal value is determined according to at least one of the second abnormal value and the third abnormal value.
[0074] Among them, the second abnormal value is determined according to the first power supply parameter segment, and the second abnormal value is used to characterize the abnormal degree of the first power supply parameter at the target time; the third abnormal value is determined according to the second power supply parameter segment, and the third abnormal value is used to characterize the abnormal degree of the second power supply parameter at the target time.
[0075] Here, the first power supply parameter and the second power supply parameter are different power supply parameters. For example, the first power supply parameter may be a power supply current, the second power supply parameter may be a power supply voltage, the first power supply parameter segment may be a power supply current segment, and the second power supply parameter segment may be a power supply voltage segment. The process of obtaining the second abnormal value and the third abnormal value may refer to the process of obtaining the first abnormal value in step S102 of the embodiment of the present application.
[0076] For example, when the first power supply parameter is the power supply current, the second abnormal value may correspond to the power supply current, and when the second power supply parameter is the power supply voltage, the third abnormal value may correspond to the power supply voltage; since both the second abnormal value and the third abnormal value can characterize the abnormality existing in the power supply equipment at the target time, any one of the second abnormal value and the third abnormal value can be used as the first abnormal value, or the maximum of the second abnormal value and the third abnormal value can be used as the first abnormal value.
[0077] In one embodiment, the correlation coefficient corresponding to the target time can also be determined based on the first power supply parameter segment and the second power supply parameter segment; the correlation coefficient is used to characterize the degree of correlation between the first power supply parameter and the second power supply parameter at the target time; according to the first abnormal value corresponding to the target time, the order of the moving average part of the differential integrated moving average autoregressive model at the target time is determined, including: according to the correlation coefficient and the first abnormal value corresponding to the target time, the order of the moving average part of the differential integrated moving average autoregressive model at the target time is determined.
[0078] When the power supply device is supplying power in the target power supply mode, there may be a certain correlation between different power supply parameters. For example, when the power supply device is supplying power at the target output power, the power supply voltage is negatively correlated with the power supply current. For another example, when the power supply device is supplying power at the target output voltage, the power supply current may be positively correlated with the power supply voltage. Therefore, the correlation coefficient between the power supply voltage and the power supply current at the target time can be determined based on the power supply current segment of the target time period and the supply voltage segment of the target time period.
[0079] In one embodiment, a correlation coefficient corresponding to a target moment is determined according to a first power supply parameter segment and a second power supply parameter segment; including: obtaining a Pearson correlation coefficient between a first power supply parameter and a second power supply parameter according to the first power supply parameter segment and the second power supply parameter segment; determining a first entropy value of multiple first power supply parameter values in the first power supply parameter segment; determining a second entropy value of multiple second power supply parameter values in the second power supply parameter segment; taking an absolute value of a difference between the first entropy value and the second entropy value to obtain a first numerical value; normalizing the Pearson correlation coefficient to a target interval, and determining the correlation coefficient corresponding to the target moment according to the normalized Pearson correlation coefficient and the first numerical value.
[0080] Here, due to the Pearson correlation coefficient between the first power supply parameter and the second power supply parameter, the correlation between the first power supply parameter and the second power supply parameter can be reflected; the first entropy value of the first power supply parameter can reflect the complexity of multiple first power supply parameter values in the first power supply parameter segment; the second entropy value of the second power supply parameter can reflect the complexity of multiple second power supply parameter values in the second power supply parameter segment; the first numerical value obtained by taking the absolute value of the difference between the first entropy value and the second entropy value can reflect the difference between the complexity of the first power supply parameter and the complexity of the second power supply parameter, thereby reflecting the correlation between the first power supply parameter and the second power supply parameter from the side.
[0081] Therefore, the Pearson correlation coefficient is normalized to the target interval, and the correlation coefficient corresponding to the target moment is determined based on the normalized Pearson correlation coefficient and the first value. On the basis of the Pearson correlation coefficient, the first power supply parameter segment and the second power supply parameter segment can be combined to make the correlation coefficient better reflect the correlation between the first power supply parameter and the second power supply parameter; the target interval can be [0, 1], for example.
[0082] In one embodiment, the correlation coefficient corresponding to the target moment is determined based on the normalized Pearson correlation coefficient and the first numerical value, including: taking the absolute value of the difference between the second abnormal value and the third abnormal value to obtain a second numerical value; multiplying the second numerical value by the first numerical value to obtain a first multiplication value; adding the first multiplication value to the first preset numerical value to obtain a third numerical value; and taking the ratio of the normalized Pearson correlation coefficient to the third numerical value as the correlation coefficient corresponding to the target moment.
[0083] For example, the correlation coefficient corresponding to the target time can be obtained by the following formula:
[0084] ; Wherein, u represents the correlation coefficient corresponding to the target moment, and the correlation coefficient is used to characterize the correlation degree between the first power supply parameter and the second power supply parameter at the target moment; P represents the Pearson correlation coefficient between the first power supply parameter and the second power supply parameter; S1 represents the first entropy value of multiple first power supply parameter values in the first power supply parameter segment; S2 represents the second entropy value of multiple second power supply parameter values in the second power supply parameter segment, representing the second abnormal value corresponding to the first power supply parameter segment, K2 represents the third abnormal value corresponding to the second power supply parameter segment, 0.01 is an exemplary first preset value, and norm represents the normalization processing process.
[0085] Here, the absolute value of (S1-S2) represents a first numerical value, which can reflect the difference between the complexity of the first power supply parameter and the complexity of the second power supply parameter, thereby indirectly reflecting the correlation between the first power supply parameter and the second power supply parameter; the absolute value of (K1-K2) represents a second numerical value, which can also indirectly reflect the correlation between the first power supply parameter and the second power supply parameter; the first preset numerical value is a number greater than 0. By setting the first preset numerical value, the situation where the denominator is 0 in the calculation formula of the correlation coefficient can be avoided, thereby ensuring the effective calculation process of the correlation coefficient; the first preset numerical value can, for example, be within [0.01, 0.04].
[0086] In one embodiment, the order corresponding to the moving average part of the differential integrated moving average autoregressive model at the target time is determined according to the correlation coefficient and the first abnormal value corresponding to the target time, including: obtaining a first number of extreme value points of the first power supply parameter, and a second number of extreme value points of the second power supply parameter; taking the absolute value of the difference between the first number and the second number as a fourth value, and performing an exponential operation on the fourth value to obtain a first operation value; multiplying the first abnormal value and the correlation coefficient to obtain a second multiplication value, and taking the ratio of the second multiplication value to the first operation value as a fifth value; obtaining the initial order corresponding to the target time, and multiplying the fifth value, the first abnormal value and the initial order to obtain a third multiplication value; taking the integer result of the sum of the third multiplication value and the second preset value as the order of the target time.
[0087] For example, the process of obtaining the fifth value corresponding to the target time may include:
[0088] ;in, represents the fifth numerical value corresponding to the target time, K represents the first abnormal value corresponding to the target time, u represents the correlation coefficient corresponding to the target time, G1 represents the first number of extreme value points of the first power supply parameter in the first power supply parameter segment, G2 represents the second number of extreme value points of the second power supply parameter in the second power supply parameter segment, exp represents an exponential function with the natural constant e as the base, and norm represents the normalization processing process.
[0089] The first power supply parameter extreme point refers to the extreme point of the first power supply parameter value in the first power supply parameter segment; for example, the maximum point or the minimum point of the first power supply parameter value in the first power supply parameter segment; the second power supply parameter extreme point refers to the extreme point of the second power supply parameter value in the second power supply parameter segment; for example, the maximum point or the minimum point of the second power supply parameter value in the second power supply parameter segment.
[0090] Here, the first number G1 of the first power supply parameter extreme value points in the first power supply parameter segment can reflect the fluctuation of multiple first power supply parameter values in the first power supply parameter segment. For example, the larger the first number G1 of the first power supply parameter extreme value points in the first power supply parameter segment, the more times the multiple first power supply parameter values in the first power supply parameter segment fluctuate; on the contrary, the smaller the first number G1 of the first power supply parameter extreme value points in the first power supply parameter segment, the fewer times the multiple first power supply parameter values in the first power supply parameter segment fluctuate; therefore, the first number G1 can better reflect the fluctuation of multiple first power supply parameter values in the first power supply parameter segment; correspondingly, the second number G2 can better reflect the fluctuation of multiple second power supply parameter values in the second power supply parameter segment.
[0091] Since there may be a certain correlation between the first power supply parameter and the second power supply parameter when the power supply device is supplying power; for example, if the first power supply parameter fluctuates more often, the second power supply parameter may also fluctuate more often; if the first power supply parameter fluctuates less often, the second power supply parameter may also fluctuate less often. Therefore, subtracting the second number G2 corresponding to the second power supply parameter segment from the first number G1 corresponding to the first power supply parameter segment can reflect the correlation between the first power supply parameter and the second power supply parameter, so that the fifth value can reflect both the abnormal information of the power supply parameter at the target time and the correlation between the two different power supply parameters.
[0092] In this way, the fifth value is multiplied by the initial order to obtain the third product value; the integer result of the sum of the third product value and the second preset value is used as the order corresponding to the moving average part at the target time; when the specific values of the fifth value are different, matching orders can be used for the moving average part.
[0093] For example, the larger the fifth value is, the larger the order used in the moving average part is, and the more data is used to determine the predicted value of the power supply parameter at the target moment, which helps to obtain a more accurate predicted value of the power supply parameter at the target moment; the smaller the fifth value is, the larger the order used in the moving average part is, and the less data is used to determine the predicted value of the power supply parameter at the target moment, which helps to reduce the amount of calculation when obtaining the predicted value of the power supply parameter at the target moment, reduce the operating memory pressure of the device or reduce the operating power consumption.
[0094] Here, the rounded result of the sum of the third product value and the second preset value is used as the order corresponding to the moving average part at the target time, which can ensure that the order is a positive integer. Due to the existence of the second preset value, it can be avoided that when the third product value is small (for example, less than 0.2), the order of the moving average is small, which affects the acquisition of the predicted value of the power supply parameter at the target time; the second preset value can, for example, be in the range of [0.3, 0.7]. For example, the second preset value can be 0.5.
[0095] like Figure 2 As shown, an embodiment of the present application also provides an artificial intelligence-based power supply quality warning system 1000, including: a processor 1100 and a memory 1200, wherein the memory 1200 stores computer program instructions, and when the computer program instructions are executed by the processor 1100, any step of the artificial intelligence-based power supply quality warning method in the embodiment of the present application is implemented.
[0096] Through the artificial intelligence-based power supply quality warning system provided by the embodiments of the present application, when the power supply equipment is in the target power supply mode, when the differential integrated moving average autoregressive model is used to determine the predicted value of the power supply parameter, the first abnormal value of the power supply parameter at the target time is taken into account, so that the order corresponding to the moving average part of the differential integrated moving average autoregressive model at the target time is more accurate, and a more accurate predicted value of the power supply parameter can be obtained, so as to effectively warn of the abnormalities existing in the power supply equipment.
[0097] Using the differential integrated moving average autoregressive model to determine the predicted values of the power supply parameters of the power supply equipment helps maintenance personnel to know in advance possible abnormalities of the power supply equipment; and, the embodiment of the present application takes into account the impact of the power supply mode on the power supply parameters of the power supply equipment, which helps to obtain more accurate predicted values for the power supply parameters.
[0098] It should be understood that the features of some embodiments of the various applications described herein may be combined with each other, unless specifically stated otherwise.
[0099] Although terms such as "first", "second" and "third" can be used herein to describe various components, parts, regions, layers or sections, these components, parts, regions, layers or sections are not limited to these terms. On the contrary, these terms are only used to distinguish one component, component, region, layer or section from another component, component, region, layer or section. Therefore, without departing from the teachings of each example, the first component, component, region, layer or section mentioned in the examples described herein may also be referred to as the second component, component, region, layer or section. In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined as "first" and "second" may expressly or implicitly include at least one of the features. In the description herein, the meaning of "multiple" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0100] In addition, the word "exemplary" is used in this article to represent serving as an example, instance, or diagram. Any aspect or design described as "exemplary" in this article is not necessarily understood to be advantageous compared to other aspects or designs. On the contrary, the use of the word exemplary is intended to present concepts in a concrete way. As used in this article, the term "or" is intended to mean an inclusive "or" rather than an exclusive "or". In addition, unless otherwise specified or clearly pointed to a singular form from the context, the articles "a" and "an" as used in this application and the appended claims are generally understood to mean "one or more".
[0101] Likewise, although the present application has been shown and described with respect to one or more implementations, equivalent variations and modifications will occur to those skilled in the art after reading and understanding the specification and drawings. The present application includes all such modifications and variations and is limited only by the scope of the claims. In particular, with respect to the various functions performed by the components (e.g., elements, resources, etc.) described above, unless otherwise indicated, the terms used to describe such components are intended to correspond to any component (functionally equivalent) that performs the specific functions of the described components, even if the structure is not equivalent to the disclosed structure. In addition, although specific features of the present application may have been disclosed with respect to only one of several implementations, such features may be combined with one or more other features of other implementations as may be desired and beneficial to any given or specific application. In addition, with respect to "including", "having", "having", "having", or variations thereof used in a specific embodiment or claim, such terms are intended to be inclusive in a manner similar to the term "comprising".
[0102] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the appended claims.
[0103] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A power supply quality early warning method based on artificial intelligence, characterized in that: include: When the power supply device is in a target power supply mode, obtaining a power supply parameter fragment of the power supply device within a target time period; Determine, according to the power supply parameter fragment, a first abnormal value corresponding to a target time; the first abnormal value is used to characterize the abnormality of the power supply parameter at the target time, the target time being later than the end time of the target time period; According to the first abnormal value corresponding to the target time, determine the order of the moving average part of the differential integrated moving average autoregressive model at the target time, and obtain the predicted value of the power supply parameter at the target time based on the order; When the predicted value is outside the preset range, outputting warning information, the warning information is used to warn the power supply parameters at the target time; The power supply parameter segment includes a first power supply parameter segment and a second power supply parameter segment, the first power supply parameter segment corresponds to a first power supply parameter, and the second power supply parameter segment corresponds to a second power supply parameter; The first abnormal value is determined according to at least one of the second abnormal value and the third abnormal value; The second abnormal value is determined according to the first power supply parameter segment, and the second abnormal value is used to characterize the abnormal degree of the first power supply parameter at the target moment; The third abnormal value is determined according to the second power supply parameter segment, and the third abnormal value is used to characterize the abnormal degree of the second power supply parameter at the target moment; The method further comprises: Determining a correlation coefficient corresponding to the target time according to the first power supply parameter segment and the second power supply parameter segment; the correlation coefficient is used to characterize the correlation degree between the first power supply parameter and the second power supply parameter at the target time; Determining the order of the moving average part of the differential integrated moving average autoregressive model corresponding to the target time according to the first abnormal value corresponding to the target time includes: According to the correlation coefficient and the first abnormal value corresponding to the target time, the order corresponding to the moving average part of the differential integrated moving average autoregressive model at the target time is determined.
2. The method according to claim 1, characterized in that: Determining a correlation coefficient corresponding to a target time according to the first power supply parameter segment and the second power supply parameter segment; comprising: Acquire a Pearson correlation coefficient between the first power supply parameter and the second power supply parameter according to the first power supply parameter segment and the second power supply parameter segment; determining a first entropy value of a plurality of first power supply parameter values in the first power supply parameter segment; determining a second entropy value of a plurality of second power supply parameter values in the second power supply parameter segment; Taking the absolute value of the difference between the first entropy value and the second entropy value to obtain a first value; The Pearson correlation coefficient is normalized to a target interval, and a correlation coefficient corresponding to the target time is determined according to the normalized Pearson correlation coefficient and the first value.
3. The method according to claim 2, characterized in that Determining the correlation coefficient corresponding to the target time according to the normalized Pearson correlation coefficient and the first value includes: Taking the absolute value of the difference between the second abnormal value and the third abnormal value to obtain a second value; multiplying the second value by the first value to obtain a first product value; Adding the first multiplication value to the first preset value to obtain a third value; The ratio of the normalized Pearson correlation coefficient to the third value is used as the correlation coefficient corresponding to the target time.
4. The method according to claim 1, characterized in that Determining the order corresponding to the moving average part of the differential integrated moving average autoregressive model at the target time according to the correlation coefficient and the first abnormal value corresponding to the target time, including: Obtaining a first number of extreme value points of the first power supply parameter and a second number of extreme value points of the second power supply parameter; taking an absolute value of a difference between the first number and the second number as a fourth value, and performing an exponential operation on the fourth value to obtain a first operation value; Multiplying the first abnormal value and the correlation coefficient to obtain a second multiplication value, and taking the ratio of the second multiplication value to the first operation value as a fifth value; obtaining an initial order corresponding to the target time, and multiplying the fifth value, the first abnormal value, and the initial order to obtain a third multiplication value; The rounded result of the sum of the third product value and the second preset value is used as the order of the target time.
5. The method according to any one of claims 1 to 4, characterized in that Determining a first abnormal value corresponding to a target time according to the power supply parameter segment includes: Obtaining variances of multiple power supply parameter values in the power supply parameter segment; Obtain the median, maximum, minimum and average of multiple power supply parameter values in the power supply parameter segment; A first abnormal value corresponding to the target moment is determined according to at least one of the median, the maximum value, the minimum value, and the average value and the variance.
6. The method according to claim 5, characterized in that Determining a first abnormal value corresponding to a target time according to at least one of the median, the maximum value, the minimum value, and the average value and the variance includes: Taking the absolute value of the difference between the median and the average value to obtain a sixth value; Subtracting the minimum value from the maximum value to obtain a first difference; The variance, the sixth value, and the first difference are multiplied to obtain a fourth multiplied value, and the fourth multiplied value is used as the first abnormal value corresponding to the target time.
7. The method according to any one of claims 1 to 4, characterized in that The preset range is determined by: Obtaining power supply demand information for the power supply device; The preset range is determined according to the power supply requirement information.
8. An artificial intelligence-based power supply quality early warning system, characterized in that: include: A processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, the method according to any one of claims 1 to 7 is implemented.
