Electric leakage detection device and related computer system

By introducing current and voltage detection circuits into the computer system and combining them with the control unit to determine leakage events, the problems of flexibility and early warning in leakage detection in the prior art are solved. This enables leakage to be detected and fault information to be recorded before power-on, thereby improving system reliability and maintenance efficiency.

CN224081790UActive Publication Date: 2026-04-03POWERX SEMICONDUCTOR CORPORATION
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-03-11
Publication Date
2026-04-03

AI Technical Summary

Technical Problem

Existing leakage current detection technology cannot adjust detection parameters according to the characteristics of different motherboards, lacks design flexibility, cannot provide early warning of minor abnormalities, cannot detect leakage current before power-on, and cannot record fault information, which is not conducive to maintenance analysis.

Method used

The system employs a current generation circuit and a voltage detection circuit. When the computer system enters the first operating mode, it generates a current and detects the voltage change curve. The voltage slope is used to determine leakage events. Leakage detection is performed before the system is powered on, and fault information is recorded.

Benefits of technology

It enables the detection of potential leakage risks before power-on, preventing system instability or damage, providing fault information to support maintenance analysis, and improving system reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224081790U_ABST
    Figure CN224081790U_ABST
Patent Text Reader

Abstract

The utility model discloses an electric leakage detection device and a related computer system, the electric leakage detection device is used for a computer system, and the electric leakage detection device comprises a detection current generation circuit which is coupled with a power supply circuit of a mainboard of the computer system and is used for generating a detection current; the voltage detection circuit is coupled to the power supply circuit and is used for detecting a voltage value of the power supply circuit; and a control unit coupled to the detection current generation circuit and the voltage detection circuit and used for controlling the detection current generation circuit to output the detection current to the power supply circuit and controlling the voltage detection circuit to detect the voltage value of the power supply circuit when the computer system enters a first operation mode, the detection circuit is used for detecting the detection current of the power circuit to obtain a voltage change curve of the power circuit relative to the detection current, and is used for executing electric leakage detection to generate an error indication signal according to a voltage slope of the voltage change curve and a preset slope range, and the error indication signal indicates that the mainboard has an electric leakage event.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model relates to a leakage current detection device and a related computer system, and more particularly to a leakage current detection device and a related computer system that can effectively improve system reliability. Background Technology

[0002] During the assembly or transportation of computer motherboards, capacitors on the edges or back of the board are often damaged due to improper handling. These damaged capacitors may cause leakage current. If this is not detected in time before powering on, it may lead to system instability or burn out other electronic components, thereby increasing repair costs and affecting the user experience.

[0003] The commonly used leakage current detection technology in the industry currently involves setting up a voltage divider resistor on the motherboard's power line. The presence of leakage current on the motherboard is determined by measuring the voltage difference across the resistor. Specifically, when the capacitors on the motherboard are functioning normally, a expected voltage difference will be generated across the voltage divider resistor. However, when a capacitor is damaged and leakage occurs, the leakage path changes the equivalent impedance of the circuit, causing the voltage difference across the voltage divider resistor to deviate from the expected value. This allows the determination of whether leakage current exists on the motherboard.

[0004] However, this leakage current detection technology, implemented using hardware voltage dividers, has many drawbacks. For example, because it uses fixed voltage divider resistors, its detection parameters cannot be adjusted according to the characteristics of different motherboards, lacking design flexibility. Secondly, this technology can only detect severe leakage current situations that cause significant impedance changes; it cannot effectively detect early abnormalities such as slight changes in capacitor characteristics due to impacts. Furthermore, the voltage divider method can only detect leakage current after the computer system is powered on, failing to provide early warning. In addition, this technology cannot record fault information, which is detrimental to subsequent repair and analysis.

[0005] In view of this, there is a real need to improve existing leakage current detection technologies for circuit boards. Utility Model Content

[0006] Therefore, the main objective of this invention is to provide a leakage current detection device and related computer system to improve the shortcomings of the prior art.

