A firmware upgrade tool board and fan

By designing a firmware upgrade toolboard with signal transfer circuits and power-on/off control circuits, the automatic identification and one-click upgrade of the internal and external rotors of the server fan were realized. This solved the problem of low upgrade efficiency caused by manual plugging and unplugging and button operation in the existing technology, and improved the automation and efficiency of server fan firmware upgrades.

CN119645911BActive Publication Date: 2025-10-21INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411686829.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-22
Publication Date
2025-10-21
Estimated Expiration
2044-11-22

AI Technical Summary

Technical Problem

In existing technologies, server fan firmware upgrades require manual plugging and unplugging and button operations, resulting in low upgrade efficiency and making it impossible to efficiently upgrade the internal and external rotors of multiple fans during server operation.

Method used

Design a firmware upgrade tool board that uses a signal conversion circuit and a power-on/off control circuit to enable a host computer to identify the inner and outer rotors of the fan and automatically transfer the upgrade file, thus achieving one-click automatic upgrade.

Benefits of technology

It improves the automation and efficiency of upgrading the internal and external rotors of the fans, reduces manual operation, and ensures that firmware upgrades of multiple fans can be completed quickly during server operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119645911B_ABST
    Figure CN119645911B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of firmware upgrading, and discloses a firmware upgrading tool plate and a fan, which comprise a first signal switching circuit and a second signal switching circuit; a host computer reads identification signals of the first signal switching circuit and the second signal switching circuit in sequence; when the host computer reads the identification signals as low level, the host computer transmits an inner rotor firmware upgrading file to the first signal switching circuit, the first signal switching circuit transmits the inner rotor firmware upgrading file to a controller, and the controller upgrades the inner rotor; when the host computer reads the identification signals as high level, the host computer transmits an outer rotor firmware upgrading file to the second signal switching circuit, the second signal switching circuit transmits the outer rotor firmware upgrading file to the controller, and the controller upgrades the outer rotor; the process of manual plugging is omitted; on the basis of improving the upgrading efficiency of the inner rotor and the outer rotor of the fan, one-key automatic upgrading of the inner rotor and the outer rotor of the fan is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of firmware upgrade, and in particular to a firmware upgrade tool board and a fan. Background Art

[0002] Firmware updates are essential maintenance tasks in modern data centers and enterprise-level server environments. They not only fix known security vulnerabilities and software defects, but also improve server performance and stability. Server fans often require firmware updates after they are operational. This is done to fix operational bugs and to add new features to enhance performance.

[0003] Server fans often use a microcontroller unit (MCU) to perform fan upgrades and related controls. The MCU is installed inside the fan body, which cannot be disassembled after assembly. Therefore, upgrades can only be performed using the fan's original signal cables. There are two main difficulties in upgrading server fan firmware:

[0004] (1) A single fan usually includes an inner rotor and an outer rotor, and the inner and outer rotors have different programs, so it is necessary to distinguish the inner and outer rotors of the fan;

[0005] (2) A single server is usually equipped with multiple fans. Due to the limitations of the application scenario, the server cannot be suspended. However, the server has a large heat dissipation demand during operation. Therefore, it is necessary to upgrade multiple fans in the shortest possible time, which puts higher requirements on the efficiency of the fan firmware upgrade. Summary of the Invention

[0006] In view of this, the present invention provides a firmware upgrade tool board and a fan to solve the problem of how to improve the upgrade efficiency of the inner rotor and outer rotor of the fan.

[0007] In the first aspect, the present invention provides a firmware upgrade tool board, comprising: a first signal transfer circuit and a second signal transfer circuit, wherein the first end of the first signal transfer circuit is connected to the controller of the fan, and the second end of the first signal transfer circuit is connected to the host computer; the first end of the second signal transfer circuit is connected to the controller of the fan, and the second end of the second signal transfer circuit is connected to the host computer; the host computer reads the identification signals of the first signal transfer circuit and the second signal transfer circuit in sequence; when the host computer reads that the identification signal is low, the host computer transmits the inner rotor firmware upgrade file to the first signal transfer circuit, the first signal transfer circuit transmits the inner rotor firmware upgrade file to the controller, and the controller upgrades the inner rotor; when the host computer reads that the identification signal is high, the host computer transmits the outer rotor firmware upgrade file to the second signal transfer circuit, the second signal transfer circuit transmits the outer rotor firmware upgrade file to the controller, and the controller upgrades the outer rotor.

[0008] The present invention provides a first signal switching circuit and a second signal switching circuit. The upper computer identifies the inner and outer rotors of the fan by reading the identification signals of the first signal switching circuit and the second signal switching circuit to upgrade the two, eliminating the process of manual plugging and unplugging. On the basis of improving the upgrade efficiency of the inner and outer rotors of the fan, one-click automatic upgrade of the inner and outer rotors of the fan firmware is achieved.

[0009] In an optional embodiment, the first signal switching circuit and the second signal switching circuit both include: a CH340G chip, wherein the UD+ pin and UD- pin of the CH340G chip are connected to the host computer, and the TXD pin and RXD pin of the CH340G chip are connected to the controller.

