An intelligent fan speed control system based on MCU
Through the MCU-based fan intelligent speed regulation system, the fan speed is adjusted using temperature detection and PWM signal, the existing fan speed regulation system has solved the problems of high energy consumption, high noise and short service life, and the balance between economy and heat dissipation needs is achieved.
Patent Information
- Application Number
- CN202421318974.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-11
- Publication Date
- 2025-04-11
- Estimated Expiration
- 2034-06-11
AI Technical Summary
The existing fan speed regulation system rotates at full speed after starting, resulting in high energy consumption, high noise and short fan service life. Another solution increases costs.
The MCU-based fan intelligent speed regulation system is adopted to monitor the fan ambient temperature through the detection module. The MCU module adjusts the fan speed according to the preset temperature range and the PWM signal duty cycle.
It realizes intelligent speed regulation of the fan in different temperature ranges, reduces energy consumption and noise, extends the service life of the fan, and reduces system costs.
Smart Images

Figure CN222746272U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of fan speed regulation systems, in particular to an intelligent fan speed regulation system based on an MCU. Background Art
[0002] In real life and work, many products require fans for heat dissipation, especially products like hard drives, which generate more heat during operation, causing the temperature of the device to rise and affecting the normal operation of the hard drive. Therefore, a fan is usually installed on the hard drive box to dissipate heat and cool the hard drive, thereby ensuring that the hard drive runs at a temperature lower than the ambient temperature, thereby ensuring the normal operation of the system.
[0003] At present, among the solutions for forced heat dissipation using fans, one is to supply power to the fan on the hard disk after starting the system, thereby driving the fan to rotate, that is, the fan rotates at full speed after power is turned on. At this time, the energy consumption and noise are always at the maximum state of the fan, which often causes large energy consumption and poor energy saving. In addition, when the fan is rotating at a high speed when the working environment temperature of the fan is low, the fan will be damaged and the service life of the fan will be reduced. The other is to set a speed regulation circuit in the control circuit and control the fan speed by adding a corresponding control chip. Although this solution can adjust the speed, the cost of the system is increased due to the addition of chips and circuit devices, and the economic efficiency is poor.
[0004] Therefore, there is an urgent need for a speed regulation system that can intelligently adjust the fan speed and has a simple structure. Utility Model Content
[0005] The purpose of the utility model is to provide a fan intelligent speed regulation system based on MCU. In order to solve the above technical problems, the utility model adopts the following technical solutions:
[0006] A fan intelligent speed control system based on MCU, comprising a fan module and:
[0007] A power module, the power module is used to output a driving voltage;
[0008] A detection module, wherein a monitoring end of the detection module is used to detect a temperature signal of a working environment of the fan module;
[0009] An MCU module is provided with a plurality of sets of mutually adapted temperature preset interval values and PWM signal preset duty cycles. An input terminal of the MCU module is coupled to an output terminal of the detection module for receiving a temperature signal collected by the detection module, and comparing the temperature signal with the temperature preset interval value to determine the temperature preset interval between which the temperature signal lies. The PWM output pin is coupled to an input terminal of the fan module. The MCU module outputs a PWM signal preset duty cycle that is adapted to the temperature preset interval between which the temperature signal lies, so as to control the rotation speed of the fan module.
[0010] Furthermore, the MCU module includes a PWM circuit, and the output end of the PWM circuit constitutes a PWM output pin coupled to the input end of the fan module to send out pulse signals with different duty cycles to adjust the rotation speed of the fan module.
[0011] Furthermore, the power module includes a filter circuit for stabilizing the driving voltage output by the power module, and the circuit includes a first resistor R69 and a first filter capacitor C109 connected in series.
[0012] Furthermore, the detection module includes a thermistor RT12 and a second resistor R71, one end of the thermistor RT12 is connected to the power module, and the other end is grounded through the second resistor R71, and the ground end of the thermistor RT12 is coupled to the MCU module.
[0013] Furthermore, a third resistor R70 and a second capacitor C110 are also provided on the branch connecting the thermistor RT12 and the MCU module, so that the thermistor RT12 is grounded through the third resistor R70 and the second capacitor C110.
[0014] Furthermore, the MCU module is configured with an analog-to-digital conversion circuit, and an output end of the analog-to-digital conversion circuit is coupled to an output end of the detection module to convert the voltage signal at the detection end into a digital signal.
[0015] Furthermore, the MCU module also includes an upgrade port for coupling a connector that provides power signals, SCL and SDA signals.
[0016] The beneficial effects produced by the utility model are as follows:
[0017] The embodiment of the utility model provides a fan intelligent speed regulation system based on MCU, after using the detection module to detect the ambient temperature of the fan module, and transmitting the temperature signal to the MCU module, the MCU module compares the temperature signal with the preset temperature preset interval value and determines which preset temperature interval the temperature signal is in, so as to be in a pulse signal with a corresponding duty cycle, thereby driving the fan to rotate at a corresponding speed, and in the heat dissipation process of the fan, the detection module detects the working environment temperature in real time, so as to adjust the speed of the fan according to different working temperatures. The fan intelligent speed regulation system provided by the embodiment of the utility model can realize the speed regulation of the fan within different temperature intervals, so that the fan can reach different speeds within different temperature intervals, and then the fan can achieve a balance in terms of economy and heat dissipation requirements, that is, when the ambient temperature is low, the fan rotates at a low speed, and the speed of the fan is intelligently adjusted as the temperature rises, so as to avoid the fan being in a state of high-speed rotation all the time, and avoid the situation where the service life is reduced due to excessive work, and the system reduces the use of smart chips and more electronic devices, so that the structure is simpler and the production cost is lower. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 This is a circuit diagram of the utility model.
[0019] Figure 2 It is a flow chart of the utility model.
[0020] In the figure: detection module-1; MCU module-2; filter circuit-3; fan module-4. DETAILED DESCRIPTION
[0021] In order to facilitate the understanding of those skilled in the art, the present invention is further described below in conjunction with the embodiments and drawings, and the contents mentioned in the implementation modes are not intended to limit the present invention. The present invention is described in detail below in conjunction with the drawings.
[0022] The utility model provides a fan intelligent speed regulation system based on MCU, such as Figure 1-2As shown, an MCU-based intelligent fan speed control system includes a fan module 4 for active heat dissipation, a power module, a detection module 1, and an MCU module 2, wherein the power module is used to output a driving voltage. In this embodiment, the power module provides a 5V voltage to the system to drive the fan module 4 to rotate for heat dissipation; the monitoring end of the detection module 1 is used to detect the temperature signal of the working environment of the fan module 4; the MCU module 2 is provided with a plurality of sets of mutually adapted temperature preset interval values and PWM signal preset duty ratios, an input end of the MCU module 2 is coupled to the output end of the detection module 1, to receive the temperature signal collected by the detection module 1, and compare the temperature signal with the temperature preset interval value to determine the temperature preset interval between which the temperature signal lies, the PWM output pin is coupled to the fan module input end, and the MCU module 2 outputs a PWM signal preset duty ratio adapted to the temperature preset interval between which the temperature signal lies, to control the rotation speed of the fan module 4.
[0023] Specifically, during the speed regulation process, the power module is connected to pin 1 of the MCU module 2 to provide a 5V driving voltage to the system. The detection module 1 and pin 4 of the MCU module 2 transmit the detected temperature signal to the MCU module 2. The MCU signal is compared with the pre-stored temperature preset interval value to determine that the working temperature signal of the working environment of the fan module 4 detected by the detection module 1 is in the preset temperature interval. According to the preset interval in which the detected temperature signal is located, the MCU module 2 sends a corresponding PWM signal preset duty cycle to modulate the voltage signal of the power module driving the fan module 4, thereby regulating the speed of the fan.
[0024] In the technical solution provided in this embodiment, the MCU module 2 adopts a single-chip microcomputer of model M62D, which receives the ambient temperature signal in the working environment of the fan module after being coupled with the detection module 1, and sends a pulse signal according to the preset temperature signal in the preset temperature range, modulates the driving voltage of the fan module, thereby changing the fan speed, and can set different temperature ranges and corresponding speeds, so that the fan module 4 can intelligently adjust the speed at different ambient temperatures, and can reasonably match the heat dissipation efficiency and economy, which can not only meet the heat dissipation requirements of the equipment but also avoid energy consumption, and prevent the fan from continuously maintaining a high-speed rotation state, so that the fan can avoid excessive wear and tear that affects the service life.
[0025] In this embodiment, the MCU module 2 includes a PWM circuit, and the output end of the PWM circuit constitutes a PWM output pin for coupling with the input end of the fan module, and sends out pulse signals with different duty ratios to adjust the speed of the fan module 4. Figure 1As shown, pin 5 of the MCU is a PWM output pin, and the fan module is connected to pin 5 of the MCU through connector P4. Specifically, pin 1 of the P4 connector is connected to the power module to provide a driving voltage to the fan module 4, pin 2 of the P4 connector is connected to pin 5 of the MCU, and pin 3 of the P4 connector is grounded. The pulse signal is transmitted to the fan module through connector P4, thereby modulating the driving voltage of the fan module 4 and adjusting the speed of the fan module 4.
[0026] In order to keep the voltage signal provided by the power module stable, the power module includes a filter circuit 3 for stabilizing the driving voltage output by the power module. The circuit includes a first resistor R69 and a first filter capacitor C109 connected in series.
[0027] like Figure 1 As shown, a first resistor R69 and a first capacitor C109 are connected between the positive and negative electrodes of the power module to filter the power supply, thereby ensuring the stability of the voltage signal of the power module and ensuring the safe operation of the system.
[0028] In this embodiment, if Figure 1 As shown, the detection module 1 includes a thermistor RT12 and a second resistor R71, one end of the thermistor RT12 is connected to the power module, and the other end is grounded through the second resistor R71, and the ground end of the thermistor RT12 is coupled to the MCU module 2. A third resistor R70 and a second capacitor C110 are also provided on the branch connecting the thermistor RT12 and the MCU module 2, so that the thermistor RT12 is grounded through the third resistor R70 and the second capacitor C110.
[0029] In the process of temperature detection, the thermistor is set inside the working environment of the fan, so that the temperature of the working environment of the fan can be detected. Figure 1 As shown, one end of the thermistor is connected to the power module, and the other end is connected to pin 4 of the MCU. At the same time, two branches connected in parallel are provided, one of which is grounded through the thermistor RT12 via the second resistor R71, and the other thermistor RT12 is connected to the MCU module 2. At the same time, a third resistor R70 and a second capacitor C110 are provided on the branch, which is grounded through the second capacitor C110, so as to filter out high-frequency noise in the temperature signal and ensure the accuracy of signal transmission.
[0030] In this embodiment, the MCU module 2 is configured with an analog-to-digital conversion circuit, the output end of which is coupled to the output end of the detection module 1 to convert the voltage signal output by the detection end of the detection module 1 into a digital signal.
[0031] In this embodiment, the MCU module 2 further includes an upgrade port for coupling a connector that provides a power signal, SCL and SDA signals. Figure 1 As shown, pin 1 of connector P3 is connected to the power module, and pins 3 and 4 thereof are respectively connected to pins 7 and 6 of MCU module 2, thereby outputting SCL and SDA signals to MCU module 2 respectively, which are used to transmit and save the new program in MCU module 2 for system upgrade and update.
[0032] In a risk intelligent speed regulation system based on MCU provided in an embodiment of the utility model, the speed regulation process of the system is as follows:
[0033] like Figure 2 As shown, it is a flow chart of the fan intelligent speed regulation system provided by the embodiment of the utility model. The flow chart of the fan intelligent speed regulation system provided by the embodiment is as follows:
[0034] The detection module 1 detects the working environment of the fan. In this embodiment, the speed regulation system is applied to the speed regulation of the hard disk box fan. The thermistor is mounted inside the hard disk box to detect the ambient temperature inside the hard disk box.
[0035] After receiving the fan working environment temperature transmitted by the detection module 1, the MCU module 2 compares it with the preset temperature preset interval value, and determines that the current fan working environment temperature is within the preset temperature interval, and outputs a PWM signal preset duty cycle that matches the environment preset interval value, thereby adjusting the fan speed. In the MCU module 2, the ratio of the temperature preset interval value to the corresponding speed is shown in the following table:
[0036] Temperature preset interval value Below 30℃ 30℃-60℃ 60℃-80℃ Above 30℃ Temperature sensor faulty or open circuit Fan speed 1700rpm 4000rpm 4700rpm 5300rpm 5000rpm
[0037] That is to say, depending on the preset temperature range of the fan's working environment temperature, the required fan speed is adapted to each other, so that the MCU module 2 sends a pulse signal with a corresponding duty cycle, modulates the voltage signal of the power module, and then drives the fan module 4 to rotate at the corresponding speed to complete the heat dissipation and cooling of the hard disk.
[0038] An MCU-based intelligent fan speed control system provided by the embodiment of the utility model can intelligently adjust the fan speed according to the working environment temperature of the fan. During the adjustment process, the temperature range value and the PWM signal duty cycle are preset in the MCU module 2, so that the fan module 4 can achieve different speeds when it is in different temperature ranges, avoiding the fan from continuously maintaining a speed working state, reducing damage to the fan, and ensuring the service life of the fan. The speed adjustment method of the system is simple and reliable, and can achieve a balance between economy and heat dissipation. In addition, the system does not need to use more chips or electrical components, and the production cost is low.
[0039] The above are only preferred embodiments of the present invention, and are not intended to limit the present invention in any form. Although the present invention is disclosed as a preferred embodiment as above, it is not intended to limit the present invention. Any technician familiar with the profession can make some changes or modifications to equivalent embodiments of equivalent changes by using the technical contents disclosed above without departing from the scope of the technical solution of the present invention. However, any simple modifications, equivalent changes and modifications made to the above embodiments according to the technology of the present invention, which do not depart from the content of the technical solution of the present invention, are within the scope of the technical solution of the present invention.
Claims
1. A fan intelligent speed control system based on MCU, comprising a fan module, characterized in that: Also includes A power module, the power module is used to output a driving voltage; A detection module, wherein a monitoring end of the detection module is used to detect a temperature signal of a working environment of the fan module; An MCU module is provided with a plurality of sets of mutually adapted temperature preset interval values and PWM signal preset duty cycles. An input terminal of the MCU module is coupled to an output terminal of the detection module for receiving a temperature signal collected by the detection module, and comparing the temperature signal with the temperature preset interval value to determine the temperature preset interval between which the temperature signal lies. The PWM output pin is coupled to an input terminal of the fan module. The MCU module outputs a PWM signal preset duty cycle that is adapted to the temperature preset interval between which the temperature signal lies, so as to control the rotation speed of the fan module.
2. The MCU-based intelligent fan speed control system according to claim 1, characterized in that: The MCU module includes a PWM circuit, and the output end of the PWM circuit constitutes a PWM output pin coupled to the input end of the fan module to send out pulse signals with different duty cycles to adjust the rotation speed of the fan module.
3. The MCU-based intelligent fan speed control system according to claim 1, characterized in that: The power module includes a filter circuit for stabilizing the driving voltage output by the power module. The circuit includes a first resistor R69 and a first filter capacitor C109 connected in series.
4. The MCU-based intelligent fan speed control system according to claim 1, characterized in that: The detection module includes a thermistor RT12 and a second resistor R71. One end of the thermistor RT12 is connected to the power module, and the other end is grounded through the second resistor R71. Meanwhile, the ground end of the thermistor RT12 is coupled to the MCU module.
5. The MCU-based intelligent fan speed control system according to claim 4, characterized in that: A third resistor R70 and a second capacitor C110 are also provided on the branch connecting the thermistor RT12 and the MCU module, so that the thermistor RT12 is grounded through the third resistor R70 and the second capacitor C110.
6. The MCU-based intelligent fan speed control system according to claim 1, characterized in that: The MCU module is configured with an analog-to-digital conversion circuit, and the output end of the analog-to-digital conversion circuit is coupled to the output end of the detection module to convert the voltage signal at the detection end into a digital signal.
7. The MCU-based intelligent fan speed control system according to claim 1, characterized in that: The MCU module also includes an upgrade port for coupling a connector that provides a power signal, SCL and SDA signals.