Monitoring threshold setting method, electronic equipment and computer readable storage medium

By obtaining the initial output voltage range and influencing voltage of the circuit board power circuit and adjusting the threshold, the problem of insufficient accuracy of under-voltage threshold in the prior art is solved, and the working stability of the circuit board is improved.

CN119787243APending Publication Date: 2025-04-08ZHEJIANG LEAPMOTOR TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411612000.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-12
Publication Date
2025-04-08

AI Technical Summary

Technical Problem

In the prior art, the under-voltage threshold setting accuracy of the circuit board power supply circuit is poor, resulting in poor operating stability of the circuit board.

Method used

By obtaining the initial output voltage range of the power circuit on the circuit board and the influential voltage during operation, adjusting the initial output voltage upper and lower limits to generate a more accurate under-voltage threshold.

Benefits of technology

The accuracy of the under-voltage threshold is improved, so that the working stability of the circuit board can be improved, and more in line with the actual operating conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119787243A_ABST
    Figure CN119787243A_ABST
Patent Text Reader

Abstract

The invention provides a monitoring threshold setting method, electronic equipment and a computer readable storage medium, and the method comprises the steps: obtaining an initial output voltage range of an output end of a power circuit on a circuit board, and the initial output voltage range comprises an initial output voltage upper limit and an initial output voltage lower limit; obtaining an influence voltage when the circuit board works; and adjusting the initial output voltage upper limit and the initial output voltage lower limit according to the influence voltage, and generating an undervoltage and overvoltage threshold of voltage monitoring. Through the mode, the accuracy of the under-voltage and over-voltage threshold values can be effectively improved, so that the working stability of the circuit board is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of power supply circuit monitoring threshold setting, and in particular to a monitoring threshold setting method, an electronic device and a computer-readable storage medium. Background Art

[0002] With the development of science and technology, the integration of circuit boards is getting higher and higher, and the functional safety requirements of circuit boards in various fields are getting higher and higher. In circuit board design, the power module is the basis of the single board, and the voltage monitor is particularly important because it is responsible for managing and monitoring the voltage on the circuit board. In this part, the overvoltage and undervoltage phenomenon of the output voltage is one of the culprits causing the unstable operation of the circuit board. Therefore, a voltage monitor is needed to monitor such faults. This type of voltage monitoring requires the design of a set of under- and overvoltage thresholds, which the voltage monitor uses for judgment. The under- and overvoltage thresholds obtained by the current common under- and overvoltage threshold setting method have poor accuracy, resulting in poor working stability of the circuit board. Summary of the invention

[0003] In order to solve the above technical problems, the technical solution adopted in the present application is: to provide a monitoring threshold setting method, the monitoring threshold setting method includes: obtaining the initial output voltage range of the output end of the power supply circuit on the circuit board, wherein the initial output voltage range includes the initial output voltage upper limit and the initial output voltage lower limit; obtaining the influencing voltage when the circuit board is working; adjusting the initial output voltage upper limit and the initial output voltage lower limit according to the influencing voltage, and generating an under-voltage and over-voltage threshold for voltage monitoring.

[0004] In some embodiments, obtaining the impact voltage when the circuit board is working includes: performing a simulation test on the working state of the circuit board to obtain the voltage consumption value consumed by the circuit board due to routing.

[0005] In some embodiments, obtaining the influence voltage when the circuit board is working includes: measuring the voltage noise value of the circuit board under full load.

[0006] In some embodiments, the voltage noise value is a low frequency noise value, and / or a high frequency noise value.

[0007] In some embodiments, the initial output voltage upper limit and the initial output voltage lower limit are adjusted according to the influencing voltage to generate the under-overvoltage threshold of the voltage monitoring, including: adding the voltage noise value to the initial output voltage upper limit as the overvoltage threshold of the under-overvoltage threshold; subtracting the voltage noise value from the initial output voltage lower limit as the undervoltage threshold of the under-overvoltage threshold.

[0008] In some embodiments, the monitoring threshold setting method also includes: obtaining the voltage monitoring accuracy of the voltage monitor; adjusting the initial output voltage upper limit and the initial output voltage lower limit according to the influencing voltage to generate an under-voltage and over-voltage threshold for voltage monitoring, including: adjusting the initial output voltage upper limit and the initial output voltage lower limit according to the influencing voltage and the voltage monitoring accuracy to generate an under-voltage and over-voltage threshold for voltage monitoring.

[0009] In some embodiments, the power supply circuit includes a power supply chip and a voltage divider resistor; obtaining the initial output voltage range of the power supply circuit on the circuit board includes: obtaining the resistance range of the voltage divider resistor; obtaining the feedback voltage range of the feedback pin of the power supply chip; using the resistance range and the feedback voltage range, calculating the output voltage range of the power supply circuit as the initial output voltage range.

[0010] In some embodiments, the power supply circuit includes a power supply chip and a voltage-dividing resistor; obtaining the initial output voltage range of the power supply circuit on the circuit board includes: obtaining the resistance range of the voltage-dividing resistor; obtaining the feedback voltage range of the feedback pin of the power supply chip; using the resistance range and the feedback voltage range, calculating the typical output voltage value of the power supply circuit; using the accuracy value of the voltage-dividing resistor and the accuracy value of the feedback pin, calculating the accuracy tolerance value; calculating the voltage tolerance value according to the accuracy tolerance value and the typical output voltage value; subtracting the voltage tolerance value from the typical output voltage value to obtain the initial output voltage lower limit; adding the voltage tolerance value to the typical output voltage value to obtain the initial output voltage upper limit; using the initial output voltage lower limit and the initial output voltage upper limit, obtaining the initial output voltage range.

[0011] In order to solve the above technical problems, the technical solution adopted in this application is: to provide an electronic device, which includes a processor and a memory connected to the processor, the memory stores program instructions, and the processor executes the program instructions to implement the monitoring threshold setting method of any of the above embodiments.

[0012] In order to solve the above technical problems, the technical solution adopted in the present application is: to provide a computer-readable storage medium storing program instructions, which can implement the monitoring threshold setting method of any of the above embodiments when executed by a processor.

[0013] The beneficial effects of the embodiments of the present application are as follows: the present application provides a monitoring threshold setting method, including: obtaining the initial output voltage range of the output end of the power supply circuit on the circuit board, wherein the initial output voltage range includes the initial output voltage upper limit and the initial output voltage lower limit; obtaining the influence voltage when the circuit board is working; adjusting the initial output voltage upper limit and the initial output voltage lower limit according to the influence voltage to generate the under-overvoltage threshold of the voltage monitoring. The electronic device adjusts the initial output voltage upper limit and the initial output voltage lower limit through the influence voltage of the circuit board to generate the under-overvoltage threshold of the voltage monitoring, so that the under-overvoltage threshold can be more in line with the actual operating conditions of the circuit board, thereby effectively improving the accuracy of the under-overvoltage threshold, so as to effectively improve the working stability of the circuit board. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 It is a schematic diagram of the method steps of the first embodiment of the monitoring threshold setting method of the present application;

[0015] Figure 2 is a circuit structure diagram of an embodiment of a power supply circuit of the present application;

[0016] Figure 3 yes Figure 1 A schematic diagram of the method steps of the first embodiment of obtaining the initial output voltage range of the output terminal of the power supply circuit on the circuit board in step S100 of the monitoring threshold setting method shown;

[0017] Figure 4 yes Figure 1 A schematic diagram of method steps of a second embodiment of obtaining an initial output voltage range of an output terminal of a power supply circuit on a circuit board in step S100 of the monitoring threshold setting method shown;

[0018] Figure 5 Schematic diagram of the method steps of the second embodiment of the monitoring threshold setting method of the present application;

[0019] Figure 6 It is a structural diagram of an embodiment of a computer-readable storage medium of the present application. DETAILED DESCRIPTION

[0020] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0021] The terms "first" and "second" in this application are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. In the description of this application, the meaning of "multiple" is at least two, such as two, three, etc., unless otherwise clearly and specifically limited. In addition, the terms "including" and "having" and any of their variations are intended to cover exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices.

[0022] The present application provides a monitoring threshold setting method. In an embodiment of the present application, the monitoring threshold setting method is mainly applied to hardware design fields such as vehicle electronics and aerospace, and is used to obtain a monitoring threshold for a voltage monitor of a circuit board to improve the working stability of the circuit board, thereby providing safety protection for electronic equipment of vehicles or aerospace equipment.

[0023] like Figure 1 As shown, Figure 1 Schematic diagram of the method steps of the first embodiment of the monitoring threshold setting method of the present application. The execution subject of the monitoring threshold setting method of the present application can be an electronic device with a computing and processing function, or it can also be measured manually. Figure 1 The method steps shown are implemented, specifically including steps S100 to S600, as follows:

[0024] Step S100: obtaining an initial output voltage range of an output terminal of a power supply circuit on a circuit board, wherein the initial output voltage range includes an initial output voltage upper limit and an initial output voltage lower limit.