[0010] In an optional embodiment, the firmware upgrade tool board also includes: a first TYPE-C connection circuit and a second TYPE-C connection circuit, wherein the first end of the first TYPE-C connection circuit is connected to the second end of the first signal conversion circuit, and the second end of the first TYPE-C connection circuit is connected to the host computer via a USB signal line; the first end of the second TYPE-C connection circuit is connected to the second end of the second signal conversion circuit, and the second end of the second TYPE-C connection circuit is connected to the host computer via a USB signal line.

[0011] In an optional embodiment, the firmware upgrade tool board also includes: a fan terminal connection circuit, wherein the first end of the fan terminal connection circuit is connected to the first end of the first signal connection circuit and the first end of the second signal connection circuit, and the second end of the fan terminal is connected to the controller.

[0012] The present invention adds an automatic identification function for the inner and outer rotors of the fan, so that the inner and outer rotors of the fan can be upgraded with only one fan terminal connection port, eliminating the process of manual plugging and unplugging. The present invention also adds a hardware control circuit for the upper computer to power on and off the fan, eliminating physical buttons and manual operations. By designing a control logic method for the upper computer to upgrade the fan firmware, the firmware of the inner and outer rotors of the fan can be automatically upgraded with one click.

[0013] In an optional embodiment, the firmware upgrade tool board also includes: a first power on and off control circuit and a second power on and off control circuit, wherein the first end of the first power on and off control circuit is connected to the third end of the first signal switching circuit, the second end of the first power on and off control circuit is connected to the power supply voltage, and the third end of the first power on and off control circuit is connected to the inner rotor through the fan terminal connection circuit; the first end of the second power on and off control circuit is connected to the third end of the second signal switching circuit, the second end of the second power on and off control circuit is connected to the power supply voltage, and the third end of the second power on and off control circuit is connected to the outer rotor through the fan terminal connection circuit; when the upper computer reads that the identification signal is low, the upper computer sends the inner rotor firmware upgrade file and the startup signal to the first signal switching circuit; the first signal switching circuit transmits the startup signal to the first power on and off control circuit, the first power on and off control circuit is turned on, and the inner rotor is powered on , the first signal transfer circuit transmits the inner rotor firmware upgrade file to the controller; after the inner rotor firmware upgrade file is transmitted, the host computer sends a stop signal to the first signal transfer circuit, the first signal transfer circuit transmits the stop signal to the first power on and off control circuit, the first power on and off control circuit is disconnected, and the inner rotor is powered off; when the host computer reads that the identification signal is high, the host computer sends the outer rotor firmware upgrade file and the start signal to the second signal transfer circuit; the second signal transfer circuit transmits the start signal to the second power on and off control circuit, the second power on and off control circuit is turned on, and after the outer rotor is powered on, the second signal transfer circuit transmits the outer rotor firmware upgrade file to the controller; after the outer rotor firmware upgrade file is transmitted, the host computer sends a stop signal to the second signal transfer circuit, the second signal transfer circuit transmits the stop signal to the second power on and off control circuit, the second power on and off control circuit is disconnected, and the outer rotor is powered off.

[0014] In an optional embodiment, the first power-on and power-off control circuit and the second power-on and power-off control circuit both include: a first switch circuit, a second switch circuit, a third switch circuit and a filter circuit, wherein the control end of the first switch circuit is connected to the third end of the first signal conversion circuit, the first end of the first switch circuit is connected to the power supply voltage, and the second end of the first switch is grounded; the control end of the second switch circuit is connected to the third end of the first switch circuit, the first end of the second switch circuit is connected to the control end of the third switch circuit, and the second end of the second switch circuit is grounded; the first end of the third switch circuit is connected to the power supply voltage, the second end of the third switch circuit is connected to the inner rotor or the outer rotor through the fan terminal connection circuit, and the second end of the third switch circuit is also connected to the first end of the filter circuit; the second end of the filter circuit is grounded; when the first switch circuit receives a start signal, the first switch circuit is turned off, the second switch circuit is turned on, and the third switch circuit is turned on; when the first switch circuit receives a stop signal, the first switch circuit is turned on, the second switch circuit is turned off, and the third switch circuit is turned off.

[0015] In an optional embodiment, the first switching circuit includes: a first resistor, a second resistor and a first controllable switch, wherein the control end of the first controllable switch is connected to the first end of the first resistor, the first end of the first controllable switch is connected to the first end of the second resistor and the control end of the second switching circuit, and the second end of the first controllable switch is grounded; the second end of the first resistor is connected to the third end of the first signal switching circuit; the second end of the second resistor is connected to the power supply voltage; when the first controllable switch receives a start signal, the first controllable switch is turned off; when the first controllable switch receives a stop signal, the first controllable switch is turned on.

