Design of fan temperature control system based on single chip microcomputer

Publisher:ZenMaster123Latest update time:2012-05-15 Keywords:MCU Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

0. Introduction

Fans are general-purpose machines, which are widely used in various sectors of the national economy. Fans are widely used in ventilation, dust removal and cooling of factories, mines, vehicles, buildings, household appliances, etc.; drying and selection of grains; wind tunnel wind sources and inflation and propulsion of hovercraft, etc. In addition, in some places with special requirements for ambient temperature, the temperature change is required to be below 1°C, which requires a fan temperature control system that can determine the rotation and stop of the fan according to the external ambient temperature.

The fan micro-temperature control system designed in this paper can achieve a temperature detection accuracy of 0.01℃, and the upper and lower temperature limits can be set manually, and it has an automatic sound and light alarm function.

1. Design requirements

This system uses a PT1000 temperature sensor to detect the ambient temperature (temperature detection accuracy 0.01°C), controls the fan cooling according to the ambient temperature changes, and has the functions of manually setting the upper and lower limits of the temperature, sound and light alarm, etc. The schematic diagram of its control panel is shown in Figure 1.

Specific technical requirements and functional descriptions are as follows:

(1) When the ambient temperature is within the set temperature range, the green LED is on and the fan does not work;

(2) When the ambient temperature approaches the set temperature upper limit (within 5°C), the yellow LED lights up, the fan operates at a low speed, and the buzzer emits three 500Hz alarm sounds;

(3) When the ambient temperature is higher than the set upper temperature limit, the red LED lights up, the fan runs at full speed, and the buzzer sounds for a long time.

(4) Dual fans are used to work in time-sharing mode, which is convenient for maintenance.

2. Design of fan temperature control system based on single chip microcomputer

2.1 System Hardware Design

2.1.1 System hardware composition

According to the design requirements, we adopt a modular design scheme for the fan control system, and divide the entire fan temperature control system into nine functional modules, namely: power module, fan control module, main control circuit module, display circuit module, key module, alarm module, temperature detection module, EEPROM module, serial communication module, etc. The relationship between each functional module is shown in Figure 2.

2.1.2 Introduction to each functional module of the system

(1) Power module

System power supply: external 12V/2A DC power supply Digital power supply: 51 single-chip microcomputer, AD conversion chip, photocoupler. Use 1 7805 three-terminal voltage regulator. Analog power supply: The fan is directly connected to the 12V power supply, and the PT1000 sensor is powered by 1 7805 three-terminal voltage regulator. Device requirements: 1 12V/2A DC power supply, 2 7805 three-terminal voltage regulators, 1 power indicator light, and 1 power switch.

(2) Fan control module (fan control adopts master-slave mode) This module uses a single-chip microcomputer IO port to output PWM signals, and controls the fan's stop and start and speed through an optocoupler and MC1413 drive circuit. The fan is powered directly by a 12V power supply. The circuit diagram is shown in Figure 3.

Device requirements: 2 0.8A fans, 1 MC1413 driver control chip, 2 6N137 optocouplers.

(3) Main control circuit module

The minimum system consists of STC11F16XE.

Device requirements: STC1 1F16XE chip, 11.0592MHz crystal oscillator, 22PF\1OuF\104 capacitor, 1K\10K resistor, 1 reset button. The schematic diagram is shown in Figure 4.


2.2.2 System software design source code

The system software development environment uses Keil uVision3.

Taking the fan control module as an example, the system software design source program is given:

3. Conclusion

This paper designs a fan temperature control system based on a single-chip microcomputer. It can collect data through a temperature sensor according to slight changes in ambient temperature and control the fan's action after signal processing. The control system adopts a modular design, has high reliability and is easy to maintain. It has been verified by experiments that it can achieve the intended function.

Keywords:MCU Reference address:Design of fan temperature control system based on single chip microcomputer

Previous article:Design of high-precision time interval measurement module based on single-chip microcomputer
Next article:Improved design of infrared pump based on SPCE061A control

Recommended ReadingLatest update time:2024-11-16 22:44

HOLTEK MCU-digital tube display
Function Description: The 4 common anode seven-segment displays display 4 digits at a time. There are 16 characters from 0-F, which are divided into four groups of digits: 3-0, 7-4, B-8, and FC. One group is displayed at a time, in sequence, in an endless cycle. Circuit Description:         The circuit diagram is
[Microcontroller]
HOLTEK MCU-digital tube display
51 MCU Getting Started Tutorial (4) - Button Control
There are two main types of information interaction between the microcontroller and the outside world: input information and output information. The previous blog introduced how to control LED lights and digital tubes to output information to the outside world through a single-chip microcomputer. This tutorial intro
[Microcontroller]
51 MCU Getting Started Tutorial (4) - Button Control
Development and Application of AT89S51 Single Chip Microcomputer Experimental System
At present, the application of single-chip microcomputers has penetrated into various fields, and the development of single-chip microcomputer technology has also changed with each passing day. As an application-oriented discipline with strong practicality, single-chip microcomputer research and development and teachin
[Microcontroller]
Development and Application of AT89S51 Single Chip Microcomputer Experimental System
Ordinary MCU Teaching——Lecture 12 MCU Instructions (VI)
Logic and Instructions ANL A,Rn; The values ​​in A and Rn are bitwise ANDed, and the result is sent to A ANL A,direct; The values ​​in A and direct are bitwise ANDed, and the result is sent to A ANL A,@Ri; A and the value in the indirect addressing unit @Ri are bitwise ANDed, and the result is sent to A
[Microcontroller]
Ordinary MCU Teaching——Lecture 12 MCU Instructions (VI)
A brief discussion on 3 ways of external data exchange using 8051 microcontroller
There are usually several ways to exchange information between the microcontroller CPU and external devices: unconditional transmission, query transmission and interrupt transmission. We use the interface between a microcontroller and a microprinter as an example to describe these three methods. Assume that the user w
[Microcontroller]
PCB exposure box based on MEGA8 single chip microcomputer countdown system
Introduction In the following lines I describe the process I followed to build the box, the light system, and the countdown system which is based on the AVR MEGA8 microcontroller. Four black light lamps, 15W each, emit radiation in the UVA region, with a peak of about 350nm... sensitive to
[Microcontroller]
PCB exposure box based on MEGA8 single chip microcomputer countdown system
MCU DS18B20 Thermometer C Language Program
//Function: negative temperature display, high precision grid can display -9.99C to 99.99C //           With alarm device //           When the temperature is positive, display the tens, units, tenths and percentiles //          When the temperature is negative, display the negative sign, tens, units and tenth
[Microcontroller]
Next-generation automotive microcontrollers: STMicroelectronics technology analysis
STMicroelectronics (ST) has been deeply involved in the automotive market for more than 30 years, and its products and solutions cover most application systems in ordinary vehicles. With the development of the market, STMicroelectronics' products are also constantly upgraded and improved, and its important product,
[Automotive Electronics]
Next-generation automotive microcontrollers: STMicroelectronics technology analysis
Latest Analog Electronics Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号