A method, apparatus, motor, and electrical equipment for testing an electric motor.

By repeatedly switching the power on and off during motor testing and analyzing feedback pulses, faults in the starting and running sub-stages can be distinguished, solving the problem of failure to differentiate fault stages during motor testing in existing technologies and improving the reference value for motor design and maintenance.

CN117686904BActive Publication Date: 2026-07-17GREE ELECTRIC APPLIANCE INC OF ZHUHAI

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GREE ELECTRIC APPLIANCE INC OF ZHUHAI
Filing Date
2023-12-11
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

Existing motor reliability testing technologies fail to distinguish which stage of the test process the fault occurs at, resulting in a lack of reference value for design and maintenance processes.

Method used

After the motor input voltage is greater than or equal to the starting voltage, the motor is controlled to repeatedly turn on and off according to the test cycle. The specific stage of the fault occurrence is determined based on the feedback pulses of the power-on stage, including the starting sub-stage and the running sub-stage. The severity of the fault is characterized by the count value.

Benefits of technology

It enables precise location of fault stages during motor testing, providing important reference for motor design and maintenance, and improving the accuracy and efficiency of fault analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117686904B_ABST
    Figure CN117686904B_ABST
Patent Text Reader

Abstract

This invention discloses a method, apparatus, motor, and electrical equipment for testing a motor. The method includes: after the input voltage to the motor is greater than or equal to the starting voltage, controlling the motor to repeatedly switch on and off power according to a test cycle; wherein the test cycle includes an on-state phase and a off-state phase; and determining whether a motor fault has occurred and the specific stage of the fault based on the feedback pulses from the motor during the on-state phase. This invention enables the differentiation of faults occurring during testing, providing important reference for motor design and maintenance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of electronic power technology, and more specifically, to a method, apparatus, motor, and electrical equipment for testing motors. Background Technology

[0002] With the continuous improvement of people's living standards, various electrical devices, especially household appliances, have become an indispensable part of life, greatly improving people's quality of life. The motors in these devices are required to operate stably, and the lifespan of these devices is a major concern for consumers. Since the motor determines whether an electrical device can start and run reliably, its lifespan has the greatest impact on the lifespan of household appliances. Quality problems with the motor can lead to malfunctions during use, resulting in after-sales issues. Currently, motor reliability testing only focuses on the motor's lifespan and does not differentiate which stage of the testing process leads to failure, thus offering limited reference value for motor design and maintenance.

[0003] There is currently no effective solution to the problem that existing motor reliability testing does not distinguish at which stage of the testing process a fault occurs, thus providing little reference value for motor design and maintenance. Summary of the Invention

[0004] This invention provides a motor testing method, apparatus, motor, and electrical equipment to address the problem that existing motor reliability testing methods do not differentiate which stage of the test process causes a fault, thus offering limited reference value for motor design and maintenance.

[0005] To address the aforementioned technical problems, this invention provides a motor testing method, which includes:

[0006] After the input voltage to the motor is greater than or equal to the starting voltage, the motor is controlled to repeatedly switch on and off according to the test cycle; wherein, the test cycle includes a power-on phase and a power-off phase;

[0007] The motor's feedback pulses during the energizing phase are used to determine whether a fault has occurred and the specific stage at which the fault occurred.

[0008] Furthermore, the power-on phase includes:

[0009] The startup phase and the running phase.

[0010] Furthermore, based on the feedback pulses of the motor during the energizing phase, it is determined whether a motor malfunction has occurred and the specific stage at which the malfunction occurred, including:

[0011] During the starting sub-stage, it is determined whether the feedback pulse of the motor meets the first preset condition;

[0012] If so, then control the accumulation of the first count value;

[0013] If not, the first count value is kept unchanged; wherein the first count value is used to characterize the severity of the fault in the starter sub-stage.

[0014] Furthermore, the first preset condition is:

[0015] During the startup phase, after a preset number of feedback pulses are detected, no feedback pulses are detected for a first preset duration.

[0016] Furthermore, determining whether a motor malfunction has occurred and the specific stage at which the malfunction occurred based on the feedback pulses of the motor during the energizing phase also includes:

[0017] During the operation sub-stage, it is determined whether the feedback pulse of the motor meets the second preset condition;

[0018] If so, then control the accumulation of the second count value;

