Power supply detection system
By designing a power detection system that can simultaneously collect and compare multiple power supply voltages, the problem that power detection systems in the prior art are difficult to detect multiple power supply simultaneously is solved, and an efficient and simplified power detection process is achieved.
Patent Information
- Application Number
- CN202420524797.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-18
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2034-03-18
AI Technical Summary
In the prior art, it is difficult for power detection systems to detect multiple power supplies at the same time, resulting in high testing time cost, complex operation and error-prone.
A power detection system is designed, including a main control module and a power detection module. The power detection module can collect multiple power voltages at the same time, compare it with the corresponding reference voltage, and output the comparison result to the main control module. The main control module determines whether the power supply exceeds the limit based on the comparison results, and records and reports the limit information.
It realizes simultaneous detection of multiple power supplies, saves testing time, reduces testing difficulty, improves detection efficiency, and simplifies the operation process by centrally viewing overlimit information.
Smart Images

Figure CN222618756U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of power supply detection, in particular to a power supply detection system. Background Art
[0002] Desktop power supplies have many outputs. When performing surge voltage tests on desktop power supplies, it is necessary to ensure that the power supply is not damaged during the test and that all outputs and signal outputs are normal. Currently, multimeters and oscilloscopes are used to measure each channel one by one, which increases the time and test costs of the test. The cost of professional instruments is very expensive, and improper operation requires retesting. During the test, the tester must stare at the waveform of the oscilloscope or the value of the multimeter throughout the test, which wastes the tester's time. Utility Model Content
[0003] Therefore, the technical problem to be solved by the present invention is to solve the problem that the power supply detection system in the prior art cannot detect multiple power supplies at the same time, thereby providing a power supply detection system.
[0004] In order to achieve the above object, the utility model provides the following technical solutions:
[0005] The utility model provides a power supply detection system, comprising: a main control module and a power supply detection module, wherein each input end of the power supply detection module is respectively input with a power supply voltage, and each output end of the power supply detection module is respectively connected with an input end of the main control module; the power supply detection module is used to compare the power supply voltage with the corresponding reference voltage; the magnitude of each reference voltage is equal to the output voltage of the corresponding power supply when it works normally; when the power supply detection module determines that at least one power supply voltage is not equal to the corresponding reference voltage, the corresponding output end of the power supply detection module outputs a first level signal to the main control module, and the main control module determines that the corresponding power supply voltage is out of limit, and records and reports the over-limit information of the corresponding power supply voltage.
[0006] The power supply detection system provided by the utility model has a power supply detection module that can simultaneously collect multiple power supply voltages and compare them with corresponding reference voltages, and then output the comparison results to the main control module. When the main control module determines that one or more power supply voltages are out of limit, the main control module outputs the over-limit information of the power supply voltage of the corresponding power supply and reports it to the terminal, so that the operator can conveniently check the working status of each power supply in the terminal, save test time, reduce the difficulty of testing multiple power supplies, and improve detection efficiency.
[0007] In an optional embodiment, the power supply detection module includes: multiple power supply detection circuits, wherein a power supply voltage is input into the input end of each power supply detection circuit, and the output end of each power supply detection circuit is connected to an input end of the main control module; when at least one power supply detection circuit determines that the power supply voltage is not equal to the corresponding reference voltage, the power supply detection circuit outputs a first level signal to the main control module, and the main control module determines that the corresponding power supply voltage is out of limit, and records and reports the out-of-limit information of the corresponding power supply voltage.
[0008] In the power supply detection system provided by the utility model, after each power supply voltage is subjected to over-limit detection by a corresponding power supply detection circuit, each power supply detection circuit inputs a level signal to a main control module through an independent output channel, and the level signals do not affect each other, thereby improving the accuracy of the detection result, and enabling the main control module to determine the corresponding power supply according to the input level signal, thereby improving the detection efficiency.
[0009] In an optional embodiment, the power supply detection circuit includes: a voltage detection module and an isolation module, wherein the voltage detection module has an input end that inputs the power supply voltage, an output end that is connected to the first end of the isolation module, and a first end that is connected to the second end of the isolation module, and is used to compare the power supply voltage with the size of an internal reference voltage; the isolation module has a third end that is grounded, and a fourth end that is connected to an input end of the main control module, and is used to isolate the power supply from the main control module; when the voltage detection module determines that the power supply voltage and the internal reference voltage are not equal, the voltage detection module outputs a first level signal to make the isolation module conductive, and the first level signal is transmitted to the main control module through the isolation module.
[0010] The utility model provides a power supply detection system, in which the isolation module is used to isolate the voltage detection module from the main control module, so as to prevent the voltage detection module from working abnormally and causing impact current to damage the main control module.
[0011] In an optional embodiment, the voltage detection module includes: a voltage divider circuit, a reference circuit and a comparison circuit, wherein the voltage divider circuit has a first end receiving a power supply voltage, a second end connected to the first end of the comparison circuit, a third end connected to the first end of the reference circuit, and a fourth end connected to the second end of the comparison circuit, and is used to convert the power supply voltage into a first voltage and a second voltage, and then input the first voltage and the second voltage into the comparison circuit respectively; the comparison circuit has a third end connected to the second end of the reference circuit, a fourth end connected to the third end of the reference circuit, the first power supply and the second end of the isolation module, and a fifth end connected to the first end of the isolation module; the reference circuit is used to generate a reference voltage; when the comparison circuit determines that the first voltage is less than the reference voltage or the second voltage is greater than the reference voltage, the comparison circuit outputs a first level signal to the isolation module.
[0012] In an optional embodiment, the voltage divider circuit includes a first voltage divider branch and a second voltage divider branch, wherein the first voltage divider branch, whose first end is connected to the first end of the second voltage divider branch and receives the power supply voltage, whose second end is connected to the first end of the comparison circuit, whose third end is connected to the third end of the second voltage divider branch and the first end of the reference circuit and then grounded, is used to convert the power supply voltage into a first voltage based on the lower limit value of the output voltage when the power supply is working normally; the second voltage divider branch, whose second end is connected to the second end of the comparison circuit, is used to convert the power supply voltage into a second voltage based on the upper limit value of the output voltage when the power supply is working normally.
[0013] In the power supply detection system provided by the utility model, the lower limit voltage and the upper limit voltage of the power supply are converted into the first voltage and the second voltage after the voltage division processing of the first voltage division branch and the second voltage division branch. When the circuit works normally, the first voltage, the second voltage and the reference voltage are all equal. Therefore, by comparing the magnitude relationship between the first voltage, the second voltage and the reference voltage, the comparison circuit can not only determine whether the power supply voltage is at the upper limit, but also determine whether it exceeds the lower limit, so that the detection of the power supply voltage is more comprehensive.
[0014] In an optional embodiment, the comparison circuit includes: a first comparison branch and a second comparison branch, wherein the first comparison branch has a positive input terminal connected to the second end of the first voltage divider branch, a negative input terminal connected to the second end of the reference circuit and the positive input terminal of the second voltage divider branch, a first power supply terminal connected to the first power supply terminal of the second comparison branch and the first power supply, a second power supply terminal grounded, an output terminal connected to the output terminal of the second comparison branch and the first end of the isolation module, and is used to compare the first voltage with the reference voltage. When the first voltage is less than the reference voltage, the first comparison branch outputs a first level signal; the second comparison branch has a negative input terminal connected to the second end of the second voltage divider branch, and a second power supply terminal grounded. It is used to compare the second voltage with the reference voltage. When the second voltage is greater than the reference voltage, the first comparison branch outputs a first level signal.
[0015] The power supply detection system provided by the utility model can respectively compare the upper and lower limit values of the power supply voltage with a reference voltage by setting two comparison circuits, and respectively determine whether the upper limit voltage or the lower limit voltage of the power supply voltage at this time exceeds the reference voltage, thereby making the detection of the power supply voltage more comprehensive.
[0016] In an optional embodiment, the voltage detection module also includes: an AND logic circuit, whose first input terminal and second input terminal are respectively connected to the output terminal of the first comparison branch and the output terminal of the second comparison branch, and whose output terminal is connected to the first terminal of the isolation module, and is used to process the first level signals output by the first comparison branch and the second comparison branch and input them into the isolation module.
[0017] In an optional embodiment, the power supply detection system also includes: a signal detection module, a first end of which is connected to the signal output end of the power supply, a second end of which is connected to the first power supply, a third end of which is grounded, and a fourth end of which is connected to an input end of the main control module; when the output of the signal output end of the power supply is abnormal, the signal detection module is turned on based on the level signal of the signal output end, and outputs a second level signal to the main control module. The main control module determines that the output of the signal output end is abnormal, and records and reports the output abnormality information.
[0018] In an optional embodiment, the power supply detection system also includes: a display module and a button module, wherein the display module has a first input end connected to an output end of the main control module, and a second input end connected to the first end of the button module, and is used to display information reported by the main control module; the button module has a second end connected to an output end of the main control module, and is used to switch the display state of the display module so that the display module displays different information.
[0019] With the power supply detection system provided by the utility model, an operator can switch the display status of the display module through the key module, and directly view the reporting information of the main control module through the display module, such as the over-limit situation of each power supply, the output status of the signal output terminal, etc., so that the operator can view the working status of each power supply in time, thereby improving work efficiency.
[0020] In an optional embodiment, the power supply detection system also includes: a power supply isolation module, which is connected to an external power supply and is used to convert the voltage of the external power supply into a supply voltage of different voltage levels to power the power supply detection module and the main control module.
[0021] The power supply detection system provided by the utility model has a power supply isolation module that isolates the voltage detection module, the isolation module, and the main control module from the external power supply, isolates the surge voltage of the external power supply, avoids the surge voltage from damaging the power supply detection circuit, and increases the service life of the power supply detection system. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the specific implementation methods of the utility model or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the utility model. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0023] Figure 1 A composition diagram of a specific example of a power supply detection system according to an embodiment of the utility model;
[0024] Figure 2A composition diagram of another specific example of a power supply detection system according to an embodiment of the utility model;
[0025] Figure 3 A structural diagram of a specific circuit of a power detection circuit and a main control module of an embodiment of the utility model;
[0026] Figure 4 A structural diagram of a specific circuit of a signal detection and control module of an embodiment of the utility model;
[0027] Figure 5 This is a composition diagram of another specific example of the power supply detection system according to an embodiment of the present utility model. DETAILED DESCRIPTION
[0028] The technical solution of the utility model will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments of the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.
[0029] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
[0030] In the description of the present utility model, it should be noted that, unless otherwise clearly specified and limited, the terms "installation", "connection" and "connection" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, it can also be the internal connection of two components, it can be a wireless connection, or it can be a wired connection. For ordinary technicians in this field, the specific meanings of the above terms in the present utility model can be understood according to specific circumstances.
[0031] In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0032] In the related art, when the output status of multiple power supplies needs to be tested, multiple multimeters and oscilloscopes are generally used to measure one by one, which wastes manpower. If a professional multi-channel tester is used, the cost is high, and the operator needs to monitor the test progress in real time during the test, which wastes the tester's time. To solve the above problems,
[0033] This embodiment provides a power supply detection system, such as Figure 1 As shown, it includes: a power supply detection module 1 and a main control module 2, wherein each input end of the power supply detection module 1 is respectively input with a power supply voltage (VIN0~VINn), and each output end of the power supply detection module 1 is respectively connected with an input end of the main control module 2; the power supply detection module 1 is used to compare the power supply voltage with the corresponding reference voltage; the magnitude of each reference voltage is equal to the output voltage of the corresponding power supply when it works normally.
[0034] Specifically, Figure 1 In the embodiment, the power detection module has multiple detection channels, the input end of each detection channel is respectively connected to a power supply and receives the power supply voltage (VIN0-VINn) of the power supply, and the output end of each detection channel is respectively connected to an input end of the main control module 2. The output voltage of each power supply when working normally is used as the reference voltage in the corresponding detection channel. Each detection channel compares the input power supply voltage with the reference voltage corresponding to the power supply and outputs the comparison result to the main control module 2. The detection channels do not interfere with each other, so that the comparison result is more accurate.
[0035] For example, when a short circuit or open circuit, excessive load, line aging, damage to the output capacitor, or other faults occur at the output end of the power supply under test, the power supply voltage at the input end of the power supply detection module 1 will change. The power supply detection module 1 can determine whether the power supply voltage exceeds the normal range by comparing the input power supply voltage with the output voltage when the power supply is working normally. When it exceeds the normal range, the power supply detection module 1 transmits the over-limit fault of the power supply to the main control module 2, so that the main control module 2 reports the fault information of the battery and promptly reminds the operator to troubleshoot the battery.
[0036] Figure 1 In the embodiment, when the power supply detection module 1 determines that at least one power supply voltage is not equal to the corresponding reference voltage, or determines that the difference between the power supply voltage and the reference voltage exceeds the allowable fluctuation range, the corresponding output end of the power supply detection module 1 outputs a first level signal to the main control module 2, and the main control module 2 determines that the corresponding power supply voltage is out of limit, and records and reports the out-of-limit information of the corresponding power supply voltage.
[0037] Specifically, Figure 1In the process, the main control module 2 records the over-limit status of each power supply according to the comparison results sent by each detection channel. The operator can directly obtain the over-limit status of each power supply through the information reported by the main control module, thereby reducing the detection difficulty and improving the detection efficiency.
[0038] It should be noted that the power detection module can also collect information such as the current and output frequency of each power supply and compare them with preset thresholds respectively, and then send the comparison results to the main control module, so that the main control module can determine whether the power supply is in normal working condition.
[0039] It should be noted that the multiple power supply voltages (VIN0-VINn) can be output by different output terminals of one power supply, or can be output by multiple power supplies respectively, and the type of power supply is not limited here.
[0040] The power supply detection system provided in this embodiment has a power supply detection module that can simultaneously collect multiple power supply voltages and compare them with corresponding reference voltages, and then output the comparison results to the main control module. When the main control module determines that one or more power supply voltages are out of limit, the main control module outputs the out-of-limit information of the power supply voltage of the corresponding power supply and reports it to the terminal, so that the operator can conveniently check the working status of each power supply at the terminal, save test time, reduce the difficulty of testing multiple power supplies, and improve detection efficiency.
[0041] In some optional embodiments, such as Figure 2 As shown, the power supply detection module 1 includes: multiple power supply detection circuits 11, wherein a power supply voltage is input to the input end of each power supply detection circuit 11, and the output end of each power supply detection circuit 11 is connected to an input end of the main control module 2; when at least one power supply detection circuit 11 determines that the power supply voltage is not equal to the corresponding reference voltage, the power supply detection circuit outputs a first level signal to the main control module 2, and the main control module 2 determines that the corresponding power supply voltage is out of limit, and records and reports the out-of-limit information of the corresponding power supply voltage.
[0042] It should be noted that when the power supply detection circuit 11 determines that the power supply voltage is not equal to the corresponding reference voltage, or determines that the difference between the power supply voltage and the reference voltage exceeds the allowable fluctuation range, the power supply detection circuit outputs a first level signal to the main control module 2, that is, the reference voltage can be a specific value or a range, which is not limited here.
[0043] In some optional embodiments, such as Figure 3 As shown, the power detection circuit 11 includes: a voltage detection module 111 and an isolation module 112, wherein the voltage detection module 111 has an input end that inputs the power supply voltage, an output end that is connected to a first end of the isolation module 112, and a first end that is connected to a second end of the isolation module 112, and is used to compare the power supply voltage with a reference voltage inside it.
[0044] Exemplarily, taking the case where the voltage detection module 111 receives the power supply voltage VIN0 as an example, the voltage detection module 111 sets a corresponding reference voltage or reference voltage range according to the upper and lower limits of the output voltage when the power supply works normally. The voltage detection module 111 compares the received power supply voltage VIN0 with the reference voltage or the reference voltage range. If the power supply voltage VIN0 is not equal to the reference voltage, or the power supply voltage VIN0 is not within the reference voltage range, the voltage detection module 111 outputs a first level signal.
[0045] Exemplarily, when the output end of the power supply under test is short-circuited or open-circuited, the load is too heavy, or the line is aged, the power supply voltage VIN0 at the input end of the voltage detection module 111 is low, and the voltage detection module 111 outputs a first level signal after determining that the power supply voltage VIN0 exceeds the lower limit of the output voltage when the power supply is working normally; when the load of the power supply under test is too light or the output capacitor is damaged, the power supply voltage VIN0 at the input end of the voltage detection module 111 is high, and the voltage detection module 111 outputs a first level signal after determining that the power supply voltage VIN0 exceeds the upper limit of the output voltage when the power supply is working normally.
[0046] like Figure 3 As shown, the isolation module 112 has a third terminal connected to the ground GND, and a fourth terminal connected to an input terminal of the main control module 2 , and is used to connect the isolation power supply to the main control module 2 .
[0047] Specifically, when the isolation module 112 receives the first level signal, the isolation module 112 is turned on and transmits the first level signal to the main control module 2. The main control module records and uploads the over-limit situation of the power supply voltage VIN0 based on the first level signal.
[0048] In some optional embodiments, such as Figure 3 As shown, the voltage detection module 111 includes: a voltage divider circuit 1111 , a reference circuit 1112 and a comparison circuit 1113 .
[0049] like Figure 3 As shown, the voltage divider circuit 1111 has a first end receiving the power supply voltage VIN0, a second end connected to the first end of the comparison circuit 1113, a third end connected to the first end of the reference circuit 1112, and a fourth end connected to the second end of the comparison circuit 1113, and is used for converting the power supply voltage VIN0 into a first voltage V1 and a second voltage V2, and then inputting the first voltage V1 and the second voltage V2 into the comparison circuit 1113 respectively.
[0050] Optionally, Figure 3In the embodiment, the voltage divider circuit 1111 includes: a first voltage divider branch 1114 and a second voltage divider branch 1115, wherein the first voltage divider branch 1114, whose first end is connected to the first end of the second voltage divider branch 1115 and then receives the power supply voltage VIN0, whose second end is connected to the first end of the comparison circuit 1113, whose third end is connected to the third end of the second voltage divider branch 1115 and the first end of the reference circuit 1112 and then grounded, is used to convert the power supply voltage VIN0 into the first voltage V1 based on the lower limit value of the output voltage when the power supply is working normally; the second voltage divider branch 1115, whose second end is connected to the second end of the comparison circuit 1113, is used to convert the power supply voltage VIN0 into the second voltage V2 based on the upper limit value of the output voltage when the power supply is working normally.
[0051] Figure 3 In the figure, a reference circuit 1112 is used to generate a reference voltage VREF.
[0052] Specifically, Figure 3 In the above example, it is assumed that the upper limit of the output voltage of the power supply under test is V0 when it is working normally. min , the lower limit of the output voltage is V0 max The reference circuit 1112 generates a suitable reference voltage VREF based on the output voltage of the power supply under test when it is working normally and based on the first power supply VCC1. By reasonably setting the resistance values of the resistors R1 and R6 in the first voltage dividing branch 1114 and the resistance values of the resistors R2 and R7 in the second voltage dividing branch 1115, V0 min After the voltage is divided by the first voltage dividing branch 1114, the first voltage V1 is greater than the reference voltage VREF and V0 max The second voltage V2 obtained after voltage division by the second voltage dividing branch 1115 is less than the reference voltage VREF. min ~V0 max When the first voltage V1 is always greater than the reference voltage VREF, the second voltage V2 is always less than the reference voltage VREF.
[0053] It should be noted that when testing power supplies of different voltage levels, it is necessary to adaptively adjust the resistance values of the resistors in the first voltage-dividing branch 1114, the second voltage-dividing branch 1115 and the reference circuit 1112 in combination with the output voltage of the power supply when it is working normally, so as to ensure that when the output voltage of the power supply is within a certain limit range, the first voltage V1 is greater than the reference voltage VREF and the second voltage V2 is less than the reference voltage VREF; when the output voltage of the power supply exceeds the upper limit or the lower limit, the first voltage V1 and the second voltage V2 are both less than the reference voltage VREF, or the first voltage V1 and the second voltage V2 are both greater than the reference voltage VREF.
[0054] like Figure 3As shown, the comparison circuit 1113 has a third end connected to the second end of the reference circuit 1112, a fourth end connected to the third end of the reference circuit 1112, the first power supply and the second end of the isolation module 112, and a fifth end connected to the first end of the isolation module 112.
[0055] Optionally, Figure 3 In the embodiment, the comparison circuit 1113 includes: a first comparison branch 1116 and a second comparison branch 1117, wherein the first comparison branch 1116 has a positive input terminal connected to the second terminal of the first voltage-dividing branch 1114, a negative input terminal connected to the second terminal of the reference circuit 1112 and the positive input terminal of the second voltage-dividing branch 1115, a first power supply terminal connected to the first power supply terminal of the second comparison branch 1117 and the first power supply VCC1, a second power supply terminal connected to the ground GND, an output terminal connected to the output terminal of the second comparison branch 1117 and the first terminal of the isolation module 112, and is used to compare the first voltage V1 with the reference voltage VREF; the second comparison branch 1117 has a negative input terminal connected to the second terminal of the second voltage-dividing branch 1115, a second power supply terminal connected to the ground GND, and is used to compare the second voltage V2 with the reference voltage VREF.
[0056] Specifically, Figure 3 In the embodiment, when the power supply voltage VIN0 is output normally, that is, the power supply voltage VIN0 is greater than the lower limit of the normal output voltage and less than the upper limit of the normal output voltage, the first voltage V1 inputted at the positive input terminal of the first comparison branch 1116 is greater than the reference voltage VREF at the negative input terminal, and the second voltage V2 inputted at the negative input terminal of the second comparison branch 1117 is less than the reference voltage VREF at the positive input terminal. Therefore, the operational amplifier U1 and the operational amplifier U2 both output a high level, the optocoupler U3 in the isolation module 112 is not turned on, the INT0 terminal of the main control module 2 is connected to the second power supply VCC2, and after inputting a high level signal, the main control module 2 determines that the power supply is not out of limit and does not report it.
[0057] Specifically, Figure 3 In the figure, when the power supply voltage VIN0 exceeds the lower limit, the first voltage V1 inputted at the positive input terminal of the first comparison branch 1116 and the second voltage V2 inputted at the negative input terminal of the second comparison branch 1117 are both less than the reference voltage VREF. Therefore, the operational amplifier U1 outputs a first level signal of a low level and the operational amplifier U2 outputs a high level. The optocoupler U3 in the isolation module 112 is turned on based on the first level signal. After the first level signal is transmitted to the INT0 terminal of the main control module 2, the main control module 2 determines that the power supply voltage exceeds the limit and records and reports it.
[0058] Specifically, Figure 3In the figure, when the power supply voltage VIN0 exceeds the upper limit, the first voltage V1 inputted at the positive input terminal of the first comparison branch 1116 and the second voltage V2 inputted at the negative input terminal of the second comparison branch 1117 are both greater than the reference voltage VREF. Therefore, the operational amplifier U1 outputs a high level and the operational amplifier U2 outputs a low level first level signal. The optocoupler U3 in the isolation module 112 is turned on based on the first level signal. After transmitting the first level signal to the INT0 terminal of the main control module 2, the main control module 2 determines that the power supply connected to the INT0 terminal is out of limit and records and reports it.
[0059] Specifically, Figure 3 In the figure, when U1 and U2 are voltage comparators, R11 and R12 are used as pull-up resistors at the output of the comparator. If U1 and U2 are both op amps, R11 and R12 are not needed. U4 is the reference voltage IC, R8 is the pull-up bias resistor of the reference voltage IC, and C1 and C2 are used for filtering to remove interference in the power supply voltage and avoid misjudgment of the detection system.
[0060] Specifically, Figure 3 In the embodiment, multiple input terminals (INT0-INTn) of the main control module 2 are interrupt pins, which can be configured as low-level trigger interrupts. The main control chip included in the main control module 2 is used to process and record the state of the power supply voltage. When an abnormality occurs, the voltage of the corresponding interrupt pin is low, triggering the main control chip terminal and recording the interrupt time. Multiple input terminals (INT0-INTn) respectively receive the level signals generated by the voltage detection module 111 after the power supply voltage (VIN0-VINn) is tested, thereby achieving the purpose of simultaneously detecting multiple power supply voltages and improving the detection efficiency.
[0061] It should be noted that those skilled in the art can flexibly adjust the resistance values of the resistors in the first voltage-dividing branch 1114 and the second voltage-dividing branch 1115 according to actual needs, thereby adjusting the threshold for the comparison circuit 1113 to output the first level signal, and further adjusting the detection accuracy of the power detection system.
[0062] It should be noted that this embodiment takes the test of the power supply voltage VIN0 as an example, and the test principles of other power supply voltages (VIN1 to VINn) are consistent with the above content.
[0063] In some optional embodiments, such as Figure 3 As shown, the voltage detection module 111 also includes: an AND logic circuit 1118, whose first input terminal and second input terminal are respectively connected to the output terminal of the first comparison branch 1116 and the output terminal of the second comparison branch 1117, and whose output terminal is connected to the first terminal of the isolation module 112, and is used to process the first level signal output by the first comparison branch 1116 and the second comparison branch 1117 and input it to the isolation module 112.
[0064] Specifically, Figure 3 When the power supply voltage VIN0 exceeds the lower limit, the AND logic circuit 1118 ANDs the low-level first-level signal received at the first input terminal with the high-level signal received at the second input terminal, and then outputs a low-level signal to the isolation module 112 .
[0065] Specifically, Figure 3 When the power supply voltage VIN0 exceeds the upper limit, the AND logic circuit 1118 ANDs the high level signal received at the first input terminal with the low level first level signal received at the second input terminal, and then outputs a low level signal to the isolation module 112 .
[0066] Specifically, Figure 3 In the figure, when the power supply voltage VIN0 is within the normal range, the AND logic circuit 1118 ANDs the high-level signals received by the first input terminal and the second input terminal, and outputs a high-level signal to the isolation module 112; therefore, the AND logic circuit 1118 is used to ensure that when the power supply voltage VIN0 exceeds the limit, any input terminal thereof becomes a low level and can output a low-level signal, thereby ensuring that the isolation module 112 can be reliably turned on.
[0067] In some optional embodiments, such as Figure 4 As shown, the power detection system also includes: a signal detection module 3, whose first end is connected to the signal output end of the power supply, whose second end is connected to the first power supply VCC1, whose third end is grounded GND, and whose fourth end is connected to an input end of the main control module 2.
[0068] For example, Figure 4 In the example, a power supply has multiple voltage output terminals and a signal output terminal. When the output of the signal output terminal of the power supply is normal, the first terminal of the signal detection module 3 receives a high-level signal, and the optocoupler U5 is turned off, so that the input terminal of the main control module 2 is at a high level under the action of the second power supply VCC2. The main control module 2 determines that the output state of the signal output terminal of the power supply is normal and does not record it. When the output of the signal output terminal of the power supply is abnormal, the first terminal of the signal detection module 3 receives a low-level signal. After the optocoupler U5 is turned on and transmits the low-level signal to the input terminal of the main control module 2, the main control module 2 determines that the output state of the signal output terminal of the power supply is abnormal and records and reports it.
[0069] It should be noted that the signal output end of the power supply can send a low-level signal when the output is normal and a high-level signal when it is abnormal. At the same time, the response actions of the main control module 2 and the signal detection module 3 according to the level signal can also be adaptively adjusted, which is not limited here.
[0070] In some optional embodiments, such as Figure 5As shown, the power supply detection system also includes: a display module 4 and a key module 5, wherein the display module 4, whose first input end is connected to an output end of the main control module 2, and whose second input end is connected to the first end of the key module 5, is used to display the information reported by the main control module 2; the key module 5, whose second end is connected to an output end of the main control module 2, is used to switch the display state of the display module 4 so that the display module 4 displays different information.
[0071] Specifically, Figure 5 In the embodiment, the main control module 2 is connected to the display module 4 through the I2C signal, and can also be connected and transmit data through serial port protocols such as UART and SPI. The display module can be an LED liquid crystal display module. The main control module 2 displays the power supply voltage and signal abnormality information on the display module 4. After the test is completed, the main control module 2 will display the key parameters of the entire test process on the display module 4, such as the voltage and the number of abnormalities, the time of each abnormality, etc. The operator can switch the display state of the display module 4 through the key module 5, such as controlling the display module to turn pages, confirm, cancel, etc.
[0072] In some optional embodiments, such as Figure 5 As shown, the power supply detection system also includes: a power supply isolation module 6, which is connected to an external power supply, wherein the external power supply can be a municipal power grid, and the power supply isolation module 6 is used to convert the voltage of the external power supply into a power supply voltage of different voltage levels to power the power supply detection module 1 and the main control module 2.
[0073] Specifically, Figure 5 In the embodiment, the power isolation module 6 converts the mains voltage into the first power supply VCC1 and the second power supply VCC2 and then outputs them, which can supply power to the power detection circuit 11, the main control module 2 and the display module 5. The power isolation module 6 electrically isolates the mains from the first power supply VCC1 and the second power supply VCC2, ensuring that the interference of the power grid will not affect the first power supply VCC1 and the second power supply VCC2, nor will it interfere with the normal operation of other circuits in the detection system, thereby improving the safety of the detection system.
[0074] Although the embodiments of the present invention are described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A power supply detection system, characterized in that: include: Main control module and power detection module, among which, Each input end of the power detection module is respectively input with a power supply voltage, and each output end of the power detection module is respectively connected with an input end of the main control module; The power detection module is used to compare the power supply voltage with the corresponding reference voltage; The magnitude of each of the reference voltages is equal to the output voltage of the corresponding power supply when it is working normally; When the power supply detection module determines that at least one power supply voltage is not equal to the corresponding reference voltage, the corresponding output end of the power supply detection module outputs a first level signal to the main control module, and the main control module determines that the corresponding power supply voltage is out of limit, and records and reports the out-of-limit information of the corresponding power supply voltage.
2. The power supply detection system according to claim 1, characterized in that: The power detection module includes: a plurality of power detection circuits, wherein: A power supply voltage is input to the input end of each power supply detection circuit, and an output end of each power supply detection circuit is connected to an input end of the main control module; When at least one of the power supply detection circuits determines that the power supply voltage is not equal to the corresponding reference voltage, the power supply detection circuit outputs a first level signal to the main control module, and the main control module determines that the corresponding power supply voltage is out of limit, and records and reports the out-of-limit information of the corresponding power supply voltage.
3. The power supply detection system according to claim 2, characterized in that: The power detection circuit includes: a voltage detection module and an isolation module, wherein: A voltage detection module, whose input end is input with a power supply voltage, whose output end is connected with the first end of the isolation module, whose first end is connected with the second end of the isolation module, and which is used to compare the power supply voltage with the internal reference voltage; an isolation module, a third end of which is grounded and a fourth end of which is connected to an input end of the main control module, and is used to isolate the power supply from the main control module; When the voltage detection module determines that the power supply voltage is not equal to the internal reference voltage, the voltage detection module outputs a first level signal to turn on the isolation module, and the first level signal is transmitted to the main control module through the isolation module.
4. The power supply detection system according to claim 3, characterized in that: The voltage detection module includes: a voltage divider circuit, a reference circuit and a comparison circuit, wherein: A voltage divider circuit, a first end of which receives the power supply voltage, a second end of which is connected to the first end of the comparison circuit, a third end of which is connected to the first end of the reference circuit, and a fourth end of which is connected to the second end of the comparison circuit, and is used for converting the power supply voltage into a first voltage and a second voltage, and then inputting the first voltage and the second voltage into the comparison circuit respectively; a comparison circuit, wherein a third end of the comparison circuit is connected to the second end of the reference circuit, a fourth end of the comparison circuit is connected to the third end of the reference circuit, a first power supply and the second end of the isolation module, and a fifth end of the comparison circuit is connected to the first end of the isolation module; A reference circuit for generating a reference voltage; When the comparison circuit determines that the first voltage is less than the reference voltage or the second voltage is greater than the reference voltage, the comparison circuit outputs a first level signal to the isolation module.
5. The power supply detection system according to claim 4, characterized in that: The voltage divider circuit includes a first voltage divider branch and a second voltage divider branch, wherein: a first voltage dividing branch, a first end of which is connected to the first end of the second voltage dividing branch and receives the power supply voltage, a second end of which is connected to the first end of the comparison circuit, a third end of which is connected to the third end of the second voltage dividing branch and the first end of the reference circuit and then grounded, and is used to convert the power supply voltage into a first voltage based on a lower limit value of the output voltage when the power supply works normally; The second voltage dividing branch has a second end connected to the second end of the comparison circuit, and is used for converting the power supply voltage into a second voltage based on an upper limit value of the output voltage when the power supply works normally.
6. The power supply detection system according to claim 5, characterized in that: The comparison circuit comprises: a first comparison branch and a second comparison branch, wherein: a first comparison branch, whose positive input end is connected to the second end of the first voltage-dividing branch, whose negative input end is connected to the second end of the reference circuit and the positive input end of the second voltage-dividing branch, whose first power supply end is connected to the first power supply end of the second comparison branch and the first power supply, whose second power supply end is grounded, whose output end is connected to the output end of the second comparison branch and the first end of the isolation module, and which is used to compare the first voltage with the reference voltage, and when the first voltage is less than the reference voltage, the first comparison branch outputs a first level signal; The second comparison branch has a negative input terminal connected to the second end of the second voltage divider branch and a second power supply terminal connected to ground. The second comparison branch is used to compare the second voltage with the reference voltage. When the second voltage is greater than the reference voltage, the first comparison branch outputs a first level signal.
7. The power supply detection system according to claim 6, characterized in that: The voltage detection module also includes: An AND logic circuit, wherein the first input terminal and the second input terminal are respectively connected to the output terminal of the first comparison branch and the output terminal of the second comparison branch, and the output terminal is connected to the first terminal of the isolation module, and is used for performing AND processing on the first level signals output by the first comparison branch and the second comparison branch and inputting them into the isolation module.
8. The power supply detection system according to claim 1, characterized in that: Also includes: A signal detection module, a first end of which is connected to the signal output end of the power supply, a second end of which is connected to the first power supply, a third end of which is grounded, and a fourth end of which is connected to an input end of the main control module; When the output of the signal output end of the power supply is abnormal, the signal detection module is turned on based on the level signal of the signal output end, and outputs a second level signal to the main control module. The main control module determines that the output of the signal output end is abnormal, and records and reports the output abnormality information.
9. The power supply detection system according to claim 8, characterized in that: Also includes: Display module and key module, among which, A display module, a first input end of which is connected to an output end of the main control module, and a second input end of which is connected to a first end of the button module, and is used to display information reported by the main control module; The button module has a second end connected to an output end of the main control module and is used to switch the display state of the display module so that the display module displays different information.
10. The power supply detection system according to claim 1, characterized in that: Also includes: The power isolation module is connected to an external power supply and is used to convert the voltage of the external power supply into a power supply voltage of a different voltage level to supply power to the power detection module and the main control module.