CN115686169A - Server power performance monitoring method and device and computer equipment - Google Patents

Server power performance monitoring method and device and computer equipment Download PDF

Info

Publication number
CN115686169A
CN115686169A CN202211393447.0A CN202211393447A CN115686169A CN 115686169 A CN115686169 A CN 115686169A CN 202211393447 A CN202211393447 A CN 202211393447A CN 115686169 A CN115686169 A CN 115686169A
Authority
CN
China
Prior art keywords
voltage
current
value
ripple
counter
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.)
Pending
Application number
CN202211393447.0A
Other languages
Chinese (zh)
Inventor
李宝峰
李大利
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202211393447.0A priority Critical patent/CN115686169A/en
Publication of CN115686169A publication Critical patent/CN115686169A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Dc-Dc Converters (AREA)

Abstract

The application relates to a server power performance monitoring method and device, computer equipment and a storage medium. The method comprises the following steps: meanwhile, acquiring signals of capacitor voltage and inductor current output by a server power supply, and converting the signals into digital signals; calculating and storing the effective voltage value, the effective voltage ripple, the effective current value and the effective current ripple of the output capacitor voltage in the switching period; if any one of the voltage effective value, the voltage ripple and the current ripple exceeds the alarm value, the first counter is increased by 1, and if the voltage effective value, the voltage ripple and the current ripple exceeds the risk value, the second counter is increased by 1; if the count of the first counter reaches a first threshold value in the counting period, sending an alarm signal, otherwise, resetting the first counter; and if the count of the second counter reaches a second threshold value in the counting period, sending a risk signal, otherwise, resetting the second counter. By adopting the method, the performance of the output capacitor voltage and the inductive current of the server power supply can be monitored, and the performance of the output capacitor voltage and the inductive current can be known in time.

Description

