Motor diagnosis method and device, motor diagnosis equipment and motor diagnosis system
Through motor diagnosis methods and systems, strong anti-interference communication and wireless connection technology are used to solve the problem of difficulty in diagnosis and positioning of air conditioner motors, the diagnosis efficiency and accuracy are improved, the maintenance costs are reduced, and the motor equipment is ensured. Normal operation and program updates.
Patent Information
- Application Number
- CN202411043995.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-12-10
- Estimated Expiration
- 2044-07-31
AI Technical Summary
The prior art is difficult to efficiently diagnose and locate air conditioner motor failures, especially when the motor installation position is not easy to maintain, the fault positioning is difficult, resulting in high maintenance costs, low efficiency and inability to perform after-sales service problems.
Through motor diagnostic methods and systems, the motor equipment communicates with the diagnostic equipment, receives operating data and initial fault identification, analyzes and determines the target fault description information, and transmits it to electronic equipment for maintenance personnel to locate the fault location, and supports program updates to solve the problem. For failure, use strong anti-interference communication and wireless connection technology to ensure the accuracy and stability of data transmission.
It improves the efficiency and accuracy of motor diagnosis, reduces the maintenance cost of returning to the factory, solves the difficulty of motor fault positioning and after-sales maintenance problems, and ensures the normal operation of motor equipment and the accuracy of program updates.
Smart Images

