Line detection system, electronic equipment and method
By using a line detection system with three independent detection lines and intelligent collaborative judgment, the problems of low reliability, weak anti-interference ability, and single alarm mechanism of server voltage alarm detection have been solved. Redundant detection and accurate judgment of voltage alarms have been achieved, improving the operational stability and fault location efficiency of the server.
Patent Information
- Application Number
- CN202610121088.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-01-28
- Publication Date
- 2026-03-03
AI Technical Summary
In existing technologies, server voltage alarm detection has low reliability, weak anti-interference ability, and a single alarm mechanism, resulting in low fault diagnosis efficiency and lagging risk prevention and control.
The system employs three independent detection lines and an intelligent collaborative judgment mechanism, including a power supply component, a main detection component, and a re-inspection supplementary circuit. The faulty line is determined by comparing the multiple detection results from the first detection circuit, the second detection circuit, and the re-inspection supplementary circuit, and combining the third detection result from the re-inspection supplementary circuit.
It achieves redundant detection and accurate judgment of voltage alarms, reduces the false alarm rate, and improves the operational stability and fault location speed of the server.
Smart Images

Figure CN121596038A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electronic circuit technology, and more particularly to circuit testing systems, electronic devices, and methods. Background Technology
[0002] As key equipment for core business operations such as enterprise databases and cloud computing, servers require stable input voltage and accurate power supply voltage to ensure their high reliability and stability. Therefore, the lack of or imperfect design of server voltage alarms can lead to low efficiency in troubleshooting and lagging risk control.
[0003] In related technologies, voltage alarm circuits are typically used to monitor voltage values in real time and trigger an alarm when the voltage exceeds a safe threshold. However, during this process, if there are issues such as voltage alarm circuit component failure, transmission signal interference, or failure of the voltage reading and judgment mechanism inside the BMC (Board Management Controller), abnormal voltage alarms may occur, thereby increasing the risk of server downtime and other malfunctions, which urgently need to be addressed. Summary of the Invention
[0004] This invention provides a line detection system, electronic equipment, and method to at least solve the problems of low reliability, weak anti-interference ability, and single alarm mechanism in related technologies.
[0005] This invention provides a line detection system, comprising: a power supply component, a main detection component, and a re-detection supplementary circuit. The power supply component is configured to output a preset power supply voltage. The main detection component includes a first detection circuit and a second detection circuit, which are communicatively connected. The input terminal of the first detection circuit is electrically connected to the output terminal of the power supply component, and the input terminal of the second detection circuit is also electrically connected to the output terminal of the power supply component. The main detection component is configured to obtain a first detection result based on at least one first digital voltage acquired by the first detection circuit, and a second detection result based on at least one second digital voltage acquired by the second detection circuit. The re-detection supplementary circuit has its input terminal electrically connected to the output terminal of the power supply component and is communicatively connected to both the first and second detection circuits. The re-detection supplementary circuit is configured to determine a faulty line based on the first detection result, the second detection result, and a third detection result obtained based on a third digital voltage acquired by the re-detection supplementary circuit when the comparison results of the first and second detection results are different.
[0006] The present invention also provides an electronic device, including: the circuit detection system of the above embodiments.
[0007] The present invention also provides a line detection method, which is applied to the line detection system in the above embodiments. The method includes the following steps: acquiring a first digital voltage output by at least one first digital-to-analog converter unit through a first control unit, and obtaining a first detection result based on at least one first digital voltage; acquiring a second digital voltage output by at least one second digital-to-analog converter unit through a second control unit, and obtaining a second detection result based on at least one second digital voltage; acquiring a comparison result between the first detection result and the second detection result, and when the comparison result is different, determining the faulty line based on the first detection result, the second detection result, and a third detection result obtained based on the third digital voltage acquired in the re-inspection supplementary circuit. This invention provides a power supply component configured to output a preset power supply voltage. The main detection component includes a first detection circuit and a second detection circuit, configured to obtain a first detection result based on a first digital voltage acquired in the first detection circuit and a second detection result based on a second digital voltage acquired in the second detection circuit. The input terminal of the supplementary detection circuit is electrically connected to the output terminal of the power supply component. The supplementary detection circuit is configured to determine the faulty line based on the first detection result, the second detection result, and a third detection result in the supplementary detection circuit when the comparison results of the first and second detection results are different. This invention solves the technical problems of low reliability, weak anti-interference capability, and a single alarm mechanism in related technologies. Through three independent detection lines and an intelligent collaborative judgment mechanism, redundant detection and accurate judgment of voltage alarms are achieved. Attached Figure Description
[0008] To more clearly illustrate the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0009] Figure 1 This is a topology diagram of a voltage alarm detection circuit for related technologies; Figure 2 This is a block diagram of a line detection system provided in an embodiment of the present invention; Figure 3 This is a voltage alarm detection circuit topology diagram according to an embodiment of the present invention; Figure 4 This is a schematic flowchart of a line detection method provided in an embodiment of the present invention; Figure 5 This is a flowchart of a pressure alarm determination method according to an embodiment of the present invention. Detailed Implementation
[0010] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of the present invention.
[0011] It should be noted that, in the description of this invention, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. The terms "first," "second," etc., used in this invention are used to distinguish similar objects and are not used to describe a specific order or sequence.
[0012] To enable those skilled in the art to better understand the present invention, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0013] Specifically, before introducing the embodiments of the present invention, we will first introduce the voltage alarm detection circuit and voltage alarm method in related technologies, such as... Figure 1 As shown, the server input voltage is 12V or 5V. To ensure the power supply requirements of components such as the CPU (Central Processing Unit), memory, and hard drive, multiple power modules are designed on the board to output different voltages. To ensure the stability of the power supply voltage for each component, the relevant technology design uses a voltage alarm circuit to monitor the voltage value in real time. The voltage alarm circuit mainly consists of power module U1, upper voltage divider resistor R1, lower voltage divider resistor R2, and BMC. The upper and lower voltage divider resistors divide the detected voltage to the range that the BMC can recognize and transmit the voltage signal to the BMC. The BMC internally converts the voltage division value into the actual preset output power supply voltage. The BMC internally sets four thresholds for overvoltage and undervoltage (non-severe overvoltage: U*1.07; severe overvoltage: 1.13; non-severe undervoltage: U*0.93; severe undervoltage: U*0.87). Then, the BMC compares the calculated actual output voltage with the threshold and feeds the result back to the user.
[0014] The voltage alarm design monitors critical voltages in real time and triggers an alarm when the voltage exceeds a safe threshold. Failure of voltage alarm circuit components, interference with transmission signals, and malfunction of the BMC's internal voltage reading and judgment mechanisms can all lead to abnormal voltage alarms. These abnormalities primarily manifest as false alarms and no alarms. If the voltage output is normal, false alarms can make it difficult for maintenance personnel to locate the fault, wasting manpower and resources. If the voltage output is abnormal and no alarm is triggered, overvoltage could directly burn out chips, CPU, memory, and other components on the board. Undervoltage can lead to inefficient hardware operation, and long-term accumulation can accelerate component aging.
[0015] Therefore, the relevant technologies have the following defects: (1) The relevant technologies are single-line voltage alarm detection, which has low reliability. Problems with a single line will directly lead to alarm abnormalities, which poses a risk of failure and increases the risk of server downtime and maintenance costs; (2) The anti-interference ability is weak. The electromagnetic environment inside the server is complex. The voltage divider signal is directly transmitted to the BMC and is easily interfered with, resulting in acquisition errors and causing instantaneous voltage fluctuations to be misjudged as alarms; (3) The alarm judgment mechanism is simple. It only transmits analog signals to the BMC for judgment. The BMC's internal data processing and judgment mechanism will directly affect the voltage alarm result, thus making it impossible to distinguish between real deviations and interference abnormalities.
[0016] Based on the aforementioned problems, this invention mainly designs a multi-line detection system and judgment method for voltage alarms. Through three independent detection lines and an intelligent collaborative judgment mechanism, redundant detection and accurate judgment of voltage alarms are achieved, thereby solving the problems of high false alarm rate, weak anti-interference ability, and lack of fault self-diagnosis ability in related technologies of server voltage alarm systems, so as to achieve accurate judgment of voltage alarms and rapid fault location.
[0017] Specifically, Figure 2 This is a block diagram of a line detection system provided in an embodiment of the present invention.
[0018] like Figure 2 As shown, the line detection system 10 includes: a power supply component 100, a main detection component 200, and a re-inspection supplementary circuit 300.
[0019] The power supply component 100 is configured to output a preset power supply voltage; the main detection component 200 includes a first detection circuit 201 and a second detection circuit 202, which are communicatively connected. The input terminal of the first detection circuit 201 is electrically connected to the output terminal of the power supply component 100, and the input terminal of the second detection circuit 202 is also electrically connected to the output terminal of the power supply component 100. The main detection component 200 is configured to obtain a first detection result based on at least one first digital voltage obtained from the first detection circuit 201, and a second detection result based on at least one second digital voltage obtained from the second detection circuit; a re-detection supplementary circuit 300 is configured to determine the faulty line based on the first detection result, the second detection result, and a third detection result obtained based on a third digital voltage obtained from the re-detection supplementary circuit 300 when the comparison results of the first detection result and the second detection result are different.
[0020] The preset power supply voltage can be set by those skilled in the art based on the actual power supply requirements of the line detection system 10, or it can be obtained through a limited number of computer simulations, and no specific limitation is made here.
[0021] Specifically, such as Figure 3 As shown, the line detection system 10 of this embodiment mainly consists of a power supply component 100 (power module U1), a main detection component 200, and a re-detection supplementary circuit 300 (third detection circuit). The power supply component 100 outputs a preset power supply voltage, for example, 3.3V. The main detection component 200 includes a first detection circuit 201 and a second detection circuit 202. To avoid misjudgments caused by single-line faults and reduce false alarms or missed alarms, the first detection circuit 201, the second detection circuit 202, and the re-detection supplementary circuit 300 of this embodiment are independent of each other and do not affect each other. That is, the first detection circuit 201, the second detection circuit 202, and the re-detection supplementary circuit 300 are independent of each other. The input terminals of the first detection circuit 201 and the second detection circuit 202 are respectively connected to the output terminal of the power supply component 100. After internal processing, the three detection circuits will output their respective voltage alarm judgment results. That is, the first detection circuit 201 outputs the first detection result, the second detection circuit 202 outputs the second detection result, and the second detection circuit 300 outputs the third detection result. Finally, when the comparison results of the first detection result and the second detection result are different, the faulty line of the line detection system 10 in this embodiment of the invention is determined according to the first detection result, the second detection result, and the third detection result of the second detection circuit 300, thereby ensuring the stable operation of the server.
[0022] The detection circuits in the embodiments of the present invention will be described in detail below.
[0023] According to an embodiment of the present invention, a first detection circuit includes: a first power supply unit, a first voltage divider unit, a first filter unit, a first digital-to-analog converter unit, and a first control unit. The first power supply unit is configured to supply power to the first control unit. A first terminal of the first voltage divider unit is electrically connected to the output terminal of the power supply component, a second terminal of the first voltage divider unit is electrically connected to a ground node, and a third terminal of the first voltage divider unit is electrically connected to the first terminal of the first filter unit. The first voltage divider unit is configured to divide a preset output voltage of the power supply component to a first preset voltage. A second terminal of the first filter unit is electrically connected to the ground node, and a third terminal of the first filter unit is electrically connected to the first terminal of the first digital-to-analog converter unit. The first filter unit is configured to filter the first preset voltage to obtain a first filtered voltage. A power supply terminal of the first digital-to-analog converter unit is electrically connected to the first power supply unit, and an output terminal of the first digital-to-analog converter unit is electrically connected to the first control unit. The first digital-to-analog converter unit is configured to convert the first filtered voltage into a first digital voltage. The first control unit is configured to output a first detection result based on the first digital voltage.
[0024] According to one embodiment of the present invention, a first voltage divider unit includes: a first resistor, one end of which is electrically connected to the output terminal of a power supply component; a second resistor, one end of which is electrically connected to the other end of the first resistor; and the other end of the second resistor is electrically connected to a grounding node. The connection node between the first resistor and the second resistor serves as the third terminal of the first voltage divider unit and is electrically connected to the first terminal of the first filter unit.
[0025] According to one embodiment of the present invention, a first filtering unit includes: a third resistor, one end of which is electrically connected to a connection node between a first resistor and a second resistor, and the other end of which is electrically connected to a first terminal of a first digital-to-analog converter; and a first capacitor, one end of which is electrically connected to a connection node between the third resistor and the first digital-to-analog converter, and the other end of which is electrically connected to a ground node.
[0026] Specifically, such as Figure 3As shown, the first detection circuit 201 of this embodiment includes a first power supply unit (i.e., power module 1), a first voltage divider unit, a first filter unit, a first digital-to-analog converter unit (i.e., ADC (Analog-to-Digital Converter) a), and a first control unit (i.e., BMC). The first power supply unit supplies power to the first control unit. The first voltage divider unit includes a first resistor R1 and a second resistor R2. One end of the first resistor R1 is electrically connected to the output terminal of the power supply component 100, and one end of the second resistor R2 is electrically connected to the other end of the first resistor R1. The other end of the second resistor R2 is electrically connected to a ground node. The connection node between the first resistor R1 and the second resistor R2 serves as the third terminal of the first voltage divider unit and is electrically connected to the first terminal of the first filter unit. Firstly, the first resistor R1 and the second resistor R2 divide the preset power supply voltage output by the power supply component 100 to reduce the preset power supply voltage to the input range of the first digital-to-analog converter unit.
[0027] The first filtering unit includes a third resistor R3 and a first capacitor C1. One end of the third resistor R3 is electrically connected to the connection node between the first resistor R1 and the second resistor R2, and the other end of the third resistor R3 is electrically connected to the first end of the first digital-to-analog converter unit. One end of the first capacitor C1 is electrically connected to the connection node between the third resistor R3 and the first digital-to-analog converter unit, and the other end of the first capacitor C1 is electrically connected to the ground node. After the first resistor R1 and the second resistor R2 reduce the preset power supply voltage output by the power supply component 100 to the input range of the first digital-to-analog converter unit, a first preset voltage is obtained. The first filtering unit then filters the first preset voltage to obtain a first filtered voltage, thereby filtering out spike signal interference.
[0028] The power supply terminal of the first digital-to-analog converter is electrically connected to the first power supply unit, and the output terminal of the first digital-to-analog converter is electrically connected to the first control unit. Since digital signal transmission can effectively reduce voltage alarm anomalies caused by noise interference and has high voltage detection accuracy, enhancing the accuracy of voltage alarm logic judgment, the first digital-to-analog converter converts the first filtered voltage obtained after filtering by the first filtering unit into a first digital voltage, and sends the first digital voltage to the first control unit through I2C (Inter-Integrated Circuit). Finally, the first control unit outputs a first detection result based on the received first digital voltage. The detection result can be one of normal, non-severe overvoltage, severe overvoltage, non-severe undervoltage, and severe undervoltage.
[0029] It should be noted that the first digital-to-analog conversion unit in the first detection circuit 201 is powered separately by the first power supply unit, and is not powered by the same source as the power supply in the second detection circuit 202 and the re-detection supplementary circuit 300 of the present invention. This can effectively isolate the influence between different lines and ensure that the detection system can still work reliably when the power supply under test is abnormal.
[0030] Therefore, the first detection circuit in this embodiment of the invention achieves accurate and dynamic monitoring of the P3V3 voltage through a high-precision analog-to-digital converter and a software-configurable threshold. Its independent power supply design ensures reliable operation even when the P3V3 is abnormal. Combined with the remote management and intelligent filtering algorithm of the BMC, it effectively reduces the false alarm rate and supports fault tracing and alarm reminders. At the same time, it can coordinate arbitration with MCU (Microcontroller Unit) and CPLD (Complex Programmable Logic Device) paths, which significantly improves the reliability, robustness and intelligent operation and maintenance level of the entire voltage line monitoring system.
[0031] According to one embodiment of the present invention, a second detection circuit includes: a second power supply unit, a second voltage divider unit, a second filter unit, a second digital-to-analog converter unit, and a second control unit. The second power supply unit is configured to supply power to the second control unit. A first terminal of the second voltage divider unit is electrically connected to the output terminal of the power supply component, a second terminal of the second voltage divider unit is electrically connected to a ground node, and a third terminal of the second voltage divider unit is electrically connected to the first terminal of the second filter unit. The second voltage divider unit is configured to divide the output preset power supply voltage of the power supply component to a second preset voltage. A second terminal of the second filter unit is electrically connected to the ground node, and a third terminal of the second filter unit is electrically connected to the first terminal of the second digital-to-analog converter unit. The second filter unit is configured to filter the second preset voltage to obtain a second filtered voltage. A power supply terminal of the second digital-to-analog converter unit is electrically connected to the second power supply unit, and an output terminal of the second digital-to-analog converter unit is electrically connected to the second control unit. The second digital-to-analog converter unit is configured to convert the second filtered voltage into a second digital voltage. The second control unit is configured to output a second detection result based on the second digital voltage.
[0032] According to one embodiment of the present invention, the second voltage divider unit includes: a fourth resistor, one end of which is electrically connected to the output terminal of the power supply component; a fifth resistor, one end of which is electrically connected to the other end of the fourth resistor; and the other end of the fifth resistor is electrically connected to a grounding node. The connection node between the fourth resistor and the fifth resistor serves as the third terminal of the second voltage divider unit and is electrically connected to the first terminal of the second filter unit.
[0033] According to one embodiment of the present invention, the second filter unit includes: a sixth resistor, one end of which is electrically connected to the connection node between the fourth resistor and the fifth resistor, and the other end of which is electrically connected to the first end of the second digital-to-analog converter; and a second capacitor, one end of which is electrically connected to the connection node between the sixth resistor and the second digital-to-analog converter, and the other end of which is electrically connected to a ground node.
[0034] Specifically, such as Figure 3 As shown, the second detection circuit 202 of this embodiment includes a second power supply unit (i.e., power module 2), a second voltage divider unit, a second filter unit, a second digital-to-analog converter unit (i.e., ADC digital-to-analog converter b), and a second control unit (i.e., MCU). The second power supply unit supplies power to the second control unit. The second voltage divider unit includes a fourth resistor R4 and a fifth resistor R5. One end of the fourth resistor R4 is electrically connected to the output terminal of the power supply component 100, and one end of the fifth resistor R5 is electrically connected to the other end of the fourth resistor R4. The other end of the fifth resistor R5 is electrically connected to a ground node. The connection node between the fourth resistor R4 and the second resistor R2 serves as the third terminal of the second voltage divider unit and is electrically connected to the first terminal of the second filter unit. First, the preset power supply voltage output by the power supply component 100 is divided by the fourth resistor R4 and the fifth resistor R5 to reduce the preset power supply voltage to the input range of the second digital-to-analog converter unit.
[0035] The second filtering unit includes a sixth resistor R6 and a second capacitor C2. One end of the sixth resistor R6 is electrically connected to the connection node between the fourth resistor R4 and the fifth resistor R5, and the other end of the sixth resistor R6 is electrically connected to the first end of the second digital-to-analog converter unit. One end of the second capacitor C2 is electrically connected to the connection node between the sixth resistor R6 and the second digital-to-analog converter unit, and the other end of the second capacitor C2 is electrically connected to the ground node. After the fourth resistor R4 and the fifth resistor R5 reduce the preset power supply voltage output by the power supply component 100 to the input range of the second digital-to-analog converter unit, a second preset voltage is obtained. The second filtering unit then filters the second preset voltage to obtain a second filtered voltage, thereby filtering out spike signal interference.
[0036] The power supply terminal of the second digital-to-analog converter is electrically connected to the second power supply unit, and the output terminal of the second digital-to-analog converter is electrically connected to the second control unit. Since digital signal transmission can effectively reduce voltage alarm anomalies caused by noise interference and has high voltage detection accuracy, enhancing the accuracy of voltage alarm logic judgment, the second digital-to-analog converter converts the second filtered voltage obtained after filtering by the second filtering unit into a second digital voltage, and sends the second digital voltage to the second control unit via I2C. Finally, the second control unit outputs a second detection result based on the received second digital voltage. This second detection result can also be one of normal, non-severe overvoltage, severe overvoltage, non-severe undervoltage, and severe undervoltage.
[0037] It should be noted that the second digital-to-analog conversion unit in the second detection circuit 202 is powered separately by the second power supply unit, which is different from the power supply in the first detection circuit 201 and the re-detection supplementary circuit 300 of the present invention. This can effectively isolate the influence between different lines and ensure that the detection system can still work reliably when the power supply under test is abnormal.
[0038] Therefore, the second detection circuit in this embodiment of the invention samples the P3V3 voltage in real time through a high-precision analog-to-digital converter. It has a heterogeneous and independent hardware path and power source from the first detection circuit, effectively avoiding the risk of single-point failure. At the same time, the MCU can execute customized judgment logic, quickly respond to voltage anomalies, and form multi-source redundancy verification with the BMC and CPLD paths to improve alarm reliability. Its independent power supply design ensures that it can continue to work when the P3V3 experiences undervoltage, overvoltage, or even power failure, thereby enhancing the overall fault detection capability and operational reliability of the system.
[0039] According to an embodiment of the present invention, a re-examination supplementary circuit 300 includes: a third power supply unit, a third voltage divider unit, a third filter unit, a voltage comparison unit, and a programmable unit. The third power supply unit is configured to supply power to the programmable unit. A first terminal of the third voltage divider unit is electrically connected to the output terminal of the power supply component, a second terminal of the third voltage divider unit is electrically connected to a ground node, and a third terminal of the third voltage divider unit is electrically connected to the first terminal of the third filter unit. The third voltage divider unit is configured to divide the preset output voltage of the power supply component to a third preset voltage. A second terminal of the third filter unit is electrically connected to the ground node, and a third terminal of the third filter unit is electrically connected to the first terminal of the voltage comparison unit. The third filter unit is configured to filter the third preset voltage to obtain a third filtered voltage. A power supply terminal of the voltage comparison unit is electrically connected to the third power supply unit, and an output terminal of the voltage comparison unit is electrically connected to the programmable unit. The voltage comparison unit is configured to convert the third filtered voltage into a third digital voltage. The programmable unit is configured to output a third detection result based on the third digital voltage.
[0040] According to one embodiment of the present invention, the third voltage divider unit includes: a seventh resistor, one end of which is electrically connected to the output terminal of the power supply component; an eighth resistor, one end of which is electrically connected to the other end of the seventh resistor; and the other end of the eighth resistor is electrically connected to a grounding node. The connection node between the seventh resistor and the eighth resistor serves as the third terminal of the third voltage divider unit and is electrically connected to the first terminal of the third filter unit.
[0041] According to one embodiment of the present invention, the third filter unit includes: a ninth resistor, one end of which is electrically connected to the connection node between the seventh resistor and the eighth resistor, and the other end of which is electrically connected to the first end of the voltage comparison unit; and a third capacitor, one end of which is electrically connected to the connection node between the ninth resistor and the voltage comparison unit, and the other end of which is electrically connected to the ground node.
[0042] Specifically, such as Figure 3 As shown, the retest supplementary circuit 300 of this embodiment includes a third power supply unit (i.e., power module 3), a third voltage divider unit, a third filter unit, a voltage comparison unit (i.e., voltage comparator), and a programmable unit (i.e., CPLD). The third power supply unit supplies power to the programmable unit. The third voltage divider unit includes a seventh resistor R7 and an eighth resistor R8. One end of the seventh resistor R7 is electrically connected to the output terminal of the power supply component 100, and one end of the eighth resistor R8 is electrically connected to the other end of the seventh resistor R7. The other end of the eighth resistor R8 is electrically connected to a ground node. The connection node between the seventh resistor R7 and the eighth resistor R8 serves as the third terminal of the third voltage divider unit and is electrically connected to the first terminal of the third filter unit. First, the seventh resistor R7 and the eighth resistor R8 divide the preset power supply voltage output by the power supply component 100 to reduce the preset power supply voltage to the input range of the voltage comparison unit.
[0043] The third filtering unit includes a ninth resistor R9 and a third capacitor C3. One end of the ninth resistor R9 is electrically connected to the connection node between the seventh resistor R7 and the eighth resistor R8, and the other end of the ninth resistor R9 is electrically connected to the first end of the voltage comparison unit. One end of the third capacitor C3 is electrically connected to the connection node between the ninth resistor R9 and the voltage comparison unit, and the other end of the third capacitor C3 is electrically connected to the ground node. After the seventh resistor R7 and the eighth resistor R8 reduce the third preset power supply voltage output by the power supply component 100 to the input range of the voltage comparison unit, a third preset voltage is obtained. The third filtering unit then filters the third preset voltage to obtain the third filtered voltage, thereby filtering out spike signal interference.
[0044] The power supply terminal of the voltage comparison unit is electrically connected to the third power supply unit, and the output terminal of the voltage comparison unit is electrically connected to the programmable unit. Since digital signal transmission can effectively reduce voltage alarm anomalies caused by noise interference and has high voltage detection accuracy, it enhances the accuracy of voltage alarm logic judgment. Therefore, the voltage comparison unit converts the third filtered voltage obtained after filtering by the third filtering unit into a third digital voltage and sends the third digital voltage to the programmable unit via I2C. Finally, the programmable unit outputs the third detection result based on the received third digital voltage.
[0045] Specifically, in the re-examination supplementary circuit 300, the voltage comparison unit can be connected via pins (such as...). Figure 3 The REFA, REFB, REFC, and REFD pins are connected to different external resistor values to set four preset voltage thresholds. A truth table is built into the programmable unit, which accepts high and low level signals from the voltage comparison unit for judgment. The truth table is shown in Table 1. Its output can be represented as voltage state signal A (A_P3V3_VOLTAGE), voltage state signal B (B_P3V3_VOLTAGE), voltage state signal C (C_P3V3_VOLTAGE), and voltage state signal D (D_P3V3_VOLTAGE). Specifically, A_P3V3_VOLTAGE determines that the third detection result output by the re-examination supplementary circuit 300 is a non-severe overvoltage. The judgment condition is the ratio of the third digital voltage to the preset voltage threshold * 1.07. The results are compared and represented by output 1; B_P3V3_VOLTAGE: The third detection result output by the re-examination supplementary circuit 300 is determined to be a severe overvoltage. The determination condition is the comparison result of the third digital voltage with the preset voltage threshold * 1.1, and it is represented by output 1; C_P3V3_VOLTAGE: The third detection result output by the re-examination supplementary circuit 300 is determined to be a non-severe undervoltage. The determination condition is the comparison result of the third digital voltage with the preset voltage threshold * 0.93, and it is represented by output 0; D_P3V3_VOLTAGE: The third detection result output by the re-examination supplementary circuit 300 is determined to be a severe undervoltage. The determination condition is the comparison result of the third digital voltage with the preset voltage threshold * 0.9, and it is represented by output 0.
[0046] Table 1
[0047] It should be noted that the voltage comparison unit in the retest supplementary circuit 300 is powered separately by the third power supply unit, which is different from the power supply in the first detection circuit 201 and the second detection circuit 202 of the present invention. This can effectively isolate the influence between different lines and ensure that the detection system can still work reliably when the power supply under test is abnormal.
[0048] Therefore, the third detection circuit in this invention uses an independently powered multi-threshold voltage comparator and a CPLD to form a pure hardware detection path, which can achieve a fast response to the P3V3 voltage without software intervention. It immediately outputs an alarm signal when an overvoltage or undervoltage fault occurs. The pure hardware detection path avoids risks such as software freezing and firmware abnormalities, and forms a software-hardware heterogeneous redundancy with the first and second detection circuits. At the same time, the circuit is powered by an independent power module, so it can still work reliably even if the P3V3 is severely abnormal, thereby significantly improving the system's fault detection capability, response speed and overall reliability under extreme conditions.
[0049] According to one embodiment of the present invention, a power supply component 100 includes: a main power supply unit and a fourth filter unit, wherein the output terminal of the main power supply unit is electrically connected to one end of the fourth filter unit; the main power supply unit is configured to provide a preset power supply voltage; the other end of the fourth filter unit is electrically connected to the input terminal of the main detection component 200 and the input terminal of the re-detection supplementary circuit 300, respectively, and the fourth filter unit is configured to filter the preset power supply voltage.
[0050] According to one embodiment of the present invention, the fourth filtering unit includes: an inductor, one end of which is electrically connected to the output terminal of the main power supply unit; and a filter capacitor assembly electrically connected to the other end of the inductor, the filter capacitor assembly including a plurality of filter capacitors connected in parallel, the plurality of filter capacitors being configured to filter noise from the first digital voltage and the second digital voltage.
[0051] Specifically, the power supply component 100 of this embodiment includes a main power supply unit and a fourth filtering unit. The output terminal of the main power supply unit is electrically connected to one end of the fourth filtering unit. The main power supply unit is configured to provide a preset power supply voltage. That is, in this embodiment, the power supply component 100 efficiently and stably converts a higher input voltage (such as 12V) to an output preset power supply voltage of 3.3V (P3V3) to power the line detection system 10. Then, the fourth filtering unit filters the preset power supply voltage to remove noise from the first digital voltage and the second digital voltage.
[0052] In this embodiment of the invention, the fourth filtering unit includes an inductor and a filter capacitor assembly. The inductor can form a low-pass filter with the output capacitor to suppress switching noise. The filter capacitor assembly consists of three filter capacitors connected in parallel. The purpose of the filter capacitors arranged from left to right is as follows: the first capacitor can provide a high-frequency decoupling path to filter out MHz-level digital noise; the second capacitor can attenuate the switching frequency ripple of the DC-DC (Direct Current to Direct Current Converter) to prevent the ADC or comparator from misinterpreting normal ripple as "overvoltage / undervoltage" and reducing false alarms; the third capacitor provides transient energy storage to cope with load step changes and prevent voltage drops / overshoots. In this way, a wideband low-impedance power network is constructed through the fourth filtering unit to improve power integrity.
[0053] Therefore, through the coordinated design of power supply components, inductors, and parallel filter capacitors, a stable, low-noise, and accurate sampling basis is provided for the multi-line voltage detection system, thereby ensuring that the "three-way heterogeneous detection and intelligent arbitration" mechanism of this invention can accurately distinguish between real faults and normal fluctuations, and ultimately achieve the technical goal of high-reliability power alarm.
[0054] According to the line detection system proposed in the embodiments of the present invention, the power supply component is configured to output a preset power supply voltage. The main detection component includes a first detection circuit and a second detection circuit, and is configured to obtain a first detection result based on a first digital voltage obtained in the first detection circuit and a second detection result based on a second digital voltage obtained in the second detection circuit. The input terminal of the re-detection supplementary circuit is electrically connected to the output terminal of the power supply component. The re-detection supplementary circuit is configured to determine the faulty line based on the first detection result, the second detection result, and the third detection result in the re-detection supplementary circuit when the comparison results of the first detection result and the second detection result are different. This solves the technical problems of low reliability of voltage alarm detection, weak anti-interference ability, and single alarm mechanism in related technologies. Through three independent detection lines and an intelligent collaborative judgment mechanism, redundant detection and accurate judgment of voltage alarms are achieved.
[0055] Furthermore, based on the circuit structure design described above, the embodiments of the present invention require further judgment based on the detection results of each detection circuit, thereby ultimately achieving redundant detection and accurate judgment of the circuit detection system. The following will describe this in conjunction with the circuit detection method.
[0056] Embodiments of the present invention also provide a line detection method, which is applied to the line detection system of any of the above claims, wherein, as Figure 4 As shown, the method includes the following steps: In step S401, the first digital voltage output by at least one first digital-to-analog conversion unit is obtained through the first control unit, and a first detection result is obtained based on the at least one first digital voltage.
[0057] Specifically, firstly, the system is powered on, and the first detection circuit, the second detection circuit, and the re-detection supplementary circuit are started simultaneously. The power supply component outputs a preset power supply voltage of 3.3V. At this time, after conversion by the first digital-to-analog converter, at least one first digital voltage is obtained. The at least one first digital voltage is sent to the first control unit. The first control unit collects 10 first digital voltages from the at least one first digital voltage as a set of sampling data, and uses this set of sampling data as the voltage to be measured. The first control unit calculates and compares the set of sampling data with the four preset voltage thresholds to obtain the first detection result S1.
[0058] Among them, the four preset thresholds can be preset voltage threshold * 0.9, preset voltage threshold * 0.93, preset voltage threshold * 1.07, and preset voltage threshold * 1.1.
[0059] In step S402, the second digital voltage output by at least one second digital-to-analog conversion unit is obtained through the second control unit, and a second detection result is obtained based on the at least one second digital voltage.
[0060] Specifically, the working principle of the second detection circuit in this embodiment of the invention is the same as that of the first detection circuit. After conversion by the second digital-to-analog converter, at least one second digital voltage is obtained. The at least one second digital voltage is sent to the second control unit. The second control unit also collects 10 second digital voltages as a set of sampling data in the at least one second digital voltage, and uses this set of sampling data as the voltage to be measured. The second control unit calculates and compares the set of sampling data with the four preset voltage thresholds to obtain the second detection result S2.
[0061] The specific measurement process for the first and second test results will be further explained below.
[0062] According to one embodiment of the present invention, obtaining a first detection result based on at least one first digital voltage and obtaining a second detection result based on at least one second digital voltage includes: performing data preprocessing on the first digital voltage, removing the first maximum digital voltage and the first minimum digital voltage of the preprocessed first digital voltage, and calculating the first average digital voltage of the remaining digital voltages in the first digital voltage; comparing the first average digital voltage with at least one preset voltage threshold, and obtaining the first detection result of the first detection circuit based on the product of the first average digital voltage, the preset voltage threshold, and the corresponding coefficient; performing data preprocessing on the second digital voltage, removing the second maximum digital voltage and the second minimum digital voltage of the preprocessed second digital voltage, and calculating the second average digital voltage of the remaining digital voltages in the second digital voltage; comparing the second average digital voltage with at least one preset voltage threshold, and obtaining the second detection result of the second detection circuit based on the product of the second average digital voltage, the preset voltage threshold, and the corresponding coefficient.
[0063] According to one embodiment of the present invention, data preprocessing of a first digital voltage and a second digital voltage includes: obtaining a preset output supply voltage of a power supply component; dividing the preset output supply voltage using a first voltage divider unit to obtain a first preset voltage, filtering the first preset voltage using a first filter unit to obtain a first filtered voltage, and sending the first filtered voltage to a first digital-to-analog converter unit; converting the first filtered voltage to a first digital voltage using the first digital-to-analog converter unit, and sending the first digital voltage to a first control unit; dividing the preset output supply voltage using a second voltage divider unit to obtain a second preset voltage, filtering the second preset voltage using a second filter unit to obtain a second filtered voltage, and sending the second filtered voltage to a second digital-to-analog converter unit; converting the second filtered voltage to a second digital voltage using the second digital-to-analog converter unit, and sending the second digital voltage to a second control unit.
[0064] Specifically, firstly, the output preset supply voltage is divided by the first voltage divider unit and the second voltage divider unit to obtain the first preset voltage and the second preset voltage. Then, the first preset voltage is filtered by the first filter unit and the second preset voltage is filtered by the second filter unit to obtain the first filtered voltage and the second filtered voltage.
[0065] Next, the first filtered voltage is sent to the first digital-to-analog converter unit, and the second filtered voltage is sent to the second digital-to-analog converter unit. The first digital-to-analog converter unit converts the first filtered voltage into a first digital voltage, and the second digital-to-analog converter unit converts the second filtered voltage into a second digital voltage. The first digital voltage is then sent to the first control unit, and the second digital voltage is sent to the second control unit.
[0066] Finally, the first control unit collects 10 digital voltage data points from at least one first digital voltage, removes one first maximum digital voltage and one first minimum digital voltage from the 10 digital voltage data points, and calculates the first average digital voltage of the remaining digital voltages in the first digital voltage. Then, the first control unit compares the first average digital voltage with four preset voltage thresholds, and obtains the first detection result of the first detection circuit based on the product of the first average digital voltage, the preset voltage thresholds, and the corresponding coefficients. Similarly, the second control unit collects 10 digital voltage data points from the second digital voltage, removes one second maximum digital voltage and one second minimum digital voltage from the 10 digital voltage data points, and calculates the second average digital voltage of the remaining digital voltages in the second digital voltage. Then, the second control unit compares the second average digital voltage with four preset voltage thresholds, and obtains the second detection result of the second detection circuit based on the product of the second average digital voltage, the preset voltage thresholds, and the corresponding coefficients.
[0067] The first detection result of the first detection circuit and the second detection result of the second detection circuit can both be calculated by multiplying the average digital voltage, the preset voltage threshold and the corresponding coefficient.
[0068] Specifically, if the average digital voltage (V) is greater than the product of the preset voltage threshold and the first coefficient (e.g., 0.93), and the average digital voltage is less than the product of the preset voltage threshold and the second coefficient (e.g., 1.07), then the first and second measurement results are determined to be in a normal state, i.e., preset voltage threshold * 0.93 < V < preset voltage threshold * 1.07.
[0069] If the average digital voltage is greater than the product of the preset voltage threshold and the second coefficient, and the average digital voltage is less than the product of the preset voltage threshold and the third coefficient (e.g., 1.1), then the first and second measurement results are determined to be in a non-severe overvoltage state, i.e., preset voltage threshold * 1.07 < V < preset voltage threshold * 1.1.
[0070] If the average digital voltage is greater than the product of the preset voltage threshold and the third coefficient, then the first and second measurement results are determined to be in a severe overvoltage state, i.e., preset voltage threshold * 1.1 < V.
[0071] If the average digital voltage is greater than the product of the preset voltage threshold and the fourth coefficient (e.g., 0.9), and the average digital voltage is less than the product of the preset voltage threshold and the first coefficient, then the first and second measurement results are determined to be in a non-severe undervoltage state, i.e., preset voltage threshold * 0.9 < V < preset voltage threshold * 0.93.
[0072] If the average digital voltage is less than the product of the preset voltage threshold and the fourth coefficient, then the first and second measurement results are determined to be in a severely undervoltage state, i.e., V < preset voltage threshold * 0.9.
[0073] Therefore, by removing the maximum and minimum values from multiple digital voltages, the average value of the remaining valid sampled digital voltages is calculated and compared with a preset voltage threshold. This is an anti-interference data processing strategy that can effectively suppress transient interference and abnormal jumps, while improving the stability and accuracy of voltage status judgment.
[0074] In step S403, a comparison between the first detection result and the second detection result is obtained. If the comparison result is different, the faulty line is determined based on the first detection result, the second detection result, and the third detection result obtained based on the third digital voltage obtained in the re-inspection supplementary circuit.
[0075] According to one embodiment of the present invention, obtaining a comparison result of a first detection result and a second detection result includes: determining whether the first detection result and the second detection result are the same; if the first detection result and the second detection result are not the same, then based on a preset interval time, re-collecting the latest digital voltage of the voltage detection node, and after repeatedly performing the data preprocessing step on the latest digital voltage, obtaining the first latest detection result of the first detection circuit and the second latest detection result of the second detection circuit; determining whether the first latest detection result is the same as the first detection result, and whether the second latest detection result is the same as the second detection result; if the first latest detection result is the same as the first detection result, and the second latest detection result is the same as the second detection result, then determining that the line detection system is in a fault state.
[0076] The preset interval duration can be limited by those skilled in the art based on actual testing needs, or it can be obtained through a limited number of computer simulations; no specific limitation is made here.
[0077] Specifically, in this embodiment of the invention, the first detection result of the first detection circuit and the second detection result of the second detection circuit are used as the main detection comparison circuit, and the third detection circuit is used as the re-inspection supplementary circuit. Therefore, after obtaining the first detection result and the second detection result, this embodiment of the invention needs to first perform a consistency check on the two detection results in order to determine the status of the line detection system.
[0078] Specifically, such as Figure 5As shown, firstly, the first detection result output by the first detection circuit and the second detection result output by the second detection circuit are compared. If the first detection result ≠ the second detection result, i.e., S1 ≠ S2, it indicates that at least one of the first and / or second detection circuits is abnormal or faulty. To determine whether the abnormality is caused by signal interference, this embodiment of the invention requires a second determination. Based on a preset interval (e.g., an interval of 10ms), the second voltage acquisition can be started through the first and second detection circuits, i.e., the latest digital voltage of the voltage detection node is re-acquired. After repeating the data preprocessing steps on the latest digital voltage, the first latest detection result S1´ of the first detection circuit and the second latest detection result S2´ of the second detection circuit are obtained. The second voltage acquisition process is the same as the first determination method. To avoid redundancy, it will not be described in detail here.
[0079] Furthermore, based on the first and second latest detection results obtained after the second sampling, it is further determined whether the two detection results are the same, that is, whether the first latest detection result is the same as the first detection result, and whether the second latest detection result is the same as the second detection result. If the first latest detection result is the same as the first detection result, and the second latest detection result is the same as the second detection result, that is, S1´=S1 and S2´=S2, then it indicates that the abnormality in the first detection circuit and / or the second detection circuit is not caused by signal interference, but by circuit failure. In other words, at least one of the first detection circuit and / or the second detection circuit has failed.
[0080] Therefore, this embodiment of the invention uses dual verification through two detections. Based on the results of the two detections, the fault type of the detection circuit can be determined, thereby significantly reducing the false alarm rate caused by occasional noise or transient fluctuations.
[0081] According to one embodiment of the present invention, after determining that the line detection system is in a fault state, the method further includes: based on the third detection result of the re-inspection supplementary circuit, comparing the third detection result with the first latest detection result and the second latest detection result respectively, and determining that the first detection circuit is in a fault state when the third detection result is different from the first latest detection result, and / or determining that the second detection circuit is in a fault state when the third detection result is different from the second latest detection result, and outputting the third detection result, while shutting down the first detection circuit and / or the second detection circuit; and determining the circuit fault repair strategy of the line detection system based on the third detection result.
[0082] Specifically, after at least one of the first and / or second detection circuits fails, a re-detection supplementary circuit is activated to output a third detection result S3. The third detection result is compared with the latest detection result of the first and second detection circuits respectively. If the third detection result is not equal to the first detection result (i.e., S3 ≠ S1'), the first detection result is determined to be an abnormal display result, indicating that the first detection circuit is in a fault state, and the first detection circuit is shut down. If the third detection result is not equal to the second detection result (i.e., S3 ≠ S2'), the second detection result is determined to be an abnormal display result, indicating that the second detection circuit is in a fault state, and the second detection circuit is shut down. Then, the judgment result is output based on the third detection result, thereby achieving dynamic fault tolerance and ensuring continuous system operation. At this time, the fault result of the detection circuit can be recorded.
[0083] This fault can be a severe undervoltage state or a severe overvoltage state. In this case, the machine needs to be automatically powered off immediately to prevent damage to chips and components due to overvoltage or undervoltage. At the same time, the user should be reminded to replace the board and troubleshoot the cause of the fault.
[0084] Therefore, the third detection circuit, based on CPLD and analog comparator, is a pure hardware fast response path. It typically has low power consumption but fixed logic. The third detection circuit is only activated when the first two software paths reach an agreement, which can save hardware resources, avoid arbitration conflicts caused by redundant judgments, and improve the determinism and security of fault response.
[0085] According to one embodiment of the present invention, after determining whether the first latest detection result is the same as the first detection result and whether the second latest detection result is the same as the second detection result, the method further includes: if the first latest detection result is different from the first detection result, or if the second latest detection result is different from the second detection result, then comparing the third detection result with the first latest detection result and the second latest detection result respectively; if the third detection result is different from the first latest detection result, then determining that the first detection circuit is in a signal interference state, and / or if the third detection result is different from the second latest detection result, then determining that the second detection circuit is in a signal interference state, and outputting the third detection result, while recording the abnormal data of the first detection circuit and / or the second detection circuit; and determining the signal interference maintenance strategy of the line detection system based on the third detection result.
[0086] Specifically, if the first latest detection result is different from the first detection result (i.e., S1´≠S1), or the second latest detection result is different from the second detection result (i.e., S2´≠S2), it indicates that the abnormality in the first detection circuit and / or the second detection circuit is caused by transient signal interference. In this case, the re-detection supplementary circuit is activated to output the third detection result. Then, the third detection result is compared with the first latest detection result and the second latest detection result respectively. If the third detection result is not equal to the first latest detection result (i.e., S3≠S1´), the first detection result is determined to be an abnormal display result, meaning that the first detection circuit is in a signal abnormal state. If the third detection result is not equal to the second latest detection result (i.e., S3≠S2´), the second detection result is determined to be an abnormal display result, meaning that the second detection circuit is in a signal abnormal state. Then, the judgment result is output based on the third detection result, and the signal abnormality data is recorded for later calibration.
[0087] The fault can be a non-severe undervoltage state or a non-severe overvoltage state. In this case, an alarm can be issued through the user interface to remind the user of the risk. The user can choose whether to immediately cut off the power for maintenance based on the business status.
[0088] It should be noted that since any detection path that relies on software may fail, a pure hardware detection circuit that is independent of software and operating system is required. Therefore, in this embodiment of the invention, whether the detection results of the first detection circuit and the second detection circuit are the same or different, a supplementary detection circuit is required to perform a re-detection to ensure that the fault is not missed due to software failure, and at the same time improve the reliability and security of the system.
[0089] Therefore, when the results of the first two detections are inconsistent, it indicates that the P3V3 state may be in a critical region or there may be interference. Directly ignoring it may lead to missed or false alarms. Therefore, a third detection circuit is introduced for high-priority verification, which can make more reliable judgments in critical states, achieve accurate decision-making in ambiguous or conflicting scenarios, and reduce the false alarm rate and missed alarm rate.
[0090] According to one embodiment of the present invention, after determining whether the first detection result and the second detection result are the same, the method further includes: if the first detection result and the second detection result are the same, then directly outputting the first detection result and the second detection result.
[0091] Specifically, after comparing the first detection result output by the first detection circuit with the second detection result output by the second detection circuit, if the first detection result and the second detection result are the same, i.e., S1=S2, it indicates that the detection results of the two detection circuits are clear and not transient interference. Therefore, there is no need to activate the re-inspection supplementary circuit for re-inspection, and the detection result is directly output.
[0092] Therefore, if the first and second detection results are the same, there is no need to wait for the third detection circuit to complete arbitration or additional verification, thereby achieving rapid alarm, saving logic resources and power consumption, and improving system real-time performance.
[0093] In summary, the embodiments of the present invention can achieve the following beneficial effects: (1) Enhanced redundancy: The three detection circuits independently determine the voltage status, avoiding misjudgments caused by single-line failures, which can greatly reduce false alarms or missed alarms. In addition, the three detection circuits have dynamic fault tolerance capabilities, and the remaining circuits can be used to make judgments after a single-line failure, ensuring the stable operation of the server; (2) Multi-dimensional verification: The judgment of the three detection circuits is based on the combination of digital and analog signals, taking into account high precision, high speed and high reliability; (3) All-round anti-interference: At the hardware level, the design includes RC filter, ADC digital-to-analog converter, MCU and independent power supply. At the software level, the BMC and MCU process the collected data, and the proposed voltage alarm judgment method can effectively filter electromagnetic interference and instantaneous fluctuations.
[0094] According to the line detection method proposed in the embodiments of the present invention, the power supply component is configured to output a preset power supply voltage. The main detection component includes a first detection circuit and a second detection circuit, and is configured to obtain a first detection result based on a first digital voltage obtained in the first detection circuit and a second detection result based on a second digital voltage obtained in the second detection circuit. The input terminal of the re-detection supplementary circuit is electrically connected to the output terminal of the power supply component. The re-detection supplementary circuit is configured to determine the faulty line based on the first detection result, the second detection result, and the third detection result in the re-detection supplementary circuit when the comparison results of the first detection result and the second detection result are different. This solves the technical problems of low reliability of voltage alarm detection, weak anti-interference ability, and single alarm mechanism in related technologies. Through three independent detection lines and an intelligent collaborative judgment mechanism, redundant detection and accurate judgment of voltage alarms are achieved.
[0095] Embodiments of the present invention also provide an electronic device including a circuit detection system as described in any of the above embodiments.
[0096] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method.
[0097] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.
[0098] The circuit detection system provided by this invention has been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this invention. The descriptions of the embodiments above are only for the purpose of helping to understand the method and core ideas of this invention. It should be noted that those skilled in the art can make various improvements and modifications to this invention without departing from its principles, and these improvements and modifications also fall within the protection scope of the claims of this invention.
Claims
1. A circuit detection system, characterized in that, include: The system consists of a power supply component, a main detection component, and a re-detection supplementary circuit. The power supply component is configured to output a preset power supply voltage; The main detection component includes a first detection circuit and a second detection circuit, which are communicatively connected. The input terminal of the first detection circuit is electrically connected to the output terminal of the power supply component, and the input terminal of the second detection circuit is electrically connected to the output terminal of the power supply component. The main detection component is configured to obtain a first detection result based on at least one first digital voltage obtained from the first detection circuit, and a second detection result based on at least one second digital voltage obtained from the second detection circuit. A retest supplementary circuit is provided, wherein the input terminal of the retest supplementary circuit is electrically connected to the output terminal of the power supply component, and the retest supplementary circuit is communicatively connected to the first detection circuit and the second detection circuit respectively. The retest supplementary circuit is configured to determine the faulty line based on the first detection result, the second detection result and a third detection result obtained based on the third digital voltage obtained in the retest supplementary circuit when the comparison results of the first detection result and the second detection result are different.
2. The line detection system according to claim 1, characterized in that, The first detection circuit includes: a first power supply unit, a first voltage divider unit, a first filter unit, a first digital-to-analog converter unit, and a first control unit, wherein, The first power supply unit is configured to supply power to the first control unit; The first end of the first voltage divider unit is electrically connected to the output end of the power supply component, the second end of the first voltage divider unit is electrically connected to the ground node, and the third end of the first voltage divider unit is electrically connected to the first end of the first filter unit. The first voltage divider unit is configured to divide the preset output power supply voltage of the power supply component to a first preset voltage. The second end of the first filtering unit is electrically connected to the grounding node, and the third end of the first filtering unit is electrically connected to the first end of the first digital-to-analog converter. The first filtering unit is configured to filter the first preset voltage to obtain a first filtered voltage. The power supply terminal of the first digital-to-analog converter is electrically connected to the first power supply unit, and the output terminal of the first digital-to-analog converter is electrically connected to the first control unit. The first digital-to-analog converter is configured to convert the first filtered voltage into a first digital voltage. The first control unit is configured to output the first detection result based on the first digital voltage.
3. The line detection system according to claim 2, characterized in that, The first voltage divider unit includes: A first resistor, one end of which is electrically connected to the output terminal of the power supply component. A second resistor is provided, one end of which is electrically connected to the other end of the first resistor, and the other end of which is electrically connected to the grounding node. The connection node between the first resistor and the second resistor serves as the third terminal of the first voltage divider unit and is electrically connected to the first terminal of the first filter unit.
4. The line detection system according to claim 2, characterized in that, The first filtering unit includes: The third resistor has one end electrically connected to the connection node between the first resistor and the second resistor, and the other end electrically connected to the first end of the first digital-to-analog converter unit. A first capacitor, one end of which is electrically connected to the connection node between the third resistor and the first digital-to-analog converter unit, and the other end of which is electrically connected to the grounding node.
5. The line detection system according to claim 1, characterized in that, The second detection circuit includes: a second power supply unit, a second voltage divider unit, a second filter unit, a second digital-to-analog converter unit, and a second control unit, wherein... The second power supply unit is configured to supply power to the second control unit; The first end of the second voltage divider unit is electrically connected to the output end of the power supply component, the second end of the second voltage divider unit is electrically connected to the ground node, and the third end of the second voltage divider unit is electrically connected to the first end of the second filter unit. The second voltage divider unit is configured to divide the preset output voltage of the power supply component to a second preset voltage. The second end of the second filtering unit is electrically connected to the grounding node, and the third end of the second filtering unit is electrically connected to the first end of the second digital-to-analog converter. The second filtering unit is configured to filter the second preset voltage to obtain the second filtered voltage. The power supply terminal of the second digital-to-analog converter is electrically connected to the second power supply unit, and the output terminal of the second digital-to-analog converter is electrically connected to the second control unit. The second digital-to-analog converter is configured to convert the second filtered voltage into a second digital voltage. The second control unit is configured to output the second detection result based on the second digital voltage.
6. The line detection system according to claim 5, characterized in that, The second voltage divider unit includes: A fourth resistor, one end of which is electrically connected to the output terminal of the power supply component. The fifth resistor has one end electrically connected to the other end of the fourth resistor, and the other end electrically connected to the grounding node. The connection node between the fourth resistor and the fifth resistor serves as the third terminal of the second voltage divider unit and is electrically connected to the first terminal of the second filter unit.
7. The line detection system according to claim 5, characterized in that, The second filtering unit includes: The sixth resistor has one end electrically connected to the connection node between the fourth and fifth resistors, and the other end electrically connected to the first end of the second digital-to-analog converter unit. The second capacitor has one end electrically connected to the connection node between the sixth resistor and the second digital-to-analog converter unit, and the other end electrically connected to the grounding node.
8. The line detection system according to claim 1, characterized in that, The re-examination supplementary circuit includes: a third power supply unit, a third voltage divider unit, a third filter unit, a voltage comparison unit, and a programmable unit, wherein... The third power supply unit is configured to supply power to the programmable unit; The first end of the third voltage divider unit is electrically connected to the output end of the power supply component, the second end of the third voltage divider unit is electrically connected to the ground node, and the third end of the third voltage divider unit is electrically connected to the first end of the third filter unit. The third voltage divider unit is configured to divide the preset output power supply voltage of the power supply component to a third preset voltage. The second end of the third filtering unit is electrically connected to the grounding node, and the third end of the third filtering unit is electrically connected to the first end of the voltage comparison unit. The third filtering unit is configured to filter the third preset voltage to obtain the third filtered voltage. The power supply terminal of the voltage comparison unit is electrically connected to the third power supply unit, and the output terminal of the voltage comparison unit is electrically connected to the programmable unit. The voltage comparison unit is configured to convert the third filtered voltage into a third digital voltage. The programmable unit is configured to output the third detection result based on the third digital voltage.
9. The line detection system according to claim 8, characterized in that, The third voltage divider unit includes: The seventh resistor, one end of which is electrically connected to the output terminal of the power supply component, The eighth resistor has one end electrically connected to the other end of the seventh resistor, and the other end electrically connected to the grounding node. The connection node between the seventh resistor and the eighth resistor serves as the third terminal of the third voltage divider unit and is electrically connected to the first terminal of the third filter unit.
10. The line detection system according to claim 8, characterized in that, The third filtering unit includes: The ninth resistor has one end electrically connected to the connection node between the seventh and eighth resistors, and the other end electrically connected to the first end of the voltage comparison unit. The third capacitor has one end electrically connected to the connection node between the ninth resistor and the voltage comparison unit, and the other end electrically connected to the grounding node.
11. The line detection system according to claim 1, characterized in that, The power supply component includes: a main power supply unit and a fourth filtering unit, wherein, The output terminal of the main power supply unit is electrically connected to one end of the fourth filter unit; The main power supply unit is configured to provide a preset power supply voltage; The fourth filtering unit has its other end electrically connected to the input terminal of the main detection component and the input terminal of the re-detection supplementary circuit, respectively. The fourth filtering unit is configured to filter the preset power supply voltage.
12. The line detection system according to claim 11, characterized in that, The fourth filtering unit includes: An inductor, one end of which is electrically connected to the output terminal of the main power supply unit; A filter capacitor assembly electrically connected to the other end of the inductor, the filter capacitor assembly including a plurality of filter capacitors connected in parallel, the plurality of filter capacitors being configured to filter noise from a first digital voltage and a second digital voltage.
13. An electronic device, characterized in that, include: The line detection system as described in any one of claims 1-12.
14. A circuit detection method, characterized in that, The method is applied to the line detection system as described in any one of claims 1-12, wherein the method includes the following steps: The first control unit acquires the first digital voltage output by at least one first digital-to-analog converter unit, and obtains a first detection result based on at least one of the first digital voltages; The second control unit acquires the second digital voltage output from at least one second digital-to-analog converter unit, and obtains a second detection result based on at least one of the second digital voltages; Obtain a comparison result between the first detection result and the second detection result. If the comparison result is different, determine the faulty line based on the first detection result, the second detection result, and the third detection result obtained based on the third digital voltage obtained in the re-inspection supplementary circuit.
15. The line detection method according to claim 14, characterized in that, The steps of obtaining a first detection result based on at least one of the first digital voltages and obtaining a second detection result based on at least one of the second digital voltages include: The first digital voltage is preprocessed, the first maximum digital voltage and the first minimum digital voltage of the first digital voltage after data preprocessing are removed, and the first average digital voltage of the remaining digital voltage in the first digital voltage is calculated. The first average digital voltage is compared with at least one preset voltage threshold, and the first detection result of the first detection circuit is obtained based on the product of the first average digital voltage, the preset voltage threshold and the corresponding coefficient. The second digital voltage is preprocessed to remove the second maximum digital voltage and the second minimum digital voltage after data preprocessing, and the second average digital voltage of the remaining digital voltage in the second digital voltage is calculated. The second average digital voltage is compared with at least one of the preset voltage thresholds, and the second detection result of the second detection circuit is obtained based on the product of the second average digital voltage, the preset voltage threshold and the corresponding coefficient.
16. The line detection method according to claim 15, characterized in that, The data preprocessing of the first digital voltage and the second digital voltage includes: Obtain the preset output voltage of the power supply component; The output preset supply voltage is divided by the first voltage divider unit to obtain the first preset voltage, and the first preset voltage is filtered by the first filter unit to obtain the first filtered voltage, and the first filtered voltage is sent to the first digital-to-analog converter unit. The first filtered voltage is converted into a first digital voltage using the first digital-to-analog converter unit, and the first digital voltage is sent to the first control unit. The output preset supply voltage is divided by the second voltage divider unit to obtain the second preset voltage, and the second preset voltage is filtered by the second filter unit to obtain the second filtered voltage, and the second filtered voltage is sent to the second digital-to-analog converter unit. The second digital-to-analog converter unit converts the second filtered voltage into a second digital voltage, and sends the second digital voltage to the second control unit.
17. The line detection method according to claim 14, characterized in that, The step of obtaining the comparison result between the first detection result and the second detection result includes: Determine whether the first detection result and the second detection result are the same; If the first detection result and the second detection result are different, the latest digital voltage of the voltage detection node is re-acquired based on the preset interval time. After repeatedly performing the data preprocessing step on the latest digital voltage, the first latest detection result of the first detection circuit and the second latest detection result of the second detection circuit are obtained. Determine whether the first latest detection result is the same as the first detection result, and whether the second latest detection result is the same as the second detection result; If the first latest detection result is the same as the first detection result, and the second latest detection result is the same as the second detection result, then the line detection system is determined to be in a fault state.
18. The line detection method according to claim 17, characterized in that, After determining that the line detection system is in a faulty state, the following steps are also included: Based on the third detection result of the re-inspection supplementary circuit, the third detection result is compared with the first latest detection result and the second latest detection result respectively. If the third detection result is different from the first latest detection result, the first detection circuit is determined to be in a fault state, and / or if the third detection result is different from the second latest detection result, the second detection circuit is determined to be in a fault state, and the third detection result is output, while the first detection circuit and / or the second detection circuit are turned off. The circuit fault repair strategy of the circuit detection system is determined based on the third detection result.
19. The line detection method according to claim 17, characterized in that, After determining whether the first latest detection result is the same as the first detection result, and whether the second latest detection result is the same as the second detection result, the method further includes: If the first latest detection result is different from the first detection result, or the second latest detection result is different from the second detection result, then the third detection result is compared with the first latest detection result and the second latest detection result respectively; If the third detection result is different from the first latest detection result, the first detection circuit is determined to be in a signal interference state, and / or if the third detection result is different from the second latest detection result, the second detection circuit is determined to be in a signal interference state, and the third detection result is output, while the abnormal data of the first detection circuit and / or the second detection circuit are recorded. The signal interference repair strategy of the line detection system is determined based on the third detection result.
20. The line detection method according to claim 17, characterized in that, After determining whether the first detection result and the second detection result are the same, the process further includes: If the first detection result and the second detection result are the same, then the first detection result and the second detection result are directly output.
Citation Information
Patent Citations
Residual current and temperature mixed connection detection circuit and detection method
CN113819956A
Voltage detection method, device, system, electronic device, readable storage medium and chip
CN119757846A
Intelligent monitoring and self-repairing circuit of ocean data acquisition terminal
CN119960341A
Remote measurement and control terminal, and safety control system
WO2024094140A1