Server power performance monitoring method and device and computer equipment
Technical Field
The present application relates to the technical field of server power supplies, and in particular, to a method, an apparatus, and a computer device for monitoring server power supply performance.
Background
With the rapid development of network technology, different types of servers are emerging. When the server system is constructed, the power supply plays a decisive role in the overall operation of the server system, and if the power supply fails, the server cannot normally operate.
A large number of Buck voltage reduction circuits are used in a server power supply to obtain various voltages, so that the power supply requirements of different equipment are met. The output filter inductor and the filter capacitor in the Buck voltage reduction circuit are indispensable and are usually used as a DC-DC converter, so that the detection of the states of the output filter inductor and the filter capacitor of the DC-DC converter in the operation process of the server plays a decisive role in the quality of output electric energy.
The effective value of the output voltage of the power supply of the server, the voltage ripple, the effective inductive current and the performance of the inductive current ripple are currently in an open loop state, the effective value and the ripple of the output voltage of the power supply are only tested when the project is established, the performance of the output voltage is ensured by improving the consistency of components, and the performance of the output voltage of the server cannot be monitored after batch production.
The existing server power supply does not monitor the output capacitor voltage and the output inductive current, and the states of the output capacitor voltage and the output inductive current cannot be known. If output capacitor voltage, output inductive current are unusual, will influence server power supply quality, can lead to burning the board risk when serious. The output capacitor voltage ripple is too large, which may cause the maximum value and the minimum value of the output ripple voltage to exceed the power supply requirement of the back-end device (e.g., CPU, PCH), affect the normal operation of the back-end device (e.g., CPU, PCH), and even cause the damage of the back-end device.
After the server runs for a long time, the quality of output electric energy can be changed due to the aging of devices and the change of external environment. Because the output capacitor voltage and the output inductor current are not monitored at present, the states of the output capacitor voltage and the output inductor current cannot be known, and the output capacitor voltage ripple is too large to cause damage to back-end equipment (such as a CPU and a PCH). In addition, the induction current ripple is too large, so that the induction heating is damaged, the normal operation of the server is influenced, and even the risk of burning the board is caused.
Therefore, the monitoring and alarming of the voltage of the output capacitor and the current performance of the inductor of the power supply of the server are urgently needed, the voltage ripple and the effective value of the output capacitor and the current ripple and the effective value of the output inductor are monitored in time, and the reliability of the power supply is maintained, so that the power supply quality of the power supply of the server is ensured, and the stable and reliable operation of the server is ensured.
Disclosure of Invention
Therefore, it is necessary to provide a server power performance monitoring method, device and computer device for solving the technical problems that the performance of the server power output capacitor voltage and the performance of the server power output inductor current cannot be monitored and monitored, and the performance of the server power output capacitor voltage and the performance of the server power output inductor current are reduced due to certain uncontrollable factors and long-time operation, so that the output inductor and the rear-end power supply device are damaged, and the server cannot normally operate.
In one aspect, a method for monitoring power performance of a server is provided, where the method includes:
simultaneously, acquiring signals of capacitor voltage and inductor current output by a server power supply, and converting the signals into digital signals;
calculating and storing the effective voltage value and voltage ripple of the output capacitor voltage in the switching period;
calculating and storing the current effective value and the current ripple of the inductive current in the switching period;
if any one of the voltage effective value, the voltage ripple and the current ripple exceeds the alarm value, adding 1 to the first counter; if any one of the voltage effective value, the voltage ripple and the current ripple exceeds the risk value, adding 1 to the second counter;
if the counting of the first counter reaches a first threshold value in the counting period, sending an alarm signal, otherwise, resetting the first counter; and if the count of the second counter reaches a second threshold value in the counting period, sending a risk signal, otherwise, resetting the second counter.
In one embodiment, the step of calculating and storing the voltage effective value and the voltage ripple of the output capacitor voltage in the switching period includes:
acquiring a plurality of output capacitor voltage instantaneous values in a switching period;
calculating a voltage effective value and a voltage ripple of an output capacitor voltage instantaneous value in a switching period;
and taking the average value of multiple times of calculation to obtain and store the voltage effective value and the voltage ripple.
In one embodiment, the step of calculating and storing the current effective value and the current ripple of the inductor current in the switching period includes:
acquiring a plurality of inductor current transients during a switching cycle;
calculating a voltage effective value and a voltage ripple of an inductive current instantaneous value in a switching period;
and taking the average value of multiple times of calculation to obtain and store the current effective value and the current ripple.
In one embodiment, after the alarm signal is sent out, the method further comprises the following steps:
sending the alarm signal to a processing end;
and the processing end sends out information for replacing the corresponding circuit board when receiving the alarm signal.
In one embodiment, after the issuing of the risk signal, the method further comprises:
sending the risk signal to a processing end;
and when the processing end receives the risk signal, the power supply of the server is cut off.
In one embodiment, the step of simultaneously acquiring the output capacitor voltage and the inductive current signal of the server power supply includes:
collecting voltage signals at two ends of an output resistor connected with an output capacitor in parallel as the voltage of the output capacitor;
and acquiring voltage signals at two ends of a precision resistor connected with the output inductor in series to obtain the resistance value of the precision resistor, and dividing the voltage signals at the two ends of the precision resistor by the resistance value of the precision resistor to obtain the inductor current.
In another aspect, an apparatus for monitoring performance of a server power supply is provided, the apparatus including:
the signal acquisition module is used for simultaneously acquiring signals of capacitor voltage and inductor current output by the server power supply and converting the signals into digital signals;
the control strategy module is used for calculating and storing the effective voltage value and voltage ripple of the output capacitor voltage and the effective current value and current ripple of the inductive current in the switching period; if any one of the voltage effective value, the voltage ripple and the current ripple exceeds the alarm value, adding 1 to the first counter; if any one of the voltage effective value, the voltage ripple and the current ripple exceeds the risk value, adding 1 to the second counter; if the count of the first counter reaches a first threshold value in the counting period, sending an alarm signal, otherwise, resetting the first counter; and if the count of the second counter reaches a second threshold value in the counting period, sending a risk signal, otherwise, resetting the second counter.
In one embodiment, the signal acquisition module comprises a first high-speed analog-to-digital converter and a second high-speed analog-to-digital converter; the first high-speed analog-to-digital converter is used for converting the acquired output capacitor voltage signal into a digital signal; the second high-speed analog-to-digital converter is used for converting the acquired inductive current signal into a digital signal;
the control strategy module comprises a capacitance voltage calculation unit, an inductance current calculation unit, a super-threshold value statistics unit and an alarm and risk signal sending unit;
the capacitor voltage calculating unit is used for calculating and storing a voltage effective value and a voltage ripple of the output capacitor voltage in a switching period;
the inductive current calculating unit is used for calculating and storing the current effective value and the current ripple of the inductive current in the switching period;
the super-threshold statistical unit is used for adding 1 to the first counter if any one of the voltage effective value, the voltage ripple and the current ripple exceeds the alarm value; if any one of the voltage effective value, the voltage ripple and the current ripple exceeds the risk value, adding 1 to the second counter;
the alarm and risk signal sending unit is used for sending an alarm signal if the count of the first counter reaches a first threshold value in a counting period, otherwise, the first counter is cleared; and if the count of the second counter reaches a second threshold value in the counting period, sending a risk signal, otherwise, resetting the second counter.
In one embodiment, the server power performance monitoring apparatus further includes:
and the protection execution module is used for sending corresponding circuit board replacement information when receiving the alarm signal and cutting off power supply of the server when receiving the risk signal.
In another aspect, a computer device is provided, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to perform the following steps:
meanwhile, acquiring signals of capacitor voltage and inductor current output by a server power supply, and converting the signals into digital signals;
calculating and storing the effective voltage value and voltage ripple of the output capacitor voltage in the switching period;
calculating and storing the current effective value and the current ripple of the inductive current in the switching period;
if any one of the voltage effective value, the voltage ripple and the current ripple exceeds the alarm value, adding 1 to the first counter; if any one of the voltage effective value, the voltage ripple and the current ripple exceeds the risk value, adding 1 to the second counter;
if the count of the first counter reaches a first threshold value in the counting period, sending an alarm signal, otherwise, resetting the first counter; and if the count of the second counter reaches a second threshold value in the counting period, sending a risk signal, otherwise, resetting the second counter.
According to the server power performance monitoring method, the server power performance monitoring device and the computer equipment, the performance of the output capacitor voltage and the inductive current can be known in time through the server power output capacitor voltage and inductive current performance monitoring, protection can be made in time according to the performance of the output capacitor voltage and the inductive current, and the damage of a CPU and a PCH caused by too low output voltage performance and even board burning risks are avoided.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a diagram of an exemplary embodiment of a server power performance monitoring method;
FIG. 2 is a flow diagram illustrating a method for monitoring server power performance in one embodiment;
FIG. 3 is a logic diagram of a server power performance monitoring method in one embodiment;
FIG. 4 is a logic diagram of the DSP control system of FIG. 3 in one embodiment;
FIG. 5 is a schematic flow chart illustrating the steps for simultaneously acquiring signals of capacitor voltage and inductor current output by the server power supply in one embodiment;
FIG. 6 is a flowchart illustrating a step of calculating and storing an effective voltage value and a ripple of an output capacitor voltage during a switching period according to an embodiment;
FIG. 7 is a flowchart illustrating the steps of calculating the effective current value and the current ripple of the inductor current during the switching period and storing the calculated values in one embodiment;
FIG. 8 is a block diagram showing the structure of a server power performance monitoring apparatus according to an embodiment;
FIG. 9 is a block diagram of the structure of a signal acquisition module in one embodiment;
FIG. 10 is a block diagram of a control strategy module in one embodiment;
FIG. 11 is a diagram illustrating an internal structure of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The server power performance monitoring method provided by the application can be applied to the application environment shown in fig. 1. Wherein the terminal 102 communicates with the server 104 via a network. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the server 104 may be implemented by an independent server or a server cluster formed by a plurality of servers. The server 104 is provided with a power supply, and the server is used for detecting the states of an output filter inductor and a filter capacitor of the DC-DC converter during the operation process to monitor various voltages in the power supply and meet the power supply requirements of different devices.
In one embodiment, as shown in fig. 2, fig. 3, and fig. 4, a server power performance monitoring method is provided, which is described by taking the method as an example applied to the server 104 in fig. 1, and includes the following steps:
step S1, simultaneously acquiring signals of capacitor voltage and inductor current output by a server power supply, and converting the signals into digital signals;
s2, calculating and storing a voltage effective value and a voltage ripple of the output capacitor voltage in the switching period T1;
s3, calculating and storing the current effective value and the current ripple of the inductive current in the switching period T1;
s4, if any one of the voltage effective value, the voltage ripple and the current ripple exceeds the alarm value, adding 1 to a first counter A; if any one of the voltage effective value, the voltage ripple and the current ripple exceeds the risk value, adding 1 to a second counter B;
s5, if the count of the first counter A reaches a first threshold value in the counting period T2, sending an alarm signal, otherwise, resetting the first counter A; and if the count of the second counter B reaches a second threshold value in the counting period T2, sending a risk signal, otherwise, clearing the second counter B.
Preferably, the first threshold and the second threshold are equal and both take values of 100 times. It is understood that the values of the first threshold and the second threshold can be set artificially, and the value ranges from any integer between 10 times and 500 times.
As shown in fig. 5, in this embodiment, the step of simultaneously acquiring the output capacitor voltage and the inductor current signal of the server power supply includes:
s11, collecting voltage signals at two ends of an output resistor connected with an output capacitor in parallel as the voltage of the output capacitor;
and S12, acquiring voltage signals at two ends of a precision resistor with the output inductors connected in series to obtain the resistance value of the precision resistor, and dividing the voltage signals at two ends of the precision resistor by the resistance value of the precision resistor to obtain the inductor current.
As shown in fig. 6, in this embodiment, the step of calculating and storing the effective voltage value and the voltage ripple of the output capacitor voltage in the switching period T1 includes:
step S21, acquiring a plurality of output capacitor voltage instantaneous values in a switching period T1;
step S22, calculating a voltage effective value and a voltage ripple of an output capacitor voltage instantaneous value in a switching period T1;
and step S23, taking the average value calculated for multiple times (such as N1 times) to obtain and store the voltage effective value and the voltage ripple.
As shown in fig. 7, in this embodiment, the step of calculating and storing the effective current value and the current ripple of the inductor current in the switching period T1 includes:
step S31, acquiring a plurality of inductance current instantaneous values in a switching period T1;
step S32, calculating the effective voltage value and the voltage ripple of the instantaneous value of the inductive current in the switching period T1;
and step S33, calculating the average value for multiple times (such as N1 times) to obtain the current effective value and the current ripple and storing the current effective value and the current ripple.
As shown in fig. 2 and fig. 3, in this embodiment, after the alarm signal is sent, the method further includes:
s6, sending the alarm signal to a processing end;
and S7, sending corresponding circuit board replacement information when the processing end receives the alarm signal.
As shown in fig. 2 and fig. 3, in this embodiment, after the sending of the risk signal, the method further includes:
s8, sending the risk signal to a processing end;
and S9, controlling an enabling signal to cut off power supply of a power supply of the server when the processing end receives the risk signal.
According to the server power performance monitoring method, the performance of the output capacitor voltage and the inductive current is known in time through monitoring the performance of the output capacitor voltage and the inductive current of the server power, protection is made in time according to the performance of the output capacitor voltage and the inductive current, and the damage of a CPU and a PCH and even board burning risks caused by too low performance of the output voltage are avoided.
It should be understood that although the various steps in the flowcharts of fig. 2-7 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not limited to being performed in the exact order illustrated and, unless explicitly stated herein, may be performed in other orders. Moreover, at least some of the steps in fig. 2-7 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 8, there is provided a server power performance monitoring apparatus 10, including: the device comprises a signal acquisition module 1, a control strategy module 2 and a protection execution module 3.
The signal acquisition module 1 is used for simultaneously acquiring signals of capacitor voltage and inductor current output by a server power supply and converting the signals into digital signals.
The control strategy module 2 is used for calculating and storing the effective voltage value and voltage ripple of the output capacitor voltage, the effective current value and current ripple of the inductive current in the switching period T1; if any one of the voltage effective value, the voltage ripple and the current ripple exceeds the alarm value, adding 1 to a first counter A; if any one of the voltage effective value, the voltage ripple and the current ripple exceeds the risk value, adding 1 to a second counter B; if the count of the first counter A reaches a first threshold value in the counting period T2, sending an alarm signal, otherwise, resetting the first counter A; and if the count of the second counter B reaches a second threshold value in the counting period T2, sending a risk signal, otherwise, clearing the second counter B.
And the protection execution module 3 is used for sending corresponding circuit board replacement information when receiving the alarm signal and cutting off power supply of the server when receiving the risk signal.
Specifically, as shown in fig. 9, the signal acquisition module 1 includes a first high-speed analog-to-digital converter 11 and a second high-speed analog-to-digital converter 12; the first high-speed analog-to-digital converter 11 is configured to convert the acquired output capacitor voltage signal into a digital signal; the second high-speed analog-to-digital converter 12 is configured to convert the collected inductor current signal into a digital signal.
In this embodiment, the signal acquisition module 1 includes a first voltage acquisition unit 13 and a second voltage acquisition unit 14 when being used for simultaneously acquiring signals of capacitor voltage and inductor current output by a power supply of a server. The first voltage acquisition unit 13 is configured to acquire voltage signals at two ends of an output resistor connected in parallel with an output capacitor as the voltage of the output capacitor; the second voltage acquisition unit 14 is configured to acquire voltage signals at two ends of the precision resistor connected in series with the output inductor, acquire a resistance value of the precision resistor, and obtain the inductor current by dividing the voltage signals at the two ends of the precision resistor by the resistance value of the precision resistor.
As shown in fig. 10, the control strategy module 2 includes a capacitance voltage calculating unit 21, an inductance current calculating unit 22, a super-threshold value counting unit 23, and an alarm and risk signal sending unit 24.
Referring to fig. 4, the capacitor voltage calculating unit 21 is configured to calculate and store a voltage effective value and a voltage ripple of the output capacitor voltage in the switching period T1. The inductive current calculating unit 22 is configured to calculate and store the current effective value and the current ripple of the inductive current in the switching period T1. The super-threshold statistical unit 23 is configured to add 1 to the first counter a if any one of the voltage effective value, the voltage ripple, and the current ripple exceeds the alarm value; and if any one of the voltage effective value, the voltage ripple and the current ripple exceeds the risk value, adding 1 to the second counter B. The alarm and risk signal sending unit 24 is configured to send an alarm signal if the count of the first counter a reaches a first threshold value within the counting period T2, and otherwise, clear the first counter a; and if the count of the second counter B reaches a second threshold value in the counting period T2, sending a risk signal, otherwise, clearing the second counter B.
In this embodiment, when the capacitor voltage calculating unit 21 is configured to calculate the voltage effective value and the voltage ripple of the output capacitor voltage in the switching period T1 and store the voltage effective value and the voltage ripple, the method includes:
acquiring a plurality of output capacitor voltage instantaneous values in a switching period T1;
calculating a voltage effective value and a voltage ripple of an output capacitor voltage instantaneous value in a switching period T1;
and taking the average value calculated for multiple times (such as N1 times) to obtain the voltage effective value and the voltage ripple and storing the voltage effective value and the voltage ripple.
In this embodiment, when the inductive current calculating unit 22 is used to calculate the effective current value and the current ripple of the inductive current in the switching period T1 and store the effective current value and the current ripple, the method includes:
acquiring a plurality of inductor current instantaneous values in a switching period T1;
calculating a voltage effective value and a voltage ripple of an inductive current instantaneous value in a switching period T1;
and taking the average value calculated for multiple times (such as N1 times) to obtain the current effective value and the current ripple and storing the current effective value and the current ripple.
Preferably, the control strategy module 2 comprises a DSP control system.
In this embodiment, the protection execution module 3 includes a baseboard management controller BMC.
After sending the alarm signal, the BMC is configured to: sending the alarm signal to a processing end; and the processing end sends out information for replacing the corresponding circuit board when receiving the alarm signal.
After signaling the risk, the BMC is configured to: sending the risk signal to a processing end; and when the processing end receives the risk signal, the power supply of the server is cut off.
In summary, the server power performance monitoring apparatus 10 is composed of a signal acquisition module 1, a control policy module 2, and a protection execution module 3. The signal acquisition module 1 includes a first high-speed analog-to-digital converter 11 and a second high-speed analog-to-digital converter 12, the control policy module 2 is preferably a DSP control system (hereinafter referred to as DSP), and the protection execution module 3 includes a baseboard management controller BMC to describe a specific use manner.
1) The signal acquisition module 1:
a double-channel high-speed analog-to-digital converter is adopted to simultaneously acquire a voltage signal and a current signal. The first high-speed analog-to-digital converter 11 acquires a capacitor voltage signal in real time through an output resistor with an output capacitor connected in parallel, and the second high-speed analog-to-digital converter 12 acquires a current signal in real time through a precision resistor with an inductor connected in series and converts the current signal into a digital signal. And transmitting the acquired digital voltage signal and digital current signal to the DSP through the SPI serial interface.
2) The control strategy module 2:
the DSP calculates the voltage effective value and the voltage ripple within the switching period T1 from the voltage signal transmitted from the first high-speed analog-to-digital converter 11, and calculates an average value for a plurality of times (e.g., N1 times) to obtain the voltage effective value and the voltage ripple. The DSP calculates the current effective value and the current ripple in the switching period T1 from the current signal transmitted from the second high-speed analog-to-digital converter 12, and calculates an average value for a plurality of times (e.g., N1 times) to obtain the current effective value and the current ripple.
And the DSP stores the calculated voltage effective value, voltage ripple, current effective value and current ripple into a register. If the voltage effective value, the voltage ripple and the current ripple exceed the alarm value, adding 1 to a first counter A; the second counter B is incremented by 1 if the risk value is exceeded.
The DSP calculates the values of a first counter A and a second counter B within the time T2. If the first counter A counts to A100 within the time T2, an alarm signal is sent out, otherwise, the first counter A is cleared; and if the second counter B counts to B100 within the time T2, sending a risk signal, otherwise, clearing the second counter B.
When the alarm signal and the risk signal are sent out, the DSP sends the alarm signal and the risk signal to the BMC through I2C communication, and simultaneously sends a voltage effective value, a voltage ripple, a current effective value and a current ripple to the BMC to remind a user of carrying out corresponding operation.
When an alarm signal is sent out, reminding a user that the corresponding board should be replaced in time; when sending the risk signal, in time cut off server power supply, prevent because of the too big burning board risk that leads to of voltage ripple, electric current ripple.
3) The protection execution module 3:
when the BMC receives the alarm signal sent by the DSP, the BMC informs a user of replacing the corresponding board in time, and displays the voltage effective value, the voltage ripple, the current effective value and the current ripple as the basis for evaluating the voltage and current performance by the user.
When the BMC receives the risk signal sent by the DSP, the power supply of the server is immediately cut off through the enabling signal, and the risk of baking the motherboard is avoided.
When the method is used specifically, the technical scheme of the application comprises the following specific implementation steps:
1) The first high-speed analog-to-digital converter 11 and the second high-speed analog-to-digital converter 12 are 14-bit, 3GSPS analog-to-digital converters (ADCs) using a dual-channel high-speed converter AD9208 of ADI. The device has an on-chip buffer and a sample-and-hold circuit, ensuring lower power consumption, smaller package size, and excellent ease of use. And sending the converted digital voltage signal and digital current signal to the DSP through SPI communication.
2) The control strategy module 2 adopts C64xx series DSP of TI company as a core processor, the working main frequency of the core processor reaches 1000MHz, the digital voltage signal and the digital current signal transmitted by the high-speed analog-to-digital converter AD9208 are received in real time, and a voltage effective value, a voltage ripple, a current effective value and a current ripple are calculated. If the voltage effective value, the voltage ripple and the current ripple exceed the alarm value, adding 1 to a first counter A; the second counter B is incremented by 1 if the risk value is exceeded. And determining whether to trigger the alarm signal and the risk signal by judging whether the first counter A and the second counter B reach the set values within the time T2. When the alarm signal and the risk signal are sent out, the DSP sends the alarm signal and the risk signal to the BMC through I2C communication, and simultaneously sends a voltage effective value, a voltage ripple, a current effective value and a current ripple to the BMC to remind a user of carrying out corresponding operation.
The protection execution module 3 adopts a BMC system of the server, when the BMC receives the alarm signal sent by the DSP, the BMC informs a user of replacing a corresponding board in time, and displays a voltage effective value, a voltage ripple, a current effective value and a current ripple as a basis for evaluating the voltage and current performance of the user. When the BMC receives the risk signal sent by the DSP, the power supply of the server is immediately cut off through the enabling signal, and the risk of baking the motherboard is avoided.
Therefore, the problem that the rear-end power supply device is damaged due to the fact that output voltage is abnormal and output voltage ripples are overlarge can be solved, the risk of burning the board is reduced, and the running performance of the server is improved. Secondly, the problem that the ripple current of the inductor is too large due to some unpredictable factors can be solved, the risk of burning the board due to serious heating of the inductor is avoided, and the running performance of the server is improved.
Among the above-mentioned server power performance monitoring device, through server power output capacitor voltage, inductive current performance control, in time know output capacitor voltage and inductive current's performance to in time make the protection according to output capacitor voltage and inductive current's performance, avoid crossing CPU, the PCH damage that leads to because of the output voltage performance hangs down, burn the board risk even.
For specific limitations of the server power performance monitoring apparatus, reference may be made to the above limitations of the server power performance monitoring method, which are not described herein again. All or part of each module in the server power performance monitoring device can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 11. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing server power performance monitoring data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a server power performance monitoring method.
Those skilled in the art will appreciate that the architecture shown in fig. 11 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
simultaneously, acquiring signals of capacitor voltage and inductor current output by a server power supply, and converting the signals into digital signals;
calculating and storing the voltage effective value and the voltage ripple of the output capacitor voltage in the switching period T1;
calculating and storing the current effective value and the current ripple of the inductive current in the switching period T1;
if any one of the voltage effective value, the voltage ripple and the current ripple exceeds the alarm value, adding 1 to a first counter A; if any one of the voltage effective value, the voltage ripple and the current ripple exceeds the risk value, adding 1 to a second counter B;
if the count of the first counter A reaches a first threshold value in the counting period T2, sending an alarm signal, otherwise, resetting the first counter A; and if the count of the second counter B reaches a second threshold value in the counting period T2, sending a risk signal, otherwise, clearing the second counter B.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
the method comprises the following steps of calculating and storing the voltage effective value and the voltage ripple of the output capacitor voltage in the switching period T1, and comprises the following steps:
acquiring a plurality of output capacitor voltage instantaneous values in a switching period T1;
calculating a voltage effective value and a voltage ripple of an output capacitor voltage instantaneous value in a switching period T1;
and taking the average value of multiple times (such as N1 times) to obtain the voltage effective value and the voltage ripple and storing the voltage effective value and the voltage ripple.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
the step of calculating and storing the current effective value and the current ripple of the inductive current in the switching period T1 comprises the following steps:
acquiring a plurality of inductor current instantaneous values in a switching period T1;
calculating a voltage effective value and a voltage ripple of an inductive current instantaneous value in a switching period T1;
and taking the average value calculated for multiple times (such as N1 times) to obtain the current effective value and the current ripple and storing the current effective value and the current ripple.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
after the alarm signal is sent out, the method further comprises the following steps:
sending the alarm signal to a processing end;
and the processing end sends out information for replacing the corresponding circuit board when receiving the alarm signal.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
after the risk signal is issued, further comprising:
sending the risk signal to a processing end;
and when the processing end receives the risk signal, the power supply of the server is cut off.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
the step of simultaneously acquiring the output capacitor voltage and the inductive current signal of the power supply of the server comprises the following steps:
collecting voltage signals at two ends of an output resistor connected with an output capacitor in parallel as the voltage of the output capacitor;
and acquiring voltage signals at two ends of a precision resistor connected with the output inductor in series to obtain the resistance value of the precision resistor, and dividing the voltage signals at the two ends of the precision resistor by the resistance value of the precision resistor to obtain the inductor current.
For specific limitations of the steps implemented when the processor executes the computer program, reference may be made to the above limitations of the method for monitoring the power performance of the server, and details thereof are not described herein again.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when executed by a processor, performs the steps of:
meanwhile, acquiring signals of capacitor voltage and inductor current output by a server power supply, and converting the signals into digital signals;
calculating and storing the voltage effective value and the voltage ripple of the output capacitor voltage in the switching period T1;
calculating and storing the current effective value and the current ripple of the inductive current in the switching period T1;
if any one of the voltage effective value, the voltage ripple and the current ripple exceeds the alarm value, adding 1 to a first counter A; if any one of the voltage effective value, the voltage ripple and the current ripple exceeds the risk value, adding 1 to a second counter B;
if the count of the first counter A reaches a first threshold value in the counting period T2, sending an alarm signal, otherwise, resetting the first counter A; and if the count of the second counter B reaches a second threshold value in the counting period T2, sending a risk signal, otherwise, clearing the second counter B.
In one embodiment, the computer program when executed by the processor further performs the steps of:
the method comprises the following steps of calculating and storing the voltage effective value and the voltage ripple of the output capacitor voltage in the switching period T1, and comprises the following steps:
acquiring a plurality of output capacitor voltage instantaneous values in a switching period T1;
calculating a voltage effective value and a voltage ripple of an output capacitor voltage instantaneous value in a switching period T1;
and taking the average value of multiple times (such as N1 times) to obtain the voltage effective value and the voltage ripple and storing the voltage effective value and the voltage ripple.
In one embodiment, the computer program when executed by the processor further performs the steps of:
the step of calculating and storing the current effective value and the current ripple of the inductive current in the switching period T1 comprises the following steps:
acquiring a plurality of inductor current instantaneous values in a switching period T1;
calculating a voltage effective value and a voltage ripple of an inductive current instantaneous value in a switching period T1;
and taking the average value of multiple times (such as N1 times) to obtain the current effective value and the current ripple and storing the current effective value and the current ripple.
In one embodiment, the computer program when executed by the processor further performs the steps of:
after the alarm signal is sent out, the method further comprises the following steps:
sending the alarm signal to a processing end;
and the processing end sends out information for replacing the corresponding circuit board when receiving the alarm signal.
In one embodiment, the computer program when executed by the processor further performs the steps of:
after the risk signal is issued, further comprising:
sending the risk signal to a processing end;
and when the processing end receives the risk signal, the power supply of the server is cut off.
In one embodiment, the computer program when executed by the processor further performs the steps of:
the step of simultaneously acquiring the output capacitor voltage and the inductive current signal of the server power supply comprises the following steps:
collecting voltage signals at two ends of an output resistor connected with an output capacitor in parallel as the voltage of the output capacitor;
and acquiring voltage signals at two ends of a precision resistor connected with the output inductor in series to obtain the resistance value of the precision resistor, and dividing the voltage signals at the two ends of the precision resistor by the resistance value of the precision resistor to obtain the inductor current.
For specific limitations of the steps implemented when the computer program is executed by the processor, reference may be made to the above limitations of the method for monitoring the performance of the server power supply, which are not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
Although the invention relates to a method, a device, computer equipment and a storage medium for monitoring the performance of the output capacitor voltage and the inductive current of the power supply of the server, the power supply quality of the power supply of the server is judged by detecting the effective value of the voltage, the voltage ripple, the effective value of the current and the current ripple, the power supply quality of the power supply of the server is ensured, and the risk of burning boards is prevented. The invention can be extended to the monitoring of the power consumption of the back-end equipment and the monitoring of the voltage effective value and the current effective value under the abnormal power failure condition, and has important effects on analyzing the power consumption of the back-end equipment and the power failure of the server, thereby ensuring the safe and stable operation of the server.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method for monitoring the power performance of a server is characterized by comprising the following steps:
meanwhile, acquiring signals of capacitor voltage and inductor current output by a server power supply, and converting the signals into digital signals;
calculating and storing the effective voltage value and voltage ripple of the output capacitor voltage in the switching period;
calculating and storing the current effective value and the current ripple of the inductive current in the switching period;
if any one of the voltage effective value, the voltage ripple and the current ripple exceeds the alarm value, adding 1 to the first counter; if any one of the voltage effective value, the voltage ripple and the current ripple exceeds the risk value, adding 1 to the second counter;
if the count of the first counter reaches a first threshold value in the counting period, sending an alarm signal, otherwise, resetting the first counter; and if the count of the second counter reaches a second threshold value in the counting period, sending a risk signal, otherwise, resetting the second counter.
2. The server power performance monitoring method according to claim 1, wherein the step of calculating and storing the effective voltage value and the voltage ripple of the output capacitor voltage in the switching period comprises:
acquiring a plurality of output capacitor voltage instantaneous values in a switching period;
calculating a voltage effective value and a voltage ripple of an output capacitor voltage instantaneous value in a switching period;
and taking the average value of multiple times of calculation to obtain and store the voltage effective value and the voltage ripple.
3. The method according to claim 2, wherein the step of calculating and storing the effective current value and the ripple current of the inductor current in the switching period comprises:
acquiring a plurality of inductor current transients during a switching cycle;
calculating a voltage effective value and a voltage ripple of an inductive current instantaneous value in a switching period;
and taking the average value of multiple times of calculation to obtain the current effective value and the current ripple and storing the current effective value and the current ripple.
4. The server power performance monitoring method of claim 1, further comprising, after issuing the alert signal:
sending the alarm signal to a processing end;
and the processing end sends out information for replacing the corresponding circuit board when receiving the alarm signal.
5. The server power performance monitoring method of claim 1, further comprising, after signaling the risk:
sending the risk signal to a processing end;
and when the processing end receives the risk signal, the power supply of the server is cut off.
6. The method for monitoring the performance of the power supply of the server according to claim 1, wherein the step of simultaneously acquiring the output capacitor voltage and the inductive current signal of the power supply of the server comprises the following steps:
collecting voltage signals at two ends of an output resistor connected with an output capacitor in parallel as the voltage of the output capacitor;
and acquiring voltage signals at two ends of a precision resistor with the output inductors connected in series to obtain the resistance value of the precision resistor, and dividing the voltage signals at two ends of the precision resistor by the resistance value of the precision resistor to obtain the inductive current.
7. A server power performance monitoring apparatus, the apparatus comprising:
the signal acquisition module is used for simultaneously acquiring signals of capacitor voltage and inductor current output by the server power supply and converting the signals into digital signals;
the control strategy module is used for calculating and storing the effective voltage value and voltage ripple of the output capacitor voltage and the effective current value and current ripple of the inductive current in the switching period; if any one of the voltage effective value, the voltage ripple and the current ripple exceeds the alarm value, adding 1 to the first counter; if any one of the voltage effective value, the voltage ripple and the current ripple exceeds the risk value, adding 1 to the second counter; if the count of the first counter reaches a first threshold value in the counting period, sending an alarm signal, otherwise, resetting the first counter; and if the count of the second counter reaches a second threshold value in the counting period, sending a risk signal, otherwise, resetting the second counter.
8. The server power performance monitoring apparatus according to claim 7,
the signal acquisition module comprises a first high-speed analog-to-digital converter and a second high-speed analog-to-digital converter; the first high-speed analog-to-digital converter is used for converting the acquired output capacitor voltage signal into a digital signal; the second high-speed analog-to-digital converter is used for converting the acquired inductive current signal into a digital signal;
the control strategy module comprises a capacitance voltage calculation unit, an inductance current calculation unit, a super-threshold value statistics unit and an alarm and risk signal sending unit; the capacitor voltage calculating unit is used for calculating and storing a voltage effective value and a voltage ripple of the output capacitor voltage in a switching period; the inductive current calculating unit is used for calculating and storing the current effective value and the current ripple of the inductive current in the switching period; the super-threshold statistical unit is used for adding 1 to the first counter if any one of the voltage effective value, the voltage ripple and the current ripple exceeds the alarm value; if any one of the voltage effective value, the voltage ripple and the current ripple exceeds the risk value, adding 1 to the second counter; the alarm and risk signal sending unit is used for sending an alarm signal if the count of the first counter reaches a first threshold value in a counting period, otherwise, the first counter is cleared; and if the count of the second counter reaches a second threshold value in the counting period, sending a risk signal, otherwise, resetting the second counter.
9. The server power performance monitoring apparatus according to claim 7, further comprising:
and the protection execution module is used for sending information of replacing the corresponding circuit board when receiving the alarm signal and cutting off power supply of the server when receiving the risk signal.
10. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 6 are implemented when the computer program is executed by the processor.
CN202211393447.0A 2022-11-08 2022-11-08 Server power performance monitoring method and device and computer equipment Pending CN115686169A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211393447.0A CN115686169A (en) 2022-11-08 2022-11-08 Server power performance monitoring method and device and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211393447.0A CN115686169A (en) 2022-11-08 2022-11-08 Server power performance monitoring method and device and computer equipment

