Methods, devices, terminal equipment, and computer storage media for diagnosing motor faults.

The motor fault judgment model is generated through the federated learning method to judge the real-time status data of the motor, which solves the problems of complex calculation and noise influence in the existing technology, and achieves efficient and accurate fault identification.

CN113033605BActive Publication Date: 2024-09-24GUANGDONG XUNKE POWER TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110180726.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-02-08
Publication Date
2024-09-24
Estimated Expiration
2041-02-08

AI Technical Summary

Technical Problem

Existing motor fault identification methods require complex calculations during real-time detection and are easily affected by external noise, resulting in inaccurate judgment results.

Method used

The federated learning method based on machine learning is used to train the sample status data of multiple motors to generate a motor fault judgment model, and use the model to judge the real-time status data of the motor to be detected, simplifying calculations and improving accuracy.

Benefits of technology

There is no need to perform complex calculations on a large amount of real-time status data of the motor, which simplifies the fault judgment operation and significantly improves the accuracy and efficiency of fault judgment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113033605B
    Figure CN113033605B
Patent Text Reader

Abstract

The present invention relates to the field of motor and artificial intelligence technology, and provides a motor fault judgment method, device, terminal equipment and computer-readable storage medium, the method comprising: obtaining real-time status data of a motor to be detected, and inputting the real-time status data into a preset motor fault judgment model, wherein the motor fault judgment model is obtained by federated learning training based on sample status data of multiple motors; receiving the calculation result output after the motor fault judgment model is trained and calculated based on the real-time status data; and determining whether the motor to be detected has a fault according to the calculation result. In addition, the present invention also relates to blockchain technology, and the motor fault judgment model can be stored in a blockchain. The present invention can perform a model obtained by federated machine learning training based on sample status data collected from multiple motors to identify and judge motor faults, which simplifies the operation of fault judgment on the motor and improves the accuracy of fault judgment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of motor and artificial intelligence technology, and in particular to a motor fault judgment method, device, terminal equipment and computer-readable storage medium. Background Art

[0002] Artificial Intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. In other words, artificial intelligence is a comprehensive technology in computer science that attempts to understand the essence of intelligence and produce a new intelligent machine that can respond in a similar way to human intelligence. Artificial intelligence is to study the design principles and implementation methods of various intelligent machines so that machines have the functions of perception, reasoning and decision-making.

[0003] Existing fault identification and judgment for motors mostly involves real-time status detection of the motor to be detected in various dimensions, and after obtaining a large amount of status data of the motor to be detected, complex professional calculations are performed on the large amount of status data, and then the fault judgment result is output. In this way, not only must complex calculations be performed every time a judgment is made, but because the running state of the motor is inevitably affected by external noise, it is easy to cause a situation where even if time-consuming and tedious calculations are performed, the final judgment result still cannot guarantee accuracy. Summary of the invention

[0004] The embodiments of the present invention provide a motor fault judgment method, apparatus, terminal device and computer-readable storage medium, aiming to realize motor fault identification and judgment based on machine learning, achieve the purpose of simplifying calculation operations and improving judgment accuracy, and improve the efficiency of motor fault judgment.

[0005] To achieve the above technical objectives, an embodiment of the present invention provides a motor fault judgment method, which is applied to a terminal device connected to multiple motors, and the motor fault judgment method includes:

[0006] Acquire real-time status data of the motor to be detected, and input the real-time status data into a preset motor fault judgment model, wherein the motor fault judgment model is obtained by performing federated learning training based on sample status data of multiple motors;

[0007] Receiving a calculation result outputted by the motor fault judgment model after training calculation based on the real-time state data;

[0008] Determine whether the motor to be detected fails according to the calculation result.

[0009] Furthermore, in the above solution, the motor fault judgment method further includes:

[0010] Control multiple motors to perform federated learning training based on their respective sample state data to obtain a motor fault judgment model.

[0011] Furthermore, in the above solution, the step of controlling the plurality of motors to perform federated learning training based on their respective sample state data to obtain a motor fault judgment model includes:

[0012] Controlling each of the plurality of motors to locally collect sample state data and perform machine learning training of a local model based on the sample state data;

[0013] Receiving model parameters of respective local models uploaded by the plurality of motors, and integrating the model parameters to generate a model to be confirmed;

[0014] Distributing the to-be-confirmed model to the multiple motors for testing and receiving the test results returned by each of the multiple motors;

[0015] The model to be confirmed is determined to be a motor fault judgment model according to the test result.

[0016] Furthermore, in the above scheme, the test results include whether the model calculation is accurate or inaccurate, and the step of determining that the model to be confirmed is a motor fault judgment model according to the test results includes:

[0017] If the received test result indicates that the model calculation is accurate, determining that the model to be confirmed is the motor fault judgment model;

[0018] If the received test result indicates that the model calculation is inaccurate, the corresponding motor is controlled to retrain the model to be confirmed locally based on the sample state data and upload new model parameters;

[0019] Integrate the new model parameters to generate a new model to be confirmed and test the new model to be confirmed to obtain a new test result;

[0020] If the new test result shows that the model calculation is accurate, the new model to be confirmed is determined to be the motor fault judgment model.

[0021] Furthermore, in the above scheme, the sample state data includes real-time motor operating parameters and environmental noise data, and the step of controlling each of the multiple motors to locally collect sample state data and perform machine learning training of a local model based on the sample state data includes:

[0022] Model training instructions are distributed to the multiple motors so that the multiple motors can each locally collect the real-time operating parameters of the motor and the environmental noise data according to the model training instructions, and perform machine learning training on the local model based on the real-time operating parameters of the motor and the environmental noise data.

[0023] Furthermore, in the above scheme, the motor fault judgment model is stored in the blockchain, and the step of inputting the real-time status data into the preset motor fault judgment model includes:

[0024] The motor fault judgment model is extracted from the blockchain, and the real-time status data is input into the motor fault judgment model.

