Permanent magnet synchronous motor demagnetization degree detection method based on multi-source adaptive SDP
Through multi-source adaptive SDP technology and convolutional neural network, the problem of unclear signal characteristics in the demagnetization degree detection of permanent magnet synchronous motors is solved, and high-precision demagnetization degree detection is achieved.
Patent Information
- Application Number
- CN202511099502.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-07
- Publication Date
- 2025-09-09
- Estimated Expiration
- 2045-08-07
AI Technical Summary
In the existing technology for detecting the demagnetization degree of permanent magnet synchronous motors, the signal characteristics are unclear, and the diversity and richness are insufficient, which affects the accuracy and reliability of the detection.
Multi-source adaptive SDP technology is adopted, and data expansion is performed through sliding window technology. Multi-source signals are converted into two-dimensional SDP images, and demagnetization degree detection is performed in combination with convolutional neural network.
The accuracy and reliability of demagnetization degree detection of permanent magnet synchronous motors are significantly improved, and the comprehensive reflection capability of fault characteristics is enhanced.
Smart Images

Figure CN120611227A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of motor fault detection, and in particular to a method for detecting the demagnetization degree of a permanent magnet synchronous motor based on multi-source adaptive SDP. Background Art
[0002] Permanent magnet synchronous motors (PMSMs) offer advantages such as high efficiency, high power factor, and simple structure, and are widely used in industrial automation, new energy vehicles, and renewable energy power generation. However, mild demagnetization is unavoidable during motor operation. When demagnetization reaches a certain level, appropriate measures must be taken. Therefore, detecting the demagnetization level of PMSMs is crucial.
[0003] Currently, methods for diagnosing the degree of demagnetization in permanent magnet synchronous motors (PMSMs) fall into three categories: parameter identification, signal processing, and artificial intelligence. Prior art employs various adaptive control methods to identify PMSM demagnetization parameters; extracts signal characteristics associated with PMSM demagnetization using signal processing methods such as fundamental wave extraction, modal decomposition, and fractal counting; and employs artificial intelligence methods such as fuzzy processing and BP neural networks to improve the accuracy of PMSM demagnetization fault diagnosis.
[0004] During the operation of a permanent magnet synchronous motor, varying degrees of demagnetization have varying effects on various signals. The collected signals may be affected by uncertain factors such as noise, resulting in unclear signal characteristics. Existing technologies for processing permanent magnet synchronous motor signals often use time series data from a single signal source. This data lacks sufficient diversity and richness to fully exploit the potential information within, making it difficult to fully reflect fault characteristics, thus affecting the accuracy and reliability of demagnetization detection. Summary of the Invention
[0005] In order to solve the above technical problems, the present invention provides a demagnetization degree detection method for a permanent magnet synchronous motor based on multi-source adaptive SDP with simple algorithm and high detection accuracy.
[0006] The present invention solves the above technical problems with a technical solution: a method for detecting the demagnetization degree of a permanent magnet synchronous motor based on a multi-source adaptive SDP, comprising the following steps:
[0007] S1: Model the permanent magnet synchronous motor and obtain multi-source signal data with different demagnetization degrees based on the mechanism and simulation experiments of the permanent magnet synchronous motor;
[0008] S2: Data expansion using sliding window technology;
[0009] S3: symmetrical point mode SDP technology based on parameter adaptation, adaptively selecting the time lag parameter and angle magnification factor in SDP;
[0010] S4: Design an image generation method that fuses multiple source signals, mines the potential information in different signals, and converts one-dimensional univariate data into two-dimensional SDP image data;
[0011] S5: The generated images are divided into training set, validation set and test set. The training set and validation set are used for iterative training of the convolutional neural network, and the test set is input into the trained model for demagnetization degree detection.
[0012] In the above-mentioned method for detecting the demagnetization degree of a permanent magnet synchronous motor based on multi-source adaptive SDP, in step S1, the simulation analysis results of the permanent magnet synchronous motor under different demagnetization degrees are used, and RMxprt is used to perform two-dimensional modeling of the demagnetization fault of the permanent magnet synchronous motor; first, the resistance, inductance, stator, rotor, winding and permanent magnet material of the permanent magnet synchronous motor are set in the RMxprt project, and the stator current I, electromagnetic torque T and back electromotive force V are used as diagnostic signals. Four sets of data are obtained through simulation, namely, stable area data under four types of demagnetization conditions of 0%, 30%, 60% and 90%, each set of data including three-phase stator current, back electromotive force and electromagnetic torque data.
[0013] In the above-mentioned method for detecting the demagnetization degree of a permanent magnet synchronous motor based on multi-source adaptive SDP, in step S2, the sliding window in the sliding window technique is defined by a left pointer and a right pointer. The left pointer and the right pointer jointly determine the range of a window and slide the window on the data at a set step size. During each sliding process, the size of the window remains unchanged, and the content of the window is expanded or contracted by moving the left pointer and the right pointer.
[0014] The specific process of the sliding window technology is as follows: set the array nums, window size L and step size step, first initialize the left and right boundaries of the window to the starting position of the array and the position L-1 respectively, that is, the left pointer left=0, the right pointer right=L-1, and then start sliding the window with a step size step; in each sliding process, first check whether the right pointer is out of bounds. If not, move the right pointer to the right by step positions, and at the same time move the left pointer to the right by step positions to keep the window size unchanged, then remove the old elements at the left boundary of the window and add the new elements entering the window. The data in the window can be updated after each sliding; if it is out of bounds, stop sliding the window.
[0015] In the above-mentioned method for detecting the demagnetization degree of a permanent magnet synchronous motor based on multi-source adaptive SDP, in step S3, the core principle of the symmetrical point mode SDP technology is to convert a one-dimensional time series signal into a symmetrical image in polar coordinates. This conversion causes different signals to exhibit different symmetrical patterns in the SDP image. The conversion calculation method is:
[0016] ;
[0017] ;
[0018] ;
[0019] in, for The radius of the moment point in polar coordinates, that is, the distance between the point and the center of the polar coordinates; 、 They are The angle of rotation of the moment point along the initial line counterclockwise and clockwise; for The amplitude of the signal at that moment; for The amplitude of the signal at that moment; is the minimum amplitude of the signal; is the maximum amplitude of the signal; is the time lag parameter; is the rotation angle of the mirror symmetry plane; is the angle magnification factor.
[0020] In the above-mentioned method for detecting the demagnetization degree of a permanent magnet synchronous motor based on multi-source adaptive SDP, in step S3, the autocorrelation function theory in parameter adaptation is:
[0021]
[0022] in, is the autocorrelation coefficient, for The amplitude of the signal at that moment; for The amplitude of the signal at that moment; is the signal mean; is the total duration; is the order of the time delay.
[0023] In the above-mentioned method for detecting the demagnetization degree of a permanent magnet synchronous motor based on multi-source adaptive SDP, the core idea of the time lag parameter adaptive mechanism in step S3 is to dynamically adapt to different signal types through the dual strategies of autocorrelation peak detection and zero-crossing detection. The specific process is as follows:
[0024] First, through the autocorrelation coefficient, intercept The effective interval of the quantized signal and its delay If there is similarity between the order versions, the main peak position is the corresponding signal period;
[0025] Then, dynamic peak detection and period extraction are performed. In order to improve the detection robustness in a noisy environment, a dynamic threshold is designed. , expressed as:
[0026]
[0027] in, 、 are the mean and standard deviation of the first 100 autocorrelation coefficients respectively; assuming that the autocorrelation coefficients obey the normal distribution, more than The value of is a significant outlier, so only when the autocorrelation coefficient is greater than Only peaks with
[0028] Finally, the main peak position is determined by detecting the autocorrelation coefficient, and then the fundamental frequency period is determined, so as to obtain The calculation of the periodic realization time lag parameter is expressed as:
[0029]
[0030] in, is the time lag parameter; is the period; in order to meet the stability requirements of the phase space reconstruction theorem, set .
[0031] In the above-mentioned method for detecting the demagnetization degree of a permanent magnet synchronous motor based on multi-source adaptive SDP, in step S3, the adaptive optimization of the angle magnification factor is based on the joint modeling of statistical characteristics and perceptual sensitivity:
[0032] First, the original signal is quantile normalized, which is expressed as:
[0033]
[0034] in, is the input signal amplitude, 、 They are the 5% and 95% quantile values of the signal data respectively. The purpose of the above formula is to use piecewise function to The value is constrained to be within the boundary value, and the 5% and 95% quantiles are used to truncate the signal amplitude range to filter out extreme outliers. In addition, zero denominator protection is added, and a constant value of 0.5 is output when the signal amplitude does not fluctuate;
[0035] Then calculate the standard deviation of the normalized signal amplitude, the expression is:
[0036]
[0037] in, is the standard deviation of the signal amplitude, is the signal mean, and finally the exponential sensitivity model is used to Mapped to the angle range of empirical division, the exponential sensitivity model expression is:
[0038]
[0039] in, is the angle magnification factor, is the signal standard deviation.
[0040] In the above-mentioned method for detecting the demagnetization degree of a permanent magnet synchronous motor based on multi-source adaptive SDP, in step S4, the stator current, electromagnetic torque, and back electromotive force data are fused into an SDP image to perform demagnetization degree detection;
[0041] In terms of data quantity, the original data is expanded by using the sliding window technology, where the window size is set to 1000 and the step size is set to 150, and the data is expanded by sliding window value operation;
[0042] In terms of image generation, the signals of the permanent magnet synchronous motor at four different demagnetization levels of 0%, 30%, 60%, and 90% are used to generate four sets of data sets through parameter adaptive SDP technology. Each data set integrates three types of signals: single-phase stator current, electromagnetic torque, and single-phase back EMF. The three channels of each image are composed of one phase of the stator current, the corresponding back EMF, and the electromagnetic torque. The image is intuitively divided into three areas, and different signals show different symmetrical patterns in the SDP image.
[0043] In the above-mentioned method for detecting the demagnetization degree of a permanent magnet synchronous motor based on multi-source adaptive SDP, in step S5, in terms of data set division, the total amount of data is kept unchanged, the total number of images and the set division ratio are adjusted, and the data are divided into a training set, a validation set, and a test set by a random sampling method;
[0044] The learning rate is set to 0.045 and decreases by 0.001 every 10 iterations; the solver uses stochastic gradient descent momentum SGDM; the convolution layer is configured as a two-layer structure, the filter size of the first convolution layer is 3×3, the number of filters is 8, the step size is set to 1, and the padding value is 2, the filter size of the second convolution layer is also 3×3, the number of filters is increased to 16, the step size remains 1, and the padding value is still 2; the maximum pooling layer is set to two layers, and the pooling size of each pooling layer is 3×3, the step size is 2, and the padding value is 0.
[0045] The beneficial effects of the present invention are as follows: First, a permanent magnet synchronous motor is modeled to obtain multi-source signals with varying degrees of demagnetization; a sliding window technique is then used for data expansion; Finally, an image generation method based on multi-source signal fusion, using parameter-adaptive symmetrical point pattern (SDP) technology, is designed to mine the potential information in the different signals and convert the one-dimensional single-variable data into two-dimensional image data; Finally, the generated image is input into a convolutional neural network for demagnetization degree detection. This invention significantly improves the accuracy and reliability of permanent magnet synchronous motor demagnetization degree detection, and its effectiveness is verified through comparative experiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 It is the overall flow chart of the present invention.
[0047] Figure 2 This is the back EMF waveform of a 5kW motor under normal conditions.
[0048] Figure 3 This is the back EMF waveform of a 5kW motor under 30% demagnetization fault.
[0049] Figure 4 This is the back EMF waveform of a 5kW motor under 60% demagnetization fault.
[0050] Figure 5 This is the back EMF waveform of a 5kW motor under 90% demagnetization fault.
[0051] Figure 6 This is the stator current waveform of a 5kW motor under normal conditions.
[0052] Figure 7 This is the stator current waveform of a 5kW motor with a 30% demagnetization fault.
[0053] Figure 8 This is the stator current waveform of a 5kW motor with a 60% demagnetization fault.
[0054] Figure 9 This is the stator current waveform of a 5kW motor with a 90% demagnetization fault.
[0055] Figure 10 Schematic diagram of the average torque of a 5kW motor under different demagnetization degrees.
[0056] Figure 11 The schematic diagram of SDP conversion.
[0057] Figure 12 Schematic diagram of a two-dimensional SDP image.
[0058] Figure 13 This is the confusion matrix diagram after training classification.
[0059] Figure 14 This is the confusion matrix diagram after manually selecting parameters.
[0060] Figure 15 This is a confusion matrix diagram for one-dimensional data. DETAILED DESCRIPTION
[0061] The present invention will be further described below with reference to the accompanying drawings and examples.
[0062] like Figure 1 As shown, a method for detecting the demagnetization degree of a permanent magnet synchronous motor based on a multi-source adaptive SDP includes the following steps:
[0063] S1: Model the permanent magnet synchronous motor and obtain multi-source signal data with different demagnetization degrees based on the mechanism and simulation experiments of the permanent magnet synchronous motor. The multi-source signals include stator current, electromagnetic torque, and back EMF.
[0064] Based on the simulation analysis results of the permanent magnet synchronous motor under different demagnetization degrees, in order to quickly and accurately build a model of the permanent magnet synchronous motor, RMxprt was used to perform two-dimensional modeling of the demagnetization fault of the permanent magnet synchronous motor. First, the core parameters of the permanent magnet synchronous motor, such as resistance, inductance, stator, rotor, winding, and permanent magnet material, were set in the RMxprt project. Then, the basic parameters required for the motor were input. The main parameters are shown in Table 1.
[0065]
[0066] Figure 2-Figure 5 The back EMF of the motor is shown at different levels of uniform demagnetization, with analysis performed after the permanent magnet synchronous motor is operating smoothly. Taking phase A as an example, when the permanent magnet is well excited, the back EMF amplitude reaches approximately 222V. As the degree of demagnetization increases, the back EMF amplitude decreases, reaching approximately 183V when the permanent magnet is demagnetized to 90%.
[0067] Figure 6-Figure 9 The figure shows the stator current of the motor at different levels of demagnetization. Taking phase A as an example, when the permanent magnets are well-excited, the stator current amplitude is approximately 2.86 A. As the degree of demagnetization increases, the stator current amplitude continues to increase. When the permanent magnets are demagnetized to 90%, the stator current amplitude increases to approximately 4 A.
[0068] Figure 10 is the average torque under different demagnetization degrees. It can be seen that as the degree of uniform demagnetization fault increases, the average torque decreases.
[0069] Stator current I, electromagnetic torque T and back EMF V are used as diagnostic signals. Four sets of data are obtained through simulation, namely stable region data under four types of demagnetization conditions: 0%, 30%, 60% and 90%. Each set of data contains 23,346 points of three-phase stator current, back EMF and electromagnetic torque data respectively.
[0070] S2: Use sliding window technology for data expansion.
[0071] The sliding window in sliding window technology is defined by a left pointer and a right pointer. The left and right pointers together determine the range of the window and slide the window over the data at a set step size. During each slide, the window size remains unchanged, and the window content is expanded or contracted by moving the left and right pointers.
[0072] The specific process of the sliding window technique is as follows: set the array nums, the window size L, and the step size step. First, initialize the left and right edges of the window to the start position of the array and position L-1, respectively, that is, the left pointer left = 0 and the right pointer right = L-1. Then, begin sliding the window with a step size of step. During each sliding process, first check whether the right pointer has crossed the boundary. If it has not crossed the boundary, move the right pointer to the right by step positions, and simultaneously move the left pointer to the right by step positions to maintain the window size. Then, remove the old elements at the left edge of the window and add the new elements that have entered the window. After each sliding process, the data in the window is updated. If the boundary is crossed, the window sliding stops. Due to the limited amount of simulation data due to the periodicity of the data waveform, the window size is 1000 and the step size is 150.
[0073] S3: Based on the parameter-adaptive symmetrical point mode SDP technology, the time lag parameter and angle magnification factor in the SDP are adaptively selected.
[0074] The core principle of Symmetrical Point Pattern (SDP) technology lies in converting a one-dimensional time series signal into a symmetrical image in polar coordinates. This conversion causes different signals to exhibit distinct symmetrical patterns in the SDP image. SDP images are simple and intuitive, and they more clearly reflect signal characteristics than traditional time-domain and frequency-domain images.
[0075] The basic principle of SDP image transformation method is as follows Figure 11 As shown, Figure 11 In the figure, areas I to III are the three channels of the image. When rotating clockwise, area I is (-60°) 300° to 60°, area II is 60° to 180°, and area III is 180° to 300°. This allows multiple signals to be fused into one image. The conversion calculation method is:
[0076] ;
[0077] ;
[0078] ;
[0079] in, for The radius of the moment point in polar coordinates, that is, the distance between the point and the center of the polar coordinates; 、 They are The angle of the counterclockwise and clockwise rotation of the time point along the initial line determines the position of the point in polar coordinates; for The amplitude of the signal at that moment; for The amplitude of the signal at that moment; is the minimum amplitude of the signal; is the maximum amplitude of the signal; is a time lag parameter used to adjust the degree of dispersion or aggregation of petals, and can carefully reflect the slight differences between time series; is the rotation angle of the mirror symmetry plane; is the angle magnification factor, which is less than , used to adjust the opening angle of the petals in the symmetrical point figure. , , The three areas are converted separately.
[0080] The autocorrelation function theory in parameter adaptation is:
[0081]
[0082] in, is the autocorrelation coefficient, for The amplitude of the signal at that moment; for The amplitude of the signal at that moment; is the signal mean; is the total duration; is the order of time delay, used to detect periodicity. The numerator of the above formula is used to calculate the signal and its delay The similarity of the order version after removing the mean, if the signal is delayed If the numerator is highly similar to the original signal after the order, a large number of positive products will be accumulated. The numerator approaches 1. If the delayed signal is inversely related to the original signal, the numerator is negative. If the signal is completely random, the numerator approaches 0. The denominator is the variance of the original signal. Normalization allows direct comparison of the autocorrelations of signals of different dimensions and amplitudes.
[0083] The core idea of the time lag parameter adaptation mechanism is to dynamically adapt to different signal types through the dual strategies of autocorrelation peak detection and zero-crossing detection. The specific process is as follows:
[0084] First, through the autocorrelation coefficient, intercept The effective interval of the quantized signal and its delay If there is similarity between the order versions, the main peak position is the corresponding signal period;
[0085] Then, dynamic peak detection and period extraction are performed. In order to improve the detection robustness in a noisy environment, a dynamic threshold is designed. , expressed as:
[0086]
[0087] in, 、 are the mean and standard deviation of the first 100 autocorrelation coefficients respectively; the autocorrelation coefficient of the signal may gradually decay as the delay increases, so intercepting the first 100 delay points can effectively avoid long-tail interference. At the same time, this dynamic threshold is set to 0.2 as the lower limit, which can avoid missing weak cycles even if the signal autocorrelation is extremely low. Assuming that the autocorrelation coefficient follows a normal distribution, it exceeds The value of is a significant outlier, so only when the autocorrelation coefficient is greater than Only peaks with
[0088] Finally, the main peak position is determined by detecting the autocorrelation coefficient, and then the fundamental frequency period is determined, so as to obtain The calculation of the periodic realization time lag parameter is expressed as:
[0089]
[0090] in, is the time lag parameter; is the period; in order to meet the stability requirements of the phase space reconstruction theorem, set .because The choice of must satisfy Takens embedding theorem, the core of which is to avoid overlapping or over-discrete trajectories in the reconstructed phase space, and when When , the phase space trajectory is optimally expanded in the principal axis direction, which can capture the dynamic characteristics and avoid the coordinate redundancy caused by high-frequency sampling.
[0091] The adaptive optimization of the angle magnification factor is based on the joint modeling of statistical characteristics and perceptual sensitivity:
[0092] First, the original signal is quantile normalized, which is expressed as:
[0093]
[0094] in, is the input signal amplitude, 、 They are the 5% and 95% quantile values of the signal data respectively. The purpose of the above formula is to use piecewise function to The value is constrained to be within the boundary value, and the 5% and 95% quantiles are used to truncate the signal amplitude range to filter out extreme outliers. In addition, zero denominator protection is added, and a constant value of 0.5 is output when the signal amplitude does not fluctuate;
[0095] Then calculate the standard deviation of the normalized signal amplitude, the expression is:
[0096]
[0097] in, is the standard deviation of the signal amplitude, is the signal mean, and finally the exponential sensitivity model is used to Mapped to the angle range of empirical division, the exponential sensitivity model expression is:
[0098]
[0099] in, is the angle magnification factor, is the signal standard deviation. This method dynamically balances detail visibility with noise suppression requirements. Quantile normalization filters out outlier interference, while the exponential sensitivity model automatically increases the angle magnification factor in low-noise conditions to enhance subtle fault features, while decreasing it in high-noise conditions to avoid display overload.
[0100] S4: Design an image generation method based on multi-source signal fusion, mine the potential information in different signals, and transform one-dimensional univariate data into two-dimensional SDP image data.
[0101] In order to fully explore the potential information in different data and improve the accuracy of demagnetization degree detection, the stator current, electromagnetic torque and back EMF data are integrated into an SDP image for demagnetization degree detection to more comprehensively reflect the fault characteristics, thereby improving the accuracy and reliability of detection. Some images such as Figure 12 shown.
[0102] In terms of data quantity, the original data was expanded by using sliding window technology, where the window size was set to 1000 and the step size was set to 150. The data was expanded by sliding window value operation, and the total amount of data was 23346;
[0103] In terms of image generation, the signals of the permanent magnet synchronous motor at four different demagnetization levels of 0%, 30%, 60%, and 90% are used to generate four sets of data sets through parameter adaptive SDP technology. Each data set integrates three types of signals: single-phase stator current, electromagnetic torque, and single-phase back EMF. The three channels of each image are composed of one phase of the stator current, the corresponding back EMF, and the electromagnetic torque. The image is intuitively divided into three areas, and different signals show different symmetrical patterns in the SDP image.
[0104] S5: The generated images are divided into training set, validation set and test set. The training set and validation set are used for iterative training of the convolutional neural network, and the test set is input into the trained model for demagnetization degree detection.
[0105] In terms of data set division, the total amount of data remains unchanged, and the total number of images and the set division ratio are adjusted. Each data set contains 149 SDP images. Through random sampling, 92 images are selected as training sets, 30 images as validation sets, and the remaining 27 images as test sets. The total number of training sets, validation sets, and test sets of the four data sets is 368, 120, and 108, respectively.
[0106] The learning rate is set to 0.045 and decreases by 0.001 every 10 iterations; the solver uses stochastic gradient descent momentum SGDM; the convolution layer is configured as a two-layer structure, the filter size of the first convolution layer is 3×3, the number of filters is 8, the step size is set to 1, and the padding value is 2. The filter size of the second convolution layer is also 3×3, the number of filters is increased to 16, the step size is kept at 1, and the padding value is still 2; the maximum pooling layer is set to two layers, the pooling size of each pooling layer is 3×3, the step size is 2, and the padding value is 0. The confusion matrix after training classification is shown in the figure below. Figure 13 shown.
[0107] In order to verify the effectiveness of the adaptive parameters, the angle magnification factor and time lag parameters that are more suitable for the 5kW permanent magnet synchronous motor are selected by artificial experience through enumeration method. and time lag parameters Increase from 30 to 70, each time increasing by 10. Through manual comparison, select =50°, =50.
[0108] The other aspects of data processing and convolutional neural network parameter settings remain unchanged, and the convolutional neural network is put into training. The confusion matrix after training classification is as follows Figure 14 shown.
[0109] To verify the effectiveness of the method for converting one-dimensional time series data into two-dimensional multi-source images, a comparative experiment was conducted using one-dimensional convolutional neural network classification of one-dimensional time series data. Based on data from a 5 kW motor, one-dimensional time series data of stator current, electromagnetic torque, and back EMF were collected. To maintain consistency across the comparative experiments, the total data volume after sliding window processing was kept to 149,000 points, with 1,000 points per segment. Therefore, the four demagnetization fault data sets (0%, 30%, 60%, and 90%) each contained 447 segments. 347 segments were randomly selected as the training set, 70 segments as the validation set, and 30 segments as the test set, resulting in a total of 1,388 segments for the training set, 280 segments for the validation set, and 120 segments for the test set. Two convolutional layers were used. The first layer had a filter length of 5, a number of 8, a stride of 1, and a padding of 2. The second layer had a filter length of 16, with all other parameters remaining the same as the first layer. Two max pooling layers were used, each with a length of 3, a stride of 2, and a padding of 0. The confusion matrix of one-dimensional data is as follows Figure 15 shown.
[0110] Through the above experiments, the accuracy of the three methods is compared on the test set. The test set accuracy is shown in Table 2.
[0111]
[0112] As can be seen from Table 2, the accuracy of the present invention is 99.07%, the accuracy of the parameters selected by manual experience is 97.72%, and the accuracy of directly using one-dimensional time series data is 70.83%. This verifies the effectiveness of the method of converting one-dimensional time series data into two-dimensional multi-source images and the adaptive parameters.
Claims
1. A method for detecting the demagnetization degree of a permanent magnet synchronous motor based on multi-source adaptive SDP, characterized in that: The following steps are involved: S1: Model the permanent magnet synchronous motor and obtain multi-source signal data with different demagnetization degrees based on the mechanism and simulation experiments of the permanent magnet synchronous motor; S2: Data expansion using sliding window technology; S3: symmetrical point mode SDP technology based on parameter adaptation, adaptively selecting the time lag parameter and angle magnification factor in SDP; S4: Design an image generation method that fuses multiple source signals, mines the potential information in different signals, and converts one-dimensional univariate data into two-dimensional SDP image data; S5: The generated images are divided into training set, validation set and test set. The training set and validation set are used for iterative training of the convolutional neural network, and the test set is input into the trained model for demagnetization degree detection.
2. The method for detecting the demagnetization degree of a permanent magnet synchronous motor based on multi-source adaptive SDP according to claim 1 is characterized in that: In step S1, RMxprt is used to perform two-dimensional modeling of the demagnetization fault of the permanent magnet synchronous motor based on the simulation analysis results under different demagnetization degrees. First, the resistance, inductance, stator, rotor, winding and permanent magnet material of the permanent magnet synchronous motor are set in the RMxprt project, and the stator current I, electromagnetic torque T and back electromotive force V are used as diagnostic signals. Four sets of data are obtained through simulation, namely stable region data under four types of demagnetization conditions: 0%, 30%, 60% and 90%, and each set of data includes three-phase stator current, back electromotive force and electromagnetic torque data.
3. The method for detecting the demagnetization degree of a permanent magnet synchronous motor based on multi-source adaptive SDP according to claim 1, characterized in that: In step S2, the sliding window in the sliding window technique is defined by a left pointer and a right pointer, which together determine the range of a window and slide the window on the data at a set step size; During each sliding process, the size of the window remains unchanged, and the content of the window is expanded or contracted by moving the left and right pointers; The specific process of the sliding window technology is as follows: set the array nums, window size L and step size step, first initialize the left and right boundaries of the window to the starting position of the array and the position L-1 respectively, that is, the left pointer left=0, the right pointer right=L-1, and then start sliding the window with a step size step; in each sliding process, first check whether the right pointer is out of bounds. If not, move the right pointer to the right by step positions, and at the same time move the left pointer to the right by step positions to keep the window size unchanged, then remove the old elements at the left boundary of the window and add the new elements entering the window. The data in the window can be updated after each sliding; if it is out of bounds, stop sliding the window.
4. The method for detecting the demagnetization degree of a permanent magnet synchronous motor based on multi-source adaptive SDP according to claim 1, characterized in that: In step S3, the core principle of the symmetrical point pattern (SDP) technology is to convert the one-dimensional time series signal into a symmetrical image in polar coordinates. This conversion makes different signals show different symmetrical patterns in the SDP image. The conversion calculation method is: ; ; ; in, for The radius of the moment point in polar coordinates, that is, the distance between the point and the center of the polar coordinates; 、 They are The angle of rotation of the moment point along the initial line counterclockwise and clockwise; for The amplitude of the signal at that moment; for The amplitude of the signal at that moment; is the minimum amplitude of the signal; is the maximum amplitude of the signal; is the time lag parameter; is the rotation angle of the mirror symmetry plane; is the angle magnification factor.
5. The method for detecting the demagnetization degree of a permanent magnet synchronous motor based on multi-source adaptive SDP according to claim 4 is characterized in that: In step S3, the autocorrelation function theory in parameter adaptation is: ; in, is the autocorrelation coefficient, for The amplitude of the signal at that moment; for The amplitude of the signal at that moment; is the signal mean; is the total duration; is the order of the time delay.
6. The method for detecting the demagnetization degree of a permanent magnet synchronous motor based on multi-source adaptive SDP according to claim 5, characterized in that: In step S3, the core idea of the time lag parameter adaptive mechanism is to dynamically adapt to different signal types through the dual strategies of autocorrelation peak detection and zero-crossing detection. The specific process is as follows: First, through the autocorrelation coefficient, intercept The effective interval of the quantized signal and its delay If there is similarity between the order versions, the main peak position is the corresponding signal period; Then, dynamic peak detection and period extraction are performed. In order to improve the detection robustness in a noisy environment, a dynamic threshold is designed. , expressed as: ; in, 、 are the mean and standard deviation of the first 100 autocorrelation coefficients respectively; assuming that the autocorrelation coefficients obey the normal distribution, more than The value of is a significant outlier, so only when the autocorrelation coefficient is greater than Only peaks with Finally, the main peak position is determined by detecting the autocorrelation coefficient, and then the fundamental frequency period is determined, so as to obtain The calculation of the periodic realization time lag parameter is expressed as: ; in, is the time lag parameter; is the period; in order to meet the stability requirements of the phase space reconstruction theorem, set .
7. The method for detecting the demagnetization degree of a permanent magnet synchronous motor based on multi-source adaptive SDP according to claim 6, characterized in that: In step S3, the adaptive optimization of the angle magnification factor is based on the joint modeling of statistical characteristics and perceptual sensitivity: First, the original signal is quantile normalized, which is expressed as: ; in, is the input signal amplitude, 、 They are the 5% and 95% quantile values of the signal data respectively. The purpose of the above formula is to use piecewise function to The value is constrained to be within the boundary value, and the 5% and 95% quantiles are used to truncate the signal amplitude range to filter out extreme outliers. In addition, zero denominator protection is added, and a constant value of 0.5 is output when the signal amplitude does not fluctuate; Then calculate the standard deviation of the normalized signal amplitude, the expression is: ; in, is the standard deviation of the signal amplitude, is the signal mean, and finally the exponential sensitivity model is used to Mapped to the angle range of empirical division, the exponential sensitivity model expression is: ; in, is the angle magnification factor, is the signal standard deviation.
8. The method for detecting the demagnetization degree of a permanent magnet synchronous motor based on multi-source adaptive SDP according to claim 1, characterized in that: In step S4, the stator current, electromagnetic torque, and back EMF data are integrated into an SDP image to perform demagnetization degree detection; In terms of data quantity, the original data is expanded by using the sliding window technology, where the window size is set to 1000 and the step size is set to 150, and the data is expanded by sliding window value operation; In terms of image generation, the signals of the permanent magnet synchronous motor at four different demagnetization levels of 0%, 30%, 60%, and 90% are used to generate four sets of data sets through parameter adaptive SDP technology. Each data set integrates three types of signals: single-phase stator current, electromagnetic torque, and single-phase back EMF. The three channels of each image are composed of one phase of the stator current, the corresponding back EMF, and the electromagnetic torque. The image is intuitively divided into three areas, and different signals show different symmetrical patterns in the SDP image.
9. The method for detecting the demagnetization degree of a permanent magnet synchronous motor based on multi-source adaptive SDP according to claim 1, characterized in that: In step S5, the data set is divided into a training set, a validation set, and a test set by randomly sampling the data set while keeping the total amount of data unchanged and adjusting the total number of images and the set division ratio. The learning rate is set to 0.045 and decreases by 0.001 every 10 iterations; the solver uses stochastic gradient descent momentum SGDM; the convolution layer is configured as a two-layer structure, the filter size of the first convolution layer is 3×3, the number of filters is 8, the step size is set to 1, and the padding value is 2, the filter size of the second convolution layer is also 3×3, the number of filters is increased to 16, the step size remains 1, and the padding value is still 2; the maximum pooling layer is set to two layers, and the pooling size of each pooling layer is 3×3, the step size is 2, and the padding value is 0.
Citation Information
Patent Citations
Numerically-controlled machine tool fault diagnosis method based on symmetric point mode and spatial density clustering
CN108490877A
Permanent magnet synchronous motor demagnetization fault diagnosis model construction method and fault diagnosis method and system
CN114358077A
Permanent magnet motor demagnetization fault diagnosis method based on convolutional neural network and symmetry point mode
CN118799246A