[0019] If not, the second count value is kept unchanged from its current value; wherein the second count value is used to characterize the severity of the fault in the running sub-stage.

[0020] Furthermore, the second preset condition is:

[0021] During the running sub-phase, no feedback pulse was detected for a second preset duration.

[0022] Furthermore, determining whether a motor malfunction has occurred and the specific stage at which the malfunction occurred based on the feedback pulses of the motor during the energizing phase also includes:

[0023] After the number of completed test cycles reaches a preset threshold, the values ​​of the first count value and the second count value are determined.

[0024] If the first count value is greater than or equal to the first preset value, and the second count value is less than the second preset value, then it is determined that a fault has occurred in the startup sub-stage;

[0025] If the second count value is greater than or equal to the second preset value, and the first count value is less than the first preset value, then it is determined that a fault has occurred in the running sub-stage;

[0026] If the first count value is greater than or equal to the first preset value, and the second count value is greater than or equal to the second preset value, then it is determined that both the startup sub-stage and the running sub-stage have failed.

[0027] If the first count value is less than the first preset value and the second count value is less than the second preset value, then it is determined that no fault has occurred.

[0028] Furthermore, the method also includes:

[0029] After each test cycle ends, the cycle number, the first count value, and the second count value are stored.

[0030] Once it is determined whether the motor has malfunctioned and the specific stage at which the malfunction occurred, the stored cycle count, first count value, and second count value will be cleared to zero.

[0031] The present invention also provides a motor testing device, the device comprising:

[0032] The control module is used to control the motor to repeatedly switch power on and off according to the test cycle after the input voltage of the motor is greater than or equal to the starting voltage;

[0033] A pulse detection module is used to detect the feedback pulse of the motor after each power-on.

[0034] The fault diagnosis module is used to determine whether the motor has malfunctioned and the specific stage of the malfunction based on the feedback pulses of the motor during the power-on phase.

[0035] The present invention also provides an electric motor, which includes the above-described electric motor testing device and applies the above-described electric motor testing method.

[0036] The present invention also provides an electrical device, including the aforementioned motor.

[0037] The present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above-described motor testing method.

[0038] By applying the technical solution of this invention, after the voltage input to the motor is greater than or equal to the starting voltage, the motor is controlled to repeatedly turn on and off according to the test cycle. Based on the feedback pulse of the motor during the power-on phase, it is determined whether the motor has failed and the specific stage of the failure. This enables the differentiation of which specific stage of the test process the failure occurred, providing an important reference for the design and maintenance of the motor. Attached Figure Description

[0039] Figure 1 This is a flowchart of a motor testing method according to an embodiment of the present invention;

[0040] Figure 2 A flowchart of a motor testing method according to another embodiment of the present invention was obtained;

[0041] Figure 3 This is a structural diagram of a motor testing device according to an embodiment of the present invention. Detailed Implementation

[0042] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this invention, and not all of them. Based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this invention.

[0043] The terminology used in the embodiments of this invention is for the purpose of describing particular embodiments only and is not intended to limit the invention. The singular forms “a,” “the,” and “the” as used in the embodiments of this invention and the appended claims are also intended to include the plural forms, and “multiple” generally includes at least two unless the context clearly indicates otherwise.

[0044] It should be understood that the term "and / or" used in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.

[0045] It should be understood that although the terms "first," "second," etc., may be used to describe the preset duration in the embodiments of the present invention, these preset durations should not be limited to these terms. These terms are only used to distinguish different preset durations. For example, without departing from the scope of the embodiments of the present invention, the first preset duration may also be referred to as the second preset duration, and similarly, the second preset duration may also be referred to as the first preset duration.

[0046] Depending on the context, the words “if” or “suppose” as used here can be interpreted as “when” or “in response to determination” or “in response to detection.” Similarly, depending on the context, the phrases “if determination” or “if detection (of the stated condition or event)” can be interpreted as “when determination” or “in response to determination” or “when detection (of the stated condition or event)” or “in response to detection (of the stated condition or event).”

[0047] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that an article or device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such an article or device. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the article or device that includes said element.

[0048] The optional embodiments of the present invention will now be described in detail with reference to the accompanying drawings.

[0049] Example 1

[0050] Currently, reliability testing for motors only covers the motor's lifespan and does not differentiate which stage of the test process the motor fails at, thus offering little reference value for the motor's design and maintenance process.