[0007] This utility model provides a leakage current detection device for a computer system, comprising a detection current generating circuit coupled to a power line of a motherboard of the computer system for generating a detection current; a voltage detection circuit coupled to the power line for detecting a voltage value of the power line; and a control unit coupled to the detection current generating circuit and the voltage detection circuit for controlling the detection current generating circuit to output the detection current to the power line and controlling the voltage detection circuit to detect the voltage value of the power line when the computer system enters a first operating mode, so as to obtain a voltage change curve of the power line related to the detection current, and to perform leakage current detection to generate an error indication signal based on a voltage slope of the voltage change curve and a preset slope range, the error indication signal indicating that the motherboard has a leakage current event.

[0008] The control unit generates an error indication signal to determine that the motherboard has a leakage event when the voltage slope of the voltage change curve exceeds the preset slope range.

[0009] It also includes an information interface through which the control unit obtains information related to the preset slope range.

[0010] The control unit is further used to determine that the motherboard has a leakage event when the voltage slope exceeds the preset slope range and output an error indication signal. The error indication signal is used to shut down a power supply of the computer system.

[0011] The control unit is further configured to, when the computer system enters a second operating mode, control the current detection generation circuit to stop outputting the current detection to the power line, and control the voltage detection circuit to detect the voltage value of the power line in order to determine an operating voltage of the power line.

[0012] The control unit is further configured to output an error indication signal when the operating voltage of the power supply line exceeds a voltage range, and the error indication signal is used to shut down a power supply of the computer system.

[0013] The second operating mode is a working state.

[0014] The power line includes multiple power rails. When the computer system enters the first operating mode, the control unit controls the current detection generation circuit to output the detection current that conforms to the multiple power rails to the power line, and controls the voltage detection circuit to detect the voltage values ​​of the multiple power rails.

[0015] The first operating mode is a shutdown state when the computer system is powered on.

[0016] This utility model embodiment also provides a computer system, including a power supply for providing power; a motherboard including multiple electronic components and a power line electrically connected to the power supply and the multiple electronic components; a power control module disposed on the motherboard for receiving a status indication signal and an error indication signal, and controlling the power supply accordingly, and generating a detection enable signal when the status indication signal indicates that the computer system enters a first operating mode; and a leakage current detection device disposed on the motherboard and coupled to the power line and the power control module, including a current detection generation circuit coupled to the power line. The circuit includes a current generator, a voltage detection circuit coupled to the power line, for detecting a voltage value of the power line, and a control unit coupled to the current generator and the voltage detection circuit for controlling the current generator to output the current generator to the power line according to the detection enable signal, and controlling the voltage detection circuit to detect the voltage value of the power line to obtain a voltage change curve of the power line related to the current generator, and for performing leakage current detection to generate an error indication signal according to a voltage slope of the voltage change curve and a preset slope range, the error indication signal indicating that the motherboard has a leakage current event. Attached Figure Description

[0017] Figure 1 This is a schematic diagram of a computer system according to Embodiment 1 of this utility model.

[0018] Figure 2 This is a schematic diagram of a leakage current detection device according to Embodiment 1 of this utility model.

[0019] Figures 3 to 7 for Figure 1 A diagram illustrating the relevant signals of a computer system under different operating conditions.

[0020] Figure 8 This is a flowchart of the leakage current detection method according to Embodiment 1 of this utility model.

[0021] Figure reference numerals: 10-Computer system; 102-Power supply; 104-Main board; 106-Power control module; 108-Leakage detection device; 110-Electronic component; 112-Input / output unit; 114-Switching unit; VCC-System power supply; VSB-Standby power supply; PWR_line-Power line; I_DET-Detection current; V_DET-Voltage value; DET_EN-Detection enable signal; S_IND-Status indication signal; F_IND-Error indication signal; PSON_IN-First power control signal; PSON_OUT-Second power control signal; 200-Detection current generation circuit; 202-Voltage detection circuit; 204-Control unit; VR1~VR5-Voltage change curve; 80-Leakage detection method; 800~808-Steps. Detailed Implementation

