Motor abnormality detection and early warning method based on big data
By forming a target segment sequence according to the operating state transition in motor anomaly detection, constructing a state transition reference trajectory and calculating the coupling residual, and generating anomaly evidence sequence, the problem of data consistency and traceability in large-scale continuous operation data processing is solved, and efficient anomaly early warning is achieved.
Patent Information
- Application Number
- CN202611314137.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-27
- Publication Date
- 2026-11-20
AI Technical Summary
Existing runtime sequence data processing methods struggle to maintain consistency across different time periods, consistency in comparison scales, and traceability of calculation results when dealing with large-scale, continuously running data. This results in insufficiently targeted reference data, a lack of cross-segment data correlation between isolated deviation data and continuous deviation data, and difficulty in forming a reliable early warning mechanism.
By acquiring the digital operating electrical data of the target motor, a target segment sequence is formed according to the operating state transition. A state transition reference trajectory is constructed using historical segments. The coupling residuals of each target segment are calculated and an anomaly evidence sequence is generated. Cross-segment continuity verification is implemented, and the warning level is determined based on the residual distribution of the state transition reference trajectory.
It enables the corresponding calculation of multi-field time series data under a unified data coordinate system, reduces the interference of fragment length differences and field numerical scale differences on data comparison results, improves the interpretability and traceability of data processing results, and can effectively distinguish between isolated deviation data and continuous deviation data.
Smart Images

