CN114884021B - Power supply control method of power supply circuit and related components - Google Patents
Power supply control method of power supply circuit and related components Download PDFInfo
- Publication number
- CN114884021B CN114884021B CN202210589987.XA CN202210589987A CN114884021B CN 114884021 B CN114884021 B CN 114884021B CN 202210589987 A CN202210589987 A CN 202210589987A CN 114884021 B CN114884021 B CN 114884021B
- Authority
- CN
- China
- Prior art keywords
- power supply
- temperature
- power
- supply chip
- chip
- 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
- 238000000034 method Methods 0.000 title claims abstract description 48
- 238000006243 chemical reaction Methods 0.000 claims description 30
- 239000003990 capacitor Substances 0.000 claims description 22
- 238000012544 monitoring process Methods 0.000 claims description 12
- 238000012795 verification Methods 0.000 claims description 12
- 230000005856 abnormality Effects 0.000 claims description 7
- 238000004590 computer program Methods 0.000 claims description 6
- 230000009977 dual effect Effects 0.000 abstract description 4
- 230000005540 biological transmission Effects 0.000 description 9
- 238000004891 communication Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000008054 signal transmission Effects 0.000 description 3
- 230000001960 triggered effect Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 230000007704 transition Effects 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02H—EMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
- H02H5/00—Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal non-electric working conditions with or without subsequent reconnection
- H02H5/04—Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal non-electric working conditions with or without subsequent reconnection responsive to abnormal temperature
-
- 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
-
- 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
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02H—EMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
- H02H7/00—Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions
- H02H7/20—Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions for electronic equipment
-
- 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 Engineering (AREA)
- Power Sources (AREA)
Abstract
The application discloses a power supply control method of a power supply circuit and related components, which relate to the technical field of control, wherein a control module can continuously monitor and acquire the temperature of a power supply chip, a preset temperature-adjustable threshold value which is adjusted according to the needs of a user is set, a controllable switch is conducted under a normal state to supply power for each power utilization module, when the temperature of the power supply chip is judged to exceed the preset temperature-adjustable threshold value, the condition that the main board is burnt out is indicated, the power supply chip is firstly controlled to cut off the output of each power utilization module, and then when the condition that a power-off state signal which represents that the power utilization module is powered off is judged to be received, the controllable switch is controlled to be cut off. Therefore, by establishing the dual judgment logic, each part in the server can be controlled to be orderly and reliably powered off, the voltage input of an external power supply is reliably and timely cut off, the occurrence of board burning is avoided, and the operation reliability, maintainability and product competitiveness of the server are improved.
Description
Technical Field
The application relates to the technical field of control, in particular to a power supply control method of a power supply circuit and related components.
Background
The power supply circuit of the server is arranged on the main board and comprises a filter capacitor and a power supply chip, and the power supply chip can convert the received voltage and then output the converted voltage to each power utilization module on the main board, such as a display module, a communication module, a storage module and the like.
The server corresponds to the S0 state in normal operation, and all parts work normally; however, in the operation process, the filter capacitor is likely to be damaged, such as cracks, so that the temperature of the filter capacitor is continuously increased, the temperature of a power supply chip and the like nearby the filter capacitor is also continuously increased, and finally, each power utilization module in the server is powered off, which is shown as the condition that the server is powered off, namely, the server enters an S5 state. However, due to the special design in the S5 state, the power supply chip still can receive the standby-by standby voltage through the filter capacitor even under the condition, so that the temperature of the filter capacitor still continues to rise, and the temperature of the main board and the like nearby the filter capacitor also continues to rise, but at this time, the server is already shut down, the user and related technicians cannot know the situation in time naturally to take measures, and finally the main board is likely to be burnt out, so that economic loss is brought.
Disclosure of Invention
The application aims to provide a power supply control method of a power supply circuit and related components, which can actively control each part in a server to orderly and reliably power down by establishing double judgment logic, actively and reliably cut off the voltage input of an external power supply in time, avoid the occurrence of board burning, and improve the operation reliability, maintainability and product competitiveness of the server.
In order to solve the technical problems, the application provides a power supply control method of a power supply circuit, a power supply, a controllable switch, a filter capacitor and an input end of a power supply chip in the power supply circuit are sequentially connected, an output end of the power supply chip is connected with each power utilization module, a PMBUS end of the power supply chip is connected with a control module, and the power supply control method comprises the following steps:
continuously acquiring the temperature of the power supply chip through the PMBUS end;
judging whether the temperature of the power supply chip exceeds a preset adjustable temperature threshold value or not;
if yes, controlling the power supply chip to turn off the output of each power utilization module;
judging whether power-off state signals which are sent by the power-on modules and used for representing that the power-on modules are powered off are received or not;
and if the power-off state signal is received, controlling the controllable switch to be turned from on to off so as to cut off the voltage input of the power supply.
Preferably, continuously obtaining the temperature of the power supply chip through the PMBUS terminal includes:
receiving binary data representing the actual temperature of the power supply chip, which is sent by the power supply chip through the PMBUS end;
converting the binary data to a conversion temperature;
before controlling the power supply chip to turn off the output of each power utilization module, the method further comprises:
reading the binary data stored in a register in the power supply chip;
converting the binary data into a verification temperature;
judging whether the check temperature is consistent with the conversion temperature;
if not, recording the result that the verification temperature is inconsistent with the conversion temperature to a memory.
Preferably, determining whether the temperature of the power supply chip exceeds a preset adjustable temperature threshold includes:
judging whether the temperature of the power supply chip exceeds a preset adjustable temperature threshold value for N times continuously and the ith temperature is not more than the (i+1) th temperature, wherein i is more than or equal to 1 and less than or equal to N, i is an integer, and N is an integer not less than 2.
Preferably, the method further comprises:
when receiving fault signals representing that the power supply chip has turned off the output of each power utilization module, judging whether a state mark signal representing that the server is in an S5 state and transmitted by a server state monitoring module is received or not;
if yes, the controllable switch is controlled to be turned from on to off.
Preferably, before determining that the status flag signal is received and controlling the controllable switch to turn from on to off, the method further includes:
acquiring and recording historical information stored in a register of the power supply chip within a preset historical time, wherein the historical information comprises historical temperature information, historical output voltage information and historical output current information;
and determining the reason that the power supply chip turns off the output of each power utilization module according to the historical information and the stored historical state information of each power utilization device in the preset historical time.
Preferably, the method further comprises:
and when the state mark signal is not received, recording the result that the received fault signal is misinformation into a memory.
Preferably, the method further comprises:
when the state mark signal is not received, acquiring history information stored in a register of the power supply chip in a second preset history time;
judging whether at least one of over-temperature, over-voltage and over-current exists in the power supply chip or not based on the historical information;
if not, determining that the reason why the fault signal received at the moment is misinformation is signal analysis abnormality.
In order to solve the technical problem, the application also provides a power supply control system of a power supply circuit, a power supply, a controllable switch in the power supply circuit, a filter capacitor and input ends of power supply chips are sequentially connected, output ends of the power supply chips are connected with power utilization modules, PMBUS ends of the power supply chips are connected with the control modules, and the power supply control system comprises:
the temperature acquisition unit is used for continuously acquiring the temperature of the power supply chip through the PMBUS end;
the first judging unit is used for judging whether the temperature of the power supply chip exceeds a preset adjustable temperature threshold value or not; if yes, triggering a first control unit;
the first control unit is used for controlling the power supply chip to turn off the output of each power utilization module;
the second judging unit is used for judging whether power-off state signals which are sent by the power-on modules and used for representing that the power-on modules are powered off are received or not; if yes, triggering a second control unit;
the second control unit is used for controlling the controllable switch to be turned from on to off so as to cut off the voltage input of the power supply.
To solve the above technical problem, the present application further provides a computer readable storage medium, including:
the computer readable medium has stored thereon a computer program which, when executed by a processor, implements the steps of the power supply control method of a power supply circuit as described above.
In order to solve the technical problems, the application also provides a server, which comprises a power supply circuit, each power utilization module and a control module, wherein a power supply, a controllable switch in the power supply circuit, a filter capacitor and the input end of a power supply chip are sequentially connected, the output end of the power supply chip is connected with each power utilization module, the PMBUS end of the power supply chip is connected with the control module, and the control module is also connected with a memory;
the memory is used for storing a computer program;
the control module is configured to perform the steps of the power supply control method of the power supply circuit as described above.
The application provides a power supply control method of a power supply circuit and related components, wherein a control module is connected with a PMBUS end of a power supply chip, can continuously monitor and acquire the temperature of the power supply chip, sets a preset adjustable temperature threshold value which is adjusted according to the needs of a user, and keeps a controllable switch on in a normal state so as to enable the power supply chip to supply power to each power utilization module. Therefore, by establishing the dual judgment logic, each part in the server can be controlled to be orderly and reliably powered off, the voltage input of an external power supply is reliably and timely cut off, the occurrence of board burning is avoided, and the operation reliability, maintainability and product competitiveness of the server are improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required in the prior art and the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a power supply control method of a power supply circuit provided by the application;
fig. 2 is a schematic structural diagram of a power supply control system of a power supply circuit according to the present application;
fig. 3 is a schematic structural diagram of a server according to the present application.
Detailed Description
The core of the application is to provide a power supply control method of a power supply circuit and related components, by establishing dual judgment logic, each part in the server can be actively controlled to be orderly and reliably powered down, and the voltage input of an external power supply can be actively and reliably cut off in time, so that the occurrence of board burning is avoided, and the running reliability, maintainability and product competitiveness of the server are improved.
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Referring to fig. 1, fig. 1 is a flowchart of a power supply control method of a power supply circuit according to the present application.
In the embodiment, the situation that the internet traffic and the data volume are increased drastically along with the arrival of big data, cloud computing and artificial intelligence age is considered, and the computing volume and the computing frequency are increased; in the server, as the amount of data for storage and calculation increases, the carrying pressure of the server becomes larger and the stability of the hard disk is critical for the business of the database. Therefore, it is important to ensure reliable power supply of the server including the hard disk and the computing module.
The power supply circuit of the server is arranged on the main board, and the power supply chip can convert the received voltage and then output the converted voltage to each power utilization module comprising a display module, a communication module, a storage module and the like on the main board so as to supply power for each power utilization module. During normal operation, the server corresponds to the S0 state, and all parts can normally operate; however, in the actual operation process, the filter capacitor is likely to be damaged, such as cracks, so that the temperature of the filter capacitor and a power supply chip nearby the filter capacitor continuously rises, and the server is powered off to enter an S5 state. However, due to the special design in the S5 state, even if the power supply chip still receives the stand-by voltage through the filter capacitor under the condition, the temperature of the filter capacitor still continues to rise, so that the temperature of a main board and the like nearby the filter capacitor also continues to rise, but at this time, the server is already shut down, users and related technicians cannot know the situation in time to take measures naturally, and finally the main board is likely to be burnt out, and if the main board is burnt out slightly, the server cannot be reused, and the whole data center machine room is burnt out seriously, so that serious loss is caused. In order to solve the technical problems, the application provides a power supply control method of a power supply circuit, which effectively avoids the occurrence of the server board burning phenomenon.
The power supply control method of the power supply circuit comprises the steps that a power supply, a controllable switch in the power supply circuit, a filter capacitor and input ends of power supply chips are sequentially connected, output ends of the power supply chips are connected with power utilization modules, PMBUS ends of the power supply chips are connected with a control module, and the power supply control method comprises the following steps:
s11: continuously acquiring the temperature of a power supply chip through a PMBUS end;
specifically, the power supply circuit includes, but is not limited to, a power supply circuit in a server; the specific number of the power supply chips is not particularly limited, and may be one or a plurality of power supply chips, and may be determined according to actual power supply requirements. In practical application, the power supply can be connected with a PSU (Power Supply Unit, power supply management component) and then connected with a subsequent controllable switch.
The control terminal of the controllable switch is connected to the control module, and it is understood that the controllable switch herein includes, but is not limited to, various controllable power electronic devices, such as MOSFET (Metal-Oxide-semiconductor-Field-Effect Transistor) or IGBT (Insulated Gate Bipolar Transistor ), and is not particularly limited herein.
It should be further noted that, as a specific embodiment, the control module herein may specifically include a BMC (Baseboard Management Controller baseboard management controller) and a CPLD (Complex Programmable Logic Device complex programmable logic device), where the CPLD is connected to the BMC, the BMC is connected to a control end of the controllable switch, a PMBUS (Power Management Bus power management bus) end of the power supply chip, and the CPLD is connected to a powergood pin of the power supply chip and a powergood pin of each power utilization module, and is used for monitoring a voltage state of each device connected to the CPLD. The power supply chip internally comprises a temperature measuring module capable of determining the temperature of the power supply chip in real time and storing the measured temperature into a register of the power supply chip, so that the power supply chip can continuously send the measured temperature to the BMC through a PMBUS end connected with the BMC, and real-time monitoring is realized.
In addition, the power module herein includes, but is not limited to, a display module (such as a display screen), a storage module (such as a RAID disk, a SATA disk, etc.), a communication module, etc., which are not particularly limited herein. And if the power supply circuit of the original server comprises a voltage conversion chip for providing a power supply reference voltage for the power supply chip, and the voltage conversion chip is connected to the position of the controllable switch, the controllable switch can be replaced by the voltage conversion chip, that is, the execution logic for controlling the controllable switch to be turned on to be turned off can be replaced by controlling the voltage conversion chip to be turned off.
S12: judging whether the temperature of the power supply chip exceeds a preset adjustable temperature threshold value or not; if yes, enter S13;
it should be noted that, the preset temperature-adjustable threshold is set by a technician according to actual requirements, for example, the temperature can be 90 ℃, and in addition, if some power supply chips have own over-temperature power-off threshold, the preset temperature-adjustable threshold should be smaller than the over-temperature power-off threshold so as to realize early warning of board burning danger caused by the power supply chips.
S13: the power supply chip is controlled to cut off the output of each power utilization module;
specifically, when the power supply chip turns off its own output, each power consumption module starts to orderly power down, at this time, the working state of the server is switched from the S0 state to the S5 state, and the step S14 is entered to realize the segmented power-off.
S14: judging whether a power-off state signal which is sent by each power-on module and represents that the power of the power-on module is off or not is received; if the power-off state signal is received, entering S15;
specifically, taking the control module including the BMC and the CPLD as an example, the foregoing steps may be that the BMC determines whether information from the transmission of the CPLD is received, where the information is a power-off state signal (i.e., a level of a powergood pin is converted from a high level signal in a normal working state to a low level signal indicating that the power-off module itself is in a power-off state) received by the CPLD connected to each power-using module, and then the CPLD forwards the power-off state signal to the BMC.
S15: the controllable switch is controlled to be turned from on to off so as to cut off the voltage input of the power supply.
It should be noted that, after the temperature of the power supply chip exceeds the preset adjustable temperature threshold, the controllable switch may be directly controlled to switch from on to off so as to cut off the voltage input of the power supply, but from practical application, the sudden power failure risks causing damage to each power utilization module.
In summary, the application provides a power supply control method of a power supply circuit, a control module is connected with a PMBUS end of a power supply chip, the temperature of the power supply chip can be continuously monitored and obtained, a preset temperature-adjustable threshold value which is adjusted according to the needs of a user is set, and a controllable switch is kept on in a normal state so that the power supply chip supplies power to each power utilization module. Therefore, by establishing the dual judgment logic, each part in the server can be controlled to be orderly and reliably powered off, the voltage input of an external power supply can be reliably and timely cut off under different scenes, the occurrence of burning of a board is avoided, and the operation reliability, maintainability and product competitiveness of the server are improved.
Based on the above embodiments:
as a preferred embodiment, the continuous acquisition of the temperature of the power supply chip through the PMBUS terminal includes:
receiving binary data representing the actual temperature of the power supply chip, which is sent by the power supply chip through a PMBUS end;
converting the binary data to a conversion temperature;
before controlling the power supply chip to turn off the output of each power utilization module, the method further comprises the following steps:
reading binary data stored in a register in a power supply chip;
converting the binary data into a check temperature;
judging whether the check temperature is consistent with the conversion temperature;
if not, recording the result of the inconsistent checking temperature and the conversion temperature into a memory.
In this embodiment, the inventor further considers that there is a possibility of error in the process of data transmission, and thus it is necessary to perform data transmission verification. Specifically, the PMBUS end of the power supply chip transmits actually binary data, and for the same binary data, due to the reasons of system transmission clock setting and the like, a situation of missing transmission of a certain bit of the binary data may exist during transmission, so that an error occurs when the binary data is analyzed into temperature; furthermore, the program code is also in the situation of bug when running actually, so that even for the same binary data and the same preset data-temperature conversion relation, the temperature obtained after the program code analysis is applied may be different.
Then, aiming at binary data (corresponding, the moment at the moment is the first signal transmission moment) which is sent by the PMBUS end and represents the actual temperature of the power supply chip; and converting the binary data into conversion temperature, and then directly taking the conversion temperature as a judging reference to control whether the power supply chip is controlled to turn off the output of each power utilization module or not so as to ensure that the safety of the main board of the server can be prioritized no matter whether the analysis is wrong or not. However, in order to determine whether the shutdown output of the power supply chip has the problem of false shutdown, the temperature data stored in the register in the power supply chip (that is, the binary data and the corresponding time at the moment are the second signal transmission time) can be actively read, the binary data is converted into the verification temperature, and when the verification temperature is inconsistent with the conversion temperature, the problem of false shutdown of the power supply chip at the moment is determined and recorded for subsequent technical research personnel to check. It will be appreciated that when the verification temperature is consistent with the transition temperature, the results of the verification temperature consistent with the transition temperature may also be recorded to the memory for subsequent verification analysis.
It should be noted that, as an extension, the technician may write two sets of program scripts with different specific running codes, namely, a first conversion program script and a second conversion program script, for the binary data representing the actual temperature of the power supply chip, which is sent by the power supply chip through the PMBUS end, according to the coding habit and the preset data-temperature conversion relationship, if the codes have no problem, the first conversion temperature can be obtained according to the conversion of the first conversion program script, the second conversion temperature can be obtained according to the conversion of the second conversion program script, and the two conversion temperatures should be the same, so that when the first conversion temperature is the same as the second conversion temperature, the code error phenomenon described above does not exist, otherwise, the result that the first conversion temperature is inconsistent with the second conversion temperature can be recorded into the memory for subsequent inspection and analysis, and the method is not particularly limited herein.
As a preferred embodiment, determining whether the temperature of the power supply chip exceeds a preset adjustable temperature threshold includes:
judging whether the temperature of the power supply chip exceeds a preset adjustable temperature threshold value for N times continuously and the ith temperature is not more than the (i+1) th temperature, wherein i is not less than 1 and not more than N, i is an integer, and N is an integer not less than 2.
In this embodiment, in order to be closer to practical application and minimize power failure error processing, so as to cause frequent power failure of the server, execution logic for determining whether the temperature of the power supply chip exceeds a preset adjustable temperature threshold is provided, where the execution logic may simultaneously satisfy: the temperature of the power supply chip continuously exceeds the preset adjustable temperature threshold value for N times (it is to be noted that N is not particularly limited, and may be set according to actual requirements, for example, 10 times), and the i-th temperature is not greater than the i+1th temperature, so as to ensure that measures should be immediately taken to prevent board burning when the temperature of the power supply chip is gradually increased. Of course, if the temperature of the power supply chip does not continuously exceed the preset adjustable temperature threshold for N times or the ith temperature of the power supply chip is not greater than the (i+1) th temperature, continuous monitoring is only needed.
As a preferred embodiment, further comprising:
when receiving fault signals representing that the power supply chip has turned off the output of each power utilization module, judging whether a state marking signal representing that the server is in an S5 state and transmitted by the server state monitoring module is received or not;
if yes, the controllable switch is controlled to be turned from on to off.
In this embodiment, the inventor further considers that when the server actually monitors the status of each power module and each power supply chip, a situation of false alarm may occur due to signal transmission errors. In order to solve the problem, taking the control module as an example, the CPLD and the BMC specifically take the CPLD as described above, when the CPLD receives a fault signal sent by the power supply chip and indicating that the power supply chip has turned off the output to each power consumption module (i.e., the powergood pin is converted from a high level signal in a normal output state to a low level signal), the fault signal is transferred to the BMC for monitoring processing.
However, considering that there is a possibility of false alarm due to the fault signal (i.e. the power supply chip may still normally supply power to each power module, but for some reasons, the level signal of its own powergood pin becomes low at a certain moment, but is determined to be a fault signal by the CPLD by misjudgment of the level determination logic in the CPLD as a low level signal at the moment, and is forwarded to the BMC), when the fault signal is received, the BMC determines whether a state flag signal indicating that the server is in the S5 state is received, which is sent by the server state monitoring module connected with the fault signal (specifically, because the data transmission channel connected between the server state monitoring modules is a GPIO bus, the transmission reliability is high), if the fault signal is not actually false alarm, the controllable switch is turned off from on to off to cut off the voltage input of the external power supply, so as to avoid further occurrence of faults such as burn-in.
Therefore, the execution logic reliably ensures that the server is determined to enter the S5 state and then cuts off the voltage input of the external power supply, effectively avoids the situation of frequent shutdown of the server caused by false alarm of fault signals, and has stronger practicability.
As a preferred embodiment, before determining that the status flag signal is received and controlling the controllable switch to turn from on to off, the method further comprises:
acquiring and recording historical information stored in a register of a power supply chip within a preset historical time, wherein the historical information comprises historical temperature information, historical output voltage information and historical output current information;
and determining the reason that the power supply chip turns off the output of each power utilization module according to the historical information and the stored historical state information of each power utilization device in the preset historical time.
In this embodiment, in order to facilitate the subsequent technical developer to grasp the fault situation and analyze the fault situation, taking the control module including the CPLD and the BMC as described above as an example, when it is determined that the S5 state flag signal is received, before the controllable switch is controlled to turn from on to off, the BMC first obtains the history information stored in the register of the power supply chip within the preset history period through the connection line between the BMC and the PMBUS end of the power supply chip, and records the history information, where the preset history period is set according to the common requirement when the technical developer actually analyzes the cause of the fault; and the historical information includes, but is not limited to, historical temperature, historical output voltage, and historical output current of the power chip. The CPLD stores historical state information (the historical state information can be the level state of the powergood pin of each monitored power utilization module) of each power utilization module in a preset historical time period, and the historical state information can be sent to the BMC so as to study and analyze the reason that the power supply chip turns off the power utilization module.
Specifically, the BMC may determine that a power failure abnormality exists in a corresponding power utilization module according to a level state of a powergood pin of each power utilization module within a preset history period, if a monitoring signal of a certain power utilization module is converted from a high level signal to a low level signal, so that a technician can find the power failure abnormality in time; aiming at the obtained historical temperatures of the power supply chip in the preset historical time, based on each historical temperature and the preset temperature-adjustable threshold value, whether the power supply chip has over-temperature or not can be determined, and then the reason for turning off output of the power supply chip is determined to be over-temperature; for the recorded historical output voltage of the power supply chip in the preset historical time, whether the power supply chip has overvoltage or not can be determined, and then the reason for turning off the output is determined to be overvoltage; for the recorded historical output current of the power supply chip in the preset historical time, whether the current exists in the power supply chip or not can be determined, and then the reason for turning off the output is determined to be the current. Therefore, the logic recorded and stored can be convenient for subsequent technical research personnel to grasp the situation.
As a preferred embodiment, further comprising:
when the state flag signal is not received, the result that the fault signal received at this time is misinformation is recorded into a memory.
In this embodiment, considering that the data transmission line between the server status monitoring module and the BMC is reliable and stable, when it is determined that the status flag signal is not received, a situation that there is a false alarm of the fault signal is described, so that the result that the fault signal received this time is false alarm can be recorded to the memory, and in particular, can be recorded in the black box log of the BMC for the following technicians to grasp.
As a preferred embodiment, further comprising:
when the state mark signal is not received, acquiring history information stored in a register of the power supply chip in a second preset history time;
judging whether at least one of over-temperature, over-voltage and over-current exists in the power supply chip or not based on the historical information;
if not, determining that the reason why the received fault signal is misreported is signal analysis abnormality.
In this embodiment, in order to reliably determine the reason for the false alarm, when it is determined that the status flag signal is not received, the history information stored in the register of the power supply chip in the second preset history duration is obtained; the history information includes, but is not limited to, a history temperature, a history output voltage, and a history output current of the power supply chip, based on which it is possible to determine whether the power supply chip has at least one of an over-temperature, an over-voltage, and an over-current, and if none of the above three conditions occurs, it is indicated as a misjudgment caused by a signal analysis abnormality, and further, a result of the misjudgment may be recorded in a memory, specifically may be recorded in a black box log, which is not particularly limited herein.
Referring to fig. 2, fig. 2 is a schematic diagram of a power supply control system of a power supply circuit according to the present application.
The power supply control system of the power supply circuit, a controllable switch in the power supply circuit, a filter capacitor and the input end of a power supply chip are sequentially connected, the output end of the power supply chip is connected with each power utilization module, the PMBUS end of the power supply chip is connected with the control module, and the power supply control system comprises:
a temperature obtaining unit 21, configured to continuously obtain a temperature of the power supply chip through the PMBUS end;
a first judging unit 22, configured to judge whether the temperature of the power supply chip exceeds a preset adjustable temperature threshold; if yes, the first control unit 23 is triggered;
a first control unit 23, configured to control the power supply chip to turn off the output to each power consumption module;
a second judging unit 24, configured to judge whether a power-off state signal indicating that the power-off module has been powered off is received, where the power-off state signal is sent by each power-on module; if yes, the second control unit 25 is triggered;
the second control unit 25 is used for controlling the controllable switch to be turned from on to off so as to cut off the voltage input of the power supply.
For the description of the power supply control system of the power supply circuit provided in the present application, reference is made to the embodiment of the power supply control method of the power supply circuit, and the description is omitted herein.
As a preferred embodiment, the temperature acquisition unit 21 includes:
the receiving unit is used for receiving binary data representing the actual temperature of the power supply chip, which is sent by the power supply chip through the PMBUS end;
a first parsing unit for converting the binary data into a conversion temperature;
the power supply control system of the power supply circuit further includes:
a data reading unit for reading the binary data stored in the register in the power supply chip;
a second parsing unit for converting the binary data into a verification temperature;
the checking judging unit is used for judging whether the checking temperature is consistent with the conversion temperature; if not, triggering a first recording unit;
the first recording unit is used for recording the result that the verification temperature is inconsistent with the conversion temperature to a memory.
The first judging unit 22 is specifically configured to judge whether the temperature of the power supply chip exceeds a preset adjustable temperature threshold value N times continuously, where i is greater than or equal to 1 and less than or equal to N, i is an integer, and N is an integer not less than 2, and the i-th temperature is not greater than i+1th temperature; if yes, the first control unit 23 is triggered;
the power supply control system of the power supply circuit further includes:
the third judging unit is used for judging whether a state mark signal which is sent by the server state monitoring module and used for representing that the server is in an S5 state is received when a fault signal which represents that the power supply chip is turned off and outputs the fault signal to each power utilization module is received; if yes, triggering a third control unit;
and the third control unit is used for controlling the controllable switch to be turned from on to off.
The power supply control system of the power supply circuit further includes:
the acquisition recording unit is used for acquiring and recording the history information stored in the register of the power supply chip within the preset history time, wherein the history information comprises history temperature information, history output voltage information and history output current information;
the fault cause determining unit is used for determining the cause of the power supply chip to turn off the output of each power utilization module according to the historical information and the stored historical state information of each power utilization device in the preset historical time.
The power supply control system of the power supply circuit further includes:
and the second recording unit is used for recording the result that the fault signal received at this time is misinformation into the memory when the state mark signal is not received.
The power supply control system of the power supply circuit further includes:
a history information obtaining unit, configured to obtain, when it is determined that the status flag signal is not received, history information stored in a register of the power supply chip within a second preset history duration;
the fault judging unit is used for judging whether at least one of over-temperature, over-voltage and over-current exists in the power supply chip or not based on the historical information; if not, triggering a false alarm reason determining unit;
and the false alarm reason determining unit is used for determining that the reason that the received fault signal is false alarm at the moment is signal analysis abnormality.
The present application also provides a computer-readable storage medium comprising:
the computer readable medium has stored thereon a computer program which, when executed by a processor, implements the steps of the power supply control method of the power supply circuit as described above.
For the description of the computer-readable storage medium provided in the present application, reference is made to the embodiment of the power supply control method of the power supply circuit, and details thereof are not repeated herein.
The application also provides a server, which comprises a power supply circuit, each power utilization module and a control module 34, wherein a controllable switch 31, a filter capacitor 32 and the input end of a power supply chip 33 in the power supply circuit are sequentially connected, the output end of the power supply chip 33 is connected with each power utilization module, the PMBUS end of the power supply chip 33 is connected with the control module 34, and the control module 34 is also connected with a memory 35;
the memory 35 is for storing a computer program;
the control module 34 is configured to perform the steps of the power supply control method of the power supply circuit as described above.
For the description of the server of the power supply circuit provided in the present application, reference is made to the embodiment of the power supply control method of the power supply circuit, and the description is omitted herein.
In the present specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, and identical and similar parts between the embodiments are all enough to refer to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section.
It is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprise," "include," or any other variation thereof, are intended to cover a non-exclusive inclusion. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. The present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. The utility model provides a power supply control method of power supply circuit, its characterized in that, the power supply, controllable switch, filter capacitor and the input of power supply chip in the power supply circuit connect gradually, the output of power supply chip is connected with each power consumption module, the PMBUS end of power supply chip is connected with control module, power supply control method includes:
continuously acquiring the temperature of the power supply chip through the PMBUS end;
judging whether the temperature of the power supply chip exceeds a preset adjustable temperature threshold value or not;
if yes, controlling the power supply chip to turn off the output of each power utilization module;
judging whether power-off state signals which are sent by the power-on modules and used for representing that the power-on modules are powered off are received or not;
and if the power-off state signal is received, controlling the controllable switch to be turned from on to off so as to cut off the voltage input of the power supply.
2. The power supply control method of the power supply circuit according to claim 1, wherein continuously acquiring the temperature of the power supply chip through the PMBUS terminal includes:
receiving binary data representing the actual temperature of the power supply chip, which is sent by the power supply chip through the PMBUS end;
converting the binary data to a conversion temperature;
before controlling the power supply chip to turn off the output of each power utilization module, the method further comprises:
reading the binary data stored in a register in the power supply chip;
converting the binary data into a verification temperature;
judging whether the check temperature is consistent with the conversion temperature;
if not, recording the result that the verification temperature is inconsistent with the conversion temperature to a memory.
3. The power supply control method of the power supply circuit according to claim 1, wherein determining whether the temperature of the power supply chip exceeds a preset adjustable temperature threshold value comprises:
judging whether the temperature of the power supply chip exceeds a preset adjustable temperature threshold value for N times continuously and the ith temperature is not more than the (i+1) th temperature, wherein i is more than or equal to 1 and less than or equal to N, i is an integer, and N is an integer not less than 2.
4. A power supply control method of a power supply circuit according to any one of claims 1 to 3, further comprising:
judging whether a state mark signal which is sent by a server state monitoring module and used for representing that the server is in a shutdown state is received when a fault signal which represents that the power supply chip is shut down and outputs to each power utilization module is received;
if yes, the controllable switch is controlled to be turned from on to off.
5. The power supply control method of a power supply circuit according to claim 4, wherein, upon determining that the status flag signal is received, before controlling the controllable switch to turn from on to off, further comprising:
acquiring and recording historical information stored in a register of the power supply chip within a preset historical time, wherein the historical information comprises historical temperature information, historical output voltage information and historical output current information;
and determining the reason that the power supply chip is turned off to output the power utilization modules according to the historical information and the stored historical state information of the power utilization modules in the preset historical time.
6. The power supply control method of the power supply circuit according to claim 4, further comprising:
and when the state mark signal is not received, recording the result that the received fault signal is misinformation into a memory.
7. The power supply control method of the power supply circuit according to claim 4, further comprising:
when the state mark signal is not received, acquiring history information stored in a register of the power supply chip in a second preset history time;
judging whether at least one of over-temperature, over-voltage and over-current exists in the power supply chip or not based on the historical information;
if not, determining that the reason why the fault signal received at the moment is misinformation is signal analysis abnormality.
8. The utility model provides a power supply control system of power supply circuit, its characterized in that, the power supply controllable switch in the power supply circuit, filter capacitor and power supply chip's input connect gradually, power supply chip's output is connected with each power consumption module, power supply chip's PMBUS end is connected with control module, power supply control system includes:
the temperature acquisition unit is used for continuously acquiring the temperature of the power supply chip through the PMBUS end;
the first judging unit is used for judging whether the temperature of the power supply chip exceeds a preset adjustable temperature threshold value or not; if yes, triggering a first control unit;
the first control unit is used for controlling the power supply chip to turn off the output of each power utilization module;
the second judging unit is used for judging whether power-off state signals which are sent by the power-on modules and used for representing that the power-on modules are powered off are received or not; if yes, triggering a second control unit;
the second control unit is used for controlling the controllable switch to be turned from on to off so as to cut off the voltage input of the power supply.
9. A computer-readable storage medium, comprising:
the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the power supply control method of a power supply circuit according to any one of claims 1 to 7.
10. The server is characterized by comprising a power supply circuit, each power utilization module and a control module, wherein a power supply, a controllable switch in the power supply circuit, a filter capacitor and the input end of a power supply chip are sequentially connected, the output end of the power supply chip is connected with each power utilization module, the PMBUS end of the power supply chip is connected with the control module, and the control module is also connected with a memory;
the memory is used for storing a computer program;
the control module is configured to perform the steps of the power supply control method of the power supply circuit according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210589987.XA CN114884021B (en) | 2022-05-27 | 2022-05-27 | Power supply control method of power supply circuit and related components |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210589987.XA CN114884021B (en) | 2022-05-27 | 2022-05-27 | Power supply control method of power supply circuit and related components |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114884021A CN114884021A (en) | 2022-08-09 |
CN114884021B true CN114884021B (en) | 2023-11-03 |
Family
ID=82677857
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210589987.XA Active CN114884021B (en) | 2022-05-27 | 2022-05-27 | Power supply control method of power supply circuit and related components |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114884021B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101923385A (en) * | 2010-08-02 | 2010-12-22 | 浪潮电子信息产业股份有限公司 | Method for realizing system energy saving |
CN106383569A (en) * | 2016-09-09 | 2017-02-08 | 郑州云海信息技术有限公司 | Universal server power supply protection mechanism |
CN106647349A (en) * | 2016-10-17 | 2017-05-10 | 深圳优地科技有限公司 | Power supply security control system for wheeled robot |
CN113204466A (en) * | 2021-04-29 | 2021-08-03 | 山东英信计算机技术有限公司 | Over-temperature protection method and electronic equipment |
-
2022
- 2022-05-27 CN CN202210589987.XA patent/CN114884021B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101923385A (en) * | 2010-08-02 | 2010-12-22 | 浪潮电子信息产业股份有限公司 | Method for realizing system energy saving |
CN106383569A (en) * | 2016-09-09 | 2017-02-08 | 郑州云海信息技术有限公司 | Universal server power supply protection mechanism |
CN106647349A (en) * | 2016-10-17 | 2017-05-10 | 深圳优地科技有限公司 | Power supply security control system for wheeled robot |
CN113204466A (en) * | 2021-04-29 | 2021-08-03 | 山东英信计算机技术有限公司 | Over-temperature protection method and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN114884021A (en) | 2022-08-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021169260A1 (en) | System board card power supply test method, apparatus and device, and storage medium | |
CN112286709B (en) | Diagnosis method, diagnosis device and diagnosis equipment for server hardware faults | |
CN107145410A (en) | After a kind of system exception power down it is automatic on establish the method, system and equipment of machine by cable | |
CN111124827B (en) | Monitoring device and monitoring method for equipment fan | |
CN106610712B (en) | Substrate management controller resetting system and method | |
CN107678909B (en) | Circuit and method for monitoring chip configuration state in server | |
CN111488050B (en) | Power supply monitoring method, system and server | |
US20230366951A1 (en) | Power failure monitoring device and power failure monitoring method | |
CN111124981A (en) | Management system and method for server I2C equipment | |
CN114676019B (en) | Method, device, equipment and storage medium for monitoring state of central processing unit | |
CN113672306B (en) | Server component self-checking abnormity recovery method, device, system and medium | |
CN117573455B (en) | PCIE equipment detection system, method, device and product | |
CN113590405A (en) | Hard disk error detection method and device, storage medium and electronic device | |
CN114884021B (en) | Power supply control method of power supply circuit and related components | |
CN117149491A (en) | Power supply monitoring method, system, device and storage medium | |
CN113162015B (en) | Mainboard power supply abnormality positioning protection method and device | |
CN115728665A (en) | Power failure detection circuit, method and system | |
CN109450491B (en) | Cable modem system capable of monitoring temperature and implementation method thereof | |
CN112732498A (en) | Test method, device, equipment and storage medium for simulating single-point power-on and power-off of equipment | |
CN114153692A (en) | Ampere processor monitoring method and server | |
CN114356687B (en) | Signal detection method and device and electronic equipment | |
CN113868036B (en) | Method, system, terminal and storage medium for monitoring server time sequence abnormality | |
CN115766415B (en) | Intelligent network card VR state monitoring device, method, terminal and storage medium | |
CN116884468A (en) | Method, device and medium for testing standby power function of storage device | |
CN115686171A (en) | PSU monitoring method and device and computer readable storage medium |
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 |