Servo permanent magnet synchronous motor fault detection method based on artificial intelligence

By employing an AI-based fault detection method for servo permanent magnet synchronous motors, and utilizing windowing processing and adaptive windowing mechanisms, combined with a class of SVM models and quantile threshold judgment, the problems of real-time performance and high false alarm rate in servo permanent magnet synchronous motor fault detection are solved, achieving efficient and predictable fault detection and diagnosis.

CN120971963AActive Publication Date: 2025-11-18ZHONGZHI NANJING ELECTRIC CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202511497322.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-10-20
Publication Date
2025-11-18
Estimated Expiration
2045-10-20

AI Technical Summary

Technical Problem

Existing fault detection technologies for servo permanent magnet synchronous motors have shortcomings in terms of real-time detection, processing efficiency, and predictability of results. In particular, threshold-based methods are susceptible to transient disturbances and may lead to misjudgments, while traditional machine learning-based methods have high computational complexity and unpredictable time consumption.

Method used

An artificial intelligence-based approach is adopted, which combines data collection, feature extraction and anomaly scoring with windowing processing and adaptive windowing mechanism. A support vector machine (SVM) model is used for fault detection, and combined with quantile threshold and continuous triggering strategy, to achieve real-time and predictable fault determination.

Benefits of technology

It achieves strong real-time performance, predictable processing and low false alarm rate in servo permanent magnet synchronous motor fault detection, can quickly respond to anomalies and reduce false alarm rate, and facilitates subsequent fault type diagnosis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120971963A_ABST
    Figure CN120971963A_ABST
Patent Text Reader

Abstract

The invention discloses a servo permanent magnet synchronous motor fault detection method based on artificial intelligence, which belongs to the technical field of servo motor detection and comprises the steps of data acquisition and windowing, feature extraction and anomaly calculation, static threshold judgment, adaptive window and probability judgment and continuous trigger strategy and alarm output. The technical problems of high detection real-time performance, predictable processing process and low false alarm rate in servo permanent magnet synchronous motor fault detection are solved, a windowed sampling data processing mode is adopted, continuous data are segmented into windows with fixed lengths, features are extracted from each window, abnormality degree judgment is performed, and the accuracy of fault detection is improved. The certainty of the processing time is ensured, and the sensitivity to abnormal fluctuation can be considered through a self-adaptive window mechanism. In combination with quantile threshold judgment and a continuous triggering strategy, the false alarm rate is remarkably reduced, and meanwhile, only abnormal data is output, so that subsequent expansion to specific fault type diagnosis is facilitated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of servo motor testing technology, and in particular relates to a fault detection method for servo permanent magnet synchronous motors based on artificial intelligence. Background Technology

[0002] Servo permanent magnet synchronous motors are widely used in intelligent manufacturing and motion control, but during operation, they often experience problems such as current distortion, voltage fluctuations, and harmonic distortion due to power grid fluctuations, driver failures, or winding abnormalities. To prevent the faults from escalating, it is necessary to monitor and alarm the motor's operating status in a timely manner.

[0003] Existing fault detection technologies mainly fall into two categories: One type is threshold-based monitoring methods, which typically set upper and lower limits for measured data such as current and voltage to make judgments. This method is simple to implement, but it is easily affected by transient disturbances, leading to misjudgments.

[0004] Another type is classification methods based on traditional machine learning, which usually require feature extraction and model training on all raw data. The data processing lacks a unified time division mechanism, resulting in high computational complexity and unpredictable processing time, making it difficult to meet the real-time detection requirements of motors.

[0005] Therefore, existing methods still have shortcomings in terms of real-time detection, processing efficiency, and predictability of results. Summary of the Invention

[0006] The purpose of this invention is to provide a fault detection method for servo permanent magnet synchronous motors based on artificial intelligence, which solves the technical problems of achieving strong real-time detection, predictable processing, and low false alarm rate in fault detection of servo permanent magnet synchronous motors.

