Fan control circuit with discharging function

By integrating a charging and discharging control module and a boost module into the fan control circuit, the cooling and charging needs of small fans in mobile scenarios are solved, enabling emergency power support and nighttime lighting, thus improving the product's practicality and user experience.

CN224079329UActive Publication Date: 2026-04-03GUANGDONG ZHIANXIN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-05-23
Publication Date
2026-04-03

AI Technical Summary

Technical Problem

Existing small fans have limited functionality and cannot meet users' cooling and charging needs in mobile scenarios, increasing the burden of travel and reducing ease of use.

Method used

Design a fan control circuit with discharge function, integrating a charge/discharge control module, a boost module, a signal indicator module, and a lighting module, including a main control MCU, a charge/discharge control chip, a boost chip, LED lights, and a button module, to realize charging, discharging, cooling, and lighting functions.

Benefits of technology

While providing cooling in high-temperature environments, it can also provide emergency power support, enhance product usability and user experience, and provide nighttime lighting in outdoor scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224079329U_ABST
    Figure CN224079329U_ABST
Patent Text Reader

Abstract

The utility model discloses a fan control circuit with a discharging function, and belongs to the field of fan control. Comprising a master control MCU; the charging and discharging control module has a charging and discharging control function; the charging and discharging control module comprises a power supply unit, a charging interface J1, a discharging interface J3 and a charging and discharging control chip U1, the power supply unit, the charging interface J1 and the discharging interface J3 are all connected with the charging and discharging control chip U1, and the charging and discharging control chip U1 is connected with the master control MUC. Compared with the prior art, the fan control circuit is provided with the charging interface and the discharging interface, so that when the fan control circuit is applied to fan control, the cooling requirement of a user in a high-temperature environment can be met, emergency power support can be provided, and the practicability of a product and the user experience are further improved; meanwhile, the fan control circuit also has a night lighting function, has a multifunctional effect, and is convenient to use outdoors or in special scenes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model belongs to the field of fan control, and specifically relates to a fan control circuit with discharge function. Background Technology

[0002] Due to intensified global warming and more frequent extreme heat waves, especially in summer, the demand for portable personal cooling devices has increased significantly. Compared to traditional air conditioning systems, small fans such as handheld fans, neck fans, and desktop fans have quickly become the preferred cooling tools for consumers in daily travel, office, and home scenarios due to their advantages of being lightweight and portable, low power consumption, instant-on functionality, and affordable. These devices are suitable not only for outdoor workers, commuters, and students, but also meet the needs of consumers with different income levels, resulting in a continuously increasing market penetration rate.

[0003] However, existing small fans are relatively simple in function, typically only providing basic airflow and failing to meet users' needs for extended battery life in mobile scenarios. With the widespread use of portable electronic devices such as smartphones, tablets, and wireless headphones, the demand for portable charging is increasing. Especially during outdoor activities, travel, or emergencies, multi-functional devices that provide both cooling and charging will be more practical and competitive in the market. However, most small fans on the market currently lack integrated charging modules, requiring users to carry a separate power bank along with the fan, increasing travel burden and reducing convenience. Utility Model Content

[0004] To address the aforementioned issues, the primary objective of this invention is to provide a fan control circuit with a discharge function. When applied to fan control, this circuit not only addresses the user's cooling needs in high-temperature environments but also provides emergency power support, further enhancing the product's practicality and user experience.

[0005] Another objective of this invention is to provide a fan control circuit with a discharge function and a night lighting function, which has a multi-functional effect and is convenient for use outdoors or in special scenarios.

[0006] To achieve the above objectives, the technical solution of this utility model is as follows:

[0007] This utility model provides a fan control circuit with a discharge function, including:

[0008] Main control MCU;

[0009] A charge / discharge control module with charge / discharge control function;

[0010] The charge / discharge control module includes a power supply unit, a charging interface J1, a discharging interface J3, and a charge / discharge control chip U1. The power supply unit, the charging interface J1, and the discharging interface J3 are all connected to the charge / discharge control chip U1, which is connected to the main control MCU.

