Motor data acquisition and processing method and system, medium and electronic equipment

By performing short-term data judgment and accumulation on motor operation data, and ensuring that the data meets the requirements of Fourier analysis before analysis, the problem of motor operation fluctuation affecting the accuracy of analysis is solved, and the accuracy and stability of motor fault detection are achieved.

CN120995089APending Publication Date: 2025-11-21SHANGHAI BAOSTEEL METALLURGICAL CONSTRUCTION CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410620736.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-20
Publication Date
2025-11-21

AI Technical Summary

Technical Problem

During operation, the motor's operating status fluctuates due to factors such as changes in the power grid, load changes, and frequent starts and stops, which affects the accuracy of Fourier analysis results and reduces the accuracy of online fault detection for the motor.

Method used

By acquiring short-term data on motor operation, it is determined whether the data meets the requirements for Fourier analysis. After the length of qualified data reaches the required length for analysis, Fourier analysis is performed to ensure the continuity and stability of the data.

Benefits of technology

This improved the accuracy of motor operation analysis, reduced false alarms, misreports, and missed reports in online fault detection, and ensured the correctness of fault analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120995089A_ABST
    Figure CN120995089A_ABST
Patent Text Reader

Abstract

The invention provides a motor data acquisition and processing method and system, a medium and electronic equipment. The motor data acquisition and processing method comprises the following steps: step 1, acquiring short-time data of motor operation; step 2, acquiring continuous data meeting the data length required by Fourier analysis based on the short-time data; step 3, judging each piece of short-time data in the continuous data; step 4, if the data are judged to be qualified, adding 1 to the length count value of the qualified data, entering step 5, and if the data are judged to be unqualified, clearing the length count value of the qualified data, and returning to the step 1; step 5, according to the qualified data length count value, determining whether the qualified data length is greater than or equal to the data length required by the Fourier analysis, if so, entering step 6, and if not, returning to the step 1; and step 6, carrying out Fourier analysis on qualified data. According to the method provided by the invention, the accuracy of motor operation analysis can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The application belongs to the technical field of electric machines, and relates to an electric machine data acquisition and processing method, system, medium and electronic device. BACKGROUND

[0002] When an electric machine fails, the operating parameters of the electric machine need to be analyzed to obtain the fault characteristics of the electric machine. However, during the operation of the electric machine, the operating voltage and operating frequency of the electric machine change with the power grid or the adjustment of the control device, and are affected by the change in the size of the load and the change in the operating current of the electric machine. In particular, the non-long-term working system electric machine frequently starts, stops and operates, and the stable operation time is short, and the operating state is more volatile. These fluctuation factors greatly affect the detected operating current of the electric machine, and cause the result of Fourier analysis of the data to be unable to correctly represent the characteristics of the electric machine, directly affecting the result of the online fault detection of the electric machine, and reducing the correctness of the fault analysis result. SUMMARY

[0003] The application aims to provide an electric machine data acquisition and processing method, system, medium and electronic device, which can improve the accuracy of electric machine operation analysis.

[0004] In a first aspect, the application provides an electric machine data acquisition and processing method, which comprises the following steps:

[0005] Step 1: acquiring short-time data of the operation of the electric machine;

[0006] Step 2: acquiring continuous data with a data length required by Fourier analysis based on the short-time data;

[0007] Step 3: determining each short-time data in the continuous data;

[0008] Step 4: if the determination is qualified, the qualified data length count value is increased by 1, and the method proceeds to step 5; if the determination is unqualified, the qualified data length count value is cleared, and the method returns to step 1;

[0009] Step 5: determining whether the qualified data length is greater than or equal to the data length required by the Fourier analysis according to the qualified data length count value; if yes, the method proceeds to step 6; if no, the method returns to step 1;

[0010] Step 6: performing Fourier analysis on the qualified data, wherein the qualified data comprises a plurality of continuous and qualified short-time data, and the length of the qualified data is greater than or equal to the data length required by the Fourier analysis.

[0011] In one implementation of the first aspect, the process of acquiring short-time data of motor operation includes: collecting motor operation data; processing the operation data according to the time length setting of Fourier analysis to acquire short-time data of motor operation.