[0025] In addition, to achieve the above technical objectives, an embodiment of the present invention also provides another motor fault judgment method, which is applied to the motor itself and includes:

[0026] Based on local sample status data, federated learning training is performed with multiple other motors to obtain a motor fault judgment model;

[0027] Acquire real-time status data of the motor, and input the real-time status data into the motor fault judgment model;

[0028] Receiving a calculation result outputted by the motor fault judgment model after training calculation based on the real-time state data;

[0029] Determine whether the motor to be detected fails according to the calculation result.

[0030] In addition, to achieve the above technical objectives, an embodiment of the present invention further provides a motor fault judgment device, the motor fault judgment device is applied to a terminal device connected to multiple motors, and the motor fault judgment device includes:

[0031] An acquisition module, used for acquiring real-time status data of a motor to be detected, and inputting the real-time status data into a preset motor fault judgment model, wherein the motor fault judgment model is obtained by performing federated learning training based on sample status data of multiple motors;

[0032] A receiving module, used for receiving a calculation result outputted by the motor fault judgment model after training and calculating based on the real-time state data;

[0033] A determination module, used to determine whether the motor to be detected fails according to the calculation result;

[0034] Wherein, the motor fault judgment device is also applied to the motor itself, and the motor fault judgment device further includes:

[0035] The model training module is used to perform federated learning training with multiple other motors based on local sample status data to obtain a motor fault judgment model.

[0036] In addition, in order to achieve the above technical objectives, an embodiment of the present invention provides a terminal device, the terminal device comprising:

[0037] A memory for storing executable instructions;

[0038] The processor is used to implement the motor fault judgment method provided by the embodiment of the present invention when executing the executable instructions stored in the memory.

[0039] In addition, to achieve the above technical objectives, an embodiment of the present invention further provides a computer-readable storage medium, which stores executable instructions for causing a processor to execute and implement the motor fault judgment method provided by the embodiment of the present invention.

[0040] An embodiment of the present invention provides a computer program product, including a computer program. When the computer program is executed by a processor, the motor fault judgment method provided by the embodiment of the present invention is implemented.

[0041] The embodiments of the present invention have the following beneficial technical effects:

[0042] An embodiment of the present invention provides a motor fault judgment method, apparatus, terminal device and computer-readable storage medium, which obtains real-time status data of a motor to be detected and inputs the real-time status data into a preset motor fault judgment model, wherein the motor fault judgment model is obtained by federated learning training based on sample status data of multiple motors; receives a calculation result output after the motor fault judgment model is trained based on the real-time status data; and determines whether the motor to be detected has a fault based on the calculation result.

[0043] Compared with the method in the related art of performing real-time status detection of various dimensions on the motor to be detected to obtain a large amount of status data, and then performing complex calculations on the large amount of status data to obtain a fault judgment result, the embodiment of the present invention performs federated learning training based on sample status data of multiple motors to obtain a motor fault judgment model, and then when performing fault judgment on the motor to be detected, directly obtains the real-time status data of the motor to be detected, and inputs the real-time status data into the motor fault judgment model, so that the motor fault judgment model is trained to calculate the real-time status data to output a calculation result, and finally, determines whether the motor to be detected has a fault based on the calculation result.

[0044] The present invention realizes the identification and judgment of motor faults by obtaining a model through federated machine learning training based on sample status data collected from multiple motors. This not only eliminates the need for complex professional calculations on a large amount of real-time status data of the motor, simplifies the operation of fault judgment on the motor, but also effectively improves the accuracy of fault judgment, thereby greatly improving the efficiency of motor fault judgment. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 It is a schematic diagram of an implementation scenario of a motor fault judgment method provided by an embodiment of the present invention;

[0046] Figure 2 is a schematic diagram of the structure of a terminal device provided by an embodiment of the present invention;

[0047] Figure 3 It is a schematic diagram of a flow chart of a method for determining a motor fault provided by an embodiment of the present invention;

[0048] Figure 4 is another schematic flow chart of a method for determining a motor fault provided by an embodiment of the present invention;

[0049] Figure 5 It is a schematic diagram of another implementation scenario of the motor fault judgment method provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0050] In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be described in detail in some embodiments with reference to the accompanying drawings. The described embodiments should not be regarded as limiting the present invention. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present invention.

[0051] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0052] In the following description, if the terms "first\second\third" are involved, the "first\second\third" are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that the "first\second\third" can be interchanged in a specific order or sequence where permitted, so that the embodiments of the present invention described herein can be implemented in an order other than that illustrated or described herein.

[0053] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present invention belongs. The terms used herein are only for the purpose of describing the embodiments of the present invention and are not intended to limit the present invention.

[0054] Before further describing the embodiments of the present invention in detail, the nouns and terms involved in the embodiments of the present invention are described. The nouns and terms involved in the embodiments of the present invention are subject to the following interpretations.

[0055] 1) Federated learning training, that is, combining the sample data of multiple instances (motors in this solution) to jointly perform machine learning, so as to complete the training and optimization of the model under the collaboration of multiple parties.

[0056] Based on the above explanations of the nouns and terms involved in the embodiments of the present invention, the following describes the implementation scenario of the training method of the classification model provided by the embodiments of the present invention. Figure 1 , Figure 1 It is a schematic diagram of an implementation scenario of the motor fault judgment method provided in an embodiment of the present invention. To support an exemplary application, the terminal device 200-1 connects multiple motors, namely motor 200-1 to motor 200-n (n is a positive integer greater than 1), through a network 300.

[0057] The terminal device (including the terminal device 200-1) is used to receive real-time status data uploaded by multiple motors (including motor 200-1 and / or motor 200-2...motor 200-n), then input the real-time status data into a motor fault judgment model, receive the calculation result output by the motor fault judgment model, and judge whether the motor corresponding to the real-time status data is faulty according to the calculation result;

