A motor control method, driver, host and water pump control system

By monitoring the instantaneous current of the motor in real time and controlling its speed to decrease, the problem of motor damage caused by the sudden closure of the electric water pump outlet valve is solved, thus achieving protection and life extension of the motor and drive.

CN115549556BActive Publication Date: 2026-04-10SHENZHEN H&T INTELLIGENT CONTROL
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-06-30
Publication Date
2026-04-10

AI Technical Summary

Technical Problem

When the outlet valve of an electric water pump is suddenly closed, the motor load increases instantaneously, causing drastic changes in motor speed, which may damage the motor and the drive, and shorten their service life.

Method used

By acquiring the instantaneous current output to the motor, when the instantaneous current is greater than or equal to the first preset current threshold, the motor speed is controlled to decrease to the first preset speed, and after receiving a stop command within the first preset time period, it is further reduced to the second preset speed to prevent the motor from vibrating violently and generating back electromotive force instantaneous current.

Benefits of technology

It extends the service life of the motor and drive, avoids damage to the motor and drive caused by severe vibration and high current, and improves work efficiency and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115549556B_ABST
    Figure CN115549556B_ABST
Patent Text Reader

Abstract

The embodiment of the application discloses a motor control method, a driver, a host and a water pump control system. The method is applied to the driver, the driver is controlled by the host, and the driver is used for driving a motor. The motor is arranged on a water pump. An outlet valve is arranged on a pipeline where an outlet of the water pump is located. The method comprises the following steps: acquiring an instantaneous current output to the motor. If the instantaneous current is greater than or equal to a first preset current threshold, the rotating speed of the motor is controlled to decrease from a current speed to a first preset speed. In a first preset time length, if a shutdown instruction of the host is received, the rotating speed of the motor is controlled to decrease from the first preset speed to a second preset speed. The shutdown instruction is sent by the host to the driver when the host detects that the outlet valve is in a closed state. In the above manner, the service life of the motor and the driver can be prolonged.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of motor control, in particular to a motor control method, a driver, a host and a water pump control system. BACKGROUND

[0002] In the automobile engine cooling system, water heater supercharging system or other household appliances, an electric water pump is often needed, for example, in the automobile engine cooling system, a cooling water circulation loop with an electric water pump is needed to be set to cool the engine. At the same time, in order to adjust the flow of the outlet water, an outlet valve is usually set at the pipe where the outlet of the electric water pump is located.

[0003] However, during the operation of the water pump, the outlet valve may suddenly close, at this time, the load of the motor will instantaneously increase, at this time, the driver will execute an overcurrent protection operation, that is, the speed of the motor will be quickly reduced to 0, due to the large instantaneous change of the speed of the motor, the motor will vibrate violently, which may damage the motor and shorten the service life of the motor. At the same time, the back electromotive force of the motor will generate a large instantaneous current, which will cause damage to the motor and the driver, and shorten the service life of the motor and the driver. SUMMARY

[0004] The embodiments of the present application aim to provide a motor control method, a driver, a host and a water pump control system, which can prolong the service life of the motor and the driver.

[0005] To achieve the above-mentioned purpose, in a first aspect, the present application provides a motor control method applied to a driver, wherein the driver is controlled by a host, and the driver is used to drive the motor, wherein the motor is arranged on a water pump, an outlet valve is arranged at the pipe where the outlet of the water pump is located, and the method comprises:

[0006] acquiring an instantaneous current output to the motor;

[0007] if the instantaneous current is greater than or equal to a first preset current threshold, controlling the speed of the motor to decrease from a current speed to a first preset speed;

[0008] if a shutdown instruction of the host is received within a first preset time, controlling the speed of the motor to decrease from the first preset speed to a second preset speed, wherein the shutdown instruction is sent by the host to the driver when the host detects that the outlet valve is in a closed state, and the second preset speed is the speed of the motor in a standby state.

[0009] In an optional manner, the first preset speed is configured to be less than the speed of the motor when the outlet valve is closed and the effective current output to the motor is equal to an overcurrent protection threshold.

[0010] In an optional mode, after the instantaneous current is greater than or equal to the first preset current threshold, the method further comprises:

[0011] If the effective current output to the motor is greater than or equal to an overcurrent protection threshold, the motor is controlled to stop.

[0012] In an optional mode, the method further comprises:

[0013] If no stop instruction of the host is received within a first preset time period,

[0014] the speed of the motor is controlled to return to the current speed at the end of the first preset time period.