[0016] In an optional embodiment, the second switching circuit includes: a third resistor and a second controllable switch, wherein the control end of the second controllable switch is connected to the third end of the first switching circuit, the first end of the second controllable switch is connected to the first end of the third resistor, and the second end of the second controllable switch is grounded; the second end of the third resistor is connected to the control end of the third switching circuit; when the first switching circuit receives a start signal, the second controllable switch is turned on; when the first switching circuit receives a stop signal, the second controllable switch is turned off.

[0017] In an optional embodiment, the third switching circuit includes: a fourth resistor and a third controllable switch, wherein the control end of the third controllable switch is connected to the first end of the second switching circuit and the first end of the fourth resistor, the first end of the third controllable switch is connected to the second end of the fourth resistor, the first end of the third controllable switch is connected to the supply voltage, the second end of the third controllable switch is connected to the inner rotor or the outer rotor through the fan terminal connection circuit, and the second end of the third controllable switch is connected to the first end of the filter circuit; when the first switching circuit receives a start signal, the third controllable switch is turned on; when the first switching circuit receives a stop signal, the third controllable switch is turned off.

[0018] In a second aspect, the present invention provides a fan, comprising: a firmware upgrade tool board, an inner rotor, an outer rotor and a controller according to the first aspect and any optional embodiment thereof, wherein the first end of the first signal switching circuit is connected to the controller, and the second end of the first signal switching circuit is connected to the host computer; the first end of the second signal switching circuit is connected to the controller, and the second end of the second signal switching circuit is connected to the host computer; the host computer reads the identification signals of the first signal switching circuit and the second signal switching circuit in sequence; when the host computer reads that the identification signal is low, the host computer transmits the inner rotor firmware upgrade file to the first signal switching circuit, the first signal switching circuit transmits the inner rotor firmware upgrade file to the controller, and the controller upgrades the inner rotor; when the host computer reads that the identification signal is high, the host computer transmits the outer rotor firmware upgrade file to the second signal switching circuit, the second signal switching circuit transmits the outer rotor firmware upgrade file to the controller, and the controller upgrades the outer rotor. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the specific embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0020] Figure 1 is a diagram of the composition of a firmware upgrade tool board according to an embodiment of the present invention;

[0021] Figure 2 is a specific circuit structure diagram of a first signal switching circuit and a second signal switching circuit according to an embodiment of the present invention;

[0022] Figure 3 is a composition diagram of another firmware upgrade tool board according to an embodiment of the present invention;

[0023] Figure 41 is a specific circuit structure diagram of a first TYPE-C connection circuit and a second TYPE-C connection circuit according to an embodiment of the present invention;

[0024] Figure 5 is a composition diagram of another firmware upgrade tool board according to an embodiment of the present invention;

[0025] Figure 6 is a specific circuit structure diagram of a fan terminal connection circuit according to an embodiment of the present invention;

[0026] Figure 7 is a composition diagram of another firmware upgrade tool board according to an embodiment of the present invention;

[0027] Figure 8 3 is a specific circuit structure diagram of a first power-on / off control circuit and a second power-on / off control circuit according to an embodiment of the present invention;

[0028] Figure 9 2. It is a schematic diagram of a solution for automatically identifying the inner and outer rotors of a fan according to an embodiment of the present invention;

[0029] Figure 10 This is a flowchart of upgrading the inner and outer rotors of a fan according to an embodiment of the present invention. DETAILED DESCRIPTION

[0030] To make the purpose, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts shall fall within the scope of protection of the present invention.

[0031] Most fans use an MCU as their internal control chip. Currently, IAP is the standard method for upgrading MCU firmware. This means the MCU reserves a BootLoader program area before the APP program area. After the MCU is powered on, it runs the BootLoader program first. If it doesn't receive an upgrade command within a certain period of time (usually set to within 1 second), it automatically jumps to the normal APP program. If it receives an upgrade command, the MCU obtains the upgrade program file and reprograms the APP program to achieve the upgrade. After programming is complete, it automatically jumps to the APP program to start running the new program.

[0032] The server fan firmware upgrade method mentioned above consists of three parts: a bootloader on the fan MCU, a firmware upgrade tool board, and a firmware upgrade host computer. The fan MCU's bootloader primarily configures the fan's original signal lines (PWM and TACH) as TX and RX lines for serial communication, and receives program files for updates via the serial port.

[0033] The main functions of the firmware upgrade tool board are: as a bridge for communication between the fan MCU and the host computer, the firmware upgrade tool board uses the CH340 series chip (a conversion chip for communication between USB and TTL serial port devices) to connect the USB end to the computer host computer and the TTL serial port end to the fan MCU; for the firmware upgrade host computer, its main function is to transfer the firmware program file to the fan MCU through the firmware upgrade tool board via communication protocols such as Xmodem, Ymodem and Zmodem.

[0034] Solutions in related art typically include two fan terminal connectors and a physical switch button on the firmware upgrade tool panel. One connector only powers the inner rotor, and the other only powers the outer rotor. The physical switch button controls the power supply to the fan. Therefore, the fan firmware upgrade process involves inserting the fan terminal into the inner rotor connector and pressing the button. The inner rotor powers on, and the host computer performs the upgrade. After the upgrade is complete, the button is pressed to power off the inner rotor. The fan terminal is removed and inserted into the outer rotor connector. The button is pressed to power on the outer rotor, and the host computer performs the upgrade. After the upgrade is complete, the button is pressed to power off the outer rotor. The fan terminal is removed to complete the fan firmware upgrade.

