[go: up one dir, main page]

CN205744551U - A kind of automatic temperature-regulating fan control system - Google Patents

A kind of automatic temperature-regulating fan control system Download PDF

Info

Publication number
CN205744551U
CN205744551U CN201620489442.1U CN201620489442U CN205744551U CN 205744551 U CN205744551 U CN 205744551U CN 201620489442 U CN201620489442 U CN 201620489442U CN 205744551 U CN205744551 U CN 205744551U
Authority
CN
China
Prior art keywords
fan
module
chip microcomputer
temperature
real
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.)
Expired - Fee Related
Application number
CN201620489442.1U
Other languages
Chinese (zh)
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.)
Jiangsu Jianzhu Institute
Original Assignee
Jiangsu Jianzhu Institute
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 Jiangsu Jianzhu Institute filed Critical Jiangsu Jianzhu Institute
Priority to CN201620489442.1U priority Critical patent/CN205744551U/en
Application granted granted Critical
Publication of CN205744551U publication Critical patent/CN205744551U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Control Of Positive-Displacement Air Blowers (AREA)

Abstract

本实用新型公开了一种自动调温风扇控制系统,具体包括直流风扇、单片机、实时时钟模块、温度采集模块、矩阵键盘模块、红外传感器模块、液晶显示模块、指示灯显示模块、语音接收模块和无线遥控模块。该系统采用温度传感器监测风扇周围环境温度,并与用户设定的温度作对比或者采用自动模式,控制直流风扇转速根据温度的变化而做出相应调整,直流风扇采用带有测速码盘的直流电机,单片机通过测速码盘可检测电机的转速,同时该系统又集成了红外热释电人体感应、语音播报、实时时钟、远距离无线遥控等多种功能,大大增强了调温风扇的智能性,有着很好的应用前景,同时也是智能家居在家用电风扇方面的有效尝试。

The utility model discloses an automatic temperature-regulating fan control system, which specifically includes a DC fan, a single-chip microcomputer, a real-time clock module, a temperature acquisition module, a matrix keyboard module, an infrared sensor module, a liquid crystal display module, an indicator light display module, a voice receiving module and Wireless remote control module. The system uses a temperature sensor to monitor the ambient temperature of the fan, and compares it with the temperature set by the user or adopts an automatic mode to control the DC fan speed to make corresponding adjustments according to the temperature change. The DC fan adopts a DC motor with a speed measuring code disc , the single-chip microcomputer can detect the speed of the motor through the speed measuring code disc. At the same time, the system integrates various functions such as infrared pyroelectric human body induction, voice broadcast, real-time clock, and long-distance wireless remote control, which greatly enhances the intelligence of the temperature-regulating fan. It has a good application prospect, and it is also an effective attempt of smart home in household electric fans.

Description

一种自动调温风扇控制系统An automatic temperature-regulating fan control system

技术领域technical field

本实用新型属于智能家居技术领域,尤其是一种自动调温风扇控制系统。The utility model belongs to the technical field of smart home, in particular to an automatic temperature-regulating fan control system.

背景技术Background technique

电扇是人类生活最常用的物品,在每个家庭中都配备有电扇。然而电扇在使用过程中仍会遇到个不少的问题,即:晚上使用电扇时,一般夜间温度都会下降,到凌晨两点到三点时降到最低,但此时也是人处于深度睡眠的时间。人往往会缺乏意识,不会去关电扇,通常电扇运行直到第二天早上才关。现有的电扇一般采用手动有极调节,在气温发生变化,特别是夜间气温降低,需要电扇转速降低时,手动调节十分不便,并且转速不能任意选定。这样既浪费了电能,又容易使人着凉,容易感冒。尤其是在春夏之交和夏秋之交的时候,昼夜温差很大,特别容易使人感冒。Electric fans are the most commonly used items in human life, and are equipped with electric fans in every family. However, the electric fan still encounters a lot of problems in the use process, that is, when the electric fan is used at night, the temperature will generally drop at night, and it will be the lowest at two to three in the morning, but at this time, people are in deep sleep. time. People often lack awareness and don't turn off the fan. Usually the fan runs until the next morning. Existing electric fans generally adopt manual pole adjustment. When the air temperature changes, especially at night, when the air temperature drops and the speed of the electric fan needs to be reduced, manual adjustment is very inconvenient, and the speed cannot be selected arbitrarily. This has not only wasted electric energy, but also easily causes people to catch a cold and catch a cold easily. Especially at the turn of spring and summer and the turn of summer and autumn, the temperature difference between day and night is very large, which is especially easy to cause people to catch a cold.

