[go: up one dir, main page]

CN115639900A - Power failure detection circuit and server device - Google Patents

Power failure detection circuit and server device Download PDF

Info

Publication number
CN115639900A
CN115639900A CN202211232043.3A CN202211232043A CN115639900A CN 115639900 A CN115639900 A CN 115639900A CN 202211232043 A CN202211232043 A CN 202211232043A CN 115639900 A CN115639900 A CN 115639900A
Authority
CN
China
Prior art keywords
signal
signal output
power
interface
output
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
CN202211232043.3A
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.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital 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 Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN202211232043.3A priority Critical patent/CN115639900A/en
Publication of CN115639900A publication Critical patent/CN115639900A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

The application discloses power failure detection circuit and server equipment, this power failure detection circuit includes: the signal recording end is used for being connected with a main board power supply of the server equipment; the panel key input end is used for being connected with a panel key of the server device; the signal output end is used for being connected with an external interface of the server equipment; the signal recording interface of the programmable logic device is connected with the signal recording end, the panel key access interface of the programmable logic device is connected with the panel key input end, and the signal output interface of the programmable logic device is connected with the signal output end; the programmable logic device records and stores the power supply detection signal output by the signal recording end; the programmable logic device is also used for reading and outputting a power supply detection signal to the signal output interface when receiving a fault detection key signal accessed by the panel key input end.

Description

