Motor control method and device, electronic equipment and storage medium

文档序号:1025045 发布日期:2020-10-27 浏览:9次 中文

阅读说明:本技术 电机的控制方法、装置、电子设备及存储介质 (Motor control method and device, electronic equipment and storage medium ) 是由 李奎 王浩东 周宇清 王普 于 2019-04-23 设计创作,主要内容包括:本发明实施例提供一种电机的控制方法、装置、电子设备及存储介质。其中,方法包括:检测电机的工作电压;确定与检测的工作电压对应的阈值;获取所述电机的第一参数,并将所述第一参数与所述阈值进行比较,得到比较结果;当所述比较结果满足预设条件时,控制所述电机降低转速。采用本发明实施例的方案,能够保证在电机的全工作电压范围内,仅在电机的运行参数实际满足条件时,才启动电机保护,从而避免了电子设备在进风口不完全被堵住的情况下采用统一的电机启动保护阈值而导致的误判问题。(The embodiment of the invention provides a motor control method and device, electronic equipment and a storage medium. The method comprises the following steps: detecting the working voltage of the motor; determining a threshold value corresponding to the detected operating voltage; acquiring a first parameter of the motor, and comparing the first parameter with the threshold value to obtain a comparison result; and when the comparison result meets a preset condition, controlling the motor to reduce the rotating speed. By adopting the scheme of the embodiment of the invention, the motor protection can be started only when the operation parameters of the motor actually meet the conditions within the full working voltage range of the motor, so that the problem of misjudgment caused by adopting a uniform motor starting protection threshold value under the condition that the air inlet of the electronic equipment is not completely blocked is solved.)

1. A method of controlling an electric machine, the method comprising:

detecting the working voltage of the motor;

determining a threshold value corresponding to the detected operating voltage;

acquiring a first parameter of the motor, and comparing the first parameter with the threshold value to obtain a comparison result;

and when the comparison result meets a preset condition, controlling the motor to reduce the rotating speed.

2. The method of claim 1, wherein the threshold comprises a first rotational speed threshold;

the acquiring a first parameter of the motor includes:

acquiring the rotating speed of a motor;

comparing the first parameter with the threshold to obtain a comparison result, including:

and comparing the acquired rotating speed of the motor with the first rotating speed threshold value to obtain a comparison result.

3. The method of claim 1, wherein the threshold comprises a first ratio threshold;

the acquiring a first parameter of the motor includes:

detecting the rotating speed and current of the motor;

determining the ratio of the rotating speed of the motor to the current;

comparing the first parameter with the threshold to obtain a comparison result, including:

and comparing the determined ratio with the first ratio threshold to obtain a comparison result.

4. The method of claim 1, wherein the threshold values comprise a first speed threshold value and a first ratio threshold value;

the acquiring a first parameter of the motor includes:

detecting the rotating speed and current of the motor; determining the ratio of the rotating speed of the motor to the current;

taking the rotating speed of the motor and the determined ratio as a first parameter;

comparing the first parameter with the threshold to obtain a comparison result, including:

comparing the detected rotating speed with the first rotating speed threshold value to obtain a first comparison result; comparing the determined ratio with the first ratio threshold to obtain a second comparison result;

when the comparison result meets a preset condition, the motor is controlled to reduce the rotating speed, and the method comprises the following steps:

and when the first comparison result meets a first preset condition and the second comparison result meets a second preset condition, controlling the motor to reduce the rotating speed.

5. The method of claim 1, wherein detecting the operating voltage of the motor comprises:

detecting an analog signal of the working voltage of the motor;

converting the analog signal of the detected working voltage into a digital signal of the working voltage;

and filtering the digital signal of the working voltage to obtain the processed working voltage.

6. The method according to claim 1, wherein when the comparison result meets a preset condition, controlling the motor to reduce the rotating speed comprises:

and determining that the acquired first parameter of the motor exceeds the threshold, and controlling the motor to reduce the rotating speed when the duration of the first parameter exceeding the threshold reaches a first duration.

7. A control device of an electric motor, characterized in that the device comprises:

the detection unit is used for detecting the working voltage of the motor;

a determination unit for determining a threshold corresponding to the detected operating voltage;

the acquisition unit is used for acquiring a first parameter of the motor;

the comparison unit is used for comparing the first parameter with the threshold value to obtain a comparison result;

and the control unit is used for controlling the motor to reduce the rotating speed when the comparison result meets a preset condition.

8. A control device of a motor, characterized by comprising: a processor and a memory for storing a computer program capable of running on the processor;

wherein the processor is adapted to perform the steps of the method of any one of claims 1 to 6 when running the computer program.

9. An electronic device, comprising: a motor and a motor control apparatus as claimed in claim 8.

10. A storage medium having a computer program stored thereon, the computer program, when being executed by a processor, implementing the steps of the method of any one of claims 1 to 6.

19页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:马达控制装置、操舵致动器用马达控制装置、操舵致动器系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!