[0025] The power supply circuit 1 is an output circuit module for supplying power to the circuit board, which includes a power supply chip 10 and a voltage divider resistor. Overvoltage or undervoltage at the output end of the power supply circuit 1 is one of the culprits causing system instability. Usually, a voltage monitor is provided on the circuit board to monitor the power supply circuit 1 to ensure that the circuit board can operate within the normal operating voltage range. In the process of the power supply circuit 1 supplying power to the circuit board, the output voltage V1 outputted from the output end of the power supply circuit is not constant. The output voltage V1 is affected by the accuracy of the power supply chip 10 and the voltage divider resistor, resulting in the output voltage V1 changing within a certain range, which is also the initial output voltage range.

[0026] The initial output voltage of the output terminal of the power supply circuit 1 is affected by the output voltage of the power supply chip 10 and the resistance of the voltage divider resistor circuit. Figure 2As shown, the power supply circuit 1 includes a power supply chip 10 (also called a DCDC / LDO chip) and a voltage-dividing resistor circuit, wherein the voltage-dividing resistor circuit includes a voltage-dividing resistor R1 and a voltage-dividing resistor R2, wherein the power supply chip 10 includes an output pin Vout and a feedback pin FB, wherein the output pin Vout serves as an output port of the power supply chip 10, and is used to output an output voltage V1 and is connected to a load of a circuit board, wherein the first signal end of the voltage-dividing resistor R1 is connected to the feedback pin FB, and the second signal end of the voltage-dividing resistor R1 is connected to the output pin Vout. The first signal end of the voltage-dividing resistor R2 is connected to the feedback pin FB, and the second signal end of the voltage-dividing resistor R2 is grounded. The power supply chip 10 outputs a feedback voltage V2 through the feedback pin FB, and the calculation formula for the output voltage V1 is specifically as follows:

[0027]

[0028] In the embodiments of the present application, Figure 2 The power supply circuit 1 shown is used to illustrate the monitoring threshold setting method of the present application. In other embodiments, the power supply circuit 1 may also be other types of circuit structures, and the monitoring threshold setting method of the present application is still applicable.

[0029] In some embodiments, to obtain the initial output voltage range of the power supply circuit 1 on the circuit board, refer to Figure 3 The method steps shown are implemented, specifically including steps S101 to S103, which are as follows:

[0030] Step S101: obtaining the resistance range of the voltage divider resistor.

[0031] The electronic device can obtain the resistance range of the voltage divider resistor through an external detection device or a detection device configured by itself, which is not described in detail in this article. The voltage divider resistor refers to the voltage divider resistor in the voltage divider resistor circuit, and the voltage divider resistor circuit includes multiple voltage divider resistors. In this embodiment, it is necessary to obtain the resistance range of each voltage divider resistor in the voltage divider resistor circuit. Figure 2 As shown, the voltage-dividing resistor R1 and the voltage-dividing resistor R2 are circuit elements, and their resistance values ​​may drift during operation. For example, the resistance value of the voltage-dividing resistor R1 is 10Ω at room temperature, and the resistance value of the voltage-dividing resistor R1 may drift up to 11Ω or down to 9Ω in the working state, so the resistance range of the voltage-dividing resistor R1 is 9Ω to 11Ω. In other words, the resistance range of the voltage-dividing resistor can be the resistance range between the upper resistance value and the lower resistance value of its calibrated resistance value. The upper resistance value and the lower resistance value can be understood as the maximum upper limit value and the maximum lower limit value of the resistance change of the voltage-dividing resistor during operation.

[0032] Step S102: obtaining a feedback voltage range of a feedback pin of a power chip.

[0033] The electronic device can obtain the feedback voltage range of the feedback pin through an external detection device or a detection device configured by itself, which is not described in detail herein. The feedback pin of the power chip 10 refers to the feedback pin connected to the voltage divider resistor circuit of the power chip 10, for example Figure 2 The feedback pin FB shown in FIG. 1 is a circuit diagram of a power chip 10 . The feedback voltage range of the feedback pin of the power chip 10 is the voltage range value of the feedback voltage V2 .

[0034] Step S103: Calculate the output voltage range of the power supply circuit using the resistance range and the feedback voltage range to serve as the initial output voltage range.

[0035] A calculation model is provided in the electronic device. After obtaining the resistance range and the feedback voltage range, the electronic device can calculate the output voltage range of the power supply circuit 1 through the calculation model as the initial output voltage range. The calculation model includes a stacking method calculation model. After the electronic device obtains the resistance range and the feedback voltage range through steps S101 and S102, the electronic device uses the resistance range and the feedback voltage range, and calculates the output voltage V1 corresponding to each group of resistance values ​​and feedback voltages through formula ①, and integrates multiple groups of output voltages V1 through the stacking method to obtain the upper limit value Vout_tight_max and the lower limit value Vout_tight_min of the output voltage V1, thereby obtaining the output voltage range Vout_tight_min~Vout_tight_max. The electronic device uses the output voltage range Vout_tight_min~Vout_tight_max obtained through steps S101 to S103 as the initial output voltage range to prepare for step S300 of generating the under-overvoltage threshold of voltage monitoring.