[0051] To address the aforementioned technical problems, this embodiment provides a method for testing a motor. Figure 1 The flowchart of the motor testing method according to an embodiment of the present invention is as follows: Figure 1 As shown, the motor testing method includes:

[0052] S101 controls the motor to repeatedly switch on and off according to the test cycle after the input voltage of the motor is greater than or equal to the starting voltage.

[0053] A new motor test mode has been added to electrical equipment, which is applicable to motors built into electrical equipment. This mode can be used before the electrical equipment leaves the factory to verify the reliability of the motor during repeated start-up and operation in the electrical equipment.

[0054] First, the power input starts and controls the motor to be powered on. The main controller controls the voltage value Vsp input to the motor. The main controller has a circuit to detect the voltage value Vsp. When the main controller detects that the voltage value Vsp input to the motor is greater than or equal to the motor's starting voltage (e.g., 2.1V), it starts the power-on phase of the test cycle.

[0055] S102, determine whether the motor has malfunctioned and the specific stage of the malfunction based on the feedback pulse of the motor during the power-on phase.

[0056] When a motor malfunctions, the motor's feedback pulse will be delayed or not detected at all. Therefore, after each power-on phase, the motor's feedback pulse is detected by a pulse detection module. Based on the motor's feedback pulse, it can be determined whether the motor has malfunctioned.

[0057] The motor testing method in this embodiment controls the motor to be repeatedly powered on and off according to the test cycle after the input voltage of the motor is greater than or equal to the starting voltage. Based on the feedback pulse of the motor during the power-on phase, it determines whether the motor has a fault and the specific stage of the fault. This method can distinguish which specific stage of the test process the fault occurs in, providing an important reference for the design and maintenance of motors.

[0058] The power-on phase includes a start-up sub-phase and an operation sub-phase. To determine the specific stage at which a fault occurs, the motor's feedback pulses during the power-on phase are used to determine whether a fault has occurred and the specific stage at which the fault occurred. This includes: during the start-up sub-phase, determining whether the motor's feedback pulses meet a first preset condition; if yes, then controlling a first count value to accumulate; if no, then controlling the first count value to remain unchanged; wherein, the first count value is used to characterize the severity of the fault during the start-up sub-phase. The first preset condition is: during the start-up sub-phase, after detecting a preset number of feedback pulses, no feedback pulses are detected for a sustained first preset duration.

[0059] Determining whether a motor malfunction has occurred and the specific stage of the malfunction based on the feedback pulses of the motor during the power-on phase also includes: determining whether the feedback pulses of the motor meet the second preset condition during the operation sub-phase; if yes, controlling the second count value to accumulate; if no, controlling the second count value to remain unchanged at its current value; wherein, the second count value is used to characterize the severity of the malfunction during the operation sub-phase.

[0060] The second preset condition is: no feedback pulse is detected for a continuous second preset duration during the operation sub-phase.

[0061] For example, in practical implementation, power can be maintained for T1 seconds (e.g., T1 ≥ 60 seconds; when the motor is used in a fan, the above power-on duration can be redefined according to the rotational characteristics of the motor and fan blades; different fans may require different durations, but under normal conditions, there must be sufficient time for the fan to start and reach a certain speed for a period of time). After T1 seconds, power is cut off, and after T2 seconds, power is restored. T2 is the minimum duration required to ensure the fan can completely stop. This start-stop cycle is repeated, and feedback pulses from the motor are detected during this process. The following judgment conditions are set to determine whether the motor has malfunctioned and the specific stage of the malfunction.

[0062] The first preset condition is: if, during the start-up phase (e.g., within 30 seconds after the start of the power-on phase), the interval between two consecutive pulses exceeds T3 (i.e., the first preset duration mentioned above, e.g., 2 seconds) after the detection of the M1th feedback pulse, then the first preset condition is determined to be met.

[0063] Because feedback pulses cannot be detected before the motor starts rotating, continuous pulses can only be detected after the motor starts rotating once. Therefore, within the first 30 seconds of the detection cycle, the judgment begins from the moment the M1 pulse is detected. If the interval between two pulses exceeds T3, it indicates that the number of undetected pulses exceeds a certain number, and the first preset condition is met. The value of M1 depends on the parameters of the motor. For example, for a 12-pulse motor, the judgment begins from the moment the 13th pulse is detected, that is, the value of M1 is 13.