Power failure detection circuit and server device
Technical Field
The application relates to the technical field of servers, in particular to a power failure detection circuit and server equipment.
Background
With the continuous development of server technology, the functions are more and more perfect, and the diagnostic function of the system plays an important role in solving the server problem. At present, a Baseboard Management Controller (BMC) Device is usually relied on for power-up diagnosis in a server system, and fault location capability of hardware can be improved through cooperative work of the BMC and a Complex Programmable Logic Device (CPLD), and if the BMC Device is not set, a problem on a server motherboard cannot be located.
Disclosure of Invention
The application mainly aims to provide a power failure detection circuit and server equipment, and aims to multiplex and receive a failure detection key signal output by a panel key to realize failure location of power condition information.
To achieve the above object, the present application provides a power failure detection circuit, which includes:
the signal recording end is used for being connected with a main board power supply of the server equipment;
the panel key input end is used for being connected with a panel key of the server device;
the signal output end is used for being connected with an external interface of the server equipment;
the signal recording interface of the programmable logic device is connected with the signal recording end, the panel key access interface of the programmable logic device is connected with the panel key input end, and the signal output interface of the programmable logic device is connected with the signal output end;
the programmable logic device records and stores the power detection signal output by the signal recording end; and the programmable logic device is also used for reading and outputting the power detection signal to the signal output interface when receiving a fault detection key signal accessed from the panel key input end.
As an example, the programmable logic device includes:
the signal recording and storing circuit is connected with the signal recording end and is used for receiving and storing the power supply detection signal through the signal recording end;
and the signal output control circuit is respectively connected with the signal recording and storing circuit and the panel key input end, and is used for reading and outputting the power supply detection signal to the signal output interface when receiving a fault detection key signal accessed from the panel key input end.
As an example, the signal recording storage circuit includes:
the signal recording storage circuit is used for receiving the power supply detection signal through the signal recording end;
and the storage module is connected with the signal recording module and used for storing the power supply detection signal.
As an example, the signal output control circuit includes:
the signal output module is arranged between the storage module and the signal output end in series;
the control module is used for controlling the signal output module to read and output the power detection signal to the signal output interface when receiving a fault detection key signal accessed by the panel key input end.
As an example, the programmable logic device further includes an interface switching circuit, a first transmission terminal of the interface switching circuit is connected to the signal output module, a second transmission terminal of the interface switching circuit is used for being connected to a controller of the server device, and an output terminal of the interface switching circuit is connected to the signal output interface;
the control module is further configured to control the first transmission end of the interface switching circuit to communicate with the signal output interface to output the power detection signal to the signal output interface when receiving a fault detection key signal accessed from the panel key input end.
As an example, the signal output control circuit is further connected to the controller of the server device, and the signal output control circuit is further configured to control the second transmission terminal of the interface switching circuit to communicate with the signal output interface when receiving a start feedback signal output by the controller of the server device, so as to receive system information output by the controller of the server device and output the system information to the signal output interface.
As an example, the signal recording storage circuit is further connected with a controller of a server device through the signal recording terminal; the signal recording and storing circuit is also used for recording standby signals output by a controller of the server equipment at the signal recording end;
the signal output control circuit is also used for reading and outputting the standby signal to the signal output interface when receiving a fault detection key signal accessed by the panel key input end.
As an example, the signal output control circuit is further connected to the controller of the server device, and the signal output control circuit is further configured to read and output the power detection signal to the signal output interface when receiving a viewing control signal output by the controller of the server device.
As an example, the power failure detection circuit further includes:
the enabling signal output end is used for being connected with a main board power supply of the server equipment;
the programmable logic device is also used for outputting a power supply enabling signal to a mainboard power supply of the server equipment through the enabling signal output end.
As an example, the signal output interface of the programmable logic device is a serial port;
and/or the programmable logic device is a CPLD.
As an example, the power failure detection circuit further includes:
a standby power supply connected with the programmable logic device.
The application also provides a server device, which comprises a mainboard power supply, a panel key and the power failure detection circuit;
the signal recording end of the power failure detection circuit is connected with the main board power supply, and the panel key input end of the power failure detection circuit is connected with the panel key.
As an example, the server apparatus further includes a controller connected to the signal output control circuit of the power failure detection circuit; and the controller is used for controlling the signal output control circuit to read and output the power detection signal to the signal output interface when receiving a checking control signal output by the controller of the server equipment when receiving an information inquiry instruction.
According to the power detection method and device, the programmable logic device is arranged, and the power detection signals output by the signal recording end are recorded and stored through the programmable logic device, so that when the fault detection key signals output by the panel keys are received, the power detection signals are read and output to the signal output interface. According to the method and the device, when the server equipment is abnormally started, the fault detection key signals output by the panel keys are multiplexed and received to realize the fault location of the power supply condition information.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art according to the structures shown in the drawings without creative efforts.
Fig. 1 is a schematic circuit structure diagram of an embodiment in which a power failure detection circuit is applied to a server device according to the present application.
The reference numbers illustrate:
reference numerals Name (R) Reference numerals Name (R)
100 Programmable logic device 122 Control module
110 Signal recording and storing circuit 130 Interface switching circuit
111 Signal recording module 200 Mainboard power supply
112 Memory module 300 Panel push-button
120 Signal output control circuit 400 Controller
121 Signal output module 500 RS232 interface chip
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that, if directional indications (such as up, down, left, right, front, and back … …) are involved in the embodiment of the present application, the directional indications are only used to explain the relative position relationship between the components, the motion situation, and the like in a specific posture (as shown in the drawing), and if the specific posture is changed, the directional indications are changed accordingly.
In addition, if there is a description of "first", "second", etc. in the embodiments of the present application, the description of "first", "second", etc. is for descriptive purposes only and is not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present application.
The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
The application provides a power failure detection circuit, and the application can be applied to a server, and utilizes a panel key of the server to realize power failure positioning of the server.
Referring to fig. 1, in an embodiment of the present application, the power failure detection circuit includes:
the signal recording end is used for being connected with a main board power supply 200 of the server equipment;
a panel key input terminal for connecting with a panel key 300 of the server device;
the signal output end is used for being connected with an external interface of the server equipment;
the signal recording interface of the programmable logic device 100 is connected with the signal recording end, the panel key 300 access interface of the programmable logic device 100 is connected with the panel key input end, and the signal output interface of the programmable logic device 100 is connected with the signal output end; wherein,
the programmable logic device 100 records and stores the power detection signal output by the signal recording end; the programmable logic device 100 is further configured to read and output a Power detect (Power Good) signal to the signal output interface when receiving a fault detection key signal accessed from the key input terminal of the panel.
The power failure detection circuit further includes:
an enable signal output terminal for connecting with a motherboard power supply 200 of the server device;
the programmable logic device 100 is further configured to output a power enable signal to the motherboard power supply 200 of the server apparatus through the enable signal output terminal.
A standby power supply (not shown) connected to the programmable logic device 100. The standby power supply, that is, the standby power supply is different from the motherboard power supply 200, and when the server is shut down, in standby mode, or in power failure, and the like, the standby power supply can supply power to the programmable logic device 100 and other devices, so as to ensure normal use of basic functions of the server.
In this embodiment, the Programmable Logic Device 100 may be a CPLD (Complex Programmable Logic Device), a PLD (Programmable Logic Device), or an FPGA (Field Programmable Gate Array). The power failure detection circuit of the embodiment is applied to a server device, and the server device has a housing, a motherboard and a motherboard power supply 200 arranged in the housing, a functional module arranged on the motherboard, and the like, and a panel key 300 arranged on the housing, and the like. The programmable logic device 100 in this embodiment may be disposed on a motherboard of a server device, the programmable logic device 100 may be connected to the panel button 300, the motherboard power supply 200, and the controller 400 disposed on the motherboard, respectively, and the programmable logic device 100 may receive a button instruction, such as a power-on instruction, a power-off instruction, and the like, output by the panel button 300 when triggered by a user. The programmable logic device 100 may output a Power En signal to the motherboard Power supply 200 according to the received Power-on command, so as to Power on the motherboard Power supply 200. The motherboard power supply 200 can supply power to functional modules, integrated chips, and the like on the motherboard. It is understood that the panel key 300 may be configured as a power-on key, a power-off key, etc. during normal operation, and may be configured as a trouble check key when the server is powered on abnormally. That is, the panel key 300 may implement functional multiplexing, and as an example, the panel key may be combined into a specific key combination sequence through the difference of the number of single keys, the number of keys, the key pressing duration, and the like, so as to control the condition of the motherboard power supply 200 output record by the external interface. The external interface can be used for accessing external equipment, such as equipment such as a PC client, an external display device and the like which can be used for displaying problem power supplies of a server mainboard.
During the Power-up of the motherboard Power supply 200, the motherboard Power supply 200 feeds back a Power-supply detection (PowerGood) signal regarding the Power-up condition of the Power supply, i.e., a PowerGood signal: the programmable logic device 100 records and stores a power detection signal fed back by the motherboard power supply 200, and the power detection signal can be used to determine whether the power supply is normal. For example, when the motherboard power supply 200 is normally powered on, the motherboard power supply 200 may feed back a high-level power detection signal, and when the motherboard power supply 200 is abnormally powered on, the motherboard power supply 200 may feed back a low-level power detection signal. Be provided with multichannel power output on the mainboard power 200, to every power output of the same way, can export a power detection signal, when looking over power information, can look over which power of the same way breaks down, and then realizes the fault problem location.
When the power failure fault occurs to the server device, the motherboard power supply 200 cannot be started, and then cannot supply power to the functional modules on the motherboard, so that the server device cannot be started to normally work, which may cause the situation that the complete machine of the server device cannot be normally started, if a BMC device (Baseboard Management controller 400) is arranged on the motherboard of the server device, the fault location function of hardware can be achieved through the cooperative work of the BMC and the CPLD, if the BMC is not arranged on the motherboard of the server device, the failure diagnosis of the motherboard can not be performed, and the server device needs to be dismounted and repaired.
Therefore, in this embodiment, the hardware structure that the panel KEY 300 outputs a KEY instruction to the programmable logic device 100 is utilized to receive a fault detection KEY signal (KEY) generated by the user triggering the panel KEY 300, and when receiving the fault detection KEY signal, the programmable logic device 100 outputs a stored power detection signal to an external interface of the server device, such as a serial port, a network port, and the like, so as to transmit the power condition to the receiving device of the user, and a maintenance worker can directly receive information through the external receiving device to locate the power fault.
In practical application, a user sends a power-on instruction to the server device through the panel key 300 on the housing, or sends a power-on instruction to the server device through remote start or other manners, where the power-on instruction may be received by the enable control module 122 on the motherboard and output to the motherboard power supply 200 after generating a power enable signal, or when the panel key 300 of the server is pressed or the server receives a remotely sent power-on instruction, the signal level of the power key changes, at this time, the key signal of the power key sends the programmable logic device 100, and the programmable logic device 100 records and generates the power enable signal and outputs the power enable signal to the motherboard power supply 200. The motherboard power supply 200 starts power-up when receiving the power enable signal, feeds back the power detection signal in the power-up process to the programmable logic device 100, and the programmable logic device 100 records and stores the power detection signal and the power enable signal. If the motherboard power supply 200 is powered on abnormally, a user can send a fault check instruction through the panel keys 300 on the housing, that is, a fault detection key signal is sent to the programmable logic device 100, and when receiving the fault detection key signal, the programmable logic device 100 outputs a stored power detection signal to an external interface of the server device, so that the user can receive information through external receiving equipment to obtain the specific situation of abnormal occurrence, and locate the power fault. When the motherboard power supply 200 is normally powered on, the server device can be normally started to work, and a user can also select whether to check the power supply condition of the motherboard power supply 200 according to the requirement, and at this time, the user can send a power supply check instruction to the controller 400 of the server device, or send a power-on instruction through the panel key 300 on the housing, so as to trigger the programmable logic device to send power supply condition information to the external receiving device, thereby completing the check of the power supply condition, which is not limited here.
According to the power detection method and device, the programmable logic device 100 is arranged, and the power detection signals output by the signal recording end are recorded and stored through the programmable logic device 100, so that when the fault detection key signals output by the panel key 300 are received, the power detection signals are read and output to the signal output interface. According to the method and the device, when the server equipment is abnormally started, the fault detection key signals output by the panel keys 300 are multiplexed and received to realize the output and checking of the power supply condition information, so that the power supply fault location is realized.
Referring to fig. 1, in an embodiment of the present application, the programmable logic device 100 includes:
the signal recording and storing circuit 110 is connected with the signal recording end, and the signal recording and storing circuit 110 is used for receiving and storing the power detection signal through the signal recording end;
and the signal output control circuit 120 is respectively connected with the signal recording and storing circuit 110 and the panel key input end, and the signal output control circuit 120 is used for reading and outputting the power supply detection signal to the signal output interface when receiving a fault detection key signal accessed from the panel key input end.
In this embodiment, the signal recording and storing circuit 110 may record and store power detection signals output during the power-on process of the motherboard power supply 200, the power detection signals may be represented in a high-low level manner, multiple power supply sources may be disposed on the motherboard power supply 200, a power detection signal may be output according to the power-on condition of each power supply, the signal recording and storing circuit 110 may store the power detection signals respectively, and the signal recording and storing circuit 110 may also record and store power enabling signals output by the programmable logic device 100. The signal output control circuit 120 may identify a key signal output from the key input end of the panel, and under different working conditions, respond to a corresponding action according to the received key signal, for example, when the server device is operating normally, output corresponding status information according to the received key signal, and when the server is started abnormally, when the user triggers the fault detection key signal through the panel key 300, the signal output control circuit 120 reads and outputs the power detection signal to the signal output interface, in some embodiments, the signal output control circuit 120 may also read and output the power enable signal to the signal output interface, so that the user can locate the power fault according to the power detection signal and the power enable signal.
As an example, the signal recording storage circuit 110 includes:
the signal recording module 111 is connected with the signal recording end, and the signal recording storage circuit 110 is configured to receive the power detection signal through the signal recording end;
and the storage module 112 is connected with the signal recording module 111 and is used for storing the power detection signal.
In this embodiment, the signal recording module 111 is configured to sample and record a signal at a signal recording end, and the storage module 112 may store the power detection signal. The signal recording module 111 writes the power detection signal into the storage module 112, and the storage module 112 may also store software code information, predefined status information, and the like of the CPLD operation. The signal recording module 111 may be implemented by an ADC sampling circuit, a register, etc., the ADC sampling circuit obtains a power detection signal output by the power board and outputs the power detection signal to the register for temporary storage, and meanwhile, the ADC sampling circuit may also output the power detection signal to a memory to store the power detection signal output by the power board during a working process, and the storage module 112 may be implemented by a storage medium, such as a memory, etc.
Referring to fig. 1, in an embodiment of the present application, the signal output control circuit 120 includes:
a signal output module 121, which is arranged in series between the storage module 112 and the signal output end;
a signal receiving end of the control module 122 is connected to the panel key input end, a control end of the control module 122 is connected to a controlled end of the signal output module 121, and the control module 122 is configured to control the signal output module 121 to read and output the power detection signal to the signal output interface when receiving a fault detection key signal accessed from the panel key input end.
In this embodiment, the signal output module 121 may convert the information stored in the storage module 112 into information of an external interface type accessed by the signal output interface, for example, the signal output interface of the CPLD is a serial port, and the signal output interface is connected to the RS232 interface chip 500, so that the signal output module 121 may convert the stored signal into a signal supporting the RS232 protocol. The control module 122 may receive a key instruction output by the panel key 300, or may receive a control instruction output by the controller 400 on the server device, and output corresponding status information and the like in response to the instruction. In this embodiment, the panel key 300 may be used to output a failure detection key signal, and when receiving the failure detection key signal, the control module 122 may control the signal output module 121 to operate, read the stored power detection signal, power enable signal, and the like from the storage module 112, and output the power detection signal, power enable signal, and the like to the signal output interface, so as to output the power detection signal, power enable signal, and the like to the external interface through the signal output interface. The signal output module 121 may be implemented by an interface conversion circuit. The control module 122 may be a control center of the programmable logic device 100, and may be implemented by a logic array integrated in the programmable logic device 100, a product item selection matrix, an I/O controller, a programmable interconnect array, and the like.
Referring to fig. 1, in an embodiment of the present application, the programmable logic device 100 further includes an interface switching circuit 130, a first transmission terminal of the interface switching circuit 130 is connected to the signal output module 121, a second transmission terminal of the interface switching circuit 130 is configured to be connected to a controller 400 of a server device, and an output terminal of the interface switching circuit 130 is connected to the signal output interface;
the control module 122 is further configured to control the first transmission end of the interface switching circuit 130 to be communicated with the signal output interface when receiving a fault detection key signal accessed from the panel key input end, so as to output the power detection signal to the signal output interface.
The signal output control circuit 120 is further connected to the controller 400 of the server device, and the signal output control circuit 120 is further configured to control the second transmission terminal of the interface switching circuit 130 to communicate with the signal output interface when receiving a start feedback signal output by the controller 400 of the server device, so as to receive the system information output by the controller 400 of the server device and output the system information to the signal output interface.
In this embodiment, the interface switching circuit 130 is equivalent to a single-pole double-throw switch, when the server device normally works, the second transmission terminal of the interface switching circuit 130 and the signal output interface may be set to be in a normal connection, that is, the controller 400 and the signal output interface of the server device are in a connection state by default, when the server device is normally powered on, the controller 400 is powered by the motherboard power supply 200 to complete start-up work such as initialization, for example, after the BOOT bootstrap of the controller 400 is successful in start-up, the controller 400 outputs user serial port information or system serial port information (CPU UART) to the outside through a channel through which the second transmission terminal is communicated with the signal output interface. Or, the connection state of the interface switching circuit 130 may be controlled by the controller 400, when the server device is normally powered on, the controller 400 is powered by the motherboard power supply 200, and the start-up work such as initialization is completed, for example, after the BOOT program guides the controller 400 to successfully start up, the controller 400 outputs a start-up feedback signal to the programmable logic device 100, and the programmable logic device 100 switches the interface switching circuit 130 to the second transmission end to communicate with the signal output interface, so that the controller 400 may output the user serial port information or the system serial port information (CPU) to the outside. Under the condition of abnormal power-on of the server device, the control module 122 may control the first transmission terminal of the interface switching circuit 130 to communicate with the signal output interface through a fault detection key signal triggered by the panel key 300, so that the output module reads and outputs the power detection signal to the signal output interface. According to the method and the device, on the basis that the connection relation between the programmable logic device 100 and other components in the server equipment, namely a hardware architecture, is not changed, the output of normal user serial port information or system serial port information and abnormal power supply information can be realized by arranging the interface switching circuit 130 in the programmable logic device 100, the cost of the server equipment is reduced, and meanwhile the problem that the internal fault of a single board is difficult to position can be solved.
Referring to fig. 1, in an embodiment of the present application, the signal output control circuit 120 is further connected to a controller 400 of the server device, and the signal output control circuit 120 is further configured to read and output the power detection signal to the signal output interface when receiving a view control signal, that is, a control signal, output by the controller 400 of the server device.
It can be understood that, based on the requirement of practical application, it is possible that the power information or the system function is normal, or that a part of the functions of the server device are abnormal, and when the main functions of the server device are not affected, a user needs to check whether the system has abnormal power failure or not. At this time, the user may send a viewing instruction to the controller 400 through a user input device, such as a mouse, a keyboard, or a remote control, and the controller 400 may output a control signal to the signal output control circuit 120 to control the output control circuit to output the stored power supply detection signal when receiving the viewing instruction.
Referring to fig. 1, in an embodiment of the present application, the signal recording storage circuit 110 is further connected to a controller 400 of a server device through the signal recording terminal; the signal recording storage circuit 110 is further configured to record a standby (Sleep) signal output by the controller 400 of the server apparatus on the signal recording side;
the signal output control circuit 120 is further configured to read and output the standby signal to the signal output interface when receiving a fault detection key signal accessed from the key input end of the panel.
In this embodiment, the main board power supply 200 may supply power to the controller 400, the number of the controllers 400 on the main board may be multiple, the main board power supply 200 provides a power supply source for each controller 400, and when the main board power supply 200 powers on the controllers 400, the controllers 400 may output a standby signal, that is, a Sleep signal: the standby state indication signal of the controller 400 may be used to determine whether the corresponding controller 400 is powered on successfully, and when the user triggers the failure detection key signal through the panel key 300, the signal output control circuit 120 outputs the recorded and stored standby signal, power detection signal, and power enable signal to the external interface of the server device, so that the user can check the power condition of the single board power supply, that is, the power condition of the motherboard power supply 200 and the power on condition of the CPU.
The application also provides a server device.
Referring to fig. 1, the server apparatus includes a motherboard power supply 200, a panel key 300, and the power failure detection circuit as described above;
the signal recording end of the power failure detection circuit is connected with the main board power supply 200, and the panel key input end of the power failure detection circuit is connected with the panel key 300.
The detailed structure of the power failure detection circuit can refer to the above embodiments, and is not described herein again; it can be understood that, because the power failure detection circuit is used in the server device of the present application, embodiments of the server device of the present application include all technical solutions of all embodiments of the power failure detection circuit, and the achieved technical effects are also completely the same, and are not described herein again.
In this embodiment, the motherboard power supply 200 is configured to output a power supply to the functional modules on the motherboard to supply power to the functional modules. The power supply voltage of each functional module may be the same or different, for example, the power supply voltage of some functional modules, such as an integrated chip, may be 3.3V or 5V, and for this reason, the motherboard power supply 200 may provide the required voltage for each functional module. In the process of powering on the motherboard power supply 200, when each power branch in the motherboard power supply 200 is in a connected state (i.e., is connected to an input voltage), and the input voltage reaches a preset voltage, the motherboard power supply 200 may send a high-level power detection signal indicating "power is normal". When the input voltage does not reach the preset voltage, a low level power detection signal indicating a "power failure" signal may be issued. The panel key 300 may be used for power on/off, setting of operating mode, and the like of the server device, and may be set according to the type of the server and the function to be implemented in practical application, which is not limited herein. The panel may be provided with keys such as an on/off key, a User Identification (UID) key, and the like. The UID key is convenient for operation and maintenance personnel to identify the appointed server machine by lighting the UID indicator lamp. The number of the panel keys 300 may be one or multiple, in this embodiment, the failure detection key signal may be triggered based on one panel key 300, or may be triggered by multiple combinations, and when triggered based on one panel key 300, the key has at least two functions, one of which is to trigger the failure detection key signal, and the other is the original function. When multiple combinations are used, a key signal sequence may be generated by a particular key combination on the device panel to trigger a failure detection key signal. When the server equipment is started abnormally, the original surface keys of the product are reused, and the veneer fault diagnosis is realized by using the cooperation of the key combination and the CPLD, so that the cost is reduced, and the problem of difficult positioning of the internal fault of the veneer is solved.
Referring to fig. 1, in an embodiment of the present application, the server apparatus further includes a controller 400, the controller 400 and the signal output control circuit 120 of the power failure detection circuit; the controller 400 is configured to, when receiving the information query instruction, control the signal output control circuit 120 to read and output the power detection signal to the signal output interface when receiving the check control signal output by the controller 400 of the server device.
In this embodiment, the controller 400 may be a CPU, a single chip, or other components with similar functions, the number of the controllers 400 is one or more, and the power supplies of the plurality of controllers 400 may be the same or different. When the server normally works, that is, the motherboard power supply 200 powers on the controller 400, successfully starts up, and completes initialization and other works, the controller 400 may output a start feedback (boot ok) signal to the programmable logic device 100 in the power failure detection circuit, the programmable logic device 100 detects the start feedback signal of the controller 400, and the default control interface switching circuit 130 connects the controller 400 and the signal output interface to realize external output of user serial port information or system serial port information. When a client wants to check the power information or system function on the board, or part of the system is abnormal, the control signal of the controller 400 may control the programmable logic device 100 to output the stored power detection signal, so that a user can check whether abnormal power failure or the like exists. When the device cannot be started, the controller 400 outputs a standby (Sleep) signal to the programmable logic device 100, and the programmable logic device 100 detects that a start feedback signal of the controller 400 is at an invalid level, at this time, the programmable logic device 100 may connect the interface switching circuit 130 to the output control circuit and the signal output interface. The user can send a specific key combination sequence, i.e., a failure detection key signal, on the device panel to the output control circuit of the programmable logic device 100, and the output control circuit recognizes a key sequence command to output a single-board power supply detection signal, a power supply enable signal and a CPU standby signal condition recorded for external serial port output when the start feedback is invalid.
The above description is only an alternative embodiment of the present application, and not intended to limit the scope of the present application, and all modifications and equivalents of the technical solutions that can be directly or indirectly applied to other related fields without departing from the spirit of the present application are intended to be included in the scope of the present application.