[0015] In a second aspect, the application provides a motor control method applied to a host, the host being used to control a driver, the driver being used to drive a motor, the motor being arranged on a water pump, a pipeline where an outlet of the water pump is arranged with a water outlet valve, and the method comprising:

[0016] When the speed of the motor is reduced from a current speed to a first preset speed, it is judged whether the water outlet valve has been closed;

[0017] If yes, a stop instruction is sent to the driver.

[0018] In a third aspect, the application provides a motor control device applied to a driver, the driver being controlled by a host, and the driver being used to drive the motor, wherein the motor is arranged on a water pump, a pipeline where an outlet of the water pump is arranged with a water outlet valve, and the device comprising:

[0019] A first acquisition unit is configured to acquire an instantaneous current output to the motor;

[0020] A first speed control unit is configured to control the speed of the motor to be reduced from a current speed to a first preset speed if the instantaneous current is greater than or equal to a first preset current threshold;

[0021] A second speed control unit is configured to control the speed of the motor to be reduced from a first preset speed to a second preset speed if a stop instruction of the host is received within a first preset time period, wherein the stop instruction is sent to the driver by the host when it is detected that the water outlet valve is in a closed state, and the second preset speed is the speed of the motor in a standby state.

[0022] In a fourth aspect, the present application provides a motor control device, applied to a host, the host being configured to control a driver, the driver being configured to drive a motor, the motor being arranged on a water pump, a water outlet of the water pump being arranged on a pipeline, and the method comprising:

[0023] a first judging unit, configured to judge whether the water outlet valve has been closed when the rotating speed of the motor is reduced from a current speed to a first preset speed;

[0024] a first instruction sending unit, configured to send a stop instruction to the driver if the water outlet valve has been closed.

[0025] In a fifth aspect, the present application provides a driver, comprising:

[0026] a driving unit, configured to drive a motor;

[0027] a first control unit, configured to output a control signal to the driving unit, the first control unit comprising:

[0028] at least one processor and a memory connected with the at least one processor in communication, the memory storing instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the method as described above.

[0029] In a sixth aspect, the present application provides a host, comprising:

[0030] a second control unit, comprising:

[0031] at least one processor and a memory connected with the at least one processor in communication, the memory storing instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the method as described above.

[0032] In a fifth aspect, the present application provides a water pump control system, comprising a motor, a driver as described above, and a host as described above.

[0033] In a sixth aspect, the present application provides a non-volatile computer readable storage medium, the computer readable storage medium storing computer executable instructions, when the computer executable instructions are executed by a processor, the processor executes the method as described above.

[0034] The motor control method provided by the application is applied to a driver, the driver is controlled by a host computer, and the driver is used for driving the motor, wherein the motor is arranged on a water pump, and an outlet pipe where an outlet of the water pump is located is provided with an outlet valve. In the method, the instantaneous current output to the motor is first acquired, and when the instantaneous current is greater than or equal to a first preset current threshold, the rotating speed of the motor is controlled to decrease from a current speed to a first preset speed. At this time, the rotating speed of the motor will not change too much, and the motor will not have the phenomenon of violent vibration. At the same time, the counter electromotive force of the motor will not generate too large instantaneous current, so that large current will not damage the motor or the driver, and the service life of the motor and the driver can be prolonged. BRIEF DESCRIPTION OF DRAWINGS

[0035] One or more embodiments are illustrated by way of example in the figures that are part of this disclosure and which are illustrative, but not restrictive, of the embodiments, wherein elements having the same reference number designates like elements throughout the various figures, and wherein the figures are not necessarily drawn to scale. The figures of the accompanying drawings are intended to exemplify one or more embodiments and are not limiting as to the scope, applicability, or examples set forth herein.

[0036] Figure 1 A schematic diagram of an application scenario provided by an embodiment of the application;

[0037] Figure 2 A schematic diagram of effective current and instantaneous current provided by an embodiment of the application;

[0038] Figure 3 A flowchart of a motor control method provided by an embodiment of the application;

[0039] Figure 4 A schematic diagram of rotating speed and current of a motor provided by an embodiment of the application;

[0040] Figure 5 A schematic diagram of rotating speed and current of a motor provided by another embodiment of the application;

[0041] Figure 6 A schematic diagram of rotating speed and current of a motor provided by still another embodiment of the application;

[0042] Figure 7 A schematic diagram of rotating speed and current of a motor provided by still another embodiment of the application;

[0043] Figure 8 A flowchart of a motor control method provided by another embodiment of the application;

[0044] Figure 9 A structural schematic diagram of a motor control device provided by an embodiment of the application;