[0022] Please refer to Figure 1 , Figure 1 This is a schematic diagram of a computer system 10 according to an embodiment of the present invention. The computer system 10 can detect potential leakage risks before system startup. It generally includes a power supply 102 and a motherboard 104, and the motherboard 104 includes a power control module 106, a leakage detection device 108, and at least one electronic component 110. It should be noted that, since the implementation of the computer system is well known to those skilled in the art, for the sake of simplicity... Figure 1 This description only shows devices or modules related to leakage current detection in this invention. Other components such as a central processing unit, hard disk, memory, screen, and input / output devices can be appropriately added, but are not limited thereto. Specifically, the power supply 102 provides power, and in this example, it includes a system power supply VCC and a standby power supply VSB. The system power supply VCC is the main power source for driving the computer system 10, and it is transmitted to the electronic components 110 through the power line PWR_line on the motherboard 104. The standby power supply VSB provides the necessary standby operation for the computer system 10 when it is powered off or in sleep mode, and also supplies power to the leakage current detection device 108. Furthermore, Figure 1 A power line PWR_line is represented by a single line, but it is not limited to this. A power line PWR_line can contain multiple power rails, such as 12V, 5V, 3.3V, etc., to meet the power requirements of different components. Similarly, Figure 1 The electronic component 110 is represented by a single block. In reality, it can be a single electronic component, a collection of multiple electronic components connected in series or in parallel, or an electronic component module composed of electronic components. The electronic components can be capacitors, inductors, resistors, etc., and are not limited to these.

[0023] During assembly or transportation, the electronic components 110 of the computer system 10 may be damaged due to various reasons, resulting in leakage. In response, the leakage detection device 108 can detect leakage even when the computer system 10 is powered on (e.g., the computer system 10 receives standby power VSB) and in a powered-off state (hereinafter referred to as the first operating mode). In conjunction with the power control module 106, when there is a risk of leakage, it controls the power supply 102 to avoid outputting the system power VCC, thereby protecting the motherboard 104 and preventing system instability or even burnout. In detail, the power control module 106 includes an input / output unit 112 and a switching unit 114. The input / output unit 112 can generate a first power control signal PSON_IN and a detection enable signal DET_EN based on a status indication signal S_IND, and output them to the switching unit 114 and the leakage current detection device 108, respectively. The switching unit 114 can generate a second power control signal PSON_OUT based on the first power control signal PSON_IN and an error indication signal F_IND output by the leakage current detection device 108, so as to control the power supply 102. The status indication signal S_IND is used to indicate the operating status of the computer system 10, which can reflect the power connection status or user commands. For example, when the computer system 10 is connected to a power source but the user has not yet turned it on (i.e., the first operating mode), or when the user turns it off via an input device, the status indicator signal S_IND indicates a power-off state (i.e., the S5 state of the advanced configuration and power interface); when the computer system 10 is connected to a power source (e.g., the computer system 10 receives system power VCC) and the user presses the power switch to turn it on, the status indicator signal S_IND indicates an operating state (i.e., the S0 state of the advanced configuration and power interface). Similarly, the status indicator signal S_IND can also indicate states such as standby or sleep, which should be well known to those skilled in the art.

[0024] Based on the status indication signal S_IND, the input / output unit 112 can change the states of the first power control signal PSON_IN and the detection enable signal DET_EN. Specifically, when the status indication signal S_IND indicates a power-off state, the input / output unit 112 can adjust the first power control signal PSON_IN to a disabled state to indicate the stop of power output, and adjust the detection enable signal DET_EN to an enabled state to indicate that the leakage current detection device 108 should start leakage current detection. Conversely, when the status indication signal S_IND indicates an operating state, the input / output unit 112 can adjust the first power control signal PSON_IN to an enabled state to indicate power output, and adjust the detection enable signal DET_EN to a disabled state to indicate that the leakage current detection device 108 should stop leakage current detection. In other words, the leakage current detection device 108 can perform leakage current detection in a first operating mode and generate or adjust the state of the error indication signal F_IND accordingly.