在日常生活中,我们看到智能云电视、智能变频空调等,却忽略了家用电风扇的智能性改进。虽然人们的生活水平大大提高了,但是电风扇由于其安装携带方便、价格低廉、节能省电等特点,在夏天仍然是家家户户的必备降温电器。但是现如今市场上存在的电风扇大多数仍是单纯硬件电路的搭建,有着功能单一,智能性差,用户体验差等缺点。因此对家用电风扇进行有效改进,加入先进的软件算法,提高舒适性和智能性,使更多的用户体验到高新技术发展给生活带来的便利和舒适,有着非常重要的应用价值和研究意义。In daily life, we see smart cloud TVs, smart inverter air conditioners, etc., but ignore the smart improvement of household electric fans. Although people's living standards have been greatly improved, electric fans are still an essential cooling appliance for every household in summer due to their characteristics such as easy installation and portability, low price, energy saving and power saving. However, most of the electric fans on the market today are still built with pure hardware circuits, which have disadvantages such as single function, poor intelligence, and poor user experience. Therefore, it has very important application value and research to effectively improve household electric fans, add advanced software algorithms, improve comfort and intelligence, and enable more users to experience the convenience and comfort brought by high-tech development to life. significance.

实用新型内容Utility model content

本实用新型要解决的技术问题是提供一种自动调温风扇控制系统,该系统是在普通风扇的基础上,增加控制装置,实现了对风扇转速的高精度控制,提高了风扇智能性,有着很好的应用前景,同时也是智能家居在家用风扇方面的有效尝试。The technical problem to be solved by the utility model is to provide an automatic temperature-regulating fan control system. The system is based on an ordinary fan, and a control device is added to realize high-precision control of the fan speed, which improves the intelligence of the fan. It has a good application prospect, and it is also an effective attempt of smart home in household fans.

为解决上述技术问题,本实用新型所采取的技术方案是:一种自动调温风扇控制系统,其特征在于包括直流风扇和单片机,所述的直流风扇外接12伏电源供电,在单片机和12伏电源之间设有5伏电源降压模块,直流风扇与单片机之间形成闭环控制;还包括实时时钟模块、温度采集模块、矩阵键盘模块、红外传感器模块、液晶显示模块、指示灯显示模块和语音接收模块,其中实时时钟模块配有备份电池电源,实时时钟模块与单片机三个引脚连接,用于实时提供当前时间;温度采集模块采用数字温度传感器,与单片机连接,用于为单片机实时采集周围环境的温度;矩阵键盘模块设有8个IO引脚,控制16个按键,与单片机IO接口连接,为单片机提供用户输入的温度控制指令;红外传感器模块采用红外热释电传感器,用于为单片机通过用户是否位于直流电扇前方的指令;液晶显示模块,根据单片机发出的信息,用于显示直流电扇转速、环境温度和当前时间;指示灯显示模块与单片机连接,用于反应直流风扇当前运行状态;语 音接收模块与单片机连接,用于语音播报直流风扇运行状态。In order to solve the above technical problems, the technical solution adopted by the utility model is: an automatic temperature-regulating fan control system, which is characterized in that it includes a DC fan and a single-chip microcomputer, and the DC fan is externally connected to a 12-volt power supply for power supply. There is a 5V power step-down module between the power supplies, and a closed-loop control is formed between the DC fan and the microcontroller; it also includes a real-time clock module, a temperature acquisition module, a matrix keyboard module, an infrared sensor module, a liquid crystal display module, an indicator light display module and a voice The receiving module, wherein the real-time clock module is equipped with a backup battery power supply, and the real-time clock module is connected with three pins of the single-chip microcomputer to provide the current time in real time; the temperature acquisition module adopts a digital temperature sensor and is connected with the single-chip microcomputer for real-time collection of the surrounding environment for the single-chip microcomputer The temperature of the environment; the matrix keyboard module is equipped with 8 IO pins, which control 16 buttons, and is connected to the IO interface of the single-chip microcomputer to provide the temperature control command input by the user for the single-chip microcomputer; the infrared sensor module uses an infrared pyroelectric sensor for the single-chip microcomputer. Whether the user is in front of the DC fan; the liquid crystal display module is used to display the DC fan speed, ambient temperature and current time according to the information sent by the single-chip microcomputer; the indicator light display module is connected with the single-chip microcomputer to reflect the current operating status of the DC fan; The voice receiving module is connected with the single-chip microcomputer, and is used for voice broadcasting the operating status of the DC fan.

对上述系统作进一步补充,所述的直流风扇与单片机之间形成闭环控制,即单片机实时采集直流风扇中电机的转速,同时在直流风扇与单片机设置金氧半场效晶体管,通过单片机为直流风扇的转速提供运转策略。The above-mentioned system is further supplemented, and a closed-loop control is formed between the DC fan and the single-chip microcomputer, that is, the single-chip microcomputer collects the rotating speed of the motor in the DC fan in real time, and a metal oxide half-field-effect transistor is set on the DC fan and the single-chip microcomputer at the same time, and the DC fan is controlled by the single-chip microcomputer. The rotation speed provides the operation strategy.