[0012] In one implementation of the first aspect, the process of obtaining continuous data of a length sufficient for Fourier analysis based on the short-time data includes: storing several short-time data sets in a cache variable; and obtaining uninterrupted data of a length sufficient for Fourier analysis from the cache variable as the continuous data.

[0013] In one implementation of the first aspect, the process of determining each short-time data in the continuous data includes: storing the data in the cache variable into a temporary variable based on the length data required for the Fourier analysis; and determining each short-time data in the temporary variable.

[0014] In one implementation of the first aspect, the process of determining each short-time data in the continuous data includes: determining whether the short-time data is data collected when the motor is running; and analyzing whether the effective value and frequency deviation of the short-time data are within a specified range.

[0015] In one implementation of the first aspect, confirming whether the qualified data length is greater than or equal to the data length required for the Fourier analysis based on the qualified data length count value includes: obtaining the qualified data length based on the qualified data length count value and a short time; and confirming whether the qualified data length is greater than or equal to the data length required for the Fourier analysis.

[0016] In one implementation of the first aspect, the process of performing Fourier analysis on qualified data includes: transferring the qualified data to a qualified data variable; and performing Fourier analysis on the data in the qualified data variable.

[0017] In a second aspect, the present application provides a motor data acquisition and processing system for implementing the motor data acquisition and processing method described above, the acquisition and processing system comprising: a short-time data acquisition module for acquiring short-time data of motor operation; a continuous data acquisition module for acquiring continuous data of a data length required for Fourier analysis based on the short-time data; a determination module for determining each short-time data in the continuous data; a counting module for counting the length of qualified data, wherein if the determination is qualified, the length of qualified data is counted by one, and if the determination is unqualified, the length of qualified data is cleared; a confirmation module for confirming whether the length of qualified data is greater than or equal to the data length required for Fourier analysis according to the length of qualified data; and an analysis module for performing Fourier analysis on the qualified data, wherein the qualified data comprises a plurality of short-time data determined to be qualified, and the length of the qualified data is greater than or equal to the data length required for Fourier analysis.

[0018] In a third aspect, the present application provides an electronic device, comprising: a memory having a computer program stored thereon; and a processor in communication with the memory, configured to execute the computer program to implement the motor data acquisition and processing method described above.

[0019] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, wherein the program is executed by an electronic device to implement the motor data acquisition and processing method described above.

[0020] As described above, the motor data acquisition and processing method, system, medium and electronic device provided by the present application have the following beneficial effects:

[0021] The motor data acquisition and processing method provided by the embodiments of the present application can acquire continuous data of a length required for Fourier analysis in motor operation, and determine and analyze each short-time data in the continuous data, so as to obtain qualified data of the motor, thereby improving the accuracy of motor operation analysis. BRIEF DESCRIPTION OF DRAWINGS

[0022] Figure 1 A process schematic diagram of the motor data acquisition and processing method described in the embodiments of the present application is shown.

[0023] Figure 2 A process schematic diagram of acquiring short-time data of motor operation described in the embodiments of the present application is shown.

[0024] Figure 3 A process schematic diagram of acquiring continuous data of a data length required for Fourier analysis described in the embodiments of the present application is shown.

[0025] Figure 4A process diagram for determining each short-time data in the continuous data is shown.

[0026] Figure 5 A process diagram for determining each short-time data in the continuous data is shown.

[0027] Figure 6 A process diagram for Fourier analysis of qualified data is shown.

[0028] Figure 7 A process diagram for the motor data acquisition and processing method is shown.

[0029] Figure 8 A structure diagram of the motor data acquisition and processing system is shown.

[0030] Figure 9 A structure diagram of the electronic device is shown.

[0031] Element number explanation

[0032] 1 Motor data acquisition and processing system

[0033] 11 Short-time data acquisition module

[0034] 12 Continuous data acquisition module

[0035] 13 Determination module

[0036] 14 Counting module

[0037] 15 Confirmation module

[0038] 16 Analysis module

[0039] 2 Electronic device

[0040] 21 Memory

[0041] 22 Processor

[0042] S1-S6 steps

[0043] S11-S12 steps