[0025] The switching unit 114 generates and adjusts the state of the second power control signal PSON_OUT according to the first power control signal PSON_IN and the error indication signal F_IND, so as to control the power supply 102. For example, the second power control signal PSON_OUT in the enabled state is used to start the power supply 102 to output the system power VCC, while the second power control signal PSON_OUT in the disabled state is used to stop the power supply 102 from outputting the system power VCC. In one embodiment, when the first power control signal PSON_IN is disabled, the second power control signal PSON_OUT output by the switching unit 114 is also disabled; when the first power control signal PSON_IN is enabled and the error indication signal F_IND indicates that the leakage detection device 108 has not detected leakage, the second power control signal PSON_OUT output by the switching unit 114 is enabled; when the first power control signal PSON_IN is enabled, but the error indication signal F_IND indicates that the leakage detection device 108 has detected leakage, the second power control signal PSON_OUT output by the switching unit 114 is disabled. In other words, when the error indication signal F_IND indicates that the leakage detection device 108 has detected a leakage phenomenon in the motherboard 104, even if the first power control signal PSON_IN is enabled, the second power control signal PSON_OUT output by the switching unit 114 is still disabled. Accordingly, the power supply 102 is controlled to stop outputting the system power VCC to avoid system instability or burnout.

[0026] The leakage current detection device 108 can perform leakage current detection based on the detection enable signal DET_EN output by the power control module 106 when the computer system 10 is powered on (e.g., the computer system 10 receives standby power VSB) and in a powered-off state (i.e., the computer system 10 is in the first operating mode), and generate or adjust the state of the error indication signal F_IND accordingly. Please refer to... Figure 2 , Figure 2 This is a schematic diagram of one embodiment of a leakage current detection device 108. In this embodiment, the leakage current detection device 108 includes a detection current generating circuit 200, a voltage detection circuit 202, and a control unit 204. The detection current generating circuit 200 is coupled to the power line PWR_line and is used to generate a detection current I_DET. The voltage detection circuit 202 is coupled to the power line PWR_line and is used to detect the voltage value V_DET of the power line PWR_line. The control unit 204 receives a detection enable signal DET_EN and is coupled to the detection current generation circuit 200 and the voltage detection circuit 202. When the computer system 10 enters the first operating mode, it controls the detection current generation circuit 200 to output a detection current I_DET to the power line PWR_line based on the detection enable signal DET_EN, and controls the voltage detection circuit 202 to detect the voltage value V_DET of the power line PWR_line to obtain a voltage change curve of the power line PWR_line related to the detection current I_DET. It then performs leakage current detection to generate an error indication signal F_IND based on a voltage slope of the voltage change curve and a preset slope range. The error indication signal F_IND indicates whether there is a leakage event on the motherboard 104.

[0027] In detail, when the computer system 10 is powered on and in a powered-off state, the input / output unit 112 outputs an enable signal DET_EN to the leakage current detection device 108, causing the leakage current detection device 108 to start leakage current detection. During leakage current detection, the control unit 204 controls the detection current generation circuit 200 to output a detection current I_DET to the power line PWR_line, and the detection current I_DET will charge the electronic component 110; the control unit 204 also controls the voltage detection circuit 202 to detect the voltage value V_DET of the power line PWR_line, and the resulting voltage change curve will reflect the charging situation of the electronic component 110 by the detection current I_DET. In this way, the control unit 204 can perform leakage current detection to determine whether there is a leakage current event on the motherboard 104 based on the voltage slope of the voltage change curve and a preset slope range. For example, when electronic component 110 is damaged, it may cause an open circuit or short circuit, resulting in an excessively large or small voltage slope when the detected current I_DET charges electronic component 110. Therefore, the control unit 204 can compare whether the voltage slope of the voltage change curve exceeds the preset slope range, and if the voltage slope exceeds the preset slope range, it determines that electronic component 110 is damaged, causing a leakage current event on the motherboard 104. Based on this, it can generate or adjust the state of the error indication signal F_IND to indicate the occurrence of the leakage current event. The comparison of the voltage slope can use existing known comparison methods, such as using a comparator, so it will not be described in detail here. The switching unit 114 can output a second power control signal PSON_OUT in a disabled state according to the error indication signal F_IND indicating a leakage current event, to stop the power supply 102 from outputting the system power VCC, so as to avoid system instability or burnout.