对上述系统作进一步补充,所述直流风扇的电机为码盘电机。As a further supplement to the above system, the motor of the DC fan is a code disc motor.

对上述系统作进一步补充,还包括无线遥控模块,所述的无线遥控模块包括无线接收器模块和无线发射器模块,其中无线接收器模块与单片机的引脚连接,无线发射模块和无线接收模块之间通过无线射频进行数据传输,实现对直流风扇的开关、档位以及是否启动自动模式进行控制。As a further supplement to the above system, it also includes a wireless remote control module, the wireless remote control module includes a wireless receiver module and a wireless transmitter module, wherein the wireless receiver module is connected to the pins of the single-chip microcomputer, and the wireless transmitter module and the wireless receiver module Data transmission is carried out through wireless radio frequency, so as to realize the control of the switch, gear position and whether to start the automatic mode of the DC fan.

采用上述技术方案所产生的有益效果在于:本系统温度传感器对当前的环境温度进行精确采集,使直流风扇对当前环境温度拥有了“感知”能力,为直流风扇智能性的实现提供了前提;本系统可以利用单片机的定时/计数器,对电机转速实时采集,经过模糊PID控制算法,通过定时器产生不同占空比的PWM脉冲对风扇调速,使风扇电机快速、无静差、高精度的达到设定转速;本系统可以对直流电扇设定定档运行、温度运行和自主运行等多种运行模式,满足了用户的不同需求,大大提升了直流风扇的智能性和使用舒适度;本系统中的热释电红外传感器,在一定范围内,检测是否存在用户,当存在用户时,风扇自动启动,当用户离开时,风扇自动关闭,使直流风扇对用户有了自主感知能力;本系统可以实现远距离遥控直流风扇。有效控制直流风扇的启动/关闭、档位切换、运行模式切换的功能,整个系统的运用提高了风扇智能性,有着很好的应用前景,同时也是智能家居在家用风扇方面的有效尝试。The beneficial effect of adopting the above technical solution is that: the temperature sensor of this system can accurately collect the current ambient temperature, so that the DC fan has the ability to "perceive" the current ambient temperature, which provides a prerequisite for the realization of the intelligence of the DC fan; The system can use the timer/counter of the single-chip microcomputer to collect the motor speed in real time. After the fuzzy PID control algorithm, the timer generates PWM pulses with different duty ratios to adjust the fan speed, so that the fan motor can achieve fast, no static error, and high precision. Set the speed; this system can set various operating modes such as fixed-speed operation, temperature operation and independent operation for the DC fan, which meets the different needs of users and greatly improves the intelligence and comfort of the DC fan; in this system The pyroelectric infrared sensor detects whether there is a user within a certain range. When there is a user, the fan will automatically start. Remote control DC fan. Effectively control the start/stop, gear switching, and operating mode switching functions of the DC fan. The use of the entire system improves the intelligence of the fan and has a good application prospect. It is also an effective attempt for smart homes in household fans.

附图说明Description of drawings

下面结合附图和具体实施方式对本实用新型作进一步详细的说明;Below in conjunction with accompanying drawing and specific embodiment the utility model is described in further detail;

图1是本实用新型的结构组成示意图。Fig. 1 is the structural composition schematic diagram of the present utility model.

具体实施方式detailed description

本实用新型具体涉及一种自动调温风扇控制系统,用于控制12V直流风扇转速,实现智能控制。根据附图1可知,本实用新型具体包括直流风扇、单片机、实时时钟模块、温度采集模块、矩阵键盘模块、红外传感器模块、液晶显示模块、指示灯显示模块、语音接收模块和无线遥控模块。The utility model specifically relates to an automatic temperature-regulating fan control system, which is used for controlling the rotating speed of a 12V DC fan and realizing intelligent control. According to accompanying drawing 1, the utility model specifically comprises a DC fan, a single-chip microcomputer, a real-time clock module, a temperature acquisition module, a matrix keyboard module, an infrared sensor module, a liquid crystal display module, an indicator light display module, a voice receiving module and a wireless remote control module.

本系统中,单片机为整个系统的核心所在,所有的信息都传输给单片机,经单片机处理后传输给相应模块完成相应动作。正是由于单片机这一“神经中枢”的存在,才使得众多硬件有机结合为一体,共同组成了自动调温风扇控制系统。In this system, the single-chip microcomputer is the core of the whole system, and all information is transmitted to the single-chip microcomputer, and after being processed by the single-chip microcomputer, it is transmitted to the corresponding module to complete the corresponding action. It is precisely because of the existence of the "nerve center" of the single-chip microcomputer that many hardwares are organically combined to form an automatic temperature-adjusting fan control system.