[0058] The motors (including motor 200 - 1 and / or motor 200 - 2 . . . motor 200 - n) are used to upload their respective real-time status data and receive motor fault judgment results fed back by terminal devices (including terminal device 200 - 1).

[0059] In practical applications, the terminal device 200-1 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The terminal device 200-1 can also be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc., but is not limited to this. The terminal device 200-1 and the motor 200-2 can be directly or indirectly connected by wired or wireless communication, and the present invention is not limited here.

[0060] The hardware structure of the terminal device for implementing the motor fault judgment method provided in the embodiment of the present invention is described in detail below. The terminal device includes but is not limited to a server or a terminal. Figure 2 , Figure 2 is a schematic diagram of the structure of a terminal device provided by an embodiment of the present invention, Figure 2 The terminal device 200 shown includes: at least one processor 210, a memory 250, at least one network interface 220 and a user interface 230. The various components in the terminal device 200 are coupled together via a bus system 240. It is understood that the bus system 240 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 240 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 240 is not described in detail. Figure 2 Various buses are labeled as bus system 240 .

[0061] The processor 210 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.

[0062] The user interface 230 includes one or more output devices 231 that enable presentation of media content, including one or more speakers and / or one or more visual display screens. The user interface 230 also includes one or more input devices 232, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.

[0063] The memory 250 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard disk drives, optical disk drives, etc. The memory 250 may optionally include one or more storage devices that are physically remote from the processor 210.

[0064] The memory 250 includes a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. The nonvolatile memory may be a read-only memory (ROM), and the volatile memory may be a random access memory (RAM). The memory 250 described in the embodiment of the present invention is intended to include any suitable type of memory.

[0065] In some embodiments, memory 250 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplarily described below.

[0066] Operating system 251, including system programs for processing various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks;

[0067] A network communication module 252, used to reach other computing devices via one or more (wired or wireless) network interfaces 220, exemplary network interfaces 220 include: Bluetooth, Wireless Compatibility Certification (WiFi), and Universal Serial Bus (USB);

[0068] The input processing module 253 is used to detect one or more user inputs or interactions from one of the one or more input devices 232 and translate the detected inputs or interactions.

[0069] In some embodiments, the motor fault judgment device provided by the embodiments of the present invention can be implemented in a software manner. Figure 2 The fault judgment device 254 of the motor stored in the memory 250 is shown, which can be software in the form of a program and a plug-in, etc., including the following software modules:

[0070] An acquisition module 2541 is used to acquire real-time status data of the motor to be detected, and input the real-time status data into a preset motor fault judgment model, wherein the motor fault judgment model is obtained by performing federated learning training based on sample status data of multiple motors;

[0071] A receiving module 2542 is used to receive a calculation result outputted by the motor fault judgment model after training calculation based on the real-time state data;

[0072] The determination module 2543 is used to determine whether the motor to be detected fails according to the calculation result.

[0073] Optionally, the motor fault judgment device 254 further includes:

[0074] The model training module 2544 is used to control multiple motors to perform federated learning training based on their respective sample state data to obtain a motor fault judgment model.

[0075] Optionally, the model training module 2544 includes:

[0076] A control unit, used to control each of the plurality of motors to locally collect sample state data and perform machine learning training of a local model based on the sample state data;

[0077] A model generation unit, configured to receive model parameters of respective local models uploaded by the plurality of motors, and integrate the model parameters to generate a model to be confirmed;

[0078] A testing unit, configured to distribute the to-be-confirmed model to the plurality of motors for testing and receive the test results returned by each of the plurality of motors;

[0079] A determination unit is used to determine that the model to be confirmed is a motor fault judgment model according to the test result.

[0080] Optionally, the test result includes whether the model calculation is accurate or inaccurate, and the determination unit includes:

[0081] A first determination subunit, configured to determine that the model to be confirmed is the motor fault judgment model if the received test result indicates that the model calculation is accurate;

[0082] A control subunit, configured to control the corresponding motor to retrain the model to be confirmed locally based on the sample state data and upload new model parameters if the received test result indicates that the model calculation is inaccurate;

[0083] A model generation subunit, used for integrating the new model parameters to generate a new model to be confirmed and testing the new model to be confirmed to obtain a new test result;

[0084] The second determination subunit is used to determine that the new model to be confirmed is the motor fault judgment model if the new test result shows that the model calculation is accurate.

[0085] Optionally, the sample status data includes real-time operating parameters of the motor and environmental noise data. The control unit is also used to distribute model training instructions to the multiple motors, so that the multiple motors can each locally collect the real-time operating parameters of the motor and the environmental noise data according to the model training instructions, and perform machine learning training on the local model based on the real-time operating parameters of the motor and the environmental noise data.

[0086] Optionally, the motor fault judgment model is stored in the blockchain, and the acquisition module 2541 is further used to extract the motor fault judgment model from the blockchain and input the real-time status data into the motor fault judgment model.

[0087] In addition, in some other feasible embodiments, the motor fault judgment device 254 stored in the memory 250 can also be applied to the motor itself alone. When the motor fault judgment device 254 is applied to the motor itself,

[0088] Model training module 2544, used to perform federated learning training with other multiple motors based on local sample state data to obtain a motor fault judgment model

[0089] An acquisition module 2541 is used to acquire real-time status data of the motor and input the real-time status data into the motor fault judgment model;

[0090] A receiving module 2542 is used to receive a calculation result outputted by the motor fault judgment model after training calculation based on the real-time state data;

[0091] The determination module 2543 is used to determine whether the motor to be detected fails according to the calculation result.

[0092] The above modules are logical, and therefore can be arbitrarily combined or further split according to the functions implemented. The functions of each module will be explained below.

[0093] In other embodiments, the motor fault judgment device provided in the embodiment of the present invention can be implemented by a combination of software and hardware. As an example, the motor fault judgment device provided in the embodiment of the present invention can be a processor in the form of a hardware decoding processor, which is programmed to execute the motor fault judgment method provided in the embodiment of the present invention. For example, the processor in the form of a hardware decoding processor can adopt one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field programmable gate arrays (FPGAs) or other electronic components.