[0028] In short, when the computer system 10 is powered on and in a powered-off state (i.e., the computer system 10 is in the first operating mode), the leakage current detection device 108 can output a detection current I_DET and detect the corresponding voltage value V_DET to obtain the voltage change curve of the electronic component 110 when it is charged by the detection current I_DET, and compare whether its voltage slope exceeds a preset slope range, thereby determining whether there is a leakage event on the motherboard 104. Therefore, the leakage current detection device 108 can determine that there is a leakage event before the computer system 10 is powered on, and the power control module 106 can correspondingly control the power supply 102 to stop outputting the system power VCC to avoid greater damage.

[0029] It should be noted that, Figure 2This is one possible embodiment of the leakage current detection device 108, but it is not limited thereto. Those skilled in the art can make various modifications accordingly. For example, in one embodiment, the leakage current detection device 108 may further include an information interface, through which the control unit 204 can obtain or update information related to a preset slope range, or the control unit 204 can output information about leakage events, such as information about the electronic component 110 corresponding to the error indication signal F_IND, through the information interface. In one embodiment, the leakage current detection device 108 may further include a storage unit coupled to the control unit 204, used to store information about the preset slope range or record leakage events of the motherboard 104. Specifically, since the characteristics of different motherboards may vary slightly, manufacturers or product maintenance personnel can update the preset slope range of the control unit 204 through the information interface to make it conform to actual usage conditions. Furthermore, since the motherboard 104 may contain many electronic components, in order to detect the status of different electronic components, the designer can arrange multiple leakage current detection devices 108 on the motherboard 104 to detect the status of different electronic components respectively. Alternatively, the same leakage current detection device 108 can be used to detect the status of different electronic components using time-sharing or multiplexing switching methods. In this case, in order to enable maintenance personnel to correctly identify the faulty electronic component, the designer can use the aforementioned storage unit and information interface to record or output information related to leakage events of the motherboard 104. However, this is not limited to this; any means that can reflect leakage information can be appropriately added to the leakage current detection device 108.

[0030] When the computer system 10 enters the first operating mode, the control unit 204 can control the detection current generating circuit 200 to output the detection current I_DET for leakage current detection. After the leakage current detection is completed, the control unit 204 controls the detection current generating circuit 200 to stop outputting the detection current I_DET. Further, in one embodiment, if the computer system 10 leaves the first operating mode and enters the second operating mode, such as the above-mentioned working state, in addition to controlling the detection current generating circuit 200 to stop outputting the detection current I_DET, the control unit 204 can also control the voltage detection circuit 202 to continuously detect the voltage value V_DET of the power line PWR_line to monitor whether the operating voltage of the system power supply VCC exceeds a voltage range, and when the operating voltage of the system power supply VCC exceeds the voltage range, output or adjust the state of the error indication signal F_IND to shut down the power supply 102. In other words, when the computer system 10 is operating, the leakage current detection device 108 will not perform leakage current detection, but will continuously monitor whether the operating voltage of the system power supply VCC falls within the preset voltage range, and will shut off the power supply 102 in a timely manner when the voltage exceeds the range, so as to avoid system failure caused by excessively high or low operating voltage. It should be noted that the aforementioned storage unit and information interface can also be appropriately adjusted for monitoring the operating voltage. For example, the control unit 204 can receive or update information related to the voltage range through the information interface, and can record information exceeding the voltage range in the storage unit, or output it to an external device through the information interface. Such modifications should be techniques familiar to those skilled in the art.

