Test circuit and test method for server button cell

By constructing a test circuit within the server and using current-limiting resistors and switching devices to perform reverse charging tests on button batteries, the problem of difficulty in testing server button batteries in existing technologies is solved, achieving efficient and accurate fault detection and ensuring stable server operation.

CN120742154BActive Publication Date: 2025-11-18INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202511148674.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-08-15
Publication Date
2025-11-18
Estimated Expiration
2045-08-15

AI Technical Summary

Technical Problem

The existing server structure is complex, making it difficult to effectively test the coin cell battery located under the motherboard. This can lead to problems such as system configuration loss, time discrepancies, or hardware damage when the coin cell battery fails.

Method used

Design a test circuit for a server button battery, including a current-limiting resistor, a switching device, and a controller. The switching device is controlled by a signal to connect the current-limiting resistor to the server power supply to achieve reverse charging test. The voltage difference across the current-limiting resistor is collected to determine the fault.

Benefits of technology

Without disassembling the device, the efficiency and accuracy of button battery testing are improved, enabling multi-dimensional evaluation of battery power and safety, shortening testing time, and ensuring server system stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120742154B_ABST
    Figure CN120742154B_ABST
Patent Text Reader

Abstract

The application provides a test circuit and a test method for a server button cell, which can be applied to the technical field of battery detection. The test circuit for the server button cell comprises: a current-limiting resistor, which is electrically connected between the button cell and a configuration information maintaining component in the server; a switching device, which is electrically connected between a server power supply and the current-limiting resistor; and a controller, which has sampling terminals, the sampling terminals are respectively electrically connected to two ends of the current-limiting resistor, and the controller is used for performing fault testing on the button cell by sending a first control signal to the switching device to turn on the switching device, making the server power supply be applied to the button cell through the current-limiting resistor, and collecting a voltage difference between the two ends of the current-limiting resistor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of battery testing technology, and more specifically to a test circuit and test method for server button batteries. Background Technology

[0002] When a server is in standby mode, its internal clock module and CMOS (Complementary Metal-Oxide-Semiconductor) chips are typically powered by coin cells (FCS) located inside the server. If these FCS fail, the server may experience system configuration loss, time discrepancies, or even hardware damage. Therefore, safety testing of the FCS within the server is necessary. However, the complexity of current server architecture makes it difficult to test FCS located on the server's motherboard. Summary of the Invention

[0003] In view of the above problems, this application provides a test circuit and test method for server button batteries.

[0004] According to a first aspect of this application, a test circuit for a server coin cell battery is provided, comprising: a current-limiting resistor electrically connected between the coin cell battery and a configuration information maintenance component in a server; a switching device electrically connected between a server power supply and the current-limiting resistor; and a controller having sampling terminals electrically connected to both ends of the current-limiting resistor, the controller being configured to perform a fault test on the coin cell battery by sending a first control signal to the switching device to turn on the switching device, thereby applying server power to the coin cell battery through the current-limiting resistor, and acquiring the voltage difference across the current-limiting resistor.

[0005] A second aspect of this application provides a testing method comprising: sending a first control signal to a switching device to turn on the switching device, so that server power is applied to a button battery through a current-limiting resistor; acquiring the voltage difference across the current-limiting resistor, and performing a fault test on the button battery based on the voltage difference.

[0006] According to embodiments of this application, the test circuit for a server coin cell battery may include a current-limiting resistor, a switching device, and a controller. The current-limiting resistor is electrically connected between the coin cell battery and a configuration information maintenance component in the server. The switching device is electrically connected between the server power supply and the current-limiting resistor. Multiple sampling terminals of the controller are electrically connected to both ends of the current-limiting resistor, and the signal control terminal of the controller can be electrically connected to the switching device. When a fault test is required on the coin cell battery located under the server motherboard, a high-level first control signal can be sent to the switching device through the signal control terminal of the controller. Under the control of the first control signal, the switching device switches to the on state, connecting the current-limiting resistor and the server power supply. Since the current-limiting resistor and the coin cell battery are connected in series, the electrical connection required for testing is formed between the current-limiting resistor, the server power supply, and the coin cell battery. This establishes a circuit test environment for reverse charging testing of the coin cell battery inside the server, eliminating the need to remove the coin cell battery from the server for testing, thus improving both testing efficiency and convenience.