[0011] Furthermore, the main control chip U5 is model AK32F122.

[0012] Furthermore, the main control MCU includes a main control chip U5, a capacitor C10, and a capacitor C11. The capacitors C10 and C11 are connected in parallel, and the main control chip U5, the charge / discharge control chip U1, and the capacitors C10 and C11 are connected to form a common terminal.

[0013] Furthermore, the charging and discharging control chip U1 is model IP5306.

[0014] Furthermore, the charging and discharging control module also includes resistors R1 and R2, and capacitor C1. One end of resistors R1 and R2 is connected to the charging interface J1, and the other end forms a common terminal connected to the charging and discharging control chip U1. The two ends of capacitor C1 are connected to the charging interface J1 and the charging and discharging control chip U1, respectively.

[0015] Furthermore, the power supply unit includes battery BAT1, battery BAT2, power management chip U2, and power management chip U3. Battery BAT1 is connected to charge / discharge control chip U1 through power management chip U2, and battery BAT2 is connected to charge / discharge control chip U2 through power management chip U3.

[0016] Furthermore, the charge / discharge control module also includes capacitors C2 and C3, which are connected in parallel between the charge / discharge control chip U1 and the discharge interface J3.

[0017] Furthermore, the fan control circuit also includes a boost module, which includes a boost chip U4, a first filter unit, an energy storage unit, a freewheeling unit, a second filter unit, a feedback unit, a switch control unit, and a pull-down unit. The boost chip U4 is connected to the main control chip U5. The first filter unit, the energy storage unit, the freewheeling unit, the second filter unit, and the feedback unit are all connected to the boost chip U4. The pull-down unit is connected to the boost chip U4 through the switch control unit.

[0018] Furthermore, the boost chip is model LN2293.

[0019] Further, the first filtering unit includes capacitor C6, the energy storage unit includes inductor L2, the freewheeling unit includes diode D1, the second filtering unit includes capacitors C7, C8, and C9, and the feedback unit includes resistors R9 and R10. Capacitor C6, inductor L2, and diode D1 are connected in series and connected to boost converter chip U4; capacitors C7, C8, and C9 are connected in parallel and connected to boost converter chip U4; and resistors R10 and R9 are connected in series and connected to boost converter chip U4.

[0020] Furthermore, the switch control unit includes a fan interface J5, a transistor Q1, a resistor R12, and a resistor R13. The fan interface J5 is connected to the boost chip U4, and one terminal of the transistor Q1 is connected to the fan interface J5, while the other terminal is connected to the resistors R12 and R13.

[0021] Furthermore, the fan control circuit also includes a signal indication module, which includes LED1, LED2, LED3, LED4, and LED5, all of which are connected to the main control chip U5.

[0022] Furthermore, the fan control circuit also includes a lighting module, which includes a first lighting unit and a second lighting unit, both of which are connected to the main control chip U5.

[0023] Furthermore, the first lighting unit includes LED6, transistor Q2, resistor R14, and resistor R15. One terminal of transistor Q2 is connected to the main control chip U5, and the other terminal is connected to resistor R14 and resistor R15. LED6 is connected to resistor R14.

[0024] Furthermore, the second lighting unit includes LED7, transistor Q3, resistor R16, and resistor R17. One terminal of transistor Q3 is connected to the main control chip U5, and the other terminal is connected to resistor R16 and resistor R17. LED7 is connected to resistor R16.

[0025] Compared with the prior art, the beneficial effects of this utility model are as follows: By setting up charging and discharging interfaces, this fan control circuit can not only solve the user's cooling needs in high-temperature environments, but also provide emergency power support, further improving the practicality of the product and the user experience. At the same time, this fan control circuit also has a night lighting function, which has a multi-functional effect and is convenient for use outdoors or in special scenarios. Attached Figure Description

[0026] Figure 1 This is a block diagram of the fan control circuit of this application.

[0027] Figure 2 This is the circuit schematic of the main control MCU.

[0028] Figure 3 This is the system architecture diagram of the main control chip U5.

[0029] Figure 4 This is the pinout list of the main control chip U5.