[0036] The feedback voltage range of the feedback voltage V2 and the resistance range of the voltage divider resistor are factors that affect the initial output voltage range. Therefore, calculating the initial output voltage range based on the feedback voltage range of the feedback voltage V2 and the resistance range of the voltage divider resistor can effectively improve the accuracy of the initial output voltage range, so that the under-voltage and over-voltage thresholds finally generated by the electronic device through steps S200 and S300 are more in line with the actual operating conditions of the circuit board, thereby effectively improving the accuracy of the under-voltage and over-voltage thresholds, thereby effectively improving the working stability of the circuit board.

[0037] It should be noted that the execution of step S101 and step S102 can be arbitrary. In some embodiments, the electronic device can execute step S101 and step S102 simultaneously. In some embodiments, the electronic device can execute step S101 first and then step S102, or execute step S102 first and then step S101.

[0038] Optionally, in some embodiments, the initial output voltage range of the output terminal of the power supply circuit on the circuit board is obtained, and reference may also be made to Figure 4 The method steps shown in the figure are implemented, specifically including steps S110 to S180, which are as follows:

[0039] Step S110: obtaining the resistance range of the voltage divider resistor.

[0040] Step S120: obtaining a feedback voltage range of a feedback pin of a power chip.

[0041] The implementation of steps S110 to S120 may refer to the description of steps S101 to S102 , and will not be described in detail herein.

[0042] Step S130: Calculate a typical value of the output voltage of the power supply circuit by using the resistance range and the feedback voltage range.

[0043] Specifically, the typical value of the output voltage is also the typical value of the output voltage V1. After obtaining the resistance range and the feedback voltage range, the electronic device can select the typical value of the resistance of the voltage divider resistor within the resistance range, and the typical value of the feedback voltage within the feedback voltage range, and use the typical value of the resistance and the typical value of the feedback voltage to calculate the typical value of the output voltage through calculation formula ①.

[0044] Optionally, in some embodiments, the electronic device may obtain the output voltage range Vout_tight_min-Vout_tight_max by the method described in step S103, and then select an average value of an upper limit value Vout_tight_max and a lower limit value Vout_tight_max from the output voltage range Vout_tight_min-Vout_tight_max as the output voltage typical value.

[0045] Step S140: Calculate the accuracy tolerance value using the accuracy value of the voltage divider resistor and the accuracy value of the feedback pin.

[0046] Step S150: Calculate the voltage tolerance value according to the accuracy tolerance value and the output voltage typical value.

[0047] Step S160: subtract the voltage tolerance value from the output voltage typical value to obtain an initial output voltage lower limit.

[0048] Step S170: Add the output voltage typical value to the voltage tolerance value to obtain an initial output voltage upper limit.

[0049] Step S180: using the initial output voltage lower limit and the initial output voltage upper limit to obtain an initial output voltage range.

[0050] Steps S140 to S180 are collectively described.

[0051] The calculation formula of the precision tolerance value RSS (%) is:

[0052]

[0053] In calculation formula ②, FB (%) is the accuracy value of the feedback pin, and R (%) is the accuracy value of the voltage divider resistor.

[0054] The calculation formula of voltage tolerance value RSS(V) is:

[0055] RSS(V)=Voutz*RSS(%)③.

[0056] In calculation formula ③, Voutz is the typical value of the output voltage, and RSS (%) is the precision tolerance value. Specifically, the voltage tolerance value RSS (V) is equal to the voltage typical value Voutz multiplied by the precision tolerance value RSS (%).

[0057] After the electronic device obtains the accuracy value of the feedback pin and the accuracy value of the voltage divider resistor, it uses the accuracy value of the feedback pin and the accuracy value of the voltage divider resistor and calculates the accuracy tolerance value through formula ②. The electronic device further uses the accuracy tolerance value and the typical value of the output voltage to calculate the voltage tolerance value through formula ③. After obtaining the voltage tolerance value, the electronic device executes steps S160 and S170 to obtain the upper limit value Vout_tight_max and the lower limit value Vout_tight_min of the output voltage, wherein the lower limit value Vout_tight_min obtained by step S160 is the difference between the typical value of the output voltage and the voltage tolerance value, and the upper limit value Vout_tight_max obtained by step S170 is the sum of the typical value of the output voltage and the voltage tolerance value. Different from the first embodiment of obtaining the initial output voltage range of the power supply circuit 1 on the circuit board, in this embodiment, the electronic device uses the output voltage range Vout_tight_min~Vout_tight_max calculated through steps S110 to S180 as the initial output voltage range to prepare for step S300 of generating the under-voltage and over-voltage threshold for voltage monitoring.