[0064] The second preset condition is: if, 30 seconds after the start of the power-on phase, the interval between two consecutive pulses exceeds the second preset duration T4, then the second preset condition is satisfied.

[0065] T4 is set according to the motor parameters. If the motor is a 12-pulse-per-revolution motor, T4 = 60s / (V*12), where V is the minimum speed during operation. For example, when V = 100, T4 = 0.05s. If the motor is a 30-pulse-per-revolution motor, when V = 100, T4 = 0.02s.

[0066] If, during the stable operation phase, the interval between two pulses exceeds T4, it indicates that the motor has not even reached the minimum speed; either it has not started up or its operation is not smooth.

[0067] As mentioned above, the severity of the fault during the startup phase is characterized by a first count value, and the severity of the fault during the stable operation phase is characterized by a second count value. The determination of whether a motor fault has occurred and the specific stage of the fault is based on the feedback pulses from the motor during the power-on phase. This also includes: after the number of completed test cycles reaches a preset threshold, determining the values ​​of the first and second count values; if the first count value is greater than or equal to a first preset value and the second count value is less than a second preset value, then a fault is determined to have occurred in the startup sub-phase; if the second count value is greater than or equal to a second preset value and the first count value is less than a first preset value, then a fault is determined to have occurred in the operation sub-phase; if the first count value is greater than or equal to a first preset value and the second count value is greater than or equal to a second preset value, then both the startup and operation sub-phases are determined to have faults; if the first count value is less than a first preset value and the second count value is less than a second preset value, then no fault is determined to have occurred.

[0068] Regardless of whether the first or second preset condition is met, the number of test cycles N will be accumulated once: that is, N = N + 1.

[0069] If the first preset condition is met, the first count value N1 is accumulated once, i.e., N1 = N1 + 1. If the second preset condition is met, the second count value N2 is accumulated once, i.e., N2 = N2 + 1. If neither the first nor the second preset condition is met, only the number of test cycles N is accumulated.

[0070] When N in the data storage is greater than or equal to a preset threshold, such as 1000, the test mode will automatically exit. It can also be manually exited by the operator. When exiting mode, the main controller will read the data and output it to the wired controller, and will provide different codes depending on the situation.

[0071] If N1 ≥ the first preset value (e.g., 1) and N2 = 0, then fault code F1 is fed back.

[0072] If N1 = 0 and N2 ≥ the second preset value (e.g., 1), then fault code F2 is fed back.

[0073] If N1 ≥ the first preset value and N2 ≥ the second preset value, then fault code F3 is fed back;

[0074] If N1 = 0 and N2 = 0, then the error code YES is returned.

[0075] After a fault code appears, technicians should be notified to check and repair it. The technicians will then focus on the fault points based on the fault code and make corrections accordingly. For fault code F1, technicians should focus on any abnormalities during motor startup; for fault code F2, they should focus on any abnormalities during the motor's stable operation; for fault code F3, there are abnormalities during both startup and operation.

[0076] After the test cycle, the first count value, and the second count value are calculated, the fault diagnosis is not performed immediately. Therefore, the test cycle, the first count value, and the second count value need to be stored. The above method also includes: after the end of each test cycle, the cycle number, the first count value, and the second count value are stored; until it is determined whether the motor has failed and the specific stage of the failure is completed, the stored cycle number, the first count value, and the second count value are cleared to zero.

[0077] Example 2

[0078] This embodiment provides another method for testing motors. Figure 2 A flowchart of a motor testing method according to another embodiment of the present invention is provided, as follows: Figure 2 As shown, the method includes:

[0079] S1 controls the motor to enter test mode.

[0080] S2 controls the motor to be powered on.

[0081] S3, determine whether the input voltage value Vsp of the motor is greater than or equal to the starting voltage of the motor; if yes, proceed to step S4; otherwise, repeat step S4.

[0082] S4. Determine whether the time it takes for the motor to reach the motor starting voltage is greater than the time T1. If not, proceed to step S5; if yes, proceed to step S14.

[0083] S5, determine whether conditions 1 and 2 are satisfied; if neither condition is satisfied, proceed to step S6; if only condition 2 is satisfied, proceed to step S7; if only condition 1 is satisfied, proceed to step S8; if both conditions are satisfied, proceed to step S9.

[0084] S6, let N=N+1, N1=N1, N2=N2.