本系统采用12V电源供电,12V电源通过12V适配器由220V、50Hz家用交流电转换为12V电压为整个系统提供电能。其中12V电源直接对直流风扇供电,同时通过5V电源降压模块为单片机以及各传感器和控制模块供电。The system is powered by 12V power supply, which is converted from 220V, 50Hz household AC power to 12V voltage through a 12V adapter to provide power for the entire system. Among them, the 12V power supply directly supplies power to the DC fan, and at the same time supplies power to the single-chip microcomputer, various sensors and control modules through the 5V power step-down module.

单片机主控制器为整个系统的核心器件,单片机型号的选取决定了整个系统的性能。本系统中单片机主控制器需要完成的主要功能如下:The single-chip main controller is the core device of the whole system, and the selection of the single-chip model determines the performance of the whole system. The main functions that the single-chip main controller needs to complete in this system are as follows:

(1)接收温度传感器模块采集的周围环境温度;(1) receiving the ambient temperature collected by the temperature sensor module;

(2)对风扇电机进行测速,并结合模糊PID控制算法,产生相应PWM波形控制电机转速;(2) Measure the speed of the fan motor, and combine the fuzzy PID control algorithm to generate the corresponding PWM waveform to control the motor speed;

(3)接收无线遥控接收器传输的信号,对用户远距离遥控操作做出响应;(3) Receive the signal transmitted by the wireless remote control receiver, and respond to the remote control operation of the user;

(4)接收红外传感器模块,当风扇前100°范围内有用户时自动启动直流风扇,当用户离去时自动关闭直流风扇;(4) Receive the infrared sensor module, automatically start the DC fan when there is a user within 100° in front of the fan, and automatically turn off the DC fan when the user leaves;

(5)接收矩阵键盘的数据,当用户按下键盘时做出响应动作;(5) Receive the data of the matrix keyboard, and make a response action when the user presses the keyboard;

(6)控制液晶显示模块和LED指示灯实时显示直流风扇当前运行状态;(6) Control the liquid crystal display module and the LED indicator to display the current running status of the DC fan in real time;

(7)控制实时时钟模块采集当前时间;(7) control the real time clock module to collect the current time;

(8)控制语音模块,对直流风扇运行状态进行语音播报,并当系统对用户操作做出响应时进行语音播报。同时当用户需要录音时,可完成对用户音频留言的录制,并可播放录音。(8) Control the voice module, perform voice broadcast on the running status of the DC fan, and perform voice broadcast when the system responds to user operations. At the same time, when the user needs to record, the recording of the user's audio message can be completed and the recording can be played.

由于单片机、各传感器以及其他控制模块均为5V供电,故需将12V电压进一步降为5V。考虑到12V电压由电源适配器通过220V交流电转换而来,而12V电源适配器一般为开关电源,12V电压会有很多纹波,所以5V电源降压模块应避免采用开关稳压器件,需采用线性稳压器件,同时在稳压器件的输入端和输出端连接必要的滤波和去耦电容,消除电压纹波。考虑到上述问题,本系统采用LM7805线性稳压器件作为5V降压模块的主要器件。Since the single-chip microcomputer, each sensor and other control modules are powered by 5V, it is necessary to further reduce the 12V voltage to 5V. Considering that the 12V voltage is converted by the power adapter through 220V AC, and the 12V power adapter is generally a switching power supply, the 12V voltage will have a lot of ripples, so the 5V power step-down module should avoid using switching regulators, and must use linear regulators device, and connect necessary filtering and decoupling capacitors at the input and output ends of the voltage regulator device to eliminate voltage ripple. Considering the above problems, this system uses LM7805 linear regulator as the main device of the 5V step-down module.

本系统不需要进行复杂的算术运算,也不需要运行操作系统,综合考虑引脚数目,定时器、计数器功能,中断机制,价格因素以及软件开发难易程度,本系统选取应用最为广泛且价格低廉,软件开发容易的ATMEL公司89C52单片机作为系统的主控制器。This system does not need to perform complex arithmetic operations, nor does it need to run an operating system. Considering the number of pins, timer and counter functions, interrupt mechanism, price factors and the difficulty of software development, this system is the most widely used and cheap , ATMEL company's 89C52 single-chip microcomputer, which is easy for software development, is used as the main controller of the system.