[0035] The firmware upgrade tool board based on the above-mentioned related technologies still has the following problems:

[0036] 1. In the server fan firmware upgrade method in the related art, the inner and outer rotors of the fan are distinguished by setting two fan terminal connection ports on the firmware upgrade tool board. However, the upgrade of only one fan requires manual plugging and unplugging twice, which reduces the upgrade efficiency.

[0037] 2. In the server fan firmware upgrade method in the related art, the fan MCU is powered on and off and reset by setting a physical button on the firmware upgrade tool board. This also requires manual button control, and since the MCU's BootLoader setting time is within 1S, if the button is pressed and the host computer is not used to upgrade within 1S after power-on, the upgrade will fail.

[0038] Based on this, in order to solve the problem of low automation and low upgrade efficiency caused by the need to manually plug and unplug the inner and outer rotors of the fan and manually operate physical buttons to control the power on and off of the fan during the fan firmware upgrade, a firmware upgrade tool board 1 is provided in this embodiment. Figure 1 As shown, it includes: a first signal switching circuit 11 and a second signal switching circuit 12.

[0039] like Figure 1 As shown, the first end of the first signal switching circuit 11 is connected to the fan controller 2, and the second end of the first signal switching circuit 11 is connected to the host computer; the first end of the second signal switching circuit 12 is connected to the fan controller 2, and the second end of the second signal switching circuit 12 is connected to the host computer.

[0040] Specifically, the internal structure of the first signal switching circuit 11 and the second signal switching circuit 12 are exactly the same. The only difference is that the X pin of the first signal switching circuit 11 is grounded, and the X pin of the second signal switching circuit 12 is in the default state. The host computer is connected to the pins of the first signal switching circuit 11 and the second signal switching circuit 12, and the host computer reads the state of the X pin to identify whether it is the first signal switching circuit 11 or the second signal switching circuit 12.

[0041] Specifically, the host computer sequentially reads the identification signals of the first signal switching circuit 11 and the second signal switching circuit 12. That is, since the X pin of the first signal switching circuit 11 is grounded, the identification signal of the first signal switching circuit 11 is at a low level, and the X pin of the second signal switching circuit 12 is in a default state, so the identification signal of the second signal switching circuit 12 is at a high level. Therefore, for different identification signals read, there will be the following two situations:

[0042] (1) When the host computer reads that the identification signal is at a low level, the host computer transmits the inner rotor firmware upgrade file to the first signal switching circuit 11, and the first signal switching circuit 11 transmits the inner rotor firmware upgrade file to the controller 2, and the controller 2 upgrades the inner rotor 3;

[0043] (2) When the host computer reads that the identification signal is at a high level, the host computer transmits the outer rotor firmware upgrade file to the second signal switching circuit 12, and the second signal switching circuit 12 transmits the outer rotor firmware upgrade file to the controller 2, and the controller 2 upgrades the outer rotor 4.

[0044] Specifically, the host computer only reads one identification signal each time, and after determining the level of the identification model, sends the corresponding firmware upgrade file to the corresponding signal switching circuit. After the signal switching circuit transmits the firmware upgrade file to the controller 2, the host computer reads another identification signal.

[0045] Optionally, this embodiment is not limited to the upgrade of the inner rotor 3 and outer rotor 4 of the fan, but can also be used for the upgrade of equipment including multiple sub-modules. Therefore, multiple signal switching circuits need to be set up, and each signal switching circuit corresponds to a sub-module. Since the equipment includes multiple sub-modules, the identification signal cannot be represented by a single high or low level. The identification signal can be represented by different pulse signals, and the pulse signal period, high level time, and low level time are different, so as to distinguish different sub-modules.

[0046] In some optional embodiments, the first signal adapter circuit 11 and the second signal adapter circuit 12 both include: a CH340G chip, wherein the UD+ pin and UD- pin of the CH340G chip are connected to the host computer, and the TXD pin and RXD pin of the CH340G chip are connected to the controller 2.

[0047] Specifically, in order to identify the inner rotor 3 and the outer rotor 4, two CH340G chips are set. The CH340G chip pin DSR has an output function. The host computer reads the DSR pin status of the CH340G chip to identify whether it is the first signal switching circuit 11 or the second signal switching circuit 12.

[0048] For example, refer to Figure 2 Taking the inner rotor 3 as an example, if the DSR pin of the CH340G chip is grounded and pulled low, the DSR pin of the CH340G chip remains in the default state, that is, the DSR pin is low corresponding to the inner rotor 3, and the DSR pin is high corresponding to the outer rotor 4. Therefore, the host computer can read the high and low levels of the DSR pin through the serial port to distinguish the inner and outer rotors 4 of the fan.