Figure CN119104889A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of motor diagnosis, and in particular to a motor diagnosis method, a motor diagnosis device, a motor diagnosis equipment and a motor diagnosis system. Background Art
[0002] As an important part of air conditioning and ventilation systems, the motor is a driving device that is often installed with the whole machine on the roof, inside or outside the wall, and other places that are not easy to maintain. Usually, for the consideration of heat dissipation, the motor manufacturer will fill the motor controller with gel and firmly install it with the motor structure. Only the communication line is led out from the controller, and the power supply and control harness are led out through the reserved holes of the structure to feedback the motor operation information to the air conditioner main board or other control board.
[0003] When the system is abnormal, to locate and check whether the motor is abnormal, maintenance personnel need to use maintenance tools to carefully check the motor, and fault location is difficult.
[0004] Therefore, how to diagnose the motor has become an urgent problem to be solved. Summary of the invention
[0005] In view of this, the present invention provides a motor diagnosis method, an apparatus, a motor diagnosis device and a motor diagnosis system to solve the problem of how to diagnose the motor.
[0006] In a first aspect, the present invention provides a motor diagnosis method, which is applied to a motor diagnosis device in a motor diagnosis system, wherein the motor diagnosis system includes a motor device, a motor diagnosis device, and an electronic device, wherein the motor device is communicatively connected to the motor diagnosis device, and the motor diagnosis device is communicatively connected to the electronic device, and the method includes:
[0007] Receiving operation data and initial fault identification corresponding to the motor device sent by the motor device;
[0008] Analyze the initial fault identification and determine the target fault description information corresponding to the motor equipment;
[0009] The target fault description information and the operating data are transmitted to the electronic device so that the electronic device displays the target fault description information and the operating data.
[0010] The motor diagnosis method provided in the embodiment of the present application receives the operating data and initial fault identification corresponding to the motor device sent by the motor device; analyzes the initial fault identification, determines the target fault description information corresponding to the motor device, ensures the accuracy of the target fault description information corresponding to the determined motor device, and realizes the diagnosis of the motor. Then, the target fault description information and the operating data are transmitted to the electronic device so that the electronic device displays the target fault description information and the operating data, so that the maintenance personnel can locate the motor fault position according to the target fault description information and the operating data. The efficiency of motor diagnosis is improved. In addition, the above method solves the problems of high maintenance cost, low efficiency, and inability to provide after-sales service for motor equipment returned to the factory.
[0011] In an optional implementation, analyzing the initial fault identifier to determine target fault description information corresponding to the motor device includes:
[0012] Identify the operating data and determine the candidate fault identification corresponding to the motor equipment;
[0013] Comparing the initial fault identification with the candidate fault identification;
[0014] According to the comparison results, the target fault description information corresponding to the motor equipment is determined.
[0015] The motor diagnosis method provided in the embodiment of the present application identifies the operating data, determines the candidate fault identification corresponding to the motor device, and ensures the accuracy of the candidate fault identification corresponding to the motor device. The initial fault identification is compared with the candidate fault identification; based on the comparison result, the target fault description information corresponding to the motor device is determined, and the accuracy of the determined target fault description information is ensured. The inaccuracy of the target fault description information determined only based on the initial fault identification is avoided.
[0016] In an optional implementation, determining target fault description information corresponding to the motor device according to the comparison result includes:
[0017] If the initial fault identifier is consistent with the candidate fault identifier, the target fault description information corresponding to the initial fault identifier is determined according to the corresponding relationship between the fault identifier and the fault description information.
[0018] The motor diagnosis method provided in the embodiment of the present application, if the initial fault identifier is consistent with the candidate fault identifier, determines the target fault description information corresponding to the initial fault identifier based on the correspondence between the fault identifier and the fault description information, thereby ensuring the accuracy of the determined target fault description information.
[0019] In an optional implementation, determining target fault description information corresponding to the motor device according to the comparison result includes:
[0020] If the initial fault identifier is inconsistent with the candidate fault identifier, determining the first fault description information corresponding to the initial fault identifier and the second fault description information corresponding to the candidate fault identifier according to the corresponding relationship between the fault identifier and the fault description information;
[0021] The first fault description information and the second fault description information are integrated to generate target fault description information.
[0022] In the motor diagnosis method provided in the embodiment of the present application, if the initial fault identifier is inconsistent with the candidate fault identifier, the first fault description information corresponding to the initial fault identifier and the second fault description information corresponding to the candidate fault identifier are determined based on the corresponding relationship between the fault identifier and the fault description information, thereby ensuring the accuracy of the determined first fault description information and the second fault description information. The first fault description information and the second fault description information are integrated to generate the target fault description information, thereby ensuring the accuracy of the generated target fault description information. The inaccuracy of the target fault description information determined based only on the initial fault identifier is avoided.
[0023] In an optional implementation, after transmitting the target fault description information and the operation data to the electronic device, the method further includes:
[0024] If the target fault description information is that the program in the motor device is not updated, then receiving a program update file sent by the electronic device; the program update file is used to update the current program in the motor device;
[0025] Verify the program update file;
[0026] If the program update file is successfully verified, the program update file is transmitted to the motor device based on the communication connection between the motor devices;
[0027] If the verification of the program update file fails, the program update file sent by the electronic device is received again.
[0028] The motor diagnostic method provided by the embodiment of the present application, if the target fault description information is that the program in the motor device has not been updated, then the program update file sent by the electronic device is received, and the program update file is verified, so that the accuracy of the program update file can be guaranteed. If the verification of the program update file is successful, the program update file is transmitted to the motor device based on the communication connection between the motor devices, and the accuracy of the program update file transmitted to the motor device is guaranteed, so that the motor device can update the current program based on the program update file, thereby solving the fault of the motor device and ensuring that the electronic device can work normally. It solves the problem in the prior art that when new and old motors need to be optimized and upgraded, the programming port of the chip is covered by glue, making the upgrade operation difficult. If the verification of the program update file is unsuccessful, the program update file sent by the electronic device is received again, avoiding the inaccuracy of the program update file transmitted to the motor device, thereby affecting the normal operation of the motor device.
[0029] In an optional implementation, verifying the program update file includes:
[0030] Verify the program update file based on a preset verification method to generate a target verification value;
[0031] Sending the target verification value to the electronic device so that the electronic device compares the target verification value with the initial verification value corresponding to the program update file to generate verification result information;
[0032] Receiving verification result information sent by the electronic device;
[0033] Based on the verification result information, determine whether the program update file is successfully verified.
[0034] The motor diagnosis method provided in the embodiment of the present application verifies the program update file based on a preset verification method, generates a target verification value, and ensures the accuracy of the generated target verification value. The target verification value is sent to an electronic device so that the electronic device compares the target verification value with the initial verification value corresponding to the program update file to generate verification result information; the verification result information sent by the electronic device is received; based on the verification result information, it is determined whether the program update file is successfully verified, thereby ensuring the accuracy of the result of whether the program update file is successfully verified.
[0035] In an optional embodiment, the method further includes:
[0036] Receive user instructions;
[0037] Based on the user instruction, read the target program file stored in the storage device corresponding to the motor diagnostic device;
[0038] Transfer the target program file to the motor device.
[0039] The motor diagnosis method provided in the embodiment of the present application receives user instructions; based on the user instructions, reads the target program file stored in the storage device corresponding to the motor diagnosis device, and ensures the accuracy of the read target program file. The target program file is transferred to the motor device. Thereby, it can be ensured that the motor device can receive the target program file. The problem in the prior art that the 4G5G signal coverage strength of the industrial site is low, or the electromagnetic interference on site is serious, the wireless signal transmission is unstable, and the success rate of uploading and downloading data using the cloud server is low.
[0040] In a second aspect, the present invention provides a motor diagnostic device, which is applied to a motor diagnostic device in a motor diagnostic system. The motor diagnostic system includes a motor device, a motor diagnostic device and an electronic device. The motor device is communicatively connected with the motor diagnostic device, and the motor diagnostic device is communicatively connected with the electronic device. The device includes:
[0041] A receiving module, used for receiving operation data and an initial fault identification corresponding to the motor device sent by the motor device;
[0042] A determination module is used to analyze the initial fault identification and determine the target fault description information corresponding to the motor equipment;
[0043] The sending module is used to transmit the target fault description information and the operating data to the electronic device so that the electronic device displays the target fault description information and the operating data.
[0044] The motor diagnosis device provided in the embodiment of the present application receives the operation data and initial fault identification corresponding to the motor device sent by the motor device; analyzes the initial fault identification, determines the target fault description information corresponding to the motor device, ensures the accuracy of the target fault description information corresponding to the determined motor device, and realizes the diagnosis of the motor. Then, the target fault description information and the operation data are transmitted to the electronic device so that the electronic device displays the target fault description information and the operation data, so that the maintenance personnel can locate the motor fault position according to the target fault description information and the operation data. The efficiency of motor diagnosis is improved. In addition, the above device solves the problems of high maintenance cost, low efficiency and inability to provide after-sales service for motor equipment returned to the factory.
[0045] In an optional implementation, after the target fault description information and the operating data are transmitted to the electronic device, the receiving module is further used to receive a program update file sent by the electronic device if the target fault description information is that the program in the motor device is not updated; the program update file is used to update the current program in the motor device;
[0046] Correspondingly,
[0047] A determination module is used to verify the program update file;
[0048] A sending module, for transmitting the program update file to the motor device based on the communication connection between the motor devices if the program update file verification succeeds;
[0049] Correspondingly,
[0050] The receiving module is further used to receive the program update file sent by the electronic device again if the program update file verification fails.
[0051] In an optional implementation, the receiving module is further used to receive a user instruction;
[0052] Correspondingly,
[0053] A determination module, for reading a target program file stored in a storage device corresponding to the motor diagnostic device based on a user instruction;
[0054] The sending module is used to transfer the target program file to the motor device.
[0055] In a third aspect, the present invention provides a motor diagnostic device, comprising: a memory and a processor, the memory and the processor are communicatively connected to each other, computer instructions are stored in the memory, and the processor executes the motor diagnostic method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0056] In a fourth aspect, the present invention provides a motor diagnostic system, characterized in that it includes: the motor diagnostic system includes a motor device, a motor diagnostic device and an electronic device, the motor device is communicatively connected with the motor diagnostic device, and the motor diagnostic device executes the motor diagnostic method of the first aspect above or any corresponding embodiment thereof.
[0057] In a fifth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the motor diagnosis method of the first aspect or any corresponding embodiment thereof.
[0058] In a sixth aspect, the present invention provides a computer program product, comprising computer instructions for causing a computer to execute the motor diagnosis method of the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0060] Figure 1 is a schematic diagram of the structure of a motor diagnostic system according to an embodiment of the present invention;
[0061] Figure 2 is a schematic structural diagram of another motor diagnostic system according to an embodiment of the present invention;
[0062] Figure 3 is a flow chart of a motor diagnosis method according to an embodiment of the present invention;
[0063] Figure 4 is a flow chart of another motor diagnosis method according to an embodiment of the present invention;
[0064] Figure 5 is a flow chart of another motor diagnosis method according to an embodiment of the present invention;
[0065] Figure 6 is a block diagram of data transmission of a motor diagnostic device according to an embodiment of the present invention;
[0066] Figure 7 is a structural block diagram of a motor diagnostic device according to an embodiment of the present invention;
[0067] Figure 8 Schematic diagram of the hardware structure of the motor diagnostic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0068] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0069] As an important part of air conditioning and ventilation systems, the motor is a driving device that is often installed with the whole machine on the roof, inside or outside the wall, and other places that are not easy to maintain. Usually, for the consideration of heat dissipation, the motor manufacturer will fill the motor controller with gel and firmly install it with the motor structure. Only the communication line is led out from the controller, and the power supply and control harness are led out through the reserved holes of the structure to feedback the motor operation information to the air conditioner main board or other control board.
[0070] When the system is abnormal, to locate and check whether the motor is abnormal, maintenance personnel need to use maintenance tools to carefully check the motor, and fault location is difficult.
[0071] Therefore, how to diagnose the motor has become an urgent problem to be solved.
[0072] Based on this, the present application provides a motor diagnosis method, which is applied to a motor diagnosis device in a motor diagnosis system, such as Figure 1 As shown, the motor diagnostic system includes a motor device, a motor diagnostic device and an electronic device. The motor device is communicatively connected to the motor diagnostic device, and the motor diagnostic device is communicatively connected to the electronic device.
[0073] Specifically, Figure 2 As shown, the motor device includes a motor controller. The electronic device can be a terminal device, which can be a mobile phone, a computer, a tablet computer, etc. The application embodiment does not specifically limit the electronic device.
[0074] Optionally, the motor controller of the motor device is provided with a control harness and a communication line, etc., the motor diagnostic device can be connected to the motor controller of the motor device via the communication line, and the electronic device is connected to the motor diagnostic device wirelessly via Bluetooth or WIFI. The motor diagnostic device may also include a rechargeable battery to provide power to the motor diagnostic device.
[0075] Among them, the communication line can be a communication method with strong anti-interference ability such as RS485, RS422, CAN communication, etc.
[0076] Among them, the full name of RS-485 is "Recommended Standard 485", which means "Recommended Standard 485" in Chinese. It is a serial communication standard that uses differential signal transmission, has strong anti-interference ability, and can achieve long-distance and multi-point communication. The full name of RS-422 is "Recommended Standard 422", which means "Recommended Standard 422" in Chinese. RS-422 is also a serial communication interface standard that also uses differential signal transmission, but unlike RS-485, RS-422 is full-duplex communication, while RS-485 is half-duplex communication. The full name of CAN is "Controller Area Network", which means "Controller Local Area Network" in Chinese. It is a serial communication network that effectively supports distributed control or real-time control, has the characteristics of high performance and high reliability, and is widely used in automotive electronics, industrial automation and other fields.
[0077] The connection method between the motor diagnostic equipment and the electronic equipment can be any wireless method, such as NFC, lora, infrared, etc., or a wired method such as USB. Among them, the full name of NFC is "Near Field Communication", which means "near field communication" in Chinese. It is a short-range high-frequency wireless communication technology that allows non-contact point-to-point data transmission (within ten centimeters) between electronic devices to exchange data. The full name of LoRa is "Long Range", which means "long distance" in Chinese. LoRa is a low-power wide area network communication technology with the characteristics of long transmission distance and low power consumption. It is suitable for application scenarios in the field of Internet of Things that have high requirements for distance and power consumption.
[0078] Specifically, the motor diagnostic device receives the operating data and initial fault identification corresponding to the motor device sent by the motor device; analyzes the initial fault identification, determines the target fault description information corresponding to the motor device, ensures the accuracy of the target fault description information corresponding to the determined motor device, and realizes the diagnosis of the motor. Then, the target fault description information and operating data are transmitted to the electronic device so that the electronic device displays the target fault description information and operating data, so that the maintenance personnel can locate the motor fault position according to the target fault description information and operating data. The efficiency of motor diagnosis is improved. In addition, the above method solves the problems of high maintenance cost, low efficiency and inability to provide after-sales service for motor equipment returned to the factory.
[0079] According to an embodiment of the present invention, an embodiment of a motor diagnosis method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0080] In this embodiment, a motor diagnosis method is provided, which can be used for the motor diagnosis device in the above-mentioned motor diagnosis system. The motor diagnosis system includes a motor device, a motor diagnosis device and an electronic device. The motor device is communicatively connected with the motor diagnosis device. Figure 3 is a flow chart of a motor diagnosis method according to an embodiment of the present invention. Figure 3 As shown, the process includes the following steps:
[0081] Step S101, receiving operation data and an initial fault identifier corresponding to the motor device sent by the motor device.
[0082] Specifically, the motor diagnostic device may periodically send request information for reading operating data and initial fault identification to the motor controller in the motor device based on the communication connection between the motor diagnostic device and the motor controller in the motor device.
[0083] After receiving the request information for reading the operating data and the initial fault identification sent by the motor diagnostic device, the motor controller in the motor device sends the operating data and the initial fault identification corresponding to the motor device to the motor diagnostic device.
[0084] It should be noted that the initial fault identifier may be obtained after the motor controller performs fault diagnosis based on the operating data of the motor device.
[0085] The operating data may include DC bus voltage, actual speed and other operating data.
[0086] Exemplarily, as shown in Table 1, this is the communication data between the motor diagnosis device and the motor device.
[0087] Table 1 Communication data between motor diagnostic equipment and motor equipment
[0088]
[0089] DATA may be an initial fault identifier, and the fed-back DATA data is 2 bytes.
[0090] Step S102: Analyze the initial fault identifier to determine target fault description information corresponding to the motor equipment.
[0091] Specifically, after receiving the initial fault identifier, the motor diagnostic device may analyze the initial fault identifier according to the correspondence between the fault identifier and the fault description information, and determine the target fault description information corresponding to the motor device.
[0092] Exemplarily, the correspondence between the fault identification and the fault information may be as shown in Table 2.
[0093] Table 2 Correspondence between fault identification and fault information
[0094] NO. Fault identification Fault description 1 0x0000 No trouble 2 0x0001 Over temperature protection 3 0x0002 Three-phase power supply phase loss 4 0x0004 Overcurrent protection 5 0x0008 Motor stall protection when starting 6 0x0010 Output phase failure 7 0x0020 Undervoltage fault 8 0x0040 Overvoltage fault
[0095] Optionally, the target fault description information supports superposition. That is, if the motor controller has an over-temperature protection fault and an over-current protection fault at the same time, the motor controller feedback initial fault identification is 0x0001+0x0004, which equals 0x0005. After the after-sales personnel conduct on-site inspection and solve the problem that caused the over-current protection fault, the motor controller will automatically clear the initial fault identification 0x0001 corresponding to the over-temperature protection fault and retain the initial fault identification 0x0004 of the over-current protection fault.
[0096] Step S103: transmitting the target fault description information and the operating data to the electronic device so that the electronic device displays the target fault description information and the operating data.
[0097] Specifically, after determining the target fault description information, the motor diagnostic device can transmit the target fault description information and the operating data to the electronic device in a general Modbus RTU protocol format based on the communication connection with the electronic device. The electronic device displays the target fault description information and the operating data.
[0098] In an optional implementation of the present application, the motor diagnostic device may also choose to store the motor feedback data directly in an SD card, and use a digital tube to display the target fault description information and operating data.
[0099] In an optional implementation of the present application, the motor diagnostic device may store the target fault description information and the operating data in a storage space, and then display the target fault description information and the operating data based on the digital tube.
[0100] The motor diagnosis method provided in the embodiment of the present application receives the operation data and initial fault identification corresponding to the motor device sent by the motor device; analyzes the initial fault identification, determines the target fault description information corresponding to the motor device, ensures the accuracy of the target fault description information corresponding to the determined motor device, and realizes the diagnosis of the motor. Then, the target fault description information and the operation data are displayed, so that the maintenance personnel can locate the motor fault position according to the target fault description information and the operation data. The efficiency of motor diagnosis is improved. In addition, the above method solves the problems of high maintenance cost, low efficiency and inability to provide after-sales service for motor equipment returned to the factory.
[0101] In this embodiment, a motor diagnosis method is provided, which can be used for the motor diagnosis device in the above-mentioned motor diagnosis system. The motor diagnosis system includes a motor device, a motor diagnosis device and an electronic device. The motor device is communicatively connected with the motor diagnosis device. Figure 4 is a flow chart of a motor diagnosis method according to an embodiment of the present invention. Figure 4 As shown, the process includes the following steps:
[0102] Step S201, receiving operation data and an initial fault identifier corresponding to the motor device sent by the motor device.
[0103] For details about this step, please refer to the above description of step S101, which will not be elaborated here.
[0104] Step S202: Analyze the initial fault identifier to determine target fault description information corresponding to the motor equipment.
[0105] Specifically, the above step S202 includes:
[0106] Step S2021, identifying the operating data and determining the candidate fault identification corresponding to the motor equipment.
[0107] Specifically, the motor diagnosis device may input the operation data into a preset fault identification model, and determine a candidate fault identifier corresponding to the motor device based on the preset fault identification model.
[0108] Among them, the preset fault recognition model can be any one of radial basis function (RBF) network, feedforward neural network (FFNN), convolutional neural network (CNN), deconvolutional neural network (DN), deep convolutional inverse graphics network (DCIGN), generative adversarial network (GAN), recurrent neural network (RNN), long / short term memory network (LSTM), deep residual network (DRN) and extreme learning machine (ELM). The embodiment of the present application does not limit the preset fault recognition model.
[0109] Among them, the preset fault identification model can be generated by training based on preset training data, and the preset training data includes training operation data corresponding to the motor equipment and training fault identifiers corresponding to the training operation data.
[0110] Step S2022: compare the initial fault identifier with the candidate fault identifiers.
[0111] Specifically, the motor diagnostic device may compare the initial fault identification with the candidate fault identification.
[0112] Step S2023: Determine target fault description information corresponding to the motor device according to the comparison result.
[0113] Specifically, the above step S2023 may include the following steps:
[0114] Step a1: if the initial fault identifier is consistent with the candidate fault identifier, then according to the corresponding relationship between the fault identifier and the fault description information, determine the target fault description information corresponding to the initial fault identifier.
[0115] Specifically, if the initial fault identifier is consistent with the candidate fault identifier, the motor diagnostic device can determine the target fault description information corresponding to the initial fault identifier or the candidate fault identifier based on the corresponding relationship between the fault identifier and the fault description information.
[0116] Step a2: if the initial fault identifier is inconsistent with the candidate fault identifier, determine the first fault description information corresponding to the initial fault identifier and the second fault description information corresponding to the candidate fault identifier according to the corresponding relationship between the fault identifier and the fault description information.
[0117] Specifically, if the initial fault identifier is inconsistent with the candidate fault identifier, the motor diagnostic device determines the first fault description information corresponding to the initial fault identifier and the second fault description information corresponding to the candidate fault identifier according to the correspondence between the fault identifier and the fault description information.
[0118] Step a3: Integrate the first fault description information and the second fault description information to generate target fault description information.
[0119] Specifically, the motor diagnosis device may integrate the first fault description information and the second fault description information to generate target fault description information.
[0120] Step S203: display the target fault description information and operation data.
[0121] For details about this step, please refer to the above description of step S103, which will not be elaborated here.
[0122] The motor diagnosis method provided in the embodiment of the present application identifies the operating data, determines the candidate fault identifier corresponding to the motor device, and ensures the accuracy of the determined candidate fault identifier corresponding to the motor device. The initial fault identifier is compared with the candidate fault identifier; if the initial fault identifier is consistent with the candidate fault identifier, the target fault description information corresponding to the initial fault identifier is determined based on the correspondence between the fault identifier and the fault description information, thereby ensuring the accuracy of the determined target fault description information. If the initial fault identifier is inconsistent with the candidate fault identifier, the first fault description information corresponding to the initial fault identifier and the second fault description information corresponding to the candidate fault identifier are determined based on the correspondence between the fault identifier and the fault description information, thereby ensuring the accuracy of the determined first fault description information and the second fault description information. The first fault description information and the second fault description information are integrated to generate the target fault description information, thereby ensuring the accuracy of the generated target fault description information. The inaccuracy of the target fault description information determined based only on the initial fault identifier is avoided.
[0123] In this embodiment, a motor diagnosis method is provided, which can be used for the motor diagnosis device in the above-mentioned motor diagnosis system. The motor diagnosis system includes a motor device, a motor diagnosis device and an electronic device. The motor device is communicatively connected with the motor diagnosis device. Figure 5 is a flow chart of a motor diagnosis method according to an embodiment of the present invention. Figure 5 As shown, the process includes the following steps:
[0124] Step S301: receiving operation data and an initial fault identifier corresponding to the motor device sent by the motor device.
[0125] For details about this step, please refer to the above description of step S201, which will not be elaborated here.
[0126] Step S302: Analyze the initial fault identifier to determine target fault description information corresponding to the motor equipment.
[0127] For details about this step, please refer to the above description of step S201, which will not be elaborated here.
[0128] Step S303: display the target fault description information and operation data.
[0129] For details about this step, please refer to the above description of step S203, which will not be elaborated here.
[0130] Step S304: if the target fault description information is that the program in the motor device is not updated, then receiving a program update file sent by the electronic device.
[0131] The program update file is used to update the current program in the motor device.
[0132] Specifically, if the target fault description information is that the program in the motor device has not been updated, the electronic device can receive the program update file input by the user, and can also receive the program update file sent by other devices. After receiving the program update file, the electronic device can send the program update file to the motor diagnostic device according to the Ymodem protocol based on the communication connection between the motor diagnostic device and the motor diagnostic device when determining that the target fault description information is that the program in the motor device has not been updated, so that the motor diagnostic device can receive the program update file sent by the electronic device. The electronic device can also send the program update file to the motor diagnostic device according to the Ymodem protocol based on the communication connection between the motor diagnostic device and the motor diagnostic device after receiving the sending instruction of sending the program update file input by the user, so that the motor diagnostic device can receive the program update file sent by the electronic device.
[0133] The program update file is not limited to a bin file, but may also be a hex file, a mot file, etc., depending on the program type supported by the motor controller of the motor device.
[0134] Step S305, verifying the program update file.
[0135] Specifically, the above step S305 may include the following steps:
[0136] Step S3051, verifying the program update file based on a preset verification method to generate a target verification value.
[0137] Specifically, the motor diagnosis device can verify the program update file based on a preset verification method to generate a target verification value.
[0138] Among them, the preset verification method can be any one of the verification methods such as parity check, cyclic redundancy check, hash check, etc. The embodiment of the present application does not specifically limit the preset verification method.
[0139] Step S3052: sending the target verification value to the electronic device, so that the electronic device compares the target verification value with the initial verification value corresponding to the program update file to generate verification result information.
[0140] Specifically, the motor diagnostic device can send the target check value to the electronic device. The electronic device can compare the target check value with the initial check value corresponding to the program update file to generate check result information. Specifically, if the target check value is consistent with the initial check value, the check result information indicates that the program update file has been successfully checked; if the target check value is inconsistent with the initial check value, the check result information indicates that the program update file has been unsuccessfully checked.
[0141] Step S3053, receiving verification result information sent by the electronic device.
[0142] Specifically, the motor diagnostic device can receive the verification result information sent by the electronic device.
[0143] Step S3054: Determine whether the program update file is successfully verified based on the verification result information.
[0144] Specifically, the motor diagnostic device identifies the verification result information. If the verification result information shows that the target verification value is consistent with the initial verification value, it is determined that the program update file verification is successful; if the verification result information shows that the target verification value is inconsistent with the initial verification value, it is determined that the program update file verification is unsuccessful.
[0145] Step S306 : if the program update file verification succeeds, the program update file is transmitted to the motor device based on the communication connection between the motor devices.
[0146] Specifically, if the program update file verification succeeds, the motor diagnostic device transmits the program update file to the Flash space of the motor controller of the motor device based on the wired communication interface between the motor diagnostic device and the motor device.
[0147] Step S307: if the program update file verification fails, the program update file is received again from the electronic device.
[0148] Specifically, if the program update file verification fails, the motor diagnostic device receives the program update file sent by the electronic device again.
[0149] In another optional implementation of the present application, if the target fault description information is that the program in the motor device has not been updated, the motor diagnostic device receives the program update file sent by the electronic device. After the motor diagnostic device receives the program update file sent by the electronic device, it can transmit the program update file transmitted by the electronic device to the motor device in a transparent manner. After receiving the program update file, the motor device verifies the program update file based on a preset verification method to generate a target verification value. Then, the motor device sends the target verification value to the electronic device through the motor diagnostic device, so that the electronic device compares the target verification value with the initial verification value corresponding to the program update file to generate verification information. According to the verification result information, it is determined whether the verification of the program update file is successful. If the verification of the program update file is unsuccessful, the motor diagnostic device receives the program update file sent by the electronic device again.
[0150] Step S308, receiving user instructions.
[0151] Specifically, the motor diagnostic device may receive a user instruction.
[0152] Step S309 , based on the user instruction, reading the target program file stored in the storage device corresponding to the motor diagnostic device.
[0153] In an optional implementation, after receiving the user instruction, the motor diagnostic device can read the target program file stored in a storage device corresponding to the motor diagnostic device, wherein the storage device is pluggable and connected to the motor diagnostic device.
[0154] Exemplarily, after receiving the user instruction, the motor diagnostic device can read the target program file stored in the SD card corresponding to the motor diagnostic device based on the SD card reading function of the motor diagnostic device.
[0155] Step S310, transmitting the target program file to the motor device.
[0156] Specifically, the motor diagnosis device transmits the target program file to the motor device.
[0157] For example, when electromagnetic interference is severe at the industrial site, the quality of wireless signal transmission is poor. Figure 2 As shown, the motor diagnostic device has an SD card reading function. Insert the SD card containing the target program file into the card slot of the motor diagnostic device and press the program update button of the motor diagnostic device to transmit the target program file transmission link to the motor controller of the motor device in a wired manner with better shielding performance. The motor device can verify the target program file. After the verification is passed, the indicator light prompts that the program upgrade is completed.
[0158] The motor diagnostic method provided by the embodiment of the present application, if the target fault description information is that the program in the motor device has not been updated, then the program update file sent by the electronic device is received, the program update file is verified based on a preset verification method, and a target verification value is generated, thereby ensuring the accuracy of the generated target verification value. The target verification value is sent to the electronic device so that the electronic device compares the target verification value with the initial verification value corresponding to the program update file to generate verification result information; the verification result information sent by the electronic device is received; based on the verification result information, it is determined whether the verification of the program update file is successful, thereby ensuring the accuracy of the result of whether the verification of the program update file is successful.
[0159] If the program update file is successfully verified, the program update file is transmitted to the motor device based on the communication connection between the motor devices, thereby ensuring the accuracy of the program update file transmitted to the motor device, so that the motor device can update the current program based on the program update file, thereby solving the failure of the motor device and ensuring that the electronic device can work normally. The problem in the prior art that when new and old motors need to be optimized and upgraded, the programming port of the chip is covered by glue, making the upgrade operation difficult is solved. If the program update file is unsuccessful in the verification, the program update file sent by the electronic device is received again, avoiding the inaccuracy of the program update file transmitted to the motor device, thereby affecting the normal operation of the motor device.
[0160] In addition, the motor diagnostic device can also receive user instructions; based on the user instructions, the target program file stored in the storage device corresponding to the motor diagnostic device is read to ensure the accuracy of the read target program file. The target program file is transferred to the motor device. This ensures that the motor device can receive the target program file. This solves the problem in the prior art that the 4G5G signal coverage strength at the industrial site is low, or the electromagnetic interference at the site is serious, the wireless signal transmission is unstable, and the success rate of uploading and downloading data using the cloud server is low.
[0161] In an optional implementation of the present application, in order to better introduce the motor diagnosis method provided in the embodiment of the present application, the embodiment of the present application provides a specific implementation.
[0162] For example, taking the DM series motor as an example, the communication line is mainly RT communication line (simplex). The diagnostic controller of the motor diagnostic equipment adopts the serial port idle interrupt and uses the two serial ports transparent transmission solution. Figure 6 As shown, the electronic device locally divides the program update file into 128-Byte separate data streams according to the Ymodem protocol, or the diagnostic controller of the motor diagnostic device divides the entire target program file into 128-Byte separate data streams according to the Ymodem protocol in the SD card.
[0163] The motor diagnostic device receives the data stream sent by the electronic device based on Bluetooth & WIFI, or reads the data stream from the SD card. Then, the motor diagnostic device sends the data stream to Rx2 of the serial port 2 of the motor diagnostic device. After receiving the data stream, the diagnostic controller of the motor diagnostic device forwards it to the Flash address predetermined by the motor controller of the motor device through Tx1 of the serial port 1. Among them, Tx is the Transmit data sending port.
[0164] After the motor controller of the motor device completes writing the data stream, the motor controller of the motor device sends a response character to the motor diagnostic device Rx1, and the diagnostic controller of the motor diagnostic device sends it to the electronic device end through TX2 of serial port 2. After receiving the response instruction, the electronic device transmits the next program data stream. This is done in sequence to complete the transmission of the entire program file. Among them, Rx is the Recieve data receiving port.
[0165] Use J-Flash to read the bin file of the program to be updated. Save the program file in the mobile device APP or SD card. After the program upgrade is completed, use STM 32CubeProgrammer to read the Flash data at the predetermined address. If the data of the two are consistent, the program update is successful. The APP displays a 29KB program file, the download rate is 1KB / sec, and the total time is 22s to complete the motor controller program upgrade. Figure 6 shown.
[0166] The motor controller of the motor device uses J-Flash to read the bin file of the program to be updated and stores it in the electronic device or SD card. After completing the program upgrade, the motor controller of the motor device uses STM 32CubeProgrammer to read the Flash data at a predetermined address. If the data of the two are consistent, the program update is successful. For example, the electronic device can display a 29KB program update file, the download rate is 1KB / sec, and the total time required is 22s to complete the program upgrade of the motor controller of the motor device.
[0167] In this embodiment, a motor diagnostic device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0168] This embodiment provides a motor diagnostic device, such as Figure 7 As shown, a motor diagnostic device is used in a motor diagnostic system, the motor diagnostic system includes a motor device, a motor diagnostic device and an electronic device, the motor device is communicatively connected with the motor diagnostic device, the motor diagnostic device is communicatively connected with the electronic device, and the device includes:
[0169] The receiving module 401 is used to receive the operation data and initial fault identification corresponding to the motor device sent by the motor device;
[0170] A determination module 402 is used to analyze the initial fault identifier and determine target fault description information corresponding to the motor device;
[0171] The sending module 403 is used to transmit the target fault description information and the operating data to the electronic device so that the electronic device displays the target fault description information and the operating data.
[0172] In an optional implementation, after the target fault description information and the operating data are transmitted to the electronic device, the receiving module 401 is further used to receive a program update file sent by the electronic device if the target fault description information is that the program in the motor device is not updated; the program update file is used to update the current program in the motor device;
[0173] Correspondingly,
[0174] Determination module 402, used to verify the program update file;
[0175] A sending module, for transmitting the program update file to the motor device based on the communication connection between the motor devices if the program update file verification succeeds;
[0176] Correspondingly,
[0177] The receiving module 403 is further configured to receive the program update file sent by the electronic device again if the program update file verification fails.
[0178] In an optional implementation, the receiving module 401 is further configured to receive a user instruction;
[0179] Correspondingly,
[0180] The determination module 402 is used to read the target program file stored in the storage device corresponding to the motor diagnosis device based on the user instruction;
[0181] The sending module 403 is used to transmit the target program file to the motor device.
[0182] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0183] The motor diagnostic device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0184] The embodiment of the present invention also provides a motor diagnostic device having the above Figure 7 The motor diagnostic device shown.
[0185] See also Figure 8 , Figure 8 is a schematic diagram of the structure of a motor diagnostic device provided by an optional embodiment of the present invention, such as Figure 8 As shown, the motor diagnostic device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are connected to each other using different buses for communication, and can be installed on a common motherboard or installed in other ways as needed. The processor can process instructions executed in the motor diagnostic device, including instructions stored in or on the memory to display graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple motor diagnostic devices can be connected, and each device provides part of the necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 8 A processor 10 is taken as an example.
[0186] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0187] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.
[0188] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required by at least one function; the data storage area may store data created according to the use of the motor diagnostic device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the motor diagnostic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0189] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0190] The motor diagnosis device further includes a communication interface 30 for the motor diagnosis device to communicate with other devices or a communication network.
[0191] An embodiment of the present invention further provides a motor diagnostic system, including: the motor diagnostic system includes a motor device, a motor diagnostic device and an electronic device, the motor device is communicatively connected with the motor diagnostic device, and the motor diagnostic device executes the motor diagnostic method of any item in the above-mentioned implementation manner.
[0192] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0193] A part of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible to the computer.
[0194] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A motor diagnosis method, characterized in that: A motor diagnostic device used in a motor diagnostic system, the motor diagnostic system comprising a motor device, the motor diagnostic device and an electronic device, the motor device being communicatively connected to the motor diagnostic device, the motor diagnostic device being communicatively connected to the electronic device, the method comprising: Receiving operation data and an initial fault identifier corresponding to the motor device sent by the motor device; Analyze the initial fault identifier to determine target fault description information corresponding to the motor device; The target fault description information and the operating data are transmitted to the electronic device so that the electronic device displays the target fault description information and the operating data.
2. The method according to claim 1, characterized in that The analyzing the initial fault identifier to determine the target fault description information corresponding to the motor device includes: Identify the operating data to determine a candidate fault identifier corresponding to the motor device; Comparing the initial fault identification with the candidate fault identification; According to the comparison result, the target fault description information corresponding to the motor equipment is determined.
3. The method according to claim 2, characterized in that Determining target fault description information corresponding to the motor device according to the comparison result includes: If the initial fault identifier is consistent with the candidate fault identifier, the target fault description information corresponding to the initial fault identifier is determined according to the corresponding relationship between the fault identifier and the fault description information.
4. The method according to claim 2, characterized in that: Determining target fault description information corresponding to the motor device according to the comparison result includes: If the initial fault identifier is inconsistent with the candidate fault identifier, determining the first fault description information corresponding to the initial fault identifier and the second fault description information corresponding to the candidate fault identifier according to the corresponding relationship between the fault identifier and the fault description information; The first fault description information and the second fault description information are integrated to generate the target fault description information.
5. The method according to claim 1, characterized in that After transmitting the target fault description information and the operation data to the electronic device, the method further includes: If the target fault description information is that the program in the motor device is not updated, receiving a program update file sent by the electronic device; the program update file is used to update the current program in the motor device; Verifying the program update file; If the program update file verification succeeds, then based on the communication connection between the motor devices, the program update file is transmitted to the motor device; If the program update file verification fails, the program update file sent by the electronic device is received again.
6. The method according to claim 5, characterized in that The verifying the program update file includes: Verifying the program update file based on a preset verification method to generate a target verification value; Sending the target check value to the electronic device, so that the electronic device compares the target check value with an initial check value corresponding to the program update file to generate check result information; Receiving verification result information sent by the electronic device; According to the verification result information, it is determined whether the program update file is successfully verified.
7. The method according to claim 1, characterized in that The method further comprises: Receive user instructions; Based on the user instruction, reading a target program file stored in a storage device corresponding to the motor diagnostic device; The target program file is transmitted to the motor device.
8. A motor diagnostic device, characterized in that: A motor diagnostic device used in a motor diagnostic system, the motor diagnostic system comprising a motor device, the motor diagnostic device and an electronic device, the motor device being communicatively connected to the motor diagnostic device, the motor diagnostic device being communicatively connected to the electronic device, the device comprising: A receiving module, used for receiving the operation data and initial fault identification corresponding to the motor device sent by the motor device; A determination module, used to analyze the initial fault identifier and determine target fault description information corresponding to the motor device; The sending module is used to transmit the target fault description information and the operating data to the electronic device so that the electronic device displays the target fault description information and the operating data.
9. The device according to claim 8, characterized in that After transmitting the target fault description information and the operation data to the electronic device, the receiving module is further used to receive a program update file sent by the electronic device if the target fault description information indicates that the program in the motor device is not updated; the program update file is used to update the current program in the motor device; Correspondingly, The determination module is used to verify the program update file; A sending module, configured to transmit the program update file to the motor device based on the communication connection between the motor devices if the program update file verification succeeds; Correspondingly, The receiving module is further used to receive the program update file sent by the electronic device again if the program update file verification fails.
10. The device according to claim 8, characterized in that The receiving module is further used to receive user instructions; Correspondingly, The determination module is used to read the target program file stored in the storage device corresponding to the motor diagnosis device based on the user instruction; The sending module is used to transmit the target program file to the motor device.
11. A motor diagnostic device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the motor diagnosis method described in any one of claims 1 to 7 by executing the computer instructions.
12. A motor diagnostic system, characterized in that: include: The motor diagnostic system comprises a motor device, the motor diagnostic device and an electronic device, wherein the motor device is communicatively connected to the motor diagnostic device, and the motor diagnostic device executes the motor diagnostic method described in any one of claims 1 to 7.
13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the motor diagnosis method described in any one of claims 1 to 7.
14. A computer program product, characterized in that The invention comprises computer instructions, wherein the computer instructions are used to make a computer execute the motor diagnosis method as claimed in any one of claims 1 to 7.
Citation Information
Patent Citations
BLDC (brushless direct current) motor fault diagnosis system
CN106707159A
System and method for updating E-party program based on air conditioner indoor-outdoor unit communication circuit
CN112035149A
Motor self-diagnostic protective device
CN201440605U
Bull -dozer automobile body fault diagnostic
CN207408824U
Redundant system and its fault diagnosis method
JP2006306166A
Cited By
Motor diagnosis method and apparatus, motor diagnosis device, and motor diagnosis system
WO2026026164A1