温度采集模块也是系统的重要元件,温度采集模块的采集速度和精度,决定了整个系统控制的速度和精度。温度采集模块将周围环境的温度采集出来并传输给单片机主控制器进行处。温度采集的方式有两种,一种是通过热敏电阻,将温度转化为热敏电阻的阻值,阻值对应不同的电压值,单片机通过A/D转换将电压值模拟量转换为数字量,完成温度的采集。另一种方式是采用数字温度传感器,该传感器可直接将温度值转换数字量,单片机按照一定的通信协议,将数字温度传感器采集的数字量直接读出来,从而完成温度的采集。自带有A/D转换器的单片机价格相对较贵,而单独的A/D转换芯片也价格不菲。而且通过热敏电阻来测量环境温度,精度不高。鉴于此,本系统温度采集模块采用数字温度传感器,而DS1B20温度传感器应用广泛,精度高,范围宽,接线简单,软件实现容易,成为本系统温度采集模块的首选。The temperature acquisition module is also an important component of the system. The acquisition speed and accuracy of the temperature acquisition module determine the speed and accuracy of the entire system control. The temperature acquisition module collects the temperature of the surrounding environment and transmits it to the main controller of the single chip microcomputer for processing. There are two ways to collect temperature. One is to convert the temperature into the resistance value of the thermistor through the thermistor. The resistance value corresponds to different voltage values. The single-chip computer converts the analog voltage value into a digital value through A/D conversion. , to complete the temperature collection. Another way is to use a digital temperature sensor, which can directly convert the temperature value into a digital quantity, and the single-chip microcomputer can directly read out the digital quantity collected by the digital temperature sensor according to a certain communication protocol, thereby completing the temperature collection. The single-chip microcomputer with its own A/D converter is relatively expensive, and a separate A/D conversion chip is also expensive. Moreover, the accuracy of measuring the ambient temperature through the thermistor is not high. In view of this, the temperature acquisition module of this system uses a digital temperature sensor, and the DS1B20 temperature sensor is widely used, with high precision, wide range, simple wiring, and easy software implementation, which has become the first choice for the temperature acquisition module of this system.

本系统选用自带有测速码盘的12V直流电机(ASLONGRF371),在电机安装扇叶来构成本系统的直流风扇。该电机每旋转一周可输出334个矩形脉冲,通过对脉冲计数可实现对电机转速的实时检测。This system uses a 12V DC motor (ASLONGRF371) with its own speed measuring code disc, and installs fan blades on the motor to form the DC fan of this system. The motor can output 334 rectangular pulses per revolution, and the real-time detection of the motor speed can be realized by counting the pulses.

本系统对直流电机的调速原理是基于对PWM矩形脉冲占空比的调节。系统采用12V直流电机,单片机 无法直接驱动该电机,需要通过金氧半场效晶体管(MOSFET管)来驱动该电机。本系统选取IRF1010N沟道MOSFET管,其最小击穿电压为60V,25℃条件下,最大导通电流84A,栅极与源极的门槛电压为2.0V~4.0V,导通电阻25mΩ,完全满足系统要求。The principle of speed regulation of the DC motor in this system is based on the regulation of the PWM rectangular pulse duty cycle. The system uses a 12V DC motor, and the single-chip microcomputer cannot directly drive the motor, and the motor needs to be driven by a metal oxide semiconductor field-effect transistor (MOSFET tube). This system selects IRF1010N-channel MOSFET tube, the minimum breakdown voltage is 60V, the maximum conduction current is 84A under the condition of 25°C, the gate and source threshold voltage is 2.0V~4.0V, and the conduction resistance is 25mΩ, which fully meets System Requirements.

实时时钟模块:系统功能要求实时显示当前时间,故需要选取恰当的实时时钟芯片。DS1302时钟芯片可以对秒、分钟、小时、月份、星期、年进行计数,年计数可达到2100年。单片机通过三个引脚即可完成控制,且该芯片为双电源配置,系统除了正常功能外又为该芯片设计有备份电池电源,保证系统断电情况下,DS1302芯片依然可以正常工作,实时更新时间。Real-time clock module: The system function requires real-time display of the current time, so it is necessary to select an appropriate real-time clock chip. The DS1302 clock chip can count seconds, minutes, hours, months, weeks, and years, and the year count can reach 2100 years. The single-chip microcomputer can complete the control through three pins, and the chip is equipped with dual power supply. In addition to the normal function of the system, a backup battery power supply is designed for the chip to ensure that the DS1302 chip can still work normally and update in real time when the system is powered off. time.

矩阵键盘模块:系统功能要求用户可对直流风扇的调节温度进行设定,同时可以通过语音模块进行录音留言并播放出来,而且时间显示也要求用户可以对当前时间进行调整,这些均要求系统提供输入接口设备,用户可以通过输入接口向单片机控制器输入控制指令。系统考虑到采用按键输入时,需要用到的按键较多,若采用独立键盘模式,虽然编程简单,但每个按键均需为其分配单片机IO引脚,造成资源浪费。而采用矩阵键盘模式,只需8个IO引脚即可控制16个按键,大大节省了单片机IO资源,是本系统输入接口设备的首选。Matrix keyboard module: the system function requires the user to set the temperature adjustment of the DC fan, and at the same time, the voice module can be used to record and play the message, and the time display also requires the user to adjust the current time, all of which require the system to provide input Interface equipment, the user can input control commands to the single-chip controller through the input interface. The system considers that when key input is used, many keys need to be used. If the independent keyboard mode is used, although the programming is simple, each key needs to be assigned an IO pin of the single-chip microcomputer, resulting in waste of resources. In the matrix keyboard mode, only 8 IO pins are needed to control 16 keys, which greatly saves the IO resources of the single-chip microcomputer, and is the first choice for the input interface device of this system.

