A method and system for motor operation, an intelligent terminal, and a storage medium
By monitoring work abnormalities in the power tool and selecting an appropriate stop method, the multi-stage shutdown of the motor is achieved, which solves the problem of directly cutting off the power supply during motor damage and affects the life of the tool, extends the service life of the tool and improves safety.
Patent Information
- Application Number
- CN202510436550.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-09
- Publication Date
- 2025-07-01
- Estimated Expiration
- 2045-04-09
AI Technical Summary
When the motor in the power tool is damaged, directly cutting off the power supply will affect the normal operation of other modules and reduce the service life of the tool.
By monitoring the working abnormalities of the power tool, selecting the appropriate stop method and generating a forced shutdown command, so that the motor stops running within the preset time. The system power supply will only be turned off when there is no startup signal after this period.
The multi-stage closing method of the motor is realized, and the power tool is turned off in steps, reducing the impact on other parts, extending the life of the tool, and preventing unnecessary damage caused by misoperation.
Smart Images

Figure CN119945254B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of motor control, and in particular, to a motor operation method, system, intelligent terminal, and storage medium. Background Art
[0002] Motors play a crucial role in modern society and industry. They are widely used in various fields, including household appliances, transportation, industrial manufacturing, etc., and are one of the core driving forces for promoting modern production, life, and technological progress. Therefore, how to make motors work better has become the research direction of R & D personnel.
[0003] In the related art, when the motor in a power tool is damaged, the power tool will stop supplying power to the entire power tool due to the damage. At the same time, the motor also stops rotating due to the power supply of the power tool being cut off.
[0004] Regarding the above related art, the inventor believes that when the motor is damaged, directly cutting off the power supply of the entire power tool will affect the normal operation of other modules of the power tool, affect the functions of other modules, and even reduce the service life of the power tool. Summary of the Invention
[0005] In order to improve the intelligence of the motor and extend the service life of the power tool, the present application provides a motor operation method, system, intelligent terminal, and storage medium.
[0006] In a first aspect, the present application provides a motor operation method, adopting the following technical solution:
[0007] A motor operation method, where the motor is applied to a power tool, includes:
[0008] In response to detecting that the power tool has a working abnormality, determine the stopping method of the motor according to the type of the working abnormality;
[0009] Stop the operation of the motor according to the stopping method;
[0010] Generate and execute a forced shutdown instruction corresponding to a first preset duration, where the forced shutdown instruction is used to instruct the motor to continuously stop within the first preset duration;
[0011] After the forced shutdown instruction fails, if no startup signal is detected within a second preset duration, turn off the system power supply of the power tool.
[0012] By adopting the above technical solution, when it is detected that the motor has an abnormal operation, the stopping method of the motor will be selected according to the type of abnormality first, and the motor will be stopped first, so that the motor will not start working within the first preset duration. Only after the first preset duration has passed and there is no start signal, the system power supply will be turned off. This solution provides a multi-stage shutdown method for the motor, which can shut down the power tool step by step, reduce the impact on other parts in the power tool, and improve the service life of the power tool. At the same time, the motor will not be started within the first preset duration, which can prevent unnecessary damage to the user caused by the user's misoperation.
[0013] Optionally, monitor the system self-check result of the power tool;
[0014] Generate the first flag bit data according to the system self-check result;
[0015] Obtain the internal parameters of the power tool, where the internal parameters include electrical parameters and motor operating parameters;
[0016] Generate the second flag bit data according to the difference between the internal parameters and the first standard parameters;
[0017] Obtain the external parameters of the power tool;
[0018] Generate the third flag bit data according to the difference between the external parameters and the second standard parameters;
[0019] Generate the working state of the power tool according to the first flag bit data, the second flag bit data and the third flag bit data, where the working state includes normal operation and abnormal operation.
[0020] By adopting the above technical solution, the working state of the power tool is judged from three different dimensions of the system self-check result, internal parameters and external parameters, which improves the accuracy of the working state judgment, enables the power tool to make accurate actions according to the actual situation, and ensures the use safety of the power tool.
[0021] Optionally, the internal parameters include the current vibration parameter of the power tool;
[0022] When the difference between the current vibration parameter and the first standard parameter is greater than the first difference threshold, extract the historical vibration parameter of the power tool;
[0023] If the difference between the current vibration parameter and the historical vibration parameter is less than the second difference threshold, generate the second flag bit data and set the value of the second flag bit data to the first value;
[0024] If the difference between the current vibration parameter and the historical vibration parameter is greater than the second difference threshold, calculate the frequency fluctuation value of the current vibration parameter; calculate the difference between the frequency fluctuation value and the preset fluctuation value to obtain a fluctuation value difference; if the fluctuation value difference is greater than the preset difference, generate the second flag bit data and set the value of the second flag bit data to a second value, where the second value is different from the first value; if the fluctuation value difference is less than the preset difference, generate the second flag bit data and set the value of the second flag bit data to the first value.
[0025] By adopting the above technical solution, it is determined whether the vibration of the power tool during use is a normal phenomenon through vibration parameters, and corresponding responses are made to the vibration, ensuring that the responses of the power tool conform to the actual scenario and improving the intelligence of the power tool.
[0026] Optionally, control the motor to rotate at a first preset speed, where the first preset speed is less than the current speed of the motor;
[0027] Collect the test speed and test vibration parameters of the motor;
[0028] If the test speed is greater than a second preset speed and the difference between the test vibration parameter and the vibration parameter is less than a third difference threshold, generate a prompt signal;
[0029] Adjust the value of the second flag bit data from the second value to the first value.
[0030] By adopting the above technical solution, in the case of insufficient historical data, the speed of the motor is reduced for temporary detection to determine whether the vibration of the power tool is a normal phenomenon, and corresponding responses are made to the vibration, ensuring that the responses of the power tool conform to the actual scenario and improving the intelligence of the power tool.
[0031] Optionally, during the process of reducing the speed of the motor from the current speed to the preset speed, detect the real-time speed of the motor;
[0032] Calculate the speed difference between adjacent real-time speeds;
[0033] Calculate the speed change rate based on the speed difference;
[0034] Calculate the variance of the speed change rate to obtain a change rate variance;
[0035] If the change rate variance is less than the preset variance, adjust the value of the second flag bit data from the second value to the first value.
[0036] By adopting the above technical solution, during the process of reducing the rotational speed, the variance of the rate of change is obtained by calculating the variance of the rotational speed change rate, and according to the magnitude between the variance of the rate of change and the preset variance, it is first detected whether the vibration of the power tool is normal, ensuring that the response of the power tool conforms to the actual scenario and improving the intelligence of the power tool.
[0037] Optionally, after the forced shutdown instruction fails, if the start signal is detected within the second preset duration, the temperature parameter is extracted from the external parameters;
[0038] If the temperature parameter is greater than the first temperature threshold, the real-time temperature of the motor is monitored; when the real-time temperature is less than the safe temperature, the motor is turned on;
[0039] If the temperature parameter is less than the second temperature threshold, the motor is turned on at the target power; the time for controlling the motor to stop rotating reaches the target duration; the motor is controlled to continue rotating at the target power.
[0040] By adopting the above technical solution, when the power tool is affected by the external temperature and has an abnormality, according to the actual situation of the external temperature, a corresponding restart method is selected, so that the power tool after restart can work normally.
[0041] Optionally, obtain the minimum operating temperature of the motor;
[0042] According to the minimum operating temperature and the temperature parameter, calculate the heating heat and the heat dissipation power;
[0043] Obtain the rated power of the motor;
[0044] According to the heating heat and the rated power, obtain the target duration;
[0045] Calculate the sum of the heat dissipation power and the rated power to obtain the target power.
[0046] By adopting the above technical solution, in the case of a relatively low external temperature, the motor is used for heating to increase the temperature of the motor, so that the motor can be started normally, and part of the power of the motor is allocated to heating to maintain the normal operation of the motor.
[0047] In a second aspect, the present application provides a motor operation system, adopting the following technical solution:
[0048] A motor operation system includes:
[0049] An acquisition module, configured to acquire the type of abnormality, a forced shutdown instruction, a first preset duration, a second preset duration, a system self-check result, internal parameters, external parameters, historical vibration parameters, a preset rotational speed, a test rotational speed, test vibration parameters, a first temperature threshold, and a second temperature threshold;
[0050] A memory, configured to store a program of the motor operation method described in any one of the above;
[0051] A processor, the program in the memory can be loaded and executed by the processor and implement the motor operation method described in any one of the above.
[0052] By adopting the above technical solution, when it is detected that the motor has an abnormal operation, the stopping method of the motor will be selected according to the type of abnormality first, and the motor will be stopped first, so that the motor will not start working within the first preset duration. Only after the first preset duration has passed and there is no start signal, the system power supply will be turned off. This solution provides a multi-stage shutdown method for the motor, which can shut down the power tool step by step, reduce the impact on other parts of the power tool, improve the service life of the power tool. At the same time, the motor will not be started within the first preset duration, which can prevent unnecessary damage to the user caused by the user's misoperation.
[0053] In a third aspect, the present application provides an intelligent terminal, adopting the following technical solution:
[0054] An intelligent terminal, including a memory and a processor, and a computer program capable of being loaded and executed by the processor is stored on the memory, which is the method described in any one of the above.
[0055] In a fourth aspect, the present application provides a computer storage medium, which can store a corresponding program, and has the characteristics of being convenient to realize the improvement of the intelligence of the motor and the extension of the service life of the power tool. The following technical solution is adopted:
[0056] A computer-readable storage medium stores a computer program capable of being loaded and executed by the processor to perform any one of the above motor operation methods.
[0057] In summary, the present application includes at least one of the following beneficial technical effects:
[0058] 1. When it is detected that the motor has an abnormal operation, the stopping method of the motor will be selected according to the type of abnormality first, and the motor will be stopped first, so that the motor will not start working within the first preset duration. Only after the first preset duration has passed and there is no start signal, the system power supply will be turned off. This solution provides a multi-stage shutdown method for the motor, which can shut down the power tool step by step, reduce the impact on other parts of the power tool, improve the service life of the power tool. At the same time, the motor will not be started within the first preset duration, which can prevent unnecessary damage to the user caused by the user's misoperation;
[0059] 2. Judge the working state of the power tool from three different dimensions: the system self-check result, internal parameters, and external parameters, improve the accuracy of judging the working state, enable the power tool to make accurate actions according to the actual situation, and ensure the safe use of the power tool;
[0060] 3. When the power tool is affected by the external temperature and an abnormality occurs, select a corresponding restart method according to the actual situation of the external temperature, so that the power tool can work normally after restart. Brief Description of the Drawings
[0061] Figure 1 is a schematic flowchart of a motor operation method provided by an embodiment of the present application.
[0062] Figure 2 is a schematic flowchart of a method for detecting the working state provided by an embodiment of the present application.
[0063] Figure 3 is a schematic flowchart of a method for judging operation based on the vibration of a power tool provided by an embodiment of the present application.
[0064] Figure 4 is a schematic flowchart of a first motor test method provided by an embodiment of the present application.
[0065] Figure 5 is a schematic flowchart of a second motor test method provided by an embodiment of the present application.
[0066] Figure 6 is a schematic flowchart of a method for restarting a motor provided by an embodiment of the present application.
[0067] Figure 7 is a schematic flowchart of a method for restarting a motor based on temperature provided by an embodiment of the present application.
[0068] Figure 8 is a schematic structural diagram of a motor operation system provided by an embodiment of the present application. Detailed Embodiments
[0069] In order to make the objectives, technical solutions, and advantages of the present application clearer, the following further elaborates on the present application in conjunction with the attached Figure 1 to the attached Figure 8 and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0070] An embodiment of the present application discloses a motor operation method. Referring to Figure 1 , the method includes:
[0071] Step S101: In response to detecting an abnormal operation of the power tool, determine the stopping method of the motor according to the type of abnormality of the abnormal operation.
[0072] In the embodiments of the present application, the motor is applied to the power tool.
[0073] Exemplarily, the abnormal operation includes at least one of the motor temperature being lower than the lowest temperature threshold, the heat sink temperature being higher than the highest temperature threshold, the motor being short-circuited, the motor speed being too low, the motor being blocked, the motor current being too large, the power supply voltage being too low, and the system self-check being abnormal.
[0074] The stopping methods of the motor include emergency stop and slow stop. Among them, the emergency stop means that the motor stops within a preset shutdown duration, and the slow stop means that the motor stops within a preset shutdown time interval. For example, the preset shutdown duration is 0.5 s, and the preset shutdown time interval is from 1 s to 60 s.
[0075] Exemplarily, a corresponding relationship between the type of abnormality and the stopping method of the motor is preset in advance. After determining the type of abnormality of the abnormal operation, determine the stopping method of the motor from the foregoing corresponding relationship. For example, in the cases of the motor temperature being lower than the lowest temperature threshold, the heat sink temperature being higher than the highest temperature threshold, the power supply voltage being too low, and the system self-check being abnormal, slow stop is adopted. In the cases of the motor being short-circuited, the motor speed being too low, the motor being blocked, and the motor current being too large, emergency stop is adopted.
[0076] Step S102: Stop the operation of the motor according to the stopping method.
[0077] Exemplarily, a mechanical brake system is provided in the power tool. The mechanical brake system can adopt a power-off brake, and the spring force clamps the brake disc when powered off, thereby realizing the emergency stop of the motor. For another example, a reverse current is passed through the winding of the motor to generate a braking torque, thereby realizing the emergency stop of the motor.
[0078] Exemplarily, a servo motor is used to reduce the output torque of the motor to realize the slow stop of the motor. For another example, a braking resistor is externally connected to the motor, and the voltage across the two sides of the motor is reduced through the braking resistor to realize the slow stop of the motor.
[0079] Step S103: Generate and execute a forced shutdown instruction corresponding to a first preset duration. The forced shutdown instruction is used to instruct the motor to continuously stop within the first preset duration.
[0080] The first preset duration is a preset empirical value, and relevant personnel can adjust the value of the first preset duration according to actual needs.
[0081] After the forced shutdown instruction is executed, the motor will remain in the off state for the first preset duration. Regardless of any signals or instructions input from the outside, the motor cannot be started. In an actual scenario, after the motor stops, there is a certain probability that the user will attempt to restart the motor. At this time, if the structure of the power tool is damaged or the internal circuit is damaged, restarting the motor may cause injury to the user. Therefore, this step ensures that the motor cannot be started within the first preset duration to ensure the safety of the user.
[0082] Step S104: After the forced shutdown instruction fails, if no start signal is detected within the second preset duration, turn off the system power supply of the power tool.
[0083] The second preset duration is a preset empirical value, and relevant personnel can adjust the value of the second preset duration according to actual needs.
[0084] The effective duration of the forced shutdown instruction is the first preset duration.
[0085] The start signal is used to start the motor or the power tool. For example, the start signal is detecting that the switch on the power tool is pressed.
[0086] In some other embodiments, if a start signal is detected within the second preset duration, restart the motor. After the start duration of the motor reaches the safety test duration, determine whether the power tool is operating abnormally. If so, stop the operation of the motor according to the stop method. If not, keep the motor running.
[0087] By adopting the above technical solution, when it is detected that the motor has an abnormal operation, the stop method of the motor will be selected according to the type of abnormality first, and the motor will be stopped first, so that the motor will not start working within the first preset duration. Only after the first preset duration has passed and there is no start signal, the system power supply will be turned off. This solution provides a multi-level shutdown method for the motor, which can shut down the power tool step by step, reduce the impact on other parts of the power tool, improve the service life of the power tool. At the same time, the motor will not be started within the first preset duration, which can prevent unnecessary damage to the user due to the user's misoperation.
[0088] In the following embodiments, the working state of the power tool will be judged from multiple angles, making the judgment of the working state of the power tool more accurate. Therefore, the embodiments of the present application disclose a method for detecting the working state. Refer to Figure 2 , the method includes:
[0089] Step S201: Monitor the system self-check result of the power tool.
[0090] The system self-check result is a report generated after the power tool detects its own key components through a built-in program during operation.
[0091] Exemplarily, the power tool performs a self-check operation at regular intervals to obtain a system self-check result. The self-check operation is used to detect whether the hardware or software inside the power tool is working properly. For example, in the self-check operation including a system detection operation, the circuit detection operation is used to detect whether the system of the power tool meets the design standards.
[0092] Step S202: Generate first flag bit data according to the system self-check result.
[0093] Exemplarily, if the system self-check result is that the system is running normally, the value of the first flag bit data is set to 1. If the system self-check result is that the system is running abnormally, the value of the first flag bit data is set to 0.
[0094] Step S203: Obtain the internal parameters of the power tool. The internal parameters include electrical parameters and motor operating parameters.
[0095] The electrical parameters include at least one of the operating voltage, operating current, operating power, and internal resistance of the motor.
[0096] The motor operating parameters include at least one of the motor speed, rotation direction, number of supply phases, torque, and vibration parameters.
[0097] Step S204: Generate second flag bit data according to the difference between the internal parameters and the first standard parameters.
[0098] The first standard parameters refer to the electrical parameters and motor operating parameters that meet the design standards of the power tool.
[0099] Exemplarily, in the case where the difference between the internal parameters and the first standard parameters is less than the preset internal parameter threshold, second flag bit data is generated and the value of the second flag bit data is set to 1. In the case where the difference between the internal parameters and the first standard parameters is greater than the preset internal parameter threshold, second flag bit data is generated and the value of the second flag bit data is set to 0.
[0100] Step S205: Obtain the external parameters of the power tool.
[0101] Optionally, the external parameters include the ambient temperature.
[0102] Step S206: Generate third flag bit data according to the difference between the external parameters and the second standard parameters.
[0103] Exemplarily, in the case where the difference between the external parameters and the second standard parameters is less than the preset external parameter threshold, third flag bit data is generated and the value of the third flag bit data is set to 1. In the case where the difference between the external parameters and the second standard parameters is greater than the preset external parameter threshold, third flag bit data is generated and the value of the third flag bit data is set to 0.
[0104] Step S207: Generate a working state of the electric tool according to the first flag data, the second flag data and the third flag data, where the working state includes normal working and abnormal working.
[0105] Exemplarily, the first flag data, the second flag data and the third flag data are combined into flag data. The working state of the power tool is generated according to the flag data. For example, if the first flag data is a, the second flag data is b, and the third flag data is c, then the flag data is abc. If there is 0 in the flag data, the working state is abnormal. If there is no 0 in the flag data, the working state is normal.
[0106] By adopting the above technical solution, the working status of the power tool can be judged from three different dimensions: system self-test results, internal parameters and external parameters, so as to improve the accuracy of the working status judgment, enable the power tool to make accurate actions according to the actual situation, and ensure the safe use of the power tool.
[0107] In actual scenarios, some power tools will generate relatively violent vibrations during use, such as drills and angle grinders. In this case, the violent vibrations during the operation of the power tool itself may be judged as abnormal, causing the power tool to shut down unexpectedly. To solve this problem, the embodiment of the present application discloses an operation judgment method based on the vibration of the power tool. Figure 3 , the method comprising:
[0108] Step S301: when the difference between the current vibration parameter and the first standard parameter is greater than a first difference threshold, extracting the historical vibration parameters of the power tool.
[0109] Optionally, the internal parameters include current vibration parameters of the power tool. The current vibration parameters are vibration parameters measured at the current moment. The vibration parameters include the vibration amplitude and vibration frequency of the power tool during operation.
[0110] Historical vibration parameters refer to the vibration parameters of the power tool measured during a historical period.
[0111] The first difference threshold is a preset empirical value, and relevant personnel can adjust the specific value of the first difference threshold according to actual conditions.
[0112] Step S302: if the difference between the current vibration parameter and the historical vibration parameter is less than the second difference threshold, second flag data is generated, and the value of the second flag data is set to the first value.
[0113] The second difference threshold is a preset empirical value, and relevant personnel can adjust the specific value of the second difference threshold according to actual conditions.
[0114] When the value of the second flag bit data is set to the first value, it indicates that the internal parameters meet the design standards. For example, the value of the first value is 1.
[0115] If the difference between the current vibration parameter and the historical vibration parameter is less than the second difference threshold, it indicates that the power tool will generate vibration during historical use, which means that the vibration of the power tool is a normal phenomenon. Therefore, the value of the second flag bit data is set to the first value.
[0116] Step S303: If the difference between the current vibration parameter and the historical vibration parameter is greater than the second difference threshold, calculate the frequency fluctuation value of the current vibration parameter.
[0117] When the difference between the current vibration parameter and the historical vibration parameter is greater than the second difference threshold, it cannot directly prove that the vibration generated by the power tool during use is a normal phenomenon. For example, if the power tool is a drill, the drill itself may be used on different materials, such as wooden boards, brick walls, concrete walls, metals, etc. When the drill is first used on a wooden board and then on a brick wall, the vibration generated by the power tool on the brick wall will be greater than that on the wooden board, and this increase in vibration is a normal phenomenon. Therefore, even if the difference between the current vibration parameter and the historical vibration parameter is greater than the second difference threshold, it is necessary to further determine whether the vibration is a normal phenomenon. In this embodiment, the frequency fluctuation value is used to determine whether the vibration of the power tool is a normal phenomenon.
[0118] The frequency fluctuation value refers to the change or fluctuation range of the vibration frequency of the motor within a period of time. Exemplarily, take the maximum vibration frequency and the minimum vibration frequency in the current vibration parameter. Calculate the difference between the maximum vibration frequency and the minimum vibration frequency to obtain the frequency fluctuation value. Exemplarily, according to the current vibration parameter, calculate the change rate of the vibration frequency to obtain the frequency fluctuation value.
[0119] Step S304: Calculate the difference between the frequency fluctuation value and the preset fluctuation value to obtain the fluctuation value difference.
[0120] The preset fluctuation value is a preset empirical value, and relevant personnel can adjust the specific value of the preset fluctuation value according to actual needs.
[0121] Step S305: If the fluctuation value difference is greater than the preset difference, generate the second flag bit data and set the value of the second flag bit data to the second value, where the second value is different from the first value.
[0122] If the fluctuation value difference is greater than the preset difference, it indicates that during the use of the power tool, the vibration frequency of the power tool will fluctuate greatly. In an actual scenario, a large fluctuation in the vibration frequency will affect the normal operation of the power tool.
[0123] When the value of the second flag bit data is set to the second value, it indicates that the internal parameters do not meet the design standards. For example, the value of the second value is 0.
[0124] Step S306: If the difference in the fluctuation value is less than the preset difference, generate the second flag bit data and set the value of the second flag bit data to the first value.
[0125] If the difference in the fluctuation value is less than the preset difference, it indicates that during the use of the power tool, the vibration frequency of the power tool remains basically stable. Therefore, the vibration on the power tool is a normal phenomenon.
[0126] By adopting the above technical solution, it is determined whether the vibration during the use of the power tool is a normal phenomenon through the vibration parameters, and corresponding responses are made to the vibration, ensuring that the responses made by the power tool conform to the actual scenario and improving the intelligence of the power tool.
[0127] In the following embodiments, when the difference in the fluctuation value is greater than the preset difference, the rotation speed of the motor can also be adjusted, and whether the previous rotation speed of the power tool conforms to the use scenario is determined through the adjusted rotation speed and vibration parameters. Therefore, an embodiment of the present application discloses a motor test method. Refer to Figure 4 , the method includes:
[0128] Step S401: Control the motor to rotate at a first preset rotation speed, and the first preset rotation speed is less than the current rotation speed of the motor.
[0129] Exemplarily, obtain the preset rotation speed difference. Calculate the difference between the current rotation speed and the rotation speed difference to obtain the first preset rotation speed. Exemplarily, the first preset rotation speed is a preset value.
[0130] In some embodiments, control the rotation speed of the motor to decrease with time until the rotation speed drops to the first preset rotation speed. In some embodiments, set the target power according to the first preset rotation speed. Adjust the working power of the motor to the target power so that the rotation speed of the motor drops to the first preset rotation speed.
[0131] Step S402: Collect the test rotation speed and test vibration parameters of the motor.
[0132] The test rotation speed refers to the actual rotation speed of the motor after the rotation speed of the motor is adjusted down to the first preset rotation speed.
[0133] The test vibration parameters refer to the actual vibration amplitude and vibration frequency of the motor after the rotation speed of the motor is adjusted down to the first preset rotation speed.
[0134] Step S403: If the test rotation speed is greater than the second preset rotation speed and the difference between the test vibration parameters and the vibration parameters is less than the third difference threshold, generate a prompt signal.
[0135] The prompting signal is used to prompt to lower the rotational speed of the power tool.
[0136] In some other embodiments, if the measured rotational speed is less than the second preset rotational speed, or the difference between the measured vibration parameter and the vibration parameter is greater than the third difference threshold, the value of the second flag bit data is set to the second value.
[0137] Step S404: Adjust the value of the second flag bit data from the second value to the first value.
[0138] After generating the prompting signal, or simultaneously with generating the prompting signal, adjust the value of the second flag bit data from the second value to the first value.
[0139] By adopting the above technical solution, in the case of insufficient historical data, the rotational speed of the motor is reduced for temporary detection to determine whether the vibration of the power tool is a normal phenomenon, and corresponding responses are made to the vibration, ensuring that the responses of the power tool conform to the actual scenario and improving the intelligence of the power tool.
[0140] In the following embodiments, during the process of reducing the rotational speed of the motor, the motor can also be tested by measuring the change rate of the rotational speed of the motor to determine whether the vibration of the power tool is a normal phenomenon. Therefore, Embodiment of the present application discloses a second motor testing method. Refer to Figure 5 , this method includes:
[0141] Step S501: During the process of reducing the rotational speed of the motor from the current rotational speed to the preset rotational speed, detect the real-time rotational speed of the motor.
[0142] Optionally, control the rotational speed of the motor to uniformly decrease from the current rotational speed to the preset rotational speed. For example, the rotational speed of the motor decreases by 10 RPS (Revolutions Per Second) per second.
[0143] Exemplarily, an angular velocity sensor is installed on the motor, and the rotational speed of the motor is monitored through the angular velocity sensor to obtain the real-time rotational speed.
[0144] Further, every preset acquisition duration interval, obtain the real-time rotational speed of the motor.
[0145] Step S502: Calculate the rotational speed difference between adjacent real-time rotational speeds.
[0146] Adjacent real-time rotational speeds refer to real-time rotational speeds adjacent in time sequence. For example, when the real-time rotational speed of the motor is obtained every preset acquisition duration interval, timestamp information will be added to the real-time rotational speed, and the timestamp information is used to record the acquisition time of the real-time rotational speed. According to the timestamp information, select the real-time rotational speeds at adjacent acquisition times, and calculate the difference between the real-time rotational speeds to obtain the rotational speed difference.
[0147] Step S503: Calculate the rotational speed change rate based on the rotational speed difference.
[0148] Exemplarily, calculate the ratio of the rotational speed difference to the acquisition time interval to obtain the rotational speed change rate.
[0149] Step S504: Calculate the variance of the rotational speed change rate to obtain the change rate variance.
[0150] In some other embodiments, the standard deviation, mean absolute deviation, or interquartile range of the rotational speed change rate can also be calculated.
[0151] Step S505: If the change rate variance is less than the preset variance, adjust the value of the second flag bit data from the second value to the first value.
[0152] If the change rate variance is less than the preset variance, it indicates that the actual rotational speed of the motor decreases uniformly over time, the motor can control the change in rotational speed, that is, the rotational speed of the motor is still under the control of the motor itself, and the motor is in a controllable state. Therefore, the vibration on the power tool belongs to the normal phenomenon of the power tool.
[0153] In some other embodiments, if the change rate variance is greater than the preset variance, adjust the value of the second flag bit data to the first value.
[0154] By adopting the above technical solution, during the process of reducing the rotational speed, the change rate variance is obtained by calculating the variance of the rotational speed change rate, and according to the magnitude relationship between the change rate variance and the preset variance, it is first detected whether the vibration of the power tool is normal, ensuring that the response of the power tool conforms to the actual scenario and improving the intelligence of the power tool.
[0155] In the following embodiments, after the motor is turned off due to the influence of the external temperature, if the user wants to restart the motor, a method for determining the motor according to the actual scenario is required to ensure that the motor can operate normally. Therefore, the embodiments of the present application disclose a method for restarting the motor. Refer to Figure 6 , the method includes:
[0156] Step S601: After the forced shutdown instruction fails, if a start signal is detected within the second preset duration, extract the temperature parameter from the external parameters.
[0157] The temperature parameter in the external parameters is used to represent the temperature of the environment where the motor is located. Exemplarily, a first temperature sensor is provided on the power tool, and the first temperature sensor is used to detect the ambient temperature. For example, the first temperature sensor is installed on the heat sink of the power tool.
[0158] In some other embodiments, if no start signal is detected within the second preset duration, turn off the system power supply of the power tool.
[0159] Step S602: If the temperature parameter is greater than the first temperature threshold, monitor the real-time temperature of the motor.
[0160] The first temperature threshold is a preset empirical value, and relevant personnel can adjust the value of the first temperature threshold according to actual needs. Further, when the temperature parameter is greater than the first temperature threshold, the motor has a risk of overheating, and it is necessary to decide whether to restart the motor according to the real-time temperature. For example, the first temperature threshold is 50°C.
[0161] The real-time temperature refers to the internal temperature of the motor. Exemplarily, a second temperature sensor is provided inside the motor, and this temperature sensor is used to detect the internal temperature of the motor.
[0162] Step S603: Turn on the motor when the real-time temperature is lower than the safe temperature.
[0163] In some other embodiments, when the real-time temperature is greater than the safe temperature, keep the motor off. Further, if the duration for which it is monitored that the real-time temperature is greater than the safe temperature reaches the third preset duration, turn off the system power supply of the power tool.
[0164] Step S604: If the temperature parameter is less than the second temperature threshold, turn on the motor according to the target power.
[0165] The second temperature threshold is a preset empirical value, and relevant personnel can adjust the value of the second temperature threshold according to actual needs. Further, when the temperature parameter is less than the second temperature threshold, the ambient temperature of the motor is too low, and directly turning on the motor will affect the normal operation of the motor, making it difficult for the motor to play its normal role. For example, the second temperature threshold is -40°C.
[0166] Step S605: Control the motor to stop rotating for a time reaching the target duration.
[0167] It should be noted that while controlling the motor to stop rotating, the motor is still in the on state. At this time, electrical energy will be converted into heat energy, and this heat energy will heat the motor, raising the temperature of the motor to a suitable temperature. Further, after the time for which the motor is controlled to stop rotating reaches the target duration, the temperature of the motor will rise to a suitable temperature.
[0168] Step S606: Control the motor to continue rotating at the target power.
[0169] By adopting the above technical solution, when the power tool is affected by the external temperature and malfunctions, according to the actual situation of the external temperature, select the corresponding restart method, so that the power tool after restart can operate normally.
[0170] In the following embodiments, the actual value of the target power needs to be considered to ensure that when the motor operates according to the target power, it can work while ensuring that the motor temperature is appropriate. Therefore, the embodiments of the present application disclose a motor restart method based on temperature. Referring to Figure 7 , the method includes:
[0171] Step S701: Obtain the minimum operating temperature of the motor.
[0172] The minimum operating temperature refers to the lowest ambient temperature at which the motor can be normally started and operated.
[0173] Step S702: Calculate the heating heat and the heat dissipation power according to the minimum operating temperature and the temperature parameters.
[0174] Exemplarily, calculate the temperature parameter and the minimum operating temperature to obtain a temperature difference. According to the material of the motor, obtain the corresponding theoretical specific heat capacity of the foregoing material. Calculate the product of the theoretical specific heat capacity and the correction parameter to obtain the corrected specific heat capacity. Obtain the heating heat according to the temperature difference and the corrected specific heat capacity. The correction parameter is a preset empirical value.
[0175] Exemplarily, pre-set a temperature-power correspondence. Determine the heat dissipation power corresponding to the temperature parameter table from the temperature-power correspondence.
[0176] Step S703: Obtain the rated power of the motor.
[0177] The rated power of the motor refers to the power that the motor can continuously output under rated conditions.
[0178] Step S704: Calculate the sum of the heat dissipation power and the rated power to obtain the target power.
[0179] Further, a physical speed limiting device is provided on the motor. The physical speed limiting device can adjust the actual speed of the motor. Then obtain the rated speed of the motor under the rated power. Limit the speed of the motor to the rated speed through the physical speed limiting device. Set the target power as the actual power of the motor. Then, due to the existence of the physical speed limiting device, the energy that the motor converts electrical energy into mechanical energy will be constant at a fixed value, that is, the rated power in the target power will be converted into mechanical energy. At the same time, the heat dissipation power will be converted into heat energy to maintain the temperature of the motor.
[0180] Step S705: Obtain the target duration according to the heating heat and the target power.
[0181] Exemplarily, calculate the ratio of the heating heat and the target power to obtain the target duration.
[0182] By adopting the above technical solution, when the external temperature is relatively low, the motor is used for heating to increase the temperature of the motor, so that the motor can be started normally, and part of the power of the motor is allocated to heating to maintain the normal operation of the motor.
[0183] Based on the same inventive concept, an embodiment of the present application provides a motor operation system. Please refer to Figure 8 , and the system includes:
[0184] An acquisition module 801, configured to acquire the type of abnormality, a forced shutdown instruction, a first preset duration, a second preset duration, a system self-check result, internal parameters, external parameters, historical vibration parameters, a preset speed, a test speed, test vibration parameters, a first temperature threshold, and a second temperature threshold;
[0185] A memory 802, configured to store the program of the motor operation method described in any one of the above;
[0186] A processor 803, and the program in the memory can be loaded and executed by the processor to implement the motor operation method described in any one of the above.
[0187] By adopting the above technical solution, when it is detected that the motor has an abnormal operation, the stopping method of the motor will be selected according to the type of abnormality first, and the motor will be stopped first, so that the motor will not start working within the first preset duration. Only after the first preset duration has passed and there is no start signal, the system power supply will be turned off. This solution provides a multi-stage shutdown method for the motor, which can shut down the power tool step by step, reduce the impact on other parts in the power tool, improve the service life of the power tool. At the same time, the motor will not be started within the first preset duration, which can prevent unnecessary damage to the user due to the user's misoperation.
[0188] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the above division of each functional module is used as an example. In actual applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working processes of the system, device, and unit described above can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.
[0189] An embodiment of the present application provides a computer-readable storage medium, storing a computer program that can be loaded and executed by a processor to implement the motor operation method.
[0190] Computer storage media include, for example: various media that can store program code, such as USB flash drives, external hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs.
[0191] Based on the same inventive concept, embodiments of the present application provide an intelligent terminal, including a memory and a processor, and a computer program capable of being loaded and executed by the processor for the motor operation method is stored on the memory.
[0192] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the above division of each functional module is used as an example. In actual applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. For the specific working processes of the systems, devices, and units described above, reference can be made to the corresponding processes in the foregoing method embodiments, and details are not described herein again.
[0193] The above are all preferred embodiments of the present application. Without limiting the protection scope of the present application accordingly, any feature disclosed in this specification (including the abstract and drawings), unless specifically described, can be replaced by other equivalent or similar-purpose alternative features. That is, unless specifically described, each feature is only an example in a series of equivalent or similar features.
Claims
1. A motor operation method, characterized in that: The motor is applied to an electric tool, and the method comprises: In response to detecting that the power tool has an abnormal operation, determining a stopping method of the motor according to the abnormal type of the abnormal operation; Stopping the motor according to the stopping method; Generate and execute a forced shutdown instruction corresponding to a first preset time length, wherein the forced shutdown instruction is used to instruct the motor to stop continuously within the first preset time length; After the forced shutdown instruction becomes invalid, if no start signal is detected within a second preset time period, shutting down the system power supply of the electric tool; Monitoring a system self-test result of the electric tool; Generate first flag data according to the system self-test result; Acquiring internal parameters of the electric tool, wherein the internal parameters include electrical parameters and motor operating parameters, and the internal parameters also include current vibration parameters of the electric tool; Generate second flag data according to the difference between the internal parameter and the first standard parameter; Acquiring external parameters of the electric tool; Generate third flag data according to the difference between the external parameter and the second standard parameter; Generate a working state of the electric tool according to the first flag data, the second flag data and the third flag data, wherein the working state includes normal working and abnormal working; The step of generating the second flag data according to the difference between the internal parameter and the first standard parameter includes: When the difference between the current vibration parameter and the first standard parameter is greater than a first difference threshold, extracting the historical vibration parameter of the electric tool; If the difference between the current vibration parameter and the historical vibration parameter is less than a second difference threshold, generating the second flag data, and setting the value of the second flag data to the first value; If the difference between the current vibration parameter and the historical vibration parameter is greater than the second difference threshold, the frequency fluctuation value of the current vibration parameter is calculated; the difference between the frequency fluctuation value and the preset fluctuation value is calculated to obtain the fluctuation value difference; if the fluctuation value difference is greater than the preset difference, the second flag data is generated, and the value of the second flag data is set to a second value, which is different from the first value; if the fluctuation value difference is less than the preset difference, the second flag data is generated, and the value of the second flag data is set to the first value.
2. The motor operation method according to claim 1, characterized in that: The method further comprises: After the forced shutdown instruction becomes invalid, if the start signal is detected within a second preset time period, extracting a temperature parameter from the external parameter; If the temperature parameter is greater than a first temperature threshold, the real-time temperature of the motor is monitored; if the real-time temperature is less than a safe temperature, the motor is turned on; If the temperature parameter is less than a second temperature threshold, the motor is turned on according to the target power; the motor is controlled to stop rotating for a target duration; and the motor is controlled to continue rotating at the target power.
3. The motor operation method according to claim 2, characterized in that: The method further comprises: Obtaining the minimum operating temperature of the motor; Calculating the heating heat and the heat dissipation power according to the minimum operating temperature and the temperature parameters; Obtaining the rated power of the motor; Calculating the sum of the heat dissipation power and the rated power to obtain the target power; The target duration is obtained according to the heating amount and the target power.
4. A motor operation system, characterized in that: The system comprises: An acquisition module is used to acquire the abnormality type, the forced shutdown instruction, the first preset time, the second preset time, the system self-test result, the internal parameter, the external parameter, the historical vibration parameter, the preset speed, the test speed, the test vibration parameter, the first temperature threshold and the second temperature threshold; A memory for storing a program of the motor operation method according to any one of claims 1 to 3; The program in the memory can be loaded and executed by the processor.
5. An intelligent terminal, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and execute the method according to any one of claims 1 to 3.
6. A computer-readable storage medium, characterized in that: A computer program is stored which can be loaded by a processor and execute the method according to any one of claims 1 to 3.
Citation Information
Patent Citations
Overload protection device and method for electric tool
CN102005730A
Power-saving controller for automatically detecting states of power device and supply network and delaying outage
CN104167720A
Automatic snow sweeper and motor starting method
CN109787440A