[0007] According to embodiments of this application, after establishing the necessary electrical connection for testing between the current-limiting resistor, server power supply, and coin cell battery, the server power supply, with a higher voltage value, reverse-charges the coin cell battery and the current-limiting resistor, which have a lower voltage value. Multiple sampling terminals electrically connected to the current-limiting resistor are used to collect the voltage across the resistor at this time. The voltage difference across the current-limiting resistor is calculated based on the collected voltage values. Then, based on the calculated voltage difference, a fault test is performed on the coin cell battery. This achieves voltage monitoring and acquisition of the coin cell battery in the test circuit through a controller. Judgments are made based on the collected monitoring values ​​and predetermined thresholds, allowing for multi-dimensional and multi-faceted assessment of the coin cell battery in the server, including battery capacity and safety. The reverse charging current of the coin cell battery can be tested without disassembling the device. Furthermore, since the entire testing process can be controlled by signals, the testing time for the coin cell battery is greatly shortened. In real-world application environments of coin cell batteries, this improves both testing efficiency and accuracy. Attached Figure Description

[0008] The above-mentioned contents, other objects, features and advantages of this application will become clearer from the following description of embodiments with reference to the accompanying drawings, in which:

[0009] Figure 1 A schematic diagram of a test circuit for a server button battery according to an embodiment of this application is shown;

[0010] Figure 2 A schematic diagram of a test circuit for a server button battery according to another embodiment of this application is shown;

[0011] Figure 3 A schematic diagram of a test circuit for a server button battery according to yet another embodiment of this application is shown;

[0012] Figure 4 A flowchart of a test method according to an embodiment of this application is shown;

[0013] Figure 5 A flowchart illustrating a single-fault test of a button battery according to an embodiment of this application is shown. Detailed Implementation

[0014] The embodiments of this application will now be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of this application. In the following detailed description, numerous specific details are set forth to provide a thorough understanding of the embodiments of this application for ease of explanation. However, it will be apparent that one or more embodiments may be implemented without these specific details. Furthermore, descriptions of well-known structures and technologies are omitted in the following description to avoid unnecessarily obscuring the concepts of this application.

[0015] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the scope of this application. The terms “comprising,” “including,” etc., as used herein indicate the presence of the stated features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.

[0016] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein are to be interpreted in a manner consistent with the context of this specification, and not in an idealized or overly rigid way.

[0017] When using expressions such as "at least one of A, B and C", they should generally be interpreted in accordance with the meaning that is commonly understood by those skilled in the art (e.g., "a system having at least one of A, B and C" should include, but is not limited to, a system having A alone, a system having B alone, a system having C alone, a system having A and B, a system having A and C, a system having B and C, and / or a system having A, B and C, etc.).

[0018] The coin cell battery used in servers is one of the key components on the server motherboard, primarily used to maintain the operation of components such as complementary metal-oxide-semiconductor (CMOS) chips and real-time clocks (RTCs). Although small in size, the coin cell battery is crucial for the server's system stability and hardware compatibility. When the server is in standby mode, the coin cell battery is the foundation for maintaining the server's underlying hardware configuration and time synchronization. If the coin cell battery malfunctions, it may cause problems such as lost server system configuration and time discrepancies, resulting in business interruption or increased maintenance costs.

[0019] Meanwhile, the safety of coin cells in servers is also a key concern. According to relevant equipment safety regulations, coin cells in servers must maintain good safety performance during normal operation or in the event of a single server failure, reducing the risk of fire, explosion, and chemical leakage. Therefore, safety and capacity testing of coin cells is necessary. However, with the increasing complexity of existing server architectures, it has become difficult to collect voltage and other measurement parameters of the coin cells located under the server motherboard, making related testing challenging.

[0020] An embodiment of this application provides a test circuit for a server coin cell battery, comprising: a current-limiting resistor electrically connected between the coin cell battery and a configuration information maintenance component in the server; a switching device electrically connected between the server power supply and the current-limiting resistor; and a controller having sampling terminals electrically connected to both ends of the current-limiting resistor. The controller is used to perform fault testing on the coin cell battery by sending a first control signal to the switching device to turn on the switching device, so that the server power supply is applied to the coin cell battery through the current-limiting resistor, and to collect the voltage difference across the current-limiting resistor.

[0021] A current-limiting resistor, for example, can be a 1kΩ resistor, placed between a coin cell battery and a configuration information maintenance component that needs to be powered by the coin cell battery at least during certain periods (e.g., when a server is in standby mode). The current-limiting resistor can be used to limit current and prevent damage to components due to excessive current.

[0022] Configuration information maintenance components can be characterized as hardware components that require power from a coin cell battery at least during certain periods of time (e.g., when the server is in standby mode). For example, configuration information maintenance components can be clock modules and CMOS chips.

[0023] On the one hand, when the server is in standby mode, the coin cell battery can supply power to the clock module and CMOS chip, maintaining configuration information and ensuring the operation of the server system's base clock and basic hardware components. On the other hand, when the server is in normal operation, the server power supply can supply power to the clock module and CMOS chip, interrupting the coin cell battery's power supply to extend its lifespan. For example, the coin cell battery voltage can be 3V, and the server power supply voltage can be 3.3V.