[0094] Based on the above description of the implementation scenario of the motor fault judgment method and the electronic device according to the embodiment of the present invention, the motor fault judgment method provided by the embodiment of the present invention is described below. Figure 3 , Figure 3 : is a flow chart of a motor fault judgment method provided by an embodiment of the present invention. The motor fault judgment method provided by an embodiment of the present invention is applied to a terminal device connected to multiple motors by wired or wireless means. The motor fault judgment method includes:

[0095] Step 301: Acquire real-time status data of a motor to be detected, and input the real-time status data into a preset motor fault judgment model, wherein the motor fault judgment model is obtained by performing federated learning training based on sample status data of multiple motors.

[0096] During the entire operation process of the connected motor to be detected, the terminal device continuously monitors the real-time status data of the motor to be detected, and when it is necessary to perform fault judgment on the motor to be detected, it directly obtains the real-time status data of the motor to be detected and inputs the real-time status data into the motor fault judgment model that has been pre-trained through federal machine learning.

[0097] It should be noted that, in this embodiment, the motor fault judgment model is obtained by pre-controlling the terminal device to connect multiple motors and performing federal machine learning training based on their respective local sample status data.

[0098] Specifically, during the actual implementation of this embodiment, the terminal device establishes a communication connection with various sensors installed on the motor to be detected for detecting the operating status of the motor, thereby continuously monitoring the real-time status data of the motor to be detected detected by the various sensors in real time during the entire process of starting and running of the motor to be detected. Then, the terminal device obtains the real-time status data of the motor to be detected detected by the various sensors locally based on receiving instructions for fault judgment on the motor to be detected. Then, the terminal device can directly input the real-time status data into a pre-trained motor fault judgment model.

[0099] Furthermore, in some feasible embodiments, the motor fault judgment method provided by the embodiment of the present invention may further include:

[0100] Step A: Control multiple motors to perform federated learning training based on their respective sample state data to obtain a motor fault judgment model.

[0101] Before the terminal device obtains the real-time status data of the motor to be detected and inputs the real-time status data into the motor fault judgment model, it first controls multiple connected motors as a federation to perform federated learning training based on the sample status data of each of the multiple motors, thereby obtaining a motor fault judgment model that can perform fault judgment on the motor to be detected.

[0102] Furthermore, in a feasible embodiment, step A may include:

[0103] Step A1: controlling each of the plurality of motors to locally collect sample state data and perform machine learning training of a local model based on the sample state data;

[0104] In the process of controlling the connected multiple motors for federated learning training, the terminal device first controls the multiple motors to collect sample state data locally, and then uses the sample state data to perform machine learning training on the local model locally until the local model converges, or the number of machine learning training for the local model reaches the maximum number of iterations.

[0105] It should be noted that, in the present embodiment, the sample status data may specifically be the real-time operating parameters and environmental noise data such as motor speed, current, voltage and vibration amplitude monitored by various sensors collected locally in real time by each motor, or the sample status data may also be the real-time operating parameters and environmental noise data such as motor speed, current, voltage and vibration amplitude manually input by staff. It should be understood that, based on different design requirements of actual applications, in different feasible implementation methods, each motor may of course collect various different real-time operating parameters and environmental noise data of the environment in which it is located locally as sample status data, and the motor fault judgment method proposed in the embodiment of the present invention is not limited to the specific type of the sample status data.

[0106] In addition, in this embodiment, the local model can specifically be any machine learning model such as a neural network model, a convolutional neural network model, a binary classification model or a multi-classification model. It should be understood that based on the different design requirements of actual applications, in different feasible implementation methods, each motor can locally perform machine learning training on any one of the machine learning models. The motor fault judgment method proposed in the embodiment of the present invention is also not limited to the specific type of the local model.

[0107] Furthermore, in a feasible embodiment, the sample state data includes real-time motor operation parameters and environmental noise data, and the above step A1 may include:

[0108] Step A101: Distribute model training instructions to the multiple motors, so that the multiple motors can each locally collect the real-time operating parameters of the motor and the environmental noise data according to the model training instructions, and perform machine learning training on the local model based on the real-time operating parameters of the motor and the environmental noise data.

[0109] After the terminal device combines the multiple connected motors into a federation, it uniformly distributes model training instructions to the multiple motors. After receiving the model training instructions, the multiple motors begin to collect the real-time operating parameters and environmental noise data of the motors monitored by various sensors locally. Then, the multiple motors each perform machine learning training for the same type of machine learning model locally based on the real-time operating parameters and environmental noise data of the motors.

[0110] Specifically, during the actual implementation of this embodiment, the terminal device preselects a binary classification model as the local model that each motor needs to perform machine learning training locally. Then, the terminal device encapsulates the binary classification model into a model training instruction that controls each motor to perform machine learning training locally, and distributes the model training instruction to each motor. Thus, after receiving the model training instruction, each motor collects the real-time motor operating parameters (such as motor speed, current, voltage and / or vibration amplitude, etc.) monitored by its own preset sensors in real time, and collects the environmental noise data of its own environment. Iterative training is performed on the binary classification model issued together with the model training instruction locally based on the real-time motor operating parameters and environmental noise data collected by each motor until the binary classification model converges, or until the number of iterative training of the binary classification model reaches the set maximum number of iterations.

[0111] Step A2: receiving model parameters of respective local models uploaded by the plurality of motors, and integrating the model parameters to generate a model to be confirmed;

[0112] After the terminal device combines the multiple connected motors into a federation and uniformly distributes model training instructions to the multiple motors so that the multiple motors can locally collect sample state data according to the model training instructions to perform machine learning training for the same type of machine learning model, the terminal device receives the model parameters of the machine learning model of each of the multiple motors after the machine learning model training converges or the training times reaches the maximum number of iterations. Then, the terminal device integrates the model parameters uploaded by each of the multiple motors to generate a complete machine learning model as a model to be confirmed.

[0113] Specifically, during the actual implementation of this embodiment, each motor locally iteratively trains the binary classification model based on the collected real-time motor operating parameters and environmental noise data until the binary classification model converges, or until the number of iterative training of the binary classification model reaches a set maximum number of iterations. Then, each motor packages the model parameters of the binary classification model, such as intermediate gradients, coefficients, and weights, and uploads them to the terminal device. After receiving the model parameters uploaded by each motor, the terminal device first classifies the model parameters and performs weighted averaging on the model parameters of the same category to obtain the unique model parameters of the category. Finally, the terminal device integrates the model parameters of different categories after weighted averaging into a new binary classification model as the model to be confirmed.

[0114] Step A3: distributing the to-be-confirmed model to the multiple motors for testing and receiving the test results returned by each of the multiple motors;

[0115] After the terminal device integrates the model parameters uploaded by multiple motors to generate the model to be confirmed, it once again distributes the model to be confirmed to multiple motors so that each of the multiple motors can test the model to be confirmed locally, and after the test is completed, the terminal device feeds back the test results of each of the models to be confirmed.

[0116] It should be noted that, in the present embodiment, when multiple motors are each tested locally for a model to be confirmed, the multiple motors can use test sample data collected locally specifically for testing. The test sample data can specifically be real-time motor operating parameters and environmental noise data collected locally for each motor when determining whether the motor is faulty. Alternatively, the test sample data can also be motor operating parameters and environmental noise data manually input by a staff member and marked with whether the motor is faulty.

[0117] Specifically, in the actual implementation of this embodiment, the terminal device classifies and weighted averages the model parameters of the binary classification model uploaded by each motor, and then integrates the model parameters of different categories after weighted averaging to obtain the model to be confirmed. The terminal device then encapsulates the model to be confirmed as a model test instruction again, and distributes the model test instruction to each motor to enable each motor to extract the model to be confirmed in the model test instruction, and obtains test sample data to input the model to be confirmed for model training calculation, generates corresponding test results according to the calculation results output by the model to be confirmed, and feeds back the test results to the terminal device respectively.

[0118] It should be noted that, in the present embodiment, when each motor is tested locally using the test sample data for the model to be confirmed, if the motor currently inputs the test sample data that identifies the motor as faulty to the model to be confirmed, and the calculation result output by the model training calculation for the test sample data of the model to be confirmed is also that the motor is faulty, then the motor immediately generates a test result with accurate model calculation and feeds the test result back to the terminal device; alternatively, if the motor currently inputs the test sample data that identifies the motor as faulty to the model to be confirmed, but the calculation result output by the model training calculation for the test sample data of the model to be confirmed is that the motor is not faulty, then the motor immediately generates a test result with inaccurate model calculation and feeds the test result back to the terminal device.

[0119] Step A4: Determine, according to the test result, that the model to be confirmed is a motor fault judgment model.

[0120] After receiving the test results uploaded by each motor, the terminal device directly determines the model to be confirmed as a motor fault judgment model that can accurately judge whether the motor to be tested is faulty based on the test results, or controls the motor again to perform local machine learning training on the model to be confirmed based on the test results, and then regenerates a new model to be confirmed for testing, thereby determining the new model to be confirmed as a motor fault judgment model based on the test results.

[0121] Further, in a feasible embodiment, the test result includes whether the model calculation is accurate or inaccurate, and step A4 may include:

[0122] Step A401: If the received test result indicates that the model calculation is accurate, determining that the model to be confirmed is the motor fault judgment model;

[0123] After receiving the test results uploaded by each motor, if the test result shows that the model calculation is accurate, the terminal device directly determines the model to be confirmed as a motor fault judgment model that can accurately judge whether the motor to be tested is faulty.

[0124] For details, please refer to Figure 5 In the application scenario shown, when this embodiment is actually implemented, if among the motors, motor 1 generates a test result of "accurate model calculation" after locally testing the model to be confirmed using test sample data, then after motor 1 uploads the test result of "accurate model calculation" to the terminal device, the terminal device can directly determine that the model to be confirmed passed to motor 1 for testing is a motor fault judgment model that can accurately judge whether the motor to be detected has a fault.

[0125] Step A402: If the received test result indicates that the model calculation is inaccurate, the corresponding motor is controlled to retrain the model to be confirmed locally based on the sample state data and upload new model parameters;

[0126] After receiving the test results uploaded by each motor, if the test result shows that the model calculation is inaccurate, the terminal device will again control the motor that uploaded the test result to perform machine learning training for the model to be confirmed based on the sample status data locally and upload new model parameters.

[0127] For details, please refer to Figure 5 In the application scenario shown, when this embodiment is actually implemented, if among the motors, the test result generated by motor 2 after locally testing the model to be confirmed using the test sample data is "inaccurate model calculation", then after the motor 2 uploads the test result of "inaccurate model calculation" to the terminal device, the terminal device immediately sends a new model training instruction to the motor 2 again, so that the motor 2 uses the pre-collected real-time motor operating parameters (such as motor speed, current, voltage and / or vibration amplitude, etc.) and environmental noise data based on the new model training instruction to re-locally iteratively train the model to be confirmed until the model to be confirmed converges, or until the number of iterative trainings for the model to be confirmed reaches the set maximum number of iterations, then the new model parameters of the intermediate gradients, coefficients, weights and other categories of the model to be confirmed are packaged and uploaded to the terminal device.

[0128] Step A403: Integrate the new model parameters to generate a new model to be confirmed and test the new model to be confirmed to obtain a new test result;

[0129] After receiving the new model parameters, the terminal device integrates the new model parameters to generate a complete machine learning model as a new model to be confirmed. Then, the terminal device again sends the new model to be confirmed to the corresponding motor, and the motor tests the new model to be confirmed and feeds back new test results.

