Method and device for controlling rotating speed of air conditioner motor, storage medium and processor

文档序号:553618 发布日期:2021-05-14 浏览:20次 中文

阅读说明:本技术 控制空调电机转速的方法及装置、存储介质和处理器 (Method and device for controlling rotating speed of air conditioner motor, storage medium and processor ) 是由 童海东 叶协通 胡济安 于 2020-12-31 设计创作,主要内容包括:本发明公开了一种控制空调电机转速的方法及装置、存储介质和处理器。其中,该方法包括:接收空调电机的反馈信号,其中,上述反馈信号中携带有上述空调电机的电机反馈脉冲数;基于上述电机反馈脉冲数确定上述空调电机的当前电机转速;若检测到上述当前电机转速不等于目标电机转速,则控制上述空调电机调节当前输出的脉冲占空比,并继续循环获取上述空调电机的上述当前电机转速,直至检测到上述当前电机转速等于上述目标电机转速。本发明解决了现有技术中空调电机转速调节过快导致噪音,电机转速调节过慢影响空调系统的性能指标的技术问题。(The invention discloses a method and a device for controlling the rotating speed of an air conditioner motor, a storage medium and a processor. Wherein, the method comprises the following steps: receiving a feedback signal of an air conditioner motor, wherein the feedback signal carries the motor feedback pulse number of the air conditioner motor; determining the current motor rotating speed of the air conditioner motor based on the motor feedback pulse number; and if the current motor rotating speed is detected not to be equal to the target motor rotating speed, controlling the air conditioner motor to adjust the current output pulse duty ratio, and continuously and circularly acquiring the current motor rotating speed of the air conditioner motor until the current motor rotating speed is detected to be equal to the target motor rotating speed. The invention solves the technical problems that noise is caused by too fast adjustment of the rotating speed of the air conditioning motor and the performance index of an air conditioning system is influenced by too slow adjustment of the rotating speed of the motor in the prior art.)

1. A method for controlling the rotation speed of an air conditioner motor is characterized by comprising the following steps:

receiving a feedback signal of an air conditioner motor, wherein the feedback signal carries the motor feedback pulse number of the air conditioner motor;

determining the current motor rotating speed of the air conditioner motor based on the motor feedback pulse number;

and if the current motor rotating speed is detected not to be equal to the target motor rotating speed, controlling the air conditioner motor to adjust the current output pulse duty ratio, and continuously and circularly acquiring the current motor rotating speed of the air conditioner motor until the current motor rotating speed is detected to be equal to the target motor rotating speed.

2. The method of claim 1, wherein prior to receiving a feedback signal of an air conditioner motor, the method further comprises:

acquiring a current operation mode of an air conditioner indoor unit;

judging whether the current operation mode is a target operation mode, wherein the target operation mode comprises at least one of the following modes: an automatic cleaning mode, a defrosting operation mode, a testing operation mode and a fixed frequency operation mode;

if so, controlling the air conditioner motor to adjust the current motor rotating speed to the target motor rotating speed based on the target operation mode; and if the judgment result is negative, executing the step of receiving the feedback signal of the air conditioner motor.

3. The method of claim 1, wherein controlling the air conditioning motor to adjust the pulse duty cycle of the current output comprises:

detecting a wind sweeping working mode of an air deflector of an air conditioner indoor unit;

if the wind sweeping working mode is a full-sweeping working mode, controlling the air conditioner motor to adjust the pulse duty ratio at a preset adjusting rate;

and if the wind sweeping working mode is a non-full-sweeping working mode, controlling the air-conditioning motor to adjust the current output pulse duty ratio based on a preset deviation value, the current motor rotating speed and the target motor rotating speed.

4. The method of claim 3, wherein controlling the air conditioning motor to adjust the pulse duty cycle of the current output based on the predetermined deviation value, the current motor speed, and the target motor speed comprises:

if the current motor rotating speed is higher than the target motor rotating speed plus the preset deviation value, controlling the air conditioner motor to reduce the pulse duty ratio output currently;

if the current motor rotating speed is lower than the target motor rotating speed minus the preset deviation value, controlling the air conditioner motor to increase the pulse duty ratio output currently;

and if the current motor rotating speed is higher than the target motor rotating speed minus the preset deviation value, and the current motor rotating speed is lower than the target motor rotating speed plus the preset deviation value, controlling the air-conditioning motor without changing the currently output pulse duty ratio.

5. An apparatus for controlling a rotational speed of a motor of an air conditioner, comprising:

the receiving module is used for receiving a feedback signal of an air conditioner motor, wherein the feedback signal carries the motor feedback pulse number of the air conditioner motor;

the determining module is used for determining the current motor rotating speed of the air conditioner motor based on the motor feedback pulse number;

and the first control module is used for controlling the air-conditioning motor to adjust the current output pulse duty ratio if the current motor rotating speed is detected not to be equal to the target motor rotating speed, and continuously and circularly acquiring the current motor rotating speed of the air-conditioning motor until the current motor rotating speed is detected to be equal to the target motor rotating speed.

6. The apparatus of claim 5, further comprising:

the acquisition module is used for acquiring the current operation mode of the air conditioner internal unit;

a judging module, configured to judge whether the current operation mode is a target operation mode, where the target operation mode includes at least one of: an automatic cleaning mode, a defrosting operation mode, a testing operation mode and a fixed frequency operation mode;

the second control module is used for controlling the air conditioner motor to adjust the current motor rotating speed to the target motor rotating speed based on the target operation mode if the judgment result is yes; and if the judgment result is negative, executing the step of receiving the feedback signal of the air conditioner motor.

7. The apparatus of claim 5, wherein the first control module comprises:

the detection unit is used for detecting the wind sweeping working mode of an air deflector of an air conditioner indoor unit;

the first control unit is used for controlling the air conditioner motor to adjust the pulse duty ratio at a preset adjustment rate if the wind sweeping working mode is a full-sweeping working mode;

and the second control unit is used for controlling the air conditioner motor to adjust the currently output pulse duty ratio based on the preset deviation value, the current motor rotating speed and the target motor rotating speed if the wind sweeping working mode is a non-full-sweeping working mode.

8. The apparatus of claim 7, wherein the second control unit comprises:

the third control unit is used for controlling the air conditioner motor to reduce the pulse duty ratio output currently if the current motor rotating speed is higher than the target motor rotating speed plus the preset deviation value;

the fourth control unit is used for controlling the air conditioner motor to increase the pulse duty ratio output currently if the current motor rotating speed is lower than the target motor rotating speed minus the preset deviation value;

and the fifth control unit is used for controlling the air conditioner motor without changing the currently output pulse duty ratio if the current motor rotating speed is higher than the target motor rotating speed minus the preset deviation value and the current motor rotating speed is lower than the target motor rotating speed plus the preset deviation value.

9. A non-volatile storage medium storing a plurality of instructions adapted to be loaded by a processor and perform the method of controlling a rotational speed of an air conditioner motor according to any one of claims 1 to 4.

10. A processor, characterized in that the processor is configured to run a program, wherein the program is configured to execute the method for controlling the rotation speed of the air conditioner motor according to any one of claims 1 to 4 when running.

11. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the computer program to perform the method for controlling the rotation speed of the air conditioner motor according to any one of claims 1 to 4.

Technical Field

The invention relates to the field of motor control, in particular to a method and a device for controlling the rotating speed of a motor of an air conditioner, a storage medium and a processor.

Background

With the diversification of the types of air conditioner motors, most of the air conditioner internal units use alternating current PG motors or direct current DC motors at present, a main controller controls the rotating speed of the motors by outputting PWM pulses, the motor control is closed-loop control, and the output of the motors is adjusted according to the difference between the target rotating speed and the actual rotating speed.

However, the speed of adjusting the rotating speed of the air conditioner motor directly affects the experience of users in using the air conditioner, if the rotating speed of the motor is adjusted too fast, the noise problem is easily caused, and if the rotating speed of the motor is adjusted too slow, the performance index of the air conditioning system is affected.

In view of the above problems, no effective solution has been proposed.

Disclosure of Invention

The embodiment of the invention provides a method and a device for controlling the rotating speed of an air conditioner motor, a storage medium and a processor, which are used for at least solving the technical problems that noise is caused by too fast adjustment of the rotating speed of the air conditioner motor and the performance index of an air conditioner system is influenced by too slow adjustment of the rotating speed of the motor in the prior art.

According to an aspect of an embodiment of the present invention, there is provided a method of controlling a rotational speed of a motor of an air conditioner, including: receiving a feedback signal of an air conditioner motor, wherein the feedback signal carries the motor feedback pulse number of the air conditioner motor; determining the current motor rotating speed of the air conditioner motor based on the motor feedback pulse number; and if the current motor rotating speed is detected not to be equal to the target motor rotating speed, controlling the air conditioner motor to adjust the current output pulse duty ratio, and continuously and circularly acquiring the current motor rotating speed of the air conditioner motor until the current motor rotating speed is detected to be equal to the target motor rotating speed.

Optionally, before receiving the feedback signal of the air conditioner motor, the method further includes: acquiring a current operation mode of an air conditioner indoor unit; judging whether the current operation mode is a target operation mode, wherein the target operation mode comprises at least one of the following modes: an automatic cleaning mode, a defrosting operation mode, a testing operation mode and a fixed frequency operation mode; if so, controlling the air conditioner motor to adjust the current motor rotating speed to the target motor rotating speed based on the target operation mode; and if the judgment result is negative, executing the step of receiving the feedback signal of the air conditioner motor.

Optionally, controlling the air conditioner motor to adjust the currently output pulse duty ratio includes: detecting a wind sweeping working mode of an air deflector of an air conditioner indoor unit; if the wind sweeping working mode is a full-sweeping working mode, controlling the air conditioner motor to adjust the pulse duty ratio at a preset adjusting rate; and if the wind sweeping working mode is a non-full-sweeping working mode, controlling the air-conditioning motor to adjust the current output pulse duty ratio based on a preset deviation value, the current motor rotating speed and the target motor rotating speed.

Optionally, controlling the air conditioning motor to adjust a currently output pulse duty ratio based on the predetermined deviation value, the current motor speed, and the target motor speed, includes: if the current motor rotating speed is higher than the target motor rotating speed plus the preset deviation value, controlling the air conditioner motor to reduce the currently output pulse duty ratio; if the current motor rotating speed is lower than the target motor rotating speed minus the preset deviation value, controlling the air conditioner motor to increase the currently output pulse duty ratio; and if the current motor rotating speed is higher than the target motor rotating speed minus the preset deviation value and the current motor rotating speed is lower than the target motor rotating speed plus the preset deviation value, controlling the air conditioner motor without changing the currently output pulse duty ratio.

According to another aspect of the embodiments of the present invention, there is also provided an apparatus for controlling a rotation speed of a motor of an air conditioner, including: the receiving module is used for receiving a feedback signal of an air conditioner motor, wherein the feedback signal carries the motor feedback pulse number of the air conditioner motor; the determining module is used for determining the current motor rotating speed of the air conditioner motor based on the motor feedback pulse number; and the first control module is used for controlling the air conditioner motor to adjust the current output pulse duty ratio if the current motor rotating speed is detected not to be equal to the target motor rotating speed, and continuously and circularly acquiring the current motor rotating speed of the air conditioner motor until the current motor rotating speed is detected to be equal to the target motor rotating speed.

Optionally, the apparatus further comprises: the acquisition module is used for acquiring the current operation mode of the air conditioner internal unit; a judging module, configured to judge whether the current operation mode is a target operation mode, where the target operation mode includes at least one of: an automatic cleaning mode, a defrosting operation mode, a testing operation mode and a fixed frequency operation mode; the second control module is used for controlling the air conditioner motor to adjust the current motor rotating speed to the target motor rotating speed based on the target operation mode if the judgment result is yes; and if the judgment result is negative, executing the step of receiving the feedback signal of the air conditioner motor.

Optionally, the first control module includes: the detection unit is used for detecting the wind sweeping working mode of an air deflector of an air conditioner indoor unit; the first control unit is used for controlling the air conditioner motor to adjust the pulse duty ratio at a preset adjusting rate if the wind sweeping working mode is a full-sweeping working mode; and the second control unit is used for controlling the air conditioner motor to adjust the current output pulse duty ratio based on a preset deviation value, the current motor rotating speed and the target motor rotating speed if the wind sweeping working mode is a non-full-sweeping working mode.

Optionally, the second control unit includes: a third control unit, configured to control the air conditioner motor to reduce the currently output pulse duty ratio if the current motor speed is higher than the target motor speed plus the predetermined deviation value; a fourth control unit, configured to control the air conditioning motor to increase the currently output pulse duty ratio if the current motor speed is lower than the target motor speed minus the predetermined deviation value; and a fifth control unit, configured to control the air conditioning motor without changing the currently output pulse duty ratio if the current motor speed is higher than the target motor speed minus the predetermined offset value, and the current motor speed is lower than the target motor speed plus the predetermined offset value.

According to another aspect of the embodiments of the present invention, there is also provided a non-volatile storage medium storing a plurality of instructions, the instructions being adapted to be loaded by a processor and to perform any one of the above methods for controlling the rotation speed of an air conditioner motor.

According to another aspect of the embodiments of the present invention, there is also provided a processor for executing a program, wherein the program is configured to execute any one of the above methods for controlling the rotation speed of the air conditioner motor when running.

According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including a memory and a processor, where the memory stores a computer program, and the processor is configured to execute the computer program to perform any one of the above methods for controlling the rotation speed of the air conditioner motor.

In the embodiment of the invention, a feedback signal of an air conditioner motor is received, wherein the feedback signal carries the motor feedback pulse number of the air conditioner motor; determining the current motor rotating speed of the air conditioner motor based on the motor feedback pulse number; if the current motor rotating speed is not equal to the target motor rotating speed, the air conditioner motor is controlled to adjust the current output pulse duty ratio, the current motor rotating speed of the air conditioner motor is continuously obtained in a circulating mode until the current motor rotating speed is equal to the target motor rotating speed, the purposes of stably adjusting the rotating speed of the air conditioner motor and improving the operation stability of the air conditioner motor are achieved, the technical effects of reducing noise caused by fluctuation of the rotating speed of the air conditioner motor and improving the performance index of an air conditioning system are achieved, and the technical problems that noise is caused by too fast adjustment of the rotating speed of the air conditioner motor and the performance index of the air conditioning system is influenced by too slow adjustment of the rotating speed of the motor in the prior art are solved.

Drawings

The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:

fig. 1 is a flowchart of a method of controlling a rotational speed of a motor of an air conditioner according to an embodiment of the present invention;

FIG. 2 is a schematic diagram of an alternative closed loop control system for an air conditioning motor according to an embodiment of the present invention;

FIG. 3 is a flow chart of an alternative method of controlling the speed of an air conditioner motor according to an embodiment of the present invention;

fig. 4 is a schematic structural diagram of an apparatus for controlling a rotational speed of a motor of an air conditioner according to an embodiment of the present invention.

Detailed Description

In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.

Example 1

In accordance with an embodiment of the present invention, there is provided an embodiment of a method for controlling the rotational speed of an air conditioner motor, where the steps illustrated in the flowchart of the drawings may be performed in a computer system, such as a set of computer-executable instructions, and where a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than that illustrated herein.

Fig. 1 is a flowchart of a method of controlling a rotation speed of a motor of an air conditioner according to an embodiment of the present invention, as shown in fig. 1, the method including the steps of:

step S102, receiving a feedback signal of an air conditioner motor, wherein the feedback signal carries the motor feedback pulse number of the air conditioner motor;

step S104, determining the current motor rotating speed of the air conditioner motor based on the motor feedback pulse number;

and step S106, if the current motor rotating speed is detected to be not equal to the target motor rotating speed, controlling the air conditioner motor to adjust the current output pulse duty ratio, and continuously and circularly acquiring the current motor rotating speed of the air conditioner motor until the current motor rotating speed is detected to be equal to the target motor rotating speed.

In the embodiment of the invention, a feedback signal of an air conditioner motor is received, wherein the feedback signal carries the motor feedback pulse number of the air conditioner motor; determining the current motor rotating speed of the air conditioner motor based on the motor feedback pulse number; if the current motor rotating speed is not equal to the target motor rotating speed, the air conditioner motor is controlled to adjust the current output pulse duty ratio, the current motor rotating speed of the air conditioner motor is continuously obtained in a circulating mode until the current motor rotating speed is equal to the target motor rotating speed, the purposes of stably adjusting the rotating speed of the air conditioner motor and improving the operation stability of the air conditioner motor are achieved, the technical effects of reducing noise caused by fluctuation of the rotating speed of the air conditioner motor and improving the performance index of an air conditioning system are achieved, and the technical problems that noise is caused by too fast adjustment of the rotating speed of the air conditioner motor and the performance index of the air conditioning system is influenced by too slow adjustment of the rotating speed of the motor in the prior art are solved.

Optionally, the air conditioner motor is a motor of an air conditioner internal unit, and an execution main body of the method for controlling the rotating speed of the air conditioner motor provided by the embodiment of the application is a main controller.

In this embodiment, as shown in fig. 2, in the optional closed-loop control system for an air conditioning motor, a main controller receives a feedback signal sent by the air conditioning motor, and determines whether a current motor rotation speed is close to a target motor rotation speed based on a feedback pulse number carried in the feedback signal and sent by the air conditioning motor, if the current motor rotation speed is less than the target motor rotation speed, a PWM pulse duty ratio output by the air conditioning motor is appropriately increased (as in process 1), and the main controller determines whether the current motor rotation speed is close to the target motor rotation speed through the received motor feedback pulse number, and if the current motor rotation speed is greater than the target motor rotation speed, the main controller appropriately decreases or reduces the PWM pulse duty ratio output by the air conditioning motor (as in process 2). And on the contrary, the PWM pulse duty ratio output by the air conditioner motor is properly increased, the rotating speed of the motor is judged in a circulating mode, and the rotating speed of the air conditioner motor is adjusted in real time until the current rotating speed of the motor is detected to be equal to the target rotating speed of the motor.

According to the control method provided by the embodiment of the application, the control method for adjusting the rotating speed of the air conditioner motor by combining quick adjustment and slow adjustment is adopted, so that the air conditioner motor can stably run under specific conditions, the noise generated in the running of the internal unit is reduced, the running stability of the air conditioner motor can be improved, the noise problem caused by the rotating speed fluctuation of the air conditioner motor is reduced, and the comfort of the air conditioner product is improved.

In an optional embodiment, before receiving the feedback signal of the air conditioner motor, the method further includes:

step S202, acquiring a current operation mode of an air conditioner indoor unit;

step S204, determining whether the current operation mode is a target operation mode, wherein the target operation mode includes at least one of the following: an automatic cleaning mode, a defrosting operation mode, a testing operation mode and a fixed frequency operation mode;

step S206, if the judgment result is yes, controlling the air conditioner motor to adjust the current motor rotating speed to the target motor rotating speed based on the target operation mode; and if the judgment result is negative, executing the step of receiving the feedback signal of the air conditioner motor.

As shown in fig. 3, the main controller first determines whether a current operation mode of the air conditioner internal unit is a target operation mode, for example, an automatic cleaning mode, a defrosting operation mode, a test operation mode, a fixed frequency operation mode, and the like. If the current operation mode of the air conditioner indoor unit is the target operation mode, the motor rotating speed is not adjusted slowly, the air conditioner motor is controlled to adjust the current motor rotating speed to the target motor rotating speed based on the target operation mode, the motor rotating speed is guaranteed to be adjusted to the target rotating speed according to different working conditions, for example, the air conditioner indoor unit judges whether the current motor rotating speed is close to the target motor rotating speed, and if the current motor rotating speed is not close to the target motor rotating speed, the main controller controls the air conditioner motor rotating speed to be adjusted to the target motor rotating speed in a mode of changing the duty ratio.

Still as shown in fig. 3, if the air conditioner internal unit does not execute the target operation mode, it is determined whether the current motor speed is higher than the target motor speed, and if the current motor speed is lower than the target motor speed set by the user (the target motor speed is a motor speed value set by the user, and the value of the target motor speed may be determined according to the actual air conditioner test or the user experience), the main controller calculates whether the current motor speed is close to the target motor speed according to the motor feedback pulse number carried in the received motor feedback signal.

If the current motor rotating speed is not close to the target motor rotating speed, the PWM pulse duty ratio is adjusted rapidly, the current motor rotating speed is enabled to tend to the target motor rotating speed, the current motor rotating speed of an air conditioner indoor unit is judged in real time in the mode, if the current motor rotating speed is higher than the target rotating speed, the PWM pulse duty ratio output of the motor is reduced, if the current motor rotating speed is lower than the target motor rotating speed, the PWM pulse duty ratio output is increased, and the motor rotating speed slow adjustment action is not. The motor rotating speed is low, the fluctuation of the motor rotating speed is small, the duty ratio output is increased or reduced a little, the change of the motor rotating speed is relatively small, and the method is suitable for a rapid motor rotating speed adjusting mode, so that the current motor rotating speed can be rapidly adjusted to the target motor rotating speed.

In an alternative embodiment, controlling the air conditioner motor to adjust the pulse duty ratio of the current output includes:

step S302, detecting a wind sweeping working mode of an air deflector of an air conditioner indoor unit;

step S304, if the wind sweeping working mode is a full-sweeping working mode, controlling the air conditioner motor to adjust the pulse duty ratio at a preset adjusting rate;

and step S306, if the wind sweeping working mode is a non-full sweeping working mode, controlling the air conditioner motor to adjust the current output pulse duty ratio based on the preset deviation value, the current motor rotating speed and the target motor rotating speed.

In an optional embodiment of the application, if the air deflector air sweeping operation mode of the air conditioner indoor unit is a non-full-sweeping operation mode, when the current motor rotation speed of the motor is lower than the target motor rotation speed, the PWM pulse duty cycle output of the motor is increased, so that the current motor rotation speed slowly approaches the target motor rotation speed, if the current motor rotation speed is close to the target motor rotation speed, the PWM pulse duty cycle output is not adjusted by the air conditioner indoor unit, after the main controller adjusts the current motor rotation speed to tend to be equal to the target motor rotation speed, the PWM pulse duty cycle output is changed by a small amplitude, the motor rotation speed fluctuation is approximately within a deviation of plus or minus 5 revolutions of the target value, the motor rotation speed fluctuation range is relatively.

In an optional embodiment of the present application, if the air deflector of the air conditioner internal unit is in the full-sweep mode, the air outlet and the air direction are changed, and a fast adjustment manner is used, which easily causes an over-high or over-low rotation speed, so that the relationship between the current motor rotation speed and the target value rotation speed and the predetermined deviation value is increased and judged, and the air conditioner motor is controlled to adjust the current output pulse duty ratio.

In the embodiment of the application, when the air deflector of the air conditioner is detected to move, the size of the air outlet is changed, the rotating speed change of the motor is influenced, the main controller judges whether the current rotating speed of the motor is equal to a target rotating speed value or not according to a motor feedback signal, if the current rotating speed of the motor is higher than or lower than the target value, the main controller continuously adjusts the current rotating speed of the motor towards the target rotating speed of the motor, and the rotating speed fluctuation is easily large due to the excessively fast or excessively slow adjusting speed. In order to solve the problems, judgment of whether the air deflector moves is added, if the feedback signal of the motor changes greatly, the main controller judges that the rotating speed of the motor is higher than a target value plus a deviation value (or lower than the target value plus the deviation value), and then the rotating speed of the motor is regulated, and the rotating speed of the motor is not regulated within the range of the target value plus or minus the deviation value.

In an alternative embodiment, controlling the air conditioning motor to adjust the pulse duty ratio of the current output based on the predetermined deviation value, the current motor speed, and the target motor speed includes:

step S402, if the current motor speed is higher than the target motor speed plus the preset deviation value, controlling the air conditioner motor to reduce the current output pulse duty ratio;

step S404, if the current motor speed is lower than the target motor speed minus the preset deviation value, controlling the air-conditioning motor to increase the currently output pulse duty ratio;

step S406, if the current motor speed is higher than the target motor speed minus the predetermined deviation value, and the current motor speed is lower than the target motor speed plus the predetermined deviation value, controlling the air conditioning motor without changing the currently output pulse duty ratio.

In this embodiment of the application, based on the predetermined deviation value, the current motor speed, and the target motor speed, it may be determined whether the inner fan speed is close to the target value speed, the inner fan speed is not adjusted if the inner fan speed is close to the target value speed, and the current motor speed is adjusted if the inner fan speed exceeds the target value speed.

Optionally, if the current motor rotation speed is higher than the target value rotation speed plus the deviation value, the main controller reduces the PWM pulse duty ratio of the motor; if the current motor rotating speed is lower than the target value rotating speed-deviation value, the main controller increases the PWM pulse duty ratio of the motor; and if the current motor rotating speed is higher than the target rotating speed-deviation value and lower than the target rotating speed + deviation value, the main controller does not change the PWM pulse duty ratio output of the motor. Because the air deflector of the indoor unit circularly moves, the rotating speed of the motor needs to be judged to be within the interval range, and the indoor unit of the air conditioner does not adjust the rotating speed temporarily, so that the adjusting speed of the motor of the air conditioner is reduced, and the fluctuation of the rotating speed of the motor caused by too fast and too slow adjusting of the rotating speed of the motor is reduced.

Example 2

According to an embodiment of the present invention, there is also provided an embodiment of an apparatus for implementing the method for controlling a rotation speed of an air conditioner motor, fig. 4 is a schematic structural diagram of an apparatus for controlling a rotation speed of an air conditioner motor according to an embodiment of the present invention, and as shown in fig. 4, the apparatus for controlling a rotation speed of an air conditioner motor includes: a receiving module 400, a determining module 402, and a first control module 404, wherein:

the receiving module 400 is configured to receive a feedback signal of an air conditioner motor, where the feedback signal carries a motor feedback pulse number of the air conditioner motor; a determining module 402, configured to determine a current motor speed of the air conditioner motor based on the motor feedback pulse number; a first control module 404, configured to control the air conditioning motor to adjust a currently output pulse duty ratio if it is detected that the current motor rotation speed is not equal to a target motor rotation speed, and continue to cyclically acquire the current motor rotation speed of the air conditioning motor until it is detected that the current motor rotation speed is equal to the target motor rotation speed.

It should be noted that the above modules may be implemented by software or hardware, for example, for the latter, the following may be implemented: the modules can be located in the same processor; alternatively, the modules may be located in different processors in any combination.

It should be noted here that the receiving module 400, the determining module 402 and the first control module 404 correspond to steps S102 to S106 in embodiment 1, and the modules are the same as the corresponding steps in implementation examples and application scenarios, but are not limited to the disclosure in embodiment 1. It should be noted that the modules described above may be implemented in a computer terminal as part of an apparatus.

In an optional embodiment, the apparatus further comprises: the acquisition module is used for acquiring the current operation mode of the air conditioner internal unit; a judging module, configured to judge whether the current operation mode is a target operation mode, where the target operation mode includes at least one of: an automatic cleaning mode, a defrosting operation mode, a testing operation mode and a fixed frequency operation mode; the second control module is used for controlling the air conditioner motor to adjust the current motor rotating speed to the target motor rotating speed based on the target operation mode if the judgment result is yes; and if the judgment result is negative, executing the step of receiving the feedback signal of the air conditioner motor.

In an alternative embodiment, the first control module includes: the detection unit is used for detecting the wind sweeping working mode of an air deflector of an air conditioner indoor unit; the first control unit is used for controlling the air conditioner motor to adjust the pulse duty ratio at a preset adjusting rate if the wind sweeping working mode is a full-sweeping working mode; and the second control unit is used for controlling the air conditioner motor to adjust the current output pulse duty ratio based on a preset deviation value, the current motor rotating speed and the target motor rotating speed if the wind sweeping working mode is a non-full-sweeping working mode.

In an optional embodiment, the second control unit includes: a third control unit, configured to control the air conditioner motor to reduce the currently output pulse duty ratio if the current motor speed is higher than the target motor speed plus the predetermined deviation value; a fourth control unit, configured to control the air conditioning motor to increase the currently output pulse duty ratio if the current motor speed is lower than the target motor speed minus the predetermined deviation value; and a fifth control unit, configured to control the air conditioning motor without changing the currently output pulse duty ratio if the current motor speed is higher than the target motor speed minus the predetermined offset value, and the current motor speed is lower than the target motor speed plus the predetermined offset value.