[0024] Switching devices can include various types of switching transistors, such as PMOS (P-Channel Metal-Oxide-Semiconductor) transistors or NMOS (N-Channel Metal-Oxide-Semiconductor) transistors. By controlling the closed or open state of the switching device, the connection or disconnection between the server power supply and the current-limiting resistor is achieved, thereby controlling whether the server power supply (via the current-limiting resistor) applies power to the coin cell battery, enabling tests such as reverse charging of the coin cell battery.

[0025] According to embodiments of this application, the controller may include a Baseboard Management Controller (BMC). The controller has multiple terminal pins, and multiple sampling terminals with voltage acquisition functions are electrically connected to the first and second terminals of a current-limiting resistor, respectively, thereby enabling real-time acquisition of the voltage values ​​at the first and second terminals of the current-limiting resistor. Simultaneously, terminals with signal control functions are electrically connected to switching devices, thereby controlling the closing or opening of the switching devices by sending control signals, such as high-level or low-level signals, to achieve connection or disconnection between different components.

[0026] The requirements for testing button batteries include applying server power to the button battery, so that the server power with a higher voltage reverse charges the button battery with a lower voltage, thereby simulating the safety performance of the button battery in the face of the abnormal environment of reverse charging.

[0027] According to an embodiment of this application, when testing a coin cell battery located below the server motherboard, a controller within the server can directly send a first control signal, such as a high-level signal, to a switching device to turn it on. This establishes an electrical connection between the coin cell battery, the current-limiting resistor, and the server power supply, allowing the server power supply to be applied to the coin cell battery via the current-limiting resistor. Then, the controller's multiple acquisition terminals acquire the voltage value across the current-limiting resistor, and the voltage difference is calculated based on these values. This allows for fault testing of the coin cell battery within the server.

[0028] When testing the reverse charging of a coin cell battery using the server power supply, the server power supply can also maintain a power connection with the configuration information maintenance component, thus allowing the coin cell battery to be tested while maintaining the normal operation of the server system's basic hardware components.

[0029] According to an embodiment of this application, when it is necessary to perform fault testing on a button battery located under the server motherboard, a first control signal can be sent to a switching device through the signal control terminal of the controller. Under the control of the first control signal, the switching device switches to the on state, connecting the current-limiting resistor and the server power supply. Since the current-limiting resistor is connected in series with the button battery, the electrical connection required for testing is formed between the current-limiting resistor, the server power supply, and the button battery. This realizes the construction of a circuit test environment for reverse charging testing of the button battery inside the server, thus eliminating the need to remove the button battery from the server for related testing, improving testing efficiency and convenience.

[0030] According to embodiments of this application, after establishing the necessary electrical connection for testing between a current-limiting resistor, a server power supply, and a coin cell battery, the server power supply, with a higher voltage value, reverse-charges the coin cell battery, which has a lower voltage value. Multiple sampling terminals electrically connected to the current-limiting resistor are used to collect the voltage across the resistor at this time. The voltage difference across the current-limiting resistor is calculated based on the collected voltage values, and then the coin cell battery is tested for faults based on the calculated voltage difference. A controller monitors and collects the voltage of the coin cell battery in the test circuit, and makes judgments based on the collected monitoring values ​​and predetermined thresholds. This allows for the evaluation of the coin cell battery in the server from multiple dimensions and perspectives, including battery capacity and safety, and tests the reverse charging current of the coin cell battery without disassembling the device. Furthermore, since the entire testing process can be controlled by signals, the testing time for the coin cell battery is greatly shortened. In real-world application environments of coin cell batteries, this improves both testing efficiency and accuracy.

[0031] Figure 1A schematic diagram of a test circuit for a server button battery according to an embodiment of this application is shown.

[0032] like Figure 1 As shown, the server may include a button battery B1, a server power supply 103, and a configuration information maintenance component 104. The button battery B1 and the server power supply 103 can be electrically connected to the configuration information maintenance component 104 via a power multiplexing circuit composed of diodes, as described below, to supply power to the configuration information maintenance component 104 at different times. For example, during standby, the button battery B1 can supply power to the configuration information maintenance component 104; during normal operation, the server power supply 103 can supply power to the configuration information maintenance component 104.

[0033] According to an embodiment of this application, the test circuit for a server coin cell battery may include a current-limiting resistor R1, a switching device 101, and a controller 102. The current-limiting resistor R1 is electrically connected between the coin cell battery B1 and the configuration information maintenance component 104 in the server, and the switching device 101 is electrically connected between the server power supply 103 and the current-limiting resistor R1. Two acquisition terminals of the controller 102 are respectively electrically connected to the two ends of the current-limiting resistor R1. When testing the coin cell battery B1 is required, the controller 102 can send a first control signal to the switching device 101 to turn it on, allowing the server power supply 103 to be applied to the coin cell battery B1 via the current-limiting resistor R1. The controller 102 performs fault detection based on the voltage difference across the current-limiting resistor R1.