[0049] Figure 2 In the figure, the CH340G chip is the USB and TTL conversion chip of the firmware upgrade tool board 1. The UD+ pin and UD+ pin of the CH340G chip are connected to the USB port of the host computer. The TXD pin and RXD pin of the CH340G chip are connected to the controller 2 through signal lines. Among them, the TXD signal line is the signal line for the fan to transmit the speed to the host computer, and the RXD signal line is the signal line for the host computer to transmit PWM speed control to the fan.

[0050] Figure 2 In the figure, X1 is the external crystal oscillator of the CH340G chip, and capacitors C1 and C2 are matching capacitors of the crystal oscillator circuit.

[0051] In some optional embodiments, such as Figure 3As shown, the firmware upgrade tool board 1 also includes: a first TYPE-C connection circuit 13 and a second TYPE-C connection circuit 14, wherein the first end of the first TYPE-C connection circuit 13 is connected to the second end of the first signal conversion circuit 11, and the second end of the first TYPE-C connection circuit 13 is connected to the host computer through a USB signal line; the first end of the second TYPE-C connection circuit 14 is connected to the second end of the second signal conversion circuit 12, and the second end of the second TYPE-C connection circuit 14 is connected to the host computer through a USB signal line.

[0052] Specifically, each signal transfer circuit is connected to the host computer serial port communication through a TYPE-C connection circuit, that is, the CH340G chip communicates with the host computer through TYPE-C.

[0053] Optionally, the first TYPE-C connection circuit 13 and the second TYPE-C connection circuit 14 have the same structure. The specific circuit structures of the first TYPE-C connection circuit 13 and the second TYPE-C connection circuit 14 are as follows: Figure 4 As shown, Figure 4 The TYPE-C in the circuit serves as the connection interface between the tool board and the host computer. R5 and R6 are pull-down resistors for the TYPE-C interface channel configuration pins CC1 and CC2.

[0054] In some optional embodiments, such as Figure 5 As shown, the firmware upgrade tool board 1 also includes: a fan terminal connection circuit 15, wherein the first end of the fan terminal connection circuit 15 is connected to the first end of the first signal connection circuit and the first end of the second signal connection circuit, and the second end of the fan terminal is connected to the controller 2.

[0055] Specifically, the specific circuit structure of the fan terminal connection circuit 15 is as follows: Figure 6 As shown, Figure 6 In the figure, the 1-RX end and the 1-TX end are connected to the RX pin and the TX pin of the first signal switching circuit 11, and the 2-RX end and the 2-TX end are connected to the RX pin and the TX pin of the second signal switching circuit 12. The serial port signal line includes an RX line and a TX line. The RX line is multiplexed by the PWM line, and the TX line is multiplexed by the TACH line.

[0056] In some optional embodiments, such as Figure 7 As shown, in order to realize power-on and power-off control of the inner rotor 3 and the outer rotor 4 , the firmware upgrade tool board 1 further includes: a first power-on and power-off control circuit 16 and a second power-on and power-off control circuit 17 .

[0057] like Figure 7As shown, the first end of the first power on and off control circuit 16 is connected to the third end of the first signal switching circuit 11, the second end of the first power on and off control circuit 16 is connected to the power supply voltage, and the third end of the first power on and off control circuit 16 is connected to the inner rotor 3 through the fan terminal connection circuit 15.

[0058] like Figure 7 As shown, the first end of the second power on and off control circuit 17 is connected to the third end of the second signal switching circuit 12, the second end of the second power on and off control circuit 17 is connected to the power supply voltage, and the third end of the second power on and off control circuit 17 is connected to the outer rotor 4 through the fan terminal connection circuit 15.

[0059] Specifically, when the host computer reads that the identification signal is at a low level, the host computer sends the inner rotor 3 firmware upgrade file and the start signal to the first signal switching circuit 11; the first signal switching circuit 11 transmits the start signal to the first power on and off control circuit 16, the first power on and off control circuit 16 is turned on, and after the inner rotor 3 is powered on, the first signal switching circuit 11 transmits the inner rotor 3 firmware upgrade file to the controller 2; after the transmission of the inner rotor 3 firmware upgrade file is completed, the host computer sends a stop signal to the first signal switching circuit 11, the first signal switching circuit 11 transmits the stop signal to the first power on and off control circuit 16, the first power on and off control circuit 16 is disconnected, and the inner rotor 3 is powered off.

[0060] Specifically, when the host computer reads that the identification signal is at a high level, the host computer sends the outer rotor 4 firmware upgrade file and the start signal to the second signal switching circuit 12; the second signal switching circuit 12 transmits the start signal to the second power on and off control circuit 17, the second power on and off control circuit 17 is turned on, and after the outer rotor 4 is powered on, the second signal switching circuit 12 transmits the outer rotor 4 firmware upgrade file to the controller 2; after the transmission of the outer rotor 4 firmware upgrade file is completed, the host computer sends a stop signal to the second signal switching circuit 12, the second signal switching circuit 12 transmits the stop signal to the second power on and off control circuit 17, the second power on and off control circuit 17 is disconnected, and the outer rotor 4 is powered off.