[0044] S21-S22 steps

[0045] S31-S32 steps

[0046] S41-S42 steps

[0047] S51-S52 steps DETAILED DESCRIPTION

[0048] The above and other advantages and features of the application will become apparent from the following description of the application with reference to the accompanying drawings, which illustrate:

[0049] It is to be understood that the above-mentioned arrangements are merely intended to illustrate the basic principles of the application, and thus the drawings show only those parts of the application that are necessary for illustrating the principles of the application. The drawings are not necessarily to scale, as the dimensions of components have been shown exaggerated or reduced for illustrative purposes. Furthermore, the drawings are intended to conceptually illustrate more complex components and arrangements than those shown in the drawings.

[0050] The motor needs to perform Fourier analysis on the motor running current for a period of time (generally more than 10 seconds according to the requirements of Fourier analysis calculation and analysis accuracy) to obtain frequency domain data of the motor running current. Through analysis of the frequency domain data, the fault characteristics of the motor are obtained, and the functions of online fault prediction and fault analysis of the motor are realized.

[0051] However, during the operation of the motor, the operating voltage and operating frequency of the motor change with the power grid or the adjustment of the control device, and are affected by the change of the load size and the change of the motor operating current. In particular, the non-long-term working system motor frequently starts, stops and operates, and the stable operation time is short, and the operation state is more volatile. These fluctuation factors greatly affect the motor operating current detected by the surrounding operating environment factors, causing the Fourier analysis result of the data to be unable to correctly represent the characteristics of the motor, directly affecting the result of the online fault detection of the motor, and reducing the correctness of the fault analysis result.

[0052] The currently widely used data acquisition method is to directly detect a group of motor operating data for analysis under the motor operating state. Such online fault analysis has serious false positives, false negatives and missed reports, which makes the online fault detection of the motor almost unable to normally perform fault analysis. Therefore, it is important to obtain motor operating data by using a correct motor online fault detection operating parameter acquisition method, which is an important link of the motor online fault detection system.

[0053] At least in view of the above problems, the embodiments of the application provide a motor data acquisition and processing method.

[0054] The technical solutions in the embodiments of the application will be described in detail below with reference to the drawings of the embodiments of the application.

[0055] Figure 1 A process diagram of a motor data acquisition and processing method is shown in an embodiment of the present application. As shown in the figure, the acquisition and processing method comprises: Figure 1

[0056] S1, acquiring short-time data of motor operation.

[0057] S2, acquiring continuous data of a data length required by Fourier analysis based on the short-time data. The continuous data of the data length required by Fourier analysis comprises a plurality of continuous short-time data.

[0058] S3, determining each short-time data in the continuous data.

[0059] S4, if the determination is qualified, the qualified data length count value is incremented by 1, and S5 is entered, if the determination is unqualified, the qualified data length count value is cleared, and S1 is returned. The initial value of the qualified data length count value is 0.

[0060] S5, confirming whether the qualified data length is greater than or equal to the data length required by Fourier analysis according to the qualified data length count value, if yes, S6 is entered, if no, S1 is returned.

[0061] S6, performing Fourier analysis on the qualified data. The qualified data comprises a plurality of continuous and qualified short-time data, and the length of the qualified data is greater than or equal to the data length required by Fourier analysis.

[0062] According to the above description, the motor data acquisition and processing method provided in the embodiment of the present application can acquire continuous data of a length required by Fourier analysis in motor operation, and determine and analyze each short-time data in the continuous data, so as to finally obtain qualified data of the motor, and improve the accuracy of motor operation analysis.

[0063] Figure 2 A process diagram of acquiring short-time data of motor operation is shown in an embodiment of the present application. As shown in the figure, the process of acquiring short-time data of motor operation comprises: Figure 2

[0064] S11, acquiring operation data of the motor. The operation data of the motor is, for example, current data and / or voltage data.

[0065] S12, setting the operation data to be processed according to the time length of Fourier analysis, and acquiring short-time data of the motor operation. The time length of motor operation short-time data can be set to 1 to 2s according to the data time length required by Fourier analysis.