[0058] In the first embodiment of obtaining the initial output voltage range of the power supply circuit 1 on the circuit board, the electronic device obtains the initial output voltage range by a stacking method, and in this embodiment, the electronic device obtains the initial output voltage range by a statistical tolerance method, wherein the initial output voltage range obtained by the stacking method is greater than the initial output voltage range obtained by the statistical tolerance method. Therefore, compared with the first embodiment of obtaining the initial output voltage range of the power supply circuit 1 on the circuit board, in this embodiment, the electronic device uses the typical value of the output voltage, the accuracy value of the voltage divider resistor, and the accuracy value of the feedback pin, and uses the statistical tolerance method to obtain the initial output voltage range, so that the under-voltage and over-voltage thresholds finally generated by the electronic device through steps S200 and S300 are more in line with the actual operating conditions of the circuit board, thereby effectively improving the accuracy of the under-voltage and over-voltage thresholds, so as to effectively improve the working stability of the circuit board.

[0059] Step S200: obtaining the influencing voltage of the circuit board when it is working.

[0060] Specifically, for a normal circuit board, the output voltage is not directly transmitted from the output end of the power supply circuit 1 to the load end. The length of the voltage trace, the number of devices it passes through, and the voltage input at the load end will all cause voltage consumption, i.e., voltage drop, so that the voltage monitored by the voltage monitor needs to include the consumption caused by the above reasons.

[0061] The influencing voltage when the circuit board is working includes the voltage consumption value consumed by the circuit board due to wiring. In some embodiments, the electronic device can obtain the voltage consumption value consumed by the circuit board due to wiring by performing a simulation test on the circuit board. The electronic device obtains the voltage consumption value and uses the voltage consumption value as one of the parameters for generating the under-voltage and over-voltage thresholds in step S300, so that the generated under-voltage and over-voltage thresholds can be closer to the actual usage, thereby effectively improving the accuracy of the under-voltage and over-voltage thresholds, and further effectively improving the working stability of the circuit board.

[0062] In addition, the circuit board works under different conditions, including light load, medium load and full load. The voltage output by the power chip 10 has low-frequency noise and high-frequency noise, and the noise is different in different load states. Under full load, the noise and noise will reach the maximum value. In the embodiment of the present application, obtaining the influencing voltage when the circuit board is working can also include measuring the voltage noise value of the circuit board under full load. Among them, the voltage noise value of the circuit board under full load can include a low-frequency noise value, and / or a high-frequency noise value. The electronic device can select either or both of the low-frequency noise value and the high-frequency noise value as one of the parameters for generating the under-voltage threshold in step S300 according to the actual situation.

[0063] The electronic device obtains the voltage noise value of the circuit board under full load and uses the voltage noise value of the circuit board under full load as one of the parameters for generating the under-voltage and over-voltage thresholds in step S300. In this way, the generated under-voltage and over-voltage thresholds can be closer to the actual usage, thereby effectively improving the accuracy of the under-voltage and over-voltage thresholds, and further effectively improving the working stability of the circuit board.

[0064] Step S300: adjusting the initial output voltage upper limit and the initial output voltage lower limit according to the influencing voltage to generate an under-voltage or over-voltage threshold for voltage monitoring.

[0065] After the electronic device obtains the initial output voltage range and the influencing voltage through step S100 and step S200, the electronic device further generates an under-voltage and over-voltage threshold through step S300.

[0066] In some embodiments, the electronic device may use the voltage value obtained by subtracting the voltage noise value from the initial output voltage lower limit (that is, the lower limit value Vrout_tight_min obtained by the electronic device through the method described in step S103 or the lower limit value Vrout_tight_min obtained by the electronic device through the method described in step S160) as the under-voltage threshold of the under-overvoltage threshold. For example, the electronic device may select the low-frequency noise value as a parameter, and use the voltage value obtained by subtracting the low-frequency noise value from the initial output voltage lower limit as the under-voltage threshold of the under-overvoltage threshold. For another example, the electronic device may select the high-frequency noise value as a parameter, and use the voltage value obtained by subtracting the high-frequency noise value from the initial output voltage lower limit as the under-voltage threshold of the under-overvoltage threshold. Further, the electronic device uses the upper limit value of the initial output voltage (that is, the upper limit value Vrout_tight_max obtained by the electronic device through the method described in step S103 or the upper limit value Vrout_tight_max obtained by the electronic device through the method described in step S170) plus the voltage value of the voltage noise value as the overvoltage threshold of the under-overvoltage threshold. For example, the electronic device can select the low-frequency noise value as a parameter, and use the voltage value of the initial output voltage upper limit plus the low-frequency noise value as the overvoltage threshold of the under-overvoltage threshold. For another example, the electronic device can select the high-frequency noise value as a parameter, and use the voltage value of the initial output voltage upper limit plus the high-frequency noise value as the overvoltage threshold of the under-overvoltage threshold.