[0007] To achieve the above objectives, the present invention adopts the following technical solution: A fault detection method for servo permanent magnet synchronous motors based on artificial intelligence includes the following steps: Step 1: The data acquisition module synchronously acquires the raw data generated by the servo motor drive system, including the three-phase current. and DC bus voltage The continuous sampling frames of the original data are divided into several windows for data analysis; Step 2: The feature extraction module calculates the feature vector for each window. The feature vector includes temporal and order components. The feature vector is input into a class of SVM models to obtain the original decision output. The original decision output is then mapped to a normalized anomaly score for the window. ; Step 3: The window analysis module sets static quantile threshold intervals and scores the anomaly level. Make a judgment: if the anomaly score is... If the score is less than the lower limit of the quantile threshold interval, it is considered normal; if the upper limit of the quantile threshold interval is less than the abnormality score... If this occurs, it is considered an anomaly, and the window's start time is taken as the time of the fault occurrence. Generate alarm information ALM1 and output the fault occurrence time. Combine the data in the window and end; if the anomaly score is... If the value falls within the quantile threshold range, then proceed to step 4 for probabilistic adaptive determination. Step 4: Window Analysis Module Characteristic Volatility ,according to The length of the window is automatically selected to obtain an adaptive window. The feature vector is then extracted and the anomaly score is recalculated on the adaptive window using the method in step 2, resulting in a feature vector based on the adaptive window. and anomaly score Anomaly score for adaptive window Anomaly score compared to the corresponding original window Perform a weighted summation to obtain the final anomaly score. Regarding the final anomaly degree Perform probabilistic judgment to obtain the probability of failure of the adaptive window. ; Step 5: The fault diagnosis module establishes a continuous triggering strategy based on the K / M principle, and assigns the probability of fault for each adaptive window. The data is summarized, and the faults are checked against the continuous triggering strategy. If the triggering conditions in the continuous triggering strategy are met, an alarm message is generated and output; the alarm message includes the fault occurrence time. The data in the adaptive window is now complete.

[0008] Preferably, step 1 includes the following steps: Step 1-1: The data acquisition module reads the synchronously acquired three-phase current from the servo motor drive system. and DC bus voltage Generate a continuous sampling sequence : ; in, These are the phase a current value, phase b current value, and phase c current value at the nth sampling point, respectively. This represents the total number of sampling points; The DC bus voltage at the nth sampling point; Step 1-2: Preset a fixed number of periods, and sample the sequence. The data is divided into several windows for analysis based on a fixed number of periods, and a dataset is constructed for each window. Each window contains One sampling point: ; ; in, This represents the data set of the t-th window; and These are the indices of the starting and ending sampling points of the t-th window, respectively. These represent the phase a current values ​​at the nth sampling point in the t-th window, respectively. b-phase current value c-phase current value and DC bus voltage value .

[0009] Preferably, step 2 includes the following steps: Step 2-1: Calculate the feature vector for each window, specifically including temporal feature calculation and order component feature calculation: The time-domain feature calculation is as follows: Calculate the window value using the following formulas. In root mean square value : ; ; ; ; in, , , and These represent the current in the t-th window, respectively. Root mean square value, current Root mean square value, current Root mean square value and DC bus voltage Root mean square value; The calculation of the ordinal component features is as follows: Calculate the magnitude of the negative-order component : , ; Calculate the zero-sequence current amplitude The specific formula is as follows: ; Step 2-2: Constructing Feature Vectors The details are as follows: ; in, This represents the feature vector of the t-th window; Steps 2-3: ... The input is fed into a class of SVM models, and the output is anomaly score. : ; in, Represents a class of SVM model mapping functions. This represents the original anomaly score for the t-th window. The value of is normalized to the interval [0,1].

[0010] Preferably, step 3 includes the following steps: Step 3-1: Select a set of normal data from the original data as training data. Based on the training data and the methods in Steps 1 to 2, obtain a set of anomaly scores based on the training data. Take set average As the baseline score for normal data, a quantile threshold interval is calculated based on the baseline score. The specific calculation formula is as follows: ; in, Indicates will The The percentile value is used as the static lower limit threshold. Indicates will The Percentile value, used as a static upper limit threshold; This represents the lower limit of the quantile threshold interval. This represents the upper limit of the quantile threshold range; The value is 95%. The value is 99%; Step 3-2: In actual operation, for the new t-th window obtained through the methods in Step 1 and Step 2, score its anomaly. Perform static determination: ; in, This represents the judgment result for the t-th window; Steps 3-5: If If it is not critical, then output. If the result is If the error is abnormal, the start time of the t-th window will be taken as the time of the fault occurrence. Generate alarm information ALM1 and output the fault occurrence time. End with the data in the window; like The result is critical, so proceed to step 4.

