Scoring method applied to equipment health degree and medium
By collecting and processing equipment operation time series data in real time, and using the periodogram method and equipment health model to calculate equipment health scores, the problem of low efficiency and insufficient accuracy of traditional methods is solved, and the efficiency and accuracy of equipment health scores are improved.
Patent Information
- Application Number
- CN202410648314.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-23
- Publication Date
- 2024-08-30
AI Technical Summary
Traditional equipment health detection methods are inefficient and difficult to accurately assess equipment health and cannot accurately identify equipment faults, leading to production interruptions and safety risks.
Through real-time collection of equipment operation time series data, preprocessing and sampling are performed, the period diagram method is used to calculate key fields, and the equipment health model is input to calculate the equipment health score. The 3 times standard deviation method is used to determine the abnormal threshold and normalize it. processing to improve scoring accuracy.
It improves the accuracy of device health scoring, can quickly and accurately identify device abnormalities, reduces detection costs, and is suitable for health scoring of various devices.
Smart Images

Figure CN118569833A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a scoring method and medium applied to equipment health. Background Art
[0002] In modern trains, the vehicle MVB (Multifunction Vehicle Bus) bus data collection and vehicle-to-ground wireless transmission functions have been perfected and stabilized, and have been widely used in many places and vehicles across the country. Big data modeling and analysis technology has penetrated into the fields of industrial Internet and Internet of Things.
[0003] With the development of technology and the expansion of production scale, the complexity and cost of equipment are also increasing. Equipment failure will not only lead to production interruption, but also may bring safety risks and huge economic losses. Therefore, equipment maintenance and management are crucial to ensure production efficiency and safety. Traditional equipment health detection methods mainly rely on manual inspection, which is not only inefficient but also difficult to accurately assess the degree of health. With the advancement of sensor technology, data acquisition and processing technology, new detection methods have been developed, but most technologies still detect whether wear occurs and cannot accurately assess the health of equipment. Summary of the invention
[0004] The purpose of the present invention is to provide a scoring method and medium for equipment health that improves the accuracy of equipment scoring.
[0005] The purpose of the present invention can be achieved by the following technical solutions:
[0006] A scoring method for equipment health includes the following steps:
[0007] Collect relevant running sequence data of the equipment in real time and perform preprocessing;
[0008] Based on the preprocessed related running time series data, upsampling and sampling processing are performed in sequence to obtain a periodic field;
[0009] Perform periodic calculation based on the periodic field using a periodogram method to obtain a key field;
[0010] The key fields are input into a pre-built equipment health model to obtain a score of equipment health.
[0011] Furthermore, the pre-processing step includes:
[0012] Professionally classify the relevant runtime data according to the classification type;
[0013] The relevant runtime series data is processed according to the division type, including determining the type of division, determining whether a field is missing, deleting null values, and deduplicating multiple data generated in the same time period.
[0014] Furthermore, the division types include current, voltage and temperature.
[0015] Further, the step of obtaining the periodic field includes:
[0016] According to the data collection frequency, up-sample the pre-processed related runtime data;
[0017] Selecting an initial periodic field based on the relevant running time series data after upsampling;
[0018] The initial periodic field is sampled to obtain a periodic field.
[0019] Furthermore, the step of obtaining the key field includes:
[0020] Calculate the discrete Fourier transform: Perform a discrete Fourier transform on the periodic field to obtain a representation in the frequency domain, which is expressed as:
[0021]
[0022] Where X[k] is the representation in the frequency domain, k is the frequency index, N is the amount of time series data to be calculated, x[n] is the discrete time series data that can be calculated periodically, that is, the periodic field, w[n] is the weight sequence, also known as the window function, which is used to adjust the weight of the signal at different time points, and j is the imaginary unit;
[0023] Calculate the periodogram: square the frequency domain representation modulo to obtain the periodogram. The expression for obtaining the periodogram is:
[0024] P[k]=|X[k]| 2
[0025] Where P[k] is the periodogram;
[0026] Identifying frequency peaks: identifying frequency peaks based on the periodogram and using them as main frequency components;
[0027] Calculate the period: Based on the main frequency component, the corresponding period length is obtained. The calculation expression of the period length is:
[0028]
[0029]
[0030] Where T is the period length, f is the actual frequency corresponding to the frequency peak, and F s is the sampling frequency;
[0031] Determine a key field: obtain a key field based on the periodic field and the period.
[0032] Furthermore, the steps performed by the device health model include:
[0033] Obtain the key fields as the current device state data group and the corresponding device health state data group, and calculate the offset of each characteristic value in the current device state data group, wherein the current device state data group is recorded as {X'1, X'2, X'3, ..., X'i...}, and the device health state data group is recorded as {X1, X2, X3, ..., Xi...};
[0034] Based on the equipment health status data group, determine the abnormal threshold using a 3 times standard deviation method;
[0035] Comparing the offset with an abnormal threshold, and outputting an offset exceeding the abnormal threshold;
[0036] The offset is normalized to calculate a device health score.
[0037] Furthermore, the expression for comparing the offset with the abnormal threshold is:
[0038] |X'i–Xi|>μ±3σ
[0039] Where X'i is the eigenvalue of the i-th feature in the current equipment status data group, Xi is the eigenvalue of the i-th feature in the equipment health status data group, |X'i–Xi| is the offset of the i-th feature, μ is the mean, σ is the standard deviation, and μ±3σ is the abnormal threshold.
[0040] Furthermore, the normalized expression is:
[0041] Xnorm=(X-Min(X)) / (Max(X)-Min(X))
[0042] Where Xnorm is the offset of the normalized eigenvalue, X is the original eigenvalue in the device health status data set, Min(X) is the minimum eigenvalue of the corresponding feature in the device health status data set, and Max(X) is the maximum eigenvalue of the corresponding feature in the device health status data set.
[0043] Furthermore, the calculation expression of the equipment health score is:
[0044] Score=[w1(1-x1)+w2(1-x2)+w3(1-x3)+......+wn(1-xn)]*100
[0045] In the formula, Score is the score of device health, n is the number of features, w1-wn are the weights corresponding to different features, and x1-xn are the normalized offsets of the feature values of different features.
[0046] The present invention also provides a computer-readable storage medium, comprising one or more programs for execution by one or more processors of an electronic device, wherein the one or more programs include instructions for executing the scoring method applied to device health as described above.
[0047] Compared with the prior art, the present invention has the following beneficial effects:
[0048] (1) The present invention performs preprocessing and sampling on the operating data of the equipment in order to eliminate the influence of the data itself on the scoring, and performs health scoring based on key fields, so that the scoring method of the present invention can focus on the selected key fields, thereby improving the scoring accuracy of the equipment.
[0049] (2) The equipment health model of the present invention uses the 3-times standard deviation method to determine the abnormal threshold, which can effectively and accurately distinguish the abnormal offset.
[0050] (3) The scoring method of the present invention can score any device. The health score of the device can be calculated by simply inputting the corresponding key fields into the device health model according to the steps of the method of the present invention.
[0051] (4) The present invention adopts an intelligent method for detection, which can improve the detection and scoring efficiency of the equipment and reduce costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Figure 1 It is a schematic diagram of the method flow of the present invention. DETAILED DESCRIPTION
[0053] The present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. This embodiment is implemented based on the technical solution of the present invention, and provides a detailed implementation method and specific operation process, but the protection scope of the present invention is not limited to the following embodiments.
[0054] This embodiment provides a scoring method for device health, such as Figure 1 As shown, the method comprises the following steps:
[0055] S1. Collect relevant running sequence data of the device in real time and perform preprocessing.
[0056] Professionally distinguish the relevant variables (related runtime data) collected by different devices, such as current, voltage, temperature, etc., organize the same type of names, and perform unified data preprocessing, including the accumulation of real-time data; determine the storage type of real-time data; whether there are null values in the received field values; delete the time points where null values exist; and deduplicate the unreasonable situation of multiple data appearing at the same time.
[0057] S2. Based on the preprocessed related running time series data, upsampling and sampling processing are performed in sequence to obtain a periodic field.
[0058] Based on the time series data completed in the preprocessing phase, the data is upsampled according to the data acquisition frequency so that data points can be stably collected within the specified time period;
[0059] Based on the pre-processed data, it was observed that for equipment data with a higher collection frequency, such as the relevant equipment data of car doors, the average collection frequency is as high as 10ms. Therefore, the actual collection frequency will be unstable. In order to ensure that there must be relatively accurate data within a fixed time period, the equipment is upsampled.
[0060] For the upsampling processing results, an initial periodic field is selected for periodic calculation. However, since this field is selected from the entire time period for judging the health of the device, the amount of data is large, and the actual periodic calculation does not require too much data. Therefore, in order to improve the calculation efficiency, the initial periodic field data is sampled to obtain the final periodic field and use it as the subsequent input variable.
[0061] S3. Perform periodic calculation based on the periodic field using a periodogram method to obtain a key field.
[0062] Based on the periodic fields that have been sampled, the periodicity calculation is performed using the periodogram method. It is necessary to accurately identify the period length and number of periods. For fields whose period length is equal to the data set itself, they are judged to be non-periodic fields (i.e., constant fields).
[0063] By calculating this field, we can get the cycle of the entire model. The detailed calculation is as follows:
[0064] i. Compute the Discrete Fourier Transform (DFT): Apply the Discrete Fourier Transform to the discrete samples x[n] of the signal to obtain a representation X[k] in the frequency domain.
[0065]
[0066] Where k represents the frequency index, j is the imaginary unit, and N is the current data amount.
[0067] ii. Calculate the periodogram: Take the modulus square of the DFT result to obtain the periodogram P[k], which is an estimate of the power at frequency k.
[0068] P[k]=|X[k]| 2
[0069] iii. Identify frequency peaks: Analyze the periodogram P[k] and identify obvious peaks, which represent the main frequency components in the signal.
[0070] iv. Calculate the period: The period T corresponding to the main frequency component can be calculated by the following formula:
[0071]
[0072] Where f is the actual frequency corresponding to the peak value, if the sampling frequency is F s , then k is the frequency index corresponding to the peak:
[0073] v. Determine key fields: obtain key fields based on the periodic fields and the period.
[0074] S4. Input the key fields into a pre-built equipment health model to obtain a score of equipment health.
[0075] Input the key fields into a pre-built equipment health model, and output the result of whether the characteristic value exceeds the threshold and the characteristic value offset within the threshold range;
[0076] The execution steps of the device health model are:
[0077] i input health status data group X1, X2, X3, ...; current health status data group: X'1, X'2, X'3, ..., the data group includes all the characteristic variables required by the current device;
[0078] ii. Apply the 3-sigma rule to determine the anomaly threshold. For the normal data set X1, calculate the mean (μ) and standard deviation (σ) of each feature. The anomaly threshold is set to the mean plus or minus 3 times the standard deviation (μ±3σ);
[0079] iii. Extract the eigenvalues of the above data respectively, and calculate the offset of each eigenvalue: D = X'i-X1 (i = 1, 2, 3), compare the offset with the abnormal threshold, and output the offset that exceeds the abnormal threshold. The comparison expression is:
[0080] |X'i–Xi|>μ±3σ;
[0081] iv. Normalize the offset: Xnorm = (X-Min(X)) / (Max(X)-Min(X)x), where X is a feature value in the original data, Min(X) is the minimum value of the feature in the entire data set, Max(X) is the maximum value of the feature in the entire data set, and Xnorm is the normalized value;
[0082] v. Calculate the device health score: Score = [w1(1-x1)+w2(1-x2)+w3(1-x3)+......+wn(1-xn)]*100, where n is the number of features, w is the weight corresponding to different features, and x is the normalized offset.
[0083] If the above functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program code.
[0084] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes. The schemes in the embodiments of the present invention may be implemented in various computer languages, for example, object-oriented programming language Java and literal scripting language JavaScript, etc.
[0085] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0086] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0087] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0088] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0089] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A scoring method for equipment health, characterized in that: The following steps are involved: Collect relevant running sequence data of the equipment in real time and perform preprocessing; Based on the preprocessed related running time series data, upsampling and sampling processing are performed in sequence to obtain a periodic field; Perform periodic calculation based on the periodic field using a periodogram method to obtain a key field; The key fields are input into a pre-built equipment health model to obtain a score of equipment health.
2. A scoring method for equipment health according to claim 1, characterized in that: The pre-processing steps include: Professionally classify the relevant runtime data according to the classification type; The relevant runtime series data is processed according to the division type, including determining the type of division, determining whether a field is missing, deleting null values, and deduplicating multiple data generated in the same time period.
3. A scoring method for equipment health according to claim 2, characterized in that: The partition types include current, voltage and temperature.
4. A scoring method for equipment health according to claim 1, characterized in that: The step of obtaining the periodic field comprises: According to the data collection frequency, up-sample the pre-processed related runtime data; Selecting an initial periodic field based on the relevant running time series data after upsampling; The initial periodic field is sampled to obtain a periodic field.
5. A scoring method for equipment health according to claim 1, characterized in that: The step of obtaining the key field comprises: Calculate the discrete Fourier transform: Perform a discrete Fourier transform on the periodic field to obtain a representation in the frequency domain, which is expressed as: Where X[k] is the representation in the frequency domain, k is the frequency index, N is the amount of time series data to be calculated, x[n] is the discrete time series data that can be calculated periodically, that is, the periodic field, w[n] is the weight sequence, also known as the window function, which is used to adjust the weight of the signal at different time points, and j is the imaginary unit; Calculate the periodogram: square the frequency domain representation modulo to obtain the periodogram. The expression for obtaining the periodogram is: P[k]=|X[k]| 2 Where P[k] is the periodogram; Identifying frequency peaks: identifying frequency peaks based on the periodogram and using them as main frequency components; Calculate the period: Based on the main frequency component, the corresponding period length is obtained. The calculation expression of the period length is: Where T is the period length, f is the actual frequency corresponding to the frequency peak, and F s is the sampling frequency; Determine a key field: obtain a key field based on the periodic field and the period.
6. A scoring method for equipment health according to claim 1, characterized in that: The steps performed by the device health model include: Obtain the key fields as the current device state data group and the corresponding device health state data group, and calculate the offset of each characteristic value in the current device state data group, wherein the current device state data group is recorded as {X'1, X'2, X'3, ..., X'i...}, and the device health state data group is recorded as {X1, X2, X3, ..., Xi...}; Based on the equipment health status data group, determine the abnormal threshold using a 3 times standard deviation method; Comparing the offset with an abnormal threshold, and outputting an offset exceeding the abnormal threshold; The offset is normalized to calculate a score of the device health.
7. A scoring method for equipment health according to claim 6, characterized in that: The expression for comparing the offset with the abnormal threshold is: |X'i–Xi|>μ±3σ Where X'i is the eigenvalue of the i-th feature in the current equipment status data group, Xi is the eigenvalue of the i-th feature in the equipment health status data group, |X'i–Xi| is the offset of the i-th feature, μ is the mean, σ is the standard deviation, and μ±3σ is the abnormal threshold.
8. A scoring method for equipment health according to claim 6, characterized in that: The normalized expression is: Xnorm=(X-Min(X)) / (Max(X)-Min(X)) Where Xnorm is the offset of the normalized eigenvalue, X is the original eigenvalue in the device health status data set, Min(X) is the minimum eigenvalue of the corresponding feature in the device health status data set, and Max(X) is the maximum eigenvalue of the corresponding feature in the device health status data set.
9. A scoring method for equipment health according to claim 6, characterized in that: The calculation expression of the equipment health score is: Score=[w1(1-x1)+w2(1-x2)+w3(1-x3)+......+wn(1-xn)]*100 In the formula, Score is the score of device health, n is the number of features, w1-wn are the weights corresponding to different features, and x1-xn are the normalized offsets of the feature values of different features.
10. A computer-readable storage medium, characterized in that: It includes one or more programs for execution by one or more processors of an electronic device, and the one or more programs include instructions for executing the scoring method applied to device health as described in any one of claims 1-9.
