CN115929675A - Electric tool and wind speed control method - Google Patents
Electric tool and wind speed control method Download PDFInfo
- Publication number
- CN115929675A CN115929675A CN202211628690.6A CN202211628690A CN115929675A CN 115929675 A CN115929675 A CN 115929675A CN 202211628690 A CN202211628690 A CN 202211628690A CN 115929675 A CN115929675 A CN 115929675A
- Authority
- CN
- China
- Prior art keywords
- temperature
- interval
- value
- duty cycle
- threshold
- 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.)
- Pending
Links
Images
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B30/00—Energy efficient heating, ventilation or air conditioning [HVAC]
- Y02B30/70—Efficient control or regulation technologies, e.g. for control of refrigerant flow, motor or heating
Landscapes
- Control Of Positive-Displacement Air Blowers (AREA)
Abstract
本发明公开了一种电动工具及风速控制方法,所述控制方法包括以下步骤:当风扇处于智能模式时,控制风扇中的温度传感器检测环境温度值;接收所述温度传感器检测到的环境温度值;对所述环境温度值进行处理获得第二温度值,判断所述第二温度值落入的温度区间,根据所述温度区间计算对应的占空比,根据所述对应的占空比控制电机转速;所述对应的占空比与所述温度区间在不同温度区间内呈现不同的线性关系,占空比随着温度区间的增大而增加。本发明提供的电动工具及其风速控制方法,可以在工具上电时,默认立刻进入智能模式,根据实时监控的外界环境温度进行计算以获得相应的占空比,以调节工具的转速,使工具更加智能化,提高用户体验。
The invention discloses an electric tool and a wind speed control method. The control method includes the following steps: when the fan is in an intelligent mode, controlling a temperature sensor in the fan to detect an ambient temperature value; receiving the ambient temperature value detected by the temperature sensor ; Process the ambient temperature value to obtain a second temperature value, determine the temperature range in which the second temperature value falls, calculate the corresponding duty cycle according to the temperature range, and control the motor according to the corresponding duty cycle Rotational speed; the corresponding duty cycle and the temperature range have different linear relationships in different temperature ranges, and the duty cycle increases with the increase of the temperature range. The electric tool and its wind speed control method provided by the present invention can immediately enter the smart mode by default when the tool is powered on, and calculate according to the real-time monitored external environment temperature to obtain the corresponding duty cycle, so as to adjust the tool's speed and make the tool More intelligent, improve user experience.
Description
【技术领域】[Technical field]
本发明涉及电动工具领域,更具体的,涉及风速控制方法。The present invention relates to the field of electric tools, and more specifically, to a wind speed control method.
【背景技术】[Background technology]
风扇是人们生活中必不可少的电动工具。在炎热的夏季,风扇的旋转可以给人们带来大风量,使人清凉舒爽。但是绝大多数风扇均采用手动操作方式,依靠固定档位进行调节,难以满足人们的多样化需求。如人们休息时,若环境温度升高或者降低,风扇不能自适应的进行调节,会影响人们的休息质量,甚至在低温且风扇高速的状态下会使人们患上感冒,为生活带来了不便。Fans are essential power tools in people's lives. In the hot summer, the rotation of the fan can bring people a large amount of air, making people cool and refreshed. However, most fans are manually operated and rely on fixed gears for adjustment, which is difficult to meet people's diverse needs. For example, when people are resting, if the ambient temperature rises or falls, the fan cannot be adjusted adaptively, which will affect people's rest quality, and even cause people to catch a cold at low temperatures and high fan speeds, bringing inconvenience to life.
请参阅于2019年1月1日公告的中国实用新型专利第CN208311099U号,其揭示了一种手动和自动两用风扇,在手动操作模式下,通过旋钮来控制风扇的档位,在自动模式下,温度传感器对环境温度进行实时检测并将检测到的温度值发送至单片机,单片机根据温度值实时对电机进行控制,当温度升高时自动的增加风速,温度降低时能自动降低风速甚至关闭风扇。虽然具有手动和自动两种模式,可以进行自适应调节,但是依旧不够智能化,在开机瞬间不能立刻调整到相应风速,并且调节风速都是依靠单片机的内部储存值,即依靠内部储存的档位和温度区间的对应关系进行控制风速,不仅档位设置比较少,并且不能依据外界温度的变化进行实时计算,获取人体最舒适的风速,也无法满足人们的生活需求。Please refer to the Chinese utility model patent No. CN208311099U published on January 1, 2019, which discloses a manual and automatic dual-purpose fan. In the manual operation mode, the fan gear is controlled by a knob. In the automatic mode, the temperature sensor detects the ambient temperature in real time and sends the detected temperature value to the single-chip microcomputer. The single-chip microcomputer controls the motor in real time according to the temperature value. When the temperature rises, the wind speed is automatically increased. When the temperature drops, the wind speed can be automatically reduced or even the fan is turned off. Although it has both manual and automatic modes and can be adjusted adaptively, it is still not intelligent enough. It cannot be adjusted to the corresponding wind speed immediately at the moment of power on, and the wind speed adjustment depends on the internal storage value of the single-chip microcomputer, that is, the wind speed is controlled by the corresponding relationship between the gear and the temperature range stored internally. Not only are there relatively few gear settings, but it cannot be calculated in real time according to the changes in the external temperature to obtain the most comfortable wind speed for the human body, and it cannot meet people's living needs.
因此,有必要设计一种电动工具及风速控制方法,以解决上述问题。Therefore, it is necessary to design an electric tool and a wind speed control method to solve the above problems.
【发明内容】[Summary of the invention]
针对现有技术的不足,本发明的目的在于提供一种电动工具及风速控制方法,即风扇在智能模式下,可以在开机瞬间立刻调整到相应风速,并且在运行过程中,可以根据环境温度的变化,实时计算调整风速。解决了传统智能风扇在开机瞬间无法立刻调整到相应风速并且档位较少的问题。In view of the shortcomings of the prior art, the present invention aims to provide an electric tool and a wind speed control method, that is, the fan can be adjusted to the corresponding wind speed immediately when it is turned on in the intelligent mode, and during operation, the wind speed can be adjusted in real time according to the change of ambient temperature. This solves the problem that the traditional intelligent fan cannot be adjusted to the corresponding wind speed immediately when it is turned on and has few gears.
本发明解决现有技术问题可采用如下技术方案:一种电动工具,所述电动工具包括:The present invention solves the existing technical problems by adopting the following technical solutions: an electric tool, the electric tool comprising:
温度传感器,用于检测环境温度;Temperature sensor, used to detect ambient temperature;
触发器,用于切换手动模式和智能模式;Trigger, used to switch between manual mode and smart mode;
MCU,用于接收所述温度传感器检测的环境温度值;MCU, used for receiving the ambient temperature value detected by the temperature sensor;
MCU对所述环境温度值进行处理获得第二温度值,判断所述第二温度值落入的温度区间,根据所述温度区间计算对应的占空比,根据所述对应的占空比控制电机转速;The MCU processes the ambient temperature value to obtain a second temperature value, determines a temperature interval into which the second temperature value falls, calculates a corresponding duty cycle according to the temperature interval, and controls the motor speed according to the corresponding duty cycle;
其中,所述对应的占空比与所述温度区间在不同温度区间范围内呈现不同的线性关系,占空比随着温度区间的增大而增加。The corresponding duty cycle and the temperature range present different linear relationships within different temperature ranges, and the duty cycle increases as the temperature range increases.
进一步改进方案为:所述占空比与所述温度区间的关系为: 为占空比,l为温度区间。A further improvement is that the relationship between the duty cycle and the temperature range is: is the duty cycle, l is the temperature range.
进一步改进方案为:MCU获取多个温度阈值,根据所述温度阈值进行所述温度区间范围划分;A further improvement scheme is: the MCU obtains multiple temperature thresholds, and divides the temperature interval range according to the temperature thresholds;
在不同的温度区间范围内,基于不同的颗粒度进行温度区间的划分;In different temperature ranges, the temperature ranges are divided based on different particle sizes;
当所述温度区间大于第一温度阈值,小于第二温度阈值时,按照第一颗粒度划分;When the temperature interval is greater than a first temperature threshold and less than a second temperature threshold, the temperature interval is divided according to a first granularity;
当所述温度区间大于第二温度阈值,小于第三温度阈值时,按照第二颗粒度划分。When the temperature interval is greater than the second temperature threshold and less than the third temperature threshold, the temperature interval is divided according to the second granularity.
进一步改进方案为:所述第一颗粒度为1,所述第二颗粒度为2,所述占空比的划分标准为:温度值小于所述第一阈值为0区间;温度值在所述第一阈值和所述第二阈值以内,按所述第一颗粒度划分温度区间1至10区间;温度值在所述第二阈值至所述第三阈值之间,按所述第二颗粒度划分温度区间11至14区间;温度值在所述第三阈值以上划分为15区间。A further improvement is as follows: the first granularity is 1, the second granularity is 2, and the duty cycle division criteria are as follows: when the temperature value is less than the first threshold, it is divided into interval 0; when the temperature value is within the first threshold and the second threshold, the temperature interval is divided into intervals 1 to 10 according to the first granularity; when the temperature value is between the second threshold and the third threshold, the temperature interval is divided into intervals 11 to 14 according to the second granularity; and when the temperature value is above the third threshold, it is divided into interval 15.
进一步改进方案为:所述第二温度值等于所述环境温度值。A further improved solution is: the second temperature value is equal to the ambient temperature value.
进一步改进方案为:一种风速控制方法,应用于智能风扇中,该方法包括:当风扇处于智能模式时,控制风扇中的温度传感器检测环境温度值;接收所述温度传感器检测到的环境温度值;对所述环境温度值进行处理获得第二温度值,判断所述第二温度值落入的温度区间,根据所述温度区间计算对应的占空比,根据所述对应的占空比控制电机转速;所述对应的占空比与所述温度区间在不同温度区间范围内呈现不同的线性关系,占空比随着温度区间的增大而增加。A further improvement scheme is: a wind speed control method, applied to a smart fan, the method comprising: when the fan is in smart mode, controlling the temperature sensor in the fan to detect the ambient temperature value; receiving the ambient temperature value detected by the temperature sensor; processing the ambient temperature value to obtain a second temperature value, determining the temperature interval into which the second temperature value falls, calculating the corresponding duty cycle according to the temperature interval, and controlling the motor speed according to the corresponding duty cycle; the corresponding duty cycle and the temperature interval present different linear relationships within different temperature intervals, and the duty cycle increases with the increase of the temperature interval.
进一步改进方案为:所述占空比与所述温度区间的关系为: 为占空比,l为温度区间。A further improvement is that the relationship between the duty cycle and the temperature range is: is the duty cycle, l is the temperature range.
进一步改进方案为:所述风速控制方法还包括:MCU获取多个温度阈值,根据所述温度阈值进行所述温度区间范围划分;A further improvement is as follows: the wind speed control method further includes: the MCU obtains a plurality of temperature thresholds, and divides the temperature interval range according to the temperature thresholds;
在不同的温度区间范围内,基于不同的颗粒度进行温度区间的划分;In different temperature ranges, the temperature ranges are divided based on different particle sizes;
当所述温度区间大于第一温度阈值,小于第二温度阈值时,按照第一颗粒度划分;When the temperature interval is greater than a first temperature threshold and less than a second temperature threshold, the temperature interval is divided according to a first granularity;
当所述温度区间大于第二温度阈值,小于第三温度阈值时,按照第二颗粒度划分。When the temperature interval is greater than the second temperature threshold and less than the third temperature threshold, the temperature interval is divided according to the second granularity.
进一步改进方案为:所述第一颗粒度为1,所述第二颗粒度为2,所述占空比的划分标准为:温度值小于所述第一阈值为0区间;温度值在所述第一阈值和所述第二阈值以内,按所述第一颗粒度划分温度区间1至10区间;温度值在所述第二阈值至所述第三阈值之间,按所述第二颗粒度划分温度区间11至14区间;温度值在所述第三阈值以上划分为15区间。A further improvement is as follows: the first granularity is 1, the second granularity is 2, and the duty cycle division criteria are as follows: when the temperature value is less than the first threshold, it is divided into interval 0; when the temperature value is within the first threshold and the second threshold, the temperature interval is divided into intervals 1 to 10 according to the first granularity; when the temperature value is between the second threshold and the third threshold, the temperature interval is divided into intervals 11 to 14 according to the second granularity; and when the temperature value is above the third threshold, it is divided into interval 15.
进一步改进方案为:所述第二温度值等于所述环境温度值。A further improved solution is: the second temperature value is equal to the ambient temperature value.
与现有技术相比,本发明具有如下有益效果:本发明提供的电动工具及风速控制方法,可以在工具上电时,默认立刻进入智能模式,根据实时监控的外界环境温度进行计算以获得相应的占空比,以调节工具的转速,使工具更加智能化,提高用户体验。Compared with the prior art, the present invention has the following beneficial effects: the electric tool and wind speed control method provided by the present invention can enter the intelligent mode by default immediately when the tool is powered on, and calculate according to the real-time monitored external ambient temperature to obtain the corresponding duty cycle to adjust the tool's rotation speed, making the tool more intelligent and improving the user experience.
【附图说明】【Brief Description of the Drawings】
下面结合附图对本发明的具体实施方式做进一步详细的说明:The specific embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings:
图1是本发明较佳实施例的示意图;FIG1 is a schematic diagram of a preferred embodiment of the present invention;
图2是本发明较佳实施例智能模式的原理框图;FIG2 is a block diagram of the principle of the intelligent mode of a preferred embodiment of the present invention;
图3是本发明较佳实施例的智能模式流程图;FIG3 is a flow chart of the intelligent mode of a preferred embodiment of the present invention;
图中附图标记的含义:Meaning of the reference numerals in the figures:
电动工具1Power Tools 1
温度传感器11Temperature sensor 11
MCU12MCU12
电机13
电源模块14
触发器15Trigger 15
旋钮21Knob 21
智能按键22Smart Button 22
如下具体实施方式将结合上述附图进一步说明本发明。The following specific implementation manner will further illustrate the present invention in conjunction with the above-mentioned drawings.
【具体实施方式】[Specific implementation method]
下面结合附图和实施方式对本发明作进一步详细说明。The present invention is further described in detail below in conjunction with the accompanying drawings and implementation modes.
本发明所描述的风速控制方法等适用于电动工具/电动设备等智能化设备,其中,所述电动工具/电动设备可以为风扇、吹风机,亦或是其他具有需要控制风速的自动化设备;只要上述设备/工具能够采用以下披露的技术方案的实质内容即可落在本发明的保护范围内。The wind speed control method described in the present invention is applicable to intelligent equipment such as electric tools/electric equipment, wherein the electric tools/electric equipment may be fans, hair dryers, or other automated equipment that requires wind speed control; as long as the above-mentioned equipment/tools can adopt the essential content of the technical solution disclosed below, they can fall within the protection scope of the present invention.
参阅图1所示的本发明较佳实施例的示意图。在本实施例中,所述电动工具包括,但不限于,温度传感器11、MCU(微控制单元)12、电机13、电源模块14及触发器15。所述微控制单元MCU与所述温度传感器、所述电机及所述触发器电连接,所述电源模块与所述触发器及所述电机电连接。所述触发器包括旋钮21和智能按键22,所述旋钮为手动调节旋钮,可手动旋转旋钮进行无极调速以控制合适的风速。Refer to the schematic diagram of a preferred embodiment of the present invention shown in FIG1. In this embodiment, the electric tool includes, but is not limited to, a temperature sensor 11, an MCU (micro control unit) 12, a
本实施例中,默认电动工具开机即进入智能模式,自动根据所处环境温度计算合适的占空比,根据所述占空比调节电机转速,以调节风速。若在智能模式运行过程中,想要手动调节电动工具的风速,一种实施方式为按下智能按键结束智能模式,然后旋转旋钮,调节风速;另一种实施方式为直接旋转旋钮,即可结束智能模式并进入手动模式。In this embodiment, the power tool enters the smart mode by default when it is turned on, and automatically calculates the appropriate duty cycle according to the ambient temperature, and adjusts the motor speed according to the duty cycle to adjust the wind speed. If you want to manually adjust the wind speed of the power tool during the operation of the smart mode, one implementation method is to press the smart button to end the smart mode, and then rotate the knob to adjust the wind speed; another implementation method is to directly rotate the knob to end the smart mode and enter the manual mode.
本实施例中,所述温度传感器用于检测当前环境温度。In this embodiment, the temperature sensor is used to detect the current ambient temperature.
所述MCU用于接收所述温度传感器检测的环境温度值,并将所述检测的环境温度值处理得到第二温度值,根据所述第二温度值判断所处的温度区间,并将温度区间值代入公式,即 为占空比,l为温度区间,计算出对应的占空比,根据所述占空比控制电机运行。即,风扇在运行过程中可以根据环境温度的变化,实时计算,输出对应的占空比,根据所述占空比控制电机转速,以调节合适的风速。本发明提供的方案可有效避免夜晚温度降低而风速过高的情况出现,解决了人们因夜间风扇风速原因引起的感冒问题。The MCU is used to receive the ambient temperature value detected by the temperature sensor, and process the detected ambient temperature value to obtain a second temperature value, determine the temperature interval according to the second temperature value, and substitute the temperature interval value into the formula, that is, is the duty cycle, l is the temperature range, the corresponding duty cycle is calculated, and the motor operation is controlled according to the duty cycle. That is, during the operation of the fan, the corresponding duty cycle can be calculated in real time according to the change of the ambient temperature, and the motor speed can be controlled according to the duty cycle to adjust the appropriate wind speed. The solution provided by the present invention can effectively avoid the situation where the wind speed is too high when the temperature drops at night, and solves the problem of people catching colds due to the fan wind speed at night.
所述第二温度值的获得方法为,在智能模式运行过程中,截取一段时间Τ内温度传感器检测的两个环境温度值t1、t2,计算出温度与时间的曲线斜率K,公式为K=(t1-t2)÷Τ,根据该曲线斜率K得到一个未来时间T1的温度预设值t3,公式为t3=t2-K×T1,其中Τ等于T1。上述方法获得的第二温度值为预估环境温度值,通过预估环境温度值的方法,可以使风速的变化过度更加平缓,降低用户的不适感,提高用户体验。在其他实施方式下,所述第二温度值等于环境温度值。The method for obtaining the second temperature value is to intercept two ambient temperature values t 1 and t 2 detected by the temperature sensor within a period of time T during the operation of the smart mode, calculate the slope K of the curve of temperature and time, the formula is K=(t 1 -t 2 )÷T, and obtain a temperature preset value t 3 at a future time T 1 according to the slope K of the curve, the formula is t 3 =t 2 -K×T 1 , where T is equal to T 1 . The second temperature value obtained by the above method is an estimated ambient temperature value. By using the method of estimating the ambient temperature value, the change of wind speed can be made smoother, the user's discomfort can be reduced, and the user experience can be improved. In other embodiments, the second temperature value is equal to the ambient temperature value.
所述电机用于驱动所述电动工具运行。The motor is used to drive the electric tool to operate.
所述电源模块用于提供电能给电动工具。The power module is used to provide electrical energy to the electric tool.
参阅图2所示的本发明较佳实施例智能模式的原理框图。当所述电动工具处于智能模式时,所述温度传感器检测所处环境温度,并将检测到的环境温度值处理得到第二环境温度值,然后将第二环境温度值发送至MCU,MCU判断所述第二温度值落入的温度区间,并将得到的温度区间值代入公式 中,其中,为占空比,l为温度区间。MCU根据计算得出的占空比,控制电机转速从而控制风速。即,风扇在运行过程中可以根据环境温度的变化,实时计算,输出对应的占空比,根据所述占空比控制电机转速,以调节合适的风速。本发明提供的方案可有效避免夜晚温度降低而风速过高的情况出现,解决了人们因夜间风扇风速原因引起的感冒问题。Refer to the principle block diagram of the intelligent mode of the preferred embodiment of the present invention shown in FIG2. When the power tool is in the intelligent mode, the temperature sensor detects the ambient temperature, processes the detected ambient temperature value to obtain a second ambient temperature value, and then sends the second ambient temperature value to the MCU. The MCU determines the temperature interval into which the second temperature value falls, and substitutes the obtained temperature interval value into the formula Among them, is the duty cycle, and l is the temperature range. The MCU controls the motor speed and thus the wind speed according to the calculated duty cycle. That is, during the operation of the fan, the fan can calculate and output the corresponding duty cycle in real time according to the change of the ambient temperature, and control the motor speed according to the duty cycle to adjust the appropriate wind speed. The solution provided by the present invention can effectively avoid the situation where the wind speed is too high when the temperature drops at night, and solves the problem of people catching colds due to the fan wind speed at night.
所述第二温度值的获得方法为,在智能模式运行过程中,截取一段时间Τ内温度传感器检测的两个环境温度值t1、t2,计算出温度与时间的曲线斜率K,公式为K=(t1-t2)÷Τ,根据该曲线斜率K得到一个未来时间T1的温度预设值t3,公式为t3=t2-K×T1,其中Τ等于T1。上述方法获得的第二温度值为预估环境温度值,通过预估环境温度值的方法,可以使风速的变化过度更加平缓,降低用户的不适感,提高用户体验。在其他实施方式下,所述第二温度值等于环境温度值。The method for obtaining the second temperature value is to intercept two ambient temperature values t 1 and t 2 detected by the temperature sensor within a period of time T during the operation of the smart mode, calculate the slope K of the curve of temperature and time, the formula is K=(t 1 -t 2 )÷T, and obtain a temperature preset value t 3 at a future time T 1 according to the slope K of the curve, the formula is t 3 =t 2 -K×T 1 , where T is equal to T 1 . The second temperature value obtained by the above method is an estimated ambient temperature value. By using the method of estimating the ambient temperature value, the change of wind speed can be made smoother, the user's discomfort can be reduced, and the user experience can be improved. In other embodiments, the second temperature value is equal to the ambient temperature value.
所述温度区间的划分规则为,MCU获取多个温度阈值,根据所述温度阈值进行区间范围划分;在不同的区间范围内,基于不同的颗粒度进行区间的划分;当所述温度区间大于第一阈值,小于第二阈值时,按照第一颗粒度划分;当所述温度区间大于第二阈值,小于第三阈值时,按照第二颗粒度划分。所述第一阈值为14℃,所述第二阈值为24℃,所述第三阈值为32℃,所述第一颗粒度为1,所述第二颗粒度为2,所述占空比的划分标准为:温度值小于所述第一阈值为0区间;温度值在所述第一阈值和所述第二阈值以内,按所述第一颗粒度划分温度区间1至10区间;温度值在所述第二阈值至所述第三阈值之间,按所述第二颗粒度划分温度区间11至14区间;温度值在所述第三阈值以上划分为15区间。The temperature interval division rule is as follows: the MCU obtains multiple temperature thresholds and divides the interval range according to the temperature thresholds; in different interval ranges, the intervals are divided based on different granularities; when the temperature interval is greater than the first threshold and less than the second threshold, it is divided according to the first granularity; when the temperature interval is greater than the second threshold and less than the third threshold, it is divided according to the second granularity. The first threshold is 14°C, the second threshold is 24°C, the third threshold is 32°C, the first granularity is 1, the second granularity is 2, and the duty cycle division standard is as follows: the temperature value is less than the first threshold, which is the 0 interval; the temperature value is within the first threshold and the second threshold, and the temperature interval is divided into intervals 1 to 10 according to the first granularity; the temperature value is between the second threshold and the third threshold, and the temperature interval is divided into intervals 11 to 14 according to the second granularity; the temperature value is above the third threshold and is divided into intervals 15.
所述温度值与所述温度区间的对应关系如下表:The corresponding relationship between the temperature value and the temperature range is as follows:
参阅图3所示的本发明较佳实施例的智能模式流程图。Please refer to the smart mode flow chart of the preferred embodiment of the present invention shown in FIG. 3 .
步骤S1,电动工具处于智能模式时,温度传感器检测当前环境温度。Step S1, when the electric tool is in the smart mode, the temperature sensor detects the current ambient temperature.
步骤S2,MCU接收所述温度传感器检测到的当前环境温度值。Step S2: The MCU receives the current ambient temperature value detected by the temperature sensor.
步骤S3,MCU对当前环境温度值进行处理获得第二环境温度值。Step S3: The MCU processes the current ambient temperature value to obtain a second ambient temperature value.
步骤S4,MCU判断第二温度值所处的温度区间,带入公式,计算得出相应的占空比。Step S4: The MCU determines the temperature range in which the second temperature value is located, and substitutes it into a formula to calculate a corresponding duty cycle.
步骤S5,MCU根据计算结果控制电动工具的运行状态。Step S5: the MCU controls the operating state of the electric tool according to the calculation result.
所述温度区间值代入的公式为其中,为占空比,l为温度区间。即,风扇在运行过程中可以根据环境温度的变化,实时计算,输出对应的占空比,根据所述占空比控制电机转速,以调节合适的风速。本发明提供的方案可有效避免夜晚温度降低而风速过高的情况出现,解决了人们因夜间风扇风速原因引起的感冒问题。The formula for substituting the temperature interval value into the formula is: in, is the duty cycle, and l is the temperature range. That is, during the operation of the fan, the corresponding duty cycle can be calculated in real time according to the change of the ambient temperature, and the motor speed can be controlled according to the duty cycle to adjust the appropriate wind speed. The solution provided by the present invention can effectively avoid the situation where the wind speed is too high when the temperature drops at night, and solves the problem of people catching colds due to the fan speed at night.
所述第二温度值的获得方法为,在智能模式运行过程中,截取一段时间Τ内温度传感器检测的两个环境温度值t1、t2,计算出温度与时间的曲线斜率K,公式为K=(t1-tx)÷Τ,根据该曲线斜率K得到一个未来时间T1的温度预设值t3,公式为t3=t2-K×T1,其中Τ等于T1。上述方法获得的第二温度值为预估环境温度值,通过预估环境温度值的方法,可以使风速的变化过度更加平缓,降低用户的不适感,提高用户体验。在其他实施方式下,所述第二温度值等于环境温度值。The method for obtaining the second temperature value is to intercept two ambient temperature values t 1 and t 2 detected by the temperature sensor within a period of time T during the operation of the smart mode, calculate the slope K of the curve of temperature and time, the formula is K=(t 1 -tx)÷T, and obtain a temperature preset value t 3 at a future time T 1 according to the slope K of the curve, the formula is t 3 =t 2 -K×T 1 , where T is equal to T 1 . The second temperature value obtained by the above method is an estimated ambient temperature value. By using the method of estimating the ambient temperature value, the change of wind speed can be made smoother, reducing the discomfort of the user and improving the user experience. In other embodiments, the second temperature value is equal to the ambient temperature value.
所述温度区间的划分规则为,MCU获取多个温度阈值,根据所述温度阈值进行区间范围划分;在不同的区间范围内,基于不同的颗粒度进行区间的划分;当所述温度区间大于第一阈值,小于第二阈值时,按照第一颗粒度划分;当所述温度区间大于第二阈值,小于第三阈值时,按照第二颗粒度划分。所述第一阈值为14℃,所述第二阈值为24℃,所述第三阈值为32℃,所述第一颗粒度为1,所述第二颗粒度为2,所述占空比的划分标准为:温度值低于所述第一阈值为0区间;温度值在所述第一阈值和所述第二阈值以内,按所述第一颗粒度划分温度区间1至10区间;温度值在所述第二阈值至所述第三阈值之间,按所述第二颗粒度划分温度区间11至14区间;温度值在所述第三阈值以上划分为15区间。The temperature interval division rule is as follows: the MCU obtains multiple temperature thresholds and divides the interval range according to the temperature thresholds; in different interval ranges, the intervals are divided based on different granularities; when the temperature interval is greater than the first threshold and less than the second threshold, it is divided according to the first granularity; when the temperature interval is greater than the second threshold and less than the third threshold, it is divided according to the second granularity. The first threshold is 14°C, the second threshold is 24°C, the third threshold is 32°C, the first granularity is 1, the second granularity is 2, and the duty cycle division standard is as follows: the temperature value is lower than the first threshold as interval 0; the temperature value is within the first threshold and the second threshold, and the temperature interval is divided into intervals 1 to 10 according to the first granularity; the temperature value is between the second threshold and the third threshold, and the temperature interval is divided into intervals 11 to 14 according to the second granularity; the temperature value is above the third threshold as interval 15.
所述温度值与所述温度区间的对应关系如下表:The corresponding relationship between the temperature value and the temperature range is as follows:
本发明还提供一种风速控制方法,应用于智能风扇中,该方法包括:当风扇处于智能模式时,控制风扇中的温度传感器检测环境温度值;接收所述温度传感器检测到的环境温度值;对所述环境温度值进行处理获得第二温度值,判断所述第二温度值落入的温度区间,根据所述温度区间计算对应的占空比,根据所述对应的占空比控制电机转速;所述对应的占空比与所述温度区间在不同温度区间范围内呈现不同的线性关系,占空比随着温度区间的增大而增加。The present invention also provides a wind speed control method, which is applied to an intelligent fan, and the method includes: when the fan is in an intelligent mode, controlling a temperature sensor in the fan to detect an ambient temperature value; receiving the ambient temperature value detected by the temperature sensor; processing the ambient temperature value to obtain a second temperature value, determining a temperature interval into which the second temperature value falls, calculating a corresponding duty cycle according to the temperature interval, and controlling a motor speed according to the corresponding duty cycle; the corresponding duty cycle and the temperature interval present different linear relationships within different temperature intervals, and the duty cycle increases with an increase in the temperature interval.
所述占空比与所述区间的关系为:其中,为占空比,l为温度区间。即,风扇在运行过程中可以根据环境温度的变化,实时计算,输出对应的占空比,根据所述占空比控制电机转速,以调节合适的风速。本发明提供的方案可有效避免夜晚温度降低而风速过高的情况出现,解决了人们因夜间风扇风速原因引起的感冒问题。The relationship between the duty cycle and the interval is: in, is the duty cycle, and l is the temperature range. That is, during the operation of the fan, the corresponding duty cycle can be calculated in real time according to the change of the ambient temperature, and the motor speed can be controlled according to the duty cycle to adjust the appropriate wind speed. The solution provided by the present invention can effectively avoid the situation where the wind speed is too high when the temperature drops at night, and solves the problem of people catching colds due to the fan wind speed at night.
所述第二温度值的获得方法为,在智能模式运行过程中,截取一段时间Τ内温度传感器检测的两个环境温度值t1、t2,计算出温度与时间的曲线斜率K,公式为K=(t1-t2)÷Τ,根据该曲线斜率K得到一个未来时间T1的温度预设值t3,公式为t3=t2-K×T1,其中Τ等于T1。上述方法获得的第二温度值为预估环境温度值,通过预估环境温度的方法,可以使风速的变化过度更加平缓,降低用户的不适感,提高用户体验。在其他实施方式下,所述第二温度值等于环境温度值。The method for obtaining the second temperature value is to intercept two ambient temperature values t 1 and t 2 detected by the temperature sensor within a period of time T during the operation of the smart mode, calculate the slope K of the curve of temperature and time, the formula is K=(t 1 -t 2 )÷T, and obtain a temperature preset value t 3 at a future time T 1 according to the slope K of the curve, the formula is t 3 =t 2 -K×T 1 , where T is equal to T 1 . The second temperature value obtained by the above method is an estimated ambient temperature value. By estimating the ambient temperature method, the change of wind speed can be made smoother, reducing the discomfort of the user and improving the user experience. In other embodiments, the second temperature value is equal to the ambient temperature value.
所述温度区间的划分规则为,MCU获取多个温度阈值,根据所述温度阈值进行区间范围划分;在不同的区间范围内,基于不同的颗粒度进行区间的划分;当所述温度区间大于第一阈值,小于第二阈值时,按照第一颗粒度划分;当所述温度区间大于第二阈值,小于第三阈值时,按照第二颗粒度划分。所述第一阈值为14℃,所述第二阈值为24℃,所述第三阈值为32℃,所述第一颗粒度为1,所述第二颗粒度为2,所述占空比的划分标准为:温度值小于所述第一阈值为0区间;温度值在所述第一阈值和所述第二阈值以内,按所述第一颗粒度划分温度区间1至14区间;温度值在所述第二阈值至所述第三阈值之间,按所述第二颗粒度划分温度区间11至14区间;温度值在所述第三阈值以上划分为15区间。The temperature interval division rule is as follows: the MCU obtains multiple temperature thresholds and divides the interval range according to the temperature thresholds; in different interval ranges, the intervals are divided based on different granularities; when the temperature interval is greater than the first threshold and less than the second threshold, it is divided according to the first granularity; when the temperature interval is greater than the second threshold and less than the third threshold, it is divided according to the second granularity. The first threshold is 14°C, the second threshold is 24°C, the third threshold is 32°C, the first granularity is 1, the second granularity is 2, and the duty cycle division standard is as follows: the temperature value is less than the first threshold as interval 0; the temperature value is within the first threshold and the second threshold, and the temperature interval is divided into intervals 1 to 14 according to the first granularity; the temperature value is between the second threshold and the third threshold, and the temperature interval is divided into intervals 11 to 14 according to the second granularity; the temperature value is above the third threshold as interval 15.
所述温度值与所述温度区间的对应关系如下表:The corresponding relationship between the temperature value and the temperature range is as follows:
通过上述技术方案,为用户提供了一种手动和自动两用的风扇,在手动控制模式下,可以依靠手动旋钮进行无极调速以控制风扇运行至合适的风速,用户可依据自身情况,旋转手动旋钮以获取最适宜的风速。这里采用无级调速的方式,相对于传统固定档位的风扇,更能满足用户需求。此外,在智能模式下,用户不需要亲自移动到风扇旁进行调节档位,风扇会自行根据环境温度的变化,进行实时计算,以输出合适的占空比控制电机运行,以控制风扇调节至合适的风速。此种模式下,不仅能满足用户对智能化家电的需求,并且也可以克服用户在熟睡状态下使用时,不能随时根据外界温度变化而起身去调节风扇风速的问题,避免了用户因夜间熟睡时温度降低而风扇却高速运行所引起的感冒问题,提高了用户体验感。并且,智能模式下通过预估环境温度的方法,提前计算,以输出合适的占空比,以调节至合适的风速,可以使风速的变化过度更加平缓,降低用户的不适感,丰富了用户体验。其优点还在于,设置手动旋钮和自动切换按键,可以让用户在手动和自动两种模式下自由切换,满足在一些情况下需要手动操作来调节风速的需求。Through the above technical solution, a manual and automatic dual-purpose fan is provided to the user. In the manual control mode, the manual knob can be used for stepless speed regulation to control the fan to run to a suitable wind speed. The user can rotate the manual knob to obtain the most suitable wind speed according to his own situation. The stepless speed regulation method adopted here can better meet the needs of users compared with the traditional fixed gear fan. In addition, in the intelligent mode, the user does not need to move to the fan to adjust the gear in person. The fan will perform real-time calculations according to the changes in the ambient temperature to output a suitable duty cycle to control the motor operation to control the fan to adjust to a suitable wind speed. In this mode, it can not only meet the user's demand for intelligent home appliances, but also overcome the problem that the user cannot get up at any time to adjust the fan speed according to the changes in the external temperature when using it in a deep sleep state, avoiding the cold problem caused by the temperature lowering when the user is sleeping at night and the fan running at high speed, and improving the user experience. In addition, in the intelligent mode, by estimating the ambient temperature, the appropriate duty cycle is calculated in advance to adjust to the appropriate wind speed, which can make the wind speed change more gentle, reduce the user's discomfort, and enrich the user experience. Its advantage also lies in that the setting of a manual knob and an automatic switching button allows users to switch freely between manual and automatic modes, meeting the need for manual operation to adjust the wind speed in some situations.
最后所应说明的是,以上实施例仅用以说明本发明的技术方案而非限制,尽管参照以上较佳实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或等同替换都不应脱离本发明技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211628690.6A CN115929675A (en) | 2022-12-18 | 2022-12-18 | Electric tool and wind speed control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211628690.6A CN115929675A (en) | 2022-12-18 | 2022-12-18 | Electric tool and wind speed control method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115929675A true CN115929675A (en) | 2023-04-07 |
Family
ID=86551907
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211628690.6A Pending CN115929675A (en) | 2022-12-18 | 2022-12-18 | Electric tool and wind speed control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115929675A (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005202971A (en) * | 2004-01-16 | 2005-07-28 | Standard Microsystems Corp | Auto-fan combination in zone |
US20140054024A1 (en) * | 2012-08-24 | 2014-02-27 | Msi Electronic (Kun Shan) Co., Ltd. | Computer and control method for smart fan thereof |
WO2016185565A1 (en) * | 2015-05-19 | 2016-11-24 | 株式会社セフト研究所 | Blowing volume control device |
CN208311099U (en) * | 2018-06-04 | 2019-01-01 | 浙江东方职业技术学院(浙江东方专修学院) | A kind of hand-operated and automatic fan |
CN109386489A (en) * | 2017-08-14 | 2019-02-26 | 富泰华工业(深圳)有限公司 | Intelligent fan and its wind speed control method |
US20190293076A1 (en) * | 2018-03-26 | 2019-09-26 | In Win Development, Inc. | Control method for adjusting rotating speed of multiple fans according to temperature |
CN110304502A (en) * | 2019-07-12 | 2019-10-08 | 深圳市海浦蒙特科技有限公司 | A kind of control method and system of the radiator fan for villa elevator control cabinet |
CN110836195A (en) * | 2018-08-16 | 2020-02-25 | 佛山市顺德区顺达电脑厂有限公司 | Optimization method for fan rotating speed control |
CN111720352A (en) * | 2019-03-19 | 2020-09-29 | 西安诺瓦电子科技有限公司 | Fan control method, device and system |
CN112524073A (en) * | 2020-11-04 | 2021-03-19 | 深圳市科陆电子科技股份有限公司 | Fan speed regulation control method, device, equipment and storage medium |
-
2022
- 2022-12-18 CN CN202211628690.6A patent/CN115929675A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005202971A (en) * | 2004-01-16 | 2005-07-28 | Standard Microsystems Corp | Auto-fan combination in zone |
US20140054024A1 (en) * | 2012-08-24 | 2014-02-27 | Msi Electronic (Kun Shan) Co., Ltd. | Computer and control method for smart fan thereof |
WO2016185565A1 (en) * | 2015-05-19 | 2016-11-24 | 株式会社セフト研究所 | Blowing volume control device |
CN109386489A (en) * | 2017-08-14 | 2019-02-26 | 富泰华工业(深圳)有限公司 | Intelligent fan and its wind speed control method |
US20190293076A1 (en) * | 2018-03-26 | 2019-09-26 | In Win Development, Inc. | Control method for adjusting rotating speed of multiple fans according to temperature |
CN208311099U (en) * | 2018-06-04 | 2019-01-01 | 浙江东方职业技术学院(浙江东方专修学院) | A kind of hand-operated and automatic fan |
CN110836195A (en) * | 2018-08-16 | 2020-02-25 | 佛山市顺德区顺达电脑厂有限公司 | Optimization method for fan rotating speed control |
CN111720352A (en) * | 2019-03-19 | 2020-09-29 | 西安诺瓦电子科技有限公司 | Fan control method, device and system |
CN110304502A (en) * | 2019-07-12 | 2019-10-08 | 深圳市海浦蒙特科技有限公司 | A kind of control method and system of the radiator fan for villa elevator control cabinet |
CN112524073A (en) * | 2020-11-04 | 2021-03-19 | 深圳市科陆电子科技股份有限公司 | Fan speed regulation control method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106499652B (en) | Fan and control method thereof | |
CN202228400U (en) | A fan control system linked with air conditioner | |
CN105546756B (en) | Air conditioner control method and device | |
WO2023024557A1 (en) | Air conditioner control method and air conditioner | |
CN101334645A (en) | Intelligent temperature control system of household air conditioner based on human behavior characteristics | |
CN208901572U (en) | Air conditioner temperature control device | |
CN104467563B (en) | Sleep air control device and method based on environment parameters and sleep physiological cycles | |
CN109579237B (en) | Air conditioner temperature control method, storage medium and air conditioner | |
CN209025874U (en) | A portable intelligent humidification fan | |
CN101949576A (en) | Energy-saving air conditioner and air conditioner fan linkage system | |
CN114198877B (en) | Energy-saving control method and device for variable frequency air conditioner, air conditioner and storage medium | |
CN111023431B (en) | Time-controlling and temperature-regulating method, device and air-conditioner with adjustable frequency conversion coefficient of frequency-conversion air conditioner | |
CN113266931B (en) | Variable frequency control method and system of air conditioner and air conditioner | |
CN110986322A (en) | Air conditioner operation control method and device and air conditioner system | |
CN108758978A (en) | Central air-conditioning energy automatic control method and air-conditioning | |
CN204290793U (en) | Based on environmental parameter and the sleeping wind controller in sleep physiology cycle | |
CN115929675A (en) | Electric tool and wind speed control method | |
CN115218388A (en) | Air conditioner control method, device, air conditioner, remote controller, and storage medium | |
CN108386970B (en) | Air conditioner control method and air conditioner | |
CN113959014A (en) | Self-adaptive electric heating control device and control method thereof | |
CN114294774A (en) | Air conditioner and control method thereof | |
CN112543516B (en) | Electric blanket external controller and electric blanket temperature control method | |
CN108591103A (en) | Fan air speed control method system and fan | |
CN113606647A (en) | Control method and controller for fresh shower air and bathroom heater | |
CN107044436A (en) | The fan governor and method of integrated temperature control, human body infrared sensing and self-learning function |
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 |