[0031] For further information on the operation of leakage current detection or operating voltage monitoring in computer system 10, please refer to [link / reference needed]. Figures 3 to 7 , Figures 3 to 7 This diagram illustrates the relevant signals under different operating conditions of the computer system 10. Assume the first power control signal PSON_IN and the second power control signal PSON_OUT are active low signals, meaning a high level indicates a disabled state and a low level indicates an enabled state; when the error indication signal F_IND is high, it indicates a leakage event or that the operating voltage of the system power supply VCC exceeds the voltage range; the upper limit of the voltage range is set to V_OVP, and the lower limit is set to V_UVP. First, as... Figure 3As shown, at time t0, the computer system 10 is connected to the power supply, but the user has not yet turned it on; at this time, it is in the off state (S5 state). The first power control signal PSON_IN and the second power control signal PSON_OUT remain at a high level (indicating a disabled state). Simultaneously, the standby power supply VSB supplies the leakage current detection device 108. Upon receiving the detection enable signal DET_EN, the leakage current detection device 108 begins leakage current detection, that is, it outputs a detection current I_DET through the detection current generation circuit 200 to charge the electronic component 110, and detects the voltage value V_DET through the voltage detection circuit 202 to obtain the voltage change curve VR1. The voltage change curve VR1 of the voltage value V_DET reflects the charging situation of the electronic component 110 by the detection current I_DET, and the voltage slope S1 falls within the preset slope range. The control unit 204 can determine that there is no leakage event, and therefore maintains the error indication signal F_IND at a low level. Next, at time t1, the user powers on the device, causing the first power control signal PSON_IN to go low (indicating an enabled state). Since the error indicator signal F_IND shows no leakage event (low level), the switching unit 114 also adjusts the second power control signal PSON_OUT to a low level, causing the power supply 102 to start supplying system power VCC. Therefore, the computer system 10 operates correctly in the working state (S0 state).

[0032] exist Figure 4In the operating scenario shown, at time t0, the computer system 10 is connected to the power supply, but the user has not yet turned it on; at this time, it is in the off state (S5 state). The first power control signal PSON_IN and the second power control signal PSON_OUT remain at a high level (indicating a disabled state). Simultaneously, the standby power supply VSB supplies the leakage current detection device 108. Upon receiving the enable signal DET_EN indicating the enabled state, the leakage current detection device 108 begins leakage current detection. Specifically, it outputs a detection current I_DET through the detection current generation circuit 200 to charge the electronic component 110, and detects the voltage value V_DET through the voltage detection circuit 202 to obtain the voltage change curve VR2. The voltage change curve VR2 of the voltage value V_DET reflects the charging situation of the electronic component 110 by the detection current I_DET. Since the voltage slope S2 falls outside the preset slope range, the control unit 204 can determine that a leakage event has occurred and therefore turns the error indication signal F_IND to a high level. Next, at time t1, the user powers on the device, causing the first power control signal PSON_IN to go low (indicating an enabled state). Since the error indicator signal F_IND shows a leakage event (high level), the switching unit 114 keeps the second power control signal PSON_OUT high. Therefore, the power supply 102 continues to stop supplying system power VCC, and the computer system 10 remains in the off state (S5 state). Simultaneously, the control unit 204 can record relevant information for troubleshooting during maintenance.

[0033] Figure 5 The operation shown is similar Figure 4 The operating conditions are different. Figure 4 The voltage slope S2 of the voltage change curve VR2 is less than the preset slope range, while Figure 5 The voltage slope S3 of the voltage change curve VR3 is greater than the preset slope range. In addition, the control unit 204 can also determine that a leakage event has occurred, therefore it turns the error indication signal F_IND to a high level, causing the power supply 102 to remain off the system power supply VCC, keeping the computer system 10 in a powered-off state (S5 state). Simultaneously, the control unit 204 can record relevant information for troubleshooting during maintenance.