Claims (10)

1.一种电源故障检测电路,其特征在于,所述电源故障检测电路包括:1. A power failure detection circuit, characterized in that, the power failure detection circuit comprises: 信号记录端,用于与服务器设备的主板电源连接;The signal recording terminal is used to connect with the motherboard power supply of the server equipment; 面板按键输入端,用于与服务器设备的面板按键连接;The panel key input terminal is used to connect with the panel keys of the server equipment; 信号输出端,用于与服务器设备的对外接口连接;The signal output terminal is used to connect with the external interface of the server equipment; 可编程逻辑器件,所述可编程逻辑器件的信号记录接口与所述信号记录端连接,所述可编程逻辑器件的面板按键接入接口与所述面板按键输入端连接,所述可编程逻辑器件的信号输出接口与所述信号输出端连接;A programmable logic device, the signal recording interface of the programmable logic device is connected to the signal recording end, the panel key access interface of the programmable logic device is connected to the panel key input end, and the programmable logic device The signal output interface is connected to the signal output end; 所述可编程逻辑器件记录并存储所述信号记录端输出的电源检测信号;所述可编程逻辑器件还用于在接收到所述面板按键输入端接入的故障检测按键信号时,读取并输出所述电源检测信号至所述信号输出接口。The programmable logic device records and stores the power detection signal output by the signal recording terminal; the programmable logic device is also used to read and Outputting the power detection signal to the signal output interface. 2.如权利要求1所述的电源故障检测电路,其特征在于,所述可编程逻辑器件包括:2. The power failure detection circuit according to claim 1, wherein the programmable logic device comprises: 信号记录存储电路,与所述信号记录端连接,所述信号记录存储电路用于通过所述信号记录端接收并存储电源检测信号;A signal recording and storage circuit connected to the signal recording terminal, the signal recording and storage circuit is used to receive and store the power detection signal through the signal recording terminal; 信号输出控制电路,分别与所述信号记录存储电路及所述面板按键输入端连接,所述信号输出控制电路用于在接收到所述面板按键输入端接入的故障检测按键信号时,读取并输出所述电源检测信号至所述信号输出接口。The signal output control circuit is respectively connected with the signal record storage circuit and the input terminal of the panel key, and the signal output control circuit is used to read And output the power detection signal to the signal output interface. 3.如权利要求2所述的电源故障检测电路,其特征在于,所述信号记录存储电路包括:3. The power failure detection circuit as claimed in claim 2, wherein the signal record storage circuit comprises: 信号记录模块,与所述信号记录端连接,所述信号记录存储电路用于通过所述信号记录端接收所述电源检测信号;A signal recording module connected to the signal recording terminal, the signal recording storage circuit is used to receive the power detection signal through the signal recording terminal; 存储模块,与所述信号记录模块连接,用于存储所述电源检测信号。The storage module is connected with the signal recording module and is used for storing the power detection signal. 4.如权利要求2所述的电源故障检测电路,其特征在于,所述信号输出控制电路包括:4. The power failure detection circuit according to claim 2, wherein the signal output control circuit comprises: 信号输出模块,串联设置于所述存储模块与所述信号输出端之间;A signal output module is arranged in series between the storage module and the signal output end; 控制模块,所述控制模块的信号接收端与所述面板按键输入端连接,所述控制模块的控制端与所述信号输出模块的受控端连接,所述控制模块用于在接收到所述面板按键输入端接入的故障检测按键信号时,控制所述信号输出模块读取并输出所述电源检测信号至所述信号输出接口。A control module, the signal receiving end of the control module is connected to the panel button input end, the control end of the control module is connected to the controlled end of the signal output module, and the control module is used to receive the When the fault detection button signal is connected to the input terminal of the panel button, the signal output module is controlled to read and output the power detection signal to the signal output interface. 5.如权利要求4所述的电源故障检测电路,其特征在于,所述可编程逻辑器件还包括接口切换电路,所述接口切换电路的第一传输端与所述信号输出模块连接,所述接口切换电路的第二传输端用于与服务器设备的控制器连接,所述接口切换电路的输出端与所述信号输出接口;5. The power failure detection circuit according to claim 4, wherein the programmable logic device further comprises an interface switching circuit, the first transmission end of the interface switching circuit is connected to the signal output module, and the The second transmission end of the interface switching circuit is used to connect with the controller of the server device, and the output end of the interface switching circuit is connected to the signal output interface; 所述控制模块还用于接收到所述面板按键输入端接入的故障检测按键信号时,控制所述接口切换电路的第一传输端与所述信号输出接口连通,以输出所述电源检测信号至所述信号输出接口。The control module is also configured to control the first transmission end of the interface switching circuit to communicate with the signal output interface to output the power detection signal when receiving the fault detection key signal connected to the input terminal of the panel key. to the signal output interface. 6.如权利要求5所述的电源故障检测电路,其特征在于,所述信号输出控制电路还与服务器设备的控制器连接,所述信号输出控制电路还用于在接收到服务器设备的控制器输出的启动反馈信号时,控制所述接口切换电路的第二传输端与所述信号输出接口连通,以接收服务器设备的控制器输出的系统信息并输出至所述信号输出接口。6. The power failure detection circuit according to claim 5, wherein the signal output control circuit is also connected with the controller of the server device, and the signal output control circuit is also used for receiving the signal from the controller of the server device When the start feedback signal is output, the second transmission end of the interface switching circuit is controlled to communicate with the signal output interface, so as to receive the system information output by the controller of the server device and output it to the signal output interface. 7.如权利要求2所述的电源故障检测电路,其特征在于,所述信号记录存储电路还通过所述信号记录端与服务器设备的控制器连接;所述信号记录存储电路还用于通过所述信号记录端服务器设备的控制器输出的待机信号;7. The power failure detection circuit according to claim 2, wherein the signal record storage circuit is also connected to the controller of the server device through the signal record end; the signal record storage circuit is also used to pass the signal record The standby signal output by the controller of the server device at the signal recording end; 所述信号输出控制电路,还用于在接收到所述面板按键输入端接入的故障检测按键信号时,读取并输出所述待机信号至所述信号输出接口;The signal output control circuit is also used to read and output the standby signal to the signal output interface when receiving the fault detection button signal connected to the panel button input terminal; 和/或,所述信号输出控制电路还与服务器设备的控制器连接,所述信号输出控制电路还用于在接收到服务器设备的控制器输出的查看控制信号时,读取并输出所述电源检测信号至所述信号输出接口。And/or, the signal output control circuit is also connected to the controller of the server device, and the signal output control circuit is also used to read and output the power supply when receiving the viewing control signal output by the controller of the server device. The detection signal is sent to the signal output interface. 8.如权利要求1-7任意一项所述的电源故障检测电路,其特征在于,所述电源故障检测电路还包括:8. The power failure detection circuit according to any one of claims 1-7, wherein the power failure detection circuit further comprises: 使能信号输出端,用于与服务器设备的主板电源连接;The enable signal output terminal is used to connect with the motherboard power supply of the server equipment; 所述可编程逻辑器件还用于通过所述使能信号输出端向服务器设备的主板电源输出电源使能信号;The programmable logic device is further configured to output a power enable signal to the motherboard power supply of the server device through the enable signal output terminal; 和/或,所述电源故障检测电路还包括:And/or, the power failure detection circuit also includes: 待机电源,所述待机电源与所述可编程逻辑器件连接。A standby power supply, the standby power supply is connected to the programmable logic device. 9.一种服务器设备,其特征在于,所述服务器设备包括主板电源、面板按键及如权利要求1-8任意一项所述电源故障检测电路;9. A server device, characterized in that, the server device comprises a mainboard power supply, a panel button and a power failure detection circuit according to any one of claims 1-8; 所述电源故障检测电路的信号记录端与所述主板电源连接,所述电源故障检测电路的面板按键输入端与所述面板按键连接。The signal recording end of the power failure detection circuit is connected to the mainboard power supply, and the panel key input end of the power failure detection circuit is connected to the panel keys. 10.如权利要求9所述的服务器设备,其特征在于,所述服务器设备还包括控制器,所述控制器与所述电源故障检测电路的信号输出控制电路;所述控制器,用于接收到信息查询指令时,控制所述信号输出控制电路在接收到服务器设备的控制器输出的查看控制信号时,读取并输出所述电源检测信号至所述信号输出接口。10. The server device according to claim 9, wherein the server device further comprises a controller, the controller and the signal output control circuit of the power failure detection circuit; the controller is configured to receive When an information query instruction is received, the signal output control circuit is controlled to read and output the power detection signal to the signal output interface when receiving the check control signal output by the controller of the server device.
CN202211232043.3A 2022-09-30 2022-09-30 Power failure detection circuit and server device Pending CN115639900A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211232043.3A CN115639900A (en) 2022-09-30 2022-09-30 Power failure detection circuit and server device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211232043.3A CN115639900A (en) 2022-09-30 2022-09-30 Power failure detection circuit and server device

