A motor driver stability monitoring method and system
By performing period segmentation and abnormality analysis on the current signal output by the motor driver, the abnormal current band is screened out, which solves the problem of large errors in the stability monitoring of the motor driver in the existing technology and achieves accurate monitoring of the stability of the motor driver.
Patent Information
- Application Number
- CN202410530921.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-29
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-04-29
AI Technical Summary
In the existing technology, there is a large error in monitoring the stability of the motor driver based only on the similarity of the sinusoidal waveform form, and it is impossible to accurately determine the operating status of the motor driver.
By dividing the current signal output by the motor driver into periods, the periodic current band is obtained, and the degree of sinusoidal shape, waveform anomaly, and environmental abnormality compared with the standard sinusoidal waveform is analyzed, and the abnormal current band is screened out for stability monitoring.
It achieves accurate monitoring of the stability of the motor driver, avoids the inaccurate problem of analyzing only the degree of sinusoidal form, and improves the accuracy of monitoring.
Smart Images

Figure CN118311360B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of abnormal current monitoring, and in particular to a motor driver stability monitoring method and system. Background Art
[0002] A motor driver is a device used to control the operation of an electric motor. The motor driver converts the electrical energy provided by the power supply into the electrical data such as current, voltage, frequency, etc. required by the motor, and then controls the speed, torque and direction of the motor. Therefore, in order to ensure the stability of the motor operation, it is necessary to monitor the output current of the motor driver in real time to ensure the stability of the motor driver.
[0003] For a motor driver, the normal output current should be a stable sinusoidal waveform. When the motor driver is running unstably, the waveform shape will be distorted, which will be significantly different from the sinusoidal shape. In existing calculations, the output current and the standard sinusoidal waveform can be directly compared to determine whether an unstable operating state has occurred. However, in actual operation, as the motor driver runs for a long time, the shape of the output current signal will become irregular, but this state is not an unstable state. That is, monitoring the stability of the motor driver only based on the similarity with the sinusoidal waveform will result in a large monitoring error. Summary of the invention
[0004] In order to solve the technical problem that the stability of the motor driver is monitored only based on the similarity with the sine waveform in the prior art, there will be a large monitoring error, the purpose of the present invention is to provide a motor driver stability monitoring method and system, the technical solution adopted is as follows:
[0005] The present invention proposes a motor driver stability monitoring method, the method comprising:
[0006] Obtaining a current signal output by the motor driver, wherein the current signal includes a plurality of periodic current bands;
[0007] Obtaining the degree of sinusoidal morphology between the periodic current band and a standard sinusoidal waveform;
[0008] Taking each periodic current band as a target periodic current band, obtaining the band length non-uniformity between the target periodic current band and a neighboring periodic current band within a preset neighborhood range, and obtaining the waveform abnormality of the target periodic current band according to the morphological differences between the periodic current bands within the neighborhood range of the target periodic current band;
[0009] Obtaining the degree of environmental abnormality of the target periodic current band according to the degree of waveform abnormality and the unevenness of the band length, and obtaining the degree of environmental abnormality of each periodic current band; obtaining the final degree of abnormality of each periodic current band according to the degree of environmental abnormality and the degree of sinusoidal morphology;
[0010] The abnormal current band is screened out according to the final abnormality degree, and the current stability of the motor driver is monitored according to the distribution of the abnormal current band on the current signal.
[0011] Furthermore, the method for obtaining the periodic current band includes:
[0012] The current signal is segmented by taking the valley points on the current signal as segmentation points to obtain the periodic current bands.
[0013] Furthermore, the method for obtaining the degree of sinusoidal morphology includes:
[0014] Performing sine fitting on the periodic current band to obtain a fitting difference between a sine fitting curve and the standard sine waveform;
[0015] Taking the peak point position difference between the periodic current band and the standard sinusoidal waveform as the first morphological difference;
[0016] Obtaining the degree of non-smoothness of the periodic current band according to the signal value difference between each current data point and an adjacent data point on the periodic current band;
[0017] The sinusoidal morphology degree is obtained according to the fitting difference, the first morphology difference and the degree of non-smoothness; the sinusoidal morphology degree is negatively correlated with the fitting difference, the first morphology difference and the degree of non-smoothness.
[0018] Furthermore, the method for obtaining the band length non-uniformity includes:
[0019] The variance of the band length between the target periodic current band and the neighboring periodic current band is taken as the band length non-uniformity.
[0020] Furthermore, the method for obtaining the waveform abnormality includes:
[0021] The peak point position difference between the two periodic current bands is taken as the second morphological difference;
[0022] taking the average second morphological difference between the target periodic current band and all the neighboring periodic current bands as the first overall position difference;
[0023] Combining the neighboring periodic current bands in pairs to obtain a second morphological difference of each combination, and taking the average second morphological difference of all the combinations as the second overall position difference;
[0024] The difference between the first overall position difference and the second overall position difference is taken as the waveform abnormality.
[0025] Furthermore, the method for obtaining the degree of environmental abnormality includes:
[0026] The product of the waveform abnormality and the band length non-uniformity is normalized to obtain the environmental abnormality degree.
[0027] Furthermore, the method for obtaining the final abnormality degree includes:
[0028] The result of negative correlation mapping and normalization of the sinusoidal morphology degree is multiplied by the environmental abnormality degree to obtain the final abnormality degree.
[0029] Furthermore, screening out the abnormal current band according to the final abnormality degree includes:
[0030] The periodic current band whose final abnormality degree is greater than a preset abnormality threshold is taken as an abnormal current band.
[0031] Further, the current stability monitoring of the motor driver according to the distribution of abnormal current bands on the current signal includes:
[0032] If the number of the abnormal current bands on the current signal is greater than a preset number threshold, it is determined that the operating current of the motor driver is unstable.
[0033] The present invention also proposes a motor drive stability monitoring system, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements any one of the steps of the motor drive stability monitoring method when executing the computer program.
[0034] The present invention has the following beneficial effects:
[0035] In order to accurately monitor the stability of the motor driver, the embodiment of the present invention divides a plurality of periodic current bands on the current signal, and analyzes each periodic current band in the subsequent process to achieve accurate local detail analysis. After obtaining the degree of sinusoidal morphology of the periodic current band, the information characteristics of the periodic current band within the neighborhood are analyzed, and the degree of environmental abnormality is obtained by using the unevenness of the band length and the difference in morphology. By obtaining the degree of environmental abnormality, the abnormal characteristics of the target periodic current band can be characterized by the difference distribution between different bands within the neighborhood, avoiding the inaccurate problem of analyzing the abnormal characteristics only based on the degree of sinusoidal morphology. Therefore, the degree of environmental abnormality and the degree of sinusoidal morphology can be used to accurately screen out abnormal current bands, and then accurate stability monitoring of the motor driver can be achieved based on the distribution of abnormal current bands. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0037] Figure 1 A flow chart of a motor driver stability monitoring method provided by one embodiment of the present invention;
[0038] Figure 2 A schematic diagram of a current signal provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0039] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of a motor drive stability monitoring method and system proposed by the present invention, its specific implementation, structure, features and effects, in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0040] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0041] The specific scheme of a motor driver stability monitoring method and system provided by the present invention is described in detail below with reference to the accompanying drawings.
[0042] See also Figure 1, which shows a flow chart of a motor driver stability monitoring method provided by an embodiment of the present invention, the method comprising:
[0043] Step S1: obtaining a current signal output by a motor driver, wherein the current signal includes a plurality of periodic current bands.
[0044] In the embodiment of the present invention, a current sensor is installed at the output end of the motor driver, and the current sensor is used to collect current signals when the motor driver is in operation. The sampling frequency is set to one thousandth of a second in the embodiment of the present invention. Figure 2 , which shows a current signal schematic diagram provided by an embodiment of the present invention. Figure 2 It can be seen that the current signal as a whole should present a sinusoidal band feature, and the entire current signal is composed of multiple periodic bands. Due to the long-term operation, load, and abnormal state of the motor driver, the local band of the current signal will produce an obviously irregular shape. Therefore, in order to perform local analysis on the current signal, the embodiment of the present invention needs to perform local band segmentation on the current signal after obtaining it to obtain multiple periodic current bands.
[0045] Preferably, in one embodiment of the present invention, the trough points on the current signal are used as segmentation points to segment the current signal to obtain the periodic current band. In an embodiment of the present invention, the peak points and trough points can be identified using a peak and trough second-order difference identification algorithm, and in other embodiments of the present invention, they can also be identified using fitting derivatives and other methods, which are all technical means well known to those skilled in the art and will not be described in detail here.
[0046] Step S2: Obtain the degree of sinusoidal shape between the periodic current band and the standard sinusoidal waveform.
[0047] For each periodic current band, the closer its band shape is to the normal standard sine waveform, the more stable the operation of the periodic current band is. Therefore, it is necessary to obtain the degree of sinusoidal shape between the periodic current band and the standard sinusoidal waveform. The greater the degree of sinusoidal shape, the more normal the corresponding periodic current band is.
[0048] Preferably, in one embodiment of the present invention, the method for obtaining the degree of sinusoidal morphology includes:
[0049] Sine fitting is performed on the periodic current band to obtain the fitting difference between the sine fitting curve and the standard sine waveform. That is, the greater the fitting difference, the greater the waveform difference between the periodic current band and the standard sine waveform, and the more likely the periodic current band is an abnormal band, and the smaller the degree of the sine morphology. In one embodiment of the present invention, the sine fitting is performed using the least squares method, and the specific fitting method and the method for obtaining the fitting difference are technical means well known to those skilled in the art, and will not be described in detail here.
[0050] The difference in the peak point position between the periodic current band and the standard sinusoidal waveform is taken as the first morphological difference. Because each periodic band of the standard sinusoidal waveform is a symmetrical waveform that first increases and then decreases, that is, the peak point is located at the center of the band, the difference in the peak point position can accurately quantify the morphological difference between the periodic current band and the standard sinusoidal waveform, that is, the greater the first morphological difference, the more likely the periodic current band is an abnormal band, and the smaller the degree of sinusoidal morphology. In one embodiment of the present invention, the ratio of the data point order value of the peak point in the band to the number of data points in the band is taken as the peak point position, that is, the peak point position on the standard sinusoidal waveform is one-half. That is, the first morphological difference is expressed by the formula: Among them C j represents the first morphological difference of the jth cycle current band, f j is the order value corresponding to the peak point on the j-th cycle current band, n j is the total number of data points in the current band of the jth cycle.
[0051] According to the signal value difference between each current data point and the adjacent data point on the periodic current band, the degree of non-smoothness of the periodic current band is obtained. For the periodic current band, if it is a standard sinusoidal waveform and there is no abnormal operating state at the corresponding moment, the periodic current band as a whole should present a smooth state, and the signal value difference between the current data point and the adjacent data point should be a uniform difference, that is, the transformation trend will not produce large fluctuations, and the waveform is relatively smooth. Therefore, the greater the degree of non-smoothness, the more likely the periodic current band is an abnormal band, and the smaller the degree of sinusoidal shape. In one embodiment of the present invention, in addition to the data points at the beginning and the end, the signal value difference between each current data point and the two adjacent data points on both sides is obtained, and the difference between the two signal value differences is used as the volatility of the change trend at the corresponding current data point position, and the average value of the volatility of the change trend of all current data points is used as the degree of non-smoothness of the periodic current band. The degree of non-smoothness is expressed by the formula: Among them B j is the degree of unsmoothing of the j-th cycle current band, A is the number of data points in the j-th cycle current band except the data points at the beginning and end, x j,a+1 is the signal value of the a+1th data point on the jth cycle current band except the beginning and the end, x j,a is the signal value of the ath data point on the jth cycle current band except the beginning and the end, x j,a-1 The signal value of the a-1th data point on the jth cycle current band excluding the beginning and the end.
[0052] According to the fitting difference, the first form difference and the degree of non-smoothness, the degree of sinusoidal form is obtained. That is, the degree of sinusoidal form is negatively correlated with the fitting difference, the first form difference and the degree of non-smoothness. In one embodiment of the present invention, the degree of sinusoidal form is expressed by the formula:
[0053] Y j =exp{-ω j ×C j ×B j}; where Y j is the sinusoidal shape of the j-th cycle current band, ω j is the fitting difference of the j-th cycle current band, and exp{} is an exponential function with a natural constant as the base. That is, after the three characteristics are multiplied in the embodiment of the present invention, the multiplication result is negatively correlated and normalized using an exponential function with a natural constant as the base to obtain the degree of sinusoidal morphology. In other embodiments of the present invention, other basic mathematical means and mathematical functions can also be used to achieve negative correlation mapping and normalization, which will not be limited or elaborated here.
[0054] Step S3: Take each periodic current band as a target periodic current band, obtain the band length unevenness between the target periodic current band and the neighboring periodic current bands within a preset neighborhood range, and obtain the waveform abnormality of the target periodic current band based on the morphological differences between the periodic current bands within the neighborhood range of the target periodic current band.
[0055] In the current signal, if a certain band is an abnormal band caused by unstable operation, the abnormal fluctuation of the band is irregular, and there are large morphological differences between adjacent bands; and for the irregular shape bands generated by the normal operation of the motor driver, such as the abnormal shape bands caused by the long-term operation of the motor driver, the morphological difference between it and the adjacent bands is small, and the abnormal shape will be maintained for a long time. Therefore, the real abnormal current band cannot be accurately monitored only based on the degree of sinusoidal morphology, and the waveform difference between each periodic current band and the neighboring periodic current bands in the neighborhood range must also be considered. Therefore, the embodiment of the present invention uses the band length non-uniformity to characterize the band scale difference between the bands in the neighborhood range, that is, the greater the fluctuation length non-uniformity, the more likely the corresponding moment of the corresponding target periodic current band is to be an unstable abnormal state moment; further obtain the morphological difference between the periodic current bands in the neighborhood range, the more obvious the morphological difference, the greater the waveform abnormality of the target periodic current band, and the more likely the band is to be a real abnormal band.
[0056] In one embodiment of the present invention, the neighborhood range is a range consisting of three neighborhood periodic current bands selected on both sides with the target periodic current band as the center.
[0057] Preferably, in one embodiment of the present invention, a method for obtaining the non-uniformity of wavelength band length includes:
[0058] The variance of the band length between the target periodic current band and the neighboring periodic current band is taken as the band length non-uniformity. That is, the larger the variance, the more chaotic the band length distribution is and the greater the band length non-uniformity is.
[0059] Preferably, in one embodiment of the present invention, the method for obtaining the waveform abnormality comprises:
[0060] The peak point position difference between the two periodic current bands is taken as the second morphological difference. In one embodiment of the present invention, the second morphological difference is expressed by the formula: Among them G a,b is the second morphological difference between the periodic current band a and the periodic current band b, f a is the order value corresponding to the peak point on the periodic current band a, n a is the total number of data points on the periodic current band a, f b is the order value corresponding to the peak point on the periodic current band b, n b is the total number of data points on the periodic current band b. It should be noted that the second form difference calculation formula has the same logic as the first form difference calculation formula, which will not be repeated here.
[0061] The average second morphological difference between the target periodic current band and all neighboring periodic current bands is taken as the first overall position difference. The neighboring periodic current bands are combined in pairs to obtain the second morphological difference of each combination, and the average second morphological difference of all combinations is taken as the second overall position difference. The first overall position difference characterizes the waveform difference of the target periodic current band relative to all neighboring periodic bands as a whole, and the second overall position difference characterizes the overall waveform difference between the neighboring periodic bands. If there is a large difference between the two waveform differences, it means that the target periodic current band is more abnormal in morphology than other neighboring periodic bands, so the difference between the first overall position difference and the second overall position difference is taken as the waveform abnormality. In one embodiment of the present invention, the waveform abnormality is expressed by the formula: Among them, M j is the waveform abnormality of the j-th cycle current band, is the second overall position difference of the j-th cycle current band, is the first overall position difference of the jth cycle current band. That is, the waveform anomaly formula obtains the ratio of the two features. The closer the ratio is to 1, the more similar the two features are. The greater the difference from 1, the greater the difference between the two features, and the greater the waveform anomaly.
[0062] Step S4: Obtain the environmental abnormality degree of the target periodic current band according to the waveform abnormality and the band length non-uniformity, and obtain the environmental abnormality degree of each periodic current band; obtain the final abnormality degree of each periodic current band according to the environmental abnormality degree and the sinusoidal morphology degree.
[0063] The greater the waveform anomaly and the greater the unevenness of the band length, the more abnormal the target periodic current band is in the neighborhood, so it can be further quantified to obtain the degree of environmental anomaly. Then, the degree of environmental anomaly of each periodic current band can be obtained.
[0064] In one embodiment of the present invention, the product of the waveform abnormality and the band length non-uniformity is normalized to obtain the environmental abnormality degree.
[0065] Then, combined with the degree of sinusoidal shape, the final abnormality degree of each periodic current band can be obtained. That is, the smaller the degree of sinusoidal shape, the greater the degree of environmental abnormality, which means the greater the final abnormality degree.
[0066] In one embodiment of the present invention, the result of negative correlation mapping and normalization of the sinusoidal morphology degree is multiplied by the environmental abnormality degree to obtain the final abnormality degree.
[0067] Step S5: Filter out abnormal current bands according to the final abnormality degree, and monitor the current stability of the motor driver according to the distribution of the abnormal current bands on the current signal.
[0068] The abnormal current bands on the current signal can be screened out according to the final abnormality degree. The more abnormal current bands are distributed, the more unstable the current motor driver operation state is. Therefore, the current stability of the motor driver can be monitored based on the distribution of abnormal current bands on the current signal. If the motor driver is detected to be unstable, an early warning signal can be fed back in time to notify the staff to perform certain maintenance to ensure the smooth operation of the motor driver and the motor.
[0069] In one embodiment of the present invention, the abnormal current band is screened out according to the final abnormality degree, including:
[0070] The periodic current band whose final abnormality degree is greater than the preset abnormality threshold is regarded as the abnormal current band. In one embodiment of the present invention, after the final abnormality degree is normalized, the abnormality threshold is set to 0.8.
[0071] Preferably, in one embodiment of the present invention, current stability monitoring of the motor driver is performed according to the distribution of abnormal current bands on the current signal, including:
[0072] If the number of abnormal current bands on the current signal is greater than a preset number threshold, it is determined that the motor driver operating current is unstable. In one embodiment of the present invention, the number threshold is set to one-fourth of the number of periodic current bands on the current signal.
[0073] In summary, the embodiment of the present invention divides a plurality of periodic current bands on the current signal output by the motor driver, and after obtaining the degree of sinusoidal morphology of the periodic current bands, analyzes the information characteristics of the periodic current bands within the neighborhood, uses the band length non-uniformity and morphological differences to obtain the degree of environmental abnormality, and uses the degree of environmental abnormality and the degree of sinusoidal morphology to screen out abnormal current bands, and then monitors the stability of the motor driver according to the distribution of abnormal current bands. The present invention realizes accurate monitoring of the stability of the motor driver by accurately analyzing the local position of the current signal.
[0074] The present invention also proposes a motor drive stability monitoring system, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements any one of the steps of the motor drive stability monitoring method when executing the computer program.
[0075] It should be noted that the sequence of the above embodiments of the present invention is only for description and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0076] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
Claims
1. A method for monitoring the stability of a motor driver, characterized in that: The method comprises: Obtaining a current signal output by the motor driver, wherein the current signal includes a plurality of periodic current bands; Obtaining the degree of sinusoidal morphology between the periodic current band and a standard sinusoidal waveform; Taking each periodic current band as a target periodic current band, obtaining the band length non-uniformity between the target periodic current band and a neighboring periodic current band within a preset neighborhood range, and obtaining the waveform abnormality of the target periodic current band according to the morphological differences between the periodic current bands within the neighborhood range of the target periodic current band; Obtaining the degree of environmental abnormality of the target periodic current band according to the degree of waveform abnormality and the unevenness of the band length, and obtaining the degree of environmental abnormality of each periodic current band; obtaining the final degree of abnormality of each periodic current band according to the degree of environmental abnormality and the degree of sinusoidal morphology; Screening out abnormal current bands according to the final abnormality degree, and monitoring the current stability of the motor driver according to the distribution of the abnormal current bands on the current signal; The method for obtaining the degree of the sinusoidal morphology includes: Performing sine fitting on the periodic current band to obtain a fitting difference between a sine fitting curve and the standard sine waveform; Taking the peak point position difference between the periodic current band and the standard sinusoidal waveform as the first morphological difference; Obtaining the degree of non-smoothness of the periodic current band according to the signal value difference between each current data point and an adjacent data point on the periodic current band; The sinusoidal morphology degree is obtained according to the fitting difference, the first morphology difference and the degree of non-smoothness; the sinusoidal morphology degree is negatively correlated with the fitting difference, the first morphology difference and the degree of non-smoothness.
2. A motor driver stability monitoring method according to claim 1, characterized in that: The method for obtaining the periodic current band includes: The current signal is segmented by taking the valley points on the current signal as segmentation points to obtain the periodic current bands.
3. A motor driver stability monitoring method according to claim 1, characterized in that: The method for obtaining the band length non-uniformity comprises: The variance of the band length between the target periodic current band and the neighboring periodic current band is taken as the band length non-uniformity.
4. A motor driver stability monitoring method according to claim 1, characterized in that: The method for obtaining the waveform abnormality comprises: The peak point position difference between the two periodic current bands is taken as the second morphological difference; taking the average second morphological difference between the target periodic current band and all the neighboring periodic current bands as the first overall position difference; Combining the neighboring periodic current bands in pairs to obtain a second morphological difference of each combination, and taking the average second morphological difference of all the combinations as the second overall position difference; The difference between the first overall position difference and the second overall position difference is taken as the waveform abnormality.
5. A motor driver stability monitoring method according to claim 1, characterized in that: The method for obtaining the degree of environmental abnormality includes: The product of the waveform abnormality and the band length non-uniformity is normalized to obtain the environmental abnormality degree.
6. A motor driver stability monitoring method according to claim 1, characterized in that: The method for obtaining the final abnormality degree includes: The result of negative correlation mapping and normalization of the sinusoidal morphology degree is multiplied by the environmental abnormality degree to obtain the final abnormality degree.
7. A motor driver stability monitoring method according to claim 1, characterized in that: The step of screening out the abnormal current band according to the final abnormality degree comprises: The periodic current band whose final abnormality degree is greater than a preset abnormality threshold is taken as an abnormal current band.
8. A motor driver stability monitoring method according to claim 1, characterized in that: The monitoring of the current stability of the motor driver according to the distribution of abnormal current bands on the current signal includes: If the number of the abnormal current bands on the current signal is greater than a preset number threshold, it is determined that the operating current of the motor driver is unstable.
9. A motor drive stability monitoring system, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the motor drive stability monitoring method as claimed in any one of claims 1 to 8 are implemented.