[0045] Figure 10 A structural schematic diagram of a motor control device provided by another embodiment of the application;

[0046] Figure 11 This is a schematic diagram of the driver provided in an embodiment of this application;

[0047] Figure 12 This is a schematic diagram of the host structure provided in an embodiment of this application. Detailed Implementation

[0048] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0049] Please see Figure 1 , Figure 1 This is a schematic diagram of an application scenario provided by an embodiment of this application, such as... Figure 1 As shown, the application scenario includes a host 10, a driver 11, a water pump 12, an outlet valve 13, an inlet pipe 14, and an outlet pipe 15. The driver 11 is controlled by the host 10 and can be used to drive the motor installed in the water pump 12. The pipe on the left side of the water pump 12 is the inlet pipe 14, which is the pipe where the water inlet of the water pump 12 is located. The pipe on the right side of the water pump 12 is the outlet pipe 15, which is the pipe where the water outlet of the water pump 12 is located. The outlet valve 13 is installed on the outlet pipe 15.

[0050] Specifically, the host 10 can detect whether the outlet valve 13 is in an open or closed state, and can send a command to the driver 11 according to the state of the outlet valve 13, so that the driver 11 controls the operation of the motor in the water pump 12 according to the received command. For example, when the host 10 detects that the outlet valve 13 is closed, the water pump 12 no longer needs to continue to run. Then, the host 10 can send a stop command to the driver 11, and the driver 11 controls the motor in the water pump 12 to stop running after receiving the stop command.

[0051] The driver 11 outputs current to the motor in the water pump 12, and the current output by the driver 11 is related to the speed of the motor in the water pump 12 and the load. Specifically, under the same load, the higher the speed, the greater the current; under the same speed, the greater the load, the greater the current. The smaller the opening of the outlet valve 13, the greater the load, and the load reaches its maximum when the outlet valve 13 is completely closed. In one embodiment, when the control motor speed is below 2000 RPM, the current output by the driver 11 will not exceed the rated current of the motor, regardless of the valve's opening or even if it is closed.

[0052] The current output by the driver 11 includes an instantaneous current and an effective current. In an embodiment, the instantaneous current can be obtained by AD sampling at 20 kHz, as shown in the following figure. Figure 2 As shown in the figure, the collected instantaneous current I1 is a value that changes dramatically at a moment and fluctuates up and down within a certain range. The effective current I2 is obtained by filtering and averaging the instantaneous current I1. Specifically, the instantaneous current I1 is first filtered by a low-pass filter, and then a preset number of instantaneous current values are sampled within a preset sampling time length, and the average of the sampled instantaneous current values is obtained to obtain the effective current value within the sampling time length. For example, assuming that the sampling time is 6.4 ms and the sampling number is 64 instantaneous current values, i.e., 64 instantaneous current values are sampled within 6.4 ms, and the average of the 64 instantaneous current values is calculated to obtain the effective current value within 6.4 ms.

[0053] Therefore, the driver 11 can perceive the change of the output current (including the effective current and the instantaneous current) in real time, and adjust the speed of the motor in the water pump 12 based thereon.

[0054] Based on the above description, the embodiments of the present application are further described below in combination with the accompanying drawings.

[0055] As shown in the figure, Figure 3 As shown in the figure, Figure 3 The flowchart of the motor control method provided by the embodiments of the present application, the method is applied to a driver, for example, the driver 11 as shown in the figure, the driver 11 is controlled by the host 10, and the driver 11 is used to drive the motor arranged in the water pump 12. The outlet of the water pump 12 is provided with a water outlet valve 13. The steps of the method include: Figure 1

[0056] Step 301: Obtain the instantaneous current output to the motor.

[0057] Step 302: If the instantaneous current is greater than or equal to the first preset current threshold, control the speed of the motor to decrease from the current speed to the first preset speed.

[0058] From the above content, it can be known that the output current of the driver (the current output to the motor) includes an instantaneous current, which is a current that can appear in a short time. In an embodiment, the driver can obtain the instantaneous current output by the driver in real time by AD sampling.

[0059] ​Meanwhile, the instantaneous current of the driver increases, which can be caused by the increase of the rotating speed of the motor or the increase of the load. Therefore, when the driver detects that the instantaneous current is greater than or equal to the first preset current threshold, if the rotating speed of the motor remains unchanged, it is very likely that the load increases. The reason for the increase of the load can be that the valve of the water outlet valve is closed. In this case, the rotating speed of the motor can be controlled to decrease from the current speed to a first preset speed, wherein the first preset speed is greater than 0.