红外传感器模块:本系统可实现当用户位于直流风扇前方一定范围内时,直流风扇可自动启动。为实现该功能,系统考虑采用红外传感器模块。而一般的红外传感器只能判断风扇前方是否有遮挡物,当有遮挡物时即启动风扇。这种情况下,若位于风扇前方的不是用户而是某一物品时,风扇存在错误判断的风险。基于以上考虑,系统采用红外热释电传感器(HC-SR501)。该传感器基于检测人体释放的红外辐射的原理,只有当前方为人时才会触发判断,可以有效避免误判的情况出现,实现了有效判断在直流风扇小于5米,100°锥角范围内是否存在用户的功能。Infrared sensor module: This system can realize that when the user is within a certain range in front of the DC fan, the DC fan can be automatically started. In order to realize this function, the system considers adopting the infrared sensor module. The general infrared sensor can only judge whether there is an obstruction in front of the fan, and the fan will be activated when there is an obstruction. In this case, if the person in front of the fan is not a user but an item, the fan may have a risk of misjudgment. Based on the above considerations, the system uses an infrared pyroelectric sensor (HC-SR501). The sensor is based on the principle of detecting the infrared radiation released by the human body. Only when there is a person in front of it will the judgment be triggered, which can effectively avoid the occurrence of misjudgment and realize the effective judgment of whether there is a DC fan within the range of less than 5 meters and 100° cone angle. User functions.

液晶显示模块:系统功能要求对直流风扇的转速、环境温度及当前时间可以实时显示。应用最广泛、操作最简单的方式为8位数码管显示,但是数码管在美观方面较为欠缺,且易损坏,一旦数码管中的任意发光二极管损坏,则影响整个显示效果。而12864液晶显示器或TFT彩色显示器虽然显示效果绚丽且可显示数字、字母和汉字等,但其价格较贵,本系统也不需要显示汉字。故结合显示美观性、显示效果以及硬件和软件的易实现性,系统采用LCD1602液晶显示模块,该显示屏体积小,背光可调节,除显示数字外也可显示英文字母,且电路接线简单,软件易操作,与数码管相比有明显优势,是本系统液晶显示模块的首选。Liquid crystal display module: the system function requirements can display the speed of the DC fan, the ambient temperature and the current time in real time. The most widely used and the easiest way to operate is the 8-digit digital tube display, but the digital tube is relatively lacking in aesthetics and is easily damaged. Once any light-emitting diode in the digital tube is damaged, the entire display effect will be affected. Although 12864 liquid crystal display or TFT color display has gorgeous display effect and can display numbers, letters and Chinese characters, etc., its price is more expensive, and this system does not need to display Chinese characters. Therefore, in combination with display aesthetics, display effect, and easy realization of hardware and software, the system adopts LCD1602 liquid crystal display module, which is small in size and adjustable in backlight. It is easy to operate and has obvious advantages compared with the digital tube. It is the first choice for the liquid crystal display module of this system.

指示灯显示模块:系统除了要求显示温度、转速和当前时间外,还要求在风扇定速档位运行时能够直观反应出当前的运行档位状态,当系统通过语音模块进行录音留言和播放留言时也可直观显示运行状态。液晶显示模块在直观方面稍显欠缺,而LED发光二极管可以简单直观的显示系统运行状态,故系统采用若干LED发光二极管来作为系统运行状态的显示器件。Indicator light display module: In addition to displaying temperature, speed and current time, the system also requires that the current running gear status can be intuitively reflected when the fan is running at a constant speed. When the system uses the voice module to record and play messages It can also visually display the running status. The liquid crystal display module is somewhat lacking in intuitiveness, and LED light-emitting diodes can simply and intuitively display the operating status of the system, so the system uses several LED light-emitting diodes as display devices for system operating status.

语音模块:系统要求可以语音播报风扇运行状态,同时用户也可以通过语音模块给其他用户进行录音 留言,而其他用户可以将录音留言播放出来。这些功能要求所选取的语音模块不仅可以进行语音播报,还可以进行录音。语音模块有很多种,在电动车上广泛应用的WTB015就是其中之一,但是WTB015只能进行语音播报,不能进行录音,这显然不符合系统要求。而ISD4004语音模块既可以进行语音播报,还可以进行录音,其录音时间可达到8~16分钟,且可通过SPI总线与单片机通信,操作简单,完全满足系统要求。Voice module: The system requires the voice to announce the running status of the fan. At the same time, users can also record and leave messages to other users through the voice module, and other users can play the recorded messages. These functions require that the selected voice module can not only perform voice broadcast, but also record. There are many kinds of voice modules, and WTB015, which is widely used in electric vehicles, is one of them. However, WTB015 can only perform voice broadcast and cannot record, which obviously does not meet the system requirements. The ISD4004 voice module can not only perform voice broadcast, but also record, and its recording time can reach 8 to 16 minutes, and it can communicate with the microcontroller through the SPI bus, which is easy to operate and fully meets the system requirements.