Publications (1)

Publication Number Publication Date
CN115686169A true CN115686169A (en) 2023-02-03

Family

ID=85049932

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211393447.0A Pending CN115686169A (en) 2022-11-08 2022-11-08 Server power performance monitoring method and device and computer equipment

Country Status (1)

Country Link
CN (1) CN115686169A (en)

Similar Documents

Publication Publication Date Title
CN110739661B (en) Overcurrent protection device and board card
CN111426909B (en) Cable aging detection method and device, computer equipment and storage medium
CN116205638B (en) BMS-based industrial and commercial energy management system and management method thereof
CN107785998B (en) Monitoring method of distribution automation equipment in distribution system
CN115459204A (en) Device, method, equipment and medium for processing faults of parallel HSC (HSC) chips
CN112039064B (en) Control method based on power supply system and related device
CN116298538B (en) On-line monitoring method of intelligent capacitance compensation device
CN115686169A (en) Server power performance monitoring method and device and computer equipment
CN108963350B (en) Battery protection method and device
WO2015173228A1 (en) Improvements in or relating to chain-link converters
CN114421627B (en) Power supply monitoring system, control method and central monitoring unit
CN114186876B (en) Intelligent electricity safety supervision and electric energy management method and system
US10198053B2 (en) Techniques for communicating data amongst controllers in a power supply system
CN111062503A (en) Power grid monitoring alarm processing method, system, terminal and storage medium
CN113098085B (en) Charging processing method and electronic equipment
CN115940159A (en) Power grid operation control section monitoring method, system, device and storage medium
WO2022183739A1 (en) Data processing method and apparatus, energy information gateway, and internet of energy system
CN112865073B (en) Safety and stability control system switching method, device and equipment for power quick-drop fault
CN105067872A (en) Single-phase residual electricity quantity signal trigger and monitoring method
CN116317082B (en) Method, system and equipment for generating hybrid standby power supply configuration strategy
CN113884888B (en) Battery control method and device
CN115498699B (en) Energy storage converter grid-connected and off-grid switching method, system, equipment and medium
CN117748641A (en) Charging control method and device for standby power supply of server and storage medium
Yang et al. Smart Substation Performance Evaluation Method Based on Network Traffic
CN117435019A (en) Server power supply control method, device, equipment and 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