[0034] exist Figure 6 Under the operating conditions shown, the voltage change curve VR4 operates between time t0 and t1. Figure 3The voltage change curve VR1 is the same, meaning the voltage slope S4 falls within the preset slope range. The control unit 204 determines that there is no leakage event and therefore maintains the error indication signal F_IND at a low level. Next, at time t1, the user powers on the device, causing the first power control signal PSON_IN to turn low (indicating an enabled state). Since the error indication signal F_IND shows no leakage event (low level), the switching unit 114 also adjusts the second power control signal PSON_OUT to a low level, causing the power supply 102 to start supplying the system power VCC. Therefore, the computer system 10 operates in the working state (S0 state). When the computer system 10 is operating in the working state, the leakage detection device 108 controls the detection current generation circuit 200 to stop outputting the detection current I_DET and controls the voltage detection circuit 202 to continuously detect the voltage value V_DET of the power line PWR_line to monitor whether the operating voltage of the system power VCC exceeds the voltage range. At time t2, the voltage change curve VR4 obtained by the voltage detection circuit 202 from the detected voltage value V_DET shows that the operating voltage of the system power supply VCC exceeds the upper limit V_OVP. Then, the control unit 204 switches the error indication signal F_IND to a high level. Based on the high-level error indication signal F_IND, the switching unit 114 switches the second power control signal PSON_OUT to a high level, causing the power supply 102 to stop supplying the system power supply VCC, and the computer system 10 switches from the working state to the shutdown state. Simultaneously, the control unit 204 can record relevant information for troubleshooting during maintenance.

[0035] Figure 7 The operation shown is similar Figure 6 In the operation of the voltage change curve VR5, the voltage slope S5 between time t0 and t1 falls within the preset slope range. The control unit 204 determines that there is no leakage event and therefore maintains the error indication signal F_IND at a low level. Figure 7 and Figure 6 The difference in operation lies in that, at time t2, the voltage change curve VR5 obtained by the voltage detection circuit 202 detecting the voltage value V_DET shows that the operating voltage of the system power supply VCC is lower than the lower limit V_UVP. In addition, the control unit 204 will also switch the error indication signal F_IND to a high level, and the second power control signal PSON_OUT will correspondingly switch to a high level, causing the power supply 102 to stop supplying the system power supply VCC, and the computer system 10 to switch from the working state to the shutdown state. Simultaneously, the control unit 204 can record relevant information for troubleshooting during maintenance.

[0036] Depend on Figures 3 to 7It is understood that through the leakage current detection device 108, the computer system 10 can detect potential leakage current risks before startup and record fault information to facilitate maintenance personnel to quickly diagnose problems.

[0037] The operation of the leakage current detection device 108 can be summarized as a leakage current detection method 80, such as... Figure 8 As shown. Leakage detection method 80 includes the following steps:

[0038] Step 800: Begin.

[0039] Step 802: When the computer system 10 enters the first operating mode, a detection current I_DET is generated and output to the power line PWR_line of the motherboard 104 of the computer system 10.

[0040] Step 804: Detect the voltage value V_DET of the power line PWR_line to obtain the voltage change curve of the power line PWR_line relative to the detected current I_DET.

[0041] Step 806: Perform leakage current detection to generate an error indication signal F_IND based on the voltage slope of the voltage change curve and a preset slope range. The error indication signal F_IND indicates that there is a leakage current event on the motherboard 104.

[0042] Step 808: End.

[0043] For detailed operation and feasible variations of leakage current detection method 80, please refer to the foregoing description, which will not be repeated here.