[0061] In some optional implementations, the first power-on / off control circuit 16 and the second power-on / off control circuit 17 both include: a first switch circuit, a second switch circuit, a third switch circuit, and a filter circuit.

[0062] The control end of the first switch circuit is connected to the third end of the first signal conversion circuit 11, the first end of the first switch circuit is connected to the power supply voltage, and the second end of the first switch is grounded; the control end of the second switch circuit is connected to the third end of the first switch circuit, the first end of the second switch circuit is connected to the control end of the third switch circuit, and the second end of the second switch circuit is grounded; the first end of the third switch circuit is connected to the power supply voltage, the second end of the third switch circuit is connected to the inner rotor 3 or the outer rotor 4 through the fan terminal connection circuit 15, the second end of the third switch circuit is also connected to the first end of the filter circuit, and the second end of the filter circuit is grounded;.

[0063] Specifically, when the first switch circuit receives a start signal, the first switch circuit is turned off, the second switch circuit is turned on, and the third switch circuit is turned on, and the inner rotor 3 or the outer rotor 4 is powered on; when the first switch circuit receives a stop signal, the first switch circuit is turned on, the second switch circuit is turned off, and the third switch circuit is turned off, and the inner rotor 3 or the outer rotor 4 is powered off.

[0064] In some optional embodiments, such as Figure 8 As shown, the first switch circuit includes: a first resistor R19, a second resistor R20 and a first controllable switch Q1, wherein the control end of the first controllable switch Q1 is connected to the first end of the first resistor R19, the first end of the first controllable switch Q1 is connected to the first end of the second resistor R20 and the control end of the second switch circuit (i.e., the resistor R21), and the second end of the first controllable switch Q1 is grounded; the second end of the first resistor R19 is connected to the third end of the first signal adapter circuit 11 (i.e., the DTR pin of CH340G); the second end of the second resistor R20 is connected to the power supply voltage; when the first controllable switch Q1 receives a start signal, the first controllable switch Q1 is turned off; when the first controllable switch Q1 receives a stop signal, the first controllable switch Q1 is turned on.

[0065] In some optional embodiments, such as Figure 8 As shown, the second switch circuit includes: a third resistor R21 and a second controllable switch Q2, wherein the control end of the second controllable switch Q2 is connected to the third end of the first switch circuit, the first end of the second controllable switch Q2 is connected to the first end of the third resistor R21, and the second end of the second controllable switch Q2 is grounded; the second end of the third resistor R21 is connected to the control end (i.e., Q3) of the third switch circuit; when the first switch circuit receives a start signal, the second controllable switch Q2 is turned on; when the first switch circuit receives a stop signal, the second controllable switch Q2 is turned off.

[0066] In some optional embodiments, such as Figure 8As shown, the third switch circuit includes: a fourth resistor R22 and a third controllable switch Q3, wherein a control end of the third controllable switch Q3 is connected to the first end (i.e., R21) of the second switch circuit and the first end of the fourth resistor R22, a first end of the third controllable switch Q3 is connected to the second end of the fourth resistor R22, a first end of the third controllable switch Q3 is connected to the supply voltage, a second end of the third controllable switch Q3 is connected to the inner rotor 3 or the outer rotor 4 via the fan terminal connection circuit 15, and a second end of the third controllable switch Q3 is connected to the first end of the filter circuit; when the first switch circuit receives a start signal, the third controllable switch Q3 is turned on; when the first switch circuit receives a stop signal, the third controllable switch Q3 is turned off.

[0067] Specifically, the specific circuit structures of the first power-on / off control circuit 16 and the second power-on / off control circuit 17 are as follows: Figure 8 For example, Q1 and Q2 are NPN transistors used to convert control signals, R19 and R20 are current limiting resistors for Q1, R21 is the current limiting resistor for Q2, Q3 is a P-MOS used for switch control of fan power supply, R22 is the voltage divider resistor for turning on the P-MOS, and C6 and C7 are filter capacitors for 12V-IN power supply.

[0068] Figure 8 In this example, the DTR pin of the CH340G chip is set high by default. The first controllable switch Q1 is turned on, with its upper N-pole connected to GND, pulling the voltage low. The left P-pole of the second controllable switch Q2 is connected to the upper N-pole of Q1, pulling the voltage low and turning off Q2. The left S-pole and lower G-pole of the P-MOS transistor are both pulled high by P12V, turning off the PMOS. Consequently, 12V-IN loses power, and inner rotor 3 is powered off. To power on, the host computer sets DTR to a low level, turning off the first controllable switch Q1. The upper N-pole of Q1 is pulled high by 5V-IN, and the left P-pole of the second controllable switch Q2 is connected to the upper N-pole of Q1, pulling the voltage high and turning on Q2. The current from P12V flows through R22 to R21. Then it flows to GND through Q2. At this time, the GS pole voltage of PMOS is the divided voltage of R22, VSG is approximately equal to 6V, PMOS is turned on, 12V-IN is powered, and the inner rotor 3 is powered on.

[0069] In this embodiment, a fan is provided, such as Figure 1As shown, it includes: the firmware upgrade tool board 1, inner rotor 3, outer rotor 4 and controller 2 of the above embodiment and any optional implementation manner thereof, wherein the first end of the first signal switching circuit 11 is connected to the controller 2, and the second end of the first signal switching circuit 11 is connected to the host computer; the first end of the second signal switching circuit 12 is connected to the controller 2, and the second end of the second signal switching circuit 12 is connected to the host computer; the host computer reads the identification signals of the first signal switching circuit 11 and the second signal switching circuit 12 in sequence; when the host computer reads that the identification signal is low, the host computer transmits the firmware upgrade file of the inner rotor 3 to the first signal switching circuit 11, the first signal switching circuit 11 transmits the firmware upgrade file of the inner rotor 3 to the controller 2, and the controller 2 upgrades the inner rotor 3; when the host computer reads that the identification signal is high, the host computer transmits the firmware upgrade file of the outer rotor 4 to the second signal switching circuit 12, the second signal switching circuit 12 transmits the firmware upgrade file of the outer rotor 4 to the controller 2, and the controller 2 upgrades the outer rotor 4.

[0070] refer to Figure 9 , Figure 9 IN indicates the inner rotor, OUT indicates the outer rotor. The upgrade process for the fan inner rotor 3 and outer rotor 4 is as follows: Figure 10 Click on the one-key upgrade of the host computer, the host computer will first read all the connected serial ports and read the DSR status of the serial ports.

[0071] If the DSR status is 0, the corresponding serial port is for inner rotor 3. If the DSR status is 1, the corresponding serial port is for outer rotor 4. This completes the identification of the inner and outer rotors and binds the firmware files for inner and outer rotor 4 to the corresponding serial ports. Furthermore, the host computer controls DTR to a low level, powers on the fan, sends an upgrade command, controls the fan MCU to enter the Bootloader, and sends the firmware file. After the file transfer is complete, the host computer controls DTR to a high level, powers off the fan, and the fan upgrade is complete.

[0072] Therefore, after the fan firmware upgrade tool board 1 is connected to the host computer via USB, the fan inner and outer rotors 4 can be automatically upgraded by clicking the one-key upgrade button of the host computer.

[0073] Although the embodiments of the present invention have been described with reference to the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention. Such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A firmware upgrade tool board, characterized in that: include: A first signal transfer circuit, a second signal transfer circuit, a fan terminal connection circuit, a first power-on and power-off control circuit, and a second power-on and power-off control circuit, wherein: The first end of the first signal switching circuit is connected to the controller of the fan, and the second end of the first signal switching circuit is connected to the host computer; A first end of the second signal switching circuit is connected to a controller of the fan, and a second end of the second signal switching circuit is connected to a host computer; The host computer sequentially reads the identification signals of the first signal switching circuit and the second signal switching circuit; When the host computer reads that the identification signal is at a low level, the host computer transmits the inner rotor firmware upgrade file to the first signal switching circuit, and the first signal switching circuit transmits the inner rotor firmware upgrade file to the controller, and the controller upgrades the inner rotor; When the host computer reads that the identification signal is at a high level, the host computer transmits the outer rotor firmware upgrade file to the second signal switching circuit, and the second signal switching circuit transmits the outer rotor firmware upgrade file to the controller, and the controller upgrades the outer rotor; The first end of the fan terminal connection circuit is connected to the first end of the first signal connection circuit and the first end of the second signal connection circuit, and the second end of the fan terminal is connected to the controller; A first end of the first power-on / off control circuit is connected to a third end of the first signal adapter circuit, a second end of the first power-on / off control circuit is connected to a power supply voltage, and a third end of the first power-on / off control circuit is connected to the inner rotor via the fan terminal connection circuit; The first end of the second power on and off control circuit is connected to the third end of the second signal conversion circuit, the second end of the second power on and off control circuit is connected to the power supply voltage, and the third end of the second power on and off control circuit is connected to the outer rotor through the fan terminal connection circuit.

2. The firmware upgrade tool board according to claim 1, characterized in that: The first signal transfer circuit and the second signal transfer circuit both include: a CH340G chip, wherein: The UD+ pin and the UD- pin of the CH340G chip are connected to the host computer, and the TXD pin and the RXD pin of the CH340G chip are connected to the controller.

3. The firmware upgrade tool board according to claim 1, characterized in that: It also includes: a first TYPE-C connection circuit and a second TYPE-C connection circuit, wherein: The first end of the first TYPE-C connection circuit is connected to the second end of the first signal adapter circuit, and the second end of the first TYPE-C connection circuit is connected to the host computer via a USB signal line; The first end of the second TYPE-C connection circuit is connected to the second end of the second signal switching circuit, and the second end of the second TYPE-C connection circuit is connected to the host computer through a USB signal line.