[0011] Preferably, step 4 includes the following steps: Step 4-1: Obtain For the t-th window that is at the critical point, obtain the feature vector of that window. Simultaneously, retrieve the feature vector of the (t-1)th window. Calculate the characteristic volatility of these two adjacent windows. : ; in, The second norm of a vector; Step 4-2: Preset the upper limit of the rate of change and lower limit of rate of change Based on characteristic volatility Adaptive selection of window length : like Then use a fixed number of points Shorten the window; like Then use a fixed number of points Lengthen the window; Step 4-3: For the adjusted adaptive window, use the methods from Steps 1 to 3 to re-extract the feature vector. And calculate the anomaly score of the adaptive window. ; Step 4-4: Scoring the anomaly of the adaptive window Anomaly score compared to the corresponding original window The anomaly is then fused to obtain the final anomaly score. : ; in, These are adaptive weights used based on characteristic volatility. Adjust the weight of the original window of fixed length. ; Steps 4-5: Determine the final anomaly level Perform probabilistic judgment to obtain the probability of failure of the adaptive window. : , ; in, This represents the lower limit of the quantile threshold interval. This represents the upper limit of the quantile threshold range; This indicates the probability that the adaptive window is faulty.

[0012] Preferably, step 5 includes the following steps: Step 5-1: Retrieve the fault probability of any t0th adaptive window ; Step 5-2: Establish a continuous triggering strategy Specifically, this refers to the K / M principle: ; in, To adapt the failure probability of the window, Here, K is the probability threshold, with a default value of 0.5. M is the total number of consecutive adaptive windows, and K is the threshold for the number of adaptive windows judged as abnormal. This indicates an indicator function that, when the condition is met... If the condition is met, the indicator function outputs 1; otherwise, it outputs 0. Indicates the starting index of the contiguous window, that is, the first... The first adaptive window is used as the starting window of the continuous adaptive window, and t is the index of the continuous adaptive window; like If the window is not found to be faulty, then the adaptive window is confirmed to be faulty, i.e., the window is abnormal; otherwise, the next adaptive window is checked sequentially downwards. Step 5-3: Place the first The start time of each adaptive window is used as the time of failure. Generate alarm information and output the time of fault occurrence. Generate alarm information ALM2 and output the fault occurrence time. And the data in the adaptive window.

[0013] This invention presents an artificial intelligence-based fault detection method for servo permanent magnet synchronous motors, addressing the technical challenges of achieving high real-time detection, predictable processing, and low false alarm rates in servo permanent magnet synchronous motor fault detection. The invention employs a windowed sampling data processing approach, dividing continuous data into fixed-length windows. Features are extracted and anomaly assessments are performed within each window, ensuring deterministic processing time while maintaining sensitivity to abnormal fluctuations through an adaptive window mechanism. Combining quantile threshold assessment with a continuous triggering strategy significantly reduces the false alarm rate, and only outputs abnormal data, facilitating subsequent expansion to diagnose specific fault types. Attached Figure Description

[0014] Figure 1 This is an overall flowchart of the present invention; Figure 2This is a flowchart of step 1 of the present invention; Figure 3 This is a flowchart of step 2 of the present invention; Figure 4 This is a flowchart of step 3 of the present invention; Figure 5 This is a flowchart of step 4 of the present invention; Figure 6 This is a flowchart of step 5 of the present invention. Detailed Implementation

[0015] Depend on Figures 1-6 The method for fault detection of a servo permanent magnet synchronous motor based on artificial intelligence, as shown, includes the following steps: Step 1: The data acquisition module synchronously acquires the raw data generated by the servo motor drive system, including the three-phase current. and DC bus voltage The continuous sampling frames of the original data are divided into several windows for data analysis; Step 1 includes the following steps: Step 1-1: The data acquisition module reads the synchronously acquired three-phase current from the servo motor drive system. and DC bus voltage Generate a continuous sampling sequence : ; in, These are the phase a current value, phase b current value, and phase c current value at the nth sampling point, respectively. This represents the total number of sampling points. The value is calculated based on the sampling time and sampling frequency; The DC bus voltage at the nth sampling point; In this embodiment, within one sampling period, the data acquisition module reads a time-continuous data sequence from the servo motor drive system. These data sequences generally include: ; ; ; ; During this process, the three-phase current and the bus DC voltage are all acquired by the same AD chip in the servo motor drive system, and the time is based on the same timestamp of the servo motor drive system.

