Control circuit of indication module, indication module and server
By designing the control circuit of the indication module, using linear power supply and switch control modules, the multiplexing of two LED lights is achieved, the problem of insufficient number of GPIOs in the server is solved, the clear and effective indication of the operating status of the module is achieved, and the firmware logic is simplified.
Patent Information
- Application Number
- CN202411745381.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2025-03-25
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In servers, it is difficult for the prior art to clearly and effectively indicate the operating health status of each server module while reducing the number of GPIOs used, resulting in insufficient number of GPIOs and complex firmware logic.
A control circuit for the indication module is designed. By using a linear power supply and a switch control module, the multiplexing of two LED lamps is realized, and the turning on and off of two LED lamps is controlled by a GPIO port, thereby indicating the operating status of the two target modules in the server.
While reducing the number of GPIO usage, it can clearly and effectively indicate the operating health of the server target module, simplify the control logic of the firmware, and reduce the problem of indicative defects.
Smart Images

Figure CN119690227A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of servers, and in particular to a control circuit of an indication module, an indication module and a server. Background Art
[0002] As the progress of the information age continues to accelerate, various IT products are constantly updated and developed vigorously. Especially with the advent of the cloud era, the performance requirements for servers are getting higher and higher. The demand for high-performance and high-configuration servers is increasing. With the continuous improvement of server performance, high-power and high-power servers have gradually become the mainstream of the server market. While paying attention to server performance, product quality requirements are also getting higher and higher.
[0003] Multiple functional modules are set up inside the server. In order to detect the operating status of the functional modules in real time, multiple LED lights are connected to the GPIO of the server, and the LED is turned on and off by controlling the GPIO of the microcontroller. This method has a simple circuit architecture but will greatly waste the GPIO interface of the microcontroller, and also increase the cumbersome logic of firmware control. Summary of the invention
[0004] In view of this, the present invention provides a control circuit of an indication module, an indication module and a server to solve the problem of how to clearly and effectively indicate the operating health status of each module of the server while reducing the number of GPIOs used.
[0005] In a first aspect, the present invention provides a control circuit of an indication module, the indication module is used to display the operating status of two target modules in a server, the indication module includes a first LED light and a second LED light, and the control circuit includes: a first switch circuit, a second switch circuit, a linear power supply, and a switch control module, wherein a first end of the linear power supply is connected to a power supply voltage, a second end of the linear power supply is connected to an enable output end of a microcontroller of the server, and a third end of the linear power supply is connected to a first end of the first switch circuit and a first end of the second switch circuit; a first end of the switch control module is connected to a power supply voltage, and a second end of the switch control module is connected to a first GPIO port of the microcontroller; a second end of the first switch circuit is connected to a power supply voltage voltage, the third end of the first switch circuit is connected to the cathode of the first LED lamp and the anode of the second LED lamp; the second end of the second switch circuit is connected to the anode of the first LED lamp and the cathode of the second LED lamp; after power-on, when the switch control module receives the first control signal, the microcontroller does not enable the linear power supply, the first switch circuit is turned on, the second switch circuit is turned off, the first LED lamp is lit, and the first LED lamp is used to indicate the operating state of a target module; after power-on, when the switch control module receives the second control signal, the microcontroller enables the linear power supply, the first switch circuit is turned off, the second switch circuit is turned on, the second LED lamp is lit, and the second LED lamp is used to indicate the operating state of another target module.
[0006] In the present invention, the second end of the switch control module is connected to the first GPIO port of the microcontroller, that is, the micro switch control module transmits a control signal to the microcontroller through a GPIO port, and the control signal enables the linear power supply to output voltage to the two switch circuits. The on and off of the two switch circuits will control the lighting of the two LED lights, thereby realizing the reuse of one GPIO port for two LED lights. Therefore, the operating health status of the server target module can be clearly and effectively indicated while reducing the number of GPIOs used, and the cumbersome logic of the firmware can also be simplified, thereby reducing the existence of the indicative defect problem.
[0007] In an optional embodiment, the first switch circuit includes: a first switch subcircuit and a second switch subcircuit, wherein the first end of the first switch subcircuit is connected to the third end of the linear power supply, the second end of the first switch subcircuit is grounded, and the third end of the first switch subcircuit is connected to the first end of the second switch subcircuit; the second end of the second switch subcircuit is connected to the power supply voltage, the third end of the second switch subcircuit is grounded, and the fourth end of the second switch subcircuit is connected to the cathode of the first LED lamp and the anode of the second LED lamp; when the switch control module receives the first control signal, the first switch subcircuit is turned off and the second switch subcircuit is turned on; when the switch control module receives the second control signal, the first switch subcircuit is turned on and the second switch subcircuit is turned off.
[0008] In an optional embodiment, the first switch subcircuit includes: a first resistor and a first controllable switch, wherein the first end of the first controllable switch is grounded, the second end of the first controllable switch is connected to the first end of the second switch subcircuit, and the control end of the first controllable switch is connected to the first end of the first resistor; the second end of the first resistor is connected to the third end of the linear power supply.
[0009] In an optional embodiment, the second switch subcircuit includes: a second resistor and a second controllable switch, wherein the first end of the second controllable switch is grounded, the second end of the second controllable switch is connected to the cathode of the first LED lamp and the anode of the second LED lamp, the first end of the second controllable switch is connected to the third end of the first switch subcircuit and the first end of the second resistor; and the second end of the second resistor is connected to the supply voltage.
[0010] In an optional embodiment, the second switching circuit includes: a third resistor and a third controllable switch, wherein the first end of the third controllable switch is grounded, the second end of the third controllable switch is connected to the anode of the first LED lamp and the cathode of the second LED lamp, and the control end of the third controllable switch is connected to the first end of the third resistor; the second end of the third resistor is connected to the third end of the linear power supply.
[0011] In an optional embodiment, the control circuit of the indication module further includes: a first over-temperature protection module and a second over-temperature protection module, wherein the first end of the first over-temperature protection module is connected to the third end of the switch control module, the second end of the first over-temperature protection module is connected to the third end of the linear power supply, the third end of the first over-temperature protection module is connected to the third end of the first switch circuit, and the fourth end of the first over-temperature protection circuit is connected to the second GPIO port of the microcontroller; the first end of the second over-temperature protection module is connected to the third end of the switch control module, the second end of the second over-temperature protection module is connected to the third end of the linear power supply, the third end of the second over-temperature protection module is connected to the second end of the second switch circuit, and the fourth end of the second over-temperature protection circuit is connected to the third GPIO port of the microcontroller; when the temperature of the first switch circuit exceeds a preset temperature threshold, the first over-temperature protection module is short-circuited and outputs an over-temperature signal to the microcontroller; when the temperature of the second switch circuit exceeds the preset temperature threshold, the second over-temperature protection module is short-circuited and outputs an over-temperature signal to the microcontroller; when the supply voltage exceeds the preset voltage threshold, the first over-temperature protection module and the second over-temperature protection module clamp the supply voltage.
[0012] In the present invention, when the power supply voltage exceeds the preset voltage threshold, the first over-temperature protection module and the second over-temperature protection module clamp the power supply voltage to prevent the high-voltage pulse introduced by the communication line from damaging the integrated circuit, thereby ensuring the integrity of the signal on the data transmission line; the first over-temperature protection module and the second over-temperature protection module will output an over-temperature signal to the microcontroller for warning.
[0013] In an optional embodiment, the first over-temperature protection module includes: a first fuse, a fourth resistor, a fifth resistor, a first diode, a first transient suppression diode, and a first photoelectric coupler, wherein the first end of the first fuse is connected to the third end of the switch control, and the second end of the first fuse is connected to the first end of the fourth resistor and the anode of the first diode; the first end of the first photoelectric coupler is connected to the second end of the fourth resistor, the second end of the first photoelectric coupler is connected to the cathode of the first diode, the third end of the first switch circuit, and the first end of the first transient suppression diode, the third end of the first photoelectric coupler is connected to the third end of the linear power supply, and the fourth end of the first photoelectric coupler is connected to the second GPIO port of the microcontroller and the first end of the fifth resistor; the second end of the first transient suppression diode is grounded; the second end of the fifth resistor is grounded.
[0014] In an optional embodiment, the second over-temperature protection module includes: a second fuse, a sixth resistor, a seventh resistor, a second diode, a second transient suppression diode, and a second photoelectric coupler, wherein the first end of the second fuse is connected to the third end of the switch control, and the second end of the second fuse is connected to the first end of the sixth resistor and the anode of the second diode; the first end of the second photoelectric coupler is connected to the second end of the sixth resistor, the second end of the second photoelectric coupler is connected to the cathode of the second diode, the second end of the second switch circuit, and the first end of the second transient suppression diode, the third end of the second photoelectric coupler is connected to the third end of the linear power supply, and the fourth end of the second photoelectric coupler is connected to the third GPIO port of the microcontroller and the first end of the seventh resistor; the second end of the second transient suppression diode is grounded; the second end of the seventh resistor is grounded.
[0015] In a second aspect, the present invention provides an indication module, comprising: a control circuit, a first LED lamp and a second LED lamp of the indication module of the first aspect and any optional implementation manner thereof.
[0016] In a third aspect, the present invention provides a server, comprising: a plurality of indication modules of the second aspect, a plurality of target modules and a battery management system, wherein one indication module is used to indicate the operating status of two target modules, wherein, for each indication module, a first end of a linear power supply is connected to a power supply voltage, a second end of the linear power supply is connected to an enable output end of a microcontroller, and a third end of the linear power supply is connected to a first end of a first switch circuit and a first end of a second switch circuit; a first end of a switch control module is connected to a power supply voltage, a second end of the switch control module is connected to a first GPIO port of the microcontroller; a second end of the first switch circuit is connected to a power supply voltage, and a third end of the first switch circuit is connected to a first GPIO port of the microcontroller; The first LED lamp is connected to the cathode of the first LED lamp and the anode of the second LED lamp; the second end of the second switch circuit is connected to the anode of the first LED lamp and the cathode of the second LED lamp; after power-on, when the switch control module receives the first control signal, the microcontroller does not enable the linear power supply, the first switch circuit is turned on, the second switch circuit is turned off, the first LED lamp is lit, and the first LED lamp is used to indicate the operating status of a target module; after power-on, when the switch control module receives the second control signal, the microcontroller enables the linear power supply, the first switch circuit is turned off, the second switch circuit is turned on, the second LED lamp is lit, and the second LED lamp is used to indicate the second operating status of another target module. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0018] Figure 1 It is the related technology LED light and microcontroller GPIO wiring method;
[0019] Figure 2 is a composition diagram of a control circuit of an indication module according to an embodiment of the present invention;
[0020] Figure 3 is a composition diagram of a control circuit of another indication module according to an embodiment of the present invention;
[0021] Figure 4 is a specific circuit structure diagram of a control circuit of an indication module according to an embodiment of the present invention;
[0022] Figure 5 is a composition diagram of a control circuit of another indication module according to an embodiment of the present invention;
[0023] Figure 6is a specific circuit structure diagram of a control circuit of another indication module according to an embodiment of the present invention;
[0024] Figure 7 is a schematic diagram of wiring between a linear power supply, a switch control circuit and a microcontroller according to an embodiment of the present invention;
[0025] Figure 8 It is a flow chart of the working principle of the control circuit of the indication module in the embodiment of the present invention. DETAILED DESCRIPTION
[0026] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the 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 creative work are within the scope of protection of the present invention.
[0027] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
[0028] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, it can also be the internal connection of two components, it can be a wireless connection, or it can be a wired connection. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0029] In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0030] In the related art, the on and off and different colors of LEDs can effectively indicate the health of the server function modules. By controlling the GPIO level of the microcontroller to control the on and off of the LED lights, the operating health of each module of the server can be clearly and effectively indicated. Figure 1As shown, the LED is turned on and off by controlling the GPIO of the microcontroller (MCU). The circuit drawing is simple, but the firmware logic is complex.
[0031] However, the above technology has the following defects:
[0032] (1) A large number of GPIOs are required to control so many indication conditions, but the number of GPIOs on the control chip is limited. As a result, the insufficient number of GPIOs will cause some indication functions to be reduced, making it impossible to clearly indicate the operating status of the server and achieve the expected indication effect.
[0033] (2) The large number of GPIO controls increases the cumbersome logic of firmware design, which is prone to some indicative defects.
[0034] (3) Poor anti-interference ability.
[0035] Based on this, in this embodiment, a control circuit of an indication module is provided, and a method is designed to clearly and effectively indicate the health status of each module of the server by reducing the number of GPIOs used, and to simplify the cumbersome logic of the firmware, thereby reducing the existence of indication defects. At the same time, the protection interference capability is strong, and the performance of the protection components can be fed back.
[0036] The indication module is used to display the operating status of the two target modules in the server. The indication module includes a first LED light LED1 and a second LED light LED2. Figure 2 As shown, the control circuit of the indication module includes: a first switch circuit, a second switch circuit, a linear power supply, and a switch control module.
[0037] like Figure 2 As shown, the first end of the linear power supply is connected to the supply voltage, the second end of the linear power supply is connected to the enable output end of the microcontroller of the server, and the third end of the linear power supply is connected to the first end of the first switch circuit and the first end of the second switch circuit.
[0038] Specifically, the linear power supply is a commonly used voltage-stabilized power supply, which is internally provided with a DC-DC circuit and a voltage-stabilizing circuit. The DC-DC circuit can realize the function of adjusting the amplitude of direct current, and the voltage-stabilizing circuit outputs direct current in a stable manner. The DC-DC circuit is controlled by a microcontroller. When the microcontroller enables the DC-DC circuit, the DC-DC circuit starts and outputs voltage to the first switching circuit and the second switching circuit. The output voltage can control the states of the first switching circuit and the second switching circuit.
[0039] like Figure 2 As shown, a first end of the switch control module is connected to a power supply voltage VCC, and a second end of the switch control module is connected to a first GPIO port GPIO0 of the microcontroller.
[0040] Specifically, whether the microcontroller enables the linear power supply is controlled by the signal received by the switch control module. For example, the first control signal controls the microcontroller not to enable the linear power supply, and the second control signal controls the microcontroller to enable the linear power supply. It can be understood that since the LED light is required to indicate the target module or different states of the same module, the first control signal corresponds to one target module and the second control signal corresponds to another target module; or the first control signal corresponds to the first operating state of the target module, and the second control signal corresponds to the second operating state of the target module.
[0041] Optionally, the switch control module includes a key switch. When the key switch is not pressed, it indicates that the switch control module receives the first control signal. When the key switch is pressed, it indicates that the switch control module receives the second control signal.
[0042] like Figure 2 As shown, the second end of the first switch circuit is connected to the power supply voltage VCC, the third end of the first switch circuit is connected to the cathode of the first LED lamp LED1 and the anode of the second LED lamp LED2. The second end of the second switch circuit is connected to the anode of the first LED lamp LED1 and the cathode of the second LED lamp LED2.
[0043] Specifically, the first LED lamp LED1 and the second LED lamp LED2 are light emitting diodes. Due to the unidirectional conductivity of the diodes, the two LED lamps are connected in reverse parallel. Therefore, by setting the specific circuit structure inside the first switch circuit and the second switch circuit, and controlling the conduction or shutoff of the first switch circuit and the second switch circuit, only one LED lamp can be turned on, as follows:
[0044] (1) After power-on, when the switch control module receives the first control signal, the microcontroller does not enable the linear power supply, the first switch circuit is turned on, the second switch circuit is turned off, and the first LED light LED1 is turned on. The first LED light LED1 is used to indicate a first operating state of a target module.
[0045] (2) After power-on, when the switch control module receives the second control signal, the microcontroller enables the linear power supply, and the linear power supply outputs voltage to the first switch and the second switch. The first switch circuit is turned off and the second switch circuit is turned on, and the second LED light LED2 lights up. The second LED light LED2 is used to indicate the second operating state of another target module.
[0046] Optionally, when the first LED light LED1 is on, it can indicate that a target module in the server has been started, and when the second LED light LED2 is on, it can indicate that another target module in the server has been started, wherein the first LED light LED1 and the second LED light LED2 have different colors to correspond to different target modules, thereby realizing the two target modules multiplexing a GPIO port of a microcontroller.
[0047] Optionally, when the first LED light LED1 is on, it can indicate that a target module in the server is in a first operating state, and when the second LED light LED2 is on, it can indicate that the target module is in a second operating state, thereby realizing the two operating states of a target module multiplexing a GPIO port of a microcontroller.
[0048] In some optional embodiments, such as Figure 3 As shown, the first switch circuit includes: a first switch sub-circuit and a second switch sub-circuit.
[0049] like Figure 3 As shown, the first end of the first switch subcircuit is connected to the third end of the linear power supply, the second end of the first switch subcircuit is grounded, and the third end of the first switch subcircuit is connected to the first end of the second switch subcircuit; the second end of the second switch subcircuit is connected to the power supply voltage VCC, the third end of the second switch subcircuit is grounded, and the fourth end of the second switch subcircuit is connected to the cathode of the first LED lamp LED1 and the anode of the second LED lamp LED2.
[0050] Specifically, whether the first LED lamp LED1 and the second LED lamp LED2 are lit is controlled by the state of the second switch sub-circuit and the second switch circuit, as follows:
[0051] (1) When the switch control module receives the first control signal, the microcontroller does not enable the linear power supply, that is, the linear power supply does not output voltage to the first switch sub-circuit and the second switch circuit. At this time, the first switch sub-circuit and the second switch circuit are turned off. Since the first switch sub-circuit is turned off, the second switch sub-circuit is turned on. At this time, the first LED lamp LED1 is subjected to a forward voltage, and the second LED lamp LED2 is subjected to a reverse voltage. Therefore, only the first LED lamp LED1 is lit;
[0052] (2) When the switch control module receives the second control signal, the microcontroller enables the linear power supply, that is, the linear power supply outputs voltage to the first switch sub-circuit and the second switch circuit. At this time, the first switch sub-circuit and the second switch circuit are turned on. Since the first switch sub-circuit is turned on, the second switch sub-circuit is turned off. At this time, the first LED lamp LED1 is subjected to a reverse voltage, and the second LED lamp LED2 is subjected to a forward voltage, so only the second LED lamp LED2 lights up.
[0053] In some optional embodiments, such as Figure 4 As shown, the first switch subcircuit includes: a first resistor R1 and a first controllable switch Q1, wherein the first end of the first controllable switch Q1 is grounded, the second end of the first controllable switch Q1 is connected to the first end (i.e., Q2) of the second switch subcircuit, and the control end of the first controllable switch Q1 is connected to the first end of the first resistor R1; the second end of the first resistor R1 is connected to the third end of the linear power supply, i.e., P3V3 is the output voltage of the linear power supply.
[0054] Specifically, when the first controllable switch Q1 receives the output voltage of the linear power supply, the first controllable switch Q1 is turned on, and when the first controllable switch Q1 does not receive the output voltage of the linear power supply, the first controllable switch Q1 is turned off.
[0055] In some optional embodiments, such as Figure 4 As shown, the second switch subcircuit includes: a second resistor R2 and a second controllable switch Q2, wherein the first end of the second controllable switch Q2 is grounded, the second end of the second controllable switch Q2 is connected to the cathode of the first LED lamp LED1 and the anode of the second LED lamp LED2, the first end of the second controllable switch Q2 is connected to the third end (i.e., Q1) of the first switch subcircuit and the first end of the second resistor R2; the second end of the second resistor R2 is connected to the power supply voltage VCC.
[0056] Specifically, Figure 4 For example, when the first controllable switch Q1 receives the output voltage of the linear power supply, the first controllable switch Q1 is turned on. After the first controllable switch Q1 is turned on, the voltage at the control end of the second controllable switch Q2 is pulled down, the second controllable switch Q2 is turned off, and the cathode of the first LED lamp LED1 and the anode of the second LED lamp LED2 are subjected to high voltage; when the first controllable switch Q1 does not receive the output voltage of the linear power supply, the first controllable switch Q1 is turned off. At this time, the control end of the second controllable switch Q2 is pulled high, the second controllable switch Q2 is turned on, and the cathode of the first LED lamp LED1 and the anode of the second LED lamp LED2 are grounded.
[0057] In some optional embodiments, such as Figure 4 As shown, the second switch circuit includes: a third resistor R3 and a third controllable switch Q3, wherein the first end of the third controllable switch Q3 is grounded, the second end of the third controllable switch Q3 is connected to the anode of the first LED lamp LED1 and the cathode of the second LED lamp LED2, and the control end of the third controllable switch Q3 is connected to the first end of the third resistor R3; the second end of the third resistor R3 is connected to the third end of the linear power supply, that is, P3V3 is the output voltage of the linear power supply.
[0058] Specifically, Figure 4For example, when the first controllable switch Q1 and the third controllable switch Q3 receive the output voltage of the linear power supply, the first controllable switch Q1 and the third controllable switch Q3 are turned on. After the first controllable switch Q1 is turned on, the voltage at the control end of the second controllable switch Q2 is pulled down, the second controllable switch Q2 is turned off, the first LED lamp LED1 is subjected to a reverse voltage, the second LED lamp LED2 is subjected to a forward voltage, and the second LED lamp LED2 is lit; when the first controllable switch Q1 and the third controllable switch Q3 do not receive the output voltage of the linear power supply, the first controllable switch Q1 and the third controllable switch Q3 are turned off. After the first controllable switch Q1 is turned off, the control end of the second controllable switch Q2 is pulled high, the second controllable switch Q2 is turned on, the first LED lamp LED1 is subjected to a forward voltage, the second LED lamp LED2 is subjected to a reverse voltage, and the first LED lamp LED1 is lit.
[0059] Optionally, the first controllable switch Q1 , the second controllable switch Q2 , and the third controllable switch Q3 are formed by MOSFET and a diode connected in reverse parallel, but this is only an example and is not intended to be limiting.
[0060] In some optional embodiments, such as Figure 5 As shown, the control circuit of the indication module also includes: a first over-temperature protection module and a second over-temperature protection module, wherein, when the switch control circuit receives the second control signal, the microcontroller enables the linear power supply to output voltage to the first switch circuit (i.e., the first switch sub-circuit) and the second switch sub-circuit, and at the same time, the switch control circuit also outputs voltage to the first over-temperature protection circuit and the second over-temperature protection circuit.
[0061] like Figure 5 As shown, the first end of the first over-temperature protection module is connected to the third end of the switch control module, the second end of the first over-temperature protection module is connected to the third end of the linear power supply, the third end of the first over-temperature protection module is connected to the third end of the first switch circuit, and the fourth end of the first over-temperature protection circuit is connected to the second GPIO port GPIO1 of the microcontroller.
[0062] like Figure 5 As shown, the first end of the second over-temperature protection module is connected to the third end of the switch control module, the second end of the second over-temperature protection module is connected to the third end of the linear power supply, the third end of the second over-temperature protection module is connected to the second end of the second switch circuit, and the fourth end of the second over-temperature protection circuit is connected to the third GPIO port GPIO2 of the microcontroller.
[0063] Specifically, when the temperature of the first switch circuit exceeds the preset temperature threshold, the first over-temperature protection module is short-circuited and outputs an over-temperature signal to the microcontroller; when the temperature of the second switch circuit exceeds the preset temperature threshold, the second over-temperature protection module is short-circuited and outputs an over-temperature signal to the microcontroller; when the power supply voltage VCC exceeds the preset voltage threshold, the first switch circuit and the second switch circuit clamp the power supply voltage VCC.
[0064] In some optional embodiments, such as Figure 6 As shown, the first over-temperature protection module includes: a first fuse F1, a fourth resistor R4, a fifth resistor R5, a first diode D1, a first transient suppression diode TVS1, and a first photoelectric coupler U1, wherein the first end of the first fuse F1 is connected to the third end of the switch control, and the second end of the first fuse F1 is connected to the first end of the fourth resistor R4 and the anode of the first diode D1; the first end of the first photoelectric coupler U1 is connected to the second end of the fourth resistor R4, the second end of the first photoelectric coupler U1 is connected to the cathode of the first diode D1, the third end of the first switch circuit, and the first end of the first transient suppression diode TVS1, the third end of the first photoelectric coupler U1 is connected to the third end of the linear power supply, and the fourth end of the first photoelectric coupler U1 is connected to the second GPIO port GPIO1 of the microcontroller and the first end of the fifth resistor R5; the second end of the first transient suppression diode TVS1 is grounded; the second end of the fifth resistor R5 is grounded.
[0065] In some optional embodiments, such as Figure 6 As shown, the second over-temperature protection module includes: a second fuse F2, a sixth resistor R6, a seventh resistor R7, a second diode D2, a second transient suppression diode TVS2, and a second photoelectric coupler U2, wherein the first end of the second fuse F2 is connected to the third end of the switch control, and the second end of the second fuse F2 is connected to the first end of the sixth resistor R6 and the anode of the second diode D2; the first end of the second photoelectric coupler U2 is connected to the second end of the sixth resistor R6, the second end of the second photoelectric coupler U2 is connected to the cathode of the second diode D2, the second end of the second switch circuit, and the first end of the second transient suppression diode TVS2, the third end of the second photoelectric coupler U2 is connected to the third end of the linear power supply, and the fourth end of the second photoelectric coupler U2 is connected to the third GPIO port GPIO2 of the microcontroller and the first end of the seventh resistor R7; the second end of the second transient suppression diode TVS2 is grounded; the second end of the seventh resistor R7 is grounded.
[0066] Specifically, Figure 4 , Figure 6In the embodiment, the switch control circuit includes a key switch SW. When the key switch is pressed, that is, the key switch is closed, a control signal is output to the first GPIO port GPIO0 of the microcontroller, and at the same time, the switch control circuit outputs a voltage to the first over-temperature protection module and the second over-temperature protection module.
[0067] For example, Figure 6 , Figure 7 For example, Figure 8 The specific flow chart is described as follows:
[0068] (1) After the server is powered on, VCC will be powered on along with the system. The linear power supply (i.e., LDO) is not enabled through the microcontroller enable (EN) pin, and P3V3 cannot be powered on through LDO. P3V3 is at a low level. At this time, the Vgs of Q1 and Q3 are less than the turn-on voltage and are not turned on. The Vgs of Q2 is greater than the turn-on voltage and is turned on to lower the level. Current flows through the yellow indicator light (i.e., LED1), and the button indicator light turns yellow.
[0069] (2) When the SW button is pressed, the GPIO0 pin of the microcontroller changes from high level to low level, the LDO chip becomes Enable through the microcontroller enable (EN) pin, P3V3 is powered on through the LDO, P3V3 is high level, and after power-on, the Vgs of Q1 and Q3 is greater than the turn-on voltage and is turned on, pulling the D-pole voltage of Q1 and Q3 to a low level, the Vgs of Q2 is less than the turn-on voltage and is not turned on, and current flows through the green indicator light (i.e., LED2), and the indicator light changes from yellow to green.
[0070] (3) When the input voltage exceeds the set working threshold, TVS will clamp the voltage at a relatively safe level to prevent high-voltage pulses introduced by communication lines from damaging the integrated circuit and ensure the integrity of the signal on the data transmission line. When the voltage of GPIO1 and GPIO2 changes, the status signal can be sent to the microcontroller in time for warning. Under normal conditions, the microcontroller can detect the voltage of line P3V3 normally. Under normal working conditions, TVS is in a high-resistance state to protect the line from external factors such as static electricity.
[0071] During long-term operation, the TVS device ages and the leakage current exceeds the specified limit and increases linearly. The TVS drops significantly until it reaches zero. Due to the leakage current exceeding the normal value, the internal low resistance linearization of the TVS gradually intensifies. The leakage current increases maliciously and flows into the weak point. The material of the weak point melts and forms a short-circuit hole. The power supply continues to push a larger current into the short-circuit point, forming high heat and catching fire. When the TVS temperature rises abnormally, the fuse blows, the light-emitting diode of the photocoupler stops working, the line on the right side of the photocoupler is in a high-resistance state, and the microcontroller detects that the voltage of the Pin foot changes suddenly from the high level of VCC1 to the low level of 0V. The microcontroller issues a system warning to avoid serious accidents.
[0072] In this embodiment, an indication module is provided, comprising: a control circuit of the indication module of the above embodiment and any optional implementation manner thereof, a first LED lamp LED1 and a second LED lamp LED2.
[0073] In this embodiment, a server is provided, comprising: a plurality of indication modules of the above embodiments, a plurality of target modules and a battery management system, wherein one indication module is used to indicate the operating status of two target modules, wherein for each indication module,
[0074] A first end of the linear power supply is connected to a power supply voltage VCC, a second end of the linear power supply is connected to an enable output end of the microcontroller, and a third end of the linear power supply is connected to a first end of the first switch circuit and a first end of the second switch circuit;
[0075] A first terminal of the switch control module is connected to a power supply voltage VCC, and a second terminal of the switch control module is connected to a first GPIO port GPIO0 of the microcontroller;
[0076] The second end of the first switch circuit is connected to the power supply voltage VCC, and the third end of the first switch circuit is connected to the cathode of the first LED lamp LED1 and the anode of the second LED lamp LED2;
[0077] The second end of the second switch circuit is connected to the anode of the first LED lamp LED1 and the cathode of the second LED lamp LED2;
[0078] After power-on, when the switch control module receives the first control signal, the microcontroller does not enable the linear power supply, the first switch circuit is turned on, the second switch circuit is turned off, and the first LED light LED1 is turned on. The first LED light LED1 is used to indicate the operating state of the target module;
[0079] After power-on, when the switch control module receives the second control signal, the microcontroller enables the linear power supply, the first switch circuit is turned off, the second switch circuit is turned on, and the second LED light LED2 lights up. The second LED light LED2 is used to indicate the second operating state of another target module.
[0080] Although the embodiments of the present invention have been described in conjunction with 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, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A control circuit of an indication module, characterized in that: The indication module is used to display the operating status of two target modules in the server. The indication module includes a first LED light and a second LED light. The control circuit includes: a first switch circuit, a second switch circuit, a linear power supply, and a switch control module. The first end of the linear power supply is connected to the supply voltage, the second end of the linear power supply is connected to the enable output end of the microcontroller of the server, and the third end of the linear power supply is connected to the first end of the first switch circuit and the first end of the second switch circuit; A first end of the switch control module is connected to the supply voltage, and a second end of the switch control module is connected to a first GPIO port of a microcontroller; The second end of the first switch circuit is connected to the power supply voltage, and the third end of the first switch circuit is connected to the cathode of the first LED lamp and the anode of the second LED lamp; The second end of the second switch circuit is connected to the anode of the first LED lamp and the cathode of the second LED lamp; After power-on, when the switch control module receives the first control signal, the microcontroller does not enable the linear power supply, the first switch circuit is turned on, the second switch circuit is turned off, and the first LED light is turned on, and the first LED light is used to indicate the operating state of a target module; After power-on, when the switch control module receives the second control signal, the microcontroller enables the linear power supply, the first switch circuit is turned off, the second switch circuit is turned on, and the second LED light is turned on. The second LED light is used to indicate the second operating state of another target module.
2. The control circuit of the indication module according to claim 1, characterized in that: The first switch circuit includes: a first switch subcircuit and a second switch subcircuit, wherein: The first end of the first switch subcircuit is connected to the third end of the linear power supply, the second end of the first switch subcircuit is grounded, and the third end of the first switch subcircuit is connected to the first end of the second switch subcircuit; The second end of the second switch subcircuit is connected to the supply voltage, the third end of the second switch subcircuit is grounded, and the fourth end of the second switch subcircuit is connected to the cathode of the first LED lamp and the anode of the second LED lamp; When the switch control module receives the first control signal, the first switch subcircuit is turned off and the second switch subcircuit is turned on; When the switch control module receives the second control signal, the first switch sub-circuit is turned on and the second switch sub-circuit is turned off.
3. The control circuit of the indication module according to claim 2, characterized in that: The first switch subcircuit includes: a first resistor and a first controllable switch, wherein: A first end of the first controllable switch is grounded, a second end of the first controllable switch is connected to a first end of the second switch sub-circuit, and a control end of the first controllable switch is connected to a first end of the first resistor; The second end of the first resistor is connected to the third end of the linear power supply.
4. The control circuit of the indication module according to claim 2, characterized in that: The second switch subcircuit includes: a second resistor and a second controllable switch, wherein: The first end of the second controllable switch is grounded, the second end of the second controllable switch is connected to the cathode of the first LED lamp and the anode of the second LED lamp, and the first end of the second controllable switch is connected to the third end of the first switch subcircuit and the first end of the second resistor; The second end of the second resistor is connected to the supply voltage.
5. The control circuit of the indication module according to claim 1, characterized in that: The second switch circuit includes: a third resistor and a third controllable switch, wherein: A first end of the third controllable switch is grounded, a second end of the third controllable switch is connected to an anode of the first LED lamp and a cathode of the second LED lamp, and a control end of the third controllable switch is connected to a first end of the third resistor; The second end of the third resistor is connected to the third end of the linear power supply.
6. The control circuit of the indication module according to claim 1, characterized in that: Also includes: A first over-temperature protection module and a second over-temperature protection module, wherein: The first end of the first over-temperature protection module is connected to the third end of the switch control module, the second end of the first over-temperature protection module is connected to the third end of the linear power supply, the third end of the first over-temperature protection module is connected to the third end of the first switch circuit, and the fourth end of the first over-temperature protection circuit is connected to the second GPIO port of the microcontroller; The first end of the second over-temperature protection module is connected to the third end of the switch control module, the second end of the second over-temperature protection module is connected to the third end of the linear power supply, the third end of the second over-temperature protection module is connected to the second end of the second switch circuit, and the fourth end of the second over-temperature protection circuit is connected to the third GPIO port of the microcontroller; When the temperature of the first switch circuit exceeds a preset temperature threshold, the first over-temperature protection module is short-circuited and outputs an over-temperature signal to the microcontroller; When the temperature of the second switch circuit exceeds a preset temperature threshold, the second over-temperature protection module is short-circuited and outputs an over-temperature signal to the microcontroller; When the supply voltage exceeds a preset voltage threshold, the first over-temperature protection module and the second over-temperature protection module clamp the supply voltage.
7. The control circuit of the indication module according to claim 6, characterized in that: The first over-temperature protection module includes: a first fuse, a fourth resistor, a fifth resistor, a first diode, a first transient suppression diode, and a first photoelectric coupler, wherein: The first end of the first fuse is connected to the third end of the switch control, and the second end of the first fuse is connected to the first end of the fourth resistor and the anode of the first diode; The first end of the first photocoupler is connected to the second end of the fourth resistor, the second end of the first photocoupler is connected to the cathode of the first diode, the third end of the first switch circuit, and the first end of the first transient suppression diode, the third end of the first photocoupler is connected to the third end of the linear power supply, and the fourth end of the first photocoupler is connected to the second GPIO port of the microcontroller and the first end of the fifth resistor; The second terminal of the first transient suppression diode is grounded; A second terminal of the fifth resistor is grounded.
8. The control circuit of the indication module according to claim 6, characterized in that: The second over-temperature protection module includes: a second fuse, a sixth resistor, a seventh resistor, a second diode, a second transient suppression diode, and a second photoelectric coupler, wherein: The first end of the second fuse is connected to the third end of the switch control, and the second end of the second fuse is connected to the first end of the sixth resistor and the anode of the second diode; The first end of the second photocoupler is connected to the second end of the sixth resistor, the second end of the second photocoupler is connected to the cathode of the second diode, the second end of the second switch circuit, and the first end of the second transient suppression diode, the third end of the second photocoupler is connected to the third end of the linear power supply, and the fourth end of the second photocoupler is connected to the third GPIO port of the microcontroller and the first end of the seventh resistor; The second terminal of the second transient suppression diode is grounded; A second end of the seventh resistor is grounded.
9. An indication module, characterized in that: include: The control circuit, the first LED lamp and the second LED lamp of the indication module according to any one of claims 1 to 8.
10. A server, characterized in that: include: The indication modules, target modules and battery management system according to claim 9, wherein one indication module is used to indicate the operating status of two target modules, wherein: A first end of the linear power supply is connected to a power supply voltage, a second end of the linear power supply is connected to an enable output end of the microcontroller, and a third end of the linear power supply is connected to a first end of the first switch circuit and a first end of the second switch circuit; A first end of the switch control module is connected to the power supply voltage, and a second end of the switch control module is connected to a first GPIO port of the microcontroller; The second end of the first switch circuit is connected to the power supply voltage, and the third end of the first switch circuit is connected to the cathode of the first LED lamp and the anode of the second LED lamp; The second end of the second switch circuit is connected to the anode of the first LED lamp and the cathode of the second LED lamp; After power-on, when the switch control module receives the first control signal, the microcontroller does not enable the linear power supply, the first switch circuit is turned on, the second switch circuit is turned off, and the first LED light is turned on, and the first LED light is used to indicate the operating state of a target module; After power-on, when the switch control module receives the second control signal, the microcontroller enables the linear power supply, the first switch circuit is turned off, the second switch circuit is turned on, and the second LED light is turned on. The second LED light is used to indicate the second operating state of another target module.
Citation Information
Patent Citations
Server status display system
CN109117349A
Driving circuit for status display lamp of computer
CN1786922A
High-voltage protection circuit and electronic equipment
CN217469456U
Transient overvoltage protection circuit, array substrate comprising the same, and display apparatus
US20180292720A1
Cited By
Gear indicating circuit of electronic equipment, heating plate circuit and heating plate
CN121711837A