4. The firmware upgrade tool board according to claim 1, characterized in that: When the host computer reads that the identification signal is at a low level, the host computer sends the inner rotor firmware upgrade file and the start signal to the first signal switching circuit; the first signal switching circuit transmits the start signal to the first power on and off control circuit, the first power on and off control circuit is turned on, and after the inner rotor is powered on, the first signal switching circuit transmits the inner rotor firmware upgrade file to the controller; after the transmission of the inner rotor firmware upgrade file is completed, the host computer sends a stop signal to the first signal switching circuit, the first signal switching circuit transmits the stop signal to the first power on and off control circuit, the first power on and off control circuit is disconnected, and the inner rotor is powered off; When the host computer reads that the identification signal is at a high level, the host computer sends the outer rotor firmware upgrade file and the start signal to the second signal switching circuit; The second signal conversion circuit transmits a start signal to the second power on and off control circuit. The second power on and off control circuit is turned on. After the outer rotor is powered on, the second signal conversion circuit transmits the outer rotor firmware upgrade file to the controller. After the transmission of the outer rotor firmware upgrade file is completed, the host computer sends a stop signal to the second signal conversion circuit. The second signal conversion circuit transmits the stop signal to the second power on and off control circuit. The second power on and off control circuit is disconnected, and the outer rotor is powered off.

5. The firmware upgrade tool board according to claim 4, characterized in that: The first power-on and power-off control circuit and the second power-on and power-off control circuit each include: a first switch circuit, a second switch circuit, a third switch circuit and a filter circuit, wherein: The control end of the first switch circuit is connected to the third end of the first signal transfer circuit, the first end of the first switch circuit is connected to the power supply voltage, and the second end of the first switch is grounded; The control terminal of the second switch circuit is connected to the third terminal of the first switch circuit, the first terminal of the second switch circuit is connected to the control terminal of the third switch circuit, and the second terminal of the second switch circuit is grounded; A first end of the third switch circuit is connected to the power supply voltage, a second end of the third switch circuit is connected to the inner rotor or the outer rotor via the fan terminal connection circuit, and the second end of the third switch circuit is also connected to the first end of the filter circuit; The second end of the filter circuit is grounded; When the first switch circuit receives a start signal, the first switch circuit is turned off, the second switch circuit is turned on, and the third switch circuit is turned on; When the first switch circuit receives a stop signal, the first switch circuit is turned on, the second switch circuit is turned off, and the third switch circuit is turned off.

6. The firmware upgrade tool board according to claim 5, characterized in that: The first switch circuit includes: a first resistor, a second resistor and a first controllable switch, wherein: The control end of the first controllable switch is connected to the first end of the first resistor, the first end of the first controllable switch is connected to the first end of the second resistor and the control end of the second switch circuit, and the second end of the first controllable switch is grounded; The second end of the first resistor is connected to the third end of the first signal adapter circuit; The second end of the second resistor is connected to the supply voltage; When the first controllable switch receives a start signal, the first controllable switch is turned off; When the first controllable switch receives a stop signal, the first controllable switch is turned on.

7. The firmware upgrade tool board according to claim 5, characterized in that: The second switch circuit includes: a third resistor and a second controllable switch, wherein: The control end of the second controllable switch is connected to the third end of the first switch circuit, the first end of the second controllable switch is connected to the first end of the third resistor, and the second end of the second controllable switch is grounded; The second end of the third resistor is connected to the control end of the third switch circuit; When the first switch circuit receives a start signal, the second controllable switch is turned on; When the first switch circuit receives a stop signal, the second controllable switch is turned off.

8. The firmware upgrade tool board according to claim 5, characterized in that: The third switch circuit includes: a fourth resistor and a third controllable switch, wherein: The control end of the third controllable switch is connected to the first end of the second switch circuit and the first end of the fourth resistor, the first end of the third controllable switch is connected to the second end of the fourth resistor, the first end of the third controllable switch is connected to the supply voltage, the second end of the third controllable switch is connected to the inner rotor or the outer rotor through the fan terminal connection circuit, and the second end of the third controllable switch is connected to the first end of the filter circuit; When the first switch circuit receives a start signal, the third controllable switch is turned on; When the first switch circuit receives a stop signal, the third controllable switch is turned off.

9. A fan, characterized in that: include: The firmware upgrade tool board, inner rotor, outer rotor and controller according to any one of claims 1 to 8, wherein: A first end of the first signal switching circuit is connected to the controller, and a second end of the first signal switching circuit is connected to the host computer; A first end of the second signal switching circuit is connected to the controller, and a second end of the second signal switching circuit is connected to the host computer; The host computer sequentially reads the identification signals of the first signal switching circuit and the second signal switching circuit; When the host computer reads that the identification signal is at a low level, the host computer transmits the inner rotor firmware upgrade file to the first signal switching circuit, and the first signal switching circuit transmits the inner rotor firmware upgrade file to the controller, and the controller upgrades the inner rotor; When the host computer reads that the identification signal is at a high level, the host computer transmits the outer rotor firmware upgrade file to the second signal switching circuit, and the second signal switching circuit transmits the outer rotor firmware upgrade file to the controller, and the controller upgrades the outer rotor.

Citation Information

Patent Citations

  • Firmware upgrade method and device of eMMC mass production tool

    CN108052337A