CN110018730B - Server device capable of detecting power supply load - Google Patents
Server device capable of detecting power supply load Download PDFInfo
- Publication number
- CN110018730B CN110018730B CN201810018801.9A CN201810018801A CN110018730B CN 110018730 B CN110018730 B CN 110018730B CN 201810018801 A CN201810018801 A CN 201810018801A CN 110018730 B CN110018730 B CN 110018730B
- Authority
- CN
- China
- Prior art keywords
- management controller
- baseboard management
- power
- supply unit
- power supply
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/28—Supervision thereof, e.g. detecting power-supply failure by out of limits supervision
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Power Sources (AREA)
Abstract
The invention provides a server device capable of detecting a power load, which comprises a motherboard and a power supply unit. The motherboard has a baseboard management controller and a display element, and the power supply unit is used for providing power to the motherboard. The power supply unit is in communication connection with the I2C interface of the baseboard management controller through the power management bus interface. The baseboard management controller reads the current power output value of the power supply unit and the maximum power output value of the power supply unit, and calculates the load power proportion of the current power output value divided by the maximum power output value to control the output of the display element.
Description
Technical Field
The present invention relates to a server device, and more particularly to a server device capable of detecting a power load.
Background
The present computer device or server device provides power to each element on the host through the power supply unit, and the power of the power supply unit varies with the different operating states of the computer device or server device. For example, when a computer device or a server device performs a large amount of data operations, the power supply unit needs to provide a large power output. However, if the power supply does not provide enough power, the operation performance of the computer device or the server device may be reduced, and even abnormal shutdown may be caused. On the other hand, if the power of the power supply unit supplied to the computer device or the server device is far less than its maximum power, it may indicate that the current power supply is not effectively configured.
However, in general, it is difficult for the user to determine whether the current operation is abnormal or overloaded, so that it is difficult to effectively adjust the power supply mode and troubleshooting in real time. In order to improve the above problems, there is still a need for a better method for detecting the power load.
Disclosure of Invention
The invention aims to provide a server device capable of detecting power supply loads.
To solve the technical problem, a server apparatus capable of detecting a power load includes: a motherboard having a baseboard management controller; a power supply unit for providing power to the motherboard and having a power management bus interface (PMBus); and a display element communicatively connected with the baseboard management controller, wherein the baseboard management controller is connected with the power management bus interface through the I2C interface to read a current power output value of the power supply unit and a maximum power output value of the power supply unit, and the baseboard management controller controls the display pattern of the display element according to a load power ratio of the current power output value to the maximum power output value.
Preferably, the baseboard management controller transmits a maximum power reading command to the power management bus interface of the power supply unit through the I2C interface. When the power supply unit receives the maximum power reading command, a first response message is transmitted to the baseboard management controller. The baseboard management controller analyzes the first response information to obtain the maximum power output value.
Preferably, the server device capable of detecting the power load further comprises a memory unit. After the baseboard management controller obtains the maximum power output value, the baseboard management controller temporarily stores the obtained maximum power output value in the memory unit.
Preferably, the baseboard management controller further determines whether the memory unit stores the maximum power output value before transmitting the maximum power reading command to the power supply unit. When the memory unit stores the maximum power output value, the baseboard management controller does not transmit the maximum power reading command to the power supply unit.
Preferably, the baseboard management controller transmits a current power read command to the power management bus interface of the power supply unit in a predetermined period through the I2C interface. When the power supply unit receives the current power reading command, a second response message is transmitted to the baseboard management controller. The baseboard management controller analyzes the second response information to generate the current power output value.
Preferably, the display device includes a predetermined number of light emitting diodes, and the baseboard management controller is coupled to each of the light emitting diodes through the predetermined number of GPIO pins.
Preferably, the baseboard management controller does not light the light emitting diode when the load power ratio multiplied by the predetermined number is less than 1; when the load power ratio is not less than 1, the baseboard management controller lights up the whole number of the LEDs after the load power ratio is multiplied by the preset number, namely lights up the LEDs closest to and less than or equal to the whole number of the load power ratio multiplied by the preset number; and when the load power proportion is 100%, the baseboard management controller lights all the LEDs.
Preferably, the predetermined number is five, and the baseboard management controller does not light the light emitting diode when the load power ratio is less than 20%; when the load power ratio is not less than 20% but less than 40%, the baseboard management controller lights up one LED; when the load power ratio is not less than 40% but less than 60%, the baseboard management controller lights two LEDs; when the load power ratio is not less than 60% but less than 80%, the baseboard management controller lights up three light emitting diodes; when the load power ratio is not less than 80% but less than 100%, the baseboard management controller lights up four LEDs; and when the load power ratio is equal to 100%, the baseboard management controller lights all the LEDs.
Compared with the prior art, the server device capable of detecting the power load can quickly acquire the power load state of the current server device and correspondingly display the power load state, so that a user can more easily judge the load power proportion of the current server device at any time, and the management of power and efficiency is more efficient.
[ description of the drawings ]
Fig. 1 is a schematic diagram of a server device capable of detecting a power load according to the present invention.
[ detailed description ] of the invention
Referring to fig. 1, the present invention provides a server device 100 capable of detecting a power load, which includes a motherboard 110 and a power supply unit 120. The motherboard 110 is provided with a baseboard management controller 112, and the display element 114 includes light emitting diodes LED1, LED2, LED3, LED4, LED5, each coupled to a General Purpose Input Output (GPIO) pin of the baseboard management controller 112.
In this embodiment, the display element 114 may be disposed on the motherboard 110, or may be disposed on a back plate (not shown) of the server device 100. The power supply unit 120 is configured to provide power to the motherboard 110, and is communicatively connected to the I2C interface pin of the baseboard management controller 112 through the power management bus interface (PMBus) pin, specifically, the SCL (Serial Communication Loop ) pin of the PMBus on the power supply unit 120 is connected to the SCL pin of the I2C interface on the baseboard management controller 112 for transmitting clock signals, and the SDA (synchronous Data Adapter ) pin of the PMBus on the power supply unit 120 is connected to the SDA pin of the I2C interface on the baseboard management controller 112 for transmitting data signals.
In the present embodiment, the baseboard management controller 112 can continuously read the status of the power supply unit 120 through the I2C interface to monitor the status of the power output, such as the voltage output value, the fan rotation speed, the current power output value, and the maximum power output value. In detail, the baseboard management controller 112 can send a maximum power reading command to the PMBus interface of the power supply unit 120 according to the PMBus protocol and through the I2C interface. When the power supply unit 120 receives the maximum power reading command, the response information corresponding to the maximum power is returned to the baseboard management controller 112, and finally, the baseboard management controller 112 can analyze the response information according to the PMBus protocol to obtain the maximum power output value of the power supply unit 120. When the baseboard management controller 112 establishes a communication connection with the power supply unit 120 after being powered on, information of the maximum power output value of the power supply unit 120 can be obtained.
In the present embodiment, since the maximum power output of the power supply unit 120 is a fixed value, the baseboard management controller 112 can be read without repeated reading. For example, the baseboard management controller 112 can store the information of the maximum power output value of the power supply unit 120 in the accessible memory unit (not shown), and if the baseboard management controller 112 determines that the memory unit already has the maximum power output value of the power supply unit 120, it is not necessary to transmit the maximum power reading command to the power supply unit 120. On the contrary, if the baseboard management controller 112 determines that the memory unit does not store the maximum power output value (for example, the value of the maximum power output value is 0 of the preset value) of the power supply unit 120, the baseboard management controller 112 then obtains the maximum power output value of the power supply unit 120 and stores the maximum power output value in the memory unit according to the PMBus protocol and through the maximum power read command transmitted from the I2C interface to the PMBus interface of the power supply unit 120.
In this embodiment, the baseboard management controller 112 can send the current power reading command to the PMBus interface of the power supply unit 120 through the I2C interface according to the PMBus protocol every predetermined time. When the power supply unit 120 receives the current power reading command, the response information corresponding to the current power is returned to the baseboard management controller 112, and finally, the baseboard management controller 112 can analyze the response information according to the PMBus protocol to obtain the current power output value of the power supply unit 120.
In this embodiment, after the baseboard management controller 112 obtains the current power output value and the maximum power output value of the power supply unit 120, the current power output value is divided by the maximum power output value to calculate a load power ratio, and the output of the display element 114 is controlled according to the load power ratio, so as to prompt the user of the current power load state of the server device 100. For example, the baseboard management controller 112 may represent the load power ratio by the ratio of the number of light emitting diodes to the number of total light emitting diodes, in other words, the load power ratio times the total number of light emitting diodes is equal to the number of light emitting diodes that the baseboard management controller 112 needs to light.
In the present embodiment, when the value of the load power ratio multiplied by the total number of leds is less than 1, the baseboard management controller 112 does not light any leds, and when the load power ratio is 100%, the baseboard management controller 112 lights all leds. In addition, when the load power ratio multiplied by the total number of light emitting diodes is not less than 1, the baseboard management controller 112 lights up an integer number of light emitting diodes after the load power ratio multiplied by the total number of light emitting diodes. For example, when the load power ratio is 15% and the total number of leds is 10, the load power ratio multiplied by the total number of leds is 1.5, and the baseboard management controller 112 turns on only one led according to an integer portion of 1.5.
In the present embodiment, the display device 114 has five leds. After the baseboard management controller 112 calculates the load power ratio, if the load power ratio is less than 20%, the baseboard management controller 112 does not light the light emitting diode. If the load power ratio is not less than 20% but less than 40%, the baseboard management controller 112 turns on only one light emitting diode (e.g., light emitting diode LED 1); when the load power ratio is not less than 40% but less than 60%, the baseboard management controller 112 turns on only two light emitting diodes (e.g., light emitting diodes LED1, LED 2). If the load power ratio is not less than 60% but less than 80%, the baseboard management controller 112 turns on only three light emitting diodes (e.g., light emitting diodes LED1, LED2, LED 3); if the load power ratio is not less than 80% but less than 100%, the baseboard management controller 112 turns on only four light emitting diodes (e.g., light emitting diodes LED1, LED2, LED3, LED 4). When the load power ratio is equal to 100%, the baseboard management controller 112 lights up the light emitting diodes (e.g., light emitting diodes LED1, LED2, LED3, LED4, LED 5).
In summary, the server device capable of detecting the power load of the present invention can rapidly obtain the power load status of the server device and correspondingly display the power load status, so that the user can more easily determine the power ratio of the current server device at any time, and the management of power and efficiency is more efficient.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.
Claims (5)
1. A server apparatus for detecting a power load, comprising:
a motherboard provided with a baseboard management controller;
a power supply unit for providing power to the motherboard and provided with a power management bus interface;
a memory unit; and
a display element communicatively coupled to the baseboard management controller,
the baseboard management controller is connected with the power management bus interface through the I2C interface to read a current power output value of the power supply unit and a maximum power output value of the power supply unit, the baseboard management controller temporarily stores the obtained maximum power output value in the memory unit after obtaining the maximum power output value, the baseboard management controller controls the display pattern of the display element according to a load power ratio of the current power output value and the maximum power output value,
the baseboard management controller transmits a maximum power reading command to the power management bus interface of the power supply unit through the I2C interface, when the power supply unit receives the maximum power reading command, a first response message is transmitted to the baseboard management controller, the baseboard management controller analyzes the first response message to obtain the maximum power output value,
the baseboard management controller also determines whether the memory unit stores the maximum power output value before transmitting the maximum power reading command to the power supply unit, and
when the memory unit stores the maximum power output value, the baseboard management controller does not transmit the maximum power reading command to the power supply unit.
2. The server apparatus according to claim 1, wherein the baseboard management controller transmits a current power read command to the power management bus interface of the power supply unit in a predetermined period through the I2C interface, and when the power supply unit receives the current power read command, transmits a second response message to the baseboard management controller, and the baseboard management controller parses the second response message to generate the current power output value.
3. The server device according to claim 1, wherein the display device includes a predetermined number of light emitting diodes, and the baseboard management controller is coupled to each of the light emitting diodes through the predetermined number of GPIO pins.
4. The server apparatus of claim 3, wherein the baseboard management controller does not light the light emitting diode when the ratio of the load power multiplied by the predetermined number is less than 1; when the load power ratio is not less than 1, the baseboard management controller lights up the whole number of the LEDs after the load power ratio is multiplied by the preset number; and when the load power proportion is 100%, the baseboard management controller lights all the LEDs.
5. The server apparatus of claim 3, wherein the predetermined number is five, and the baseboard management controller does not light the light emitting diode when the load power ratio is less than 20%; when the load power ratio is not less than 20% but less than 40%, the baseboard management controller lights up one LED; when the load power ratio is not less than 40% but less than 60%, the baseboard management controller lights two LEDs; when the load power ratio is not less than 60% but less than 80%, the baseboard management controller lights up three light emitting diodes; when the load power ratio is not less than 80% but less than 100%, the baseboard management controller lights up four LEDs; and when the load power ratio is equal to 100%, the baseboard management controller lights all the LEDs.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810018801.9A CN110018730B (en) | 2018-01-09 | 2018-01-09 | Server device capable of detecting power supply load |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810018801.9A CN110018730B (en) | 2018-01-09 | 2018-01-09 | Server device capable of detecting power supply load |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110018730A CN110018730A (en) | 2019-07-16 |
CN110018730B true CN110018730B (en) | 2023-05-09 |
Family
ID=67187691
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810018801.9A Active CN110018730B (en) | 2018-01-09 | 2018-01-09 | Server device capable of detecting power supply load |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110018730B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112906076B (en) * | 2021-02-19 | 2022-11-25 | 山东英信计算机技术有限公司 | Control method and system of over-current protection chip and related components |
CN113741667A (en) * | 2021-05-18 | 2021-12-03 | 深圳市瑞声元科技有限公司 | Computer power supply, method for presenting load size of computer power supply through light effect and computer |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002140135A (en) * | 2000-09-08 | 2002-05-17 | Eigyotatsu Kofun Yugenkoshi | Notebook type computer system, and method of displaying battery capacity using led for same kind of system |
CN2779714Y (en) * | 2004-11-26 | 2006-05-10 | 讯凯国际股份有限公司 | Power supply having load condition display function |
TW200700970A (en) * | 2005-06-21 | 2007-01-01 | Zippy Tech Corp | Power supply unit having displaying operation status function of individual loading power |
CN1916864A (en) * | 2005-08-19 | 2007-02-21 | 佛山市顺德区顺达电脑厂有限公司 | Detection equipment |
CN101105766A (en) * | 2006-07-14 | 2008-01-16 | 鸿富锦精密工业(深圳)有限公司 | Storage device with capacity indication function |
CN101907913A (en) * | 2009-06-05 | 2010-12-08 | 英业达股份有限公司 | Server |
CN102253879A (en) * | 2010-05-20 | 2011-11-23 | 英业达科技有限公司 | Server system |
CN102255766A (en) * | 2010-05-20 | 2011-11-23 | 英业达科技有限公司 | Server system |
CN102480359A (en) * | 2010-11-30 | 2012-05-30 | 英业达股份有限公司 | Power supply method for providing power to multiple servers |
CN203288881U (en) * | 2013-02-19 | 2013-11-13 | 齐硕科技股份有限公司 | Intelligent socket with colors, light bar indication limit and electric power |
CN104063302A (en) * | 2013-03-19 | 2014-09-24 | 鸿富锦精密电子(天津)有限公司 | System state indication device |
CN104241976A (en) * | 2013-06-17 | 2014-12-24 | 纬创资通股份有限公司 | Power socket device and load current detecting and representing method thereof |
CN106649002A (en) * | 2015-10-29 | 2017-05-10 | 佛山市顺德区顺达电脑厂有限公司 | Server and method for automatically overhauling baseboard management controller |
CN107341093A (en) * | 2017-07-13 | 2017-11-10 | 郑州云海信息技术有限公司 | A kind of hard disk and a kind of method for the memory space for showing hard disk |
-
2018
- 2018-01-09 CN CN201810018801.9A patent/CN110018730B/en active Active
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002140135A (en) * | 2000-09-08 | 2002-05-17 | Eigyotatsu Kofun Yugenkoshi | Notebook type computer system, and method of displaying battery capacity using led for same kind of system |
CN2779714Y (en) * | 2004-11-26 | 2006-05-10 | 讯凯国际股份有限公司 | Power supply having load condition display function |
TW200700970A (en) * | 2005-06-21 | 2007-01-01 | Zippy Tech Corp | Power supply unit having displaying operation status function of individual loading power |
CN1916864A (en) * | 2005-08-19 | 2007-02-21 | 佛山市顺德区顺达电脑厂有限公司 | Detection equipment |
CN101105766A (en) * | 2006-07-14 | 2008-01-16 | 鸿富锦精密工业(深圳)有限公司 | Storage device with capacity indication function |
CN101907913A (en) * | 2009-06-05 | 2010-12-08 | 英业达股份有限公司 | Server |
CN102253879A (en) * | 2010-05-20 | 2011-11-23 | 英业达科技有限公司 | Server system |
CN102255766A (en) * | 2010-05-20 | 2011-11-23 | 英业达科技有限公司 | Server system |
CN102480359A (en) * | 2010-11-30 | 2012-05-30 | 英业达股份有限公司 | Power supply method for providing power to multiple servers |
CN203288881U (en) * | 2013-02-19 | 2013-11-13 | 齐硕科技股份有限公司 | Intelligent socket with colors, light bar indication limit and electric power |
CN104063302A (en) * | 2013-03-19 | 2014-09-24 | 鸿富锦精密电子(天津)有限公司 | System state indication device |
CN104241976A (en) * | 2013-06-17 | 2014-12-24 | 纬创资通股份有限公司 | Power socket device and load current detecting and representing method thereof |
CN106649002A (en) * | 2015-10-29 | 2017-05-10 | 佛山市顺德区顺达电脑厂有限公司 | Server and method for automatically overhauling baseboard management controller |
CN107341093A (en) * | 2017-07-13 | 2017-11-10 | 郑州云海信息技术有限公司 | A kind of hard disk and a kind of method for the memory space for showing hard disk |
Also Published As
Publication number | Publication date |
---|---|
CN110018730A (en) | 2019-07-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20180164795A1 (en) | Fan monitoring system | |
CN109611367B (en) | Fan control system and server based on CPLD | |
US8656003B2 (en) | Method for controlling rack system using RMC to determine type of node based on FRU's message when status of chassis is changed | |
US8976033B2 (en) | Controller coupled to visual indicator | |
US9037878B2 (en) | Server rack system | |
CN103443740A (en) | Power optimization on a power-over-ethernet based thin client device | |
US11042202B2 (en) | Server rack with dynamic power management by using baseboard management controllers | |
CN103793037A (en) | Device and method for electric power management of a plurality of peripheral interfaces | |
CN105119330B (en) | Power adapter and power supply method | |
US9235248B2 (en) | Power distribution device and power distribution circuit | |
CN102478800A (en) | System and method for monitoring electric power sequential signals | |
CN110018730B (en) | Server device capable of detecting power supply load | |
CN105045701A (en) | Server system with high-precision PCIE equipment power consumption monitoring function | |
TW201405295A (en) | Power supply circuit | |
CN102339582A (en) | Indicator light control device | |
CN104978255A (en) | Computer protection circuit | |
US20140164815A1 (en) | Server analyzing system | |
US20150032284A1 (en) | Detection module, device and system for detecting fan's connection and disconnection states | |
CN107122034B (en) | Apparatus and method for voltage monitoring | |
CN211426669U (en) | Device for monitoring power cable aging | |
US20120036386A1 (en) | Server monitoring system | |
JP6036229B2 (en) | Battery control device, battery control method, and program | |
US9213383B2 (en) | Switching circuit module, computer system, and method for controlling computer system reset thereof | |
CN101930381A (en) | Debugging system of server | |
TWI634428B (en) | Hub |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |