CN113033673B - Training method and system for motor working condition abnormity detection model - Google Patents

Training method and system for motor working condition abnormity detection model Download PDF

Info

Publication number
CN113033673B
CN113033673B CN202110338340.5A CN202110338340A CN113033673B CN 113033673 B CN113033673 B CN 113033673B CN 202110338340 A CN202110338340 A CN 202110338340A CN 113033673 B CN113033673 B CN 113033673B
Authority
CN
China
Prior art keywords
working condition
motor
data
stable
training
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110338340.5A
Other languages
Chinese (zh)
Other versions
CN113033673A (en
Inventor
李明伟
张伟峰
许佩
姜克森
许强
乔建军
张柳枝
董云成
王爱霞
周亚丽
吴军伟
王颖
罗华丽
步文泽
郑朋飞
宋婷婷
梁丹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Tobacco Henan Industrial Co Ltd
Original Assignee
China Tobacco Henan Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Tobacco Henan Industrial Co Ltd filed Critical China Tobacco Henan Industrial Co Ltd
Priority to CN202110338340.5A priority Critical patent/CN113033673B/en
Publication of CN113033673A publication Critical patent/CN113033673A/en
Application granted granted Critical
Publication of CN113033673B publication Critical patent/CN113033673B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/34Testing dynamo-electric machines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/243Classification techniques relating to the number of classes
    • G06F18/24323Tree-organised classifiers

Abstract

The invention discloses a training method and a system for a motor working condition abnormity detection model, wherein the method comprises the following steps: continuously collecting motor operation data to obtain motor working conditions until the motor operates stably; segmenting the motor working condition after the motor operates stably to obtain a stable working condition list, wherein the stable working condition list comprises a plurality of combined working conditions of different stable rotating speed working conditions and different current working conditions; and training to obtain working condition abnormality detection models corresponding to each combined working condition in the steady-state working condition list by adopting an abnormal point isolation method according to the segmentation result of the working conditions of the motor, wherein the number of the working condition abnormality detection models corresponds to the number of the combined working conditions. According to the invention, the working condition of the motor is segmented, so that effective motor operation working conditions can be obtained, the working condition abnormity detection model is obtained by training by adopting a method for isolating abnormal points, and then the motor state monitoring result is automatically and directly obtained by utilizing the model, so that the false alarm rate and the missing alarm rate can be reduced, and the accuracy of working condition abnormity detection can be improved.

Description

Training method and system for motor working condition abnormity detection model
Technical Field
The invention relates to the technical field of motor diagnosis, in particular to a training method and a training system for a motor working condition abnormity detection model.
Background
The motor state monitoring and fault diagnosis technology is a technology for knowing and mastering the state of a motor in the use process, determining the whole or local normality or abnormality of the motor, and finding out a fault and the cause of the fault. In the prior art, a state monitoring and diagnosing device based on an electrical characteristic analysis technology is used for measuring current and voltage signals of a motor during load operation, analyzing characteristics such as frequency spectrum, harmonic wave and electrical parameters, further detecting state changes of a bearing fault, an misalignment fault, a load fault, mechanical looseness, insulation and a series of electrical and mechanical faults, and further judging the fault of the whole transmission system.
However, in the conventional technical solution, the current state of the device is taken as a research focus, and the future development trend of the device cannot be predicted, and the health state of the device cannot be systematically managed. How to effectively train to obtain a motor working condition abnormity detection model, and further determine whether the motor is in an abnormal state according to the motor working condition abnormity detection model is an important problem to be solved for monitoring the motor state and diagnosing motor faults based on motor data.
Therefore, a training method and system for a motor working condition anomaly detection model are needed.
Disclosure of Invention
The invention aims to provide a training method and a training system for a motor working condition abnormity detection model, which are used for solving the problems in the prior art, reducing the false alarm rate and the missing report rate and improving the working condition abnormity detection accuracy.
The invention provides a training method of a motor working condition abnormity detection model, which comprises the following steps:
continuously acquiring motor operation data to obtain motor working conditions until the motor operates stably;
segmenting the motor working condition after the motor operates stably to obtain a stable working condition list, wherein the stable working condition list comprises a plurality of combined working conditions of different stable rotating speed working conditions and different current working conditions;
and training to obtain working condition abnormality detection models corresponding to each combined working condition in the steady-state working condition list by adopting a method of isolating abnormal points according to the segmentation result of the working conditions of the motor, wherein the number of the working condition abnormality detection models corresponds to the number of the combined working conditions.
The above training method for the motor working condition abnormality detection model, wherein preferably, the continuous collection of motor operation data to obtain the motor working condition until the motor operates stably specifically includes:
collecting motor operation data to obtain a working condition file;
extracting a vibration characteristic signal based on the motor vibration original signal in the working condition file to obtain a characteristic file corresponding to the working condition file;
synchronizing the working condition file and the feature file;
obtaining a stable running state of the motor according to the synchronized working condition file and the synchronized feature file;
and finishing the collection of the motor operation data after the motor operation stable state is a stable state.
The method for training the motor working condition anomaly detection model as described above, wherein preferably, the motor working condition is segmented to obtain a steady-state working condition list, and specifically includes:
performing preliminary segmentation on data in the working condition file according to the stable rotating speed vector to obtain a plurality of preliminary groups;
marking the current data in each of the preliminary groupings with a steady-state current tag;
and carrying out secondary segmentation on each primary group according to the steady-state current label to obtain a final segmentation result.
As above, the method for training the motor working condition anomaly detection model, preferably, the data in the working condition file is preliminarily segmented according to the stable rotation speed vector to obtain a plurality of preliminary groups, and specifically includes:
obtaining a plurality of stable rotating speed vectors from the configuration file;
according to stable rotational speed vector is right data in the operating mode file carries out preliminary segmentation, obtains a plurality of preliminary groups to data segmentation with different rotational speeds is divided to regard the data of same rotational speed as same preliminary grouping, wherein, the quantity of preliminary grouping with the quantity of stable rotational speed vector corresponds, and in same preliminary grouping, same rotational speed operating mode corresponds a plurality of different electric current operating modes.
The training method of the motor working condition abnormality detection model as described above, wherein preferably, the performing secondary segmentation on each preliminary grouping according to the steady-state current label to obtain a final segmentation result specifically includes:
in each preliminary grouping, taking the data marked as the same steady-state current label as the same fine grouping;
obtaining a working condition list according to each fine grouping in each preliminary grouping, wherein the working condition list comprises combined working conditions of different rotating speeds and different currents;
and outputting the working condition list as a CSV file comprising a rotating speed variable and a current variable, wherein the CSV file comprises working conditions corresponding to all rotating speeds, and each rotating speed corresponds to a plurality of current working conditions.
The above training method for the motor working condition abnormality detection model, wherein preferably, the training is performed by using a method of isolating abnormal points according to the segmentation result of the motor working condition to obtain the working condition abnormality detection model corresponding to each combined working condition in the steady-state working condition list, and specifically includes:
taking the working condition serial numbers corresponding to all combined working conditions in the steady-state working condition list and a sixteen-dimensional feature matrix file as training data, and inputting the training data into a preset machine learning model, wherein each row of the sixteen-dimensional feature matrix represents a sample, a first column represents time information, a second column represents rotating speed, a third column represents a stable state, a fourth column represents temperature, and the rest columns represent 12 time domain and frequency domain features;
and training the preset machine learning model by using the training data by adopting a method for isolating abnormal points to obtain a working condition abnormality detection model corresponding to each combined working condition in the steady-state working condition list.
The above training method for the motor working condition abnormality detection model, wherein preferably, the method of isolating the abnormal point is adopted, the preset machine learning model is trained by using the training data, and the working condition abnormality detection model corresponding to each combined working condition in the steady-state working condition list is obtained, which specifically includes:
constructing an isolation forest consisting of a plurality of isolation trees based on the training data;
traversing the isolated forest by using the data to be subjected to abnormal detection, calculating an abnormal score, and judging whether abnormal data exist in the data to be subjected to abnormal detection according to the abnormal score.
The method for training the motor working condition abnormality detection model as described above, wherein preferably, the constructing a plurality of isolation trees based on the training data specifically includes:
step A1: randomly selecting psi samples from training data, and placing the psi samples into a root node of an isolation tree;
step A2: randomly appointing a dimension, and randomly generating a cutting point p in the current node data, wherein the cutting point p is generated between the maximum value and the minimum value of the appointed dimension in the current node data;
step A3: generating a hyperplane by using a randomly generated cutting point p, and then dividing the data space of the current node into 2 subspaces;
step A4: placing data smaller than p in the specified dimension on a left sub-tree of the current node, and placing data larger than or equal to p on a right sub-tree of the current node;
step A5: recursion steps A2 and A3 in the subtree branches and new leaf nodes are constructed continuously until there is only one data in the leaf node and no further cutting is possible or the tree has reached a defined height.
The method for training the motor working condition abnormality detection model as described above, wherein preferably, the traversing the forest isolation with the data to be subjected to abnormality detection, and calculating an abnormality score to determine whether there is abnormal data in the data to be subjected to abnormality detection according to the abnormality score includes:
for each sample x, the result of each tree is calculated, and the anomaly score is calculated by the formula:
Figure BDA0002991361160000041
where h (x) is the height of the sample x in each tree, i.e. the path length, and c (Ψ) is the average of the path lengths at a given number of samples Ψ, for normalizing the path length h (x) of the sample x.
The invention also provides a training system of the motor working condition abnormity detection model by adopting the method, which comprises the following steps:
the data acquisition module is used for continuously acquiring the motor operation data to obtain the motor working condition until the motor operates stably;
the working condition splitting module is used for splitting the working conditions of the motor after the motor runs stably to obtain a stable working condition list, wherein the stable working condition list comprises a plurality of combined working conditions of different stable rotating speed working conditions and different current working conditions;
and the model training module is used for training to obtain working condition abnormity detection models corresponding to each combined working condition in the steady-state working condition list by adopting a method for isolating abnormal points according to the segmentation result of the working conditions of the motor, wherein the number of the working condition abnormity detection models corresponds to the number of the combined working conditions.
The invention provides a training method and a system for a motor working condition abnormity detection model, which are beneficial to obtaining effective motor running working conditions by segmenting the motor working conditions, obtain the working condition abnormity detection model by training by adopting a method for isolating abnormal points, further automatically and directly obtain a motor state monitoring result by utilizing the model, are beneficial to reducing false alarm rate and missing alarm rate and improving the accuracy of working condition abnormity detection.
Drawings
To make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described with reference to the accompanying drawings, in which:
FIG. 1 is a flowchart of an embodiment of a training method for a motor condition anomaly detection model according to the present invention;
fig. 2 is a structural block diagram of an embodiment of a training system of a motor working condition abnormality detection model provided by the present invention.
Detailed Description
Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. The description of the exemplary embodiments is merely illustrative and is in no way intended to limit the disclosure, its application, or uses. The present disclosure may be embodied in many different forms and is not limited to the embodiments described herein. These embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art. It should be noted that: the relative arrangement of parts and steps, the composition of materials, numerical expressions and numerical values set forth in these embodiments are to be construed as merely illustrative, and not restrictive, unless specifically stated otherwise.
"first", "second" used in the present disclosure: and the like, do not denote any order, quantity, or importance, but rather are used to distinguish one element from another. The word "comprising" or "comprises", and the like, means that the element preceding the word covers the element listed after the word, and does not exclude the possibility that other elements are also covered. "upper", "lower", and the like are used merely to indicate relative positional relationships, and when the absolute position of the object being described is changed, the relative positional relationships may also be changed accordingly.
In the present disclosure, when a specific component is described as being positioned between a first component and a second component, there may or may not be an intervening component between the specific component and the first component or the second component. When it is described that a specific component is connected to other components, the specific component may be directly connected to the other components without having an intervening component, or may be directly connected to the other components without having an intervening component.
All terms (including technical or scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs unless specifically defined otherwise. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
Techniques, methods, and apparatus known to one of ordinary skill in the relevant art may not be discussed in detail, but are intended to be part of the specification where appropriate.
As shown in fig. 1, the training method for the motor working condition abnormality detection model provided in this embodiment specifically includes the following steps in an actual execution process:
step S1, continuously collecting motor operation data to obtain motor working conditions until the motor operates stably.
In an embodiment of the method for training the motor working condition abnormality detection model according to the present invention, the step S1 may specifically include:
and S11, collecting motor operation data to obtain a working condition file.
Specifically, an OPC server is used for collecting motor operation data from a programmable logic controller connected to a motor, and the motor operation data form the working condition file, wherein the motor operation data comprise time data, current data and rotating speed data.
And S12, extracting a vibration characteristic signal based on the motor vibration original signal in the working condition file to obtain a characteristic file corresponding to the working condition file.
Specifically, firstly, preprocessing operation is carried out on the motor vibration original signal to obtain a preprocessed signal, then the preprocessed signal and a sampling signal are input into a pre-constructed feature extraction model to obtain a vibration feature signal corresponding to the motor vibration original signal, and a feature file is composed of the vibration feature signals.
Further, the vibration feature signal output by the feature extraction model comprises: time stamp, temperature, vibration time domain characteristic index and vibration frequency domain characteristic index. The vibration time domain characteristic index is generally used for reflecting the equipment state, and is used for fault monitoring and trend prediction; the vibration frequency domain characteristic index is generally used for diagnosing fault types, reasons and positions. Specifically, the vibration time domain feature indexes output by the feature extraction model include effective values, skewness indexes, variance, margin factors, crest factors, kurtosis indexes and pulse factors. The vibration frequency domain characteristic indexes output by the characteristic extraction model comprise a spectrum variance, a spectrum mean value and a spectrum effective value.
And S13, synchronizing the working condition file and the feature file.
In specific implementation, firstly, respectively calculating an average value of current data and rotating speed data in motor operation data according to a working condition timestamp in a working condition file to obtain motor working condition information, wherein the motor working condition information comprises time information, rotating speed information and current information; then, based on the time difference between each working condition timestamp and the current characteristic file timestamp in the corresponding characteristic file, correcting the characteristic file timestamp in the characteristic file to obtain a corrected timestamp; then, obtaining motor working condition information closest to the correction timestamp in the feature file from the working condition file to obtain target motor working condition information; and finally, combining the characteristic files into the target motor working condition information by taking the working condition timestamps as the standard to form the CSV file comprising the corresponding rotating speed, current and temperature under each timestamp and the characteristics of 12 time domains and frequency domains.
And S14, obtaining the stable running state of the motor according to the synchronized working condition file and the synchronized feature file.
Firstly, after sampling time reaches working condition configuration duration, obtaining steady-state results of a plurality of single variables based on a ratio of a first variance evaluation index and a second variance evaluation index, wherein the first variance evaluation index corresponds to a difference between actual data of two adjacent sampling time points, the second variance evaluation index corresponds to a difference between actual data and filtered data representing the same sampling time point, and the plurality of single variables comprise rotating speed, and/or current, and/or temperature; then, the motor running stable state is obtained according to the steady state results of the plurality of single variables.
And S15, finishing the collection of the motor operation data after the motor operation stable state is a stable state.
And when the stable running state of the motor is a stable state and the time length of the characteristic file corresponding to each stable rotating speed information in the stable rotating speed vector of the motor is more than or equal to the total sampling time length/sampling times, ending the collection of the running data of the motor.
And S2, segmenting the working condition of the motor after the motor operates stably to obtain a stable working condition list, wherein the stable working condition list comprises a plurality of combined working conditions of different stable rotating speed working conditions and different current working conditions.
In order to obtain effective motor operation conditions, different operation conditions of the motor need to be effectively segmented before machine learning training is carried out. The step S2 aims to adaptively segment the training data file generated in the configuration stage according to a plurality of stable rotating speeds in the feature file and generate a stable working condition list file.
In an embodiment of the method for training a motor working condition abnormality detection model according to the present invention, the step S2 may specifically include:
and S21, carrying out preliminary segmentation on the data in the working condition file according to the stable rotating speed vector to obtain a plurality of preliminary groups.
Further, in an embodiment of the method for training the motor operating condition abnormality detection model according to the present invention, the step S21 may specifically include:
and step S211, acquiring a plurality of stable rotating speed vectors from the configuration file.
Step S212, preliminarily segmenting the data in the working condition file according to the stable rotating speed vector to obtain a plurality of preliminary groups, so as to segment the data of different rotating speeds, and using the data of the same rotating speed as the same preliminary group, wherein the number of the preliminary groups corresponds to the number of the stable rotating speed vector, and in the same preliminary group, the working condition of the same rotating speed corresponds to a plurality of different current working conditions.
And step S22, marking a steady-state current label on the current data in each preliminary grouping.
In specific implementation, first, rounding is performed on current data in each preliminary group, specifically, for all current data in each preliminary group, the current data whose difference with a target current value is within a preset range is attributed to the same working condition type, wherein the number of the working condition types is consistent with the number of the target current values. Further, exemplarily, the preset range includes-5% to 5%, and it should be noted that the target current value and the preset range are not specifically limited in the present invention; the current data in each preliminary group is then labeled with a steady-state current label based on the rounding result of the current data.
And S23, carrying out secondary segmentation on each primary group according to the steady-state current label to obtain a final segmentation result.
In an embodiment of the method for training the motor working condition abnormality detection model according to the present invention, the step S23 may specifically include:
step S231, in each of the preliminary groups, using the data marked as the same steady-state current label as the same fine group.
Step S232, obtaining a working condition list according to each fine grouping in each preliminary grouping, wherein the working condition list comprises combined working conditions of different rotating speeds and different currents.
Step S233, outputting the operating condition list as a CSV file including a rotational speed variable and a current variable, where the CSV file includes operating conditions corresponding to the rotational speeds, and each rotational speed corresponds to a plurality of current operating conditions.
Further, after step S1 and before step S2, the training method for the machine condition abnormality detection model further includes:
setting configuration parameters to obtain a configuration file, wherein the configuration parameters comprise model training total sampling duration/sampling times, a sixteen-dimensional characteristic matrix file, a stable rotating speed vector and training model precision, and the configuration file corresponds to specific equipment.
And S3, training to obtain working condition abnormality detection models corresponding to each combined working condition in the steady-state working condition list by adopting a method of isolating abnormal points according to the segmentation result of the working conditions of the motor, wherein the number of the working condition abnormality detection models corresponds to the number of the combined working conditions.
And S3, aiming at creating an abnormal detection model corresponding to the working condition according to different steady-state working conditions.
Further, in an embodiment of the method for training the motor working condition abnormality detection model according to the present invention, the step S3 may specifically include:
step S31, using the working condition serial numbers corresponding to the combined working conditions in the steady-state working condition list and the sixteen-dimensional feature matrix file as training data, and inputting the training data into a preset machine learning model, wherein each row of the sixteen-dimensional feature matrix represents a sample, a first column represents time information, a second column represents rotating speed, a third column represents a stable state, a fourth column represents temperature, and the remaining columns represent 12 time domain and frequency domain features.
And S32, training the preset machine learning model by using the training data by adopting an abnormal point isolation method to obtain a working condition abnormality detection model corresponding to each combined working condition in the steady-state working condition list.
The existing anomaly detection method mainly provides a region of a normal sample in a feature space through description of the normal sample, and regarding a sample not in the region as an anomaly. The main disadvantage of these anomaly detection methods is that only the description of normal samples is optimized, but not the description of abnormal samples, which may cause a large number of false positives or detect only a small number of anomalies.
The abnormal detection method does not describe normal sample points any more, but isolates abnormal points and uses statistics to explain, and in a data space, sparsely distributed areas indicate that the probability of data occurring in the areas is very low, so that the data falling in the areas can be considered to be abnormal. To find out which points are easily isolated, two subspaces can be generated by cutting once, assuming that the data space is cut with one random hyperplane. And then continuing to cut each subspace by using a random hyperplane, and circulating until only one data point is in each subspace. It will be appreciated that clusters of very high density can be cut many times before cutting ceases, but that points of very low density tend to stop in a subspace early on.
Further, in an embodiment of the method for training the motor working condition abnormality detection model according to the present invention, the step S32 may specifically include:
and S321, constructing an isolation forest consisting of a plurality of isolation trees based on the training data.
Further, in an embodiment of the method for training the motor working condition abnormality detection model according to the present invention, the step S321 may specifically include:
step A1: Ψ samples were randomly selected from the training data to be placed into the root node of a quarantine tree.
Step A2: randomly appointing a dimension, and randomly generating a cutting point p in the current node data, wherein the cutting point p is generated between the maximum value and the minimum value of the appointed dimension in the current node data.
Step A3: and generating a hyperplane by using the randomly generated cutting point p, and then dividing the data space of the current node into 2 subspaces.
Step A4: and placing data smaller than p in the specified dimension on the left sub-tree of the current node, and placing data larger than or equal to p on the right sub-tree of the current node.
Step A5: recursion steps A2 and A3 in the subtree branches, new leaf nodes are constructed continuously until there is only one data in the leaf nodes, cutting can not be continued any more or the tree has reached a defined height.
Step S322, traversing the isolated forest by the data to be subjected to abnormal detection, calculating an abnormal score, and judging whether abnormal data exist in the data to be subjected to abnormal detection according to the abnormal score.
Specifically, for each sample x, the result for each tree is calculated, and the anomaly score is calculated using the formula:
Figure BDA0002991361160000101
where h (x) is the height of the sample x in each tree, i.e. the path length, and c (Ψ) is the average of the path lengths at a given number of samples Ψ, for normalizing the path length h (x) of the sample x.
The training method of the motor working condition abnormity detection model provided by the embodiment of the invention is beneficial to obtaining effective motor operation working conditions by segmenting the motor working conditions, obtains the working condition abnormity detection model by training by adopting a method of isolating abnormal points, and then automatically and directly obtains a motor state monitoring result by utilizing the model, thereby being beneficial to reducing false alarm rate and missing report rate and improving the accuracy of working condition abnormity detection.
Correspondingly, as shown in fig. 2, the present invention further provides a training system for a motor working condition anomaly detection model, including:
the data acquisition module 1 is used for continuously acquiring motor operation data to obtain motor working conditions until the motor operates stably;
the working condition splitting module 2 is used for splitting the working conditions of the motor after the motor operates stably to obtain a stable working condition list, wherein the stable working condition list comprises a plurality of combined working conditions of different stable rotating speed working conditions and different current working conditions;
and the model training module 3 is used for training to obtain working condition abnormity detection models corresponding to each combined working condition in the steady-state working condition list by adopting a method for isolating abnormal points according to the segmentation result of the working conditions of the motor, wherein the number of the working condition abnormity detection models corresponds to the number of the combined working conditions.
According to the training system of the motor working condition abnormity detection model provided by the embodiment of the invention, the working condition segmentation module is utilized to segment the working condition of the motor, so that the effective motor running working condition can be obtained, the model training module adopts a method for isolating the abnormal point to train and obtain the working condition abnormity detection model, and further, the model is utilized to automatically and directly obtain the motor state monitoring result, so that the false alarm rate and the missing report rate can be reduced, and the accuracy of working condition abnormity detection can be improved.
It should be understood that the division of the components of the training system of the motor operating condition abnormality detection model shown in fig. 2 is only a division of logical functions, and the actual implementation may be wholly or partially integrated into one physical entity or physically separated. And these components may all be implemented in software invoked by a processing element; or may be implemented entirely in hardware; and part of the components can be realized in the form of software called by the processing element, and part of the components can be realized in the form of hardware. For example, a certain module may be a separately established processing element, or may be integrated into a certain chip of the electronic device. Other components are implemented similarly. In addition, all or part of the components can be integrated together or can be independently realized. In implementation, each step of the above method or each component above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in the form of software.
Thus, various embodiments of the present disclosure have been described in detail. Some details that are well known in the art have not been described in order to avoid obscuring the concepts of the present disclosure. Those skilled in the art can now fully appreciate how to implement the teachings disclosed herein, in view of the foregoing description.
Although some specific embodiments of the present disclosure have been described in detail by way of example, it should be understood by those skilled in the art that the foregoing examples are for purposes of illustration only and are not intended to limit the scope of the present disclosure. It will be understood by those skilled in the art that various changes may be made and equivalents may be substituted for elements thereof without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.

Claims (7)

1. A training method of a motor working condition abnormity detection model is characterized by comprising the following steps:
continuously acquiring motor operation data to obtain motor working conditions until the motor operates stably;
segmenting the motor working condition after the motor operates stably to obtain a stable working condition list, wherein the stable working condition list comprises a plurality of combined working conditions of different stable rotating speed working conditions and different current working conditions;
using the working condition serial number and sixteen-dimensional feature matrix file corresponding to each combined working condition in the steady state working condition list as training data, inputting the training data into a preset machine learning model, wherein each row of the sixteen-dimensional feature matrix represents a sample, a first column represents time information, a second column represents rotating speed, a third column represents stable state, a fourth column represents temperature, and the rest columns represent 12 time domain and frequency domain features, training by adopting a method of isolating abnormal points according to the segmentation result of the motor working condition to obtain a working condition abnormality detection model corresponding to each combined working condition in the steady state working condition list, wherein the number of the working condition abnormality detection models corresponds to the number of the combined working conditions,
the motor operation data is gathered in succession to obtain the motor operating mode, until the motor operation is stable, specifically include:
collecting motor operation data to obtain a working condition file;
extracting a vibration characteristic signal based on the motor vibration original signal in the working condition file to obtain a characteristic file corresponding to the working condition file;
synchronizing the working condition file and the feature file;
obtaining a stable running state of the motor according to the synchronized working condition file and the synchronized feature file;
after the motor operation stable state is a stable state, finishing the acquisition of the motor operation data;
the motor working condition after the motor operation is stable is segmented to obtain a stable working condition list, and the method specifically comprises the following steps:
performing preliminary segmentation on data in the working condition file according to the stable rotating speed vector to obtain a plurality of preliminary groups;
marking the current data in each preliminary group with a steady-state current tag;
and carrying out secondary segmentation on each primary group according to the steady-state current label to obtain a final segmentation result.
2. The motor working condition anomaly detection model training method according to claim 1, wherein the data in the working condition file is preliminarily segmented according to the stable rotation speed vector to obtain a plurality of preliminary groups, and the method specifically comprises the following steps:
acquiring a plurality of stable rotating speed vectors from a configuration file;
according to the stable rotating speed vector is to data in the working condition file is preliminarily segmented to obtain a plurality of preliminary groups, so that data of different rotating speeds are segmented, and data of the same rotating speed are used as the same preliminary group, wherein the number of the preliminary groups corresponds to the number of the stable rotating speed vector, and in the same preliminary group, the same rotating speed working condition corresponds to a plurality of different current working conditions.
3. The motor working condition abnormality detection model training method according to claim 1, wherein the secondary segmentation is performed on each preliminary group according to the steady-state current label to obtain a final segmentation result, and specifically comprises:
in each preliminary grouping, taking the data marked as the same steady-state current label as the same fine grouping;
obtaining a working condition list according to each fine grouping in each preliminary grouping, wherein the working condition list comprises combined working conditions of different rotating speeds and different currents;
and outputting the working condition list as a CSV file comprising a rotating speed variable and a current variable, wherein the CSV file comprises working conditions corresponding to all rotating speeds, and each rotating speed corresponds to a plurality of current working conditions.
4. The motor working condition abnormality detection model training method according to claim 1, wherein the method for isolating the abnormal points is adopted, the preset machine learning model is trained by using the training data, and a working condition abnormality detection model corresponding to each combined working condition in the steady-state working condition list is obtained, and the method specifically comprises the following steps:
constructing an isolation forest consisting of a plurality of isolation trees based on the training data;
traversing the isolated forest by using the data to be subjected to abnormal detection, calculating an abnormal score, and judging whether abnormal data exist in the data to be subjected to abnormal detection according to the abnormal score.
5. The motor working condition abnormality detection model training method according to claim 4, wherein the constructing of the plurality of isolation trees based on the training data specifically includes:
step A1: randomly selecting psi samples from training data, and putting the psi samples into a root node of a quarantine tree;
step A2: randomly appointing a dimension, and randomly generating a cutting point p in the current node data, wherein the cutting point p is generated between the maximum value and the minimum value of the appointed dimension in the current node data;
step A3: generating a hyperplane by using a randomly generated cutting point p, and then dividing the data space of the current node into 2 subspaces;
step A4: placing data smaller than p in the specified dimension on a left sub-tree of the current node, and placing data larger than or equal to p on a right sub-tree of the current node;
step A5: recursion steps A2 and A3 in the subtree branches, new leaf nodes are constructed continuously until there is only one data in the leaf nodes, cutting can not be continued any more or the tree has reached a defined height.
6. The motor working condition abnormality detection model training method according to claim 5, wherein the traversing the forest isolation by the data to be subjected to abnormality detection, calculating an abnormality score, and determining whether there is abnormal data in the data to be subjected to abnormality detection according to the abnormality score specifically comprises:
for each sample x, the result for each tree is calculated, and the anomaly score is calculated using the formula:
Figure FDA0003796317780000031
where h (x) is the height of each tree, i.e., the path length, of sample x, and c (Ψ) is the average of the path lengths at a given number of samples Ψ, for normalizing the path length h (x) of sample x.
7. A training system of a motor working condition abnormity detection model by adopting the method of any one of claims 1-6, which is characterized by comprising the following steps:
the data acquisition module is used for continuously acquiring the motor operation data to obtain the motor working condition until the motor operates stably;
the working condition splitting module is used for splitting the working conditions of the motor after the motor runs stably so as to obtain a stable working condition list, wherein the stable working condition list comprises a plurality of combined working conditions of different stable rotating speed working conditions and different current working conditions;
and the model training module is used for training to obtain working condition abnormity detection models corresponding to each combined working condition in the steady-state working condition list by adopting a method for isolating abnormal points according to the segmentation result of the working conditions of the motor, wherein the number of the working condition abnormity detection models corresponds to the number of the combined working conditions.
CN202110338340.5A 2021-03-24 2021-03-24 Training method and system for motor working condition abnormity detection model Active CN113033673B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110338340.5A CN113033673B (en) 2021-03-24 2021-03-24 Training method and system for motor working condition abnormity detection model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110338340.5A CN113033673B (en) 2021-03-24 2021-03-24 Training method and system for motor working condition abnormity detection model

Publications (2)

Publication Number Publication Date
CN113033673A CN113033673A (en) 2021-06-25
CN113033673B true CN113033673B (en) 2022-10-25

Family

ID=76452820

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110338340.5A Active CN113033673B (en) 2021-03-24 2021-03-24 Training method and system for motor working condition abnormity detection model

Country Status (1)

Country Link
CN (1) CN113033673B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114267178B (en) * 2021-12-30 2023-09-26 佳都科技集团股份有限公司 Intelligent operation maintenance method and device for station

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3677144B2 (en) * 1997-10-03 2005-07-27 株式会社東芝 Induction motor controller
WO2007074423A2 (en) * 2005-12-29 2007-07-05 Utstarcom, Inc. Method and system for byte slice processing data packets at a packet switch
CN101907685A (en) * 2010-06-18 2010-12-08 华北电力大学 Method for checking correctness of operating parameters of generator set capable of adapting to change of operating conditions
CN107292350A (en) * 2017-08-04 2017-10-24 电子科技大学 The method for detecting abnormality of large-scale data
CN107894279B (en) * 2017-10-25 2018-12-07 北京金风科创风电设备有限公司 Synchronous detection method and device for vibration data and working condition data of wind generating set
CN109765332A (en) * 2018-12-05 2019-05-17 国网辽宁省电力有限公司信息通信分公司 Transformer exception value real-time detection and method for diagnosing faults based on isolation forest
CN110135614A (en) * 2019-03-26 2019-08-16 广东工业大学 It is a kind of to be tripped prediction technique based on rejecting outliers and the 10kV distribution low-voltage of sampling techniques
CN110149258A (en) * 2019-04-12 2019-08-20 北京航空航天大学 A kind of automobile CAN-bus network data method for detecting abnormality based on isolated forest
CN110298455B (en) * 2019-06-28 2023-06-02 西安因联信息科技有限公司 Mechanical equipment fault intelligent early warning method based on multivariate estimation prediction
CN110696990B (en) * 2019-11-11 2020-12-04 中国船舶工业系统工程研究院 Ship generator component influence identification method and system based on data driving
CN111191881A (en) * 2019-12-13 2020-05-22 大唐东北电力试验研究院有限公司 Thermal power generating unit industrial equipment state monitoring method based on big data

Also Published As

Publication number Publication date
CN113033673A (en) 2021-06-25

Similar Documents

Publication Publication Date Title
CN111475680A (en) Method, device, equipment and storage medium for detecting abnormal high-density subgraph
US11520676B2 (en) Method and system for power equipment diagnosis based on windowed feature and Hilbert visualization
CN110297207A (en) Method for diagnosing faults, system and the electronic device of intelligent electric meter
CN116450399B (en) Fault diagnosis and root cause positioning method for micro service system
CN112036301A (en) Driving motor fault diagnosis model construction method based on intra-class feature transfer learning and multi-source information fusion
Jiang et al. A family of joint sparse PCA algorithms for anomaly localization in network data streams
CN114386538B (en) Method for marking wave band characteristics of KPI (Key performance indicator) curve of monitoring index
CN113033673B (en) Training method and system for motor working condition abnormity detection model
CN111666978B (en) Intelligent fault early warning system for IT system operation and maintenance big data
CN115935286A (en) Abnormal point detection method, device and terminal for railway bearing state monitoring data
CN116415126A (en) Method, device and computing equipment for anomaly detection of doctor blades of paper machine
CN112860183A (en) Multisource distillation-migration mechanical fault intelligent diagnosis method based on high-order moment matching
CN113030726A (en) Motor state monitoring method and system based on data driving
CN112039907A (en) Automatic testing method and system based on Internet of things terminal evaluation platform
CN114386535B (en) Method for setting width of sliding window for scanning KPI curve
Mohamed et al. Thermal Images Captured and Classifier-based Fault Detection System for Electric Motors Through ML Based Model
KR102247179B1 (en) Xai-based normal learning data generation method and device for unsupervised learning of abnormal behavior detection model
CN113075547A (en) Motor data acquisition method and system
CN115080286A (en) Method and device for discovering log exception of network equipment
CN114037010A (en) Method and device for identifying abnormal electric quantity data
Chandrashekar et al. Anomaly detection in recorded CAN log using DBSCAN and LSTM Autoencoder
CN112526558B (en) System operation condition identification and cutting method under partial data loss condition
CN116150666B (en) Energy storage system fault detection method and device and intelligent terminal
EP4221081A1 (en) Detecting behavioral change of iot devices using novelty detection based behavior traffic modeling
CN115511106A (en) Method, device and readable storage medium for generating training data based on time sequence data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant