Disclosure of Invention
The invention provides an air conditioner control method, aiming at solving the problems that the dynamic response speed is poor and the motor and an air conditioner indoor unit controller are prevented from being damaged under extreme conditions.
An air conditioner control method includes the following steps:
sampling a current detection signal of a fan motor in the chamber and a rotating speed detection signal of a Hall sensor;
judging the working state of the fan motor of the indoor unit;
if the fan motor of the indoor unit is in an initial operation state, generating a current protection strategy, and judging whether the current detection signal and/or the rotating speed detection signal meet the corresponding control condition in the current protection strategy, if so, executing a motor protection action corresponding to the control condition;
and if the indoor unit fan motor is in a normal operation state, generating a current correction strategy, judging whether the current detection signal and/or the rotating speed detection signal meet the corresponding control condition in the current correction strategy, and if the current detection signal and/or the rotating speed detection signal meet the corresponding control condition, executing a motor protection action corresponding to the control condition.
Further, the working state of the indoor unit fan motor is judged according to the starting time of the indoor unit fan motor;
if the starting time of the indoor unit fan motor is less than a first set value, the indoor unit fan motor is in an initial running state;
and if the starting time of the indoor unit fan motor is more than or equal to a first set value, the indoor unit fan motor is in a normal running state.
Further, if the indoor unit fan motor is in an initial operating state, the current protection strategy includes:
and further judging:
whether the starting time of the indoor unit fan motor is less than a first sub-set value or not, if the starting time of the indoor unit fan motor is less than the first sub-set value, then:
judging whether the sampled current detection signal and the sampled rotating speed detection signal meet a first set condition, if so, cutting off the power supply of the fan motor of the indoor unit, and outputting a first fault signal; the first setting condition includes: the current detection signal is greater than or equal to a first current set value and the rotating speed detection signal is zero; and/or
Judging whether the sampled current detection signal and the sampled rotating speed detection signal meet a second set condition, if so, increasing the power supply voltage of the fan motor of the indoor unit according to a first set rate until the rotating speed detection signal is equal to an initial rotating speed set value and the current detection signal is equal to a second current set value, wherein the second current set value is larger than the first current set value; the second setting condition includes: the current detection signal is greater than or equal to a first current set value and the rotating speed detection signal is smaller than an initial rotating speed set value; and/or
Judging whether the sampled current detection signal and the sampled rotating speed detection signal meet a third set condition, if so, reducing the terminal voltage of the indoor unit fan motor at a second set rate until the terminal voltage of the indoor unit fan motor is zero, and simultaneously outputting a second fault signal; the third setting condition includes: the current detection signal is smaller than the first current set value in a plurality of detection periods, and the rotating speed detection signal is abnormal; wherein the second set rate is higher than the first set rate.
Further, if the indoor unit fan motor is in an initial operating state, the current protection strategy includes:
and further judging:
whether the starting time of the indoor unit fan motor is more than or equal to a first sub-set value or not, if the starting time of the indoor unit fan motor is more than or equal to the first sub-set value, then:
judging whether the sampled current detection signal is larger than a second current set value or not;
if the current detection signal is larger than a second current set value, determining the deviation of each current detection signal relative to the second current set value in a plurality of sampling periods;
and if the deviations are all in the first interval, cutting off the power supply of the fan motor of the indoor unit, and outputting a first fault signal.
Further, if the indoor unit fan motor is in a normal operation state, the current correction strategy includes:
and further judging:
whether the sampled current detection signal is greater than or equal to a second current set value or not;
if the current detection signal is larger than or equal to a second current set value, determining the deviation of each current detection signal relative to the second current set value in a plurality of subsequent sampling periods;
and if the deviations are all in the first interval, cutting off the power supply of the fan motor of the indoor unit, and outputting a first fault signal.
Further, if the indoor unit fan motor is in a normal operation state, the current correction strategy includes: and further judging:
whether the sampled current detection signal is larger than a first current set value and smaller than a second current set value and whether the set rotating speed of the fan motor of the indoor unit is unchanged;
if the sampled current detection signals are larger than a first current set value and smaller than a second current set value and the set rotating speed of the fan motor of the indoor unit is unchanged, determining the deviation of each current detection signal relative to the second current set value in a plurality of subsequent sampling periods;
and if the deviations are all in the first interval, correcting the power supply voltage of the fan motor of the indoor unit according to the current detection signal, wherein the increment of the power supply voltage is in negative correlation with the current detection signal.
Further, if the indoor unit fan motor is in a normal operation state, the current correction strategy includes: and further judging:
whether the current detection signal continuously increases in a plurality of continuous sampling periods is judged, if yes, whether the current peak value sampled in the plurality of sampling periods is smaller than a second current set value is judged, and if the current peak value is smaller than the second current set value, a first correction rate is called to correct the power supply voltage of the indoor unit fan motor; or to determine
Whether the current detection signal continuously decreases in a plurality of continuous sampling periods or not is judged, and if the current detection signal continuously decreases in the plurality of continuous sampling periods, a second correction rate is called to correct the power supply voltage of the indoor unit fan motor; or to determine
And if the current detection signal is smaller than the first current set value in a plurality of continuous sampling periods, calling a third correction rate to correct the power supply voltage of the indoor unit fan, judging whether the rotating speed detection signal is abnormal or not, and if the rotating speed detection signal is abnormal, outputting a second fault signal.
Further, when the second correction rate is called to correct the power supply voltage of the fan motor of the indoor unit, a working mode detection signal of the air conditioner is called; if the air conditioner is in the cooling mode, the air conditioner enters the indoor unit heat exchanger for anti-freezing protection, and if the air conditioner is in the self-cleaning mode, the air conditioner exits the self-cleaning mode.
Preferably, the first current setting value is smaller than the second current setting value, and absolute values of the first correction rate and the third correction rate are higher than an absolute value of the second correction rate.
The air conditioner control method provided by the invention generates different control strategies according to the running state of the fan motor of the air conditioner indoor unit, accurately judges the running state of the fan motor of the air conditioner indoor unit by using the current detection signal and/or the rotating speed detection signal as input detection parameters, and executes the motor protection action corresponding to the control condition in advance when the motor is abnormal; the method effectively avoids the error of the judgment result caused by the deviation of the input detection parameters due to different running states of the fan motor of the indoor unit of the air conditioner, and can avoid the problem of damage to the motor caused by overlarge temperature rise if the temperature sensor delays.
Meanwhile, an air conditioner is also provided, and the control method of the air conditioner comprises the following steps: sampling a current detection signal of a fan motor in the chamber and a rotating speed detection signal of a Hall sensor;
judging the working state of the fan motor of the indoor unit;
if the fan motor of the indoor unit is in an initial operation state, generating a current protection strategy, and judging whether the current detection signal and/or the rotating speed detection signal meet the corresponding control condition in the current protection strategy, if so, executing a motor protection action corresponding to the control condition;
and if the indoor unit fan motor is in a normal operation state, generating a current correction strategy, judging whether the current detection signal and/or the rotating speed detection signal meet the corresponding control condition in the current correction strategy, and if the current detection signal and/or the rotating speed detection signal meet the corresponding control condition, executing a motor protection action corresponding to the control condition.
The air conditioner provided by the invention has the advantages of good safety and stable use effect.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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 some, but not all, embodiments of the present invention. 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.
Fig. 1 is a flowchart illustrating a first embodiment of a control method for an air conditioner according to the present invention. The air conditioner control method disclosed in the present embodiment includes the steps of:
step 100, the air conditioner indoor unit controller samples a current detection signal of an indoor unit fan motor and a rotating speed detection signal generated by a Hall sensor. The current detection signal is detected and output by a current detection circuit, and the current detection circuit can adopt a current detection circuit which is common in the prior art, is not a protection point of the invention, and is not limited herein.
And step 101, judging the working state of the fan motor of the indoor unit.
Preferably, the working state of the indoor unit fan motor is judged according to the starting time of the indoor unit fan motor. If the starting time of the indoor unit fan motor is less than the first set value, the indoor unit fan motor is in an initial operation state, and if the starting time of the indoor unit fan motor is more than or equal to the first set value, the indoor unit fan motor is in a normal operation state. The first set value is stored in the storage unit of the indoor unit controller, and the first set value is preferably set to 10 minutes.
At step 1021, if the indoor unit fan motor is in the initial operation state, the current protection strategy is generated at step 1031, and the current protection strategy is executed.
In step 1041, specifically, when the current protection strategy is executed, it is first determined whether the current detection signal and/or the rotation speed detection signal satisfy the corresponding control condition in the current protection strategy.
And 1051, if a corresponding control condition in the current protection strategy is met, executing a motor protection action corresponding to the control condition.
Similarly, step 1022 is further included, if the indoor unit fan motor is in a normal operation state, the current correction strategy is generated in step 1031, and the current correction strategy is executed.
Specifically, in step 1042, when the current correction strategy is executed, it is first determined whether the current detection signal and/or the rotation speed detection signal satisfy the corresponding control condition in the current correction strategy.
And 1052, if the corresponding control condition in the current correction strategy is met, executing a motor protection action corresponding to the control condition.
The air conditioner control method provided by the invention generates different control strategies according to the running state of the fan motor of the air conditioner indoor unit, accurately judges the running state of the fan motor of the air conditioner indoor unit by using the current detection signal and/or the rotating speed detection signal as input detection parameters, and executes the motor protection action corresponding to the control condition in advance when the motor is abnormal; the method effectively avoids the error of the judgment result caused by the deviation of the input detection parameters due to different running states of the fan motor of the indoor unit of the air conditioner, and can avoid the problem of damage to the motor caused by overlarge temperature rise if the temperature sensor delays.
Referring to fig. 2 to 5, a process of generating and executing a current protection strategy when an indoor unit fan motor is in an initial operation state will be described in detail.
As shown in fig. 2, if the starting time of the indoor unit fan motor is less than the first set value, the indoor unit fan motor is in the initial operation state, and a current protection strategy is generated. In the current protection strategy, first, as shown in step 201, it is determined whether the starting time of the indoor unit fan motor is less than a first sub-set value, and the first sub-set value is preferably set to 1 minute. And if the starting time of the indoor unit fan motor is less than the first sub-set value, determining that the indoor unit fan motor starts to operate. The current detection signal and the rotational speed detection signal are sampled, and as shown in step 202, it is determined whether the current detection signal and the rotational speed detection signal satisfy a first setting condition of the current protection strategy. Specifically, the first setting condition is that the current detection signal is greater than or equal to a first current setting value, and the rotation speed detection signal is zero. The first current set value is written in advance in a storage unit of the indoor unit controller. And if the sampled current detection signal and the sampled rotating speed detection signal meet the first set condition, indicating that the motor of the indoor unit fan is locked. In step 203, the indoor unit controller turns off the power supply of the indoor unit fan motor and outputs a first failure signal. The first fault signal represents the locked-rotor of the fan motor of the indoor unit.
As shown in fig. 3, in the current protection strategy, as shown in step 301, it is first determined whether the start-up time of the indoor unit fan motor is less than a first sub-set value, and if the start-up time of the indoor unit fan motor is less than the first sub-set value, the current detection signal and the rotation speed detection signal are sampled, and in step 302, it is determined whether the current detection signal and the rotation speed detection signal satisfy a second set condition under the current condition. Specifically, the second setting condition is that the current detection signal is greater than or equal to the first current setting value and the rotation speed detection signal is less than the initial rotation speed setting value. If the sampled current detection signal and the sampled rotation speed detection signal satisfy the second setting condition, it indicates that the load of the indoor unit fan motor is too high, and performs a protection action corresponding to the second setting condition, as shown in step 303, the first setting rate is called to increase the power supply voltage of the indoor unit fan motor until the rotation speed detection signal is equal to the initial rotation speed setting value and the current detection signal is equal to the second current setting value. Wherein the second current setting is greater than the first current setting. If the indoor unit fan motor is a dc fan, the first set rate is preferably increased by 0.02V every 10 seconds. If the indoor unit fan motor is an ac PG fan, the first set rate is preferably increased by 0.5 ms on-time every 10 ms.
As shown in fig. 4, if it is determined that the start-up period of the indoor unit fan motor is less than the first sub-set value as shown in step 401, the current detection signal and the rotation speed detection signal are sampled, and it is determined whether the current detection signal and the rotation speed detection signal satisfy the third setting condition as shown in step 402. Specifically, the third setting condition includes that the current detection signal is smaller than the first current setting value in a plurality of detection periods and the rotation speed detection signal is abnormal. If the sampled current detection signal and the sampled rotation speed detection signal satisfy the third setting condition, it indicates that the motor has a condition of bad wiring, and executes a protection action corresponding to the third setting condition, as shown in step 403, calls a second setting rate, and reduces the terminal voltage of the indoor unit fan motor according to the second setting rate until the terminal voltage of the indoor unit fan motor is zero, and outputs a second fault signal. The second fault signal represents a bad wiring fault. If the indoor unit fan motor is a dc fan, the second set rate is preferably reduced by 0.1V every 10 seconds. If the indoor unit fan motor is an ac PG fan, the second set rate is preferably reduced by 2 ms on-time every 10 ms.
The determination of the first setting condition, the second setting condition and the third setting condition may be performed simultaneously or sequentially, or only one of the setting conditions or two of the setting conditions may be set for different models or different application environments of the motor, thereby forming a more flexible control manner for different models.
As shown in fig. 5, in step 501, if the starting time of the indoor unit fan motor is greater than or equal to the first sub-set value, the current detection signal is sampled. And determines whether the sampled current sense signal is greater than the second current set point, as shown in step 502. If the sampled current detection signal is greater than the second current setting, then a deviation of each of the current detection signals from the second current setting is determined for a plurality of subsequent sampling cycles, as shown in step 503. Preferably, the total duration of the plurality of sampling periods is set to 2 minutes, the sampling frequency can be set according to actual needs, and the sampling frequency is kept constant in the total duration. And calculating the difference value between the current detection signal of each sampling point and the second current set value, and calculating the ratio of the difference value to the second current set value, if all the ratio values are in the first interval as shown in step S504, cutting off the power supply of the fan motor of the indoor unit, and simultaneously outputting a first fault signal representing the motor stalling. The first interval was (4.5%, 5.5%).
Referring to fig. 6 to 10, a current correction strategy generated when the indoor unit fan motor is in a normal operation state will be specifically described.
As shown in fig. 6, when the starting time of the indoor unit fan motor is greater than or equal to the first set value, the indoor unit fan motor is in a normal operation state, and in the current correction strategy, the current detection value is sampled first, and it is determined whether the current detection value is greater than or equal to the second current set value. If the sampled current detection signal is equal to or greater than the second current setting value as shown in step 601, a deviation of each current detection signal from the second current setting value is determined for a plurality of subsequent sampling periods as shown in step 602. Preferably, the total duration of the plurality of sampling periods is set to 2 minutes, the sampling frequency can be set according to actual needs, and the sampling frequency is kept constant in the total duration. Calculating the difference between the current detection value of each sampling point and the second current set value, and calculating the ratio of the difference to the second current set value, if all the ratios are in the first interval in step 603, cutting off the power supply of the fan motor of the indoor unit, and simultaneously outputting a first fault signal representing the motor locked-rotor, wherein the first interval is (4.5%, 5.5%).
If the sampled current detection signal is greater than the first current setting value and less than the second current setting value and the set rotation speed of the indoor unit fan motor is not changed as shown in step 701, the deviation of each current detection signal relative to the second current setting value is determined in a plurality of subsequent sampling periods. Preferably, the total duration of the plurality of sampling periods is set to 5 minutes, and similarly, the sampling frequency can be set according to actual needs, and the sampling frequency is kept constant in the total duration. And calculating the difference value between the current detection signal of each sampling point and the second current set value, and calculating the ratio of the difference value to the second current set value. And if all the ratios are in the first interval, determining that the power supply voltage fluctuates, correcting the power supply voltage of the fan motor of the indoor unit according to the current detection signal, and carrying out negative correlation on the increment of the power supply voltage and the current detection signal. The first interval was (4.5%, 5.5%).
Specifically, when the supply voltage of the indoor unit fan motor is corrected based on the current detection signal, the relative response speed is high, and the supply voltage of the indoor unit fan motor is corrected based on the negative correlation principle. If the difference value between each sampled current detection signal and the second current set value belongs to the first interval and is a positive value, the power supply voltage of the fan motor of the indoor unit is rapidly reduced, and if the difference value between each sampled current detection signal and the second current set value belongs to the first interval and is a negative value, the power supply voltage of the fan motor of the indoor unit is rapidly increased. If the indoor unit fan motor is a dc fan, the supply voltage is preferably corrected at a rate of 0.1V decrease/increase every 10 seconds. If the indoor unit fan motor is an ac PG fan, the supply voltage is preferably corrected at a rate of increasing the on-time by 2 msec every 10 msec, or decreasing the on-time by 1 msec every 10 msec.
In order to ensure the correction effect, in the correction process, a rotating speed detection signal generated by the Hall sensor is synchronously sampled to serve as a feedback signal so as to keep the rotating speed of the indoor fan motor constant in the correction process.
As shown in step a01 of fig. 8, when the indoor unit fan motor is in a normal operation state, the current detection value is sampled, and whether the current detection value is in a state of continuously increasing in a plurality of sampling periods is synchronously determined. The total duration of the multiple sampling periods is set to be continuous 2 minutes, the sampling frequency can be set according to actual needs, and the sampling frequency is kept constant in the continuous total duration. If the current detection value of each sampling point is higher than the current value of the previous sampling point and the same continuous trend is maintained within 2 minutes, as shown in step a01, the current detection signal is determined to continuously increase in a plurality of sampling periods, and further in step a02, it is determined whether the current peak value sampled in the plurality of sampling periods is smaller than the second current set value. If the current peak value is smaller than the second current set value, the motor load is judged to be too high, and if the step A03 shows, the first correction rate is called to correct the power supply voltage of the indoor unit fan motor. If the indoor unit fan motor is a dc fan, the first correction rate is preferably increased by 0.1V every 10 seconds. If the indoor unit fan motor is an ac PG fan, the first set rate is preferably increased by 2 ms on-time every 10 ms.
If the indoor unit fan motor is in the normal operation state, as shown in step B01 in fig. 9, the current detection value is sampled, and it is determined whether the current detection value is in the state of continuously decreasing in a plurality of sampling periods. The total duration of the plurality of sampling periods is set to be 2 minutes continuously, the sampling frequency can be set according to actual needs, and the sampling frequency is kept constant in the total duration. If the current detection value of each sampling point is lower than the current value of the previous sampling point and keeps the same trend within 2 minutes continuously, as shown in step B02, it is determined that the current detection signal continuously decreases in a plurality of sampling periods, and the frosting phenomenon exists in the indoor unit heat exchanger. And calling a second correction rate to correct the power supply voltage of the indoor unit fan motor. Wherein if the indoor unit fan motor is a dc fan, the second correction rate is preferably decreased by 0.05V every 10 seconds. If the indoor unit fan motor is an ac PG fan, the second correction rate is preferably reduced by 1 millisecond on-time every 10 milliseconds. Preferably, when the second correction rate is called to correct the power supply voltage of the fan of the indoor unit, a working mode detection signal of the air conditioner is called; if the air conditioner is in the refrigeration mode, the indoor machine heat exchanger is protected from freezing, if the air conditioner is in the self-cleaning mode, the indoor heat exchanger is judged to be completely frosted, and the self-cleaning mode is exited. Except the two modes, if the current detection signal is continuously reduced, the air conditioner keeps normal operation and simultaneously prompts the abnormal fault of the air duct. Therefore, when the fan motor of the indoor unit is in a normal operation state, the frosting condition of the heat exchanger of the indoor unit can be judged according to the current detection value and the rotating speed detection value. By adopting the method, even if the shunting unevenness of the heat exchanger exists, the judgment can be accurately carried out, and the judgment precision is higher.
If the indoor unit fan motor is in the normal operation state, as shown in step C01 in fig. 10, the current detection value is sampled, and it is determined whether the current detection signal is smaller than the first current setting value in a plurality of consecutive sampling periods. The total duration of the plurality of sampling periods is set to be 2 minutes continuously, the sampling frequency can be set according to actual needs, and the sampling frequency is kept constant in the total duration. If the current detection signal is less than the first current setting value in a plurality of consecutive sampling periods, calling a third correction rate to correct the power supply voltage of the indoor unit fan in step C02, and meanwhile, determining whether the rotation speed detection signal is abnormal, and if the rotation speed detection signal is abnormal, outputting a second fault signal. If the indoor unit fan motor is a dc fan, the third correction rate is preferably reduced by 0.1V every 10 seconds. If the indoor unit fan motor is an ac PG fan, the third correction rate is preferably reduced by 2 msec on-time every 10 msec.
In order to improve the dynamic response speed, different protection strategies are formed according to different motor running states, the first current set value is smaller than the second current set value, and the second current set value is obtained according to motor experiments of different machine types. In the experimental state, the second current setting value may be higher than the rated current of the motor. When the correction rate is set, the principle is that the absolute values of the first correction rate and the third correction rate are higher than the absolute value of the second correction rate, so that different flexible response control strategies are formed aiming at overhigh motor load, frosting of a heat exchanger of the indoor unit and poor wiring, and the operation effect of the motor is ensured on the premise of ensuring the operation safety of the motor.
According to the air conditioner control method, when the motor is prevented from being in a locked-rotor or overload state, and the motor is originally damaged due to overhigh temperature rise when a temperature sensor is adopted to sample detection signals, the current detection signals and the rotating speed detection signals are matched, the indoor unit fan motor can be controlled in advance, the system voltage change can be responded dynamically and quickly, the frosting condition of the heat exchanger can be effectively judged, and the detection error caused by uneven shunting is avoided.
The invention also discloses an air conditioner, and the air conditioner control method disclosed by the embodiment is adopted. For a specific process of the air conditioner control method, reference is made to the detailed description of the above embodiments and the accompanying drawings of the specification, which are not repeated herein. The air conditioner adopting the air conditioner control method has the same technical effect.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.