[0067] In some embodiments, the electronic device may use the voltage value of the initial output voltage lower limit (i.e., the lower limit value Vrout_tight_min obtained by the electronic device through the method described in step S103 or the lower limit value Vrout_tight_min obtained by the electronic device through the method described in step S160) minus the voltage noise value and the voltage consumption value as the under-voltage threshold of the under-overvoltage threshold. Further, the electronic device uses the initial output voltage upper limit value (i.e., the upper limit value Vrout_tight_max obtained by the electronic device through the method described in step S103 or the upper limit value Vrout_tight_max obtained by the electronic device through the method described in step S170) plus the voltage value of the voltage noise value as the overvoltage threshold of the under-overvoltage threshold. For example, the electronic device may select the low-frequency noise value as a parameter, and use the voltage value of the initial output voltage upper limit plus the low-frequency noise value as the overvoltage threshold of the under-overvoltage threshold. For another example, the electronic device may select the high-frequency noise value as a parameter, and use the voltage value of the initial output voltage upper limit plus the high-frequency noise value as the overvoltage threshold of the under-overvoltage threshold.

[0068] To summarize, in this embodiment, the electronic device adjusts the initial output voltage upper limit and the initial output voltage lower limit through the influencing voltage of the circuit board to generate an under-voltage and over-voltage threshold for voltage monitoring. This can make the under-voltage and over-voltage threshold more in line with the actual operating conditions of the circuit board, thereby effectively improving the accuracy of the under-voltage and over-voltage threshold, thereby effectively improving the working stability of the circuit board.

[0069] It should be noted that in the embodiment of the present application, the execution of step S100 and step S200 can be arbitrary. In some embodiments, the electronic device can execute step S100 and step S200 at the same time. In some embodiments, the electronic device can execute step S100 first and then step S200, or execute step S200 first and then step S100.

[0070] like Figure 5 As shown, Figure 5 Schematic diagram of the method steps of the second embodiment of the monitoring threshold setting method of the present application. Figure 5 The method steps shown are implemented, specifically including steps S400 to S700, as follows:

[0071] Step S400: obtaining an initial output voltage range of an output terminal of a power supply circuit on a circuit board, wherein the initial output voltage range includes an initial output voltage upper limit and an initial output voltage lower limit.

[0072] The implementation of step S400 may refer to that described in step S100 and will not be described in detail herein.

[0073] Step S500: obtaining the influencing voltage of the circuit board when it is working.

[0074] The implementation of step S500 may refer to that described in step S200 and will not be described in detail herein.

[0075] Step S600: obtaining the voltage monitoring accuracy of the voltage monitor.

[0076] Specifically, the monitor is a key component for monitoring overvoltage and undervoltage faults, and it has its own voltage monitoring accuracy. The voltage monitor is a device used to monitor the working voltage of the circuit board based on the under-overvoltage threshold. It has a certain accuracy error, which is the voltage monitoring accuracy described above. In this step, the electronic device can obtain the voltage monitoring accuracy to generate the under-overvoltage threshold as one of the parameters of the generated value for step S700. As a device for monitoring the working voltage of the circuit board, the voltage monitoring accuracy of the voltage monitor directly affects whether the voltage monitor can accurately monitor the working environment of the circuit board. Therefore, using the voltage monitoring accuracy under-overvoltage threshold as one of the parameters of the generated value can make the under-overvoltage threshold more in line with the actual operating conditions of the circuit board, thereby effectively improving the accuracy of the under-overvoltage threshold, so as to effectively improve the working stability of the circuit board.

[0077] Step S700: adjusting the initial output voltage upper limit and the initial output voltage lower limit according to the influencing voltage and the voltage monitoring accuracy, and generating an under-voltage or over-voltage threshold for voltage monitoring.

[0078] After the electronic device obtains the initial output voltage range, the influencing voltage and the voltage monitoring accuracy through step S400 and step S600, the electronic device further generates an under-voltage and over-voltage threshold through step S700.