[0060] On the one hand, when the water outlet valve is closed, the rotating speed of the motor decreases from the current speed to the first preset speed. Since the rotating speed of the motor changes little, the current generated by the back electromotive force of the motor is small, which does not damage the motor or the driver, and can prolong the service life of the motor and the driver.

[0061] Meanwhile, it can be understood that, in order to ensure the effectiveness of the scheme, after the rotating speed of the motor is decreased to the first preset speed, the rotating speed of the motor (i.e. the first preset speed) should satisfy the condition that the first preset speed is at least less than the rotating speed of the motor when the water outlet valve is closed and the effective current output to the motor is equal to the overcurrent protection threshold. It can be understood that, when the water outlet valve is close to the closed state (which can be equivalent to the closed state), the load of the motor is maximum, and without adjusting the rotating speed, the effective current of the motor will also reach the maximum, which will trigger the overcurrent protection mechanism of the motor. If the rotating speed of the motor is adjusted when the water outlet valve is close to the closed state (which can be equivalent to the closed state), and the effective current of the motor is reduced to be lower than the overcurrent protection threshold of the motor, the motor will not trigger the overcurrent protection mechanism. It should be noted that the above-mentioned closed state of the water valve is used to indicate the limit state of the motor in operation. Therefore, in the embodiment, the value of the first preset speed is set to be at least less than the rotating speed of the motor when the water outlet valve is closed and the effective current of the motor is equal to the overcurrent protection threshold of the motor.

[0062] In other words, as long as the first preset speed is less than the rotating speed and the motor or the driver does not have an abnormality (i.e. is in a normal working state), the effective current output by the driver should be less than the set overcurrent protection threshold, so as to prevent damage to the motor or the driver caused by triggering the overcurrent protection mechanism of the motor. Moreover, if the overcurrent protection mechanism of the motor is still triggered in this case (i.e. after the rotating speed of the motor is decreased to the first preset speed), it can be judged that the motor or the driver is very likely to have an abnormality, and the protection of the motor or the driver can be further achieved by stopping the operation of the motor or the driver in time. The overcurrent protection threshold refers to the current value when the motor triggers the overcurrent protection mechanism.

[0063] For example, in one embodiment, assuming the motor speed is 2000 RPM when the outlet valve is closed and the effective current output to the motor equals the overcurrent protection threshold, then in practical applications, under normal operating conditions, the overcurrent protection mechanism will not be triggered as long as the motor speed is less than 2000 RPM. For instance, assuming the first preset speed is set to 1900 RPM in practical applications, when the motor speed decreases to the first preset speed (1900 RPM), if the outlet valve is closed, as mentioned above, the overcurrent protection mechanism will not be triggered. If the outlet valve is not closed, the effective current will be even smaller, and the overcurrent protection mechanism will not be triggered. Furthermore, assuming the maximum speed of the motor during normal operation is 2900 RPM (i.e., the current speed), then when the driver detects that the instantaneous current output to the motor is greater than the first preset current threshold, it first controls the motor speed to decrease from 2900 RPM to below 2000 RPM (e.g., 1900 RPM) so that the overcurrent protection mechanism is not triggered if no abnormality occurs in any of the components.

[0064] On the other hand, in existing technologies, such as Figure 4 As shown, after 300 on the horizontal axis, the outlet valve closes, and the current I41 begins to rise rapidly. When it rises to the overcurrent protection threshold, the motor's overcurrent protection mechanism is directly triggered to control the motor speed n41 to decrease from the current speed to 0. This situation inevitably leads to a large instantaneous current generated by the motor's back electromotive force. This current will damage both the driver and the motor, thereby shortening the service life of the motor and the driver. Furthermore, the motor speed drops directly from the maximum speed value during normal operation to 0. Figure 4 A sudden drop in speed from 2900 RPM to 0 will cause severe motor vibration, potentially damaging the motor and further shortening its lifespan. Compared to existing technologies, the motor in this application achieves a smoother deceleration process when the outlet valve is closed, and there is no large instantaneous current generated during the deceleration process. Figure 5 As shown, when the current I51 rises and exceeds the first preset current threshold, the motor speed n51 is controlled to decrease from the current speed to the speed corresponding to node P1 (i.e., the first preset speed). During this process, there will be no excessive instantaneous current due to the back electromotive force of the motor, and the speed can be reduced smoothly. The motor will not vibrate violently, thus protecting both the motor and the driver and extending their service life.

[0065] Step 303: If a stop command is received from the host within the first preset time period, the speed of the motor is reduced from the first preset speed to the second preset speed.