Publications (1)

Publication Number Publication Date
CN115639900A true CN115639900A (en) 2023-01-24

Family

ID=84941309

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211232043.3A Pending CN115639900A (en) 2022-09-30 2022-09-30 Power failure detection circuit and server device

Country Status (1)

Country Link
CN (1) CN115639900A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118170576A (en) * 2024-03-21 2024-06-11 深圳市通微科技有限公司 A computer diagnosis method based on recording power-on and power-off of computer boards

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103744769A (en) * 2014-01-18 2014-04-23 浪潮电子信息产业股份有限公司 Rapid error positioning method of power supply of server based on complex programmable logic device (CPLD)
CN103995493A (en) * 2014-05-19 2014-08-20 中国电子科技集团公司第四十五研究所 Programmable logic power supply controller
CN108227885A (en) * 2018-01-02 2018-06-29 郑州云海信息技术有限公司 A kind of method of modularized design button multiplexing function
CN108304056A (en) * 2018-01-29 2018-07-20 郑州云海信息技术有限公司 A kind of method, apparatus and computer readable storage medium of button multiplexing
CN108563294A (en) * 2018-04-02 2018-09-21 郑州云海信息技术有限公司 A kind of server management system that ID buttons are multi-purpose
CN112463443A (en) * 2020-11-18 2021-03-09 北京东土科技股份有限公司 Server with AC LOSS function and method for automatically powering on and starting up after abnormal power failure

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103744769A (en) * 2014-01-18 2014-04-23 浪潮电子信息产业股份有限公司 Rapid error positioning method of power supply of server based on complex programmable logic device (CPLD)
CN103995493A (en) * 2014-05-19 2014-08-20 中国电子科技集团公司第四十五研究所 Programmable logic power supply controller
CN108227885A (en) * 2018-01-02 2018-06-29 郑州云海信息技术有限公司 A kind of method of modularized design button multiplexing function
CN108304056A (en) * 2018-01-29 2018-07-20 郑州云海信息技术有限公司 A kind of method, apparatus and computer readable storage medium of button multiplexing
CN108563294A (en) * 2018-04-02 2018-09-21 郑州云海信息技术有限公司 A kind of server management system that ID buttons are multi-purpose
CN112463443A (en) * 2020-11-18 2021-03-09 北京东土科技股份有限公司 Server with AC LOSS function and method for automatically powering on and starting up after abnormal power failure

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118170576A (en) * 2024-03-21 2024-06-11 深圳市通微科技有限公司 A computer diagnosis method based on recording power-on and power-off of computer boards