[0066] Figure 3 ​​Fig. 1 shows a schematic diagram of a process for obtaining continuous data of a length required by Fourier analysis according to an embodiment of the present application. As shown in Fig. 1, the process for obtaining continuous data of a length required by Fourier analysis based on short-time data comprises: Figure 3

[0067] S21, storing a plurality of short-time data in a cache variable. The plurality of short-time data collected each time is stored in the cache variable in a first-in-first-out order, and the length of data in the cache variable is greater than the length of data required by Fourier analysis. For example, the length of data required by Fourier analysis is 10s.

[0068] S22, obtaining uninterrupted data of a length required by Fourier analysis from the cache variable as the continuous data. Based on the first-in-first-out principle, the continuous data is the latest data in the cache variable that meets the length requirement.

[0069] Figure 4 Fig. 2 shows a schematic diagram of a process for determining each short-time data in the continuous data according to an embodiment of the present application. As shown in Fig. 2, the process for determining each short-time data in the continuous data comprises: Figure 4

[0070] S31, storing data in the cache variable in a temporary variable based on the length of data required by Fourier analysis.

[0071] S32, determining each short-time data in the temporary variable.

[0072] For example, the last data in the cache variable that meets the length requirement of Fourier analysis is saved in the temporary variable. The temporary variable includes short-time data that meets the length requirement of Fourier analysis, and the last short-time data is cut from the temporary variable based on a long period of the channel, and the last short-time data is determined and analyzed. For example, the last short-time data is 1s.

[0073] Figure 5 Fig. 3 shows a schematic diagram of a process for determining each short-time data in the continuous data according to an embodiment of the present application. As shown in Fig. 3, the process for determining each short-time data in the continuous data comprises setting a qualified data length counter and analyzing the validity of short-time data in the temporary variable: Figure 5

[0074] S41, determining whether the short-time data is data collected in a motor starting state.

[0075] S42, analyzing whether the valid value and frequency deviation of the short-time data are within a specified range.

[0076] ​​​If any of the above analysis cannot meet the requirements, the qualified data length counter is cleared, and the short-time data is re-acquired.

[0077] Exemplarily, the validity analysis on the short-time data first determines whether the short-time data is data collected in the motor starting state. If the short-time data is not data collected in the motor starting state, the qualified data length counter is cleared. If the short-time data is data collected in the motor starting state, the short-time data is continuously analyzed to determine whether the effective value size and the frequency deviation of each short-time data are within the set allowable range. If any of the effective value size and the frequency deviation of each short-time data is not within the set allowable range, the qualified data length counter is cleared. If the effective value size and the frequency deviation of each short-time data are within the set allowable range, it is indicated that all the short-time data meet the requirements, and the qualified data length counter is incremented by 1.

[0078] The frequency deviation of each short-time data refers to the frequency deviation between the short-time data of the current group and the short-time data collected in the previous group, i.e., the frequency deviation between the short-time data collected in two consecutive groups. For example, the consecutive short-time data collected are “short 1”, “short 2”, “short 3”… If “short 2” is the short-time data of the current group, “short 1” is the short-time data of the previous group. If “short 3” is the short-time data of the current group, “short 2” is the short-time data of the previous group.

[0079] In an embodiment of the present application, the step of confirming whether the qualified data length is greater than or equal to the data length required by the Fourier analysis according to the qualified data length count value and the short time includes: acquiring the qualified data length according to the qualified data length count value and the short time, and confirming whether the qualified data length is greater than or equal to the data length required by the Fourier analysis.

[0080] Exemplarily, the qualified data length is acquired by multiplying the qualified data length count value and the short time, and it is determined whether the qualified data length is greater than or equal to the data length required by the Fourier analysis. When the qualified data length is greater than or equal to the data length required by the Fourier analysis, the qualified data meeting the qualified data length requirement is subjected to the Fourier analysis.

[0081] Figure 6 A process diagram for the Fourier analysis on the qualified data in an embodiment of the present application is shown. Figure 6 As shown in the figure, the process for the Fourier analysis on the qualified data includes:

[0082] S51, the qualified data is stored in the qualified data variable. When the qualified data length is greater than or equal to the data length required by the Fourier analysis, the data meeting the length requirement for the Fourier analysis in the temporary variable is stored in the qualified data variable. The storage mode is, for example, from back to front.

