Circuit structure for fan detection
By designing the circuit structure of the power module, main control chip, and power conversion circuit, the problem of the inability to effectively detect dedicated fan modules in the existing technology has been solved, realizing rapid and accurate detection of DC and AC fans and improving the efficiency of fan detection and maintenance.
Patent Information
- Application Number
- CN202620197992.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2026-02-10
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2036-02-10
AI Technical Summary
Existing technologies cannot effectively test dedicated fan modules, making it difficult to improve the efficiency and quality of fan repair and testing. There is a lack of dedicated fan testing tools on the market, and only a variety of devices can be used to test general-purpose fans.
A circuit structure including a power module, a main control chip, and a power conversion circuit was designed. It supports DC and AC fan detection and realizes the detection of multiple parameters of the fan through PWM speed control circuit, speed detection circuit, voltage and current detection circuit and RS485 communication circuit.
It enables rapid testing of DC and AC fans, improving the efficiency of fan testing and maintenance. It is compatible with various fan models, supports portable testing and multiple testing modes, and improves the accuracy and efficiency of testing.
Smart Images

Figure CN224983130U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the field of fan detection, in particular to a circuit structure for fan detection. Background Art
[0002] Heat dissipation fans are core components for air-cooled heat dissipation of electronic or electric equipment. After long-term use, such components will suffer from faults such as reduced rotating speed, bearing wear and circuit damage.
[0003] Most of the heat dissipation fans matched with equipment are customized products, which are mass-customized by fan manufacturers according to use requirements. It is difficult to purchase brand-new original fans on the market, and most of the available products are refurbished parts or high imitation products, which cannot guarantee the fan quality. Moreover, fans of the same specification produced by small manufacturers have inferior performance to original fans. Fan maintenance work has gradually shifted from replacing the entire fan to replacing the internal bearing of the fan, repairing the internal circuit and other methods. The repaired fan needs to be tested for operating current, rotating speed, status signals and other contents. The existing fan test tools on the market can only detect general-purpose fans, and cannot detect dedicated fan modules. At present, there is no dedicated fan test tool, and a variety of devices such as numerical control power supplies, frequency meters, oscilloscopes and anemometers can only be used in combination to test general-purpose fans, failing to detect dedicated fan modules. The efficiency and quality of fan maintenance and detection need to be improved. Contents of the Utility Model
[0004] In view of the above problems, the purpose of the utility model is to propose a circuit structure for fan detection to solve new problems.
[0005] The technical solution thereof includes a power module, a main control chip and a power conversion circuit. The power conversion circuit includes an enable terminal that converts and outputs a voltage or directly outputs a voltage to a fan to be detected. The power module includes a built-in DC power supply and an external power supply. The external power supply is a programmable power supply or mains power. The programmable power supply is communicatively connected with the main control chip, and the power output interface of the programmable power supply is connected to the input terminal of the power conversion circuit. The circuit structure further includes a PWM speed regulation circuit, which acquires a PWM signal sent by the main control chip and amplifies the signal through a switch drive circuit to output to the speed regulation control terminal of the fan to be detected. The circuit structure further includes a rotating speed detection circuit, which includes a first rotating speed detection circuit that detects the rotating speed through the PWM feedback interface of the fan to be detected, and further includes a second rotating speed detection circuit that detects the rotating speed by collecting fan blade rotation signals. The output terminals of the first rotating speed detection circuit and the second rotating speed detection circuit are connected to the rotating speed collection interface of the main control chip.
[0006] In the above or some embodiments, a voltage and current detection circuit for detecting the input voltage and current of the fan under test is also included. The voltage and current detection circuit includes a DC detection circuit and an AC detection circuit. The DC detection circuit is used to detect the DC input voltage and current values of the fan under test, and the AC detection circuit is used to detect the two-phase AC input voltage and current values of the fan under test.
[0007] In the above or some embodiments, the DC detection circuit includes a first current sampling resistor R172 connected in series with the fan under test. The first current sampling resistor R172 is connected in parallel with a filter circuit and then input to the voltage drop acquisition terminal of the first voltage and current acquisition chip. The input voltage of the fan under test is divided or directly connected to the bus voltage terminal VBUS of the first voltage and current acquisition chip.
[0008] In the above or some embodiments, a second current sampling resistor R160 is connected in series between the output terminal of the fan under test and the neutral line in the AC detection circuit, and the two ends of the second current sampling resistor R160 are connected to the current acquisition port of the second voltage and current acquisition chip; the input terminal of the fan under test is connected to the voltage acquisition terminal of the second voltage and current acquisition chip after passing through a voltage divider circuit.
[0009] In the above or some embodiments, the second speed detection circuit includes a speed sensor for sensing the fan rotation signal, and the signal of the speed sensor is connected to the speed signal acquisition interface of the main control chip via a transistor circuit.
[0010] In the above or some embodiments, the first speed detection circuit further includes an opto-isolation unit, one end of the light-emitting diode at the input terminal of the opto-isolation unit is connected to a positive fixed voltage, and the other end is connected to the general output pin of the main control chip.
[0011] In the above or some embodiments, the opto-isolation unit includes at least two sets, forming a structure that allows switching the output voltage value after the opto-isolation unit is turned on.
[0012] In the above or some embodiments, the PWM feedback interface of the fan to be detected is connected to the output terminal of the opto-isolation unit and connected to the speed signal acquisition interface of the main control chip through a transistor circuit.
[0013] In the above or some embodiments, the programmable power supply and the main control chip are electrically connected via an RS485 communication circuit.
[0014] In the above or some embodiments, a serial port screen module and a buzzer circuit connected to the main control chip are also included.
[0015] This invention supports the detection of both DC and AC fans. DC fan detection can be achieved by using a programmable power supply to detect fans of different voltage models, or by utilizing an internal DC power supply to detect specific DC fan models, thus enabling portable and rapid detection. In AC fan detection mode, by connecting an external 220V AC power supply and using a second voltage and current detection chip, the voltage and current of the AC fan can be detected. When detecting fan speed, it can be adapted to fans with speed control feedback wiring, or the fan speed signal can be obtained directly by acquiring the fan blade rotation signal through an external speed sensor. For fan maintenance personnel, it supports rapid detection of various types of fans, significantly improving fan detection and maintenance efficiency. Attached Figure Description
[0016] Figure 1 This is a schematic diagram of the principle of this utility model.
[0017] Figure 2 This is a block diagram illustrating the DC fan power switching principle of this utility model.
[0018] Figure 3 This is a block diagram illustrating the AC fan power switching principle of this utility model.
[0019] Figure 4 This is a DC power conversion circuit diagram in one embodiment of the present invention.
[0020] Figure 5 for Figure 4 The diagram shows the relay drive circuit in the power conversion circuit.
[0021] Figure 6 This is an embodiment of the WM speed control circuit.
[0022] Figure 7 An embodiment of the first speed detection circuit.
[0023] Figure 8 This is an embodiment of the second speed detection circuit.
[0024] Figure 9 This is an embodiment of the novel DC detection circuit.
[0025] Figure 10 This is an embodiment of the AC detection circuit in this novel invention.
[0026] Figure 11 This is an embodiment of the RS485 communication circuit in this novel invention.
[0027] Figure 12 This is the access circuit for the serial port screen module in this new type of device.
[0028] Figure 13 This is an embodiment of the buzzer circuit in this novel invention.
[0029] Figure 14 This is an embodiment of the voice module in this novel invention.
[0030] Figure 15 This is a circuit embodiment of the main control chip in this novel invention. Detailed Implementation
[0031] The embodiments of this utility model are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this utility model, and should not be construed as limiting this utility model.
[0032] In the description of this utility model, "multiple" means two or more, unless otherwise explicitly specified.
[0033] The power module provides power to this circuit structure and also supplies the enable voltage to the fan under test. In this circuit structure, the power module includes a built-in DC power supply and an external power supply, which can be a programmable power supply or AC mains power. In DC fan test mode, as... Figure 4 As shown, U4 is the power output interface of an external programmable power supply. This programmable power supply can digitally output 0-120V DC voltage to adapt to fans that cannot operate on DC power. However, programmable power supplies are relatively large and usually not portable. To achieve portability of the device installed in the circuit of this patent application, a power conversion circuit is provided as follows: Figure 4 As shown, the power module can provide 5V / 12V power input. The choice of 5V / 12V voltage is not limited; different power inputs can be set according to actual working needs. The programmable power input and 5V / 12V power input switching are controlled by the main control chip. This solution uses the STM32F407ZET6 main control chip, as shown in the figure. Figure 15 As shown.
[0034] In the above or some embodiments, such as Figure 4 As shown, K1, K3, and K4 are HF115F-012-2H54 double-pole double-throw relays, used to switch the positive and negative terminals of the power supply connected to the interface under test. Only when K1 is closed are U3 and U4 electrically connected, using an external programmable input. Only when K3 is closed are U7 and U3 electrically connected, using an internal DC 5V power supply. Only when K4 is closed are U8 and U3 electrically connected, using an internal DC 12V power supply. The relay drive circuits can use the ULN2003ADR Darlington transistor driver chip to drive relays K1, K3, and K4. Figure 5As shown, when IO_REY1 is high, OUT_REY1 is pulled low, LED2 lights up, and relay K1 is activated.
[0035] To control the speed of the fan under test, a PWM speed control circuit is also included. This circuit acquires the PWM signal from the main control chip, amplifies it via a switching drive circuit, and outputs it to the speed control terminal of the fan under test. It should be noted that the PWM speed control circuit is suitable for testing DC fans.
[0036] In the above or some embodiments, such as Figure 6 As shown, Q2 is an NMOS transistor, and U11 is the PWM signal output interface. The PWMOUT voltage is switched between 3.3V and 5V via relay RELAY1. When IO_REY7 is high, transistor Q3 conducts, relay RELAY1 operates, and PWMOUT switches to 5V. At this time, U11 outputs a 5V pulled-up PWM waveform.
[0037] Some fans under test on the market have PWM speed control feedback wiring, while others do not. Therefore, in order to adapt to more fans under test, the speed detection circuit includes a first speed detection circuit that detects the speed through the PWM feedback interface of the fan under test, and a second speed detection circuit that detects the speed by collecting the fan blade rotation signal.
[0038] In the above or some embodiments, the first speed detection circuit is as follows: Figure 7 As shown, U14 and U15 are optocouplers used to switch the pull-up voltage values of the speed detection circuit. When optocoupler U14 is on, R173 is pulled up to 5V, and the input is a 5V speed signal. When optocoupler U15 is on, R173 is pulled up to 3.3V, and the input is a 3.3V speed signal. U16 is the input speed detection interface. When there is a speed signal, PWMIN1 is a square wave corresponding to the speed. When PWMIN1 is low, transistor Q5 is off, and IO_CPWM1 is high. When PWMIN1 is high, transistor Q5 is on, and IO_CPWM1 is low. Speed detection is achieved by identifying the number of IO_CPWM1 pulses.
[0039] When the fan under test does not have a PWM feedback interface, a second speed detection circuit can be used for detection. For example... Figure 8As shown, P20 is a terminal block for connecting an external speed sensor. The speed sensor is a transceiver-integrated photoelectric reflective sensor capable of detecting speeds up to 20,000 RPM. F8 is a resettable fuse for overcurrent protection, connected to a 5V power supply. Pin 2 of P20 is the input speed detection signal. When the input signal is low, transistor Q6 is not conducting, and IO_CPWM2 is high. When the input signal is high, transistor Q6 is conducting, and IO_CPWM2 is low. R141 and LED24 act as level indicators; LED24 illuminates when IO_CPWM2 is low. Speed detection is achieved by recognizing the number of IO_CPWM2 pulses.
[0040] The input voltage and current of the fan under test are also important test items. The voltage and current detection circuit includes a DC detection circuit and an AC detection circuit. The DC detection circuit is used to detect the DC input voltage and current values of the fan under test, and the AC detection circuit is used to detect the two-phase AC input voltage and current values of the fan under test.
[0041] In the above or some embodiments, the DC detection circuit includes a first current sampling resistor R172 connected in series with the fan under test. The first current sampling resistor R172 is connected in parallel with a filter circuit and then input to the voltage drop acquisition terminal of the first voltage and current acquisition chip. The input voltage of the fan under test is obtained by voltage division or directly connected to the bus voltage terminal VBUS of the first voltage and current acquisition chip. Specifically, as shown below... Figure 9 As shown, resistors R170, R179, and R171 form a voltage divider. The voltage at the VBUS sampling point, filtered by R30 and C8, is fed to the voltage acquisition interface of U38. R172 is a current sampling resistor used for sampling the DC fan current. The voltage across this sampling resistor is filtered by R177, R178, and C10 before being input to the current acquisition interface of U38. U38 is an INA226AIDGSR voltage and current sensing chip, used to convert voltage and current signals into IIC digital signals for the main controller, enabling the acquisition of the DC fan voltage and current.
[0042] In the above or some embodiments, a second current sampling resistor R160 is connected in series between the output terminal of the fan under test and the neutral line in the AC detection circuit. The two ends of the second current sampling resistor R160 are connected to the current acquisition port of the second voltage and current acquisition chip. The input terminal of the fan under test is connected to the voltage acquisition terminal of the second voltage and current acquisition chip after passing through a voltage divider circuit. Figure 10As shown, K2 is a relay used to switch the AC 220V input interface. When K2 is on, the AC fan output interface and the AC 220V input interface are connected. Q1 is a D882 transistor used to drive the K2 relay coil. When IO_REY4 is high, Q1 is on, and relay K2 is energized. LED1 indicates the working status of relay K2; LED1 lights up when K2 is on. AC voltage and current acquisition is implemented using the U30 HLW8032 chip. A U31 B0505S-1W isolated DC-DC power supply module is used to power the U30 HLW8032 chip by converting the input 5V into an isolated 5V. R160 is a 1mR alloy current sampling resistor used to detect the current flowing through it. R143, R144, R145, R146, and R147 form a voltage divider to detect the AC 220V voltage. After filtering by C48, the voltage is input to the voltage acquisition pin of U30. After analog-to-digital processing by U30, the data is converted into serial port information and transmitted through the isolation of the optocoupler U29. This serial port isolation enables the measurement of AC voltage and current. R157 is a 3.3V pull-up resistor, LED25 indicates the received serial port signal level, and IO_ACRXD is connected to the main control unit to achieve serial communication.
[0043] In the above or some embodiments, the programmable power supply and the main control chip are electrically connected via an RS485 communication circuit. Figure 11 The diagram shows an RS485 communication circuit used for communication with a programmable power supply. It uses the U27 SP3485EN RS485 communication chip to convert the 3.3V TTL signal from the main control unit into a differential RS485 communication signal, which is then transmitted via the P19 interface for RS485 differential connection to external devices.
[0044] In the above or some embodiments, a serial port screen module and a buzzer circuit connected to the main control chip are also included. The serial port screen module and buzzer circuit are as follows: Figure 12 , 13 As shown, the serial port screen module can be a DMG12800T101_01WTC serial port screen. In the buzzer circuit, when IO_BUZ is high, transistor Q4 conducts, the buzzer is powered on and sounds, serving as an alarm notification for the device. This circuit can also be connected to, for example... Figure 14 The voice module shown uses the Tianwen-51 voice module. This module connects to the main control unit via a serial port, enabling voice recognition and playback. CN4 connects to the speaker, and CN5 connects to the microphone.
[0045] This invention supports the detection of both DC and AC fans. DC fan detection can be achieved by using a programmable power supply to detect fans of different voltage models, or by utilizing an internal DC power supply to detect specific DC fan models, thus enabling portable and rapid detection. In AC fan detection mode, by connecting an external 220V AC power supply and using a second voltage and current detection chip, the voltage and current of the AC fan can be detected. When detecting fan speed, it can be adapted to fans with speed control feedback wiring, or the fan speed signal can be obtained directly by acquiring the fan blade rotation signal through an external speed sensor. For fan maintenance personnel, it supports rapid detection of various types of fans, significantly improving fan detection and maintenance efficiency.
Claims
1. A circuit structure for fan detection, comprising a power supply module, a main control chip, and a power conversion circuit. The power conversion circuit includes a voltage conversion output or direct output to an enable terminal of the fan under test. The power supply module includes a built-in DC power supply and an external power supply. The external power supply is a programmable power supply or AC power. The programmable power supply is communicatively connected to the main control chip, and the power output interface of the programmable power supply is connected to the input terminal of the power conversion circuit. The circuit also includes a PWM speed control circuit, which acquires a PWM signal from the main control chip and amplifies it via a switching drive circuit before outputting it to the speed control terminal of the fan under test. Furthermore, the circuit includes a speed detection circuit, comprising a first speed detection circuit that detects speed through the PWM feedback interface of the fan under test, and a second speed detection circuit that detects speed by acquiring fan blade rotation signals. The output terminals of the first and second speed detection circuits are connected to the speed acquisition interface of the main control chip.
2. The circuit structure for fan detection according to claim 1, characterized in that, It also includes a voltage and current detection circuit for detecting the input voltage and current of the fan under test. The voltage and current detection circuit includes a DC detection circuit and an AC detection circuit. The DC detection circuit is used to detect the DC input voltage and current values of the fan under test, and the AC detection circuit is used to detect the two-phase AC input voltage and current values of the fan under test.
3. The circuit structure for fan detection according to claim 2, characterized in that, The DC detection circuit includes a first current sampling resistor R172 connected in series with the fan under test. The first current sampling resistor R172 is connected in parallel with a filter circuit and then input to the voltage drop acquisition terminal of the first voltage and current acquisition chip. The input voltage of the fan under test is either divided or directly connected to the bus voltage terminal VBUS of the first voltage and current acquisition chip.
4. The circuit structure for fan detection according to claim 2, characterized in that, In the AC detection circuit, a second current sampling resistor R160 is connected in series between the output terminal of the fan under test and the neutral line. The two ends of the second current sampling resistor R160 are connected to the current acquisition port of the second voltage and current acquisition chip. The input terminal of the fan under test is connected to the voltage acquisition terminal of the second voltage and current acquisition chip after passing through a voltage divider circuit.
5. The circuit structure for fan detection according to claim 1, characterized in that, The second speed detection circuit includes a speed sensor for sensing the fan rotation signal, and the signal from the speed sensor is connected to the speed signal acquisition interface of the main control chip via a transistor circuit.
6. The circuit structure for fan detection according to claim 1, characterized in that, The first speed detection circuit also includes an opto-isolation unit. One end of the light-emitting diode at the input terminal of the opto-isolation unit is connected to a positive fixed voltage, and the other end is connected to the general output pin of the main control chip.
7. The circuit structure for fan detection according to claim 6, characterized in that, The opto-isolation unit includes at least two sets, forming a structure that allows switching the output voltage value after the opto-isolation unit is turned on.
8. The circuit structure for fan detection according to claim 7, characterized in that, The PWM feedback interface of the fan under test is connected to the output terminal of the opto-isolation unit and then connected to the speed signal acquisition interface of the main control chip via a transistor circuit.
9. The circuit structure for fan detection according to any one of claims 1-8, characterized in that, The programmable power supply and the main control chip are electrically connected via an RS485 communication circuit.
10. The circuit structure for fan detection according to claim 9, characterized in that, It also includes a serial port screen module and a buzzer circuit connected to the main control chip.