[0034] According to embodiments of this application, the switching device may include a first switching transistor, and the test circuit of the server button battery may also include a first diode and a second diode.

[0035] According to an embodiment of this application, the first switching transistor includes a first gate terminal, a first source terminal, and a first drain terminal. The first gate terminal receives a first control signal, the first source terminal is electrically connected to a first end of a current-limiting resistor, the first drain terminal is electrically connected to a server power supply, and the second end of the current-limiting resistor is electrically connected to a coin cell battery.

[0036] According to an embodiment of this application, the anode terminal of the first diode is electrically connected to the server power supply, the anode terminal of the second diode is electrically connected to the first end of the current-limiting resistor, and the cathode terminals of the first and second diodes are electrically connected to the configuration information maintenance component; the first drain terminal of the first switching transistor is electrically connected to the anode terminal of the first diode, and the first source terminal is electrically connected to the anode terminal of the second diode.

[0037] Figure 2 A schematic diagram of a test circuit for a server button battery according to another embodiment of this application is shown.

[0038] exist Figure 2 In the illustrated embodiment, the switching device 101 includes a first switching transistor Q1, such as an NMOS transistor. Hereinafter, details related to... Figure 1 Repeated description.

[0039] like Figure 2 As shown, the server may include a power multiplexing circuit 201. In this example, the power multiplexing circuit 201 may include a first diode D1 and a second diode D2. The anode of the first diode D1 may be electrically connected to the server power supply 103, the anode of the second diode D2 may be electrically connected to the first terminal of the current-limiting resistor R1, and the cathodes of both may be connected together to power the configuration information maintenance component 104.

[0040] Under normal operating conditions, the first switching transistor Q1 is off, and the first diode D1 and the second diode D2 can be used to manage the power supply to the configuration information maintenance component 104. When the server power supply is in standby mode, its power supply voltage is typically much lower than the normal operating voltage of 3.3V. At this time, the coin cell battery B1 causes the second diode D2, which is electrically connected to it, to conduct in the forward direction, providing basic power to the configuration information maintenance component 104 to maintain operation. Since the battery voltage is greater than the server power supply voltage, the cathode voltage of the first diode D1 is greater than the anode voltage, thus causing the first diode D1 to be reverse-biased and cut off. When the server power supply is in operation, the server power supply voltage is generally around 3.3V. At this time, the server power supply causes the first diode D1, which is electrically connected to it, to conduct in the forward direction, providing basic power to the configuration information maintenance component 104 to maintain operation. Since the power supply voltage is greater than the battery voltage, the cathode voltage of the second diode D2 is greater than the anode voltage, thus causing the second diode to be reverse-biased and cut off, preventing the coin cell battery B1 from being drained.

[0041] According to embodiments of this application, a power multiplexing circuit including a first diode and a second diode can manage the power supply, preventing the consumption of the coin cell battery's power while also preventing conduction between the server power supply and the coin cell battery, thus avoiding reverse current flowing to the coin cell battery and damaging it. Furthermore, by using a first switching transistor to establish a branch from the server power supply to the coin cell battery, a test circuit environment for testing the coin cell battery can be built within the server.