[0066] After the driver controls the motor to reduce from the current speed to the first preset speed, the driver controls the speed of the motor to maintain for a period of time, which is the first preset time. Then, within the first preset time, the host detects the opening and closing state of the water valve through the sensor, i.e., detects whether the water valve is in the closed state or the unclosed state (including partially open and fully open, etc.), and the detection process has a delay, so the driver controls the motor to maintain the first preset speed for a period of time longer than the period of time for the sensor to detect the opening and closing state of the water valve.

[0067] Specifically, if the host detects that the water valve has been closed within the first preset time, the host sends a stop command to the driver, and then the driver controls the speed of the motor to reduce from the first preset speed to the second preset speed (e.g., directly from the first preset speed to 0 because it is a stop command) when the driver receives the stop command from the host. The second preset speed is the speed of the motor in the standby state, which means the state of the motor stopping working. It can be set to 0, but in some embodiments, for application scenarios that require fast start and fast stop, the second preset speed can also be set to a small speed greater than 0 (e.g., 10 RPM) to enable the motor to realize the fast start process.

[0068] Please refer to Figure 5 After the speed n51 of the motor reduces from the current speed in normal operation to the first preset speed corresponding to the node P1, the period of time for the motor to maintain the first preset speed is the first preset time. Within the first preset time, the speed of the motor reduces from the first preset speed to the second preset speed (0 at this time) at the node P2 because the host sends a stop command. Figure 5 It can be seen that after the instantaneous current I51 exceeds the first preset current threshold, the motor realizes a relatively stable speed reduction process, so that the current I51 can remain relatively stable, avoiding the situation of sudden stop of the motor speed, providing a better user experience, and at the same time, avoiding a large instantaneous current caused by the back electromotive force of the motor, thereby protecting the motor and the driver and prolonging the service life of the motor and the driver.

[0069] In an embodiment, if no stop command is received from the host within a preset time, the driver controls the speed of the motor to return to the current speed at the end of the first preset time. This is because in this case, the situation that the instantaneous current is greater than or equal to the first preset current threshold may be caused by misjudgment or user's mistake in closing the water valve (and then quickly reopening), etc. Therefore, it is necessary to restore the speed of the motor to the normal speed to rework.

[0070] For example, as Figure 6As shown, after the motor speed n61 decreases from the current speed to the first preset speed (which is the speed corresponding to node P61 at this time), the time between node P61 and node P62 is the first preset time. If the driver does not receive a stop command from the host within the first preset time, then at the end of the first preset time, that is, starting from node P62, the driver controls the motor speed to gradually recover from the first preset speed to the current speed so that the motor can return to normal operation.

[0071] Therefore, when the instantaneous current is greater than or equal to the first preset current threshold, it can not only achieve a smooth deceleration process, but also prevent the generation of large instantaneous current. In addition, it can also restore the motor speed in time to maintain normal operation after abnormalities such as accidental closure of the outlet valve cause the motor to decelerate, thereby reducing the frequency of motor shutdown and improving the working efficiency of the motor.

[0072] Of course, in this case (no stop command received from the host), it is also possible that the stop command was not received due to abnormal signal reception. Therefore, in another embodiment, the driver needs to further determine whether a speed recovery command has been received. Only after receiving the speed recovery command will the motor speed be controlled to return to the current speed at the end of the first preset time period. This can further ensure that each device is in normal working condition before returning to the current speed, making it safer and more reliable.

[0073] It is understandable that in the above embodiments, the instantaneous current is mainly used as the judgment condition, because using the instantaneous current as the judgment condition can enable more timely solutions. Of course, it is also necessary to monitor the effective current of the motor in real time to prevent damage to the motor and driver and extend the service life of the motor and driver.

[0074] Optionally, after detecting that the instantaneous current is greater than or equal to the first preset current threshold, that is, starting from the moment when the driver controls the motor to start decelerating, the effective current output by the driver to the motor is acquired in real time. If the effective current is greater than or equal to the overcurrent protection threshold, the motor is controlled to stop.

[0075] For example, such as Figure 7 As shown, after the motor speed n71 begins to decrease, since the effective current I71 continues to rise and exceeds or equals the overcurrent protection threshold, the driver directly reduces the motor speed n71 to 0, thus stopping the motor. When the effective current I71 reaches or exceeds the overcurrent protection threshold, it indicates a possible fault in the host machine or driver. Therefore, the overcurrent protection process needs to be executed directly to stop the motor, preventing damage to components such as the host machine, driver, or motor due to excessive current. This protects the components from damage and extends their service life.