[0085] S7, let N = N+1, N1 = N1, N2 = N2+1.

[0086] S8, let N=N+1, N1=N1+1, N2=N2.

[0087] S9, let N=N+1, N1=N1+1, N2=N2+1.

[0088] Regardless of whether condition 1 or condition 2 is met, the number of test cycles N will be accumulated once: that is, N = N + 1.

[0089] If condition 1 is met, the first count value N1 is accumulated once, i.e., N1 = N1 + 1. If condition 2 is met, the second count value N2 is accumulated once, i.e., N2 = N2 + 1. If neither condition 1 nor condition 2 is met, only the number of test cycles N is accumulated.

[0090] S10 stores data N1, N2, and N.

[0091] After calculating the test period, the first count value N1, and the second count value N2, fault diagnosis is not performed immediately. Therefore, the test period N, the first count value N1, and the second count value N2 need to be stored.

[0092] S11. Determine whether the instruction to exit the test mode has been received and / or N is greater than or equal to 1000. If yes, proceed to step S12; otherwise, return to step S1.

[0093] S12, read data N1 and N2.

[0094] S13, based on the values ​​of N1 and N2, provides the corresponding fault code.

[0095] If N1 ≥ the first preset value (e.g., 1) and N2 = 0, then fault code F1 is fed back.

[0096] If N1 = 0 and N2 ≥ the second preset value (e.g., 1), then fault code F2 is fed back.

[0097] If N1 ≥ the first preset value and N2 ≥ the second preset value, then fault code F3 is fed back;

[0098] If N1 = 0 and N2 = 0, then the error code YES is returned.

[0099] After a fault code appears, technicians should be notified to check and repair it. The technicians will then focus on the fault points based on the fault code and make corrections accordingly. For fault code F1, technicians should focus on any abnormalities during motor startup; for fault code F2, they should focus on any abnormalities during the motor's stable operation; for fault code F3, there are abnormalities during both startup and operation.

[0100] S14 controls the motor to shut off.

[0101] Example 3

[0102] This embodiment provides a motor testing device. Figure 3 A structural diagram of a motor testing device according to an embodiment of the present invention is shown below. Figure 3 As shown, the motor testing device includes:

[0103] The control module 10 is used to control the motor to repeatedly turn on and off power according to the test cycle after the voltage input to the motor is greater than or equal to the starting voltage; wherein the test cycle includes a power-on phase and a power-off phase.

[0104] A new motor test mode has been added to electrical equipment, which is applicable to motors built into electrical equipment. This mode can be used before the electrical equipment leaves the factory to verify the reliability of the motor during repeated start-up and operation in the electrical equipment.

[0105] First, the power input starts and controls the motor to be powered on. The main controller controls the voltage value Vsp input to the motor. The main controller has a circuit to detect the voltage value Vsp. When the main controller detects that the voltage value Vsp input to the motor is greater than or equal to the motor's starting voltage (e.g., 2.1V), it starts the power-on phase of the test cycle.

[0106] The pulse detection module 20 is used to detect the feedback pulse of the motor after each power-on.

[0107] When the motor malfunctions, the feedback pulse of the motor will be delayed or cannot be detected at all. Therefore, the feedback pulse of the motor is detected by the pulse detection module 20 after each power-on phase.

[0108] The fault diagnosis module 30 is used to determine whether the motor has malfunctioned and the specific stage of the malfunction based on the feedback pulses of the motor during the power-on phase.

[0109] In this embodiment, the motor testing device controls the motor to repeatedly power on and off according to the test cycle after the input voltage of the motor is greater than or equal to the starting voltage. The fault judgment module 30 determines whether the motor has a fault and the specific stage of the fault based on the feedback pulse of the motor during the power-on stage. This enables the differentiation of which specific stage of the test process the fault occurs, providing an important reference for the design and maintenance of the motor.

[0110] The power-on phase includes a start-up sub-phase and an operation sub-phase. The fault judgment module 30 is specifically used to: during the start-up sub-phase, determine whether the motor's feedback pulses meet a first preset condition; if yes, control the first count value to accumulate; if no, control the first count value to remain unchanged; wherein, the first count value is used to characterize the severity of the fault in the start-up sub-phase. The aforementioned first preset condition is: during the start-up sub-phase, after detecting a preset number of feedback pulses, no feedback pulses are detected for a sustained first preset duration.

[0111] The fault judgment module 30 is further configured to: determine whether the feedback pulse of the motor meets the second preset condition during the operation sub-stage; if yes, control the second count value to accumulate; if no, control the second count value to remain unchanged at the current value; wherein the second count value is used to characterize the severity of the fault in the operation sub-stage.

[0112] The second preset condition is: no feedback pulse is detected for a continuous second preset duration during the operation sub-phase.

[0113] For example, in practical implementation, power can be maintained for T1 seconds (e.g., T1 ≥ 60 seconds; when the motor is used in a fan, the above power-on duration can be redefined according to the rotational characteristics of the motor and fan blades; different fans may require different durations, but under normal conditions, there must be sufficient time for the fan to start and reach a certain speed for a short period of time). After T1 seconds, power is cut off, and after T2 seconds, power is restored. T2 is the minimum duration required to ensure the fan can completely stop. This start-stop cycle is repeated, and feedback pulses from the motor are detected during this process. The following judgment conditions are set to determine whether the motor has malfunctioned and the specific stage of the malfunction.

[0114] The first preset condition is: if, during the start-up phase (e.g., within 30 seconds after the start of the power-on phase), the interval between two consecutive pulses exceeds T3 (i.e., the first preset duration mentioned above, e.g., 2 seconds) after the detection of the M1th feedback pulse, then the first preset condition is determined to be met.

[0115] Because feedback pulses cannot be detected before the motor starts rotating, continuous pulses can only be detected after the motor starts rotating once. Therefore, within the first 30 seconds of the detection cycle, the judgment begins from the moment the M1 pulse is detected. If the interval between two pulses exceeds T3, it indicates that the number of undetected pulses exceeds a certain number, and the first preset condition is met. The value of M1 depends on the parameters of the motor. For example, for a 12-pulse motor, the judgment begins from the moment the 13th pulse is detected, that is, the value of M1 is 13.

[0116] The second preset condition is: if, 30 seconds after the start of the power-on phase, the interval between two consecutive pulses exceeds the second preset duration T4, then the second preset condition is satisfied.

[0117] T4 is set according to the motor parameters. If the motor is a 12-pulse-per-revolution motor, T4 = 60s / (V*12), where V is the minimum speed during operation. For example, when V = 100, T4 = 0.05s. If the motor is a 30-pulse-per-revolution motor, when V = 100, T4 = 0.02s.

[0118] If, during the stable operation phase, the interval between two pulses exceeds T4, it indicates that the motor has not even reached the minimum speed; either it has not started up or its operation is not smooth.

[0119] As mentioned above, the severity of the fault during the startup phase is represented by a first count value, and the severity of the fault during the stable operation phase is represented by a second count value. The fault judgment module 30 is also used to: determine the values ​​of the first and second count values ​​after the number of completed test cycles reaches a preset threshold; determine whether the motor has failed and the specific stage of the failure based on the feedback pulse of the motor during the power-on phase; further, it includes: determining the values ​​of the first and second count values ​​after the number of completed test cycles reaches a preset threshold; if the first count value is greater than or equal to the first preset value and the second count value is less than the second preset value, then a fault is determined to have occurred in the startup sub-phase; if the second count value is greater than or equal to the second preset value and the first count value is less than the first preset value, then a fault is determined to have occurred in the operation sub-phase; if the first count value is greater than or equal to the first preset value and the second count value is greater than or equal to the second preset value, then both the startup and operation sub-phases are determined to have failed; if the first count value is less than the first preset value and the second count value is less than the second preset value, then no fault is determined to have occurred. Regardless of whether the above first or second preset conditions are met, the number of test cycles N will be accumulated once: that is, N = N + 1.

[0120] If the first preset condition is met, the first count value N1 is accumulated once, i.e., N1 = N1 + 1. If the second preset condition is met, the second count value N2 is accumulated once, i.e., N2 = N2 + 1. If neither the first nor the second preset condition is met, only the number of test cycles N is accumulated.

[0121] When N in the data storage is greater than or equal to a preset threshold, such as 1000, the test mode will automatically exit. It can also be manually exited by the operator. When exiting mode, the main controller will read the data and output it to the wired controller, and will provide different codes depending on the situation.

[0122] If N1 ≥ the first preset value (e.g., 1) and N2 = 0, then fault code F1 is fed back.