[0130] For details, please refer to Figure 5As shown in the application scenario, when this embodiment is actually implemented, after receiving the new model parameters uploaded by motor 2, the terminal device also first classifies the new model parameters, and performs weighted averaging of the model parameters of the same category to obtain the unique model parameters of the category. Finally, the terminal device integrates the model parameters of different categories after weighted averaging into a new model to be confirmed. Then, the terminal device again encapsulates the new model to be confirmed as a model test instruction, and distributes the model test instruction to motor 2 to enable motor 2 to extract the new model to be confirmed in the model test instruction, and obtains test sample data to input the new model to be confirmed for model training calculation, and generates a corresponding new test result according to the calculation result output by the new model to be confirmed, that is, "the model calculation is accurate" or "the model calculation is inaccurate", and the new test result is fed back to the terminal device.

[0131] It should be noted that, in this embodiment, the process of motor 2 testing the new model to be confirmed and generating new test results is the same as the process of each of the above-mentioned motors testing the model to be confirmed locally using test sample data and then generating corresponding test results, which will not be repeated here.

[0132] Step A404: If the new test result shows that the model calculation is accurate, then the new model to be confirmed is determined to be the motor fault judgment model.

[0133] After receiving the new test result uploaded by the motor again, if the new test result shows that the model calculation is accurate, the terminal device directly determines the new model to be confirmed as the motor fault judgment model that can accurately judge whether the motor to be tested has a fault.

[0134] For details, please refer to Figure 5 In the application scenario shown, when this embodiment is actually implemented, if the motor 2 generates a new test result of "model calculation is accurate" after locally testing the new model to be confirmed using the test sample data again, then after the motor 2 uploads the new test result of "model calculation is accurate" to the terminal device, the terminal device can directly determine that the new model to be confirmed passed to the motor 2 for testing is a motor fault judgment model that can accurately judge whether the motor to be detected has a fault.

[0135] Furthermore, in another feasible embodiment, if the new test result received by the terminal device is still "the model calculation is inaccurate", the terminal device repeats the process of steps A401 to A403 until the new test result is "the model calculation is accurate" and the new model to be confirmed is determined as the motor fault judgment model.

[0136] Furthermore, in some feasible embodiments, the motor fault judgment model is stored in the blockchain, and in the above step 301, the step of "inputting the real-time status data into the preset motor fault judgment model" may include:

[0137] Step 3011: extract the motor fault judgment model from the blockchain, and input the real-time status data into the motor fault judgment model.

[0138] After the terminal device performs federated learning training on multiple motors to obtain a motor fault judgment model, the terminal device can store the motor fault judgment model in a pre-developed blockchain node. Thus, in the process of fault judgment on the motor to be detected, after the terminal device obtains the real-time status data of the motor to be detected, it extracts the motor fault judgment model from the blockchain node and inputs the real-time status data into the motor fault judgment model.

[0139] It should be noted that, in this embodiment, in order to ensure that the motor fault judgment model obtained by the terminal device in conjunction with multiple motors for federated learning training will not be modified or removed by mistake, the motor fault judgment model is stored in a node of a blockchain. In this way, not only the stability of the motor fault judgment model can be ensured, but also the response enthusiasm of subsequent terminal devices when extracting the motor fault judgment model for motor fault judgment, as well as the accuracy of the read motor fault judgment model can be ensured, thereby further improving the overall efficiency of motor fault judgment.

[0140] Step 302: receiving the calculation result outputted by the motor fault judgment model after training calculation based on the real-time status data.

[0141] After the terminal device obtains the real-time status data of the motor to be detected and inputs the real-time status data into the motor fault judgment model, the motor fault judgment model performs model training calculations on the real-time status data and outputs the calculation results. The terminal device then receives the calculation results to determine whether the motor to be detected has a fault.

[0142] Step 303: Determine whether the motor to be detected fails according to the calculation result.

[0143] It should be noted that, in this embodiment, the calculation result includes whether the motor has a fault or not.

[0144] After receiving the calculation result output by the motor fault model, if the calculation result is that the motor is not faulty, the terminal device determines that the motor to be detected is not faulty, or, if the calculation result is that the motor is faulty, the terminal device determines that the motor to be detected is faulty and outputs a corresponding prompt message.

[0145] Applying the above-mentioned embodiment of the present invention, before the terminal device obtains the real-time status data of the motor to be detected and inputs the real-time status data into the motor fault judgment model, it first controls the multiple motors that have been connected as a federation to perform federated learning training based on the sample status data of each of the multiple motors, thereby obtaining a motor fault judgment model that can perform fault judgment on the motor to be detected; during the entire operation process of the connected motor to be detected, the terminal device continuously monitors the real-time status data of the motor to be detected, and when it is necessary to perform fault judgment on the motor to be detected, directly obtains the real-time status data of the motor to be detected, and inputs the real-time status data into the motor fault judgment model that has been pre-federated machine learning training. After the terminal device obtains the real-time status data of the motor to be detected and inputs the real-time status data into the motor fault judgment model, the motor fault judgment model performs model training calculation on the real-time status data and outputs the calculation result, and the terminal device receives the calculation result to determine whether the motor to be detected has a fault. After receiving the calculation result output by the motor fault model, if the calculation result is that the motor is not faulty, the terminal device determines that the motor to be detected is not faulty, or, if the calculation result is that the motor is faulty, the terminal device determines that the motor to be detected is faulty and outputs a corresponding prompt message.

[0146] The present invention realizes the identification and judgment of motor faults by obtaining a model through federated machine learning training based on sample status data collected from multiple motors. This not only eliminates the need for complex professional calculations on a large amount of real-time status data of the motor, simplifies the operation of fault judgment on the motor, but also effectively improves the accuracy of fault judgment, thereby greatly improving the efficiency of motor fault judgment.