[0076] Further, the application also provides a motor control method, as shown in Figure 8 The method can be applied to a host, for example, a host 10 as shown in Figure 1 The host 10 is used to control a driver 11, the driver 11 is used to drive a motor arranged on a water pump 12, and a water outlet valve 13 is arranged at a pipeline where an outlet of the water pump 12 is located. The method comprises the following steps:

[0077] Step 801: When the rotating speed of the motor is reduced from a current speed to a first preset speed, it is determined whether the water outlet valve has been closed.

[0078] Specifically, if the host detects that the water outlet valve has been closed through a sensor, step 802 is performed: a stop command is sent to the driver to make the driver control the rotating speed of the motor to be reduced to a second preset speed.

[0079] The application embodiment provides a motor control device, which is applied to a driver, the driver is controlled by a host, and the driver is used to drive a motor, wherein the motor is arranged on a water pump, and a water outlet valve is arranged at a pipeline where an outlet of the water pump is located. Please refer to Figure 9 which shows a structural schematic diagram of a motor control device provided by the application embodiment, and the motor control device 900 comprises a first acquisition unit 901, a first speed control unit 902, and a second speed control unit 903.

[0080] The first acquisition unit 901 is used to acquire an instantaneous current output by the driver.

[0081] The first speed control unit 902 is used to control the rotating speed of the motor to be reduced from a current speed to a first preset speed if the instantaneous current is greater than or equal to a first preset current threshold, wherein the first preset speed is greater than 0.

[0082] The second speed control unit 903 is used to control the rotating speed of the motor to be reduced from the first preset speed to a second preset speed within a first preset time length if a stop command of the host is received, wherein the stop command is sent by the host to the driver when the host detects that the water outlet valve is in a closed state.

[0083] The above product can execute Figure 3 The method provided by the application embodiment as shown in the above method has corresponding function modules and beneficial effects. Technical details not described in detail in the embodiment can be referred to the method provided by the application embodiment.

[0084] The application embodiment provides a motor control device, which is applied to a host, the host is used to control a driver, the driver is used to drive a motor, and the motor is arranged on a water pump, and a water outlet valve is arranged at a pipeline where an outlet of the water pump is located. Please refer to Figure 10As shown in the structural schematic diagram of the motor control device provided by the embodiment of the present application, the motor control device 1000 comprises a first judging unit 1001, a first instruction sending unit 1002 and a second instruction sending unit 1003.

[0085] The first judging unit 1001 is configured to judge whether the water valve has been closed when the rotating speed of the motor is reduced from the current speed to the first preset speed.

[0086] The first instruction sending unit 1002 is configured to send a stop instruction to the driver if the water valve has been closed.

[0087] The product can execute Figure 8 The method provided by the embodiment of the present application has the corresponding function modules and beneficial effects of the execution method. The technical details not described in the embodiment can be referred to the method provided by the embodiment of the present application.

[0088] The embodiment of the present application further provides a driver, please refer to Figure 11 which shows the hardware structure of the driver capable of executing Figure 3 the motor control method. The driver can be Figure 1 the driver 11 shown in the figure.

[0089] The driver comprises a driving unit 1110 and a first control unit 1100, wherein the driving unit is configured to be connected with the motor and drive the motor, and the first control unit is configured to output a control signal to the driving unit.

[0090] The first control unit 1100 comprises at least one processor 1101 and a memory 1102 connected with the at least one processor 1101, Figure 11 wherein the at least one processor 1101 is taken as an example. The memory 1102 stores instructions executable by the at least one processor 1101, and the instructions are executed by the at least one processor 1101 to enable the at least one processor 1101 to execute the above Figure 3 motor control method. The processor 1101 and the memory 1102 can be connected through a bus or other means, Figure 11 wherein the connection through the bus is taken as an example.

[0091] The memory 1102 is a non-volatile computer readable storage medium, which can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as the program instructions / modules corresponding to the motor control method in the embodiment of the present application, for example, the attached Figure 9The various modules shown. The processor 1101 by running the non-volatile software programs, instructions and modules stored in the memory 1102, thus performing the various functional applications and data processing of the server, that is, implementing the motor control method of the above method embodiments.

[0092] The memory 1102 can include a program area and a data area, wherein the program area can store an operating system, at least one application required by a function; the data area can store data created according to the use of the data transmission device, etc. In addition, the memory 1102 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 1102 can optionally include a memory disposed remotely with respect to the processor 1101, which can be connected to the data transmission device through a network. Examples of the above network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0093] The one or more modules are stored in the memory 1102, and when executed by the one or more processors 1101, perform the motor control method in any of the above method embodiments, for example, perform the method steps described above Figure 3 , to achieve the functions of the modules and units in Figure 9 .

[0094] The above product can perform the method provided by the embodiments of the present application, and has the corresponding function modules and beneficial effects of performing the method. Technical details not described in detail in the embodiments can be referred to the method provided by the embodiments of the present application.

[0095] The embodiments of the present application also provide a host computer, please refer to Figure 12 , which shows the hardware structure of the host computer capable of executing the motor control method shown in Figure 8 . The host computer can be the host computer 10 shown in Figure 1 .

[0096] The host computer includes a second control unit 1200, the second control unit 1200 includes at least one processor 1201, and a memory 1202 connected in communication with the at least one processor 1201, Figure 12 in which the memory 1202 stores instructions executable by the at least one processor 1201, and the instructions are executed by the at least one processor 1201 to enable the at least one processor 1201 to perform the motor control method described above Figure 8 . The processor 1201 and the memory 1202 can be connected by a bus or other means, Figure 12Taking the example of a connection between China and Israel via a bus.

[0097] The memory 1202, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as the program instructions / modules corresponding to the motor control method in the embodiments of this application, for example, the attached... Figure 10 The various modules shown. The processor 1201 executes various functional applications and data processing of the server by running non-volatile software programs, instructions, and modules stored in the memory 1202, thereby implementing the motor control method of the above method embodiment.

[0098] The memory 1202 may include a program storage area and a data storage area. The program storage area may store the operating system and application programs required for at least one function. The data storage area may store data created based on the use of the data transmission device. Furthermore, the memory 1202 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device.

[0099] The one or more modules are stored in the memory 1202. When executed by the one or more processors 1201, they perform the motor control method in any of the above method embodiments, for example, the method described above. Figure 8 The method and steps to achieve Figure 10 The functions of each module and unit within it.

[0100] The above-described product can perform the methods provided in the embodiments of this application, and has the corresponding functional modules and beneficial effects for performing the methods. Technical details not described in detail in this embodiment can be found in the methods provided in the embodiments of this application.

[0101] This application also provides a non-volatile computer-readable storage medium storing computer-executable instructions that are executed by one or more processors, for example, executing the instructions described above. Figure 3 and Figure 8 The methods and steps, and implementation Figure 9 and Figure 10 The functions of each module in the program.

[0102] This application also provides a computer program product, including a computing program stored on a non-volatile computer-readable storage medium. The computer program includes program instructions that, when executed by a computer, cause the computer to perform the motor control method described in any of the above method embodiments, for example, to execute the method described above. Figure 3 and Figure 8 The methods and steps, and implementationFigure 9 and Figure 10 The functions of each module in the program.

[0103] This application also provides a water pump control system, including a motor, a driver as described in any of the above embodiments, and a host as described in any of the above embodiments.

[0104] As is well known, in the existing technology, if the current rises to the overcurrent protection threshold after the outlet valve is closed, the motor's overcurrent protection mechanism will be triggered, causing the motor speed to drop directly from the current speed to 0. This will cause the motor to vibrate violently, which may damage the motor and shorten its service life.

[0105] In the motor control method provided in this application, the instantaneous current output by the driver is first obtained. When the instantaneous current is greater than or equal to the first preset current threshold, the speed of the motor is controlled to decrease from the current speed to the first preset speed. At this time, the speed of the motor will not change too much, so the motor will not vibrate violently. At the same time, the back electromotive force of the motor will not generate an excessively large instantaneous current. Therefore, there will be no large current that will damage the motor or the driver, which can extend the service life of the motor and the driver.

[0106] Secondly, if a shutdown command is received from the host (i.e., when the water outlet valve is closed) within the first preset time period, the motor speed will decrease from the first preset speed to the second preset speed (e.g., 0). The motor can also achieve a relatively smooth deceleration process, which can avoid the situation of sudden motor speed stoppage as in the prior art, resulting in a better user experience. At the same time, there will be no large instantaneous current due to the back electromotive force of the motor, thus protecting the motor and the driver and extending the service life of the motor and the driver.

[0107] Furthermore, if no stop command is received from the host within the first preset time period, the motor speed will be restored to the current speed, that is, the speed when the motor is running normally. This can reduce the frequency of motor shutdown and thus improve the working efficiency of the motor.

[0108] Furthermore, when the motor begins to decelerate, the effective current output by the driver is also monitored in real time. If the effective current reaches or exceeds the overcurrent protection threshold, it indicates that the host or driver may have malfunctioned. In this case, the overcurrent protection process needs to be executed directly to control the motor to stop, so as to prevent the host, driver or motor and other components from being damaged by excessive current. This protects the components from damage and also extends the service life of the components.

[0109] Finally, it should be noted that: the above examples are only used to illustrate the technical solutions of the present application, but not to limit them; under the idea of the present application, the technical features in the above examples or different embodiments can also be combined, the steps can be implemented in any order, and there are many other changes of different aspects of the present application as described above, which are not provided in details for simplicity; although the present application has been described in detail with reference to the foregoing examples, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing examples, or make equivalent replacement for part of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A method of controlling an electric machine, characterized by, The method is applied to a driver controlled by a host and used to drive the motor, wherein the motor is arranged on a water pump, a water outlet valve is arranged on a pipeline at a water outlet of the water pump, and the method comprises the following steps: acquiring an instantaneous current output to the motor; if the instantaneous current is greater than or equal to a first preset current threshold, controlling the rotating speed of the motor to decrease from a current speed to a first preset speed; if a shutdown instruction of the host is received within a first preset time length, controlling the rotating speed of the motor to decrease from the first preset speed to a second preset speed, wherein the shutdown instruction is sent by the host to the driver when the host detects that the water outlet valve is in a closed state, and the second preset speed is a speed of the motor in a standby state.

2. The method of claim 1, wherein the first preset speed is configured to be less than the rotating speed of the motor when the water outlet valve is closed and an effective current output to the motor is equal to an overcurrent protection threshold. After the instantaneous current is greater than or equal to the first preset current threshold, the method further comprises:

3. The method of claim 1, wherein, if an effective current output to the motor is greater than or equal to an overcurrent protection threshold, controlling the motor to stop. The method further comprises:

4. The method of claim 1, wherein, if the shutdown instruction of the host is not received within the first preset time length, controlling the rotating speed of the motor to return to the current speed at the end of the first preset time length. The method is applied to a host used to control a driver used to drive a motor, wherein the driver executes the motor control method of any one of claims 1-4, the motor is arranged on a water pump, a water outlet valve is arranged on a pipeline at a water outlet of the water pump, and the method comprises the following steps:

5. A method of controlling an electric machine, characterized by when the rotating speed of the motor decreases from a current speed to a first preset speed, judging whether the water outlet valve has been closed; if yes, sending a shutdown instruction to the driver. The device is applied to a driver controlled by a host and used to drive the motor, wherein the motor is arranged on a water pump, a water outlet valve is arranged on a pipeline at a water outlet of the water pump, and the device comprises the following units:

6. An electric motor control device characterized by comprising: a first acquisition unit, configured to acquire an instantaneous current output to the motor; a first speed control unit, configured to, if the instantaneous current is greater than or equal to a first preset current threshold, control the rotating speed of the motor to decrease from a current speed to a first preset speed; a second speed control unit, configured to, if a shutdown instruction of the host is received within a first preset time length, control the rotating speed of the motor to decrease from the first preset speed to a second preset speed, wherein the shutdown instruction is sent by the host to the driver when the host detects that the water outlet valve is in a closed state, and the second preset speed is a speed of the motor in a standby state. The device is applied to a host used to control a driver used to drive a motor, wherein the driver executes the motor control method of any one of claims 1-4, the motor is arranged on a water pump, a water outlet valve is arranged on a pipeline at a water outlet of the water pump, and the device comprises the following units:

7. An electric motor control device characterized by comprising: ​ The first judging unit is configured to judge whether the water outlet valve has been closed when the rotating speed of the motor decreases from a current speed to a first preset speed. The first instruction sending unit is configured to send a stop instruction to the driver if the water outlet valve has been closed.

8. A driver, characterized by The application comprises: The driving unit is configured to drive a motor. The first control unit is configured to output a control signal to the driving unit, and the first control unit comprises: at least one processor and a memory connected to the at least one processor in communication, the memory storing instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-4.

9. A host, characterized by The application comprises: The second control unit comprises: at least one processor and a memory connected to the at least one processor in communication, the memory storing instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the method of claim 5.

10. A water pump control system characterized by comprising: The application comprises a motor, a driver as claimed in claim 8, and a host as claimed in claim 9.

11. A non-transitory computer readable storage medium, comprising: The computer readable storage medium stores computer executable instructions, when the computer executable instructions are executed by the processor, the processor executes the method of any one of claims 1-5.

Citation Information

Patent Citations

  • Water pump

    CN209195617U