CN113237189A - Direct current motor starting control method and device, air conditioner and computer readable storage medium - Google Patents

Direct current motor starting control method and device, air conditioner and computer readable storage medium Download PDF

Info

Publication number
CN113237189A
CN113237189A CN202110556631.1A CN202110556631A CN113237189A CN 113237189 A CN113237189 A CN 113237189A CN 202110556631 A CN202110556631 A CN 202110556631A CN 113237189 A CN113237189 A CN 113237189A
Authority
CN
China
Prior art keywords
value
motor
current
pwm
duty cycle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110556631.1A
Other languages
Chinese (zh)
Other versions
CN113237189B (en
Inventor
黄宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Aux Air Conditioning Co Ltd
Ningbo Aux Electric Co Ltd
Original Assignee
Aux Air Conditioning Co Ltd
Ningbo Aux Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Aux Air Conditioning Co Ltd, Ningbo Aux Electric Co Ltd filed Critical Aux Air Conditioning Co Ltd
Priority to CN202110556631.1A priority Critical patent/CN113237189B/en
Publication of CN113237189A publication Critical patent/CN113237189A/en
Application granted granted Critical
Publication of CN113237189B publication Critical patent/CN113237189B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/30Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/61Control or safety arrangements characterised by user interfaces or communication using timers
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • F24F11/63Electronic processing
    • F24F11/64Electronic processing using pre-stored data
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/70Control systems characterised by their outputs; Constructional details thereof
    • F24F11/72Control systems characterised by their outputs; Constructional details thereof for controlling the supply of treated air, e.g. its pressure
    • F24F11/74Control systems characterised by their outputs; Constructional details thereof for controlling the supply of treated air, e.g. its pressure for controlling air flow rate or air velocity
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/88Electrical aspects, e.g. circuits
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F13/00Details common to, or for air-conditioning, air-humidification, ventilation or use of air currents for screening
    • F24F13/24Means for preventing or suppressing noise
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F13/00Details common to, or for air-conditioning, air-humidification, ventilation or use of air currents for screening
    • F24F13/24Means for preventing or suppressing noise
    • F24F2013/247Active noise-suppression
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B30/00Energy efficient heating, ventilation or air conditioning [HVAC]
    • Y02B30/70Efficient control or regulation technologies, e.g. for control of refrigerant flow, motor or heating

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Fluid Mechanics (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Air Conditioning Control Device (AREA)
  • Control Of Direct Current Motors (AREA)

Abstract

本发明提供直流电机启动控制方法、装置、空调及计算机可读存储介质,所述控制方法包括:开启空调器,然后按照如下步骤进行控制:步骤S1:判断是否收到电机启动指令,是则执行步骤S2,否,则执行步骤S6;步骤S2:Vsp端口以最大电压启动电机,电机转动后,输出转速反馈脉冲;步骤S3:检测并记录反馈脉冲个数;步骤S4:根据第一预设时长T1内反馈脉冲个数调整PWM输出的占空比定时器数值X;步骤S5:持续运行第二预设时长T2;步骤S6:直流电机启动控制程序结束。本发明在启动时Vsp端口以最大电压确保电机顺利启动,根据负载自动调整PWM占空比,从而实现风速的缓启动,避免风噪过大或者风机无法顺利启动的问题,大大提升了空调器直流电机的启动稳定性。

Figure 202110556631

The present invention provides a DC motor startup control method, device, air conditioner, and computer-readable storage medium. The control method includes: turning on the air conditioner, and then performing the control according to the following steps: Step S1: judging whether a motor startup instruction is received, and executing if yes Step S2, if no, go to Step S6; Step S2: the Vsp port starts the motor with the maximum voltage, and after the motor rotates, the speed feedback pulse is output; Step S3: Detect and record the number of feedback pulses; Step S4: According to the first preset duration The number of feedback pulses in T1 adjusts the value X of the duty cycle timer output by the PWM; Step S5 : continue to run for a second preset duration T2 ; Step S6 : the DC motor startup control program ends. The invention ensures the smooth start of the motor with the maximum voltage at the Vsp port when starting, and automatically adjusts the PWM duty cycle according to the load, thereby realizing the slow start of the wind speed, avoiding the problem of excessive wind noise or the failure of the fan to start smoothly, and greatly improving the direct current of the air conditioner. The starting stability of the motor.

Figure 202110556631

Description

Direct current motor starting control method and device, air conditioner and computer readable storage medium
Technical Field
The invention relates to the field of air conditioners, in particular to a direct current motor starting control method and device, an air conditioner and a computer readable storage medium.
Background
The built-in driving direct current motor used in the air conditioner is started in a fixed PWM duty ratio after being started generally, and closed-loop control is carried out after the start for a certain time to reach the target rotating speed set by a user.
In chinese patent CN105186932A, when an air conditioner is started, a PWM pulse with a duty ratio of P0% is transmitted to a dc motor, and then it is determined whether the dc motor is started, if the dc motor is not started, the duty ratio of the PWM pulse is gradually increased until the motor is started, or the duty ratio of the PWM pulse is gradually increased until P1%, and then the duty ratio of the PWM pulse is increased until the motor is started after a certain time, and the motor is started by gradually approaching a starting voltage, so that it is possible to deal with the start of motors with different loads or models. In the patent, the starting is carried out by using a fixed duty ratio, then the fixed PWM duty ratio is gradually increased, when the fixed PWM duty ratio is excessively increased, wind speed overshoot is caused, wind noise is generated, user experience is influenced, and when the fixed PWM duty ratio is excessively decreased, the phenomenon of poor starting in winter is possibly caused, and false alarm protection is caused.
In view of the above, the present invention is particularly proposed.
Disclosure of Invention
The invention solves the problem that in the prior art, an air conditioner direct current motor is started by using a fixed PWM duty ratio or is started by increasing the fixed PWM duty ratio every time, when the fixed PWM duty ratio is too large, wind noise is easy to generate, and when the fixed PWM duty ratio is too small, poor starting is easy to exist.
In order to solve the problems, the invention provides a starting control method of a direct current motor, during starting, the maximum voltage (determined by a PWM output level and a hardware circuit, the maximum duty ratio can be determined, and the minimum duty ratio can also be determined) is firstly given, the feedback pulse of the motor is detected from a main control chip, the number of the feedback pulse lasting for T1 time is calculated, the subsequent conducting voltage is automatically calculated according to the number of the feedback pulse in unit time, and then the closed-loop rotating speed control is carried out after the feedback pulse lasts for T2 time, so that the PWM duty ratio automatically adapts to load change during starting, the starting is ensured to be noiseless, and the possible hidden trouble of abnormal starting is solved.
The invention discloses a direct current motor starting control method, which starts an air conditioner and then controls the air conditioner according to the following steps:
step S1: judging whether a motor starting instruction is received, if so, executing the step S2, otherwise, executing the step S6;
step S2: the Vsp port starts the motor at the maximum voltage, and after the motor rotates, a rotating speed feedback pulse is output;
step S3: detecting and recording the number of feedback pulses;
step S4: adjusting the duty ratio timer value X of PWM output according to the number of feedback pulses in a first preset time length T1;
step S5: continuously operating for a second preset time period T2;
step S6: the direct current motor starting control program is ended;
wherein, T1, T2 are the duration of presetting, X is the duty cycle timer value of PWM output, X is read or adjusted by the chip.
This setting can be under the condition of guaranteeing to start successfully, and the automatic initial on-time of confirming according to the load realizes the slow start of DC motor and wind speed, has avoided the bad hidden danger of starting, has also ensured that the air conditioner starts noiselessness, has improved user's use greatly and has experienced
Further, before performing step S2, the following steps are performed:
step S20: judging whether the model is the air conditioner model with the maximum voltage of the Vsp port corresponding to the minimum PWM waveform duty ratio, if so, executing the step S201; otherwise, go to step 202;
step S201: taking the minimum value of X, and then executing step S204;
step S202: taking the maximum value of X, and then executing step S204;
step S204: and starting to output the PWM waveform.
This setting can be to two kinds of models different X values of setting when starting, and then ensures that the Vsp port starts the motor with maximum voltage to the motor starts smoothly, has avoided the bad condition of start to take place.
Further, step S3 specifically includes:
step S31: judging whether the main control chip detects the feedback pulse, if so, executing the step S32, otherwise, returning to execute the step S204;
step S32: starting timing from the detection of the first feedback pulse, and simultaneously recording the number of the feedback pulses;
step S33: and judging whether the first preset time length T1 is reached, if yes, executing the step S4, and if not, returning to execute the step S32.
This setting counts the number of feedback pulses collected over a first predetermined time period T1 in preparation for subsequent X value adjustments.
Further, before any one of the steps S1, S2, S3 and S4 is executed, the following steps are executed:
step S00: reading the values of A1 or A2, B, K;
wherein, A1 is the minimum duty ratio of PWM output in the model with maximum Vsp port voltage when the duty ratio of PWM waveform is minimum; a2 is the maximum duty ratio of PWM output in the model with maximum Vsp port voltage when the PWM waveform duty ratio is maximum; b is a preset threshold value, and K is a preset coefficient.
The value of A1 or A2, B, K is preset in a memory for reading according to different models, and the memory comprises but is not limited to EPROM, EEPROM and the like.
Further, step S4 specifically includes:
step S41: judging whether the voltage is the air conditioner type of the maximum voltage of the Vsp port corresponding to the minimum PWM waveform duty ratio;
step S42: calculating the current X value according to the judgment result of the step S41 and the number of feedback pulses detected within the time T1;
step S43: and comparing the current X value with a preset threshold B, and adjusting the X value according to the comparison result.
Whether the rotating speed of the fan is too fast can be judged by comparing the current X value with a preset threshold value B, if the rotating speed of the fan is too fast, the X value is adjusted so that the rotating speed of the fan is reduced, the condition of overlarge noise is avoided, and the use experience of a user is guaranteed.
Further, when the determination result of step S41 is yes, the calculation formula of the current X value in step S42 is:
X=A1+K*FC;
wherein, FC is the number of feedback pulses recorded in a time period of T1;
step S43 further includes:
step S431: judging whether the current X value is larger than or equal to B, if so, executing a step S432, and if not, executing a step S433;
step S432: adjusting the current X value to meet the requirement that the current X value is B;
step S433: and updating the X value on the timer to be the current X value.
The current air conditioner is an air conditioner type with the minimum PWM waveform duty ratio corresponding to the maximum voltage of a Vsp port, in the starting process of a fan, the current X value is increased along with the increase of the rotating speed of the fan, when the current X value is larger than or equal to B, the rotating speed of the fan is indicated to be too high, wind noise is easily formed, the use experience of a user is influenced, the current X value is set to B, the fan can be operated at the target rotating speed, the wind noise cannot be caused, the use experience of the user is ensured, when the current X value is smaller than B, the current voltage is indicated to be lower, the fan cannot be operated at the target rotating speed, the X value on a timer is updated to be the current X value, the fan can be ensured to be operated at the maximum rotating speed which can be reached under the current voltage condition, and.
Further, when the determination result of step S41 is no, the calculation formula of the current X value in step S42 is:
X=A2-K*FC;
wherein, FC is the number of feedback pulses recorded in a time period of T1;
step S43 further includes:
step S431: judging whether X is less than or equal to B, if so, executing step S432, otherwise, executing step S433;
step S432: adjusting the value of X to satisfy X ═ B;
step S433: and updating the X value on the timer to be the current X value.
The current air conditioner is an air conditioner type with the maximum PWM waveform duty ratio corresponding to the maximum voltage of a Vsp port, in the starting process of a fan, the current X value is reduced along with the increase of the rotating speed of the fan, when the current X value is less than or equal to B, the rotating speed of the fan is over-high, wind noise is easy to form, the use experience of a user is influenced, the current X value is set to B, the fan can operate at the target rotating speed, the wind noise cannot be caused, the use experience of the user is ensured, when the current X value is greater than B, the current voltage is lower, the fan cannot operate at the target rotating speed, the X value on a timer is updated to the current X value, the fan can be ensured to operate at the maximum rotating speed which can be reached under the current voltage condition, and the use requirement of the user is met as much as possible.
The invention also discloses a starting device of the direct current motor, which comprises:
the PWM duty ratio control module is used for outputting and controlling the duty ratio of a PWM waveform;
the pulse output module is used for outputting rotating speed feedback pulses after the motor rotates;
the pulse receiving module is used for receiving and recording the number of the rotating speed feedback pulses;
and the calculation judgment module is used for calculating a current X value, comparing the current X value with a B value and outputting a judgment result to the PWM duty ratio control module to adjust the PWM waveform duty ratio, wherein X is a duty ratio timer value output by PWM and B is a preset threshold value.
Through the cooperation between the modules, when the direct current motor is started, the duty ratio of the PWM waveform is automatically adjusted according to the load, so that the slow start of the direct current motor is realized, the problem of wind noise caused by overlarge rotating speed of a fan when the direct current motor is started is also avoided, and the comfort and satisfaction of a user are greatly improved.
The invention also discloses an air conditioner, which comprises a computer readable storage medium and a processor, wherein the computer readable storage medium is used for storing a computer program, and the computer program is read by the processor and runs to realize the direct current motor starting control method.
Compared with the prior art, the air conditioner and the direct current motor starting control method have the same advantages, and are not described again.
The invention also discloses a computer readable storage medium, which stores a computer program, and when the computer program is read and run by a processor, the method realizes the direct current motor starting control method.
Compared with the prior art, the direct current motor starting control method, the direct current motor starting control device, the air conditioner and the computer readable storage medium have the following advantages:
when the motor is started, the Vsp is output at the maximum voltage to ensure the smooth starting of the motor, meanwhile, a built-in controller of the motor outputs feedback pulses corresponding to the rotating speed after the motor rotates, counting is carried out within preset time T1 after the master controller of the air conditioner receives the feedback pulses, the rotating speed of the motor is calculated according to the pulse counting condition, the PWM duty ratio is adjusted according to the counting condition, then closed-loop control of the rotating speed is achieved, and under the condition that the starting success is ensured, the PWM duty ratio is automatically adjusted according to the load, so that the slow starting of the wind speed is achieved, and the problem that a fan cannot be started smoothly due to overlarge wind noise or undersize duty ratio caused by overlarge duty ratio in the prior art is solved.
Drawings
Fig. 1 is a circuit diagram of a dc motor according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a dc motor driving control method according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail with reference to the accompanying drawings and embodiments. It is to be understood that the embodiments described are only a few embodiments of the present invention, and not all embodiments. The specific embodiments described herein are merely illustrative of the invention and do not delimit the invention. It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict.
As shown in fig. 1, when the dc motor is started, a built-in driver outputs a PWM signal, and after being driven by a transistor and optically coupled and isolated, a digital signal (i.e., a PWM waveform) is converted into an analog signal (i.e., a voltage of a Vsp port, which is a speed control port on the motor) through capacitive filtering, a controller built in the fan controls a fan rotation speed by sampling the voltage of the Vsp port, where the fan rotation speed is proportional to the voltage of the Vsp port, it should be understood that if the chip driving force is large enough, the transistor may not be used for driving, and the above description is used to help understanding the contents in the embodiments of the present invention.
The following describes a dc motor start control method, an apparatus, an air conditioner, and a computer-readable storage medium according to embodiments of the present invention with reference to the accompanying drawings.
Example 1
The embodiment provides a method for controlling the starting of a direct current motor, which is used for an air conditioner, and as shown in fig. 2, the air conditioner is started first, and then the following control is performed:
starting the direct current motor by the Vsp port at the maximum voltage, and detecting and recording the number of the rotating speed feedback pulses; and adjusting the duty ratio timer value X output by the PWM according to the number of the rotating speed feedback pulses detected in the preset time length T1, wherein T1 is the preset time length, X is the duty ratio timer value output by the PWM, and the value X is read or adjusted by the chip.
The Vsp port starts the direct current motor at the maximum voltage to ensure smooth starting, then the rotating speed of the fan is judged according to the number of feedback pulses within the preset time, the load of the fan is further determined, the value X of the duty ratio timer output by PWM is adjusted according to the load, namely the output of the duty ratio is adjusted, the dynamic adjustment of the duty ratio is realized, the problem that the duty ratio is too large or too small in the prior art is solved, and the use experience of a user is improved.
Specifically, the method comprises the following steps:
step S1: judging whether a motor starting instruction is received, if so, executing the step S2, otherwise, executing the step S6;
step S2: the Vsp port starts the motor at the maximum voltage, and after the motor rotates, a rotating speed feedback pulse is output;
when the motor is started, the Vsp port starts the motor at the maximum voltage so as to ensure the smooth starting of the motor and avoid the condition of poor starting of the motor.
Step S3: detecting and recording the number of feedback pulses;
the rotating speed of the fan is monitored by detecting the number of the feedback pulses, so that the rotating speed of the fan can be adjusted when the rotating speed of the fan is too high, and the condition that wind noise affects users is avoided.
Step S4: adjusting the duty ratio timer value X of PWM output according to the number of feedback pulses in a first preset time length T1;
the fan rotating speed is monitored through feedback pulse counting, the duty ratio output by PWM is adjusted according to the number of feedback pulses, the voltage of a Vsp port is adjusted, the fan rotating speed is changed, the phenomenon that the noise is too large due to the fact that the fan rotating speed is too fast is avoided, user experience is influenced, and the duty ratio timer value X output by PWM can be read or adjusted through a chip.
Step S5: continuously operating for a second preset time period T2;
the T2 is a preset time threshold, so that the fan can be ensured to stably run for a certain time and then enter the next link, and the stable starting of the direct current motor is ensured.
Step S6: the dc motor start control routine ends.
Through the adjustment, the initial conduction time can be automatically confirmed according to the load under the condition of ensuring the successful starting, the slow starting of the direct current motor and the wind speed is realized, the hidden trouble of poor starting is avoided, the noiseless starting of the air conditioner is also ensured, the use experience of a user is greatly improved, wherein the first preset time T1 and the second preset time T2 are preset time periods, and what needs to be explained is that: after the determination in step S1 is no, step S6 is entered to indicate that the air conditioner does not issue a command to turn on the fan, the fan is not running, and step S5 is entered to S6 to indicate that the dc motor is successfully started, the operation of the dc motor start module is completed, and a stage of closed-loop control of the fan speed is entered.
As is well known, the voltage of the Vsp port is generally controlled by the duty ratio of the PWM waveform, in the prior art, due to the difference between the PWM output level and the hardware circuit, there are two different models in the air conditioner, one is that the Vsp port voltage is maximum when the duty ratio of the PWM waveform is minimum, and the other is that the Vsp port voltage is maximum when the duty ratio of the PWM waveform is maximum, in order to make the control method in the present embodiment meet the control requirements of the two models, before executing step S2, the following steps are executed:
step S20: judging whether the model is the air conditioner model with the maximum voltage of the Vsp port corresponding to the minimum PWM waveform duty ratio, if so, executing the step S201; otherwise, go to step 202;
step S201: taking the minimum value of X, and then executing step S204;
step S202: taking the maximum value of X, and then executing step S204;
step S204: and starting a duty ratio timer of the PWM output to output a PWM waveform.
The step can set different X values for the two types of machines during starting, and further ensures that the Vsp port starts the motor at the maximum voltage, so that the motor is started smoothly, and the condition of poor starting is avoided.
Step S3 specifically includes the following steps:
step S31: judging whether the main control chip detects the feedback pulse, if so, executing the step S32, otherwise, returning to execute the step S204;
step S32: starting timing from the detection of the first feedback pulse, and simultaneously recording the number of the feedback pulses;
step S33: and judging whether the first preset time length T1 is reached, if yes, executing the step S4, and if not, returning to execute the step S32.
Through the setting, the number of the collected feedback pulses in the first preset time period T1 is counted, and preparation is made for subsequent X value adjustment.
In this embodiment, step S4 specifically includes:
step S41: judging whether the voltage is the air conditioner type of the maximum voltage of the Vsp port corresponding to the minimum PWM waveform duty ratio;
step S42: calculating the current X value according to the judgment result of the step S41 and the number of feedback pulses detected within the time T1;
step S43: and comparing the current X value with a preset threshold B, and adjusting the X value according to the comparison result.
The current X value is calculated according to a preset calculation mode, whether the rotating speed of the fan is too fast can be judged by comparing the current X value with a preset threshold value B, if the rotating speed of the fan is too fast, the X value is adjusted to enable the rotating speed of the fan to be reduced, the situation of overlarge noise is avoided, and the use experience of a user is guaranteed.
In the present embodiment, before any one of the steps S1, S2, S3 and S4 is executed, the following steps are executed:
step S00: reading the values of A1 or A2, B, K;
wherein, A1 is the minimum duty ratio of PWM output in the model with maximum Vsp port voltage when the duty ratio of PWM waveform is minimum; a2 is the maximum duty ratio of PWM output in the model with maximum Vsp port voltage when the PWM waveform duty ratio is maximum; b is a preset threshold value, and K is a preset coefficient.
It should be understood that the value of a1 or a2, B, K is preset in a Memory for reading according to the model, and the Memory includes but is not limited to EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), and the like.
Wherein, when the determination result of step S41 is yes, the calculation formula of the current X value in step S42 is:
X=A1+K*FC;
wherein, a1 is the minimum duty cycle of the PWM waveform output; k is a preset coefficient, and FC is the number of feedback pulses recorded in a time period of T1.
In this case, when the determination result of step S41 is yes, step S43 further includes the steps of:
step S431: judging whether the current X value is larger than or equal to B, if so, executing a step S432, and if not, executing a step S433;
step S432: adjusting the current X value to meet the requirement that the current X value is B;
step S433: and updating the X value on the timer to be the current X value.
In the setting, the current air conditioner is an air conditioner type with the minimum PWM waveform duty ratio corresponding to the maximum voltage of a Vsp port, the current X value is increased along with the increase of the rotating speed of the fan in the starting process of the fan, when the current X value is larger than or equal to B, the rotating speed of the fan is too high, wind noise is easy to form, user use experience is influenced, the current X value is set to B, the fan can be operated at the target rotating speed, the wind noise cannot be caused, the user use experience is ensured, when the current X value is smaller than B, the current voltage is lower, the fan cannot be operated at the target rotating speed, the X value on the timer is updated to the current X value, the fan can be ensured to be operated at the maximum rotating speed under the current voltage condition, the use requirement of a user is met as much as possible, and the change of the PWM waveform duty ratio can be caused by the change of the X value, the technical scheme realizes that the PWM duty, the starting is ensured to be noiseless, and the potential hidden trouble of abnormal starting is solved.
When the determination result of step S41 is no, the calculation formula of the current X value in step S42 is:
X=A2-K*FC;
wherein, a2 is the maximum duty cycle of the PWM waveform output; k is a preset coefficient, and FC is the number of feedback pulses recorded in a time period of T1.
In this case, when the determination result of step S41 is no, step S43 further includes the steps of:
step S431: judging whether X is less than or equal to B, if so, executing step S432, otherwise, executing step S433;
step S432: adjusting the value of X to satisfy X ═ B;
step S433: and updating the X value on the timer to be the current X value.
In the setting, the current air conditioner is an air conditioner type with the maximum PWM waveform duty ratio corresponding to the maximum voltage of a Vsp port, the current X value is reduced along with the increase of the rotating speed of the fan in the starting process of the fan, when the current X value is less than or equal to B, the rotating speed of the fan is too high, wind noise is easy to form, user use experience is influenced, the current X value is set to B, the fan can be operated at the target rotating speed, wind noise cannot be caused, user use experience is ensured, when the current X value is greater than B, the current voltage is lower, the fan cannot be operated at the target rotating speed, the X value on a timer is updated to the current X value, the fan can be ensured to be operated at the maximum rotating speed under the current voltage condition, the use requirement of a user is met as much as possible, and the change of the PWM waveform duty ratio can be caused by the change of the X value, so that the technical scheme realizes that the PWM duty ratio automatically adapts to the load change, the starting is ensured to be noiseless, and the potential hidden trouble of abnormal starting is solved.
Example 2
The embodiment discloses a starting device of a direct current motor, which is used for realizing the starting control method of the direct current motor in the embodiment 1.
The DC motor starting device comprises:
the PWM duty ratio control module is used for outputting and controlling the duty ratio of a PWM waveform;
the pulse output module is used for outputting rotating speed feedback pulses after the motor rotates;
the pulse receiving module is used for receiving and recording the number of the rotating speed feedback pulses;
and the calculation judgment module is used for calculating a current X value, comparing the current X value with a B value and outputting a judgment result to the PWM duty ratio control module to adjust the PWM waveform duty ratio, wherein X is a duty ratio timer value output by PWM and B is a preset threshold value.
Through the cooperation between the modules, when the direct current motor is started, the duty ratio of the PWM waveform is automatically adjusted according to the load, so that the slow start of the direct current motor is realized, the problem of wind noise caused by overlarge rotating speed of a fan when the direct current motor is started is also avoided, and the comfort and satisfaction of a user are greatly improved.
Example 3
The embodiment discloses an air conditioner, which comprises the direct current motor starting device in the embodiment 2.
The air conditioner disclosed in the present embodiment includes a computer-readable storage medium storing a computer program and a processor, and when the computer program is read and executed by the processor, the method for controlling the start of the dc motor according to embodiment 1 is implemented.
Compared with the prior art, the air conditioner and the direct current motor starting control method in embodiment 1 have the same advantages, and are not described again here.
Example 4
The embodiment discloses a computer-readable storage medium, which stores a computer program, and when the computer program is read and executed by a processor, the computer program implements the dc motor start control method according to embodiment 1.
Although the present invention is disclosed above, the present invention is not limited thereto. In the description herein, references to the description of the term "one embodiment," "some embodiments," "an illustrative embodiment," "an example," "a specific example," or "some examples" or the like mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Various changes and modifications may be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1.一种直流电机启动控制方法,其特征在于,开启空调器,然后按照如下步骤进行控制:1. a direct current motor starting control method, it is characterized in that, open air conditioner, then control according to the following steps: 步骤S1:判断是否收到电机启动指令,是则执行步骤S2,否,则执行步骤S6;Step S1: determine whether the motor startup command is received, if yes, go to step S2, if not, go to step S6; 步骤S2:Vsp端口以最大电压启动电机,电机转动后,输出转速反馈脉冲;Step S2: The Vsp port starts the motor with the maximum voltage, and after the motor rotates, the speed feedback pulse is output; 步骤S3:检测并记录反馈脉冲个数;Step S3: detecting and recording the number of feedback pulses; 步骤S4:根据第一预设时长T1内反馈脉冲个数调整PWM输出的占空比定时器数值X;Step S4: adjust the duty cycle timer value X of the PWM output according to the number of feedback pulses in the first preset duration T1; 步骤S5:持续运行第二预设时长T2;Step S5: continue to run the second preset duration T2; 步骤S6:直流电机启动控制程序结束;Step S6: the start-up control program of the DC motor ends; 其中,T1、T2为预设时长,X为PWM输出的占空比定时器数值,所述X由芯片读取或者调整。Among them, T1 and T2 are preset durations, X is the value of the duty cycle timer output by the PWM, and the X is read or adjusted by the chip. 2.如权利要求1所述的一种直流电机启动控制方法,其特征在于,在执行步骤S2之前,执行以下步骤:2. A DC motor startup control method as claimed in claim 1, characterized in that, before step S2 is performed, the following steps are performed: 步骤S20:判断是否是最小PWM波形占空比对应Vsp端口最大电压的空调机型,是,则执行步骤S201;否,则执行步骤202;Step S20: Determine whether it is an air conditioner model with the minimum PWM waveform duty cycle corresponding to the maximum voltage of the Vsp port, if yes, go to step S201; if not, go to step 202; 步骤S201:X取最小值,之后执行步骤S204;Step S201: X takes the minimum value, and then executes Step S204; 步骤S202:X取最大值,之后执行步骤S204;Step S202: X takes the maximum value, and then executes Step S204; 步骤S204:启动输出PWM波形。Step S204: Start to output the PWM waveform. 3.如权利要求2所述的一种直流电机启动控制方法,其特征在于,步骤S3具体包括:3. A kind of DC motor starting control method as claimed in claim 2, is characterized in that, step S3 specifically comprises: 步骤S31:判断主控芯片是否检测到反馈脉冲,是,则执行步骤S32,否,则返回执行步骤S204;Step S31: judging whether the main control chip detects a feedback pulse, if yes, go to step S32, if not, go back to go to step S204; 步骤S32:从检测到首个反馈脉冲开始计时,并同时记录反馈脉冲个数;Step S32: start timing from the detection of the first feedback pulse, and record the number of feedback pulses at the same time; 步骤S33:判断是否达到第一预设时长T1,是,则执行步骤S4,否,则返回执行S32。Step S33: Determine whether the first preset time length T1 is reached, if yes, go to Step S4, if not, go back to S32. 4.如权利要求1所述的一种直流电机启动控制方法,其特征在于,在执行步骤S1、步骤S2、步骤S3、步骤S4任一步骤之前,执行以下步骤:4. A DC motor startup control method according to claim 1, characterized in that, before any step of step S1, step S2, step S3, and step S4 is performed, the following steps are performed: 步骤S00:读取A1或A2、B、K的数值;Step S00: read the value of A1 or A2, B, K; 其中,A1是在PWM波形占空比最小时Vsp端口电压最大的机型中,PWM输出的最小占空比;A2是在PWM波形占空比最大时Vsp端口电压最大的机型中,PWM输出的最大占空比;B为预设阈值,K为预设系数。Among them, A1 is the minimum duty cycle of the PWM output in the model with the largest Vsp port voltage when the PWM waveform duty cycle is the smallest; A2 is the model with the largest Vsp port voltage when the PWM waveform duty cycle is the largest, the PWM output The maximum duty cycle of ; B is the preset threshold, and K is the preset coefficient. 5.如权利要求4所述的一种直流电机启动控制方法,其特征在于,步骤S4具体包括:5. The control method for starting a DC motor according to claim 4, wherein step S4 specifically comprises: 步骤S41:判断是否是最小PWM波形占空比对应Vsp端口最大电压的空调机型;Step S41: judging whether it is an air conditioner model with the minimum PWM waveform duty cycle corresponding to the maximum voltage of the Vsp port; 步骤S42:根据步骤S41的判定结果以及T1时间内检测到的反馈脉冲个数计算当前X值;Step S42: Calculate the current X value according to the determination result of Step S41 and the number of feedback pulses detected within T1; 步骤S43:将当前X值与预设阈值B比较,并根据比较结果调整X值。Step S43: Compare the current X value with the preset threshold B, and adjust the X value according to the comparison result. 6.如权利要求5所述的一种直流电机启动控制方法,其特征在于,当步骤S41的判定结果为是时,步骤S42中当前X值的计算公式为:6. A DC motor startup control method as claimed in claim 5, characterized in that, when the determination result of step S41 is yes, the calculation formula of the current X value in step S42 is: X=A1+K*FC;X=A1+K*FC; 其中,FC为T1时长周期内记录的反馈脉冲个数;Among them, FC is the number of feedback pulses recorded in the T1 duration period; 步骤S43还包括:Step S43 also includes: 步骤S431:判断是否满足当前X值≥B,是,则执行步骤S432,否,则执行步骤S433;Step S431: Determine whether the current X value ≥ B is satisfied, if yes, go to step S432, if not, go to step S433; 步骤S432:调整当前X值,使其满足当前X值=B;Step S432: Adjust the current X value to satisfy the current X value=B; 步骤S433:定时器上X值更新为当前X值。Step S433: The X value on the timer is updated to the current X value. 7.如权利要求5所述的一种直流电机启动控制方法,其特征在于,当步骤S41的判定结果为否时,步骤S42中当前X值的计算公式为:7. A DC motor startup control method as claimed in claim 5, characterized in that, when the determination result of step S41 is no, the calculation formula of the current X value in step S42 is: X=A2-K*FC;X=A2-K*FC; 其中,FC为T1时长周期内记录的反馈脉冲个数;Among them, FC is the number of feedback pulses recorded in the T1 duration period; 步骤S43还包括:Step S43 also includes: 步骤S431:判断是否满足X≤B,是,则执行步骤步骤S432,否则执行步骤S433;Step S431: judge whether X≤B is satisfied, if yes, then go to step S432, otherwise go to step S433; 步骤S432:调整X值,使其满足X=B;Step S432: Adjust the X value to satisfy X=B; 步骤S433:定时器上X值更新为当前X值。Step S433: The X value on the timer is updated to the current X value. 8.一种直流电机启动装置,其特征在于,包括:8. A direct current motor starting device, characterized in that, comprising: PWM占空比控制模块,用于输出并控制PWM波形占空比;PWM duty cycle control module, used to output and control the PWM waveform duty cycle; 脉冲输出模块,用于在电机转动后输出转速反馈脉冲;The pulse output module is used to output the speed feedback pulse after the motor rotates; 脉冲接收模块,用于接收并记录转速反馈脉冲个数;The pulse receiving module is used to receive and record the number of speed feedback pulses; 计算判断模块,用于计算当前X值,将当前X值与B值比较,并将判断结果输出至PWM占空比控制模块以调整PWM波形占空比,其中,X为PWM输出的占空比定时器数值,B为预设阈值。The calculation and judgment module is used to calculate the current X value, compare the current X value with the B value, and output the judgment result to the PWM duty cycle control module to adjust the PWM waveform duty cycle, where X is the duty cycle of the PWM output Timer value, B is the preset threshold. 9.一种空调,其特征在于,包括存储有计算机程序的计算机可读存储介质和处理器,所述计算机程序被所述处理器读取并运行时,实现如权利要求1-7任一项所述的直流电机启动控制方法。9. An air conditioner, characterized in that it comprises a computer-readable storage medium and a processor that stores a computer program, and when the computer program is read and run by the processor, any one of claims 1-7 is realized. The described DC motor startup control method. 10.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器读取并运行时,实现如权利要求1-7任一项所述的直流电机启动控制方法。10. A computer-readable storage medium, characterized in that, the computer-readable storage medium stores a computer program, and when the computer program is read and executed by a processor, the computer program as claimed in any one of claims 1-7 is implemented. The described DC motor start-up control method.
CN202110556631.1A 2021-05-21 2021-05-21 DC motor starting control method, device, air conditioner and computer readable storage medium Active CN113237189B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110556631.1A CN113237189B (en) 2021-05-21 2021-05-21 DC motor starting control method, device, air conditioner and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110556631.1A CN113237189B (en) 2021-05-21 2021-05-21 DC motor starting control method, device, air conditioner and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN113237189A true CN113237189A (en) 2021-08-10
CN113237189B CN113237189B (en) 2022-04-19

Family

ID=77138084

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110556631.1A Active CN113237189B (en) 2021-05-21 2021-05-21 DC motor starting control method, device, air conditioner and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113237189B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115218376A (en) * 2022-07-27 2022-10-21 广东万颗子智控科技有限公司 Air conditioner starting control method, air conditioner and storage medium
CN115313921A (en) * 2022-07-27 2022-11-08 江苏东成工具科技有限公司 Electric tool speed regulating system and method
CN115930293A (en) * 2022-12-12 2023-04-07 青岛海信日立空调系统有限公司 Air conditioning system and control method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090069995A (en) * 2007-12-26 2009-07-01 주식회사 대우일렉트로닉스 Low noise operation method of air conditioner by controlling speed of indoor unit fan motor
CN105180343A (en) * 2015-06-26 2015-12-23 Tcl空调器(中山)有限公司 Air conditioner adjustment method and device
CN105186932A (en) * 2014-05-26 2015-12-23 珠海格力电器股份有限公司 Method for controlling starting rotating speed of direct current motor
JP2017118667A (en) * 2015-12-24 2017-06-29 三星電子株式会社Samsung Electronics Co.,Ltd. Control device, inductance estimation device, air conditioner and control method
CN107940670A (en) * 2017-11-03 2018-04-20 广东美的制冷设备有限公司 Opening-closing structure control method, air conditioner and the readable storage medium storing program for executing of air conditioner

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090069995A (en) * 2007-12-26 2009-07-01 주식회사 대우일렉트로닉스 Low noise operation method of air conditioner by controlling speed of indoor unit fan motor
CN105186932A (en) * 2014-05-26 2015-12-23 珠海格力电器股份有限公司 Method for controlling starting rotating speed of direct current motor
CN105180343A (en) * 2015-06-26 2015-12-23 Tcl空调器(中山)有限公司 Air conditioner adjustment method and device
JP2017118667A (en) * 2015-12-24 2017-06-29 三星電子株式会社Samsung Electronics Co.,Ltd. Control device, inductance estimation device, air conditioner and control method
CN107940670A (en) * 2017-11-03 2018-04-20 广东美的制冷设备有限公司 Opening-closing structure control method, air conditioner and the readable storage medium storing program for executing of air conditioner

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115218376A (en) * 2022-07-27 2022-10-21 广东万颗子智控科技有限公司 Air conditioner starting control method, air conditioner and storage medium
CN115313921A (en) * 2022-07-27 2022-11-08 江苏东成工具科技有限公司 Electric tool speed regulating system and method
CN115218376B (en) * 2022-07-27 2024-03-12 广东万颗子智控科技有限公司 Air conditioner starting control method, air conditioner and storage medium
CN115930293A (en) * 2022-12-12 2023-04-07 青岛海信日立空调系统有限公司 Air conditioning system and control method thereof

Also Published As

Publication number Publication date
CN113237189B (en) 2022-04-19

Similar Documents

Publication Publication Date Title
CN113237189A (en) Direct current motor starting control method and device, air conditioner and computer readable storage medium
US20100256821A1 (en) Constant airflow control of a ventilation system
DK2251248T3 (en) A control unit and control method for a motorized vehicle
WO2010120429A2 (en) Constant airflow control of a ventilation system
CN110410983B (en) Humidification rate control method and device of humidification device and humidifier
CN104265669A (en) Rotating speed control method and device of brushless DC fan, fan and refrigerator
CN112443888A (en) Air conditioner and control method and device thereof
CN114531066A (en) Direct current motor, starting control method and device thereof, air conditioner and storage medium
KR101192283B1 (en) Calibration of motor for constant airflow control
WO2018059050A1 (en) Fan and switch on/off control method and apparatus thereof
KR101143366B1 (en) Constant airflow control of a ventilation system
KR101103018B1 (en) Constant air flow control of the ventilation system
WO2024016612A1 (en) Direct-current motor control method and storage medium
CN112460682A (en) Air conditioner and control method and device thereof
JP6031974B2 (en) Air conditioner outdoor unit
CN112737418B (en) Motor starting control method and device, air conditioner and storage medium
JP2007319455A (en) Self-propelled vacuum cleaner and its program
CN112484244A (en) Control method and device for fan of air conditioner indoor unit
JP4802529B2 (en) ELECTRIC LIQUID PUMP, CONTROL METHOD AND CONTROL DEVICE THEREOF
JPWO2022030205A5 (en)
US20190353170A1 (en) Method of starting a fan using an open loop starting stage with a decreasing drive signal value
WO2019228197A1 (en) Mode control method and system, and electronic apparatus and storage medium
CN114301332B (en) Motor control method, control device, control equipment, motor and electrical equipment
WO2018059049A1 (en) Fan and control method and device therefor
TWI600253B (en) Battery power output management device and management method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 315191 No. 1166 Mingguang North Road, Jiangshan Town, Ningbo, Zhejiang, Yinzhou District

Patentee after: NINGBO AUX ELECTRIC Co.,Ltd.

Country or region after: China

Patentee after: AUX AIR CONDITIONING LIMITED BY SHARE Ltd.

Address before: No. 1166 Mingguang North Road, Jiangshan Town, Ningbo, Zhejiang, Yinzhou District

Patentee before: NINGBO AUX ELECTRIC Co.,Ltd.

Country or region before: China

Patentee before: AUX AIR CONDITIONING LIMITED BY SHARE Ltd.