[0123] If N1 = 0 and N2 ≥ the second preset value (e.g., 1), then fault code F2 is fed back.

[0124] If N1 ≥ the first preset value and N2 ≥ the second preset value, then fault code F3 is fed back;

[0125] If N1 = 0 and N2 = 0, then the error code YES is returned.

[0126] After a fault code appears, technicians should be notified to check and repair it. The technicians will then focus on the fault points based on the fault code and make corrections accordingly. For fault code F1, technicians should focus on any abnormalities during motor startup; for fault code F2, they should focus on any abnormalities during the motor's stable operation; for fault code F3, there are abnormalities during both startup and operation.

[0127] After the test cycle, the first count value, and the second count value are calculated, the fault judgment is not performed immediately. Therefore, the test cycle, the first count value, and the second count value need to be stored. The fault judgment module 30 is also used to: store the cycle number, the first count value, and the second count value after each test cycle ends; and clear the stored cycle number, the first count value, and the second count value after determining whether the motor has failed and the specific stage of the failure.

[0128] Example 4

[0129] This embodiment provides a motor, which includes the motor testing device described in the above embodiment and applies the motor testing method described in the above embodiment.

[0130] Example 5

[0131] This embodiment provides an electrical device, including the motor described in the above embodiment.

[0132] Example 6

[0133] This embodiment provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the above-described motor testing method.

[0134] The device embodiments described above are merely illustrative. The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0135] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0136] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for testing an electric motor, characterized in that, The method includes: After the input voltage to the motor is greater than or equal to the starting voltage, the motor is controlled to repeatedly switch on and off according to the test cycle; wherein, the test cycle includes a power-on phase and a power-off phase, and the power-on phase includes a starting sub-phase and a running sub-phase; The motor's feedback pulses during the power-on phase are used to determine whether a fault has occurred and the specific stage at which the fault occurred. The determination of whether a motor malfunction has occurred and the specific stage at which the malfunction occurred, based on the feedback pulses of the motor during the energizing phase, includes: During the start-up sub-stage, it is determined whether the feedback pulse of the motor meets a first preset condition; the first preset condition is: during the start-up sub-stage, after a preset number of feedback pulses are detected, no feedback pulses are detected for a first preset duration. If so, then control the accumulation of the first count value; If not, the first count value is kept unchanged; wherein the first count value is used to characterize the severity of the failure in the starter sub-stage; During the operation sub-phase, it is determined whether the feedback pulse of the motor meets the second preset condition; the second preset condition is: no feedback pulse is detected for a continuous second preset duration during the operation sub-phase; If so, then control the accumulation of the second count value; If not, the second count value is kept unchanged; wherein the second count value is used to characterize the severity of the fault in the running sub-stage; After the number of completed test cycles reaches a preset threshold, the values ​​of the first count value and the second count value are determined. If the first count value is greater than or equal to the first preset value, and the second count value is less than the second preset value, then it is determined that a fault has occurred in the startup sub-stage; If the second count value is greater than or equal to the second preset value, and the first count value is less than the first preset value, then it is determined that a fault has occurred in the running sub-stage; If the first count value is greater than or equal to the first preset value, and the second count value is greater than or equal to the second preset value, then it is determined that both the startup sub-stage and the running sub-stage have failed. If the first count value is less than the first preset value and the second count value is less than the second preset value, then it is determined that no fault has occurred.

2. The method according to claim 1, characterized in that, The method further includes: After each test cycle ends, the cycle number, the first count value, and the second count value are stored. Once it is determined whether the motor has malfunctioned and the specific stage at which the malfunction occurred, the stored cycle count, first count value, and second count value will be cleared to zero.

3. A motor testing device, characterized in that, The apparatus for testing motors as described in claim 1 or 2 includes: The control module is used to control the motor to repeatedly switch power on and off according to the test cycle after the input voltage of the motor is greater than or equal to the starting voltage; A pulse detection module is used to detect the feedback pulse of the motor after each power-on. The fault diagnosis module is used to determine whether the motor has malfunctioned and the specific stage of the malfunction based on the feedback pulses of the motor during the power-on phase.

4. An electric motor, characterized in that, The motor includes the motor testing device as described in claim 3, and applies the motor testing method as described in claim 1 or 2.

5. An electrical appliance, characterized in that, Includes the motor described in claim 4.

6. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in claim 1 or 2.