Figure CN123139080A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of digital data processing technology, specifically to a method for detecting and warning of motor anomalies based on big data. Background Technology
[0002] As the scale of operational data from digital equipment continues to increase, implementing storage organization, field encoding, index retrieval, sequence segmentation, feature calculation, and statistical analysis for continuous time-series data has become an important application of computer digital data processing. For digital operational electrical data generated during motor operation, current processing typically writes multi-field time-series data with sampling time indexes into computer storage and compares it with preset data ranges, historical statistical results, or time-series calculation results to obtain data results that characterize the degree of deviation from the current data from a large amount of historical data. With the increasing scale of historical data, maintaining consistency in data structure, comparison scale, and traceability of calculation results across different time periods places higher demands on computer time-series data processing.
[0003] However, existing digital data processing methods often suffer from the following shortcomings when dealing with large-scale, continuously running data exhibiting multi-state transition characteristics: First, when establishing a unified statistical benchmark directly based on complete historical time-series data, data records corresponding to different data states and state transition processes are easily mixed in calculations, resulting in reference data that cannot maintain consistent data semantics with the data to be processed. Second, different historical data segments differ in sampling length, rate of change, and field numerical scale. Direct comparison based solely on the original time index or original values can easily lead to data position mismatches and scale biases, making it difficult to form repeatable data comparison relationships under a unified data coordinate system. Third, when generating anomalous results based solely on a single data position or a single quantile result, there is a lack of processing for the sequence continuity between adjacent data positions and preceding and following data segments. Isolated deviation data and continuously deviating data are difficult to distinguish using a unified data structure. Therefore, existing technologies still need to address how to establish historical data retrieval relationships corresponding to state transition processes for large-scale digitized running data, unify the comparison scale and progress position of multi-field time-series data, and form traceable data indexes based on residual distribution and cross-segment continuity relationships. Summary of the Invention
[0004] In view of the above-mentioned problems, the present invention is proposed.
[0005] Therefore, the technical problem solved by this invention is that existing runtime sequence data processing methods suffer from insufficient reference data due to mixed statistics of historical data corresponding to different data states, difficulty in comparing data segments of different lengths and numerical scales under a unified data coordinate system, lack of cross-segment data correlation basis for isolated deviation data and continuous deviation data, and the problem of how to use large-scale historical digital data to form an early warning level index that simultaneously represents the data deviation order and cross-segment continuity relationship and can trace back to the original time index.
[0006] To solve the above-mentioned technical problems, the present invention provides the following technical solution: a method for detecting and warning of motor anomalies based on big data, comprising acquiring digital operating electrical data of the target motor, transferring the data according to the operating state to form a target segment sequence, and retrieving historical segments with the same transfer feature code.
[0007] A state transition reference trajectory is constructed using historical fragments, the coupling residuals of each target fragment are calculated, and anomaly evidence sequences are generated.
[0008] Cross-segment continuity verification is performed on abnormal evidence sequences, and the warning level is determined based on the residual distribution of the state transition reference trajectory.
[0009] As a preferred embodiment of the big data-based motor anomaly detection and early warning method of the present invention, the step of forming a target segment sequence by transferring according to operating state includes: acquiring the three-phase current sequence, bus voltage sequence, and speed sequence corresponding to the sampling time index; forming a composite three-phase current value from the current values of each phase; dividing the composite three-phase current value, bus voltage value, and speed value into state intervals based on the quantiles of the historical operating electrical data set; and forming an operating state code by numbering the corresponding intervals; using the moment when adjacent operating state codes change within the detection time period as the transfer center; forming target segments from the continuous sampling data before and after the transfer center; and forming a target segment sequence in chronological order.
[0010] As a preferred embodiment of the big data-based motor anomaly detection and early warning method of the present invention, the following steps are included: Retrieving historical segments with the same transfer feature codes involves constructing a historical operating electrical dataset from the digital operating electrical data of the target motor that predates the time period to be detected. Based on a defined state interval division method and operating status code generation method, historical transfer centers are identified within the historical operating electrical dataset to form historical segments. For each target segment, the operating status codes corresponding to the start and end sampling time indices are read. The combined three-phase current values, bus voltage values, and speed values on both sides before and after the transfer center are compared to generate current change direction codes, voltage change direction codes, and speed change direction codes, respectively. The start and end operating status codes, current change direction codes, voltage change direction codes, and speed change direction codes are sequentially concatenated to form the transfer feature code of the target segment. For each historical segment, a historical transfer feature code is generated by sequentially concatenating the corresponding start and end operating status codes, current change direction codes, voltage change direction codes, and speed change direction codes. The transition feature codes of the target segment are compared with the historical transition feature codes field by field. Historical segments with consistent historical transition feature codes across all fields are identified as historical segments with identical transition feature codes. A set of corresponding historical segments is then established for each target segment.
[0011] As a preferred embodiment of the big data-based motor anomaly detection and early warning method described in this invention, the step of constructing a state transition reference trajectory using historical fragments includes: for each target fragment corresponding to a set of historical fragments, at each sampling time index of each historical fragment, forming a composite three-phase current value based on the three-phase current sequence, and sequentially forming an interphase structure vector by assigning the proportion of each phase current's absolute value to the sum of the three-phase current's absolute values. The changes in the composite three-phase current value, bus voltage value, and speed value between adjacent sampling time indices are normalized according to the interquartile range of the composite three-phase current value, bus voltage value, and speed value within the historical fragment set. The absolute values of the three normalized changes are accumulated along the time sequence of the historical fragments to form a transition progress sequence increasing from the fragment's starting point to its ending point. Historical fragments of different lengths are mapped to unified ordered progress nodes based on the transition progress sequence. At each ordered progress node, the median value and quantile interval of the three-phase current composite value, bus voltage value, speed value, and each component of the phase structure vector are statistically analyzed. The median values corresponding to each ordered progress node are connected in the progress order to form a state transition reference trajectory. At the same time, the quantile interval corresponding to each ordered progress node is retained as the residual scale benchmark.
[0012] As a preferred embodiment of the big data-based motor anomaly detection and early warning method of the present invention, the step of calculating the coupling residuals of each target segment and generating anomaly evidence sequences includes: establishing a target transfer progress sequence for each target segment according to a defined transfer progress sequence generation method, and mapping the target segment to an ordered progress node that is the same as the corresponding state transfer reference trajectory. At each ordered progress node, the signed deviations of the three-phase current composite value, bus voltage value, and speed value of the target segment relative to the corresponding median value are calculated, and the three signed deviations are scaled using the interval span of the corresponding quantile interval. The scaled-normalized deviations of the three-phase current composite value and the bus voltage value are differentially analyzed to form an electrical excitation residual. The electrical excitation residual and the scaled-normalized speed value deviation are combined to form a binary coupling residual vector, which serves as the current-voltage-speed coupling residual. The phase-to-phase structure residual vector is formed based on the component differences between the phase-to-phase structure vector of the target segment and the corresponding median phase-to-phase structure vector. The same progress mapping and residual calculation are performed on each historical segment in the historical segment set to form the historical coupling residual distribution and historical phase-to-phase structure residual distribution for each ordered progress node. Each component of the residual vector corresponding to the target segment is assigned a quantile interval number according to the two historical residual distributions. The ordered progress nodes, the quantile interval numbers of each component, and the residual symbols are recorded as abnormal evidence items in sequence, forming an abnormal evidence sequence according to the order of the ordered progress nodes.
[0013] As a preferred embodiment of the big data-based motor anomaly detection and early warning method of the present invention, the following steps are included: Performing cross-segment continuity verification on the abnormal evidence sequence includes, for each target segment's abnormal evidence sequence, marking abnormal evidence items whose quantile interval numbers of any component of the current-voltage-speed coupling residual or any component of the phase-to-phase structural residual are located in the first or last quantile interval of the corresponding historical residual distribution as candidate evidence items. Arranging the symbols of each residual component in each candidate evidence item according to a fixed component order to form a residual direction code. Connecting candidate evidence items with adjacent progress nodes and consistent residual direction codes according to the ordered progress node sequence to form an intra-segment evidence chain. Comparing the running status codes of time-adjacent target segments according to the time sequence of the target segment sequence; when the termination running status code of the previous target segment matches the start running status code of the next target segment, continuing to compare the residual direction codes of the last candidate evidence item of the previous target segment and the start candidate evidence item of the next target segment. When the two residual direction codes match, connecting the corresponding intra-segment evidence chains to form a cross-segment evidence chain. Record the ordered progress nodes, target segment number, start sampling time index, and end sampling time index of the cross-segment evidence chain to form an abnormal evidence chain after continuity verification.
[0014] As a preferred embodiment of the big data-based motor anomaly detection and early warning method of the present invention, the step of determining the early warning level based on the residual distribution of the state transition reference trajectory includes: for each anomaly evidence chain, calculating the ordinal distance between the quantile interval number of each residual component in each anomaly evidence item and the corresponding quantile interval number of the historical residual distribution; using the maximum ordinal distance in the same anomaly evidence item as the residual ordinal number of the evidence item; and accumulating these distances along the anomaly evidence chain to form a chain residual ordinal number. A persistence ordinal number is formed based on the number of target segments traversed by the anomaly evidence chain. The historical quantile interval numbers corresponding to the chain residual ordinal numbers and the persistence ordinal numbers are sequentially combined to form an early warning level index, and the early warning level index, the start sampling time index, and the end sampling time index of the anomaly evidence chain are output.
[0015] As a preferred embodiment of the big data-based motor anomaly detection and early warning system of the present invention, it includes a transfer segment encoding module, a coupled residual construction module, and a cross-segment early warning module.
[0016] The transfer segment encoding module is used to acquire the digital operating electrical data of the target motor, transfer it according to the operating state to form a target segment sequence, and retrieve historical segments with the same transfer feature encoding.
[0017] The coupled residual construction module is used to construct a state transition reference trajectory using historical fragments, calculate the coupled residuals of each target fragment, and generate anomaly evidence sequences.
[0018] The cross-segment early warning module is used to perform cross-segment continuity verification on abnormal evidence sequences and determine the early warning level based on the residual distribution of the state transition reference trajectory.
[0019] A computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement a method for detecting and warning of motor anomalies based on big data.
[0020] A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of a method for detecting and warning motor anomalies based on big data.
[0021] The beneficial effects of this invention are:
[0022] By performing quantile interval encoding, operation status code generation, state transition fragmentation, and transition feature encoding on digital operation electrical data, and by indexing and retrieving historical data according to fixed fields, the system realizes the transformation of continuous multi-field time-series data into fragment data with a defined data structure. This enables historical fragments with the same state transition data semantics to be directionally aggregated, thereby avoiding the direct mixing of different state data in subsequent statistical calculations and establishing a unified, searchable, and reusable data input boundary for large-scale historical data.
[0023] By using the interquartile range of historical fragment data to scale the changes in different fields and forming a transition progress based on the cumulative normalized changes, data fragments of different lengths are mapped to a unified ordered progress node. Then, reference trajectories, coupling residuals, and interphase structural residual distributions are generated. This enables the corresponding calculation of multi-field time series data under a unified dimensionless scale and a unified data location. This allows the target fragment to generate anomaly evidence sequences based on the historical distribution of the same data semantics, thereby reducing the interference of fragment length differences and field numerical scale differences on data comparison results.
[0024] By implementing quantile interval filtering and residual direction encoding on anomalous evidence items, and constructing cross-segment anomalous evidence chains based on the adjacency relationship of ordered progress nodes, the connection relationship of status codes of preceding and following segments, and the consistency of residual directions, the distinction between isolated deviation data and continuous deviation data in sequence structure is achieved. Furthermore, the warning level index is constructed using the chain residual order position and the number of segments crossed, ensuring that the final output simultaneously retains historical distribution order information, temporal continuity information, and start and end sampling time indexes, thereby improving the interpretability and traceability of the data processing results. Attached Figure Description
[0025] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the following description of the embodiments will be briefly introduced. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0026] Figure 1 The above is an overall flowchart of a motor anomaly detection and early warning method based on big data provided in Embodiment 1 of the present invention. Detailed Implementation
[0027] To make the above-mentioned objects, features, and advantages of the present invention more apparent and understandable, specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the protection scope of the present invention.
[0028] Example 1, referring to Figure 1 As an embodiment of the present invention, a method for detecting and warning of motor anomalies based on big data is provided, comprising:
[0029] S1: Acquire the digital operating electrical data of the target motor, transfer it according to the operating state to form a target segment sequence, and retrieve historical segments with the same transfer feature code.
[0030] The three-phase current sequence, bus voltage sequence, and speed sequence corresponding to the sampling time index are obtained, and the three-phase current composite value is formed from the current values of each phase. Based on the quantiles of the historical operating electrical data set, the three-phase current composite value, bus voltage value, and speed value are divided into state intervals, and the corresponding interval numbers are used to form an operating state code. The moment when adjacent operating state codes change within the detection time period is used as the transfer center. The continuous sampling data before and after the transfer center are formed into target segments, and these target segments are sequenced in chronological order.
[0031] Furthermore, in this embodiment, the digital operating electrical data refers to data records that have been converted into digital form and stored according to the sampling time index during the operation of the target motor by the intelligent drive system. Each valid sampling time index corresponds to at least the A-phase current value, B-phase current value, C-phase current value, bus voltage value, and speed value. The data processing side rearranges each data field according to the sampling timestamp onto a unified time axis. The unified data processing cycle can be set to 20–100 ms; in this embodiment, 50 ms is used. This cycle is the data resampling cycle on the computer processing side, and its setting comes from an engineering trade-off between the continuity of intelligent drive operating data and the computational load of batch processing, rather than adding a detection cycle to the motor sampling hardware. Data that is consecutively missing for no more than two processing cycles is linearly interpolated using the nearest valid digital value before and after it. When data is consecutively missing for three processing cycles, the corresponding data position is marked as an invalid position, and this position is not used to determine whether the operating status code has changed, thereby preventing false state transitions caused by missing data.
[0032] Furthermore, considering that the three-phase AC currents may have positive and negative values at the same sampling position, if ordinary arithmetic superposition is used, they will cancel each other out, and the overall data amplitude of the three-phase current at the current sampling position cannot be stably represented. Therefore, this embodiment performs squaring, summing, and square root operations on the three-phase current digital values corresponding to the same sampling time index to form a composite three-phase current value, specifically:
[0033]
[0034] in, Indicates the first The composite value of the three-phase current corresponding to each sampling time index is derived from the digital value of the three-phase current at the same sampling time index. Its dimensions are the same as those of each phase current, and it is used for subsequent state interval division. Indicates the first The A-phase current value corresponding to each sampling time index comes from the existing A-phase current digital data channel of the intelligent drive system. Indicates the first The B-phase current value corresponding to each sampling time index comes from the existing B-phase current digital data channel of the intelligent drive system. Indicates the first The C-phase current value corresponding to each sampling time index comes from the existing C-phase current digital data channel of the intelligent drive system. This represents the sampling time index arranged sequentially along a unified timeline, taking a positive integer and incrementing according to the sampling time sequence.
[0035] The formula does not involve denominators or logarithmic operations, thus avoiding division by zero. If any phase current at the same sampling location is missing and cannot be filled according to the aforementioned short-missing rule, then the current at that location is not calculated. The combined three-phase current value obtained from the formula is directly written into the data record corresponding to the sampling time index, serving as the input for the current state interval number in the operating status code.
[0036] Furthermore, the 20th, 40th, 60th, and 80th percentile values of the historical operating electrical data sets are statistically analyzed for the three-phase current composite value, bus voltage value, and speed value. Each data field is then divided into five state intervals arranged in ascending order of value, numbered 1, 2, 3, 4, and 5. These percentiles are derived from valid historical operating electrical data of the target motor prior to the time period to be detected, excluding the aforementioned invalid data positions during the statistical process. This embodiment uses five state intervals to maintain a controllable size for the operating status code field while enabling the computer to distinguish between lower, middle, and higher data ranges, as well as transitional ranges on both sides. Values exactly equal to the boundary of an internal interval are uniformly assigned to the adjacent interval with the larger number, while the interval containing the maximum value is still numbered 5. This ensures that the same numerical value corresponds to only one specific interval number under the same historical boundary.
[0037] Furthermore, the state interval numbers corresponding to the three-phase current composite value, bus voltage value, and speed value are combined into an operating status code according to a fixed field order of "current interval number - voltage interval number - speed interval number". For example, when the state interval numbers corresponding to the three fields are 4, 3, and 2, the operating status code for this sampling time index is recorded as "4-3-2". The operating status code is a data encoding formed by the computer after discretizing the three-dimensional operating electrical data, and does not directly represent normal, abnormal, or a specific fault type. Each operating status code maintains a correspondence with the original sampling time index, enabling subsequent state transition judgments to trace back from the operating status code to the three-phase current, bus voltage, and speed digital data that generated the status code.
[0038] Furthermore, adjacent running status codes are compared one by one according to the sampling time index order. When two adjacent running status codes are inconsistent, the first sampling time index corresponding to the latter running status code is determined as the transfer center. The target segment is formed by the continuous sampling data before and after each transfer center. In this embodiment, 20 sampling positions can be taken before the transfer center and 20 sampling positions can be taken after the transfer center, and the transfer center position can be retained, so that a single target segment covers approximately 41 uniform sampling positions. In a 50ms data processing cycle, this corresponds to a data range of approximately 2s. Optionally, 10 to 30 continuous sampling positions can be taken before and after the transfer center. This range is derived from the processing requirement of both retaining the electrical data change process before and after the state transition and limiting the data size of a single segment. Transfer centers located at the ends of the time period to be detected, which cannot obtain at least 10 effective sampling positions before or after the transfer center, do not form formal target segments, thereby avoiding incomplete segments from entering subsequent historical matching.
[0039] The target motor's digital operating electrical data earlier than the time period to be detected is used to construct a historical operating electrical dataset. Following a defined state interval division method and operating status code generation method, historical transfer centers are identified within this dataset, forming historical segments. For each target segment, the operating status codes corresponding to the start and end sampling time indices are read. The combined three-phase current, bus voltage, and speed values before and after the transfer center are compared, generating current change direction codes, voltage change direction codes, and speed change direction codes respectively. These codes are then sequentially concatenated to form the transfer feature code for the target segment. For each historical segment, a historical transfer feature code is generated by sequentially concatenating the corresponding start, end, current, voltage, and speed change direction codes. The target segment's transfer feature code is compared field-by-field with the historical transfer feature codes. Historical segments with identical historical transfer feature codes across all fields are considered as having the same transfer feature code, and a corresponding historical segment set is established for each target segment.
[0040] Furthermore, the historical operating electrical data set is organized according to the target motor identifier and sampling time index, where the sampling time of all historical data is earlier than the start time of the current detection period. Historical operating electrical data can be logically partitioned by day, and a joint retrieval field is established in the data processing platform for "target motor identifier - sampling time index". In this embodiment, the most recent 90 days of valid operating electrical data can be used as the initial historical data window, with a selectable range of 30 to 180 days. The 90-day period is a preset engineering window for storage and data statistics, derived from the requirement to balance the recent operating characteristics of the target motor with the number of historical state transition samples covered. When the number of matching historical segments within the 90-day range is insufficient, it can be extended to earlier historical data, but data formed during or after the detection period must not be used. Historical data is processed according to state interval boundaries, operating status code rules, and segment formation rules that are completely consistent with the target data to avoid false matching results due to changes in data processing standards.
[0041] Furthermore, considering that a single sampling position at the transfer center may experience instantaneous digital fluctuations, directly using the values of two single points before and after the transfer center to form the direction code could easily lead to different codes for historical segments and target segments due to these single-point fluctuations. Therefore, this embodiment obtains the continuous values to the left of the transfer center. One valid sampling location and the right side continuous At each valid sampling location, the average of the data fields to be compared is calculated, and then the change direction code is generated based on the difference in the average value. Specifically:
[0042]
[0043] in, This indicates the data fields within the specified sampling window on the left side of the transfer center. The average value is derived from continuous valid digital data prior to the target segment or historical segment transfer center. This indicates the data fields within the specified sampling window on the right side of the transfer center. The average value is derived from continuous valid digital data after the target segment or historical segment has been transferred to the center. The data field representing the current direction encoding is taken as the combined value of the three-phase current, the bus voltage value, and the speed value in sequence. This indicates the sampling time index of the transfer center for the current target segment or a historical segment. This indicates the number of effective sampling locations participating in the average calculation on one side of the transfer center. In this embodiment, it is set to 5, but the selectable range is 3 to 7. This range stems from the engineering requirement of reducing the impact of single-point fluctuations while maintaining state transition time resolution. When the unified processing cycle is 50ms, This corresponds to 250ms data on one side. This indicates the sampling location number in the calculation of the one-sided average of the transfer center, ranging from 1 to... . Represents data fields The corresponding change direction code has a value of , or , respectively represent the increase after exceeding the directional dead zone, the decrease while within the directional dead zone, and the decrease after exceeding the directional dead zone. Represents data fields The directional dead zone boundary is set independently for the three-phase current composite value, bus voltage value, and speed value. In this embodiment, 2% of the difference between the 75th percentile and the 25th percentile of the corresponding historical data is used, and it must not be lower than a minimum effective quantization step size of the corresponding digital data field. 2% is a preset ratio in the embodiment, which is derived from the requirement to avoid digital quantization jitter being encoded as a clear increasing or decreasing trend.
[0044] Insufficient effective sampling quantity on one side of the transfer center However, in cases with no fewer than three samples, the actual effective number of samples should be used instead. Calculate the average. If there are fewer than 3 values, do not generate a transfer feature code for that segment. Use the formula to obtain the current change direction code, voltage change direction code, and speed change direction code, which serve as the three fixed direction fields in the transfer feature code.
[0045] Furthermore, the transfer feature encoding of the target segment is organized according to a fixed field order. Specifically, the running status code corresponding to the starting sampling time index and the running status code corresponding to the ending sampling time index of the target segment are read first, and then the current change direction code, voltage change direction code, and speed change direction code are appended sequentially. In the computer data structure, the three state interval numbers in the starting running status code, the three state interval numbers in the ending running status code, and the three change direction codes can be expanded into a fixed nine-field integer array. This storage method is only used to ensure that there are fixed field positions when the computer compares field by field, and does not change the technical relationship of the sequential concatenation of the starting running status code, the ending running status code, and the three direction codes in the claims. All target segments use the same field order, thereby avoiding the impact of differences in string length or display method on encoding matching.
[0046] Furthermore, the same start state reading, end state reading, and three change direction code calculations are performed on each historical segment in the historical operating power data set to obtain the corresponding historical transfer feature code. During retrieval, a joint index can be built using the start and end operating status codes to obtain candidate historical segments, and then the three change direction codes are verified field by field to reduce the computational load of retrieving large amounts of historical operating power data. However, only historical segments with all nine expanded fields being identical can be included in the historical segment set corresponding to the target segment; fuzzy matching, distance approximation matching, or downgraded matching after deleting some fields are not used. Therefore, each historical segment set has a unique corresponding transfer feature code, ensuring consistency in the data source for subsequent statistical processing.
[0047] Furthermore, in this embodiment, a corresponding historical segment set is established for each target segment. The number of valid historical segments in the historical segment set is preferably no less than 20, and in this embodiment, a minimum of 20 can be set. This number is a preset lower limit for statistical data processing, stemming from the fact that subsequent median, interquartile range, and quantile interval statistics are prone to forming discrete boundaries when the sample size is too small. If the initial retrieval is less than 20, the condition of completely consistent transition feature encoding remains unchanged, and the data is expanded to earlier historical data. If there are still fewer than 20 historical data available, the target segment is recorded as "insufficient historical reference data" and is not replaced with an approximate encoded historical segment. S1 ultimately outputs the target segment sequence, the transition feature encoding of each target segment, and the corresponding historical segment set, and uses these three explicit data objects as input for S2 to construct the state transition reference trajectory.
[0048] It should be noted that S1 does not directly search for data with similar values in the complete motor time series. Instead, it first converts continuous digitized operating electrical data into operating status codes with fixed field structures based on historical quantile boundaries. Then, it forms data segments around the transition positions of the status codes and combines the start and end states with three types of change directions to form a transition feature code. This separates data belonging to different operating state transition processes in large-scale historical data from the computer data level, ensuring that subsequent reference data is not obtained by mixing irrelevant operating conditions. Furthermore, the status codes, feature codes, and historical segment sets can all be reproduced through database fields, indexes, and field-by-field comparisons, representing a deterministic digital data processing process for motor digital operating data.
[0049] S2: Construct a state transition reference trajectory using historical fragments, calculate the coupling residuals of each target fragment, and generate anomaly evidence sequences.
[0050] For each target segment corresponding to the historical segment set, at each sampling time index of each historical segment, a composite three-phase current value is generated based on the three-phase current sequence, and the proportion of the absolute value of each phase current to the sum of the absolute values of the three-phase currents is used to form an interphase structure vector. The changes in the composite three-phase current value, bus voltage value, and speed value between adjacent sampling time indices are normalized according to the interquartile range of the composite three-phase current value, bus voltage value, and speed value within the historical segment set. The absolute values of the three normalized changes are accumulated along the time sequence of the historical segments to form a transition progress sequence increasing from the segment start point to the segment end point. Historical segments of different lengths are mapped to unified ordered progress nodes based on the transition progress sequence. At each ordered progress node, the median value and quartile interval of each component of the composite three-phase current value, bus voltage value, speed value, and interphase structure vector are statistically analyzed. The median values corresponding to each ordered progress node are connected according to the progress sequence to form a state transition reference trajectory, while the quartile interval corresponding to each ordered progress node is retained as a residual scaling benchmark.
[0051] Furthermore, the target segment sequence obtained in step S1, the transition feature encoding of each target segment, and their corresponding historical segment set are used as inputs for this step. For each historical segment, at each valid sampling time index, the three-phase current composite value is calculated according to the three-phase current composite value formula. Simultaneously, the proportion of the absolute values of the three phase currents in the sum of the absolute values of the three phase currents is calculated in a fixed order of phase A, phase B, and phase C, and these proportions are then used to form an interphase structure vector. All three components of the interphase structure vector are between 0 and 1, and the sum of the three components is 1 when the sum of the absolute values of the three phase currents is valid. If the sum of the absolute values of the three phase currents is less than three times the minimum effective quantization step size of the corresponding current data, then the current sampling position is not subject to proportional division, but is marked as a near-zero current position to avoid the near-zero denominator amplifying the digital quantization error.
[0052] Furthermore, considering that the composite three-phase current, bus voltage, and rotational speed have different dimensions and numerical scales, directly accumulating the original changes at adjacent sampling locations would result in data fields with larger numerical magnitudes unreasonably dominating the transfer progress. Therefore, for each target segment's corresponding historical segment set, the 25th and 75th percentile values of the composite three-phase current, bus voltage, and rotational speed are statistically analyzed. The difference between these two values forms the interquartile range for the corresponding data field, and scale normalization is performed using the interquartile range. Subsequently, the absolute values of the three normalized changes are accumulated to form the transfer progress, specifically:
[0053]
[0054] in, Represents data fields In the The and the first The scale-normalized variation between each sampling location is a dimensionless value after normalization. Indicates the current historical segment number The data field values of each valid sampling location correspond to the combined three-phase current value, bus voltage value, or rotational speed value, respectively. This field represents the combined three-phase current value. The digital data field representing the bus voltage originates from the existing operating data of the target motor intelligent drive system. The numerical data field representing the rotational speed is derived from the existing operating data of the target motor's intelligent drive system. This indicates the sequence number of adjacent sampling positions within the current historical segment, arranged in chronological order of sampling time. Represents data fields The interquartile range in the current historical fragment set, that is, the difference between the 75th percentile and the 25th percentile of this data field, has the same dimensions as the data field. Consistent. Represents data fields The minimum scale protection amount is set to 3 times the minimum effective quantization step size of the corresponding digital data field in this embodiment. This setting is derived from the data calculation requirements to avoid division by zero and abnormal amplification when the interquartile range is zero or too small. Indicates the combined value of the three-phase current in the th phase. The scale-normalized variation of adjacent sampling intervals. Indicates the bus voltage value at the 1st The scale-normalized variation of adjacent sampling intervals. Indicates the rotational speed value at the 1st twentieth ... The scale-normalized variation of adjacent sampling intervals. Indicates the first The sum of the absolute values of three normalized changes within a pair of adjacent sampling intervals is a dimensionless value used to describe the amount of transfer progress contributed by that sampling interval. This indicates the cumulative total from the current historical segment's starting point to the [number]. The transfer progress of each adjacent sampling position ranges from 0 to 1 and remains monotonically constant with the time sequence of the segment. This indicates the sequence number of adjacent sampling intervals during the summation process. This represents the total number of valid sampling locations contained in the current historical segment, and .
[0055] When the total change in the denominator of the formula is less than At that time, the historical segment is marked as a segment with insufficient transition changes and is not used to form a state transition reference trajectory. Calculate the zero-value protection boundary for dimensionless floating-point operations, rather than the motor anomaly threshold. This is obtained from the formula. This serves as the basis for mapping historical segments of different lengths to a unified progress coordinate system.
[0056] Furthermore, in this embodiment, the transfer progress from 0 to 1 is divided into 21 ordered progress nodes, with nodes taking values of 0, 0.05, 0.1, ..., 0.95 and 1 respectively, and adjacent progress nodes are spaced 0.05 apart. Optionally, 11 to 51 equally spaced progress nodes can be used. The 21 nodes are preset values for the project, derived to balance the ability to preserve detailed data during the transfer process with the requirements of historical big data statistical calculation. For each historical segment, based on the transfer progress sequence formed by the formula, the two adjacent progress sampling positions are found at each preset ordered progress node, and linear interpolation is performed on the composite value of the three-phase current, the bus voltage value, the rotational speed value, and each component of the phase-to-phase structure vector. If the original transfer progress is exactly equal to the preset node, the data corresponding to that position is directly used. Thus, historical segments with different original sampling lengths are all converted into data records containing the same number of nodes.
[0057] Furthermore, at each ordered progress node, the three-phase current composite value, bus voltage value, speed value, and phase structure vector corresponding to all valid historical segments in the current historical segment set are collected. The median, 25th percentile, and 75th percentile values are independently calculated for each data field. The median value serves as the reference trajectory data for that ordered progress node, and the interval between the 25th and 75th percentile values serves as the quantile interval for the corresponding data field. The span of this interval is used for scaling the residuals of subsequent target data. These quantile intervals come from a set of historical segments with the same transfer characteristic encoding, rather than from pre-defined normal ranges for current, voltage, or speed. Therefore, they can form a corresponding statistical benchmark based on the historical digital operating data already accumulated by the target motor.
[0058] Furthermore, when the number of historical segments with valid data for a given ordered progress node is less than 80% of the total number of historical segments in the corresponding historical segment set, the ordered progress node is marked as a node with insufficient historical data coverage. This embodiment uses 80% as the data coverage ratio boundary to avoid the statistical stability requirement of a few historical segments determining the median and quantile intervals. This boundary is only used to determine whether a statistical node has sufficient data support and is not an anomaly warning threshold. If two or more consecutive ordered progress nodes are both insufficiently covered nodes, the current historical segment set will not generate a formal reference trajectory. For nodes that meet the conditions, the combined three-phase current value, bus voltage value, rotational speed value, and the median value of each component of the phase-to-phase structure vector are connected in the ordered progress order to form a state transition reference trajectory, and the 25th to 75th percentile interval of each node is retained as the residual scale benchmark.
[0059] Following a defined method for generating transfer progress sequences, a target transfer progress sequence is established for each target segment, and the target segment is mapped to an ordered progress node that corresponds to the state transfer reference trajectory. At each ordered progress node, the signed deviations of the three-phase current composite value, bus voltage value, and speed value of the target segment relative to the corresponding median value are calculated, and the three signed deviations are scaled using the interval span of the corresponding quantile interval. The scaled deviations of the three-phase current composite value and the bus voltage value are differentially analyzed to form the electrical excitation residual. The electrical excitation residual and the scaled deviation of the speed value are combined to form a binary coupled residual vector, which serves as the current-voltage-speed coupled residual. The phase-to-phase structure residual vector is formed based on the component differences between the phase-to-phase structure vector of the target segment and the corresponding median phase-to-phase structure vector. The same progress mapping and residual calculation are performed on each historical segment in the historical segment set, forming the historical coupled residual distribution and historical phase-to-phase structure residual distribution for each ordered progress node. Each component of the residual vector corresponding to the target segment is assigned a quantile interval number according to the two historical residual distributions. The ordered progress nodes, the quantile interval numbers of each component, and the residual symbols are recorded as abnormal evidence items in sequence, forming an abnormal evidence sequence according to the order of the ordered progress nodes.
[0060] Furthermore, for each target segment, a unified progress coordinate system is established using the same interquartile range scale, transition progress calculation method, and 21 ordered progress nodes as its corresponding historical segment set. The interquartile range and ordered progress nodes used for target segment scale normalization are derived from the established data processing rules of the corresponding historical segment set and are not readjusted based on the target segment itself, thus avoiding the reverse alteration of the historical comparison scale by the data to be detected. When the effective data coverage of a target segment is less than 80%, the target segment is marked as a data insufficiency segment, and no formal anomaly evidence sequence is generated. When the effective coverage reaches 80% or more, linear interpolation of the data from the two most recent effective transition progress positions is used for the few missing ordered progress nodes to ensure that the target segment and the state transition reference trajectory have the same data dimension.
[0061] Furthermore, considering that the deviations of the three-phase current composite value, bus voltage value, and speed value still have different physical dimensions, and that the current and bus voltage have a common change relationship during motor drive operation, directly superimposing the original deviations would result in dimensional mixing and fail to highlight the inconsistency between the two changes. Therefore, this embodiment first uses the historical quantile interval span corresponding to the ordered progress node to form three dimensionless signed deviations, then performs differential analysis on the current deviation and bus voltage deviation, and together with the speed deviation, forms a current-voltage-speed coupled residual. Simultaneously, an independent inter-phase structural residual vector is formed, specifically:
[0062]
[0063] in, Represents the target fragment data field In the The scale-normalized sign deviation at each ordered progress node relative to the historical reference median is a dimensionless quantity. Represents the target fragment data field Mapped to the The target data value after each ordered progress node. This indicates the corresponding state transition reference trajectory at the . Data fields at each ordered progress node The historical median. Indicates the first Data fields corresponding to each ordered progress node The historical percentile range, that is, the difference between the 75th percentile and the 25th percentile. Represents data fields The minimum scale protection amount is determined by taking three times the minimum effective quantization step size of the corresponding digital data field. This indicates a unified and ordered progress node number. In this embodiment, when 21 progress nodes are used, These correspond to nodes 1 through 21 in sequence. Indicates the first The scale normalization of the composite three-phase current values at each ordered progress node has a signed bias. Indicates the first The scale normalization of the bus voltage values at each ordered progress node has a signed deviation. Indicates the first The scale-normalized signed deviation of the rotation speed values of the ordered progress nodes. Indicates the first The electrical excitation residuals of each ordered progress node are formed by the difference between the dimensionless composite deviation of the three-phase current and the dimensionless bus voltage deviation. The positive and negative signs indicate the direction of deviation between the two relative to the historical reference trajectory. Indicates the first The current-voltage-speed coupled residual vector of each ordered progress node is a binary column vector, whose first component is the electrical excitation residual and the second component is the speed scale normalization deviation. Indicates the target segment number The phase structure vector of an ordered progress node, with three components corresponding to the proportions of the absolute values of the currents of phases A, B, and C to the sum of the absolute values of the three-phase currents. Represents the set of corresponding historical fragments. The median phase structure vector of an ordered progress node has three components, each composed of the historical median value of the corresponding phase structure component. Indicates the first The phase structure residual vector of an ordered progress node is formed by subtracting the target phase structure vector from the median phase structure vector component by component.
[0064] All divisions in the formula use As the denominator, division by zero will not occur even if the historical quantile interval span is zero. The resulting coupled residual vector and interphase structure residual vector are directly compared with the corresponding historical residual distribution, rather than being used as independent outlier scores detached from the historical distribution.
[0065] Furthermore, for each historical segment in the set of historical segments corresponding to the current target segment, the same progress mapping and residual calculation as the target segment are performed. At each ordered progress node, historical electrical excitation residuals, historical rotational speed normalization deviations, and three historical phase-interspersed structural residual components are collected, thus forming historical coupled residual distributions and historical phase-interspersed structural residual distributions. For each of the above historical residual components, the 20th, 40th, 60th, and 80th percentile values are calculated, dividing the residual value range into five sequential quantile intervals, numbered 1, 2, 3, 4, and 5 respectively. Number 1 is the first quantile interval, number 5 is the last quantile interval, and number 3 is the median quantile interval containing the middle part of the historical distribution. Values exactly at the inner boundary are assigned to the adjacent quantile interval with the larger number, ensuring that the quantile interval numbers are unique.
[0066] Furthermore, for each ordered progress node of the target segment, the electrical excitation residual, rotational speed normalization deviation, and three phase-to-phase structural residual components obtained from the formula are read respectively, and the quantile interval number is determined according to their corresponding historical residual distribution. The sign of each residual component is also retained. A residual greater than zero is recorded as "+", a residual less than zero as "-", and a residual equal to zero as "0". Each anomalous evidence item, according to a fixed field order, saves at least the ordered progress node, the quantile interval numbers corresponding to the two coupled residual components, the quantile interval numbers corresponding to the three phase-to-phase structural residual components, and the signs of the five residual components. Anomalous evidence items are digital data records with fixed field definitions and are not directly assigned normal or fault labels in this step.
[0067] Furthermore, following the ascending order of ordered progress nodes, all anomalous evidence items for the current target segment are sequentially written into the anomalous evidence sequence, while preserving the mapping relationship between the target segment number and the original sampling time index. S2 ultimately outputs the state transition reference trajectory for each target segment, the historical residual distribution for each ordered progress node, and the anomalous evidence sequence formed according to the progress order. The anomalous evidence sequence and its historical residual quantile interval numbering rules are used as direct inputs for the cross-segment continuity verification in S3. Thus, a clear data flow is formed from the historical segment set in S1 to the state transition reference trajectory and anomalous evidence sequence in S2, without using independent anomalous indicators of unknown origin.
[0068] It should be noted that S2 does not address the problem of judging all motor operating data using a uniform fixed threshold. Instead, based on the historical segments with the same transfer feature encoding already screened out in S1, it eliminates differences in different dimensions and segment durations through interquartile range scale normalization and transfer progress mapping. Then, it establishes a historical median reference and residual distribution at a uniform progress node. In particular, the normalized deviations of current and bus voltage are differentially divided and then coupled with the speed deviation to form a coupled residual. This allows the relative changes between the three types of operating electrical data to be stored in a repeatable digital structure, rather than directly weighting the three raw quantities to form a universal score. This ensures that the evidence of anomalies has a clear historical data source and corresponding state transition background.
[0069] S3: Perform cross-segment continuity verification on abnormal evidence sequences and determine the warning level based on the residual distribution of the state transition reference trajectory.
[0070] For each target segment's anomalous evidence sequence, anomalous evidence items whose quantile interval numbers of any component of the current-voltage-speed coupling residual or any component of the phase-to-phase structural residual are located at the beginning or end of the corresponding historical residual distribution's quantile interval are marked as candidate evidence items. The symbols of each residual component in each candidate evidence item are arranged in a fixed component order to form a residual direction code. Candidate evidence items with adjacent progress nodes and consistent residual direction codes are connected according to the ordered progress node sequence to form an intra-segment evidence chain. Following the chronological order of the target segment sequence, the running status codes of time-adjacent target segments are compared. If the termination running status code of the previous target segment matches the start running status code of the next target segment, the residual direction codes of the end candidate evidence item of the previous target segment and the start candidate evidence item of the next target segment are further compared. When two residual direction codes match, the corresponding intra-segment evidence chains are connected to form a cross-segment evidence chain. The ordered progress nodes, target segment numbers, start sampling time indices, and end sampling time indices covered by the cross-segment evidence chain are recorded to form a continuity-verified anomalous evidence chain.
[0071] Furthermore, the abnormal evidence sequences of each target segment obtained in step S2, the historical residual quantile interval numbering rules corresponding to each residual component, and the mapping relationship between the target segment sequence number and the sampling time index are used as inputs for this step. For any abnormal evidence item, if the historical quantile interval number of any component in the electrical excitation residual, rotational speed normalization deviation, or interphase structural residual of phases A, B, and C is 1 or 5, then the abnormal evidence item is marked as a candidate evidence item. Numbers 1 and 5 are the first and last quantile intervals of the corresponding historical residual distribution in S2, respectively. Therefore, the candidate conditions come from the statistical position of the same transfer feature encoding historical data, rather than setting an additional absolute abnormal threshold unrelated to historical data.
[0072] Furthermore, each candidate evidence item is assigned a corresponding symbol in a fixed component order: "Electrical Excitation Residual – Speed Normalization Deviation – Phase A Structural Residual – Phase B Structural Residual – Phase C Structural Residual," forming a residual direction code. For example, if the signs of the five components are positive, negative, positive, zero, and negative in sequence, the residual direction code is stored in the same order as "+-+0-". This direction code only indicates the combination of directions of multiple residual components relative to the historical reference and does not indicate the specific fault type. The same component order is always used in all target segments, and all symbol fields must be consistent when comparing two residual direction codes. This allows the consistency of the residual direction to be determined by a computer through a deterministic field comparison.
[0073] Furthermore, within a single target segment, candidate evidence items are scanned in ascending order of ordered progress nodes. When the ordered progress nodes of two candidate evidence items are adjacent in a unified progress sequence and their residual direction codes are completely identical, they are connected. The scan continues forward, and as long as subsequent candidate evidence items simultaneously satisfy node adjacency and direction code consistency, they are added to the evidence chain within the same segment. If a non-candidate evidence item, non-adjacent progress nodes, or a changed direction code appears in the middle, the evidence chain within the current segment is terminated, and a new judgment is made based on subsequent candidate evidence items. Since "connection" involves at least two adjacent candidate evidence items, the evidence chain within a formal segment contains at least two candidate evidence items, excluding isolated single-node end-part data from a data continuity perspective.
[0074] Furthermore, considering that different target segments only have continuous connection significance when the running status data is consecutive and the abnormal residual direction is consistent, this embodiment compares the running status code and boundary residual direction code of two target segments that are adjacent in time, and adopts the following connection determination relationship:
[0075]
[0076] in, Indicates the chronological order of the first The target segment and the first The result of determining the evidence chain connection between target fragments is either 0 or 1. This represents the target segment number determined according to the time sequence of the target segment sequence, and is a positive integer. Indicates the first The running status code corresponding to the termination sampling time index of each target segment originates from the target segment data formed by S1. Indicates the first The running status code corresponding to the starting sampling time index of each target segment originates from the target segment data formed by S1. Indicates the first The residual direction code corresponding to the candidate evidence item at the end of each target segment is derived from the arrangement result of the fixed symbol field mentioned above in the current step. Indicates the first The residual direction code corresponding to the initial candidate evidence item of each target segment.
[0077] when At that time, connecting the chains of evidence within two consecutive segments forms a cross-segment chain of evidence. If no cross-segment connection is performed, the current chain is terminated. No additional weights or similarity thresholds are set in the formula, and both running status codes and two residual direction codes are subject to complete consistency conditions. Therefore, the connection judgment result can be directly reproduced from the preceding data.
[0078] Furthermore, an independent data record is established for each segment-based evidence chain, storing at least the evidence chain identifier, the target segment number covered by the chain, the ordered progress nodes covered in each target segment, the starting sampling time index corresponding to the first candidate evidence item, and the ending sampling time index corresponding to the last candidate evidence item. If adjacent target segments overlap in the original sampling time range, the underlying data record is deduplicated and sorted according to the global sampling time index, without recalculating the overlapping time position. Through the above recording method, the abnormal evidence chain retains the continuous relationship in the unified progress coordinates and also saves the time range of its corresponding original operating electrical data, forming an abnormal evidence chain after continuity verification, which serves as the input for calculating the warning level.
[0079] For each chain of anomalous evidence, calculate the ordinal distance between the quantile interval number of each residual component in each anomalous evidence item and the corresponding quantile interval number of the historical residual distribution. Use the maximum ordinal distance within the same anomalous evidence item as the residual ordinal number of the evidence item, and accumulate these distances along the anomalous evidence chain to form the chain residual ordinal. Form a persistence ordinal based on the number of target segments traversed by the anomalous evidence chain. Combine the historical quantile interval numbers corresponding to the chain residual ordinals with the persistence ordinal numbers to form a warning level index, and output the warning level index, as well as the start and end sampling time indices of the anomalous evidence chain.
[0080] Furthermore, in this embodiment, each historical residual component is divided into five sequential quantile intervals numbered 1 to 5 in S2, with interval 3 serving as the median quantile interval. Therefore, for each anomalous evidence item in the anomalous evidence chain, the absolute difference between the current quantile interval number and the corresponding median quantile interval number 3 for each of its five residual components is calculated, and the maximum value is taken as the residual sequence number of that evidence item. As can be seen from the five-interval structure, the sequence distance of a single residual component is 0, 1, or 2. Using the quantile interval sequence number instead of directly accumulating the original values of current, voltage, and rotational speed avoids the re-mixing of different physical dimensions. Using the maximum sequence distance within the same anomalous evidence item preserves the degree of discrete deviation corresponding to the residual component that deviates furthest from the historical distribution within that evidence item.
[0081] Furthermore, considering that the final early warning needs to reflect both the cumulative deviation of the abnormal evidence chain from the historical residual distribution and the duration of the same abnormal direction across state transition segments, this embodiment forms the evidence item residual sequence, chain residual sequence, and duration sequence, and further forms an early warning level index according to the quantile interval of the historical chain residual sequence, specifically as follows:
[0082]
[0083] in, Indicating the first in the abnormal evidence chain The residual order of an abnormal evidence item is derived from the maximum order distance between the quantile interval numbers of all residual components within that evidence item and their respective median quantile interval numbers. This indicates the sequence number of the abnormal evidence item within the current abnormal evidence chain, arranged in chronological and ordered order. Indicates the residual component number in the abnormal evidence item. This represents the total number of residual components involved in the residual order calculation. This embodiment includes the electrical excitation residual, speed normalization deviation, and structural residuals of phases A, B, and C, totaling [amount missing]. . Indicates the first The first abnormal evidence item The historical quantile interval numbers corresponding to each residual component are numbered from 1 to 5, and are derived from the historical residual distribution comparison results of S2. Indicates the first Each residual component corresponds to a median quantile interval number of the historical residual distribution. In this embodiment, the median quantile interval number is 3. The chain residual position represents the current abnormal evidence chain, which is formed by accumulating the residual positions of all evidence items contained in the chain along the chain in sequence. This represents the total number of abnormal evidence items in the current abnormal evidence chain, and is a positive integer. Indicates the current position in the chain of evidence that is abnormal. This indicates the number of different target segments that the current abnormal evidence chain spans. It is obtained by deduplicating the target segment sequence numbers stored in the abnormal evidence chain, with a minimum value of 1. This represents the 20th percentile value of the historical chain residual ordinal distribution corresponding to the current transition feature encoding. This represents the 40th percentile value of the corresponding historical chain residual ordinal distribution. This represents the 60th percentile value of the corresponding historical chain residual ordinal distribution. This represents the 80th percentile value of the corresponding historical chain residual ordinal distribution. This indicates the quantile interval number of the current chain residual position in the distribution of the corresponding historical chain residual positions, with a value ranging from 1 to 5. This represents the final warning level index, which is a binary column vector. The first component is the historical quantile interval number corresponding to the chain residual sequence position, and the second component is the persistence sequence position.
[0084] The historical chain residual order distribution in the formula is formed by applying the same residual quantile numbering, continuous evidence connection, and chain residual order accumulation rules to the historical segments in the historical segment set corresponding to the target segment as to the current target data. The current chain of evidence to be detected is not used in its own historical boundary statistics. If the number of available historical chains is less than 20, the existing residual data is maintained, but the corresponding warning level index is marked as insufficient historical chain statistics, and the historical distribution is not supplemented with data to be detected. The 20 chains are consistent with the minimum statistical sample size of the S1 historical segment set, serving as the lower limit of the data volume for quantile statistics, rather than an anomaly threshold.
[0085] Furthermore, after the historical chain residual quantiles are formed, their 20th, 40th, 60th, and 80th percentile values are statistically analyzed as the four boundary values of the formula and stored according to numbers 1 to 5. Using a five-level sequential numbering method consistent with the S1 state interval and the S2 residual quantile interval ensures that the meaning of discrete intervals in the entire data processing chain remains consistent. However, each quantile boundary is statistically obtained separately from its corresponding data object and cannot be substituted for one another. If two adjacent historical quantile boundaries have equal values due to a large number of identical quantiles in historical samples, the equal data is recorded according to the interval with the higher number. If all historical chain residual quantiles are identical and cannot form an effective quantile hierarchy, it is recorded as an indistinguishable state of historical chain quantiles, without forcibly generating false five-level differences.
[0086] Furthermore, the persistence order is directly formed by the number of different target segments traversed by the anomalous evidence chain. For example, an anomalous evidence chain located only within one target segment has a persistence order of 1. When connecting two time-adjacent target segments, the persistence order is 2, and so on. The persistence order does not directly accumulate the number of target segment sampling points, nor is it adjusted by human weight, because each target segment is formed around one running state code transition, and the number of target segments can represent the range of anomalous evidence traversing continuous state transition processes in the same direction under a unified data structure. When stored in the computer, the actual positive integer value is retained, and larger persistence orders are not truncated. When displayed on the interface, a separate display mapping can be used, but the underlying warning level index data must not be changed.
[0087] Furthermore, the final early warning data record should at least include the early warning level index obtained from the formula. The system includes an anomaly evidence chain identifier, a start sampling time index, a stop sampling time index, and the sequence number of the target segment covered. The closer the first index component is to number 5, the closer the current chain residual sequence position is to the higher end of the corresponding historical chain residual sequence position distribution. The second index component directly indicates the number of target segments crossed by the anomaly evidence relationship. These two components remain independent fields and are not synthesized into a single black-box score using unpublished weighting coefficients, thus enabling the warning results to trace the historical source of the deviation from the sequence position and the source of the cross-segment persistence separately.
[0088] Furthermore, based on the start and end sampling time indices in the final early warning data record, the corresponding time range of three-phase current, bus voltage, and speed data, as well as the operating status code and transition feature code formed by S1, can be directly retrieved from the digital operation electrical data storage area. Simultaneously, based on the ordered progress nodes saved in the abnormal evidence chain, the coupling residuals, interphase structure residuals, and historical quantile interval numbers in S2 can be retrieved. Therefore, the final early warning level index is not an uninterpretable model output, but rather a data processing result that can be traced backwards along the sequence of "early warning level index—abnormal evidence chain—abnormal evidence item—residual data—state transition reference trajectory—historical fragment set—original digital operation electrical data".
[0089] It should be noted that S3 does not directly convert individual data points at the ends of the historical residual distribution into the final warning. Instead, it first uses the continuity of progress nodes and the consistency of residual direction codes to form an evidence chain within a segment, and then uses the connection relationship of the running status codes of the preceding and following target segments and the consistency of the boundary residual direction codes to implement cross-segment connections. Finally, it retains the historical deviation sequence and the cross-segment persistence sequence separately, avoiding the compression of the two into a single score through uninterpretable weights. This allows for the differentiation between isolated end data and persistent anomaly evidence from both the data structure and temporal continuity levels, and ensures that the final warning result maintains the data processing attributes of traceability and recalculation.
[0090] Example 2, an embodiment of the present invention, provides a motor anomaly detection and early warning system based on big data, including a transfer segment encoding module, a coupled residual construction module, and a cross-segment early warning module.
[0091] The transfer segment encoding module is used to acquire the digital operating electrical data of the target motor, transfer it according to the operating state to form a target segment sequence, and retrieve historical segments with the same transfer feature encoding.
[0092] The Coupled Residual Construction Module is used to construct a state transition reference trajectory using historical fragments, calculate the coupled residuals of each target fragment, and generate anomaly evidence sequences.
[0093] The cross-segment early warning module is used to perform cross-segment continuity verification on abnormal evidence sequences and determine the early warning level based on the residual distribution of the state transition reference trajectory.
Claims
1. A method for detecting and warning of motor anomalies based on big data, characterized in that, include: Acquire the digital operating electrical data of the target motor, transfer it according to the operating state to form a target segment sequence, and retrieve historical segments with the same transfer feature code; A state transition reference trajectory is constructed using historical fragments, the coupling residuals of each target fragment are calculated, and anomaly evidence sequences are generated. Cross-segment continuity verification is performed on abnormal evidence sequences, and the warning level is determined based on the residual distribution of the state transition reference trajectory.
2. The method for motor anomaly detection and early warning based on big data as described in claim 1, characterized in that: The process of transferring the target fragment sequence according to the operating state includes, Obtain the three-phase current sequence, bus voltage sequence, and speed sequence corresponding to the sampling time index, and form a composite three-phase current value from the current values of each phase. Based on the quantiles of historical operating electrical data sets, the three-phase current composite value, bus voltage value, and speed value are divided into state intervals, and the corresponding interval numbers are used to form an operating state code; The moment when the adjacent running status codes change within the time period to be detected is taken as the transfer center. The continuous sampling data before and after the transfer center are formed into target segments, and the target segment sequence is formed in chronological order.
3. The motor anomaly detection and early warning method based on big data as described in claim 2, characterized in that: The historical segments with the same retrieval transfer feature encoding include... The target motor's digital operating electrical data earlier than the time period to be detected are used to form a historical operating electrical dataset. Based on the defined state interval division method and the operating status code generation method, the historical transfer center is identified in the historical operating electrical dataset and historical segments are formed. For the target segment, read the running status code corresponding to the starting sampling time index and the running status code corresponding to the ending sampling time index of the target segment, compare the three-phase current composite value, bus voltage value and speed value on both sides before and after the transfer center, and generate the current change direction code, voltage change direction code and speed change direction code respectively. The starting operation status code, ending operation status code, current change direction code, voltage change direction code, and speed change direction code are sequentially spliced together to form the transfer feature code of the target segment; For each historical segment, a historical transfer feature code is generated, which is formed by sequentially splicing together the corresponding start running status code, end running status code, current change direction code, voltage change direction code and speed change direction code; The transition feature codes of the target segment are compared with the historical transition feature codes field by field. Historical segments with consistent historical transition feature codes across all fields are identified as historical segments with identical transition feature codes. A set of corresponding historical segments is then established for each target segment.
4. The motor anomaly detection and early warning method based on big data as described in claim 3, characterized in that: The method of constructing a state transition reference trajectory using historical fragments includes, For each target segment corresponding to the set of historical segments, at each sampling time index of each historical segment, a composite value of three-phase current is formed according to the three-phase current sequence, and the proportion of the absolute value of each phase current to the sum of the absolute values of the three-phase current is used to form an interphase structure vector. Based on the interquartile range of the composite three-phase current, bus voltage, and rotational speed values within the historical fragment set, the changes in the composite three-phase current, bus voltage, and rotational speed values between adjacent sampling time indices are scaled and normalized. The absolute values of the three normalized changes are accumulated along the time sequence of the historical segments to form a transition progress sequence that increases from the starting point of the segment to the ending point of the segment; Based on the transfer progress sequence, historical segments of different lengths are mapped to unified ordered progress nodes; At each ordered progress node, the median value and quantile interval of the three-phase current composite value, bus voltage value, speed value, and each component of the phase structure vector are statistically analyzed. The median values corresponding to each ordered progress node are connected in the progress order to form a state transition reference trajectory. At the same time, the quantile interval corresponding to each ordered progress node is retained as the residual scale benchmark.
5. The motor anomaly detection and early warning method based on big data as described in claim 4, characterized in that: The calculation of the coupling residuals of each target segment and the generation of anomaly evidence sequences include, According to the defined method for generating the transfer progress sequence, a target transfer progress sequence is established for each target segment, and the target segment is mapped to an ordered progress node that is the same as the corresponding state transfer reference trajectory. At each ordered progress node, the signed deviations of the three-phase current composite value, bus voltage value and speed value of the target segment relative to the corresponding median value are calculated, and the three signed deviations are scaled and normalized using the interval span of the corresponding quantile interval. The deviation of the three-phase current composite value after scaling and the deviation of the bus voltage value are differentially analyzed to form the electric excitation residual. The electric excitation residual and the deviation of the speed value after scaling are combined to form a binary coupled residual vector, which is used as the current-voltage-speed coupled residual. The phase structure residual vector is formed based on the component differences between the phase structure vector of the target segment and the corresponding median phase structure vector. Perform the same schedule mapping and residual calculation on each historical segment in the historical segment set to form the historical coupled residual distribution and historical inter-phase structural residual distribution for each ordered schedule node; Each component of the residual vector corresponding to the target segment is assigned a quantile interval number according to the two historical residual distributions. The ordered progress nodes, the quantile interval numbers of each component, and the residual symbols are recorded as abnormal evidence items in sequence, forming an abnormal evidence sequence according to the order of the ordered progress nodes.
6. The motor anomaly detection and early warning method based on big data as described in claim 5, characterized in that: The cross-segment continuity verification of the abnormal evidence sequence includes, For each target segment's sequence of anomalous evidence, anomalous evidence items whose quantile interval numbers of any component of the current-voltage-speed coupling residual or any component of the phase-to-phase structural residual are located in the first or last quantile interval of the corresponding historical residual distribution are marked as candidate evidence items. The signs of each residual component in each candidate evidence item are arranged in a fixed component order to form a residual direction code; Connect candidate evidence items that are adjacent to each other in the ordered progress node sequence and have the same residual direction code to form an evidence chain within the fragment. According to the time sequence of the target segments, compare the running status codes of the target segments that are adjacent in time. When the termination running status code of the previous target segment is consistent with the start running status code of the next target segment, continue to compare the residual direction codes of the candidate evidence items at the end of the previous target segment and the candidate evidence items at the beginning of the next target segment. When two residual direction codes are consistent, connect the evidence chains within the corresponding segments to form a cross-segment evidence chain; Record the ordered progress nodes, target segment number, start sampling time index, and end sampling time index of the cross-segment evidence chain to form an abnormal evidence chain after continuity verification.
7. The motor anomaly detection and early warning method based on big data as described in claim 6, characterized in that: The determination of the early warning level based on the residual distribution of the state transition reference trajectory includes, For each chain of anomalous evidence, calculate the ordinal distance between the quantile interval number of each residual component in each anomalous evidence item and the quantile interval number of the corresponding historical residual distribution. Use the maximum ordinal distance in the same anomalous evidence item as the residual ordinal position of the evidence item, and accumulate them along the anomalous evidence chain to form the chain residual ordinal position. A continuous sequence is formed based on the number of target segments crossed by the abnormal evidence chain; The historical quantile interval numbers corresponding to the chain residual sequence positions are sequentially combined with the persistence sequence positions to form the early warning level index. The early warning level index and the start sampling time index and end sampling time index of the abnormal evidence chain are then output.
8. A motor anomaly detection and early warning system based on big data, employing the motor anomaly detection and early warning method based on big data as described in any one of claims 1 to 7, characterized in that: It includes a transfer segment encoding module, a coupled residual construction module, and a cross-segment early warning module; The transfer segment encoding module is used to acquire the digital operating electrical data of the target motor, transfer it according to the operating state to form a target segment sequence, and retrieve historical segments with the same transfer feature encoding. The coupled residual construction module is used to construct a state transition reference trajectory using historical fragments, calculate the coupled residuals of each target fragment, and generate anomaly evidence sequences. The cross-segment early warning module is used to perform cross-segment continuity verification on abnormal evidence sequences and determine the early warning level based on the residual distribution of the state transition reference trajectory.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the big data-based motor anomaly detection and early warning method as described in any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the big data-based motor anomaly detection and early warning method as described in any one of claims 1 to 7.
