Sensorless motor starting test device and method, electronic equipment and storage medium
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-01-09
- Publication Date
- 2026-04-03
AI Technical Summary
Sensorless starting test methods for permanent magnet synchronous motors have low reliability and make it difficult to comprehensively test the starting status at different gears and conduct impact simulation tests.
The sensorless motor starting test device combines the bus electrical signal and the actual speed to comprehensively analyze the motor starting status. It uses a low-cost microcontroller and timer to detect the bus electrical signal and the actual speed, and comprehensively judges the motor starting status.
It improves the reliability of motor start-up status testing, can comprehensively test the start-up status under different gears, and perform impact simulation testing to avoid hidden faults going undetected or being misjudged.
Smart Images

Figure CN121784541A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of motor testing technology, and in particular relates to a sensorless motor starting test device, method, electronic device and storage medium. Background Technology
[0002] Sensorless permanent magnet synchronous motors (PMSMs) are commonly used to start fans. Since the rotor position cannot be read using position sensors, it is typically estimated using algorithms. The accuracy of the rotor position directly impacts the success rate of the motor's start-up. Therefore, a motor start-up test function is needed to test the starting status of the PMSM to ensure the normal operation of the fan.
[0003] In related technologies, the starting status of a permanent magnet synchronous motor is typically tested using the motor start-up test function on the device's motherboard, for example, by collecting the motor's speed to determine its starting status. However, this method of testing motor starting status has low reliability.
[0004] The preceding description is intended to provide general background information and does not necessarily constitute prior art. Summary of the Invention
[0005] This application provides a sensorless motor start-up test device, method, electronic device, and storage medium, which can solve the technical problem of low reliability in sensorless motor start-up test methods.
[0006] To address the aforementioned technical issues, in a first aspect, embodiments of this application provide a sensorless motor start-up testing device, comprising: A power supply module, which is connected to the motor and configured to supply power to the motor; The control module includes a controller, a first detection module, and a second detection module. The controller is connected to the power supply module, the first detection module, and the second detection module, respectively. The first detection module and the second detection module are connected to the motor, respectively. The first detection module is configured to detect the bus electrical signal of the motor; The second detection module is configured to detect the actual rotational speed of the motor; The controller is configured to control the power supply module to turn on so that the power supply module supplies power to the motor, and to control the motor to start at a target speed. Based on the bus electrical signal detected by the first detection module and the actual speed detected by the second detection module, the controller determines the starting state corresponding to the motor starting at the target speed.
[0007] In one possible implementation of the first aspect, the starting state of the motor at the target speed is determined based on the bus electrical signal detected by the first detection module and the actual rotational speed detected by the second detection module, including at least one of the following: if the bus electrical signal reaches the corresponding set threshold and the actual rotational speed reaches the corresponding set rotational speed within a first preset time period, it is determined that the motor has started successfully at the target rotational speed; if the bus electrical signal does not reach the corresponding set threshold and / or the actual rotational speed does not reach the corresponding set rotational speed within the first preset time period, it is determined that the motor has failed to start at the target rotational speed.
[0008] In one possible implementation of the first aspect, the controller is further configured to, upon determining that the motor has successfully started at the target speed, control the power supply module to disconnect, thereby disconnecting the power supply to the motor during its operation, and after a preset time interval, control the power supply module to turn on to supply power to the motor, and acquire the motor bus signal and the actual speed of the motor, and determine the starting state of the motor when power is restored after a power outage based on the bus signal and the actual speed.
[0009] In one possible implementation of the first aspect, the control module further includes a speed control module, the input of which is connected to the controller, and the output of which is connected to the drive module of the motor. The speed control module is configured to adjust the target speed of the motor. The controller is also configured to control the speed control module to adjust the target speed of the motor, and to control the motor to start at the adjusted target speed, and to acquire the bus electrical signal of the motor and the actual speed of the motor, and to determine the starting state of the motor when it starts at the adjusted target speed based on the bus electrical signal and the actual speed.
[0010] One possible implementation of the first aspect also includes: The statistics module, connected to the control module, is configured to collect statistics on the motor's start-up status information.
[0011] Secondly, embodiments of this application provide a sensorless motor start-up test method, including: Control the motor to start at the target speed; Obtain the bus electrical signal of the motor and the actual speed of the motor; Based on the actual rotational speed and the bus electrical signal, determine the starting state corresponding to when the motor starts at the target rotational speed.
[0012] In one possible implementation of the second aspect, determining the starting state of the motor at the target speed based on the actual rotational speed and the bus electrical signal includes at least one of the following: If the bus electrical signal reaches the corresponding set threshold and the actual speed reaches the corresponding set speed within the first preset time period, then it is determined that the motor has started successfully when it starts at the target speed. If the bus electrical signal does not reach the corresponding set threshold within the first preset time period, and / or the actual speed does not reach the corresponding set speed, then it is determined that the motor failed to start when starting at the target speed.
[0013] In one possible implementation of the second aspect, if the start-up is successful when the motor is determined to start at the target speed, the method further includes: The power supply module is controlled to disconnect, thereby disconnecting the power supply to the motor during its operation; After a preset time interval, the power supply module is turned on to supply power to the motor; Obtain the bus signal of the motor and the actual speed of the motor; The starting state of the motor when it is powered on again after a power outage is determined based on the actual rotational speed and the bus electrical signal.
[0014] One possible implementation of the second aspect also includes: Adjust the target speed of the motor, control the motor to start at the adjusted target speed, and acquire the bus electrical signal and the actual speed of the motor. Based on the bus electrical signal and the actual speed, determine the starting state of the motor when starting at the adjusted target speed.
[0015] Thirdly, embodiments of this application provide an electronic device, including: a motor, a power supply module, a first detection module, and a second detection module. The power supply module is connected to the motor and configured to supply power to the motor. The first detection module and the second detection module are respectively connected to the motor. The first detection module is configured to detect the bus electrical signal of the motor. The second detection module is configured to detect the actual rotational speed of the motor. The electronic device further includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the method as described in the second aspect.
[0016] Fourthly, embodiments of this application provide a computer-readable storage medium, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method as described in the second aspect.
[0017] Fifthly, embodiments of this application provide a computer program product storing computer-readable instructions that, when executed by a processor, implement the method described in any one of the second aspects above.
[0018] It is understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant descriptions in the first aspect mentioned above, and will not be repeated here.
[0019] The beneficial effects of this application embodiment compared with the prior art are as follows: The sensorless motor starting test device provided in this application embodiment includes a power supply module and a control module. The power supply module is connected to the motor and configured to supply power to the motor. The control module includes a controller, a first detection module, and a second detection module. The controller is connected to the power supply module and can control the power supply module to switch on and off during testing, thereby controlling the power supply to the motor. The first detection module and the second detection module are respectively connected to the motor. The first detection module is used to detect the motor bus electrical signal, and the second detection module is used to detect the actual speed of the motor. The controller is connected to the first detection module and the second detection module. It obtains the motor bus electrical signal through the first detection module and the actual speed of the motor through the second detection module. Then, based on the motor bus electrical signal and the actual speed, it determines the starting state corresponding to the motor starting at the target speed. In other words, this embodiment of the application sets up a first detection module on the testing device to collect the motor's bus electrical signal and the actual speed of the motor. Then, it determines the motor's starting state based on the bus electrical signal and the actual speed. Since the bus electrical signal reflects the cause of motor starting abnormalities, and the actual speed directly reflects the motor's starting effect, comprehensively judging the motor's starting state from both the cause of the starting abnormality and the starting effect can avoid situations where hidden faults cannot be detected or are misjudged. Therefore, comprehensively judging the motor's starting state by using the bus electrical signal and the actual speed can improve the reliability of motor starting state testing. Attached Figure Description
[0020] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0021] Figure 1This is a schematic diagram of the structure of a sensorless motor starting test device provided in one embodiment of this application; Figure 2 This is a flowchart illustrating a sensorless motor start-up test method provided in one embodiment of this application; Figure 3 This is a flowchart illustrating a sensorless motor start-up test method provided in another embodiment of this application; Figure 4 This is a flowchart illustrating a sensorless motor start-up test method provided in another embodiment of this application.
[0022] Figure Labels 100 - Sensorless motor start-up test device; 110 - Control module; 111 - Controller; 112 - First detection module; 113 - Second detection module; 114 - Speed control module; 120 - Power supply module; 130 - Statistics module; 200 - Motor. Detailed Implementation
[0023] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0024] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.
[0025] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0026] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."
[0027] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0028] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0029] Sensorless permanent magnet synchronous motors (PMSMs) are commonly used to start fans. Since the rotor position cannot be read using position sensors, it is typically estimated using algorithms. The accuracy of the rotor position directly impacts the success rate of the motor's start-up. Therefore, a motor start-up test function is needed to test the starting status of the PMSM to ensure the normal operation of the fan.
[0030] In related technologies, the motor start-up test function of the device motherboard is typically used to test the starting status of permanent magnet synchronous motors. However, due to the high cost of the device motherboard, there are certain limitations to using it for motor start-up testing. For example, the device motherboard usually determines the motor's starting status by collecting the motor's speed, which is unreliable. Furthermore, it is difficult to perform comprehensive motor start-up testing using the device motherboard, such as testing the motor's starting status at different speeds or performing impact simulation tests on the motor.
[0031] Based on this, this application provides a sensorless motor starting test device. This test device controls the motor to start and detects the bus electrical signal and actual speed during the motor starting process. The motor starting status is comprehensively analyzed by combining the bus electrical signal and actual speed. The cause of motor starting abnormality is analyzed based on the changes in the bus electrical signal. The actual speed can accurately identify whether the motor has started. By comprehensively analyzing the motor starting status from both the cause and effect dimensions, some hidden faults cannot be detected or some abnormalities are misjudged, thereby improving the reliability of the test.
[0032] The following detailed description of some embodiments of the present invention is provided in conjunction with the accompanying drawings. Unless otherwise specified, the following embodiments and features can be combined with each other.
[0033] Figure 1 The diagram shows a schematic of the sensorless motor start-up test device provided in this application. As an example and not a limitation, the test device 100 includes a control module 110 and a power supply module 120. The power supply module 120 is connected to the control module 110 and is also connected to the motor 200. The control module 110 controls the power supply module 120 to be turned on so that the power supply module 120 supplies power to the motor 200, or the control module 110 controls the power supply module 120 to be turned off so that the power supply module 120 stops supplying power to the motor 200.
[0034] In some implementations, the control module 110 includes a controller 111, a first detection module 112, and a second detection module 113. A power supply module 120 is connected to the controller 111, which is also connected to the first and second detection modules 112 and 113. Both the first and second detection modules 112 are connected to the motor 200. Specifically, the first detection module 112 is connected to the power supply circuit of the motor 200 and is used to detect the bus electrical signal of the motor 200. The second detection module 113 is used to detect the actual speed of the motor 200.
[0035] Understandably, when testing motor 200, controller 111 controls power supply module 120 to turn on, power supply module 120 supplies power to motor 200, and controller 111 controls motor 200 to start at the target speed. First detection module 112 collects the bus electrical signal of motor 200, and second detection module 113 collects the actual speed of motor 200. Controller 111 obtains the bus electrical signal of motor 200 from first detection module 112 and the actual speed of motor 200 from second detection module 113, and then determines the starting state corresponding to motor 200 starting at the target speed based on the bus electrical signal and the actual speed.
[0036] By way of example and not limitation, the test device 100 in this embodiment is used to perform a startup test on the permanent magnet synchronous motor 200 (PMSM). Optionally, the permanent magnet synchronous motor 200 is used to start the fan of a sweeper. This test device 100 is not the mainboard of the sweeper, but a test device independent of the sweeper. In another implementation, the permanent magnet synchronous motor 200 can also be used to start the fan of a floor scrubber.
[0037] By way of example and not limitation, the test apparatus 100 uses an STM32F103C8T6 microcontroller as the control module 110. Exemplarily, the GPIO pins of the STM32F103C8T6 microcontroller are connected to the power supply module 120. Exemplarily, the power supply module 120 includes a PMOS transistor, and the controller 111 outputs control signals through the GPIO pins to control the switching on and off of the PMOS transistor, thereby controlling the power supply to the motor 200.
[0038] Optionally, the first detection module 112 includes an ADC channel connected to both ends of a sampling resistor connected in series with the bus (power supply circuit) of the motor 200. By acquiring the electrical signal across the sampling resistor, the bus electrical signal is obtained. For example, the bus electrical signal includes bus current and / or power.
[0039] Optionally, the second detection module 113 includes a first timer. The input terminal (input capture channel) of the first timer is connected to the motor 200, and the output terminal of the first timer is connected to the controller 111. The first timer is used to capture the speed signal fed back by the motor 200, and to obtain the actual speed of the motor 200 based on the speed signal. It can be understood that the actual speed refers to the actual speed of the motor 200 estimated by the software algorithm.
[0040] In some implementations, the starting state of the motor 200 when starting at the target speed is determined based on the bus electrical signal detected by the first detection module 112 and the actual rotational speed detected by the second detection module 113, including at least one of the following: if the bus electrical signal reaches the corresponding set threshold and the actual rotational speed reaches the corresponding set rotational speed within a first preset time period, it is determined that the motor 200 has started successfully when starting at the target speed; if the bus electrical signal does not reach the corresponding set threshold and / or the actual rotational speed does not reach the corresponding set rotational speed within the first preset time period, it is determined that the motor 200 has failed to start when starting at the target speed.
[0041] Taking the bus electrical signal, including the bus current, as an example, during the initial startup of motor 200, maximum torque is required to overcome static friction and load inertia. Therefore, the bus current rapidly reaches its peak, and the rotor begins to accelerate. During the startup process of motor 200, the bus current decreases from its peak value, and correspondingly, the actual speed of motor 200 rises rapidly and smoothly from 0. When motor 200 is running at a steady speed, the bus current decreases to a steady-state value that matches the load and remains stable. The actual speed of motor 200 rises to the corresponding set speed and remains stable, indicating that motor 200 has started successfully. In this embodiment, the steady-state value that matches the load is used as the set threshold (the set threshold varies depending on the load). Optionally, the set threshold is a set range. As long as the bus current stabilizes within this set range after decreasing, it indicates that the bus current has reached the corresponding set threshold. The theoretical speed corresponding to each gear of the motor is the target speed. Due to factors such as load, the actual speed of motor 200 during successful startup may not be exactly the same as the theoretical speed, but fluctuates around the theoretical speed. Therefore, if the actual speed of the motor is close to the theoretical speed, it can be determined that the motor has started successfully. Based on the theoretical speed, a set speed is configured for each gear. Optionally, the set speed is a speed range. As long as the actual speed of motor 200 rises and stabilizes within this speed range, it can be considered that the actual speed has reached the corresponding set speed. If, within a first preset time period (such as the time required for motor 200 to start), the bus electrical signal drops from its peak value to a set threshold, and the actual speed reaches the corresponding set speed, then it is determined that motor 200 has successfully started at the target speed. Conversely, it is determined that motor 200 has failed to start at the target speed. It is understandable that when the bus electrical signal is power, the principle for judging the motor starting status is the same as that for bus current, and will not be described in detail here.
[0042] As an example, the first preset duration is 5 seconds.
[0043] In this embodiment, the testing device 100 includes a control module 110 and a power supply module 120. The power supply module 120 is connected to the motor 200 and configured to supply power to the motor 200. The control module 110 includes a controller 111, a first detection module 112, and a second detection module 113. The controller 111 is connected to the power supply module 120 and can control the power supply module 120 to switch on and off during testing, thereby controlling the power supply to the motor 200. The first detection module 112 and the second detection module 113 are respectively connected to the motor 200. The first detection module 112 is used to detect the bus electrical signal of the motor 200, and the second detection module 113 is used to detect the actual speed of the motor 200. The controller 111 is connected to the first detection module 112 and the second detection module 113 to obtain the bus electrical signal of the motor 200 through the first detection module 112. The second detection module 113 obtains the actual rotational speed of the motor 200, and then determines the starting state of the motor 200 based on the bus electrical signal and the actual rotational speed. In this embodiment, a sensorless motor starting test device 100 is used to test the starting state of the motor 200. A first detection module 112 is installed on the test device 100 to collect the bus electrical signal and the actual rotational speed of the motor 200. The starting state of the motor 200 is then determined based on the bus electrical signal and the actual rotational speed. Since the bus electrical signal reflects the cause of any abnormal starting of the motor 200, and the actual rotational speed reflects the starting effect, comprehensively judging the starting state of the motor 200 from both the cause of the abnormal starting and the starting effect can avoid the occurrence of hidden faults that cannot be detected or misjudged. Therefore, comprehensively judging the starting state of the motor 200 using the bus electrical signal and the actual rotational speed can improve the reliability of the motor 200 starting state test.
[0044] In some implementations, the testing device 100 in this embodiment can test the starting state of the motor 200 at different speeds, so as to conduct a comprehensive test of the motor 200. In some implementations, the control module 110 further includes a speed control module 114, the input of which is connected to the controller 111, and the output of which is connected to the drive module of the motor 200. The speed control module 114 is configured to adjust the target speed of the motor 200.
[0045] The controller 111 is also configured to control the speed control module 114 to adjust the target speed of the motor 200, and control the motor 200 to start at the adjusted target speed, and determine the starting state of the motor 200 when starting in the second gear according to the detected bus electrical signal and the actual speed.
[0046] That is, after completing the start-up test of starting the motor at the target speed corresponding to one gear, the controller 111 controls the speed control module 114 to adjust the target speed of the motor 200, and starts the motor 200 at the target speed corresponding to another gear, and tests the start-up state of the motor 200 based on the other gear, so as to realize the test of the start-up state of the motor 200 at different gears based on the same test device 100.
[0047] In some implementations, the speed control module 114 includes a second timer. The input of the second timer is connected to the controller 111, and the output of the second timer is connected to the drive module of the motor 200. The second timer adjusts the target speed of the motor 200 through a PWM signal.
[0048] Optionally, the controller 111 controls the second timer to adjust the PWM duty cycle to adjust the target speed of the motor 200, so that the motor 200 starts at the target speed corresponding to different gears. As an example and not a limitation, the frequency of the PWM signal can be 20KHz.
[0049] In some implementations, the test device 100 further includes a statistics module 130, which is connected to the control module 110 and configured to collect statistics on the start-up status information of the motor 200.
[0050] The startup status information includes at least one of the following: number of successful startups, number of failed startups, or startup success rate. That is, the statistics module 130 records the startup status (including successful startup or startup failure) of the motor 200 in each startup test and counts the number of successful startups and / or the number of failed startups. In some implementations, the statistics module 130 can also count the startup success rate based on the startup status.
[0051] In some implementations, the statistics module 130 includes a display module connected to the controller 111. When the controller 111 determines that the motor 200 has started successfully, the display module updates the success count value at the corresponding target speed (corresponding gear). When the controller 111 determines that the motor 200 has failed to start, the display module updates the failure count value at the corresponding target speed (corresponding gear) and displays the corresponding success count value (number of successful starts) and failure count value (number of failed starts). This quantifies the starting status of the motor 200 and visualizes the data, making it easier to observe and analyze the starting status of the motor 200.
[0052] In some implementations, the display module is configured to display at least one of the following: the motor's start-up success rate, the number of successful starts, or the number of failed starts.
[0053] In some implementations, the control module 110 also includes an I2C or SPI interface for connecting to the display module. For example, the display module may be an OLED display.
[0054] In some implementations, the testing device 100 in this embodiment can also perform impact simulation testing on the motor 200 to test the starting state of the motor 200 after being impacted, thereby achieving a comprehensive test of the motor 200. Optionally, the impact simulation in this embodiment refers to the scenario simulation of the impact on the motor 200 caused by a sudden power outage or multiple power on / off cycles within a short period of time during normal operation of the motor 200 after it has been successfully started. In some implementations, the controller 111 is also configured to, when it is determined that the motor 200 has successfully started at the target speed, control the power supply module 120 to disconnect, so that the power supply module 120 disconnects the power supply to the motor 200 during the operation of the motor 200, and after a preset time interval, control the power supply module 120 to turn on to supply power to the motor 200, and acquire the bus signal and the actual speed of the motor 200, and determine the starting state of the motor 200 when it is re-energized after being powered off based on the bus signal and the actual speed.
[0055] Optionally, the preset time interval is greater than or equal to zero. When the power supply module 120 is on, it supplies power to the motor 200, and the motor 200 can start and run under the control of the controller 111; when the power supply module 120 is off, it stops supplying power to the motor 200, and the motor 200 cannot continue to run. In this embodiment, the controller 111 controls the power supply module 120 to disconnect, so that the power supply to the motor 200 is suddenly cut off while the motor 200 is rotating normally, and the speed drops rapidly to zero, creating an impact on the motor 200. Then, after the motor 200 is powered on again, a start-up test is performed to detect the start-up success rate of the motor 200 after the impact, thus completing the performance test of the motor 200.
[0056] In one optional embodiment, the power supply module 120 can be disconnected once during the impact simulation to simulate a sudden power outage. After the motor 200 is powered on again, it can be checked whether it can start successfully at the target speed.
[0057] In another optional embodiment, during the impact simulation, the power supply module 120 can be switched between disconnection and conduction at least once. For example, the power supply module 120 is disconnected, the power supply to the motor 200 is disconnected, then the power supply module 120 is turned on, the motor 200 is powered on and started, and then the power supply module 120 is disconnected again, the power supply to the motor 200 is disconnected. This cycle is repeated at least once to simulate multiple power on and off cycles in a short period of time, and to determine whether the motor 200 can start successfully at the target speed after being powered on again.
[0058] Optionally, after the power supply module 120 is disconnected, the power supply module 120 is turned on to supply power to the motor 200. When the motor 200 is powered on again, the starting position remains the same as before the power supply module 120 was disconnected.
[0059] Therefore, this embodiment does not use the motor 200 start-up test function of the device motherboard to test the start-up state of the permanent magnet synchronous motor 200. Instead, it uses the aforementioned sensorless motor start-up test device 100. This device can not only test the start-up state of the motor 200, but also switch the motor 200 gears to test the start-up state of the motor 200 under different gears. Furthermore, it can perform simulated impact tests on the motor 200, achieving comprehensive testing of the motor 200. Since the sensorless motor start-up test device 100 does not need to accommodate other functions of the application device (the device motherboard needs to accommodate other functions of the device, and achieving comprehensive testing requires higher costs), it can use low-cost microcontrollers and timers, resulting in low cost, high reliability, and significant engineering application value.
[0060] Figure 2 The diagram illustrates a schematic flowchart of a sensorless motor start-up test method according to an embodiment of this application. This is provided as an example and not as a limitation. The method can be applied to the aforementioned sensorless motor start-up test apparatus, and includes: S201 controls the motor to start at the target speed.
[0061] In this embodiment, the sensorless motor start-up test device is as described above. Figure 1 As shown, the controller controls the motor to start at a target speed. This is an example, not a limitation, and the target speed of the motor can be any preset speed.
[0062] In some implementations, timing begins when the motor starts, and the start-up time is recorded.
[0063] In some implementations, the motor is controlled to start at the target speed by sending a target speed start command to the motor.
[0064] S202, acquire the motor bus electrical signal and the actual speed of the motor.
[0065] In this embodiment, the motor bus electrical signal is obtained through the first detection module, and the actual speed of the motor is obtained through the second detection module.
[0066] S203 determines the starting state of the motor when it starts at the target speed based on the actual speed and the bus electrical signal.
[0067] In some implementations, the starting state of the motor when it starts at the target speed can be determined by at least one of the following methods: If the bus electrical signal reaches the corresponding set threshold and the actual speed reaches the corresponding set speed within the first preset time period, then the motor is determined to have started successfully when starting at the target speed.
[0068] If the bus electrical signal does not reach the corresponding set threshold within the first preset time period, and / or the actual speed does not reach the corresponding set speed, then it is determined that the motor failed to start when starting at the target speed.
[0069] For example, the first preset duration can be the target start-up duration of the motor, such as 5 seconds.
[0070] It is understandable that the threshold is set based on the motor load, and the speed is set based on the target speed corresponding to the motor when it starts.
[0071] For example, a steady-state value matching the load is used as a set threshold (different loads correspond to different set thresholds). Optionally, the set threshold is a set range. As long as the bus current stabilizes within this set range after decreasing, it can be said that the bus current has reached the corresponding set threshold.
[0072] For example, the theoretical speed corresponding to each gear of the motor is the target speed. Due to factors such as load, the actual speed of the motor during successful startup may not be exactly the same as the theoretical speed, but fluctuates around the theoretical speed. Therefore, if the actual speed of the motor is close to the theoretical speed, it can be determined that the motor has started successfully. A set speed is configured for each gear based on the theoretical speed. Optionally, the set speed is a speed range. As long as the actual speed of the motor rises and stabilizes within this speed range, it can be said that the actual speed has reached the corresponding set speed.
[0073] If the bus electrical signal reaches the corresponding set threshold and the actual speed reaches the corresponding set speed within the target startup time (first preset time), then the motor is considered to have started successfully at the target speed. Otherwise, it indicates a fault during the motor startup process.
[0074] In some implementations, the bus electrical signal includes the average current or average power over a second preset time period, where the second preset time period is less than or equal to the first preset time period. That is, determining whether the motor has successfully started at the target speed based on the average current or average power collected within the second preset time period can improve test accuracy and reduce test deviations caused by errors in the first detection module.
[0075] In some implementations, the actual rotational speed includes the average motor speed collected within a second preset time period. Similarly, the second preset time period is less than or equal to the first preset time period. That is, determining whether the motor has successfully started at the target speed based on the average motor speed collected within the second preset time period can improve test accuracy and reduce test deviations caused by the detection error of the first detection module.
[0076] In some implementations, the motor's bus electrical signal can be converted into a first starting ratio, and the actual speed into a second starting ratio. When the first and second starting ratios reach a target ratio, the motor is determined to have successfully started at the target speed. If the first and / or second starting ratios do not reach the target ratio, the motor is determined to have failed to start at the target speed. For example: if the bus electrical signal reaches the corresponding set threshold, the first starting ratio is L11, the actual speed reaches the corresponding set speed, and the second starting ratio is L21, the sum of L11 and L21 reaches the target ratio; if the bus electrical signal reaches the corresponding set threshold, the first starting ratio is L11, the actual speed does not reach the corresponding set speed, the second starting ratio is L22, L22 is less than L21, and the sum of L11 and L22 does not reach the target ratio; if the bus electrical signal does not reach the corresponding set threshold, the first starting ratio is L12, L12 is less than L11, the actual speed reaches the corresponding set ratio, the second starting ratio is L21, and the sum of L12 and L21 does not reach the target ratio.
[0077] In some implementations, the motor's starting state includes success and failure. After determining the starting state corresponding to the motor starting at the target speed based on the actual speed and the bus electrical signal, it also includes: If the startup status is successful, increment the success count by 1; if the startup status is failed, increment the failure count by 1.
[0078] In some implementations, the success and failure counts are displayed on the display module, allowing users to promptly obtain information about the motor's startup status and test results.
[0079] In this embodiment, the motor's starting status is analyzed by combining the bus electrical signal and the actual motor speed. The bus electrical signal reflects the cause of motor starting abnormalities, while the actual speed directly reflects the motor's starting performance. By comprehensively judging the motor's starting status from both the cause of the starting abnormality and the starting performance, the possibility of hidden faults going undetected or being misjudged can be avoided. Therefore, judging the motor's starting status by comprehensively considering the bus electrical signal and actual speed can improve the reliability of motor starting status testing.
[0080] Figure 3The diagram illustrates a schematic flowchart of a sensorless motor start-up test method according to another embodiment of this application. This is provided as an example and not as a limitation. The method can be applied to the aforementioned sensorless motor start-up test apparatus, and includes: S301 controls the motor to start at the target speed.
[0081] S302, acquires the motor bus electrical signal and the actual speed of the motor.
[0082] S303 determines the starting state of the motor when it starts at the target speed based on the actual speed and the bus electrical signal.
[0083] In this embodiment, the specific implementation process of steps S301 to S303 is the same as that of the previous embodiment. For details, please refer to the previous embodiment, and it will not be repeated here.
[0084] S304, adjust the target speed of the motor.
[0085] After executing step S304, return to steps S301 to 303 to obtain the starting state of the motor when it starts at the adjusted target speed. Repeat this process multiple times to complete the test of multiple motor speeds.
[0086] In this embodiment, the testing device can test the starting status of the motor when it starts at different gears, so as to achieve a comprehensive test of the motor.
[0087] Alternatively, adjusting the target speed of the motor includes, but is not limited to, the following two examples: In one example, adjusting the target speed of the motor includes: increasing or decreasing the target speed of the motor based on the existing target speed, in order to adjust the target speed of the motor.
[0088] As an example rather than a limitation, assuming that the motor-driven fan has three speeds, the corresponding starting speeds of the motor include the first speed, the second speed, and the third speed, and the target speed of the motor is the theoretical speed corresponding to each speed.
[0089] For example, the motor is controlled to start at the target speed corresponding to the first gear, and the starting state corresponding to the first gear is tested. Then, the speed control module is controlled to adjust the motor speed to the target speed corresponding to the second gear, and the motor is controlled to start at the target speed corresponding to the second gear, and the starting state corresponding to the second gear is tested. The above process is repeated to complete the test of all three gears. This method can test the changes in the motor's starting state when the motor switches gears sequentially, enriching the motor test scenarios.
[0090] In another embodiment, adjusting the target speed of the motor includes: first adjusting the existing target speed to 0, then adjusting the target speed of the motor to the target speed corresponding to a certain gear. Then, S301 is executed to control the motor to start at the (adjusted) target speed.
[0091] For example, the motor is controlled to start at the target speed corresponding to the first gear, and the starting state corresponding to the first gear is tested. Then, the speed control module is controlled to adjust the motor speed to zero. Next, the motor is controlled to start at the target speed corresponding to the second gear, and the starting state corresponding to the second gear is tested. The above process is repeated to complete the test for all three gears. This method can test the starting state of the motor directly based on the starting state of each gear, and comprehensively test the starting performance of each gear.
[0092] In this embodiment, the starting state of the test motor at different gears is realized based on the test device.
[0093] Figure 4 The diagram illustrates a schematic flowchart of a sensorless motor start-up test method according to another embodiment of this application. This is provided as an example and not as a limitation. The method can be applied to the aforementioned sensorless motor start-up test apparatus, and includes: S401 controls the motor to start at the target speed.
[0094] The power supply module of the testing device is connected to the motor and supplies power to it. When the power supply module is on, it supplies power to the motor, and the motor can start running under the control of the controller (starting and running at the corresponding target speed); when the power supply module is off, it stops supplying power to the motor, and the motor can no longer run.
[0095] In some embodiments, the motor is controlled to start at the target speed by sending a target speed start command to the motor.
[0096] S402 acquires the motor bus electrical signal and the actual speed of the motor.
[0097] S403 determines the starting state of the motor when it starts at the target speed based on the actual speed and the bus electrical signal.
[0098] In this embodiment, the specific implementation process of steps S401 to S403 is the same as that of the previous embodiment. For details, please refer to the previous embodiment, and it will not be repeated here.
[0099] S404: If the motor starts successfully when it is determined that it starts at the target speed, the power supply module is disconnected to disconnect the power supply to the motor during its operation. In some implementations, if the bus electrical signal reaches the corresponding set threshold and the actual speed reaches the corresponding set speed within the first preset time period, it is determined that the motor has started successfully when it starts at the target speed, and step S404 is executed to perform an impact test on the motor.
[0100] Alternatively, other methods can be used to determine whether the motor has started successfully when it starts at the target speed.
[0101] In some implementations, if the bus electrical signal does not reach the corresponding set threshold within the first preset time period, and / or the actual speed does not reach the corresponding set speed, it is determined that the motor failed to start when starting at the target speed, step S404 is not executed, and the impact test is not performed.
[0102] S405, after a preset time interval, controls the power supply module to turn on to supply power to the motor.
[0103] It then retrieves the bus signal of the motor and the actual speed of the motor, so as to determine the corresponding start-up state when the motor is powered off and then powered on again based on the actual speed and the bus signal.
[0104] In this embodiment of the application, the power supply module is controlled to disconnect the power supply to the motor to simulate the impact of power failure on the motor, and the starting state of the motor after the impact is tested.
[0105] For example, impact simulation refers to simulating scenarios where, after a motor has successfully started, it experiences impacts during normal operation due to sudden power outages or multiple power interruptions within a short period. Therefore, after the motor successfully starts at the target speed, the power supply module is disconnected to cut off the motor's power during operation. When the power is suddenly cut off while the motor is rotating normally, the speed drops rapidly to zero, creating an impact on the motor. At this point, the motor is powered on again and started to test whether it can start normally after receiving the impact, thus achieving an impact test on the motor.
[0106] In one optional embodiment, the power supply module can be disconnected once during the impact simulation to simulate whether the motor can start successfully at the target speed after being powered on again following a sudden power outage.
[0107] In another optional embodiment, during the impact simulation, the power supply module can be controlled to switch between disconnection and conduction at least once. For example, the power supply module is disconnected, the power supply to the motor is disconnected, then the power supply module is turned on, the motor is powered on and started, and then the power supply module is disconnected again, the power supply to the motor is disconnected. This cycle is repeated at least once to simulate multiple power on and off cycles in a short period of time, and to determine whether the motor can start successfully at the target speed after being powered on again.
[0108] Optionally, after the power supply module is disconnected, it is turned on again to supply power to the motor. When the motor is powered on again, the starting position remains the same as before the power supply module was disconnected.
[0109] Optionally, the preset time interval is greater than or equal to zero.
[0110] It is understood that in this embodiment of the application, after the control power supply module is disconnected, the motor stops running due to power failure. At this time, the motor retains the target speed start command. When the motor is powered on again, the motor automatically responds to the target speed start command and starts the motor.
[0111] In this embodiment, a simulated motor impact start test is implemented based on the testing device to achieve a comprehensive test of the motor's start-up state.
[0112] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0113] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0114] This application also provides an electronic device, which includes: a motor, a power supply module, a first detection module and a second detection module. The power supply module is connected to the motor and configured to supply power to the motor. The first detection module and the second detection module are respectively connected to the motor. The first detection module is configured to detect the bus electrical signal of the motor. The second detection module is configured to detect the actual speed of the motor. At least one processor, a memory, and a computer program stored in the memory and executable on at least one processor are also included. When the processor executes the computer program, it implements the steps in any of the above method embodiments.
[0115] This application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps described in the various method embodiments above.
[0116] This application provides a computer program product that stores computer-readable instructions. When the computer-readable instructions are executed by a processor, the steps in the above-described method embodiments can be implemented.
[0117] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include at least: any entity or device capable of carrying the computer program code to a photographing device / terminal device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks.
[0118] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0119] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0120] In the embodiments provided in this application, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual couplings or direct couplings or communication connections may be through some interfaces; indirect couplings or communication connections between devices or units may be electrical, mechanical, or other forms.
[0121] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application 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. Such 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 this application, and should all be included within the protection scope of this application.
Claims
1. A sensorless motor starting test device, characterized in that, include: A power supply module, which is connected to the motor and configured to supply power to the motor; The control module includes a controller, a first detection module, and a second detection module. The controller is connected to the power supply module, the first detection module, and the second detection module, respectively. The first detection module and the second detection module are connected to the motor, respectively. The first detection module is configured to detect the bus electrical signal of the motor; The second detection module is configured to detect the actual rotational speed of the motor; The controller is configured to control the power supply module to turn on so that the power supply module supplies power to the motor, and to control the motor to start at a target speed. Based on the bus electrical signal detected by the first detection module and the actual speed detected by the second detection module, the controller determines the starting state corresponding to the motor starting at the target speed.
2. The sensorless motor start-up test device according to claim 1, characterized in that, The step of determining the starting state of the motor at the target speed based on the bus electrical signal detected by the first detection module and the actual rotational speed detected by the second detection module includes at least one of the following: If the bus electrical signal reaches the corresponding set threshold and the actual speed reaches the corresponding set speed within the first preset time period, it is determined that the motor has started successfully when it starts at the target speed. If the bus electrical signal does not reach the corresponding set threshold within the first preset time period, and / or the actual speed does not reach the corresponding set speed, then it is determined that the motor failed to start when starting at the target speed.
3. The sensorless motor start-up test device according to claim 1 or 2, characterized in that, The controller is also configured to, when it is determined that the motor has started successfully at the target speed, control the power supply module to disconnect so as to disconnect the power supply to the motor during the operation of the motor, and control the power supply module to turn on after a preset time interval to supply power to the motor, and acquire the bus signal of the motor and the actual speed of the motor, and determine the starting state of the motor when power is restored after power failure based on the bus signal and the actual speed.
4. The sensorless motor start-up test device according to claim 1 or 2, characterized in that, The control module further includes a speed control module, the input of which is connected to the controller, and the output of which is connected to the drive module of the motor. The speed control module is configured to adjust the target speed of the motor. The controller is also configured to control the speed control module to adjust the target speed of the motor, and to control the motor to start at the adjusted target speed, and to acquire the bus electrical signal of the motor and the actual speed of the motor, and to determine the starting state of the motor when it starts at the adjusted target speed based on the bus electrical signal and the actual speed.
5. The sensorless motor starting test device according to any one of claims 1-4, characterized in that, Also includes: The statistics module, connected to the control module, is configured to collect statistics on the motor's start-up status information.
6. A sensorless motor start-up test method, characterized in that, include: Control the motor to start at the target speed; Obtain the bus electrical signal of the motor and the actual speed of the motor; Based on the actual rotational speed and the bus electrical signal, determine the starting state corresponding to when the motor starts at the target rotational speed.
7. The method according to claim 6, characterized in that, Determining the starting state of the motor at the target speed based on the actual rotational speed and the bus electrical signal includes at least one of the following: If the bus electrical signal reaches the corresponding set threshold and the actual speed reaches the corresponding set speed within the first preset time period, then it is determined that the motor has started successfully when it starts at the target speed. If the bus electrical signal does not reach the corresponding set threshold within the first preset time period, and / or the actual speed does not reach the corresponding set speed, then it is determined that the motor failed to start when starting at the target speed.
8. The method according to claim 6 or 7, characterized in that, In the case where it is determined that the motor has successfully started at the target speed, the method further includes: The power supply module is controlled to disconnect, thereby disconnecting the power supply to the motor during its operation; After a preset time interval, the power supply module is turned on to supply power to the motor; Obtain the bus signal of the motor and the actual speed of the motor; The starting state of the motor when it is powered on again after a power outage is determined based on the actual rotational speed and the bus electrical signal.
9. The method according to claim 6 or 7, characterized in that, Also includes: Adjust the target speed of the motor, control the motor to start at the adjusted target speed, and acquire the bus electrical signal and the actual speed of the motor. Based on the bus electrical signal and the actual speed, determine the starting state of the motor when starting at the adjusted target speed.
10. An electronic device, characterized in that, include: The system includes a motor, a power supply module, a first detection module, and a second detection module. The power supply module is connected to the motor and configured to supply power to the motor. The first detection module and the second detection module are respectively connected to the motor; The first detection module is configured to detect the bus electrical signal of the motor; The second detection module is configured to detect the actual rotational speed of the motor; The electronic device further includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method as described in any one of claims 6 to 9.
11. A computer-readable storage medium, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the method as described in any one of claims 6 to 9.
12. A computer program product, characterized in that, The computer program product stores computer-readable instructions that, when executed by a processor, implement the method of any one of claims 6 to 9.