[0147] After describing the application of the motor fault judgment method provided by the embodiment of the present invention to a terminal device connected to multiple motors, the application of the motor fault judgment method provided by the embodiment of the present invention to any one electrode of the multiple motors is described below. Figure 4 , Figure 4 : is a flow chart of a motor fault judgment method provided by an embodiment of the present invention. The motor fault judgment method provided by an embodiment of the present invention is applied to any one of the multiple motors connected to the above-mentioned terminal device in a wired or wireless manner. The motor fault judgment method provided by an embodiment of the present invention includes:

[0148] Step 401: Perform federated learning training with other multiple motors based on local sample state data to obtain a motor fault judgment model.

[0149] Based on the model training instructions received from the terminal device, the motor collects sample status data locally, and then uses the sample status data to perform machine learning training on the local model until the local model converges, or after the number of machine learning training on the local model reaches a maximum number of iterations, the model parameters of the local model are uploaded to the terminal device, so that the terminal device first integrates the model parameters uploaded by each of the multiple motors to generate a complete machine learning model as a model to be confirmed. Then, the motor receives the model to be confirmed sent by the terminal device, tests the model to be confirmed locally and feeds back the test results, so that the terminal device determines the model to be confirmed as a motor fault judgment model that can accurately judge whether the motor to be detected is faulty based on the test results.

[0150] It should be noted that, in this embodiment, the detailed process of obtaining a motor fault judgment model by performing federated learning training with multiple other motors based on local sample state data can refer to the entire specific implementation method of step A, step A1 (including step A101) to step A4 (including step A401-step A404) in the above embodiment, and will not be repeated here.

[0151] Step 402: Acquire real-time status data of the motor, and input the real-time status data into the motor fault judgment model;

[0152] When the motor needs to perform fault judgment at the current moment, the real-time status data of the current moment is obtained, and the real-time status data is input into the motor fault judgment model obtained by the federated machine learning training in advance.

[0153] It should be noted that, in this embodiment, the detailed process of the motor obtaining real-time status data and inputting the real-time status data into the motor fault judgment model can refer to the entire specific implementation of step 301 and step 3011 in the above embodiment, which will not be repeated here.

[0154] Step S403: receiving the calculation result outputted by the motor fault judgment model after training calculation based on the real-time state data;

[0155] After the motor obtains real-time status data and inputs the real-time status data into the motor fault judgment model, the motor fault judgment model performs model training calculations on the real-time status data and outputs the calculation results. The motor receives the calculation results to determine whether a fault occurs at the current moment.

[0156] Step S404: Determine whether the motor to be detected fails according to the calculation result.

[0157] It should be noted that, similarly, in this embodiment, the calculation results include whether the motor has a fault or not.

[0158] After the motor receives the calculation result output by the motor fault model, if the calculation result is that the motor has no fault, the terminal device determines that no fault has occurred at the current moment; or, if the calculation result is that the motor has a fault, the terminal device determines that a fault has occurred at the current moment and outputs a corresponding prompt message.

[0159] The above embodiment of the present invention is applied, and the motor collects sample state data locally based on the model training instruction of the receiving terminal device, and then uses the sample state data to perform machine learning training on the local model until the local model converges, or after the number of machine learning training on the local model reaches the maximum number of iterations, the model parameters of the local model are uploaded to the terminal device, so that the terminal device first integrates the model parameters uploaded by the multiple motors to generate a complete machine learning model as a model to be confirmed, and then the motor receives the model to be confirmed sent by the terminal device, tests the model to be confirmed locally and feeds back the test results, so that the terminal device determines the model to be confirmed as a motor fault judgment model that can accurately judge whether the motor to be detected is faulty based on the test results. When the motor is to perform fault judgment at the current moment, the real-time state data at the current moment is obtained, and the real-time state data is input into the motor fault judgment model that has been previously federated with machine learning training. The motor fault judgment model performs model training calculations on the real-time status data and outputs the calculation results. The motor receives the calculation results to determine whether a fault occurs at the current moment. That is, after the motor receives the calculation results output by the motor fault model, if the calculation result is that the motor has no fault, the terminal device determines that no fault has occurred at the current moment; or, if the calculation result is that the motor has a fault, the terminal device determines that a fault has occurred at the current moment and outputs a corresponding prompt message.

[0160] The present invention realizes the identification and judgment of motor faults by obtaining a model through federated machine learning training based on sample status data collected from multiple motors. This not only eliminates the need for complex professional calculations on a large amount of real-time status data of the motor, simplifies the operation of fault judgment on the motor, but also effectively improves the accuracy of fault judgment, thereby greatly improving the efficiency of motor fault judgment.

[0161] An embodiment of the present invention further provides a terminal device, the terminal device comprising:

[0162] A memory for storing executable instructions;

[0163] The processor is used to implement the application method of the multi-classification model provided by the embodiment of the present invention when executing the executable instructions stored in the memory.

[0164] The embodiment of the present invention further provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the motor fault judgment method provided by the embodiment of the present invention.

[0165] An embodiment of the present invention further provides a computer-readable storage medium storing executable instructions, which, when executed by a processor, implements the application method of the multi-classification model provided by the embodiment of the present invention.

[0166] In some embodiments, the computer readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or various devices including one or any combination of the above memories. The computer may be various computing devices including intelligent terminals and servers.

[0167] In some embodiments, executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.

[0168] As an example, executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file that stores other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).

[0169] By way of example, executable instructions may be deployed to be executed on one computing device, or on multiple computing devices located at one site, or on multiple computing devices distributed across multiple sites and interconnected by a communication network.

[0170] The above description is only an embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement and improvement made within the spirit and scope of the present invention are included in the protection scope of the present invention.

Claims