[0083] Exemplarily, the collected continuous short-time data are "short 1", "short 2", "short 3", "short 4", "short 5", "short 6" and "short 7". Assuming that the short time is 2 seconds and the data length required by the Fourier decomposition is 10 seconds, if "short 3", "short 4", "short 5", "short 6" and "short 7" are all qualified data, the count value of the qualified data counter is 5, and the short time multiplied by the qualified data length count value (2*5) is equal to the data length required by the Fourier decomposition, i.e. 10 seconds. At this time, the 10-second data formed by combining "short 3", "short 4", "short 5", "short 6" and "short 7" is stored into the qualified data variable.

[0084] S52, performing Fourier analysis on the data in the qualified data variable.

[0085] The motor data acquisition and processing method of the present application will be specifically described below through an embodiment. Please refer to Figure 7 , and the specific implementation process is as follows:

[0086] Step 1, acquiring motor operation data.

[0087] Step 2, acquiring short-time current data, wherein the short time is, for example, 1 second.

[0088] Step 3, acquiring continuous data with a data length meeting the requirement of Fourier analysis based on the short-time data, and saving the read data into a cache variable.

[0089] Step 4, saving the last data with a length meeting the requirement of Fourier analysis from the cache variable into a temporary variable of Fourier analysis data.

[0090] Step 5, intercepting the last short-time data from the temporary variable of the channel long period. The short time is, for example, 1 second.

[0091] Step 6, determining whether the data is collected in the motor starting state? If the data is not collected in the motor starting state, the qualified data length count value is cleared, and the process returns to Step 2. If the data is collected in the motor starting state, the process proceeds to Step 7.

[0092] Step 7, determining whether the motor current size change is within the set range? If the current size of the short-time data is not within the set range, the qualified data length count value is cleared, and the process returns to Step 2. If the current size of the short-time data is within the set range, the process proceeds to Step 8.

[0093] Step 8, determining whether the motor current frequency change is within the set range? If the frequency change of the short-time data is not within the set range, the qualified data length count value is cleared, and the process returns to Step 2. If the frequency change of the short-time data is within the set range, the process proceeds to Step 9.

[0094] Step 9, the qualified data length count value is added by 1.

[0095] Step 10, it is determined whether the qualified data length count value is greater than or equal to the length required by Fourier analysis (for example, 10 seconds)? If the qualified data length count value is less than the length required by Fourier analysis, return to Step 2. If the qualified data length count value is greater than or equal to the length required by Fourier analysis, enter Step 11.

[0096] Step 11, the data meeting the Fourier analysis requirement in the temporary variable is transferred to the qualified data variable. If the count value of the qualified data length in the qualified data variable is 0, return to Step 2.

[0097] It should be noted that the motor data acquisition and processing method of the embodiment of the application is applicable to other parameters with the same requirements.

[0098] In summary, the collected motor operation data is divided into a certain number of small segments, and condition determination is performed on each short-time data, which ensures that each continuous short-time data is collected in the motor starting state, and the current size and frequency change of all short-time data are within the specified range. When the accumulated continuous short-time data segments meeting the conditions reach the Fourier analysis length requirement, the stored data is the qualified data. Through the motor data acquisition and processing method of the application, stable motor operation parameters can be obtained, the false positives, false negatives and missed reports of the motor online fault detection system are reduced, and the accuracy of motor operation analysis is improved.

[0099] The protection scope of the motor data acquisition and processing method described in the embodiment of the application is not limited to the step execution order listed in the embodiment. Any scheme realized by adding, reducing or replacing steps of the prior art according to the principle of the application is included in the protection scope of the application.

[0100] The embodiment of the application further provides a motor data acquisition and processing system, which can implement the motor data acquisition and processing method described in the application. However, the implementation device of the motor data acquisition and processing method described in the application includes but is not limited to the structure of the motor data acquisition and processing system listed in the embodiment. Any structure deformation and replacement of the prior art according to the principle of the application is included in the protection scope of the application.