Similar Documents

Publication Publication Date Title
US4677566A (en) Power control network for multiple digital modules
CA1235519A (en) Local power switching control subsystem
US4635195A (en) Power control network using reliable communications protocol
US7028125B2 (en) Hot-pluggable peripheral input device coupling system
CN106055438B (en) The method and system of memory bar exception on a kind of quick positioning mainboard
US9678846B2 (en) Service data record system, data record method and electronic equipment using the same
US10007901B2 (en) Service data record system and electronic equipment using the same
CN115470056A (en) Method, system, device and medium for troubleshooting power-on starting of server hardware
JP2007286937A (en) Storage device and storage device power failure management method
CN102362260A (en) Systems and methods for configuring electrical devices
CN110688263B (en) Application method of hard disk automatic switching device based on FPGA
JP2003150409A (en) Dedicated server management card provided with hot- swap function
US20020043877A1 (en) Power supply unit controller
CN115639900A (en) Power failure detection circuit and server device
CN218824636U (en) Power supply detection device for server hard disk backboard
US7962735B2 (en) Servo device auto-booted upon power supply recovery and method thereof
US20090276616A1 (en) Servo device and method of shared basic input/output system
CN114546283A (en) Storage link port management method and device of storage equipment and storage medium
US10311001B2 (en) Electronic device and communication method thereof
CN213181887U (en) Voltage detection circuit and interactive intelligent panel
CN114047803A (en) Computer mainboard, dual-path processor computer and four-path processor computer
TWI759714B (en) Data storage device which can be controlled remotely and remote control system
CN116755538A (en) A memory power supply detection method, device, electronic equipment and storage medium
CN201611799U (en) Power supply system capable of being remotely monitored
KR100291036B1 (en) Apparatus and method for managing system hardware using micro-controller and standard I2C bus protocol

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