[0079] Specifically, the electronic device can use the initial output voltage lower limit (that is, the lower limit value Vrout_tight_min obtained by the electronic device through the method described in step S103 or the lower limit value Vrout_tight_min obtained by the electronic device through the method described in step S160) minus the voltage noise value, the voltage accuracy value and the voltage consumption value as the under-voltage threshold of the under-overvoltage threshold. For example, the electronic device can select the low-frequency noise value as a parameter, and subtract the low-frequency noise value, the voltage accuracy value and the voltage consumption value from the initial output voltage lower limit as the under-voltage threshold of the under-overvoltage threshold. For another example, the electronic device can select the high-frequency noise value as a parameter, and subtract the high-frequency noise value, the voltage accuracy value and the voltage consumption value from the initial output voltage lower limit as the under-voltage threshold of the under-overvoltage threshold. Further, the electronic device uses the initial output voltage upper limit value (that is, the upper limit value Vrout_tight_max obtained by the electronic device through the method described in step S103 or the upper limit value Vrout_tight_max obtained by the electronic device through the method described in step S170) plus the voltage value of the voltage noise value and the voltage accuracy value as the overvoltage threshold of the under-overvoltage threshold. For example, the electronic device can select the low-frequency noise value as a parameter, and use the initial output voltage upper limit plus the voltage value of the low-frequency noise value and the voltage accuracy value as the overvoltage threshold of the under-overvoltage threshold. For another example, the electronic device can select the high-frequency noise value as a parameter, and use the initial output voltage upper limit plus the voltage value of the high-frequency noise value and the voltage accuracy value as the overvoltage threshold of the under-overvoltage threshold.

[0080] In this embodiment, the electronic device adjusts the initial output voltage upper limit and the initial output voltage lower limit through the influencing voltage of the circuit board and the voltage monitoring accuracy to generate an under-voltage and over-voltage threshold for voltage monitoring. This can make the under-voltage and over-voltage threshold more in line with the actual operating conditions of the circuit board, thereby effectively improving the accuracy of the under-voltage and over-voltage threshold, thereby effectively improving the working stability of the circuit board.

[0081] The present application also proposes an electronic device, including a processor and a memory connected to the processor, the memory storing program instructions, and the processor executing the program instructions to implement the monitoring threshold setting method described in any of the above embodiments.

[0082] This application is a computer-readable storage medium, see Figure 6 , Figure 6 The computer-readable storage medium is used to store program instructions, and when the program instructions are executed by the processor, they are used to implement the monitoring threshold setting method of any of the above embodiments.

[0083] The computer-readable storage medium 30 of the embodiment of the present application stores program instructions 31 therein, and the program instructions 31 are executed to implement the above-mentioned monitoring threshold setting method.

[0084] Among them, the program instructions 31 can form a program file and be stored in the above-mentioned storage medium in the form of a software product, so that an electronic device (which can be a personal computer, a server, or a network device, etc.) or a processor (processor) executes all or part of the steps of each implementation method of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes, or terminal devices such as computers, servers, mobile phones, tablets, etc.

[0085] The computer-readable storage medium 30 of this embodiment may be, but is not limited to, a USB flash drive, an SD card, a PD optical drive, a mobile hard disk, a large-capacity floppy drive, a flash memory, a multimedia memory card, a server, and the like.

[0086] In one embodiment, a computer program product or computer program is provided, the computer program product or computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device performs the steps in the above-mentioned monitoring threshold setting method embodiment.

[0087] In addition, if the above functions are implemented in the form of software functions and sold or used as independent products, they can be stored in a storage medium readable by a mobile terminal, that is, the present application also provides a storage device storing program instructions, the program instructions can be executed to implement the method of the above embodiment, and the storage device can be, for example, a USB flash drive, an optical disk, a server, etc. In other words, the present application can be embodied in the form of a software product, which includes a number of instructions for enabling a smart terminal to execute all or part of the steps of the method described in each embodiment.

[0088] In summary, the monitoring threshold setting method of the present application includes: obtaining the initial output voltage range of the power supply circuit 1 on the circuit board, wherein the initial output voltage range includes the initial output voltage upper limit and the initial output voltage lower limit; obtaining the influence voltage when the circuit board is working; adjusting the initial output voltage upper limit and the initial output voltage lower limit according to the influence voltage to generate the under-overvoltage threshold of the voltage monitoring. The electronic device adjusts the initial output voltage upper limit and the initial output voltage lower limit through the influence voltage of the circuit board to generate the under-overvoltage threshold of the voltage monitoring, so that the under-overvoltage threshold can be more in line with the actual operating conditions of the circuit board, thereby effectively improving the accuracy of the under-overvoltage threshold, so as to effectively improve the working stability of the circuit board.