[0016] Within one period, n data points are collected, and the total number of data points collected is... The value is obtained by dividing the sampling time and sampling frequency by the predetermined sampling time of the data acquisition module. The sampling time and sampling frequency can be set according to different working conditions.

[0017] Step 1-2: Preset a fixed number of periods, and sample the sequence. The data is divided into several windows for analysis based on a fixed number of periods, and a dataset is constructed for each window. Each window contains One sampling point: ; ; in, This represents the data set of the t-th window; and These are the indices of the starting and ending sampling points of the t-th window, respectively. In this embodiment, to facilitate fixing the window length, the fixed number of cycles and The size of the window affects the speed of window processing. Generally, the sampling frequency Fs = 10kHz and the default window ≈ 10 electrical cycles.

[0018] These represent the phase a current values ​​at the nth sampling point in the t-th window, respectively. b-phase current value c-phase current value and DC bus voltage value . It also indicates the length of the window; it usually corresponds to a fixed number of electrical cycles × number of sampling points / cycle; In this embodiment, all sampling points use a unified system timestamp to ensure that the three-phase current and the bus voltage correspond on the same time axis.

[0019] Step 2: The feature extraction module calculates the feature vector for each window. The feature vector includes temporal and order components. The feature vector is input into a class of SVM models to obtain the original decision output. The original decision output is then mapped to a normalized anomaly score for the window. ; One type of SVM model is existing technology, so it will not be described in detail.

[0020] Step 2 includes the following steps: Step 2-1: Calculate the feature vector for each window, specifically including temporal feature calculation and order component feature calculation: The time-domain feature calculation is as follows: Calculate the window value using the following formulas. In root mean square value : ; ; ; ; in, , , and These represent the current in the t-th window, respectively. Root mean square value, current Root mean square value, current Root mean square value and DC bus voltage Root mean square value; The calculation of the ordinal component features is as follows: Calculate the magnitude of the negative-order component : , ; It is the imaginary unit.

[0021] Calculate the zero-sequence current amplitude The specific formula is as follows: ; Step 2-2: Constructing Feature Vectors The details are as follows: ; in, This represents the feature vector of the t-th window; In this embodiment, it is not limited to extracting only the root mean square value. Sum of components characteristics and Users can change the feature extraction model in the feature extraction module according to the working conditions to achieve the effect of adapting to various working conditions.

[0022] This embodiment only applies to... Several typical features were extracted.

[0023] Steps 2-3: ... The input is fed into a class of SVM models, and the output is anomaly score. : ; in, Represents a class of SVM model mapping functions. This represents the original anomaly score for the t-th window. The value of is normalized to the interval [0,1].

[0024] When using a class of SVM models, multiple sets of historical normal data should be selected from the original data as the training set.

[0025] When a new window is used as a sample and a class of SVM models is used to classify the sample, if the output of the class of SVM models is positive, the sample is within the normal boundary, and the closer it is to 0, the more critical it is. If the value is negative, the sample is outside the boundary, indicating an anomaly. In this embodiment, normalization can be used to map the output values ​​of a class of SVM models to the [0,1] interval, which facilitates subsequent processing.

[0026] In this embodiment, for The normalization of the values ​​is calculated as follows: ; in, The function is a normalization function, where k and c are scaling parameters. The normalization calculation is a current technique and will not be described in detail.

[0027] Step 3: The window analysis module sets static quantile threshold intervals and scores the anomaly level. Make a judgment: if the anomaly score is... If the score is less than the lower limit of the quantile threshold interval, it is considered normal; if the upper limit of the quantile threshold interval is less than the abnormality score... If this occurs, it is considered an anomaly, and the window's start time is taken as the time of the fault occurrence. Generate alarm information ALM1 and output the fault occurrence time. Combine the data in the window and end; if the anomaly score is... If the value falls within the quantile threshold range, then proceed to step 4 for probabilistic adaptive determination. Step 3 includes the following steps: Step 3-1: Select a set of normal data from the original data as training data. Based on the training data and the methods in Steps 1 to 2, obtain a set of anomaly scores based on the training data. Take set average As the baseline score for normal data, a quantile threshold interval is calculated based on the baseline score. The specific calculation formula is as follows: ; in, Indicates will The The percentile value is used as the static lower limit threshold. Indicates will The Percentile value, used as a static upper limit threshold; This represents the lower limit of the quantile threshold interval. This represents the upper limit of the quantile threshold range; The value is 95%. The value is 99%; In this embodiment, features are extracted from data under normal operating conditions in steps 1 and 2, and an anomaly score Ds for each window is obtained through a type of SVM.