[0101] Figure 8 Fig. 1 shows a structure schematic diagram of a motor data acquisition and processing system in an embodiment of the application. As shown in Fig. 1, the motor data acquisition and processing system includes a data acquisition module 1, a data processing module 2 and a data storage module 3. Figure 8As shown, the acquisition processing system 1 comprises a short-time data acquisition module 11, a continuous data acquisition module 12, a determination module 13, a counting module 14, a confirmation module 15 and an analysis module 16. The short-time data acquisition module 11 is configured to acquire short-time data of motor operation. The continuous data acquisition module 12 is configured to acquire continuous data with a data length required by Fourier analysis based on the short-time data. The determination module 13 is configured to determine each short-time data in the continuous data. The counting module 14 is configured to count the length of qualified data. If the determination is qualified, the length of qualified data is counted by one; if the determination is unqualified, the length of qualified data is cleared. The confirmation module 15 is configured to confirm whether the length of qualified data is greater than or equal to the data length required by Fourier analysis according to the length of qualified data. The analysis module 16 is configured to perform Fourier analysis on qualified data, wherein the qualified data comprises a plurality of short-time data determined as qualified, and the length of the qualified data is greater than or equal to the data length required by Fourier analysis.

[0102] It should be noted that, Figure 8 The modules in the motor data acquisition processing system 1 are the same as Figure 1 The steps in the motor data acquisition processing method are one-to-one corresponding, and will not be repeated here.

[0103] In several embodiments provided in the present application, it should be understood that the disclosed system, device or method can be implemented by other ways. For example, the device embodiments described above are only schematic, and the division of the modules / units is only a logical function division, and there can be another division way in actual implementation, for example, a plurality of modules or units can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the shown or discussed modules can be indirect coupling or communication connection through some interfaces, devices or modules, and can be electrical, mechanical or other forms.

[0104] The modules / units described as separate components can or can not be physically separate, and the components shown as modules / units can or can not be physical modules, i.e., they can be located in one place or distributed on a plurality of network units. Some or all of the modules / units can be selected according to actual needs to achieve the purpose of the embodiments of the present application. For example, the functional modules / units in each embodiment of the present application can be integrated into a processing module, or each module / unit can be physically independent, or two or more modules / units can be integrated into one module / unit.

[0105] Those skilled in the art should further appreciate that the units and algorithm steps of each example described in connection with the embodiments disclosed herein can be embodied in electronic hardware, computer software, or combinations of both. To clearly illustrate the interchangeability of hardware and software, various aspects of examples have been described generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends on the particular application and design constraints imposed on the overall system. Skilled persons can implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the application.

[0106] The embodiments of the present application further provide a computer readable storage medium, which stores a computer program. The computer program is executed by a processor to implement the motor data acquisition and processing method provided by the embodiments of the present application. Those skilled in the art can understand that all or part of the steps of the method described above can be completed by the program instructing the processor, and the program can be stored in the computer readable storage medium. The storage medium is a non-transitory medium, for example, a random access memory, a read only memory, a flash memory, a hard disk, a solid state disk, a magnetic tape, a floppy disk, an optical disc, and any combination thereof. The storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, a data center, and the like, which includes one or more sets of available media. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a digital video disc (DVD)), or a semiconductor medium (for example, a solid state disk (SSD)), and the like.

[0107] The embodiments of the present application can also provide an electronic device. Figure 9 The structure of the electronic device 2 is shown as a schematic diagram of an embodiment of the present application. As shown in the figure, Figure 9 The electronic device 2 includes a memory 21 and a processor 22.

[0108] The memory 21 is used to store a computer program. In some possible implementation manners, the memory 21 can include a ROM, a RAM, a magnetic disk, a U disk, a memory card, an optical disc, and various media that can store program codes.

[0109] In the embodiments of the present application, the memory 21 can include a computer system readable medium in the form of volatile memory, such as RAM and / or cache memory. The electronic device 2 can further include other removable / non-removable, volatile / non-volatile computer system storage media. The memory 21 can include at least one program product having a set (for example, at least one) of program modules configured to perform the functions of the embodiments of the present application.

[0110] The processor 22 is connected with the memory 21, and is configured to execute the computer program stored in the memory 21, so that the electronic device 2 performs the motor data acquisition processing method.