[0089] It is worth noting that the drawings in this article are only intended to illustrate the structural relationship and connection relationship of the invention product of this application, and do not limit the specific structural dimensions of the invention product of this application.

[0090] The above description is only an implementation mode of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A monitoring threshold setting method, characterized in that: The monitoring threshold setting method comprises: Acquire an initial output voltage range of an output terminal of a power supply circuit on a circuit board, wherein the initial output voltage range includes an initial output voltage upper limit and an initial output voltage lower limit; Obtaining the impact voltage when the circuit board is working; The initial output voltage upper limit and the initial output voltage lower limit are adjusted according to the influencing voltage to generate an under-voltage or over-voltage threshold for voltage monitoring.

2. The monitoring threshold setting method according to claim 1, characterized in that: The obtaining of the influence voltage when the circuit board is working includes: A simulation test is performed on the circuit board to obtain a voltage consumption value consumed by the circuit board due to wiring.

3. The monitoring threshold setting method according to claim 1, characterized in that: The obtaining of the influence voltage when the circuit board is working includes: The voltage noise value of the circuit board is measured under full load.

4. The monitoring threshold setting method according to claim 3, characterized in that: The voltage noise value is a low-frequency noise value and / or a high-frequency noise value.

5. The monitoring threshold setting method according to claim 3 or 4, characterized in that: The step of adjusting the initial output voltage upper limit and the initial output voltage lower limit according to the influencing voltage to generate an under-voltage or over-voltage threshold for voltage monitoring includes: The voltage value obtained by adding the voltage noise value to the initial output voltage upper limit is used as the overvoltage threshold of the under-overvoltage threshold; A voltage value obtained by subtracting the voltage noise value from the initial output voltage lower limit is used as the under-voltage threshold of the under-and-overvoltage threshold.

6. The monitoring threshold setting method according to claim 1, characterized in that: The monitoring threshold setting method further includes: Get the voltage monitoring accuracy of the voltage monitor; The step of adjusting the initial output voltage upper limit and the initial output voltage lower limit according to the influencing voltage to generate an under-voltage or over-voltage threshold for voltage monitoring includes: The initial output voltage upper limit and the initial output voltage lower limit are adjusted according to the influencing voltage and the voltage monitoring accuracy to generate an under-voltage or over-voltage threshold for voltage monitoring.

7. The monitoring threshold setting method according to claim 1, characterized in that: The power supply circuit includes a power supply chip and a voltage dividing resistor; The obtaining of the initial output voltage range of the power supply circuit on the circuit board comprises: Obtaining the resistance range of the voltage dividing resistor; Obtaining a feedback voltage range of a feedback pin of the power chip; The output voltage range of the power supply circuit is calculated using the resistance range and the feedback voltage range to serve as the initial output voltage range.

8. The monitoring threshold setting method according to claim 1 or 7, characterized in that: The power supply circuit includes a power supply chip and a voltage dividing resistor; The obtaining of the initial output voltage range of the power supply circuit on the circuit board comprises: Obtaining the resistance range of the voltage dividing resistor; Obtaining a feedback voltage range of a feedback pin of the power chip; Calculating a typical value of an output voltage of the power supply circuit by using the resistance range and the feedback voltage range; Calculating the accuracy tolerance value using the accuracy value of the voltage divider resistor and the accuracy value of the feedback pin; Calculating a voltage tolerance value according to the accuracy tolerance value and the output voltage typical value; Subtract the voltage tolerance value from the output voltage typical value to obtain the initial output voltage lower limit; Add the output voltage typical value to the voltage tolerance value to obtain the initial output voltage upper limit; The initial output voltage range is acquired by using the initial output voltage lower limit and the initial output voltage upper limit.

9. An electronic device, characterized in that: It includes a processor and a memory connected to the processor, the memory stores program instructions, and the processor executes the program instructions to implement the monitoring threshold setting method according to any one of claims 1 to 8.

10. A computer-readable storage medium, characterized in that: Program instructions are stored, and when the program instructions are executed by a processor, the monitoring threshold setting method as described in any one of claims 1-8 can be implemented.

Citation Information

Patent Citations

  • High-precision adjustable power supply monitoring circuit system and method

    CN110618726A

  • Voltage monitoring method, monitoring system, voltage monitor and storage medium

    CN115453186A

  • Over-voltage and under-voltage threshold configuration method and device and intelligent circuit breaker

    CN116365467A

  • Switching power supply's excessive pressure undervoltage detection circuit and switching power supply

    CN207007931U

  • Lighting device and luminaire

    JP2015170527A