[0028] Since the training data itself is "normal", these Ds values ​​should mostly be concentrated in the low range (close to normal).

[0029] When analyzing the distribution of these Ds, we find that they exhibit a certain "long-tail" characteristic: Most data points are concentrated in a small area (stable and normal operating conditions).

[0030] A small number of data points may be overestimated due to noise, disturbances, or other reasons.

[0031] To distinguish between "obviously normal" and "obviously abnormal", this embodiment sets a threshold range: lower limit (i.e., 95%): Ensure that the majority of truly normal data is included; upper limit (i.e., 99%): Used to remove data that deviates significantly from the normal range.

[0032] In this embodiment, 95% and 99% are selected using quantiles: The 95th percentile means that after sorting all the training data by Ds, 95% of the data are less than this value; The 99th percentile means that 99% of the normal data are less than this value.

[0033] Therefore: If the anomaly score of a new data window is lower than This can almost be considered normal. If a new window's rating exceeds... It can be judged as abnormal with a high degree of confidence.

[0034] Data falling within this range is uncertain whether it is a minor disturbance or a potential fault, and step 4 needs to be performed for further judgment.

[0035] This ensures that the data processing process has both stability (avoiding false alarms) and sensitivity (avoiding missed detections).

[0036] Step 3-2: In actual operation, for the new t-th window obtained through the methods in Step 1 and Step 2, score its anomaly. Perform static determination: ; in, This represents the judgment result for the t-th window; Steps 3-5: If If it is not critical, then output. If the result is If the error is abnormal, the start time of the t-th window will be taken as the time of the fault occurrence. Generate alarm information ALM1 and output the fault occurrence time. End with the data in the window; like The result is critical, so proceed to step 4.

[0037] Step 4: Window Analysis Module Characteristic Volatility ,according to The length of the window is automatically selected to obtain an adaptive window. The feature vector is then extracted and the anomaly score is recalculated on the adaptive window using the method in step 2, resulting in a feature vector based on the adaptive window. and anomaly score Anomaly score for adaptive window Anomaly score compared to the corresponding original window Perform a weighted summation to obtain the final anomaly score. Regarding the final anomaly degree Perform probabilistic judgment to obtain the probability of failure of the adaptive window. ; Step 4 includes the following steps: Step 4-1: Obtain For the t-th window that is at the critical point, obtain the feature vector of that window. Simultaneously, retrieve the feature vector of the (t-1)th window. Calculate the characteristic volatility of these two adjacent windows. : ; in, The second norm of a vector; Step 4-2: Preset the upper limit of the rate of change and lower limit of rate of change Based on characteristic volatility Adaptive selection of window length : like Then use a fixed number of points Shorten the window; like Then use a fixed number of points Lengthen the window; Step 4-3: For the adjusted adaptive window, use the methods from Steps 1 to 3 to re-extract the feature vector. And calculate the anomaly score of the adaptive window. ; Step 4-4: Scoring the anomaly of the adaptive window Anomaly score compared to the corresponding original window The anomaly is then fused to obtain the final anomaly score. : ; in, These are adaptive weights used based on characteristic volatility. Adjust the weight of the original window of fixed length. ; Steps 4-5: Determine the final anomaly level Perform probabilistic judgment to obtain the probability of failure of the adaptive window. : ; in, This represents the lower limit of the quantile threshold interval. This represents the upper limit of the quantile threshold range; This indicates the probability that the adaptive window is faulty. The closer it is to 1, the more likely it is to be faulty, i.e., the window is abnormal.

[0038] When performing windowed analysis on motor operation data, fixed-length windows may have problems with insufficient or redundant information: if the window is too short, feature extraction is unstable and easily affected by noise; if the window is too long, abnormal signals will be smoothed out, reducing detection sensitivity.