[0042] like Figure 2 As shown, the first switching transistor Q1 may include a first gate terminal, a first source terminal, and a first drain terminal. The first gate terminal receives a first control signal, and the first source terminal is electrically connected to the first terminal of the current-limiting resistor R1. Figure 2(The right end of the middle), the first drain terminal is electrically connected to the server power supply 103, the second end of the current limiting resistor R1 ( Figure 2 The left end of the battery is electrically connected to the button battery B1.

[0043] The negative terminal of the coin cell battery B1 is grounded to GND, and the positive terminal of the coin cell battery B1 is electrically connected to the second terminal of the current-limiting resistor R1. The first terminal of the current-limiting resistor R1 is electrically connected to the source of the first switching transistor Q1 and the anode of the second diode D2. The drain of the first switching transistor Q1 is electrically connected to the server power supply 103 and the anode of the first diode D1. The gate of the first switching transistor Q1 is electrically connected to the control pin of the controller 102. The first and second terminals of the current-limiting resistor R1 are also electrically connected to the acquisition pin of the controller 102, respectively. The cathodes of the first diode D1 and the second diode D2 are both electrically connected to the configuration information maintenance component 104. When the coin cell battery B1 needs to be tested, the controller 102 can send a first control signal, such as a high level, to the first switching transistor Q1. By turning on the first switching transistor Q1, the server power supply 103, the current-limiting resistor R1, and the coin cell battery B1 are connected. The reverse charging test of the coin cell battery B1 can be performed using the voltage difference across the current-limiting resistor R1 acquired by the controller 102. Meanwhile, since the server power supply 103 is connected to the first diode D1, the configuration information maintenance component 104 can be powered normally through the first diode D1, so as to maintain the basic operation of the server system hardware components while testing the button battery B1.

[0044] The gate of the first switching transistor can be electrically connected to pin 1126 of the controller's GPIO (General Purpose Input / Output) pins, through which a first control signal, such as a high level, can be sent to the gate of the first switching transistor. The first end of the current-limiting resistor can be connected to pin 1128 of the controller's GPIO pins, and the second end of the current-limiting resistor can be connected to pin 1127 of the controller's GPIO pins.

[0045] According to an embodiment of this application, in response to receiving a reverse charging test command through a control interface, the controller sends a first control signal to the first switching transistor and acquires the first voltage at the first terminal of the current-limiting resistor and the second voltage at the second terminal of the current-limiting resistor.

[0046] In response to receiving a reverse charging test command, under the control of the first control signal, after the server power supply applies power to the button battery through the current-limiting resistor via the first switching transistor, the first voltage and the second voltage across the current-limiting resistor are collected at this time through the acquisition terminals set across the current-limiting resistor.

[0047] According to an embodiment of this application, the controller determines whether the button cell battery has passed the fault test by comparing a second voltage with a safe voltage threshold, and by comparing the voltage difference with a threshold voltage difference in response to the second voltage being greater than the safe voltage threshold.

[0048] After acquiring the first and second voltages, the second voltage at the end electrically connected to the coin cell battery is first assessed. If the second voltage is less than or equal to the coin cell battery's safe voltage threshold, a fault with abnormal battery charge can be directly confirmed, facilitating subsequent processing of the coin cell battery. For example, the safe voltage threshold can be 2.5V.

[0049] If the second voltage is greater than the safe voltage threshold of the button cell, the voltage difference can be calculated based on the first and second voltages across the current-limiting resistor, and the voltage difference can be used for further fault testing verification.

[0050] According to an embodiment of this application, the controller responds to a voltage difference less than a threshold voltage difference by obtaining a reverse charging current based on the voltage difference and the resistance value of the current limiting resistor, and compares the reverse charging current with a current threshold to determine whether the button battery has passed the fault test.

[0051] After calculating the voltage difference across the current-limiting resistor, this voltage difference is compared to a threshold voltage difference. If the voltage difference is greater than or equal to the threshold voltage difference, it indicates an abnormality in the server power supply voltage or the coin cell battery voltage. The controller then compares the first voltage with the power supply voltage threshold. If the first voltage is greater than or equal to the power supply voltage threshold, it confirms an abnormality in the server power supply. If the first voltage is less than the power supply voltage threshold, it confirms an abnormality in the coin cell battery, meaning the coin cell battery failed the reverse charging test.

[0052] Furthermore, a fourth switching transistor can be electrically connected between the first diode and the server power supply. The source of the fourth switching transistor can be electrically connected to the server power supply, the drain of the fourth switching transistor can be electrically connected to the anode of the first diode, and the gate of the fourth switching transistor can be electrically connected to the controller. This allows the fourth switching transistor to assist in monitoring abnormal states of the server power supply. If the first voltage at the first terminal of the current-limiting resistor is detected to be greater than the power supply voltage threshold, the controller can send a low-level fourth control signal to the fourth switching transistor to turn it off, disconnecting the server power supply from the first diode. At this time, the clock module and transistor chip will be powered by a coin cell battery. Simultaneously, the controller can generate corresponding fault logs based on abnormal server power supply voltages to facilitate maintenance and repair. When the server power supply is not abnormal, the controller can send a high-level fourth control signal to the fourth switching transistor to maintain connection between the server power supply and the first diode. Through the combination of the fourth switching transistor and the controller's sampling monitoring, the safety of the test circuit built into the server, as well as the operational stability and security of the clock module and transistor chip, can be further improved.

[0053] When the voltage difference is less than the threshold voltage difference, the reverse charging current is calculated based on the voltage difference and the test resistance value. If the reverse charging current is in the microamp level, the button cell battery has passed the reverse charging fault test. If the reverse charging current is greater than the microamp level, the button cell battery has failed the reverse charging fault test, indicating a fault. For example, the current threshold can be 1000μA (microamps), and the test resistance value can include the reverse internal resistance of the button cell battery and the resistance of the current-limiting resistor. The reverse internal resistance of the button cell battery can be 100KΩ, and the resistance of the current-limiting resistor can be 1kΩ.

[0054] Furthermore, when performing reverse charging tests on button batteries, a single fault test can be performed on the button battery while other components such as the server power supply (3.3V) are functioning normally. Alternatively, a comprehensive test can be performed on the button battery under multiple different test conditions simultaneously.

[0055] According to an embodiment of this application, in response to determining that the button battery has failed the fault test, the controller sends a second control signal to the first switching transistor to turn off the first switching transistor.

[0056] The second control signal can be a low-level control signal. If the button battery test fails, a low-level second control signal needs to be sent to the first switching transistor in a timely manner to disconnect the server power supply from the current-limiting resistor and the button battery, thus maintaining normal power supply to the clock module and transistor chip. Simultaneously, the controller generates corresponding fault logs based on the currently monitored first voltage, second voltage, voltage difference, and fault condition to facilitate maintenance and repair.

[0057] According to an embodiment of this application, after the first switching transistor is turned on by a high-level first control signal, the controller collects the first voltage and the second voltage across the current-limiting resistor. The controller first compares the second voltage with a safe voltage threshold. If the second voltage is greater than the safe voltage threshold, the charge level of the coin cell battery can be monitored and judged. Then, the voltage difference between the two ends is calculated based on the first voltage and the second voltage. If the voltage difference is less than the threshold voltage difference, a second verification of the reverse charging current is performed to determine whether the coin cell battery passes the reverse charging fault test. If the voltage difference is greater than or equal to the threshold voltage difference, the power supply status of the server power supply can be determined based on the first voltage. This allows for comprehensive monitoring of the current test environment and power supply environment, further improving server security while performing multi-dimensional testing of the coin cell battery.

[0058] According to embodiments of this application, the switching device may further include a second switching transistor and a third switching transistor.

[0059] According to an embodiment of this application, the second switching transistor includes a second gate terminal, a second source terminal, and a second drain terminal. The second gate terminal receives a third control signal sent by a controller. The second source terminal is electrically connected to a first terminal of a current-limiting resistor, and the second drain terminal is electrically connected to a second terminal of the current-limiting resistor. In response to an over-discharge test command, a third control signal is sent to the second switching transistor to turn on the second switching transistor and short-circuit the current-limiting resistor.

[0060] According to an embodiment of this application, a third switching transistor is electrically connected between a coin cell battery and a configuration information maintenance component; wherein, in response to the coin cell battery failing a fault test, a second control signal is sent to the third switching transistor to turn off the third switching transistor, thereby disconnecting the coin cell battery from the configuration information maintenance component.

[0061] Figure 3 A schematic diagram of a test circuit for a server button battery according to yet another embodiment of this application is shown.

[0062] exist Figure 3In the illustrated embodiment, the switching device 101 includes a first switching transistor Q1, a second switching transistor Q2, and a third switching transistor Q3, such as an NMOS transistor. Hereinafter, terms related to... Figure 1 and Figure 2 The same repeated description.

[0063] like Figure 3 As shown, the second end of the current-limiting resistor R1 is electrically connected to the drain of the second switching transistor Q2, the first end of the current-limiting resistor R1 is electrically connected to the source of the second switching transistor Q2 and the source of the third switching transistor Q3, the drain of the third switching transistor Q3 is electrically connected to the source of the first switching transistor Q1 and the anode of the second diode D2, the source of the first switching transistor Q1 is also electrically connected to the anode of the second diode D2, the drain of the first switching transistor Q1 is electrically connected to the server power supply 103 and the anode of the first diode D1, and the gates of the first switching transistor Q1, the second switching transistor Q2 and the third switching transistor Q3 are all electrically connected to the controller 102.

[0064] When a reverse charging test is required on the coin cell battery B1, the controller 102 can send a high-level first control signal to the first switching transistor Q1 and the third switching transistor Q3, and a low-level third control signal to the second switching transistor Q2. The conduction of the first switching transistor Q1 and the third switching transistor Q3 allows server power to be applied to the coin cell battery through a current-limiting resistor. The reverse charging test on the coin cell battery B1 can be performed using the voltage difference across the current-limiting resistor R1, which is collected by the controller 102. The third control signal can include both high-level and low-level signal states.

[0065] When an over-discharge test is required on the button battery B1, the controller 102 can send a low-level second control signal to the first switching transistor Q1, a high-level first control signal to the third switching transistor Q3, and a high-level third control signal to the second switching transistor Q2. This turns on the second switching transistor Q2, short-circuiting the current-limiting resistor R1. While maintaining a stable power supply from the server power supply 103 to the configuration information maintenance component 104, the controller 102 collects the initial voltage at the second terminal of the current-limiting resistor R1 and the over-discharge voltage after a predetermined period. Based on the initial voltage and the over-discharge voltage, an over-discharge fault analysis is performed. Simultaneously, during the over-discharge test, the temperature change of the button battery during discharge can be monitored using an internal temperature sensor, thereby obtaining the over-discharge test results.

[0066] The over-discharge fault analysis can include the percentage of over-discharge voltage to initial voltage after a predetermined period of time, which can help determine whether the self-discharge process of button battery B1 is abnormal when it is not required to supply power to the outside. At the same time, the safety of the current battery can be judged by the detected temperature during the discharge process of button battery B1.

[0067] On the other hand, the controller 102 can also send a low-level second control signal to the first switching transistor Q1, a high-level first control signal to the third switching transistor Q3, and a low-level third control signal to the second switching transistor Q2, so as not to short-circuit the current-limiting resistor R1. While maintaining a stable power supply from the server power supply 103 to the configuration information maintenance component 104, the current-limiting resistor R1 is used as the configuration information maintenance component 104 when simulating the button battery B1. The controller 102 collects the initial voltage at the second end of the current-limiting resistor R1 and the over-discharge voltage after a predetermined period of time. Based on the initial voltage and over-discharge voltage, the controller performs over-discharge analysis and related temperature information to obtain the over-discharge test results.

[0068] According to an embodiment of this application, in the event that the button battery is confirmed to be faulty, in addition to sending a low-level second control signal to the first switching transistor in a timely manner, a low-level second control signal can also be sent to the third switching transistor to disconnect the button battery from the server circuit and prevent the button battery failure from causing other hardware components to fail.

[0069] According to embodiments of this application, when an over-discharge test of a coin cell battery is required, the second switching transistor connected in parallel with the current-limiting resistor is turned on. This allows the current-limiting resistor to be connected in parallel, facilitating the construction of the test circuit environment required for the over-discharge test. Then, the controller collects voltage values ​​over a predetermined period and performs an over-discharge test on the coin cell battery based on the collected voltage. This allows for various tests on the coin cell battery without removing it from the server, in a real-world application environment, and without affecting the normal operation of the clock module and transistor chip. Furthermore, by placing a third switching transistor between the current-limiting resistor and the first switching transistor, the coin cell battery can be promptly isolated from critical components within the server in the event of a battery failure, improving the security of the server system.

[0070] According to the embodiments of this application, the connection terminals of the source and drain of the switching transistor in the switching device are not specifically limited, and the connection terminals of the source and drain can be switched.

[0071] Figure 4 A flowchart of a test method according to an embodiment of this application is shown.

[0072] like Figure 4 As shown, the measurement method of this embodiment includes operations S410 to S420.

[0073] In operation S410, a first control signal is sent to the switching device to turn it on, so that the server power is applied to the button battery through the current-limiting resistor.

[0074] When operating the S420, the voltage difference across the current-limiting resistor is collected, and the button battery is tested for faults based on the voltage difference.

[0075] According to an embodiment of this application, by sending a first control signal to a switching device to turn it on, the server power supply is applied to the coin cell battery via a current-limiting resistor. The voltage difference across the current-limiting resistor is then collected, and the coin cell battery is tested for faults based on this voltage difference. This establishes a circuit testing environment for reverse charging tests within the server, where a high-level first control signal is sent to the switching device via the controller's signal control terminal when a fault test of the coin cell battery located under the server motherboard is required. Under the control of the first control signal, the switching device switches to the on state, connecting the current-limiting resistor and the server power supply. Subsequently, based on the controller's monitoring and collection of the coin cell battery voltage in the test circuit, the coin cell battery in the server can be assessed from multiple dimensions and angles, including battery capacity and safety, without disassembling the device, improving both testing efficiency and accuracy.

[0076] Figure 5 A flowchart illustrating a single-fault test of a button battery according to an embodiment of this application is shown.

[0077] like Figure 5 As shown, when a single fault test is required on the button battery, i.e., all other components except the button battery are operating normally (e.g., the server power supply voltage is 3.3V), the server power supply is first powered on normally (S510). In response to the reverse charging test command, the controller sends a first control signal to the first switching transistor (S520), the first switching transistor is turned on, and the server power supply, current limiting resistor, and button battery are electrically connected (S530). The controller collects the first voltage and the second voltage across the current limiting resistor, and calculates the voltage difference based on the first voltage and the second voltage (S540). It then determines whether the voltage difference is greater than the threshold voltage difference (S550). If the voltage difference is less than the threshold voltage difference, the test is confirmed to be successful, and a test success log is generated (S560). If the voltage difference is greater than or equal to the threshold voltage difference, the test is confirmed to be unsuccessful, a second control signal is sent to the first switching transistor, and a test failure log is generated (S570).

[0078] According to embodiments of this application, program code for executing the computer programs provided in the embodiments of this application can be written in any combination of one or more programming languages. Specifically, these computational programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages ​​include, but are not limited to, languages ​​such as Java, C++, Python, "C", or similar programming languages. The program code can be executed entirely on the user's computing device, partially on the user's device, partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0079] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0080] Those skilled in the art will understand that the features described in the various embodiments of this application can be combined and / or combined in various ways, even if such combinations or combinations are not explicitly described in this application. In particular, the features described in the various embodiments of this application can be combined and / or combined in various ways without departing from the spirit and teachings of this application. All such combinations and / or combinations fall within the scope of this application.