无线遥控模块(接收器、发射器):系统要求用户可远距离对直流风扇的开关、档位以及是否启动自动模式进行控。市面上无线通信模块有很多,从远距离的GSM/GPRS通信、到低功耗的Zigbee通信,以及无线串口等。但上述无线通信技术都是用来传输有一定数据量的数字、字符等,而本系统由于只是无线传输开关量即“0”和“1”,传输是否有按键按下,不需要传输大量的数据,且通信距离达到50m即可,故选用传输开关量的无线射频模块PT2262/PT2272。PT2262和PT2272硬件接线简单,直接传输开关量,当PT2262发射器的某一引脚变为低或者变化高时,PT2272接收器与之对应的引脚也会随之改变,该无线通信模块无需编程,直接将接口与单片机IO引脚相连即可,且通信距离完全可以达到50m,满足系统要求。Wireless remote control module (receiver, transmitter): The system requires the user to remotely control the switch, gear position and whether to start the automatic mode of the DC fan. There are many wireless communication modules on the market, ranging from long-distance GSM/GPRS communication, to low-power Zigbee communication, and wireless serial ports. However, the above-mentioned wireless communication technologies are all used to transmit numbers and characters with a certain amount of data, and since this system only transmits the switching values "0" and "1" wirelessly, it does not need to transmit a large amount of data if there is a button pressed. Data, and the communication distance can reach 50m, so choose the wireless radio frequency module PT2262/PT2272 to transmit the switching value. The hardware wiring of PT2262 and PT2272 is simple, and the switching value is transmitted directly. When a pin of the PT2262 transmitter becomes low or high, the corresponding pin of the PT2272 receiver will also change accordingly. The wireless communication module does not need programming , directly connect the interface with the IO pin of the microcontroller, and the communication distance can reach 50m, which meets the system requirements.

本系统的创新之处在于大大提高了电风扇的智能性,通过模糊PID实现了对风扇转速的精确有效控制,并添加了多种功能,改变了人们对于家用风扇的认识,提升了风扇的使用舒适度和用户体验。同时在电路硬件设计时充分考虑了不同电压在电路上相互干扰的情况,并通过添加滤波去耦电容、限流电阻以及单点接地等操作,保证了硬件电路的稳定性、安全性和抗干扰性。经测试,系统运行稳定,各功能运行正常,取得了较好的效果。The innovation of this system is that it greatly improves the intelligence of the electric fan, realizes precise and effective control of the fan speed through fuzzy PID, and adds a variety of functions, which changes people's understanding of household fans and improves the use of fans comfort and user experience. At the same time, the mutual interference of different voltages on the circuit is fully considered in the circuit hardware design, and the stability, safety and anti-interference of the hardware circuit are guaranteed by adding filter decoupling capacitors, current limiting resistors, and single-point grounding operations. sex. After testing, the system is running stably, and all functions are running normally, and good results have been achieved.

Claims (4)

1. an automatic temperature-regulating fan control system, it is characterised in that include DC fan and single-chip microcomputer, described DC fan External 12 volts of power supplys are powered, and are provided with 5 volts of power voltage step down modules between single-chip microcomputer and 12 volts of power supplys, DC fan and single-chip microcomputer it Between formed closed loop control;Also include real-time clock module, temperature collect module, matrix keyboard module, infrared sensor module, liquid Brilliant display module, display lamp display module and speech reception module, wherein real-time clock module is furnished with reserce cell power supply, in real time Three pins of clock module and single-chip microcomputer are connected, and provide current time in real time;Temperature collect module uses digital temperature to pass Sensor, is connected with single-chip microcomputer, for the temperature for single-chip microcomputer Real-time Collection surrounding;Matrix keyboard module is provided with 8 IO and draws Foot, controls 16 buttons, is connected with single-chip microcomputer I/O interface, provides user the temperature control instruction of input for single-chip microcomputer;Infrared biography Sensor module uses pyroelectric infrared sensor, for whether being positioned at the instruction in direct current electric fan front by user for single-chip microcomputer; LCD MODULE, the information sent according to single-chip microcomputer, it is used for showing direct current fan speed, ambient temperature and current time;Refer to Show that lamp display module is connected with single-chip microcomputer, be used for reacting DC fan current operating conditions;Speech reception module is with single-chip microcomputer even Connect, for voice broadcast DC fan running status.
A kind of automatic temperature-regulating fan control system the most according to claim 1, it is characterised in that described DC fan with Form the rotating speed of motor in closed loop control, i.e. single-chip microcomputer Real-time Collection DC fan between single-chip microcomputer, simultaneously DC fan with Single-chip microcomputer arranges metal-oxide half field effect transistor, and the rotating speed being DC fan by single-chip microcomputer provides operating strategy.
A kind of automatic temperature-regulating fan control system the most according to claim 2, it is characterised in that the electricity of described DC fan Machine is code-disc motor.
A kind of automatic temperature-regulating fan control system the most according to claim 1, it is characterised in that also include wireless remote control mould Block, described wireless remote control module includes transceiver module and wireless transmitter module, wherein transceiver module with The pin of single-chip microcomputer connects, and is carried out data transmission by less radio-frequency between wireless transmitter module and wireless receiving module, it is achieved To switch, the gear of DC fan and whether start automatic mode and be controlled.
CN201620489442.1U 2016-05-26 2016-05-26 A kind of automatic temperature-regulating fan control system Expired - Fee Related CN205744551U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201620489442.1U CN205744551U (en) 2016-05-26 2016-05-26 A kind of automatic temperature-regulating fan control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201620489442.1U CN205744551U (en) 2016-05-26 2016-05-26 A kind of automatic temperature-regulating fan control system