[0039] Therefore, this embodiment introduces characteristic volatility. As a basis for adaptive adjustment The larger the value, the more drastic the differences in characteristics between adjacent windows, which means that the motor's operating state fluctuates significantly. The smaller the value, the smaller the difference between adjacent windows, and the more stable the operation.

[0040] This embodiment also presets an upper limit value for the rate of change. and lower limit of rate of change , like This indicates that the characteristics are fluctuating drastically, and the window needs to be shortened to capture rapidly changing anomalies. In this case, a fixed number of points is used. Shorten the window, that is, reduce the window to half its original size; like This indicates that the feature changes are gradual, so the window can be extended to reduce the impact of noise. Therefore, a fixed number of points is used. Lengthen the window; Typically, with Fs = 10kHz and the default window ≈ 10 electrical cycles around the default sampling period. , .

[0041] This embodiment re-extracts features from the adjusted adaptive window and calculates the anomaly score, then fuses it with the corresponding original window anomaly score, based on the fused result. To adjust adaptive weights Generally speaking: High volatility → Increase the weight of the adaptive window and decrease the weight of the original window; When volatility is low, increase the weight of the original window to maintain stability.

[0042] The scope of adjustment is This fusion ensures that the detection can respond quickly to anomalies while avoiding false alarms.

[0043] After obtaining the fusion results Then, this embodiment calculates its probabilistic representation to obtain the probability of failure of the adaptive window. , This reflects the probability that the window is faulty. The closer the value is to 1, the higher the confidence level of the fault. This embodiment uses a probabilistic flexible judgment, which is convenient for subsequent cross-window aggregation.

[0044] Step 5: The fault diagnosis module establishes a continuous triggering strategy based on the K / M principle, and assigns the probability of fault for each adaptive window. The data is summarized, and the faults are checked against the continuous triggering strategy. If the triggering conditions in the continuous triggering strategy are met, an alarm message is generated and output; the alarm message includes the fault occurrence time. The data in the adaptive window is now complete.

[0045] Step 5 includes the following steps: Step 5-1: Retrieve the fault probability of any t0th adaptive window ; Step 5-2: Establish a continuous triggering strategy Specifically, this refers to the K / M principle: ; in, To adapt the failure probability of the window, Here, K is the probability threshold, with a default value of 0.5. M is the total number of consecutive adaptive windows, and K is the threshold for the number of adaptive windows judged as abnormal. This indicates an indicator function that, when the condition is met... If the condition is met, the indicator function outputs 1; otherwise, it outputs 0. Indicates the starting index of the contiguous window, that is, the first... The first adaptive window is used as the starting window of the continuous adaptive window, and t is the index of the continuous adaptive window; like If the window is not found to be faulty, then the adaptive window is confirmed to be faulty, i.e., the window is abnormal; otherwise, the next adaptive window is checked sequentially downwards. In this embodiment, to improve the reliability of the judgment, a continuous triggering principle is introduced: in M ​​consecutive adaptive windows, if at least K windows have a failure probability... Exceeding the threshold If the condition is "continuously abnormal", a fault alarm will be output. Here, M is the total number of continuous adaptive windows, which is usually 10 by default, and K is 5 by default.

[0046] Step 5-3: Place the first The start time of each adaptive window is used as the time of failure. Generate alarm information and output the time of fault occurrence. Generate alarm information ALM2 and output the fault occurrence time. And the data in the adaptive window.

[0047] In this embodiment, the final output includes an anomaly adaptive window (data set) confirmed by the continuous triggering strategy and the corresponding fault occurrence time. This output is a filtered and probability-determined set of anomaly data, containing raw data such as three-phase current, DC bus voltage, and timestamps. This anomaly data can serve as input for subsequent fault analysis, diagnosis, maintenance decisions, or further training of deep learning models, participating in processes such as health assessment of the servo motor drive system. The method of this invention enables rapid data tracing, and because the data windows are modular, their retrieval speeds are generally consistent, allowing for effective prediction of processing time before tracing, greatly improving the visualization of data processing.

[0048] This invention presents an artificial intelligence-based fault detection method for servo permanent magnet synchronous motors, addressing the technical challenges of achieving high real-time detection, predictable processing, and low false alarm rates in servo permanent magnet synchronous motor fault detection. The invention employs a windowed sampling data processing approach, dividing continuous data into fixed-length windows. Features are extracted and anomaly assessments are performed within each window, ensuring deterministic processing time while maintaining sensitivity to abnormal fluctuations through an adaptive window mechanism. Combining quantile threshold assessment with a continuous triggering strategy significantly reduces the false alarm rate, and only outputs abnormal data, facilitating subsequent expansion to diagnose specific fault types.

Claims

1. A fault detection method for servo permanent magnet synchronous motors based on artificial intelligence, characterized in that: Includes the following steps: Step 1: The data acquisition module synchronously acquires the raw data generated by the servo motor drive system, including the three-phase current. and DC bus voltage The continuous sampling frames of the original data are divided into several windows for data analysis; Step 2: The feature extraction module calculates the feature vector for each window. The feature vector includes temporal and order components. The feature vector is input into a class of SVM models to obtain the original decision output. The original decision output is then mapped to a normalized anomaly score for the window. ; Step 3: The window analysis module sets static quantile threshold intervals and scores the anomaly level. Make a judgment: if the anomaly score is... If the score is less than the lower limit of the quantile threshold interval, it is considered normal; if the upper limit of the quantile threshold interval is less than the abnormality score... If this occurs, it is considered an anomaly, and the window's start time is taken as the time of the fault occurrence. Generate alarm information ALM1 and output the fault occurrence time. Combine the data in the window and end; if the anomaly score is... If the value falls within the quantile threshold range, then proceed to step 4 for probabilistic adaptive determination. Step 4: Window Analysis Module Characteristic Volatility ,according to The length of the window is automatically selected to obtain an adaptive window. The feature vector is then extracted and the anomaly score is recalculated on the adaptive window using the method in step 2, resulting in a feature vector based on the adaptive window. and anomaly score Anomaly score for adaptive window Anomaly score compared to the corresponding original window Perform a weighted summation to obtain the final anomaly score. Regarding the final anomaly degree Perform probabilistic judgment to obtain the probability of failure of the adaptive window. ; Step 5: The fault diagnosis module establishes a continuous triggering strategy based on the K / M principle, and assigns the probability of fault for each adaptive window. The data is summarized, and the faults are checked against the continuous triggering strategy. If the triggering conditions in the continuous triggering strategy are met, an alarm message is generated and output; the alarm message includes the fault occurrence time. The data in the adaptive window is now complete.

2. The fault detection method for a servo permanent magnet synchronous motor based on artificial intelligence as described in claim 1, characterized in that: Step 1 includes the following steps: Step 1-1: The data acquisition module reads the synchronously acquired three-phase current from the servo motor drive system. and DC bus voltage Generate a continuous sampling sequence : ; in, These are the phase a current value, phase b current value, and phase c current value at the nth sampling point, respectively. This represents the total number of sampling points; The DC bus voltage at the nth sampling point; Step 1-2: Preset a fixed number of periods, and sample the sequence. The data is divided into several windows for analysis based on a fixed number of periods, and a dataset is constructed for each window. Each window contains One sampling point: ; ; in, This represents the data set of the t-th window; and These are the indices of the starting and ending sampling points of the t-th window, respectively. These represent the phase a current values ​​at the nth sampling point in the t-th window, respectively. b-phase current value c-phase current value and DC bus voltage value .

3. The fault detection method for a servo permanent magnet synchronous motor based on artificial intelligence as described in claim 2, characterized in that: Step 2 includes the following steps: Step 2-1: Calculate the feature vector for each window, specifically including temporal feature calculation and order component feature calculation: The time-domain feature calculation is as follows: Calculate the window value using the following formulas. In root mean square value : ; ; ; ; in, , , and These represent the current in the t-th window, respectively. Root mean square value, current Root mean square value, current Root mean square value and DC bus voltage Root mean square value; The calculation of the ordinal component features is as follows: Calculate the magnitude of the negative-order component : , ; Calculate the zero-sequence current amplitude The specific formula is as follows: ; Step 2-2: Constructing Feature Vectors The details are as follows: ; in, This represents the feature vector of the t-th window; Steps 2-3: ... The input is fed into a class of SVM models, and the output is anomaly score. : ; in, Represents a class of SVM model mapping functions. This represents the original anomaly score for the t-th window. The value of is normalized to the interval [0,1].

