Design of fan temperature control system based on single chip microcomputer

Publisher:TapirLatest update time:2010-10-10 Source: 电子技术Keywords:Fan 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.

Control panel diagram

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.

The relationship between each functional module

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.

Circuit Diagram

Circuit Diagram

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.

Circuit Diagram

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:

program

program

program

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:Fan Reference address:Design of fan temperature control system based on single chip microcomputer

Previous article:Software UART Design Based on the Universal Pins of Single-Chip Microcomputer
Next article:Development of automatic tube expansion controller based on MSP430

Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
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号