[0081] The embodiments of this application have been described above. However, these embodiments are merely illustrative and not intended to limit the scope of this application. Although various embodiments have been described above, this does not mean that the measures in the various embodiments cannot be used advantageously in combination. Without departing from the scope of this application, those skilled in the art can make various substitutions and modifications, all of which should fall within the scope of this application.

Claims

1. A test circuit for a server button battery, characterized in that, The test circuit includes: A current-limiting resistor is electrically connected between the coin cell battery and the configuration information maintenance component in the server. A switching device includes a first switching transistor and a second switching transistor. The first switching transistor is electrically connected between the server power supply and the current-limiting resistor. The second switching transistor includes a second gate terminal, a second source terminal, and a second drain terminal. The second gate terminal receives a third control signal sent by a controller. The second source terminal and the second drain terminal are respectively electrically connected to the two ends of the current-limiting resistor. In response to an over-discharge test command, the third control signal is sent to the second switching transistor to turn on the second switching transistor and short-circuit the current-limiting resistor. The controller has sampling terminals that are electrically connected to both ends of the current-limiting resistor. The controller is used to perform fault testing on the button battery by sending a first control signal to the switching device to turn on the switching device, so that the server power supply is applied to the button battery through the current-limiting resistor, and to collect the voltage difference across the current-limiting resistor.

