A detection device for server power supply
By designing a server power detection device with automatic detection and switching functions, it solves the problem of cumbersome inspections by managers when the server power fails, improves work efficiency and power reliability, and ensures the normal operation and safety of the server.
Patent Information
- Application Number
- CN201910097587.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-01-31
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2039-01-31
AI Technical Summary
When a server power supply fails, managers need to carry out tedious inspections and eliminate the causes of abnormalities, resulting in a heavy workload and potential safety hazards. The backup power supply cannot be switched in time, which affects the reliability and security of the server.
Design a detection device including a processing unit, current detection module, voltage detection module, temperature detection module and control module, which can automatically detect the current, voltage and temperature of the server power supply, switch the backup power supply in abnormal situations, and ensure the normal operation of the server.
It improves the work efficiency of server managers, increases the reliability of server power supply, can switch backup power supply in time, ensures the normal operation of the server, and monitors the power supply status in real time, reducing safety risks.
Smart Images

Figure CN109738834B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of server power supplies, and in particular relates to a detection device for a server power supply. Background Art
[0002] With the advent of the information age, server applications have entered campuses. The widespread use of computers is inseparable from server management. It has brought great convenience to students, but it has also brought safety hazards to people, ranging from computer breakdowns, which affect work efficiency, to leakage and fire, which cause human and financial losses. Therefore, the server is a double-edged sword. Although it has more advantages than disadvantages, there are always two sides to everything. If possible, no one wants the disadvantages to happen to themselves. When the server power supply fails, the server administrator needs to check the server power supply and eliminate the abnormal cause. The workload is large, and the failure to find the cause of the server power supply failure will bring safety hazards. Summary of the invention
[0003] The technical problem to be solved by the present invention is to provide a server power supply detection device, which can detect the server power supply, automatically switch the backup power supply, improve the work efficiency of server management personnel, and increase the reliability of the server power supply.
[0004] To solve the above problems, the technical solution of the present invention is:
[0005] A detection device for a server power supply comprises a processing unit, a current detection module, a voltage detection module, a temperature detection module and a control module;
[0006] The current detection module collects the current signal in the server power supply and converts the current signal into a voltage signal. The processing unit receives the voltage signal and calculates the current value in the server power supply.
[0007] The voltage detection module collects the voltage value in the server power supply, divides the collected voltage value, and sends the divided voltage value to the processing unit, and the processing unit calculates the current voltage value in the server power supply according to the divided voltage value;
[0008] The temperature detection module detects the temperature value of the surface of the server power supply and sends the temperature value to the processing unit;
[0009] In the case where the server power supply is abnormal, the control module processes the server power supply in response to the control signal sent by the processing unit to make the server power supply work normally;
[0010] The abnormality of the server power supply includes abnormality of the current of the server power supply, abnormality of the voltage of the server power supply and abnormality of the temperature of the server power supply.
[0011] According to an embodiment provided by the present invention, the temperature detection module includes a temperature sensor and a temperature detection circuit;
[0012] The temperature detection circuit includes a first MOS tube and a second MOS tube;
[0013] The source of the first MOS tube is electrically connected to the temperature sensor, and the source of the second MOS tube is electrically connected to the temperature sensor;
[0014] The drain of the first MOS transistor is electrically connected to the processing unit, and the drain of the second MOS transistor is electrically connected to the processing unit;
[0015] The gate of the first MOS transistor is electrically connected to an external power supply, and the gate of the second MOS transistor is electrically connected to an external power supply.
[0016] According to an embodiment provided by the present invention, the control module includes a first transistor, a photocoupler and a relay;
[0017] The photoelectric coupler is provided with a light emitting diode and a light receiving unit, the positive electrode of the light emitting diode is electrically connected to the processing unit, and the negative electrode of the light emitting diode is grounded;
[0018] The base of the first transistor is electrically connected to the output end of the light receiving unit, the emitter of the first transistor is electrically connected to the first end of the relay, and the collector of the first transistor is grounded;
[0019] The second end of the relay is electrically connected to the power supply, the relay comprises a single-pole double-throw switch, a first switch of the single-pole double-throw switch is electrically connected to the server power supply, and a second switch of the single-pole double-throw switch is electrically connected to the backup power supply of the server power supply;
[0020] The photocoupler receives the high-level control signal sent by the processing unit, the light-emitting diode is turned on, thereby turning on the light-receiving unit, turning on the first transistor, turning on the relay, controlling the single-pole double-throw switch, and turning on the backup power supply of the server power supply.
[0021] According to an embodiment provided by the present invention, the detection device further includes a data monitoring module, the data monitoring module is electrically connected to the processing unit, the data monitoring module performs data exchange with the processing unit, and monitors information of the server power supply.
[0022] According to an embodiment provided by the present invention, the processing unit is an STM32 single-chip microcomputer.
[0023] Due to the adoption of the above technical solution, the present invention has the following advantages and positive effects compared with the prior art:
[0024] 1) In one embodiment of the present invention, the current detection module collects the current signal in the server power supply, converts the current signal into a voltage signal, the processing unit receives the voltage signal, and calculates the current value in the server power supply, the voltage detection module collects the voltage value in the server power supply, divides the voltage value, and sends the divided voltage value to the processing unit, the processing unit calculates the current voltage value in the server power supply according to the divided voltage value, the temperature detection module detects the temperature value on the surface of the server power supply, and sends the temperature value to the processing unit, in the case of an abnormality in the server power supply, the control module responds to the control signal sent by the processing unit, and processes the server power supply to make the server power supply work normally. The detection device can detect the server power supply, automatically switch the backup power supply, improve the work efficiency of the server management personnel, and also increase the reliability of the server power supply.
[0025] 2) The input end of the photocoupler in the control module in one embodiment of the present invention is electrically connected to the processing unit, the output end of the photocoupler is electrically connected to the base of the first transistor, the emitter of the first transistor is electrically connected to the first end of the relay, the collector of the first transistor is grounded, the second end of the relay is electrically connected to the power supply, the first switch of the single-pole double-throw switch is electrically connected to the server power supply, the second switch of the single-pole double-throw switch is electrically connected to the backup power supply of the server power supply, the photocoupler receives the high-level control signal sent by the processing unit, the light-emitting diode is turned on, thereby turning on the light-receiving unit, the first transistor is turned on, the relay is turned on, and the single-pole double-throw switch is controlled to connect the backup power supply of the server power supply. When the server power supply fails, the backup power supply can be switched in time to ensure the normal operation of the server.
[0026] 3) In one embodiment of the present invention, the data monitoring module is electrically connected to the processing unit, and the data monitoring module exchanges data with the processing unit to monitor the information of the server power supply, and can monitor the working status of the server power supply in real time. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 This is a schematic diagram of the structure of a new server power supply detection device of the present utility model;
[0028] Figure 2 is a schematic diagram of a processing unit according to an embodiment of the present invention;
[0029] Figure 3 is a schematic diagram of a current detection module according to an embodiment of the present invention;
[0030] Figure 4 is a schematic diagram of a voltage detection module according to an embodiment of the present invention;
[0031] Figure 5 is a schematic diagram of a temperature detection circuit according to an embodiment of the present invention;
[0032] Figure 6 is a schematic diagram of a temperature sensor according to an embodiment of the present invention;
[0033] Figure 7 is a schematic diagram of a control module according to an embodiment of the present invention;
[0034] Figure 8 A schematic diagram of a data monitoring module according to an embodiment of the present invention;
[0035] Fig. 9 is a schematic diagram of a reset circuit according to an embodiment of the present invention;
[0036] Fig.10 is a schematic diagram of a crystal oscillator circuit according to an embodiment of the present invention;
[0037] Fig.11 is a schematic diagram of a power supply circuit according to an embodiment of the present invention;
[0038] Fig.12 is a schematic diagram of a USB module according to an embodiment of the present invention;
[0039] Fig.13 FIG. 4 is a schematic diagram of a display module according to an embodiment of the present invention. DETAILED DESCRIPTION
[0040] The following is a further detailed description of a server power supply detection device proposed by the present invention in conjunction with the accompanying drawings and specific embodiments. The advantages and features of the present invention will become more apparent from the following description and claims.
[0041] See also Figure 1 and Figure 2A detection device for a server power supply includes a processing unit, a current detection module, a voltage detection module, a temperature detection module and a control module. The current detection module collects the current signal in the server power supply and converts the current signal into a voltage signal. The processing unit receives the voltage signal and calculates the current value in the server power supply. The voltage detection module collects the voltage value in the server power supply and divides the collected voltage value, and sends the divided voltage value to the processing unit. The processing unit calculates the current voltage value in the server power supply according to the divided voltage value. The temperature detection module detects the temperature value on the surface of the server power supply and sends the temperature value to the processing unit. In the case of an abnormality in the server power supply, the control module responds to the control signal sent by the processing unit and processes the server power supply to make the server power supply work normally. The abnormality in the server power supply is that the current of the server power supply is abnormal, the voltage of the server power supply is abnormal, and the temperature of the server power supply is abnormal. Preferably, the processing unit adopts an STM32 single-chip microcomputer. Of course, in other embodiments, the processing unit adopts other types of single-chip microcomputers, which also belong to the protection scope of the present invention.
[0042] It can be understood that the current detection module in this embodiment collects the current signal in the server power supply, converts the current signal into a voltage signal, the processing unit receives the voltage signal, and calculates the current value in the server power supply, the voltage detection module collects the voltage value in the server power supply, and divides the voltage value, and sends the divided voltage value to the processing unit, and the processing unit calculates the current voltage value in the server power supply according to the divided voltage value, the temperature detection module detects the temperature value on the surface of the server power supply, and sends the temperature value to the processing unit, and in the case of an abnormality in the server power supply, the control module responds to the control signal sent by the processing unit, and processes the server power supply to make the server power supply work normally. The detection device can detect the server power supply, automatically switch the backup power supply, improve the work efficiency of the server management personnel, and also increase the reliability of the server power supply.
[0043] Next see Figure 3 The current detection module adopts the MAX471 chip, the output pin OUT of the MAX471 chip is electrically connected to the pin PA0 of the processing unit, one end of the first resistor R6 is electrically connected to the output pin OUT of the MAX471 chip, and the other end of the first resistor R6 is grounded. In addition, the resistance of the first resistor R6 is 2kΩ. Each ampere of measured current will generate a voltage equal to one volt. The pin SHND of the MAX471 chip is grounded, and the generated voltage value is sent to the processing unit, and the processing unit calculates the current current according to the voltage value signal.
[0044] See also Figure 4The input end of the voltage detection module is electrically connected to one end of the second resistor R23, the output end VV of the voltage detection module is electrically connected to the pin PA1 of the processing unit, the current generated in the voltage detection module flows through the second resistor R23 and the third resistor R24, and the output voltage The resistance of the second resistor R23 is 4.7KΩ, the resistance of the third resistor R24 is 820Ω, and U0 is the input voltage value.
[0045] Further, see Figure 5 and Figure 6 The temperature detection module includes a temperature sensor and a temperature detection circuit; the temperature detection circuit includes a first MOS tube and a second MOS tube, the source of the first MOS tube is electrically connected to the temperature sensor, the source of the second MOS tube is electrically connected to the temperature sensor, the drain of the first MOS tube is electrically connected to the processing unit, the drain of the second MOS tube is electrically connected to the processing unit, the gate of the first MOS tube is electrically connected to the external power supply, and the gate of the second MOS tube is electrically connected to the external power supply.
[0046] One end EX_SDA of the temperature detection circuit in the temperature detection module is electrically connected to the pin PA7 of the processing unit, the drain of the first MOS tube is electrically connected to the one end EX_SDA of the temperature detection circuit, and the drain of the first MOS tube is electrically connected to the 5V power supply, so that the pin PA7 of the processing unit is high level; one end EX_SCL of the temperature detection circuit is electrically connected to the pin PA6 of the processing unit, the drain of the second MOS tube is electrically connected to the one end EX_SCL of the temperature detection circuit, and the drain of the second MOS tube is electrically connected to the 5V power supply, so that the pin PA6 of the processing unit is high level. Preferably, the temperature sensor adopts the MLX90614 chip.
[0047] Since the gate of the first MOS tube is electrically connected to the external power supply, pin PA7 in the circuit outputs a high level. When the pin SDA of the temperature sensor is at a low level, the first MOS tube is turned on, the temperature detection circuit is turned on, and the temperature detection module detects the temperature of the server power supply. Similarly, the gate of the second MOS tube is electrically connected to the external power supply, pin PA6 in the circuit outputs a high level. When the pin SCL of the temperature sensor is at a low level, the second MOS tube is turned on, the temperature detection circuit is turned on, and the temperature detection module detects the temperature of the server power supply.
[0048] See also Figure 7The control module includes a first transistor, a photoelectric coupler and a relay; the photoelectric coupler is provided with a light-emitting diode and a light-receiving unit, the positive electrode of the light-emitting diode is electrically connected to the processing unit, the negative electrode of the light-emitting diode is grounded, the base of the first transistor is electrically connected to the output end of the light-receiving unit, the emitter of the first transistor is electrically connected to the first end of the relay, the collector of the first transistor is grounded, the second end of the relay is electrically connected to the power supply, the relay includes a single-pole double-throw switch, the first switch of the single-pole double-throw switch is electrically connected to the server power supply, the second switch of the single-pole double-throw switch is electrically connected to the backup power supply of the server power supply, the photoelectric coupler receives the high-level control signal sent by the processing unit, the light-emitting diode is turned on, thereby turning on the light-receiving unit, the first transistor is turned on, the relay is turned on, the single-pole double-throw switch is controlled, and the backup power supply of the server power supply is turned on.
[0049] The input end GPIOC14 of the photocoupler in the control module is electrically connected to the pin PC14OSC32_IN of the processing unit. When the pin PC14OSC32_IN of the processing unit outputs a high level, the photocoupler is turned on, and the light receiving unit is turned on. In order to turn on the first transistor Q3, the emitter voltage of the first transistor Q3 is greater than the base voltage of the first transistor Q3. Since the emitter voltage of the first transistor Q3 is electrically connected to the 5V power supply, and because the collector of the first transistor Q3 is grounded, when the base voltage of the first transistor Q3 is less than 5V, the first transistor Q3 is turned on, thereby turning on the relay and controlling the single-pole double-throw switch to switch to the backup power supply.
[0050] It can be understood that the input end of the photocoupler in the control module of this embodiment is electrically connected to the processing unit, the output end of the photocoupler is electrically connected to the base of the first transistor Q3, the emitter of the first transistor Q3 is electrically connected to the first end of the relay, the collector of the first transistor Q3 is grounded, the second end of the relay is electrically connected to the power supply, the first switch of the single-pole double-throw switch is electrically connected to the server power supply, the second switch of the single-pole double-throw switch is electrically connected to the backup power supply of the server power supply, the photocoupler receives the high-level control signal sent by the processing unit, the light-emitting diode is turned on, thereby turning on the light-receiving unit, the first transistor Q3 is turned on, the relay is turned on, and the single-pole double-throw switch is controlled to connect the backup power supply of the server power supply. When the server power supply fails, the backup power supply can be switched in time to ensure the normal operation of the server.
[0051] See also Figure 8Furthermore, the detection device also includes a data monitoring module, which is electrically connected to the processing unit, and the data monitoring module interacts with the processing unit to monitor the information of the server power supply. The data monitoring module uses an ESP8266 chip, the pin GPIO_15 of the data monitoring module is grounded, the pin GPIO_0 of the data monitoring module is connected to the power supply, the read pin RXD of the data monitoring module is electrically connected to the pin PB10 of the processing unit, and the write pin TXD of the data monitoring module is electrically connected to the pin PB11 of the processing unit, so as to realize data interaction with the processing unit and monitor the status of the server power supply in real time.
[0052] Further, see Fig. 9 , Fig.10 , Fig.11 , Fig.12 as well as Fig.13 The detection device also includes a crystal oscillator circuit, a reset circuit and a power supply circuit, wherein the power supply circuit provides working power for the single-chip microcomputer and provides power to the crystal oscillator circuit. The crystal oscillator circuit can generate an oscillation frequency and can provide a high-precision frequency reference. The detection device also includes an alarm circuit. When the voltage, current or temperature of the server power supply is abnormal, the single-chip microcomputer sends an alarm signal to the alarm circuit, and the buzzer in the alarm circuit alarms. The detection device also includes a USB module and a display module.
[0053] The specific working process is as follows: the current detection module collects the current value of the server power supply and sends the collected current value to the processing unit; the voltage detection module collects the voltage value of the server power supply and sends the collected voltage value to the processing unit; the temperature detection module collects the temperature value of the server power supply and sends the collected temperature value to the processing unit. The processing unit receives the collected current value, voltage value and temperature value. When the server power supply is abnormal, the processing unit sends a control signal to the control module, and the single-pole double-throw switch in the control module closes the standby power switch. The server power supply works uninterruptedly and processes the abnormal point. After processing, the processing unit sends a control signal to the control module, and the single-pole double-throw switch in the control module closes the working power supply, and the server power supply works normally. The data monitoring module exchanges data with the processing unit to monitor the information of the server power supply.
[0054] The embodiments of the present invention are described in detail above in conjunction with the accompanying drawings, but the present invention is not limited to the above embodiments. Even if various changes are made to the present invention, if these changes fall within the scope of the claims of the present invention and their equivalents, they still fall within the protection scope of the present invention.
Claims
1. A server power supply detection device, characterized in that: It includes a processing unit, a current detection module, a voltage detection module, a temperature detection module and a control module; The current detection module adopts a MAX471 chip, an output pin OUT of the MAX471 chip is electrically connected to a pin PA0 of the processing unit, one end of a first resistor R6 is electrically connected to an output pin OUT of the MAX471 chip, the other end of the first resistor R6 is grounded, the resistance of the first resistor R6 is 2kΩ, and a pin SHND of the MAX471 chip is grounded; The current detection module collects the current signal in the server power supply and converts the current signal into a voltage signal. The processing unit receives the voltage signal and calculates the current value in the server power supply. The input end of the voltage detection module is electrically connected to one end of the second resistor R23, and the output end VV of the voltage detection module is electrically connected to the pin PA1 of the processing unit. The current generated in the voltage detection module flows through the second resistor R23 and the third resistor R24, and the output voltage The resistance of the second resistor R23 is 4.7KΩ, the resistance of the third resistor R24 is 820Ω, and U0 is the input voltage value; The voltage detection module collects the voltage value in the server power supply, divides the collected voltage value, and sends the divided voltage value to the processing unit, and the processing unit calculates the current voltage value in the server power supply according to the divided voltage value; The temperature detection module detects the temperature value of the surface of the server power supply and sends the temperature value to the processing unit; In the case where the server power supply is abnormal, the control module processes the server power supply in response to the control signal sent by the processing unit to make the server power supply work normally; The control module includes a first transistor, a photocoupler and a relay; the photocoupler is provided with a light emitting diode and a light receiving unit, the positive electrode of the light emitting diode is electrically connected to the processing unit, and the negative electrode of the light emitting diode is grounded; the base of the first transistor is electrically connected to the output end of the light receiving unit, the emitter of the first transistor is electrically connected to the first end of the relay, and the collector of the first transistor is grounded; the second end of the relay is electrically connected to the power supply, and the relay includes a single-pole double-throw switch, the first switch of the single-pole double-throw switch is electrically connected to the server power supply, and the second switch of the single-pole double-throw switch is electrically connected to the backup power supply of the server power supply; The photoelectric coupler receives the high-level control signal sent by the processing unit, the light-emitting diode is turned on, thereby turning on the light-receiving unit, turning on the first transistor, turning on the relay, controlling the single-pole double-throw switch, and turning on the backup power supply of the server power supply; The abnormality of the server power supply includes abnormality of the current of the server power supply, abnormality of the voltage of the server power supply and abnormality of the temperature of the server power supply.
2. The server power supply detection device according to claim 1, characterized in that: The temperature detection module includes a temperature sensor and a temperature detection circuit; The temperature detection circuit includes a first MOS tube and a second MOS tube; The source of the first MOS tube is electrically connected to the temperature sensor, and the source of the second MOS tube is electrically connected to the temperature sensor; The drain of the first MOS transistor is electrically connected to the processing unit, and the drain of the second MOS transistor is electrically connected to the processing unit; The gate of the first MOS transistor is electrically connected to an external power supply, and the gate of the second MOS transistor is electrically connected to an external power supply.
3. The server power supply detection device according to claim 1, characterized in that: It also includes a data monitoring module, which is electrically connected to the processing unit. The data monitoring module exchanges data with the processing unit to monitor information about the server power supply.
4. The server power supply detection device according to claim 1, characterized in that: The processing unit is an STM32 single-chip microcomputer.
Citation Information
Patent Citations
Switching apparatus of UPS power supply
CN103607037A
Dual-power-supply switching and control apparatus
CN106655459A
Portable charger and controller thereof
CN108482152A
Power supply diagnosis and protection system and method for EPS controller
CN108767808A
Monitoring system for power supply equipment
CN203658551U