[0030] Figure 5 This is the pinout table for the main control chip U5.

[0031] Figure 6 This is the circuit diagram of the charge / discharge control module.

[0032] Figure 7 This is the circuit schematic of the boost module.

[0033] Figure 8 This is the circuit schematic of the signal indication module.

[0034] Figure 9 This is the circuit diagram of the lighting module.

[0035] Figure 10 This is the circuit diagram of the first lighting unit.

[0036] Figure 11 This is the circuit diagram of the second lighting unit.

[0037] Figure 12 This is the circuit diagram of the button module. Detailed Implementation

[0038] To make the objectives, technical solutions, and advantages of this utility model clearer, the present utility model will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present utility model and are not intended to limit the present utility model.

[0039] To achieve the above objectives, the technical solution of this utility model is as follows:

[0040] See Figure 1 As shown, this embodiment provides a fan control circuit with a discharge function, including:

[0041] Main control MCU;

[0042] A charge / discharge control module with charge / discharge control function;

[0043] A boost module with boost function;

[0044] A signal indicator module capable of indicating fan power and speed;

[0045] Lighting modules capable of providing illumination;

[0046] Further, see Figure 2 The main control MCU includes a main control chip U5, capacitors C10 and C11. Capacitors C10 and C11 are connected in parallel, and the main control chip U5, the charge / discharge control chip U1, and capacitors C10 and C11 are connected to form a common terminal. Capacitors C10 and C11 can form a power supply filter circuit. C11, as a large-capacity capacitor, filters out low-frequency noise; C10, as a small-capacity capacitor, filters out high-frequency noise, together providing a stable and clean power supply to the VDD pin of the main control chip U5.

[0047] Furthermore, in Figure 2-5 In the diagram, BAT represents the battery power interface, which is the source of power input for the entire circuit. The main control chip U5 is model AK32F122, and its pin functions are as follows:

[0048] 1. VDD (Pin 1): The chip's power supply pin, which obtains power from BAT after filtering to provide power for the chip's internal circuitry.

[0049] 2. GND (pin 0): Ground pin, providing a zero potential reference point for the chip and the entire circuit.

[0050] 3. VSUS (pin 16), SCL / ADC (pin 15), SDA / IRQ (pin 14), LED6 (pin 13): These pins have various functions and are used for the chip's system power management (VSUS), serial communication (SCL, SDA), interrupt request (IRQ), and lighting control.

[0051] 4. PB0-PB3 (pins 2-5): LED1-LED4: Connected to PB3-PB0 respectively. The chip can control the level of these pins to turn on or off the corresponding LEDs, which are used to indicate the circuit working status and display different information.

[0052] 5. PA0-PA5 (pins 6-11):

[0053] (1) KEY0-KEY2: Connected to PA0-PA2, used to detect the pressed or released state of external buttons, and realize human-computer interaction functions, such as setting parameters and switching modes.

[0054] (2) BOOT_EN: Connected to PA3, used to control the chip's boot mode and determine from which memory area the chip loads the program.

[0055] (3) LED7: Connect to PA2. It functions similarly to the previous LED pin and is used to indicate a specific status or lighting.

[0056] (4)OUT_EN: Connected to PA1, it can be used to control the enable of external circuit modules and determine whether the module works.

[0057] (5) KEY2: Connect to PA3 for key input detection.

[0058] (6) PWM: Connect to PA4 to output pulse width modulation signal, which can be used to control motor speed, adjust light brightness and other scenarios that require analog control.

[0059] Further, see Figure 6 The charge / discharge control module includes a power supply unit, a charging interface J1, a discharging interface J3, and a charge / discharge control chip U1. The power supply unit, the charging interface J1, and the discharging interface J3 are all connected to the charge / discharge control chip U1, which is connected to the main control MUC.

[0060] In this embodiment, J1 is a Type-C interface, a hardware interface form of Universal Serial Bus (USB), characterized by reversible pluggability, high-speed data transmission, and high-power transmission. It has multiple pins for transmitting power and data signals; in different applications, it can connect to external devices such as chargers and computers to enable power supply and data exchange between devices. J3 serves as a discharge interface, primarily outputting electrical energy through the VCC pin to charge or power other devices.