2. The test circuit according to claim 1, characterized in that, The first switching transistor includes a first gate terminal, a first source terminal, and a first drain terminal. The first gate terminal receives the first control signal. The first source terminal is electrically connected to a first terminal of the current-limiting resistor. The first drain terminal is electrically connected to the server power supply. The second terminal of the current-limiting resistor is electrically connected to the coin cell battery.

3. The test circuit according to claim 2, characterized in that, In response to receiving a reverse charging test command through the control interface, the controller sends the first control signal to the first switching transistor and acquires the first voltage at the first terminal of the current-limiting resistor and the second voltage at the second terminal of the current-limiting resistor.

4. The test circuit according to claim 3, characterized in that, The controller determines whether the button cell battery passes the fault test by comparing the second voltage with a safe voltage threshold and, in response to the second voltage being greater than the safe voltage threshold, comparing the voltage difference with a threshold voltage difference.

5. The test circuit according to claim 4, characterized in that, The controller responds to the voltage difference being less than the threshold voltage difference by obtaining a reverse charging current based on the voltage difference and the resistance value of the current limiting resistor, and compares the reverse charging current with a current threshold to determine whether the button battery passes the fault test.

6. The test circuit according to claim 5, characterized in that, In response to determining that the button battery has failed the fault test, the controller sends a second control signal to the first switching transistor to turn off the first switching transistor.