It should be noted that, reference may be made to the relevant description in embodiment 1 for alternative or preferred embodiments of this embodiment, and details are not described here again.

The device for controlling the rotation speed of the air conditioner motor may further include a processor and a memory, wherein the receiving module 400, the determining module 402, the first control module 404, and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to implement corresponding functions.

The processor comprises a kernel, and the kernel calls a corresponding program unit from the memory, wherein one or more than one kernel can be arranged. The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.

According to an embodiment of the present application, there is also provided an embodiment of a non-volatile storage medium. Optionally, in this embodiment, the nonvolatile storage medium includes a stored program, and when the program runs, the apparatus in which the nonvolatile storage medium is located is controlled to execute any one of the above methods for controlling the rotation speed of the air conditioner motor.

Optionally, in this embodiment, the nonvolatile storage medium may be located in any one of a group of computer terminals in a computer network, or in any one of a group of mobile terminals, and the nonvolatile storage medium includes a stored program.

Optionally, the apparatus in which the non-volatile storage medium is controlled to perform the following functions when the program is executed: receiving a feedback signal of an air conditioner motor, wherein the feedback signal carries the motor feedback pulse number of the air conditioner motor; determining the current motor rotating speed of the air conditioner motor based on the motor feedback pulse number; and if the current motor rotating speed is detected not to be equal to the target motor rotating speed, controlling the air conditioner motor to adjust the current output pulse duty ratio, and continuously and circularly acquiring the current motor rotating speed of the air conditioner motor until the current motor rotating speed is detected to be equal to the target motor rotating speed.

Optionally, the apparatus in which the non-volatile storage medium is controlled to perform the following functions when the program is executed: acquiring a current operation mode of an air conditioner indoor unit; judging whether the current operation mode is a target operation mode, wherein the target operation mode comprises at least one of the following modes: an automatic cleaning mode, a defrosting operation mode, a testing operation mode and a fixed frequency operation mode; if so, controlling the air conditioner motor to adjust the current motor rotating speed to the target motor rotating speed based on the target operation mode; and if the judgment result is negative, executing the step of receiving the feedback signal of the air conditioner motor.

Optionally, the apparatus in which the non-volatile storage medium is controlled to perform the following functions when the program is executed: detecting a wind sweeping working mode of an air deflector of an air conditioner indoor unit; if the wind sweeping working mode is a full-sweeping working mode, controlling the air conditioner motor to adjust the pulse duty ratio at a preset adjusting rate; and if the wind sweeping working mode is a non-full-sweeping working mode, controlling the air-conditioning motor to adjust the current output pulse duty ratio based on a preset deviation value, the current motor rotating speed and the target motor rotating speed.

Optionally, the apparatus in which the non-volatile storage medium is controlled to perform the following functions when the program is executed: if the current motor rotating speed is higher than the target motor rotating speed plus the preset deviation value, controlling the air conditioner motor to reduce the currently output pulse duty ratio; if the current motor rotating speed is lower than the target motor rotating speed minus the preset deviation value, controlling the air conditioner motor to increase the currently output pulse duty ratio; and if the current motor rotating speed is higher than the target motor rotating speed minus the preset deviation value and the current motor rotating speed is lower than the target motor rotating speed plus the preset deviation value, controlling the air conditioner motor without changing the currently output pulse duty ratio.

According to an embodiment of the present application, there is also provided an embodiment of a processor. Optionally, in this embodiment, the processor is configured to execute a program, where the program executes any one of the above methods for controlling the rotation speed of the air conditioner motor.

According to an embodiment of the present application, there is further provided an embodiment of an electronic device, including a memory and a processor, where the memory stores a computer program, and the processor is configured to execute the computer program to perform any one of the above methods for controlling the rotation speed of the air conditioner motor.

According to an embodiment of the present application, there is also provided an embodiment of a computer program product, which is adapted to execute a program initialized with any of the above-mentioned method steps of controlling the rotational speed of the air conditioner motor when executed on a data processing device.

The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.

In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.

In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.

The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.

In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.

The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable non-volatile storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a non-volatile storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned nonvolatile storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.

The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

13页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:电机控制装置、系统、方法及存储介质

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!