[0061] Furthermore, the charge / discharge control chip U1 is model IP5306, and its pin functions are as follows:

[0062] 1. VIN (Pin 1): Power input pin, used to connect to an external power source to power the chip and subsequent circuitry. It can be connected to power input sources such as adapters and USB interfaces to provide a power input channel for the device.

[0063] 2. Charging and status indication

[0064] (1) SDA / CHRG (pin 2): This pin serves as both a charging status indicator and the SDA (serial data line) function in I2C communication. During charging, charging status information can be obtained through this pin; if used for I2C communication, it can exchange data with other devices that support the I2C protocol.

[0065] (2) LED1-LED3 (pins 3-4): Connect LEDs of different colors or functions to indicate charging status, battery level, etc. For example, different combinations of LEDs on and off can indicate different stages of battery power, such as charging and fully charged.

[0066] 3. Battery Connection: BAT (Pin 6): Connects to the battery and is used for battery charging management and obtaining battery-related information. The chip monitors battery voltage, current, and other parameters through this pin and performs charging control based on built-in algorithms, such as switching between constant current charging and constant voltage charging stages.

[0067] 4. Button and output control

[0068] (1) Pin 5: Connects to a button for human-machine interaction. Pressing the button triggers the chip to perform specific operations, such as checking the battery level or turning the output on / off.

[0069] (2) SW (pin 7): Related to the power switch, it controls the power conversion path of the circuit. For example, when switching between boost and buck modes, this pin controls the on and off of the internal power switch to achieve voltage conversion.

[0070] (3) OUT (pin 8): Power output pin. After being processed and controlled by the chip, it outputs a stable voltage and current to supply power to the external load.

[0071] 5. Grounding: GND (pin 9): The chip grounding pin provides a potential reference zero point for the internal circuit of the chip, ensuring the normal operation of the chip and the entire circuit.

[0072] 6. Resistor function: R5 (1KΩ): Connected between the BAT pin and ground, it serves to divide voltage and limit current, and helps the chip accurately monitor parameters such as battery voltage.

[0073] Furthermore, the charge / discharge control module also includes resistors R1 and R2, and capacitor C1. One end of resistors R1 and R2 is connected to the charging interface J1, and the other end forms a common terminal connected to the charge / discharge control chip U1. The two ends of capacitor C1 are connected to the charging interface J1 and the charge / discharge control chip U1, respectively.

[0074] In this embodiment, resistors R1 and R2 are connected in series. They serve multiple purposes, such as voltage division, proportionally reducing the voltage at the interface pins to provide a suitable voltage signal to subsequent circuits; and impedance matching, ensuring the circuit's input and output impedances match the connected devices, reducing signal reflections and improving data transmission quality. Capacitor C1 is connected in parallel with resistors R1 and R2, primarily acting as a filter to remove high-frequency noise from the voltage across the resistors, resulting in a smoother and more stable voltage signal. In data transmission circuits, this helps improve signal purity and reduce interference; in power supply circuits, it stabilizes the supply voltage.

[0075] Furthermore, the power supply unit includes battery BAT1, battery BAT2, power management chip U2, and power management chip U3. Battery BAT1 is connected to charge / discharge control chip U1 through power management chip U2, and battery BAT2 is connected to charge / discharge control chip U2 through power management chip U3.

[0076] Furthermore, the charge / discharge control module also includes capacitors C2 and C3 connected in parallel between the charge / discharge control chip U1 and the discharge interface J3.

[0077] Further, see Figure 7 The boost module includes a boost chip U4, a first filter unit, an energy storage unit, a freewheeling unit, a second filter unit, a feedback unit, a switch control unit, and a pull-down unit. The boost chip U4 is connected to the main control chip U5. The first filter unit, the energy storage unit, the freewheeling unit, the second filter unit, and the feedback unit are all connected to the boost chip U4. The pull-down unit is connected to the boost chip U4 through the switch control unit.

