Centralized home equipment status fault detection method based on artificial intelligence
By analyzing historical and real-time data of home equipment, combined with the impact of peak electricity consumption, the number of isolated forest trees is dynamically adjusted, which solves the problem of insufficient sensitivity of traditional algorithms in detecting home equipment faults and improves detection accuracy.
Patent Information
- Application Number
- CN202410932138.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-07-12
AI Technical Summary
When the traditional isolated forest algorithm detects home equipment faults, the number of trees is fixed and cannot be adaptive, resulting in insufficient monitoring sensitivity for abnormal data, and abnormal data performance during peak power consumption affects detection accuracy.
By obtaining historical and real-time data of home devices, dividing time periods, analyzing the degree of abnormal performance of temperature and power data, and combining the impact of peak power consumption periods, the number of trees in an isolated forest is dynamically adjusted to improve detection accuracy.
It achieves more accurate detection of home equipment faults, avoids misjudgments, and improves the adaptability of the algorithm in different scenarios.
Smart Images

Figure CN118468205B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a centralized household appliance status fault detection method based on artificial intelligence. Background Art
[0002] With the development and popularization of artificial intelligence technology, centralized home device status fault detection methods based on artificial intelligence have gradually attracted attention. These methods can realize intelligent identification and fault detection of home device status by utilizing machine learning, deep learning and other technologies, combined with large-scale data analysis and learning.
[0003] Home appliances may malfunction due to long-term use or device aging. Traditional methods can detect faults by analyzing the relevant data through the isolation forest algorithm. However, since the number of trees in the isolation forest algorithm is generally fixed after being set when detecting abnormal data, it is impossible to adapt the number of trees to adjust the sensitivity of the algorithm to abnormal data monitoring. In addition, when home appliances are actually used, the relevant data of the furniture appliances may show abnormal performance due to reasons such as peak electricity consumption. However, the existence of such abnormal performance is within the normal range, which will affect the accuracy of the isolation forest algorithm in detecting real abnormal data. Summary of the invention
[0004] The present invention provides a centralized household appliance status fault detection method based on artificial intelligence to solve the existing problems.
[0005] The centralized household appliance status fault detection method based on artificial intelligence of the present invention adopts the following technical scheme:
[0006] An embodiment of the present invention provides a centralized household appliance status fault detection method based on artificial intelligence, the method comprising the following steps:
[0007] Obtain historical data and real-time data stages of home appliances, and divide the real-time data stages into several time periods;
[0008] According to the quantity of temperature data in the real-time data stage and the value and change of the temperature data, the abnormal performance degree of each section of temperature data in the real-time data stage is obtained; according to the abnormal performance degree, each section of temperature data is screened by judging the threshold value to obtain several sections of preferred temperature data;
[0009] According to the similarity of the changing trends of each relevant data and the power data in the time period corresponding to each section of the preferred temperature data, and the numerical distribution of the maximum point and the adjacent data points in the power data, the abnormal performance degree of the power data corresponding to each section of the preferred temperature data is obtained;
[0010] According to the time range of the preferred temperature data and the peak power consumption period, the degree of influence of the time period of the preferred temperature data on the peak power consumption period is obtained; according to the degree of influence of the time period of the preferred temperature data on the peak power consumption period, the degree of abnormal performance of the power data corresponding to each section of the preferred temperature data, and the number of time periods corresponding to the preferred temperature data, the number of trees that are self-adapted in the isolated forest in the real-time data stage is obtained;
[0011] According to the number of adaptive trees in the isolated forest in the real-time data stage, the power data in the real-time data stage and the power data in the real-time data stage in the same historical period, the anomaly score in the real-time data stage is obtained, and the fault of the air-conditioning equipment is judged based on the anomaly score.
[0012] Furthermore, the real-time data phase is divided into several time periods, and the specific steps include the following:
[0013] The real-time data phase is divided into equal segments according to the air conditioning division intervals to obtain several time periods.
[0014] Furthermore, according to the amount of temperature data in the real-time data stage and the value and change of the temperature data, the abnormal performance degree of each section of temperature data in the real-time data stage is obtained, and the corresponding specific calculation formula is:
[0015]
[0016] in, Indicates the real-time data stage The degree of abnormal performance of the segment temperature data; Indicates the real-time data stage The number of maximum points in the segment temperature data; Indicates the real-time data stage Temperature data section The temperature difference between a temperature maximum point and the next adjacent maximum point; Indicates the real-time data stage The temperature data of the segment The temperature difference between a temperature maximum point and the next adjacent maximum point; Indicates the real-time data stage The total number of temperature data in the segment temperature data; Indicates the real-time data stage The temperature data of the first The value of the temperature data point; Indicates the standard temperature of air conditioning; represents the absolute value function; Indicates the real-time data stage The standard deviation of the difference between each temperature data point in the segment temperature data and the air conditioning standard temperature; Represents the normalization function.
[0017] Furthermore, the method of screening each section of temperature data by judging the threshold value according to the degree of abnormal performance to obtain several sections of preferred temperature data includes the following specific steps:
[0018] In the real-time data stage, several segments of temperature data whose abnormal performance degree is greater than or equal to the judgment threshold are screened out and recorded as several segments of preferred temperature data.
[0019] Furthermore, according to the similarity of the change trend of each relevant data and the power data in the time period corresponding to each section of the preferred temperature data, and the numerical distribution of the maximum point and the adjacent data points in the power data, the abnormal performance degree of the power data corresponding to each section of the preferred temperature data is obtained, and the corresponding specific calculation formula is:
[0020]
[0021] in, Indicates The degree of abnormal performance of the power data corresponding to the segment preferred temperature data; Indicates the number of types of related data; and Respectively represent The minimum and maximum values of the Pearson correlation coefficients between the preferred temperature data and each type of related data in the time period corresponding to the segment preferred temperature data; Indicates The preferred temperature data in the time period corresponding to the preferred temperature data of the first Pearson correlation coefficient of related data; Indicates The Pearson correlation coefficient between the preferred temperature data and the power data in the time period corresponding to the segment preferred temperature data; Indicates The number of maximum points in the power data corresponding to the segment-optimized temperature data; Indicates The power data corresponding to the preferred temperature data of the first The number of adjacent data points on the left and right sides of a maximum point; Indicates The power data corresponding to the preferred temperature data of the first The extreme point on the left The absolute value of the difference in power data of adjacent data points; Indicates The power data corresponding to the preferred temperature data of the first The extreme point on the right The absolute value of the difference in power data of adjacent data points; represents the absolute value function; Represents the normalization function.
[0022] Furthermore, the adjacent data points are specifically obtained in the following steps:
[0023] In the power data corresponding to each section of the preferred temperature data, with each maximum point as the center, the data points within the first radius on both sides of each maximum point are recorded as the adjacent data points of the maximum point.
[0024] Furthermore, the method of obtaining the degree of influence of the time period of the preferred temperature data on the peak power consumption period according to the time period of the preferred temperature data and the time range of the peak power consumption period includes the following specific steps:
[0025] The ratio of the length of time in the peak power consumption period in the corresponding time periods of all preferred temperature data to the total length of time in the time periods corresponding to the preferred temperature data is calculated, and the ratio is recorded as the degree of influence of the peak power consumption period on the time period in which the preferred temperature data is located.
[0026] Furthermore, according to the degree of influence of the peak power consumption period on the time period of the preferred temperature data, the degree of abnormal performance of the power data corresponding to each section of the preferred temperature data, and the number of time periods corresponding to the preferred temperature data, the number of trees that are self-adapted in the isolated forest in the real-time data stage is obtained, and the corresponding specific calculation formula is:
[0027]
[0028] in, represents the number of trees that are adapted in the isolation forest during the real-time data phase; A base value indicating the number of trees; Indicates the number of time periods corresponding to the preferred temperature data; Indicates The degree of abnormal performance of the power data corresponding to the segment preferred temperature data; Indicates the degree to which the time period of the preferred temperature data is affected by the peak electricity consumption period; Indicates the adjustment range of the number of isolated trees in the isolation forest.
[0029] Furthermore, the method of obtaining an abnormal score of the real-time data stage according to the number of adaptive trees in the isolation forest in the real-time data stage, the power data in the real-time data stage and the power data in the real-time data stage in the same historical period includes the following specific steps:
[0030] According to the number of adaptive trees in the isolation forest in the real-time data stage, the power data of the current real-time data stage and the power data of other real-time data stages in the same period in history are input into the isolation forest for detection to obtain the anomaly score of the current real-time data stage.
[0031] Furthermore, the method of judging the failure of the air conditioning equipment according to the abnormality score includes the following specific steps:
[0032] If the anomaly score of the real-time data in the current real-time data stage is greater than or equal to the anomaly threshold, the air conditioning equipment is faulty.
[0033] The beneficial effects of the technical solution of the present invention are:
[0034] The present invention analyzes the abnormal performance of temperature data and power data in the real-time stage data, and combines the degree of influence of each section of real-time stage abnormal data on the peak power consumption period to achieve adaptive adjustment of the number of isolated forest trees, avoid misjudgment of abnormal data caused by the unchanged number of traditional trees, and make the detection result of isolated forest more accurate. The abnormal performance degree of each section of temperature data in the real-time data stage is determined by analyzing the number of temperature data and the value and change of temperature data in the real-time data stage, and then the abnormal performance degree is screened by judging the threshold to obtain several sections of preferred temperature data; the abnormal performance degree of power data corresponding to each section of preferred temperature data is obtained by combining the similarity of the change trend of each related data and power data in the time period corresponding to each section of preferred temperature data and the numerical distribution of the maximum point and adjacent data points in the power data, which provides a basis for the number of adaptive trees in the subsequent isolated forest; further, the time period of the preferred temperature data and the time range of the peak power consumption period are used to select the abnormal performance degree of each section of power data. The degree of influence of the peak power consumption period on the time period of the preferred temperature data is obtained; finally, the number of trees that are adaptively adapted in the isolated forest in the real-time data stage is obtained through the degree of influence of the peak power consumption period on the time period of the preferred temperature data, the degree of abnormal performance of the power data corresponding to each section of the preferred temperature data, and the number of time periods corresponding to the preferred temperature data; then, the power data in the real-time data stage is compared with the power data in the real-time data stage in the same historical period to obtain the anomaly score of the real-time data stage, and the fault of the air-conditioning equipment is judged based on the anomaly score, so that the adaptability of the algorithm to different scenarios is improved by adapting the number of isolated forest trees, making the detection result more accurate. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0036] Figure 1 The present invention is a flowchart of the steps of the centralized household appliance status fault detection method based on artificial intelligence. DETAILED DESCRIPTION
[0037] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the specific implementation method, structure, features and effects of the centralized household equipment status fault detection method based on artificial intelligence proposed by the present invention 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.
[0038] 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 invention belongs.
[0039] The specific scheme of the centralized household appliance status fault detection method based on artificial intelligence provided by the present invention is described in detail below with reference to the accompanying drawings.
[0040] See also Figure 1 , which shows a flowchart of a centralized household appliance status fault detection method based on artificial intelligence provided by an embodiment of the present invention, the method comprising the following steps:
[0041] Step S001: Obtain historical relevant data and real-time data stages of home appliances, and divide the real-time data stages into several time periods.
[0042] The main purpose of this embodiment is to combine the analysis and learning of large-scale data to realize intelligent identification and fault detection of household equipment status. When analyzing household equipment, there are many types and complexities. Here, air-conditioning equipment is selected for targeted analysis, and the relevant data of air-conditioning equipment, namely outdoor temperature, indoor temperature, indoor humidity, etc., and the historical data of these household equipment are obtained through the background management system of centralized household equipment. Secondly, the abnormal analysis of air-conditioning equipment should be carried out in real time, and an early warning will be generated once an abnormality is detected in the relevant data of air-conditioning. Because the air conditioner is not running all the time, the real-time analysis of it should be carried out in the continuous time period in which it is currently located.
[0043] Specifically, data is collected from the start time of the most recent operation of the air-conditioning device, including air-conditioning power, outdoor temperature, indoor temperature and indoor humidity as relevant data of the air-conditioning device power data, and the collection interval is set to 5s. All relevant data of the air-conditioning device collected are recorded as historical relevant data of the household device; at the same time, the power data of the air-conditioning device is collected, and the sampling interval and collection duration are the same as the historical relevant data. The preset air-conditioning division interval of this embodiment is half an hour, which is used as an example for description, and other implementations can be set to other values; the total time period collected by the air-conditioning device is taken as the real-time data stage, that is, the continuous time period of the most recent continuous operation, and is divided into equal sections according to the air-conditioning division interval to obtain several time periods; it is particularly noted that the division starts from the start time of the most recent operation. If the remaining time length after the division is less than the air-conditioning division interval, the remaining time length is directly taken as a time period. It should be noted that for several temperature data in any time period in the real-time data stage, it is recorded as a temperature data segment.
[0044] Step S002: According to the amount of temperature data in the real-time data stage and the value and change of the temperature data, the abnormal performance degree of each segment of temperature data in the real-time data stage is obtained; according to the abnormal performance degree, each segment of temperature data is screened by judging the threshold value to obtain several segments of preferred temperature data.
[0045] It should be noted that whether the air conditioner is operating abnormally can be reflected by its indoor and outdoor temperature, indoor humidity, power change and other data. For example, when the cooling or heating components in the air conditioner fail, the temperature control function of the air conditioner may fail, causing the indoor temperature to fluctuate or fail to stabilize near the set value; at the same time, this will also affect the abnormal power consumption of the air conditioner. Some components in the air conditioning system (such as compressors and fans) are blocked or work abnormally, which may cause additional power consumption. It may also cause some components to not work properly and not consume energy, causing power consumption to fluctuate or fail to maintain at a normal level. At the same time, the changes in the above data will also occur due to the degree of peak power consumption. During the peak power consumption period, the power consumption increases sharply and the overall voltage is unstable, which affects high-power electrical appliances. When analyzing the real-time data stage, first analyze the indoor temperature changes and the power changes of the air conditioner. When analyzing the indoor temperature changes, you can analyze according to the standard temperature of the air conditioner.
[0046] Specifically, according to the air conditioning standard temperature stipulated in the industry, the air conditioning standard temperature preset in this embodiment is 25°C, which is described as an example, and other implementations may be set to other values; then the specific calculation formula for the abnormal performance degree of each temperature data segment in the real-time data stage is as follows:
[0047]
[0048] in, Indicates the real-time data stage The degree of abnormal performance of the segment temperature data; Indicates the real-time data stage The number of maximum points in the segment temperature data; Indicates the real-time data stage Temperature data section The temperature difference between a temperature maximum point and the next adjacent maximum point; Indicates the real-time data stage The temperature data of the segment The temperature difference between a temperature maximum point and the next adjacent maximum point; Indicates the real-time data stage The total number of temperature data in the segment temperature data; Indicates the real-time data stage The temperature data of the first The value of the temperature data point; Indicates the standard temperature of air conditioning; represents the absolute value function; Indicates the real-time data stage The standard deviation of the difference between each temperature data point in the segment temperature data and the air conditioning standard temperature; Represents a linear normalization function, and the normalization object is the temperature data of all segments in the real-time data stage. .
[0049] It should be noted that By focusing on the performance of the maximum point and the adjacent maximum point, the fluctuation stability can be analyzed locally. When the air-conditioning components are abnormal, the temperature performance will fluctuate. This fluctuation is not a normal fluctuation within a certain range, but an irregular continuous increase or decrease fluctuation. Therefore, the degree of abnormality can be reflected by analyzing the consistency of the fluctuation direction between adjacent maximum points. The more consistent the fluctuation direction of adjacent maximum points, the higher the abnormality. The larger the value, the larger the corresponding abnormal performance; It means that the air conditioner standard temperature is used as the trend center to analyze the trend of temperature data as a whole. When the air conditioner is running, it will tend to the set temperature. When an abnormal temperature occurs, it will not stabilize at the set temperature and will change irregularly. The trend of temperature data is reflected in the form of standard deviation. The larger the standard deviation value, the worse the trend and the greater the corresponding abnormal performance.
[0050] It should be noted that when the temperature data is abnormal, it is because the power has changed due to a fault in the air conditioner's internal components. Therefore, based on the temperature abnormality, we find the representative fault performance segment and then analyze the normal performance of the air conditioner's power. The analysis of the normal performance of the air conditioner power is similar to the temperature analysis in general. Under normal circumstances, it will approach a certain range of values, but in fact, the power will be affected by multiple factors, such as indoor temperature, humidity, outdoor temperature, etc.
[0051] Specifically, the preset judgment threshold value of this embodiment is 0.6, which is used as an example for description. Other implementation modes may be set to other values. Each segment of temperature data in the real-time data stage is screened according to the degree of abnormal performance, and several segments of temperature data whose abnormal performance degree of each segment of temperature data in the real-time data stage is greater than or equal to the judgment threshold are screened out and recorded as several segments of preferred temperature data.
[0052] Step S003: According to the similarity of the changing trend of each relevant data and the power data in the time period corresponding to each section of the preferred temperature data, and the numerical distribution of the maximum point and the adjacent data points in the power data, the abnormal performance degree of the power data corresponding to each section of the preferred temperature data is obtained.
[0053] It should be noted that when the temperature data is abnormal, it is because the power has changed due to a fault in the air conditioner's internal components. Therefore, based on the temperature anomaly, we find the representative fault performance segment and then analyze the normal performance of the air conditioner's power. The analysis of the normal performance of the air conditioner power is similar to the temperature analysis in general. Under normal circumstances, it will approach a certain range of values, but in fact, the power will be affected by multiple factors, such as indoor temperature, humidity, outdoor temperature, etc.
[0054] Specifically, the first radius preset in this embodiment is 10, which is used as an example for description. Other implementations may be set to other values. In the power data corresponding to each segment of preferred temperature data, with each maximum point as the center, the data points within the first radius on both sides of each maximum point are recorded as the adjacent data points of the maximum point. It is particularly noted that the adjacent data points within the first radius on both sides of the maximum point are close to the two ends of the power data corresponding to the preferred temperature data, resulting in the inability to obtain enough adjacent data points. In this case, the adjacent data points are obtained by obtaining data points in the power data corresponding to other segments of preferred temperature data. If they are close to the edge of the real-time data stage and cannot be obtained, they are filled in by quadratic linear interpolation. The specific calculation formula for determining the degree of abnormal performance of the power data corresponding to each segment of preferred temperature data by comparing historical data and changes in the correlation of related data is as follows:
[0055]
[0056] in, Indicates The degree of abnormal performance of the power data corresponding to the segment preferred temperature data; Indicates the number of types of related data; and Respectively represent The minimum and maximum values of the Pearson correlation coefficients between the preferred temperature data and each type of related data in the time period corresponding to the segment preferred temperature data; Indicates The preferred temperature data in the time period corresponding to the preferred temperature data of the first Pearson correlation coefficient of related data; Indicates The Pearson correlation coefficient between the preferred temperature data and the power data in the time period corresponding to the segment preferred temperature data; Indicates The number of maximum points in the power data corresponding to the segment-optimized temperature data; Indicates The power data corresponding to the preferred temperature data of the first The number of adjacent data points on the left and right sides of a maximum point; Indicates The power data corresponding to the preferred temperature data of the first The extreme point on the left The absolute value of the difference in power data of adjacent data points; Indicates The power data corresponding to the preferred temperature data of the first The extreme point on the right The absolute value of the difference in power data of adjacent data points; represents the absolute value function; represents a linear normalization function, and the normalization object is the optimal temperature data of all segments .
[0057] It should be noted that the Pearson correlation coefficient is a common and well-known algorithm, and the specific method will not be introduced in detail here; It represents the abnormal coefficient, which is determined by comparing multiple related data that affect the power data with its own historical data. Because there are many factors that affect the power data, the degree of abnormality of the power data is evaluated by considering the correlation between the related data and the power data. The more similar the related data is to the power data, the less the power data will be affected if the related data remains basically unchanged. To reflect the average correlation between the relevant data and the power data, and to avoid the situation where the correlation of a certain data changes but cannot be reflected due to the average value, To supplement, the closer the ratio is to 1, the higher the similarity between the relevant data and the power data is. right Make adjustments, The bigger and The larger it is, the higher the correlation between the data is, the smaller the possibility of anomalies is, and the smaller the corresponding anomaly coefficient is.
[0058] It should be further explained that By focusing on the performance of the extreme points of power data in the neighborhood, we can reflect abnormal conditions. Under normal circumstances, the power of the air conditioner does not change much when it is running in different states. However, when some components fail, such as poor contact, it will affect the running state of the air conditioner and cause irregular changes in the running state. This will cause the extreme points on both sides to change asymmetrically, with large power differences. Reflecting the symmetry, Reflect the power difference; The larger the value, the greater the possibility that the power data is abnormal.
[0059] Step S004: According to the time period of the preferred temperature data and the time range of the peak electricity consumption period, the degree to which the time period of the preferred temperature data is affected by the peak electricity consumption period is obtained; according to the degree to which the time period of the preferred temperature data is affected by the peak electricity consumption period, the degree of abnormal performance of the power data corresponding to each section of the preferred temperature data and the number of time periods corresponding to the preferred temperature data, the number of trees that are adaptively adapted in the isolated forest in the real-time data stage is obtained.
[0060] It should be noted that the operation of the air conditioner will also be affected by the peak electricity consumption period, which is generally from 12:00 to 14:00 at noon and from 19:00 to 22:00 at night. Therefore, the degree of influence of the peak electricity consumption period on the real-time data stage can be analyzed based on the ratio of the length of the time period of the preferred temperature data in the peak electricity consumption period to the length of the time period of the preferred temperature data.
[0061] Specifically, the length of the time period of the preferred temperature data in the peak power consumption period and the length of the time period of the preferred temperature data are obtained, and the specific formula for the degree of influence of the peak power consumption period on the time period of the preferred temperature data is:
[0062]
[0063] in, Indicates the degree to which the time period of the preferred temperature data is affected by the peak electricity consumption period; Indicates the total length of time periods corresponding to all preferred temperature data; Indicates the length of time that the corresponding time period of all preferred temperature data is in the peak power consumption period.
[0064] It should be noted that the isolated trees in the isolation forest are adaptively selected by considering the abnormal performance of the above temperature data and power data, as well as the impact of peak power consumption. When the data performance is more abnormal, the sensitivity to detecting data anomalies is improved by increasing the number of isolated forest trees. However, since the data anomaly may be caused by peak power consumption, this anomaly is not a real anomaly. In this case, we should consider avoiding misjudgment of abnormal data and reduce the number of isolated trees in the isolation forest to reduce the sensitivity of the algorithm to data anomalies.
[0065] Specifically, the preset reference value of the number of isolated trees in the isolation forest in this embodiment is p=70, and the adjustment range is v=80. This is used as an example for description, and other values can be set in other implementations. The specific formula for comprehensively determining the number of isolated trees in the isolation forest through multi-angle analysis is:
[0066]
[0067] in, represents the number of trees that are adapted in the isolation forest during the real-time data phase; A base value indicating the number of trees; Indicates the number of time periods corresponding to the preferred temperature data; Indicates The degree of abnormal performance of the power data corresponding to the segment preferred temperature data; Indicates the degree to which the time period of the preferred temperature data is affected by the peak electricity consumption period; Indicates the adjustment range of the number of isolated trees in the isolation forest.
[0068] It should be noted that through Adaptive weights to determine the number of trees, The larger the value of , the greater the possibility of anomalies, and the greater the number of corresponding isolated trees.
[0069] Step S005: According to the number of adaptive trees in the isolated forest in the real-time data stage, the power data in the real-time data stage and the power data in the real-time data stage in the same historical period, the abnormal score of the real-time data stage is obtained, and the air-conditioning equipment failure is determined based on the abnormal score.
[0070] Specifically, the abnormal threshold value preset in this embodiment is 0.8, which is used as an example for description. Other implementations may be set to other values. The power data of other real-time data stages with the same time period as the real-time data stage on different days in history are obtained. According to the number of adaptive trees of the real-time data stage in the isolated forest, the power data of the current real-time data stage and the power data of other real-time data stages in the same period in history are input into the isolated forest for detection to obtain the abnormal score of the current real-time data stage. If the abnormal score of the real-time data in the current real-time data stage is greater than or equal to the abnormal threshold, there is a fault in the air-conditioning equipment; otherwise, there is no fault.
[0071] It should be noted that the real-time data stages of different days in history refer to the real-time data stages in the same time period in history. For example, if the current real-time data stage is 2:00-6:00, all real-time data stages in the same time period in history are also selected.
[0072] So far, the present invention is completed.
[0073] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present invention should be included in the protection scope of the present invention.
Claims
1. Centralized home equipment status fault detection method based on artificial intelligence, It is characterized in that The method comprises the following steps: Obtain historical data and real-time data stages of home appliances, and divide the real-time data stages into several time periods; According to the quantity of temperature data in the real-time data stage and the value and change of the temperature data, the abnormal performance degree of each section of temperature data in the real-time data stage is obtained; according to the abnormal performance degree, each section of temperature data is screened by judging the threshold value to obtain several sections of preferred temperature data; According to the similarity of the changing trends of each relevant data and the power data in the time period corresponding to each section of the preferred temperature data, and the numerical distribution of the maximum point and the adjacent data points in the power data, the abnormal performance degree of the power data corresponding to each section of the preferred temperature data is obtained; According to the time range of the preferred temperature data and the peak power consumption period, the degree of influence of the time period of the preferred temperature data on the peak power consumption period is obtained; according to the degree of influence of the time period of the preferred temperature data on the peak power consumption period, the degree of abnormal performance of the power data corresponding to each section of the preferred temperature data, and the number of time periods corresponding to the preferred temperature data, the number of trees that are self-adapted in the isolated forest in the real-time data stage is obtained; According to the number of adaptive trees in the isolated forest in the real-time data stage, the power data in the real-time data stage and the power data in the real-time data stage in the same historical period, the anomaly score in the real-time data stage is obtained, and the fault of the air-conditioning equipment is judged based on the anomaly score; Among them, according to the number of temperature data in the real-time data stage and the value and change of the temperature data, the abnormal performance degree of each section of temperature data in the real-time data stage is obtained, and the corresponding specific calculation formula is: in, Indicates the real-time data stage The degree of abnormal performance of the segment temperature data; Indicates the real-time data stage The number of maximum points in the segment temperature data; Indicates the real-time data stage Temperature data section The temperature difference between a temperature maximum point and the next adjacent maximum point; Indicates the real-time data stage The temperature data of the segment The temperature difference between a temperature maximum point and the next adjacent maximum point; Indicates the real-time data stage The total number of temperature data in the segment temperature data; Indicates the real-time data stage The temperature data of the first The value of the temperature data point; Indicates the standard temperature of air conditioning; represents the absolute value function; Indicates the real-time data stage The standard deviation of the difference between each temperature data point in the segment temperature data and the air conditioning standard temperature; represents the normalization function; Among them, according to the similarity of the change trend of each relevant data and the power data in the time period corresponding to each section of the preferred temperature data, and the numerical distribution of the maximum point and adjacent data points in the power data, the abnormal performance degree of the power data corresponding to each section of the preferred temperature data is obtained, and the corresponding specific calculation formula is: in, Indicates The degree of abnormal performance of the power data corresponding to the segment preferred temperature data; Indicates the number of types of related data; and Respectively represent The minimum and maximum values of the Pearson correlation coefficients between the preferred temperature data and each type of related data in the time period corresponding to the segment preferred temperature data; Indicates The preferred temperature data in the time period corresponding to the preferred temperature data of the first Pearson correlation coefficient of related data; Indicates The Pearson correlation coefficient between the preferred temperature data and the power data in the time period corresponding to the segment preferred temperature data; Indicates The number of maximum points in the power data corresponding to the segment-optimized temperature data; Indicates The power data corresponding to the preferred temperature data of the first The number of adjacent data points on the left and right sides of a maximum point; Indicates The power data corresponding to the preferred temperature data of the first The extreme point on the left The absolute value of the difference in power data of adjacent data points; Indicates The power data corresponding to the preferred temperature data of the first The extreme point on the right The absolute value of the difference in power data of adjacent data points; represents the absolute value function; Represents the normalization function.
2. According to the centralized home appliance status fault detection method based on artificial intelligence according to claim 1, It is characterized in that The real-time data phase is divided into several time periods, and the specific steps include the following: The real-time data phase is divided into equal segments according to the air conditioning division intervals to obtain several time periods.
3. According to the centralized home appliance status fault detection method based on artificial intelligence as claimed in claim 1, It is characterized in that The specific steps of screening each section of temperature data by judging the threshold value according to the degree of abnormal performance to obtain several sections of preferred temperature data are as follows: In the real-time data stage, several segments of temperature data whose abnormal performance degree is greater than or equal to the judgment threshold are screened out and recorded as several segments of preferred temperature data.
4. According to the centralized home appliance status fault detection method based on artificial intelligence according to claim 1, It is characterized in that The specific steps for obtaining the adjacent data points are as follows: In the power data corresponding to each section of the preferred temperature data, with each maximum point as the center, the data points within the first radius on both sides of each maximum point are recorded as the adjacent data points of the maximum point.
5. According to the centralized home appliance status fault detection method based on artificial intelligence according to claim 1, It is characterized in that The step of obtaining the degree of influence of the time period of the preferred temperature data on the peak power consumption period according to the time period of the preferred temperature data and the time range of the peak power consumption period includes the following specific steps: The ratio of the length of time in the peak power consumption period in the corresponding time periods of all preferred temperature data to the total length of time in the time periods corresponding to the preferred temperature data is calculated, and the ratio is recorded as the degree of influence of the peak power consumption period on the time period in which the preferred temperature data is located.
6. According to the centralized home appliance status fault detection method based on artificial intelligence as claimed in claim 1, It is characterized in that According to the degree of influence of the peak power consumption period on the time period of the preferred temperature data, the degree of abnormal performance of the power data corresponding to each section of the preferred temperature data, and the number of time periods corresponding to the preferred temperature data, the number of trees that are adaptively adapted in the isolated forest in the real-time data stage is obtained. The corresponding specific calculation formula is: in, represents the number of trees that are adapted in the isolation forest during the real-time data phase; Indicates the baseline value of the number of trees; Indicates the number of time periods corresponding to the preferred temperature data; Indicates The degree of abnormal performance of the power data corresponding to the segment preferred temperature data; Indicates the degree to which the time period of the preferred temperature data is affected by the peak electricity consumption period; Indicates the adjustment range of the number of isolated trees in the isolation forest.
7. According to the centralized home appliance status fault detection method based on artificial intelligence as claimed in claim 1, It is characterized in that The specific steps of obtaining the abnormal score of the real-time data stage according to the number of adaptive trees in the isolation forest in the real-time data stage, the power data in the real-time data stage and the power data in the real-time data stage in the same historical period are as follows: According to the number of adaptive trees in the isolation forest in the real-time data stage, the power data of the current real-time data stage and the power data of other real-time data stages in the same period in history are input into the isolation forest for detection to obtain the anomaly score of the current real-time data stage.
8. According to the centralized home appliance status fault detection method based on artificial intelligence as claimed in claim 1, It is characterized in that The specific steps of judging the failure of the air conditioning equipment according to the abnormality score are as follows: If the anomaly score of the real-time data in the current real-time data stage is greater than or equal to the anomaly threshold, the air conditioning equipment is faulty.