7. The test circuit according to claim 2, characterized in that, The test circuit includes a first diode and a second diode. The anode terminal of the first diode is electrically connected to the server power supply, the anode terminal of the second diode is electrically connected to the first terminal of the current-limiting resistor, and the cathode terminals of the first diode and the second diode are electrically connected to the configuration information maintenance component. In this configuration, the first drain terminal of the first switching transistor is electrically connected to the anode terminal of the first diode, and the first source terminal is electrically connected to the anode terminal of the second diode.

8. The test circuit according to claim 1, characterized in that, The switching device further includes: A third switching transistor is electrically connected between the coin cell and the configuration information maintenance component; In response to the button battery failing the fault test, a second control signal is sent to the third switching transistor to turn off the third switching transistor, thereby disconnecting the button battery from the configuration information maintenance component.

9. A test method for a test circuit applied to a server button battery as described in any one of claims 1-8, characterized in that, The method includes: A first control signal is sent to the switching device to turn it on, so that the server power is applied to the button battery through the current-limiting resistor; The voltage difference across the current-limiting resistor is collected, and the button battery is tested for faults based on the voltage difference.

Citation Information

Patent Citations

  • Method and system for alarming aging of battery on server

    CN111309568A

  • Button type battery monitoring jig

    CN208921843U

  • Reverse charging protection circuit for server RTC battery

    CN211151523U