[0078] Furthermore, the boost chip is model LN2293, a miniaturized, high-efficiency boost regulator, whose principle is as follows:

[0079] 1. Internal modules work together

[0080] a. Current-mode COT control loop: Employs a current-mode constant on-time (COT) control method. By monitoring the inductor current in real time, the loop precisely controls the on and off times of the internal power switch based on the current magnitude and set parameters. When the inductor current reaches a certain threshold, the control loop promptly turns off the power switch to prevent excessive current; when the current drops to a certain level, it turns the power switch back on to maintain energy transfer.

[0081] b. Error Amplifier: This amplifier compares the output voltage feedback signal with an internal reference voltage and amplifies the difference. The amplified error signal is then transmitted to subsequent circuit modules to adjust the chip's operating state, ensuring the output voltage remains stable near the set value.

[0082] c. Slope Compensation Circuit: During the operation of the switching power supply, due to the ripple in the inductor current, the slope compensation circuit generates a compensation slope signal, which is superimposed on the inductor current signal. This effectively prevents subharmonic oscillations when the duty cycle is greater than 50%, improving the stability of the circuit operation.

[0083] d. Comparator: Receives signals from modules such as the error amplifier and compares them. Based on the comparison result, it controls the power switch to turn on and off, thereby adjusting the output voltage and current.

[0084] e. Power Switch: A built-in 2.5A power switch is activated or deactivated by a control signal. When activated, current is allowed to store energy through the inductor; when deactivated, the inductor releases energy to achieve boost output.

[0085] 2. Work Process

[0086] a. Energy storage stage: The chip turns on the internal power switch, the input voltage VDD is applied to both ends of the inductor, the current begins to flow through the inductor, the inductor gradually stores energy, and the current increases linearly.

[0087] b. Energy Release Stage: When the power switch is turned off, the energy stored in the inductor cannot change abruptly, and a self-induced electromotive force is generated, causing the current to continue flowing. At this time, the inductor, load, and output capacitor form a circuit. The inductor releases energy, which, after being superimposed on the input voltage, charges the output capacitor through a diode (if present in the circuit) and supplies power to the load, thus achieving a voltage boost.

[0088] c. Feedback Regulation: The output voltage, after being divided by resistors, is fed back to the FB pin. The error amplifier compares the feedback voltage with the internal reference voltage and amplifies the difference. The comparator adjusts the on-time of the power switch, i.e., adjusts the duty cycle, based on the amplified error signal. If the output voltage increases, the duty cycle decreases, reducing the inductor's energy storage; if the output voltage decreases, the duty cycle increases, increasing the inductor's energy storage, thereby stabilizing the output voltage.

[0089] d. Current Limiting Protection: The maximum current limit is set by an external resistor (R8) connected to the RS pin. When the inductor current exceeds the set current limit, the chip will take measures (such as turning off the power switch in advance) to limit the current from increasing further, protecting the chip and the circuit. If this pin is left floating, the chip's internal 2.5A current limit will activate.

[0090] e. Soft start protection: The chip has a built-in soft start protection circuit, which gradually opens the internal circuit at the moment of power-on, so that the output voltage rises slowly, avoiding damage to the circuit components caused by sudden changes in current and voltage when the power is turned on.

[0091] Furthermore, the first filtering unit includes capacitor C6, the energy storage unit includes inductor L2, the freewheeling unit includes diode D1, the second filtering unit includes capacitors C7, C8, and C9, and the feedback unit includes resistors R9 and R10. Capacitor C6, inductor L2, and diode D1 are connected in series and connected to boost chip U4; capacitors C7, C8, and C9 are connected in parallel and connected to boost chip U4; resistors R10 and R9 are connected in series and then connected to boost chip U4.

[0092] Furthermore, the switch control unit includes a fan interface J5, a transistor Q1, a resistor R12, and a resistor R13. The fan interface J5 is connected to the boost chip U4, one terminal of the transistor Q1 is connected to the fan interface J5, and the other terminal is connected to the resistors R12 and R13.

[0093] In this embodiment:

[0094] 1. BAT: This is the battery power interface, which serves as the power input terminal for the entire circuit and provides power to subsequent circuits.

[0095] 2. C6: This is the input filter capacitor, used to filter out low-frequency noise in the battery input power supply, making the input power supply smoother and more stable.

[0096] 3. Boost circuit section

[0097] (1) L2: Inductor, which plays the role of energy storage and voltage boosting in the circuit. When the current in the circuit changes, the inductor will generate an induced electromotive force to resist the change in current. In the boost circuit, the storage and release of energy are realized by controlling the switching of the inductor current, thereby increasing the voltage.

[0098] (2) U4 is a commonly used boost chip. In this circuit, it acts as a boost controller. Through its internal circuit structure, it controls external components such as inductors and capacitors to increase the input voltage to the required output voltage.

[0099] 4. D1: Schottky diode, which acts as a freewheeling diode in the boost circuit. When the inductor releases energy, the diode conducts, providing a path for the inductor current and ensuring the normal operation of the circuit.

[0100] 5. C7, C8, and C9: These form the output filter circuit. C8 and C9 are large-capacity capacitors, mainly filtering out low-frequency ripple; C7 is a small-capacity capacitor, mainly filtering out high-frequency ripple. Together, they make the output voltage more stable and smooth.

[0101] 6. R9 and R10: These two resistors form a feedback circuit, used in conjunction with the LM2525 chip. Through voltage division, a portion of the output voltage is fed back to the chip. The chip adjusts the output signal based on the comparison between the feedback voltage and the internal reference voltage, thereby stabilizing the output voltage.

[0102] 7. Output Control and Load Section

[0103] (1) Q1 (IRF3404WS, Field-Effect Transistor): Used as a switching transistor to control the output of the circuit. By controlling the gate voltage of the field-effect transistor, it can be turned on or off, thereby controlling whether the circuit outputs electrical energy to the load.

[0104] (2) R12, R13: R13 is a pull-down resistor, connected between the gate of the field-effect transistor and ground; R12 works with the field-effect transistor to control the turn-on and turn-off speed of the field-effect transistor, etc.

[0105] (3) Fan interface J5 is used to connect the fan, boost the power supply, and provide power to the fan.

[0106] Further, see Figure 8 The signal indicator module includes LED1, LED2, LED3, LED4, and LED5, all of which are connected to the main control chip U5. Each of the LED1-LED5 pins is connected to one of five independent light-emitting diodes. Each pin controls the on / off state of the corresponding LED by applying different voltage levels. When a pin is connected to a high level (for common cathode LED circuits) or a low level (for common anode LED circuits), the LED is turned on and illuminates; conversely, it is turned off.

[0107] Further, see Figure 9-11 The lighting module includes a first lighting unit and a second lighting unit, both of which are connected to the main control chip U5.

[0108] Furthermore, the first lighting unit includes LED6, transistor Q2, resistor R14, and resistor R15. One terminal of transistor Q2 is connected to the main control chip U5, and the other terminal is connected to resistors R14 and R15. LED6 is connected to resistor R14.

[0109] Furthermore, the second lighting unit includes LED7, transistor Q3, resistor R16, and resistor R17. One terminal of transistor Q3 is connected to the main control chip U5, and the other terminal is connected to resistors R16 and R17. LED7 is connected to resistor R16.

[0110] In this embodiment, Q2 and Q3 are JXP3400VRG field-effect transistors, which can control the switching between the drain and source by the gate voltage. When a suitable gate voltage is applied, the field-effect transistor is turned on, and current can flow from the drain to the source; when the gate voltage is inappropriate, the field-effect transistor is turned off, and current cannot flow.

[0111] R14 and R16 are current-limiting resistors, connected in series with LED6 and LED7. Their function is to limit the current flowing through the LEDs, preventing excessive current from burning them out and ensuring that the LEDs operate normally under their rated current.

[0112] R15 and R17 are pull-down resistors connected between the gate of the MOSFET and ground. When there is no external signal input, they pull the gate voltage low, keeping the MOSFET in the off state and preventing false triggering.

[0113] When a control signal (high level) is input to the circuits corresponding to LED6 and LED7, the gate voltages of MOSFETs Q2 and Q3 increase, and once the conduction condition is met, the MOSFETs turn on. At this time, the power supply voltage provides current to LED6 and LED7 through the MOSFETs and the current-limiting resistor, causing them to light up. When the control signal disappears, the pull-down resistor pulls the gate voltage low, the MOSFETs turn off, and the LEDs turn off.

[0114] See Figure 12 The fan control circuit in this embodiment also includes a button module, which includes button K1 and button K2, and button K1 and button K2 are connected to the main control chip U5.

[0115] The button structures K1 and K2 are usually mechanical buttons with internal elastic metal sheets and other structures. When not pressed, the metal sheets are in the initial state, and the corresponding pins are disconnected; when pressed, the metal sheets deform to make the pins conductive.

[0116] KEY1 and KEY2 are signal pins that connect to K1 and K2, respectively, and are used to transmit the button status signal to subsequent circuits (such as a microcontroller). When the button is not pressed, the pin is kept high through an internal pull-up resistor; when pressed, the pin is connected to the ground pin (pin 2 of K2 in the figure is grounded), and the pin level is pulled low.

[0117] Pins 1 and 4 of button K1 are connected to KEY1, and pins 2 and 3 are conductive when the button is pressed; pins 1 and 4 of button K2 are connected to KEY2, pin 2 is grounded, and pin 3 is conductive with the grounded pin when pressed, changing the pin level of KEY2.

[0118] Function: By detecting changes in the voltage levels of the KEY1 and KEY2 pins, microcontrollers and other devices can identify whether a button has been pressed. It is commonly used in human-computer interaction scenarios, such as implementing function selection, parameter setting, and start / stop operations in electronic devices.

[0119] Compared with existing technologies, this fan control circuit, by setting up charging and discharging interfaces, can not only solve the user's cooling needs in high-temperature environments when applied to fan control, but also provide emergency power support, further improving the product's practicality and user experience. At the same time, this fan control circuit also has a night lighting function, providing a multi-functional effect that is convenient for use outdoors or in special scenarios.

[0120] The above are merely preferred embodiments of the present utility model and are not intended to limit the present utility model. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present utility model should be included within the protection scope of the present utility model.

Claims

1. A fan control circuit having a discharge function, characterized by comprising: The application relates to a fan control circuit. The fan control circuit comprises a main control MCU, a charging and discharging control module with a charging and discharging control function, a power supply unit, a charging interface J1, a discharging interface J3 and a charging and discharging control chip U1. The main control MCU comprises a main control chip U5, a capacitor C10 and a capacitor C11. The charging and discharging control module further comprises a resistor R1, a resistor R2 and a capacitor C1.

2. A fan control circuit having a discharge function as defined in claim 1, characterized in that The power supply unit comprises a battery BAT1, a battery BAT2, a power management chip U2 and a power management chip U3.

3. A fan control circuit having a discharge function as defined in claim 2, characterized in that The charging and discharging control module further comprises a capacitor C2 and a capacitor C3.

4. A fan control circuit having a discharge function as defined in claim 2, characterized in that The fan control circuit further comprises a signal indication module, and the signal indication module comprises an LED1, an LED2, an LED3, an LED4 and an LED5.

5. A fan control circuit having a discharge function as defined in claim 3, wherein The fan control circuit further comprises a signal indication module, and the signal indication module comprises an LED1, an LED2, an LED3, an LED4 and an LED5.

6. A fan control circuit having a discharge function as defined in claim 1, wherein, ​ 7. A fan control circuit having a discharge function as defined in claim 6, characterized in that ​ 8. A fan control circuit having a discharge function as defined in claim 6, characterized in that ​ 9. A fan control circuit having a discharge function as defined in claim 2, wherein, ​ 10. A fan control circuit having a discharge function as defined in claim 2, wherein, The fan control circuit further comprises a lighting module, the lighting module comprising a first lighting unit and a second lighting unit, both of which are connected with the master control chip U5.