4. The fault detection method for a servo permanent magnet synchronous motor based on artificial intelligence as described in claim 3, characterized in that: Step 3 includes the following steps: Step 3-1: Select a set of normal data from the original data as training data. Based on the training data and the methods in Steps 1 to 2, obtain a set of anomaly scores based on the training data. Take set average As the baseline score for normal data, a quantile threshold interval is calculated based on the baseline score. The specific calculation formula is as follows: ; in, Indicates will The The percentile value is used as the static lower limit threshold. Indicates will The Percentile value, used as a static upper limit threshold; This represents the lower limit of the quantile threshold interval. This represents the upper limit of the quantile threshold range; The value is 95%. The value is 99%; Step 3-2: In actual operation, for the new t-th window obtained through the methods in Step 1 and Step 2, score its anomaly. Perform static determination: ; in, This represents the judgment result for the t-th window; Steps 3-5: If If it is not critical, then output. If the result is If the error is abnormal, the start time of the t-th window will be taken as the time of the fault occurrence. Generate alarm information ALM1 and output the fault occurrence time. End with the data in the window; like The result is critical, so proceed to step 4.

5. The fault detection method for a servo permanent magnet synchronous motor based on artificial intelligence as described in claim 4, characterized in that: Step 4 includes the following steps: Step 4-1: Obtain For the t-th window that is at the critical point, obtain the feature vector of that window. Simultaneously, retrieve the feature vector of the (t-1)th window. Calculate the characteristic volatility of these two adjacent windows. : ; in, The second norm of a vector; Step 4-2: Preset the upper limit of the rate of change and lower limit of rate of change Based on characteristic volatility Adaptive selection of window length : like Then use a fixed number of points Shorten the window; like Then use a fixed number of points Lengthen the window; Step 4-3: For the adjusted adaptive window, use the methods from Steps 1 to 3 to re-extract the feature vector. And calculate the anomaly score of the adaptive window. ; Step 4-4: Scoring the anomaly of the adaptive window Anomaly score compared to the corresponding original window The anomaly is then fused to obtain the final anomaly score. : ; in, These are adaptive weights used based on characteristic volatility. Adjust the weight of the original window of fixed length. ; Steps 4-5: Determine the final anomaly level Perform probabilistic judgment to obtain the probability of failure of the adaptive window. : , ; in, This represents the lower limit of the quantile threshold interval. This represents the upper limit of the quantile threshold range; This indicates the probability that the adaptive window is faulty.

6. The fault detection method for a servo permanent magnet synchronous motor based on artificial intelligence as described in claim 5, characterized in that: Step 5 includes the following steps: Step 5-1: Retrieve the fault probability of any t0th adaptive window ; Step 5-2: Establish a continuous triggering strategy Specifically, this refers to the K / M principle: ; in, To adapt the failure probability of the window, Here, K is the probability threshold, with a default value of 0.

5. M is the total number of consecutive adaptive windows, and K is the threshold for the number of adaptive windows judged as abnormal. This indicates an indicator function that, when the condition is met... If the condition is met, the indicator function outputs 1; otherwise, it outputs 0. Indicates the starting index of the contiguous window, that is, the first... The first adaptive window is used as the starting window of the continuous adaptive window, and t is the index of the continuous adaptive window; like If the window is not found to be faulty, then the adaptive window is confirmed to be faulty, i.e., the window is abnormal; otherwise, the next adaptive window is checked sequentially downwards. Step 5-3: Place the first The start time of each adaptive window is used as the time of failure. Generate alarm information and output the time of fault occurrence. Generate alarm information ALM2 and output the fault occurrence time. And the data in the adaptive window.

Citation Information

Patent Citations

  • Fuel gas and steam combined cycle unit power plant load prediction and optimal scheduling method and system based on artificial intelligence

    CN120069185A

  • Method for calculating accuracy of charging voltage and current frequency data of charging pile through standard deviation

    CN120069658A

  • Equipment anomaly detection method based on deep learning

    CN120337061A

  • Abnormality detection method and system for intelligent motor

    CN120408475A

  • Online state monitoring method and system for water-turbine generator set

    CN120596805A