[0044] It is worth noting that the foregoing embodiments are used to illustrate the concept of this utility model, and those skilled in the art can make different modifications accordingly, and are not limited thereto. For example, when the power line PWR_line includes multiple power rails, the leakage current detection device 108 can detect each power rail separately. For instance, when the computer system 10 enters the first operating mode (e.g., the computer system 10 is connected to the power supply but the user has not yet turned it on), the control unit 204 can control the detection current generation circuit 200 to output the detection current I_DET corresponding to each power rail to each power rail, and control the voltage detection circuit 202 to detect the voltage value V_DET of each power rail respectively. The method of outputting the detection current I_DET to each power rail can be time-division output, through a multiplexer, etc., and correspondingly, the method of detecting the voltage value V_DET of each power rail can also be time-division detection, through a multiplexer, etc., and is not limited thereto. Furthermore, the computer system 10 of this utility model generally refers to an electronic system with computing functions, which may be a desktop computer, a laptop computer, a server system, a communication device, an industrial control system, etc., but is not limited to these.

[0045] Existing technologies for detecting motherboard leakage current use fixed voltage divider resistors, which lack design flexibility, cannot provide early warnings, and cannot record fault information, hindering subsequent repair and analysis. In contrast, the leakage current detection architecture of this invention can detect leakage risks before power-on and continuously monitor the system power supply during operation, thus achieving more comprehensive power monitoring to protect the motherboard and prevent more serious damage. Simultaneously, this leakage current detection architecture can record or output fault information, enabling maintenance personnel to correctly identify the faulty electronic components. Therefore, this leakage current detection architecture effectively improves system reliability and facilitates fault repair and analysis.

Claims

1. An electric leakage detection device for a computer system, comprising: The control unit generates the error indication signal to indicate that the host board has the leakage event according to the voltage slope of the voltage variation curve exceeding the preset slope range. The control unit further receives information related to the preset slope range through an information interface. The control unit further generates an error indication signal to shut down a power supply of the computer system when the operating voltage of the power supply line exceeds a voltage range. The second operation mode is a working state. The power supply line includes a plurality of power supply rails, and when the computer system enters the first operation mode, the control unit controls the detection current generating circuit to output the detection current conforming to the plurality of power supply rails to the power supply line, and controls the voltage detection circuit to detect the voltage values of the plurality of power supply rails, respectively.

2. The electric leakage detection device according to claim 1, wherein The first operation mode is a shutdown state when the computer system is powered on.

3. The electric leakage detection device according to claim 2, wherein The control unit further generates a detection enabling signal when the state indication signal indicates that the computer system enters a first operation mode.

4. The electric leakage detection device according to claim 2, wherein The leakage detection device includes:

5. The electric leakage detection device according to claim 1, wherein A detection current generating circuit coupled to the power supply line for generating a detection current; 6. The electric leakage detection device according to claim 5, wherein A voltage detection circuit coupled to the power supply line for detecting a voltage value of the power supply line; and 7. The electric leakage detection device according to claim 5, wherein A control unit coupled to the detection current generating circuit and the voltage detection circuit for controlling the detection current generating circuit to output the detection current to the power supply line and controlling the voltage detection circuit to detect the voltage value of the power supply line when the computer system enters the first operation mode, so as to obtain a voltage variation curve of the power supply line related to the detection current, and to perform leakage detection to generate an error indication signal according to a voltage slope of the voltage variation curve and a preset slope range, the error indication signal indicating that the host board has a leakage event.

8. The electric leakage detection device according to claim 1, wherein ​ 9. The electric leakage detection device according to claim 1, wherein ​ 10. A computer system, comprising: ​ ​ ​ ​ ​ ​ ​ ​ A control unit coupled to the detection current generating circuit and the voltage detecting circuit, for controlling the detection current generating circuit to output the detection current to the power supply circuit according to the detection enabling signal, and for controlling the voltage detecting circuit to detect the voltage value of the power supply circuit, so as to obtain a voltage variation curve of the power supply circuit relative to the detection current, and to perform leakage detection to generate an error indication signal according to a voltage slope of the voltage variation curve and a preset slope range, the error indication signal indicating that the host board has a leakage event.