1. A method for determining a motor fault, characterized in that: The motor fault judgment method is applied to a terminal device connected to a plurality of motors, and the motor fault judgment method includes: Acquire real-time status data of the motor to be detected, and input the real-time status data into a preset motor fault judgment model, wherein the motor fault judgment model is obtained by federated learning training based on sample status data of multiple motors, and the sample status data includes real-time operating parameters and environmental noise data of each motor monitored locally in real time, and the real-time operating parameters include motor speed, current, voltage and vibration amplitude; Receiving a calculation result outputted by the motor fault judgment model after training calculation based on the real-time state data; Determine whether the motor to be detected fails according to the calculation result; Wherein, the motor fault judgment method further includes: Control multiple motors to perform federated learning training based on their respective sample state data to obtain a motor fault judgment model; The step of controlling the plurality of motors to perform federated learning training based on their respective sample state data to obtain a motor fault judgment model includes: Controlling each of the plurality of motors to locally collect sample state data and perform machine learning training of a local model based on the sample state data; Receiving model parameters of respective local models uploaded by the plurality of motors, and integrating the model parameters to generate a model to be confirmed; Distributing the to-be-confirmed model to the multiple motors for testing and receiving the test results returned by each of the multiple motors; If the received test result indicates that the model calculation is accurate, determining that the model to be confirmed is the motor fault judgment model; If the received test result indicates that the model calculation is inaccurate, the corresponding motor is controlled to retrain the model to be confirmed locally based on the sample state data and upload new model parameters; Integrate the new model parameters to generate a new model to be confirmed and test the new model to be confirmed to obtain a new test result; If the new test result shows that the model calculation is accurate, the new model to be confirmed is determined to be the motor fault judgment model.

2. The motor fault judgment method according to claim 1, characterized in that: The sample state data includes real-time motor operating parameters and environmental noise data. The step of controlling each of the plurality of motors to locally collect sample state data and perform machine learning training of a local model based on the sample state data includes: Model training instructions are distributed to the multiple motors so that the multiple motors can each locally collect the real-time operating parameters of the motor and the environmental noise data according to the model training instructions, and perform machine learning training on the local model based on the real-time operating parameters of the motor and the environmental noise data.

3. The motor fault judgment method according to any one of claims 1 to 2, characterized in that: The motor fault judgment model is stored in the blockchain, and the step of inputting the real-time status data into the preset motor fault judgment model includes: The motor fault judgment model is extracted from the blockchain, and the real-time status data is input into the motor fault judgment model.

4. A method for determining a motor fault, characterized in that: The motor fault judgment method is applied to the motor itself, and the motor fault judgment method includes: Based on local sample status data, federated learning training is performed with multiple other motors to obtain a motor fault judgment model; Acquire real-time status data of the motor, and input the real-time status data into the motor fault judgment model; Receiving a calculation result outputted by the motor fault judgment model after training calculation based on the real-time state data; Determine whether the motor fails according to the calculation result; Wherein, the motor fault judgment method further includes: Based on local sample state data, a federated learning training is performed with other multiple motors to obtain a motor fault judgment model, wherein the sample state data includes real-time operating parameters and environmental noise data of each motor monitored locally in real time, and the real-time operating parameters include motor speed, current, voltage and vibration amplitude; The step of performing federated learning training based on local sample state data and other multiple motors to obtain a motor fault judgment model includes: Collecting sample state data locally, using the sample state data to perform machine learning training on a local model until the local model converges, and uploading each model parameter of the local model to a terminal device, so that the terminal device can integrate the model parameters uploaded by each of the multiple motors to generate a model to be confirmed; Receive the model to be confirmed sent by the terminal device, test the model to be confirmed locally and feed back the test result; If the test result shows that the model calculation is accurate, then determining that the model to be confirmed is the motor fault judgment model; If the test result shows that the model calculation is inaccurate, the model to be confirmed is retrained locally based on the sample status data and new model parameters are uploaded, so that the terminal device can integrate the new model parameters to generate a new model to be confirmed and test the new model to be confirmed to obtain a new test result; If the new test result shows that the model calculation is accurate, the new model to be confirmed is determined to be the motor fault judgment model.

5. A motor fault judgment device, characterized in that: The motor fault judgment device is applied to a terminal device connected to a plurality of motors, and the motor fault judgment device comprises: An acquisition module, used for acquiring real-time status data of the motor to be detected, and inputting the real-time status data into a preset motor fault judgment model, wherein the motor fault judgment model is obtained by federated learning training based on sample status data of multiple motors, and the sample status data includes real-time operating parameters and environmental noise data of each motor monitored locally in real time, and the real-time operating parameters include motor speed, current, voltage and vibration amplitude; A receiving module, used for receiving a calculation result outputted by the motor fault judgment model after training and calculating based on the real-time state data; A determination module, used to determine whether the motor to be detected fails according to the calculation result; Wherein, the motor fault judgment device is also applied to the motor itself, and the motor fault judgment device further includes: A model training module is used to perform federated learning training with multiple other motors based on local sample status data to obtain a motor fault judgment model; Wherein, the model training module is specifically used for: Collecting sample state data locally, using the sample state data to perform machine learning training on a local model until the local model converges, and uploading each model parameter of the local model to a terminal device, so that the terminal device can integrate the model parameters uploaded by each of the multiple motors to generate a model to be confirmed; Receive the model to be confirmed sent by the terminal device, test the model to be confirmed locally and feed back the test result; If the test result shows that the model calculation is accurate, then determining that the model to be confirmed is the motor fault judgment model; If the test result shows that the model calculation is inaccurate, the model to be confirmed is retrained locally based on the sample status data and new model parameters are uploaded, so that the terminal device can integrate the new model parameters to generate a new model to be confirmed and test the new model to be confirmed to obtain a new test result; If the new test result shows that the model calculation is accurate, the new model to be confirmed is determined to be the motor fault judgment model.

6. A terminal device, characterized in that: The terminal device comprises: A memory for storing executable instructions; The processor is used to implement the motor fault judgment method described in any one of claims 1 to 3 or claim 4 when executing the executable instructions stored in the memory.

7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores executable instructions for implementing the motor fault judgment method described in any one of claims 1 to 3 or claim 4 when executed by a processor.