Publications (1)

Publication Number Publication Date
CN205744551U true CN205744551U (en) 2016-11-30

Family

ID=57362060

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201620489442.1U Expired - Fee Related CN205744551U (en) 2016-05-26 2016-05-26 A kind of automatic temperature-regulating fan control system

Country Status (1)

Country Link
CN (1) CN205744551U (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106597960A (en) * 2017-01-23 2017-04-26 天津市建筑工程质量检测中心 51-single-chip-microcomputer-based speech temperature dual-control system for ventilation system
CN107529684A (en) * 2017-07-07 2018-01-02 广东技术师范学院 A kind of direct current generator intelligent speed-governing system
CN108045198A (en) * 2017-12-19 2018-05-18 南京信息职业技术学院 Cooling system in car
CN108518351A (en) * 2018-06-06 2018-09-11 上海海事大学 A kind of isolated form intelligent temperature control fan assembly and its control method
CN109236713A (en) * 2018-09-18 2019-01-18 郑州云海信息技术有限公司 A kind of intelligent fan regulation method and system applied to general type
CN116624418A (en) * 2023-06-19 2023-08-22 朗戈智能系统(上海)有限公司 Fan adjusting system and method of brushless fan controller

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106597960A (en) * 2017-01-23 2017-04-26 天津市建筑工程质量检测中心 51-single-chip-microcomputer-based speech temperature dual-control system for ventilation system
CN107529684A (en) * 2017-07-07 2018-01-02 广东技术师范学院 A kind of direct current generator intelligent speed-governing system
CN108045198A (en) * 2017-12-19 2018-05-18 南京信息职业技术学院 Cooling system in car
CN108518351A (en) * 2018-06-06 2018-09-11 上海海事大学 A kind of isolated form intelligent temperature control fan assembly and its control method
CN109236713A (en) * 2018-09-18 2019-01-18 郑州云海信息技术有限公司 A kind of intelligent fan regulation method and system applied to general type
CN116624418A (en) * 2023-06-19 2023-08-22 朗戈智能系统(上海)有限公司 Fan adjusting system and method of brushless fan controller

Similar Documents

Publication Publication Date Title
CN205744551U (en) A kind of automatic temperature-regulating fan control system
CN205173026U (en) Intelligent fan
CN104295517A (en) Intelligent indoor temperature adjusting system
CN202402306U (en) Intelligent control circuit for electric fan
CN203970044U (en) Intelligent curtain controller device
CN104359193B (en) There is the wind blower coil tube temperature controller of multiple energy saving modes
CN102880158A (en) Remote wireless intelligent home control system
CN203912278U (en) LED desk lamp intelligent controller
CN206129662U (en) Fan controller
CN201589373U (en) Electricity-saving control device for air conditioner
CN206274037U (en) A kind of SCM Based intelligent fan system
CN111616503A (en) Intelligent panel and office table comprising same
CN103884082B (en) Judge the indoor air-conditioning recloser having nobody
CN205787662U (en) A kind of smart home environment detection and control system
CN109737075A (en) A kind of multi-mode induced intelligent energy-saving fan
CN211244193U (en) Intelligent bed elevation angle management system for medical Internet of things
CN205823702U (en) A kind of alternating current-direct current Design of Intelligent Fanner
CN201303451Y (en) Lighting energy-saving controller for classroom
CN206136412U (en) An energy-saving control system for indoor LED lamps
CN202789640U (en) Digital temperature control speed governor for electric fan
CN206770240U (en) A kind of temperature control fan for sensing human body
CN106640717A (en) A multifunctional intelligent fan
CN211671836U (en) Pet air conditioner
CN103527504A (en) Classroom fan energy saver
CN205880535U (en) Intelligent home control system

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20161130

Termination date: 20170526

CF01 Termination of patent right due to non-payment of annual fee