[0111] Exemplarily, the processor 22 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc. In other embodiments, the processor 22 can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component.

[0112] The descriptions of the corresponding processes or structures of each of the above figures are each focused on, and the parts not described in detail in a certain process or structure can be referred to the related description of other processes or structures.

[0113] The above embodiments are only illustrative of the principles of the present application and its effects, and are not used to limit the present application. Any person skilled in the art can modify or change the above embodiments without departing from the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by those skilled in the art without departing from the spirit and technical idea of the present application should be covered by the claims of the present application.

Claims

1. A method for acquiring and processing motor data, characterized in that, The data acquisition and processing method includes: Step 1: Obtain short-term data on motor operation; Step 2: Based on the short-time data, obtain continuous data of a length sufficient for Fourier analysis; Step 3: Determine each short-time data point in the continuous data; Step 4: If the data is deemed qualified, increment the qualified data length count by 1 and proceed to Step 5; if the data is deemed unqualified, clear the qualified data length count to zero and return to Step 1. Step 5: Confirm whether the length of qualified data is greater than or equal to the length of data required for the Fourier analysis based on the qualified data length count value. If yes, proceed to step 6; otherwise, return to step 1. Step 6: Perform Fourier analysis on the qualified data. The qualified data includes several consecutive short-time data points that are deemed qualified. The length of the qualified data is greater than or equal to the data length required for the Fourier analysis.

2. The acquisition and processing method according to claim 1, characterized in that, The process of acquiring short-term data on motor operation includes: Collect motor operating data; The operating data is processed according to the time length setting of the Fourier analysis to obtain short-time data of the motor operation.

3. The acquisition and processing method according to claim 1, characterized in that, The process of obtaining continuous data of the required length for Fourier analysis based on the aforementioned short-time data includes: Store several of the aforementioned short-time data points into a cache variable; The continuous data is obtained from the cached variables as the data length required for the Fourier analysis.

4. The acquisition and processing method according to claim 3, characterized in that, The process of determining each short-time data point in the continuous data includes: Based on the length data required for the Fourier analysis, the data in the cached variable is stored in a temporary variable; Each short-term data point in the temporary variable is evaluated.

5. The acquisition and processing method according to claim 1, characterized in that, The process of determining each short-time data point in the continuous data includes: Determine whether the short-term data was collected while the motor was running; Analyze whether the effective value and frequency deviation of the short-time data are within the specified range.

6. The acquisition and processing method according to claim 1, characterized in that, Confirming whether the qualified data length is greater than or equal to the data length required for the Fourier analysis based on the qualified data length count includes: The length of the qualified data is obtained based on the qualified data length count value and the short time. Confirm whether the length of the qualified data is greater than or equal to the length of data required for the Fourier analysis.

7. The acquisition and processing method according to claim 1, characterized in that, The process of performing Fourier analysis on qualified data includes: The qualified data is transferred to the qualified data variable; Perform Fourier analysis on the data in the qualified data variables.

8. A motor data acquisition and processing system, characterized in that, The motor data acquisition and processing system for implementing any one of claims 1-7 comprises: The short-time data acquisition module is used to acquire short-time data of motor operation. The continuous data acquisition module is used to acquire continuous data of a length that meets the requirements of Fourier analysis based on the short-time data. The determination module is used to determine each short-time data point in the continuous data; The counting module is used to count the length of qualified data. If the data is deemed qualified, the count value is incremented by 1; if the data is deemed unqualified, the count value is reset to zero. The confirmation module is used to confirm whether the length of qualified data is greater than or equal to the length of data required for the Fourier analysis based on the qualified data length count value. The analysis module is used to perform Fourier analysis on qualified data, which includes several short-time data points that are judged to be qualified. The length of the qualified data is greater than or equal to the data length required for the Fourier analysis.

9. An electronic device, characterized in that, The electronic device includes: A memory on which computer programs are stored; A processor, communicatively connected to the memory, is used to execute the computer program to implement the motor data acquisition and processing method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by an electronic device, the program implements the motor data acquisition and processing method as described in any one of claims 1 to 7.