Abnormality detection method of power supply circuit, controller and power supply circuit
By setting up the thermistor and capacitor in the power supply circuit, using the charging time and temperature to detect abnormalities in the power supply circuit, the safety hazards and power supply interruption caused by excessive resistance value during the charging process are solved, and timely abnormal detection and circuit safety assurance.
Patent Information
- Application Number
- CN202410984604.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-22
- Publication Date
- 2024-11-15
AI Technical Summary
In power supply circuits, thermistors are easily affected by ambient temperature and frequency during the capacitor charging process, resulting in excessive resistance value, safety hazards and affecting the normal operation of power-using equipment, and lack effective abnormality detection methods.
By setting a series thermistor and capacitor in the power supply circuit, the time threshold is determined using the charging time and temperature conditions, the difference between the charging voltage and the preset voltage threshold is obtained, and whether the power supply circuit is abnormal is determined, and the backup power supply is switched through the relay to deal with it. Exceptional situation.
It realizes abnormal detection during the capacitor charging process, promptly detects problems such as excessive temperature of thermistor or excessive resistance value, avoids safety hazards and power supply interruptions, improves detection efficiency and accuracy, and ensures circuit safety.
Smart Images

Figure CN118970858A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of circuit detection, and in particular, to a method for detecting an abnormality of a power supply circuit, a controller, and a power supply circuit. Background Art
[0002] The voltage input end of most electrical devices is connected to a power supply circuit, which processes the input voltage of the electrical device by means of voltage regulation, filtering, rectification, etc., so that the voltage input to the electrical device meets the use requirements of the electrical device.
[0003] In the power supply circuit, a thermistor and a capacitor are usually provided so that when the power supply circuit is powered on, the capacitor absorbs the charge, that is, the capacitor is charged, to avoid a large change in current at the moment of power on, which may damage the components in the power supply circuit and the components in the electrical equipment. When the capacitor is charging, the thermistor is easily affected by factors such as the ambient temperature and the power on and off frequency. If the temperature is too high, the resistance of the thermistor will be too large. Excessive temperature can easily lead to safety hazards, and excessive resistance can easily affect the power demand of electrical equipment. Therefore, there is an urgent need for a method that can detect whether the power supply circuit is abnormal during the capacitor charging process. Summary of the invention
[0004] The present application provides a method for detecting an abnormality of a power supply circuit, a controller and a power supply circuit, so as to at least solve the technical problem of how to detect whether the power supply circuit is abnormal during the capacitor charging process.
[0005] According to a first aspect of an embodiment of the present application, a method for detecting an abnormality of a power supply circuit is provided, which is applied to the power supply circuit, wherein the power supply circuit includes a power input terminal and a power output terminal, and the power supply circuit also includes a thermistor and a capacitor connected in series between the power input terminal and the power output terminal, and the method includes:
[0006] In response to a detection signal indicating that the charging time reaches a preset time threshold, obtaining a charging voltage of the capacitor, wherein the charging time refers to the time for charging the capacitor, and the time threshold is determined according to the temperature of the thermistor during the charging process of the capacitor;
[0007] Whether the detection result is abnormal is determined based on the difference between the charging voltage and a preset voltage threshold.
[0008] Optionally, the method further comprises:
[0009] acquiring a plurality of temperature values of the thermistor during the process of charging the capacitor and stopping acquiring the temperature values when the charging voltage of the capacitor reaches the voltage threshold;
[0010] calculating an average of the plurality of temperature values;
[0011] Determine a reference duration threshold according to the size of the average value, wherein the larger the average value is, the larger the determined reference duration threshold is;
[0012] When the capacitor is powered on, obtaining a temperature value of the thermistor;
[0013] The reference duration threshold is corrected according to the temperature value to obtain the duration threshold, wherein the larger the temperature value is, the larger the determined duration threshold is.
[0014] Optionally, the voltage threshold is less than a voltage value when the capacitor is in a fully charged state.
[0015] Optionally, the method further comprises:
[0016] When power is input to the power input terminal, the timing is started to obtain the charging time;
[0017] When the charging time reaches the time threshold, the detection signal is triggered.
[0018] Optionally, determining whether the detection result is abnormal according to the difference between the charging voltage and a preset voltage threshold includes:
[0019] Determining whether the charging voltage is less than the voltage threshold;
[0020] If the charging voltage is less than the voltage threshold, determining the detection result indicating that the temperature of the thermistor is abnormal;
[0021] If the charging voltage is not less than the voltage threshold, the detection result indicating that the temperature of the thermistor is normal is determined.
[0022] Optionally, the power supply circuit further includes a first relay and a second relay, the first end of the first relay is connected to the power input end, the second end of the first relay is respectively connected to the first end of the thermistor and the first end of the second relay, the second end of the thermistor and the second end of the second relay are both connected to the capacitor, the first relay is a normally closed relay, and the second relay is a normally open relay;
[0023] The method further comprises:
[0024] If the detection result indicates an abnormality, controlling the first relay to be disconnected;
[0025] If the detection result indicates that it is normal, the second relay is controlled to be closed.
[0026] Optionally, the capacitor is connected to a useful electrical circuit;
[0027] After controlling the first relay to be disconnected, the method further includes:
[0028] Switch the backup power supply to supply power to the power circuit.
[0029] Optionally, the power supply circuit is a high-voltage power supply circuit, wherein the high voltage includes alternating current with a voltage greater than or equal to 200V.
[0030] According to a second aspect of an embodiment of the present application, a controller is provided, which uses the above-described method to implement abnormality detection of a power supply circuit.
[0031] According to a third aspect of an embodiment of the present application, there is provided a power supply circuit, comprising an electric energy input terminal and an electric energy output terminal, the power supply circuit further comprising a thermistor and a capacitor connected in series between the electric energy input terminal and the electric energy output terminal;
[0032] The power supply circuit also includes the controller and voltage detection circuit mentioned above, the voltage detection circuit is used to obtain the charging voltage of the capacitor, and the controller is used to obtain the charging voltage of the capacitor through the voltage detection circuit in response to a detection signal indicating that the charging time has reached a preset time threshold.
[0033] Optionally, the power supply circuit further includes a first relay and a second relay, the first end of the first relay is connected to the power input end, the second end of the first relay is respectively connected to the first end of the thermistor and the first end of the second relay, the second end of the thermistor and the second end of the second relay are both connected to the capacitor, the first relay is a normally closed relay, and the second relay is a normally open relay;
[0034] A rectification and filtering module is connected in series between the first relay and the second relay, and is used to rectify and filter the current passing through the first relay.
[0035] Optionally, the power supply circuit further comprises a temperature detector for obtaining a temperature value of the thermistor when the capacitor is powered on;
[0036] The controller is further configured to determine the duration threshold according to the temperature value.
[0037] In the embodiment of the present application, a duration threshold is determined according to the temperature of the thermistor during the capacitor charging process, and the determined duration threshold is different for different temperature conditions. During the power-on process of the power supply circuit, the relationship between the charging duration and the duration threshold is monitored, and when the charging duration reaches the duration threshold, the charging voltage of the capacitor is obtained in response to the detection signal. Then, according to the difference between the charging voltage and the voltage threshold, the detection result of whether the power supply circuit is abnormal is determined. In other words, if the temperature of the thermistor is normal, the charging voltage should reach the voltage threshold when the charging duration reaches the duration threshold. If the charging voltage does not reach the voltage threshold, it indicates that the temperature of the thermistor is too high. Based on this, the detection result can be determined according to the difference, so that the abnormality in the capacitor charging process can be detected in time, so as to timely discover the abnormal problem of the power supply circuit, avoid the safety hazard caused by the high temperature of the thermistor and the problem of power failure caused by the excessive resistance of the thermistor. In addition, by setting the duration threshold, it is guaranteed that the abnormal detection is completed within a limited time, and the detection result is obtained, which is conducive to improving the timeliness of discovering the abnormality of the power supply circuit and protecting the circuit safety in time. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 is a structural block diagram of a power supply circuit in an embodiment.
[0039] Figure 2 The present invention is a flow chart of a method for detecting abnormality of a power supply circuit in an embodiment.
[0040] Figure 3 The present invention is a flowchart of determining a duration threshold in a method for detecting an abnormality in a power supply circuit in an embodiment.
[0041] Figure 4 The figure is a curve chart of determining the duration threshold value according to the average value in an embodiment.
[0042] Figure 5 is a circuit diagram of a power supply circuit in an embodiment. DETAILED DESCRIPTION
[0043] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings 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 creative work should fall within the scope of protection of the present application.
[0044] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0045] According to an embodiment of the present application, an embodiment of a method for detecting an abnormality in a power supply circuit is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0046] Most of the current electrical equipment is not directly connected to the power grid or the mains, but a power supply circuit is set between the power grid and the electrical equipment. The power supply circuit has various functions, usually including filtering, rectification, protection, etc. Among them, the protective effect of the power supply circuit on electrical equipment is particularly important. When the power is first turned on, since the current suddenly increases from 0, it is easy to exceed the rated power requirements of each component in the electrical equipment, causing damage to the components. Therefore, a capacitor is set in the power supply circuit. The capacitor can store charge. As the amount of charge increases, the voltage of the capacitor increases, and the current passing through the electrical equipment will not damage the components, playing a protective role.
[0047] When the capacitor is storing charge, that is, when the capacitor is charging, the sudden increase in current can also easily damage the capacitor. Therefore, a thermistor is also set in the power supply circuit to protect the capacitor. Thermistors, taking PTC resistors as an example, have the characteristic that the resistance changes with temperature. It is found in use that the temperature of the thermistor will increase due to the increase in ambient temperature and the frequent power on and off of the power supply circuit. The resistance of the thermistor is larger after the temperature rises. On the one hand, thermistors with too high temperature have safety hazards, such as spontaneous combustion; on the other hand, thermistors with too large resistance are prone to short circuits, affecting the charging of capacitors and the power consumption of electrical equipment.
[0048] Based on this, the power supply circuit abnormality detection method provided in the embodiment of the present application can detect the abnormal conditions of the power supply circuit in a timely manner, so that the abnormal conditions of the power supply circuit can be easily discovered and resolved in a timely manner, thereby preventing the negative impact on the power supply circuit caused by the excessive temperature of the thermistor.
[0049] Specifically, the power supply circuit abnormality detection method provided in the embodiment of the present application includes the following features:
[0050] At least only one detection can be performed, that is, the power supply circuit abnormality detection method provided by the present application can perform a detection only when the charging time reaches the time threshold. Different from real-time detection and multiple detections, the present application not only reduces the amount of calculation when only one detection is performed, but also ensures the detection efficiency and accuracy, and reduces the probability of false alarm abnormalities.
[0051] The power supply circuit abnormality detection method provided in the embodiment of the present application is applied to Figure 1 The power supply circuit shown includes an electric energy input terminal and an electric energy output terminal, and also includes a thermistor and a capacitor connected in series between the electric energy input terminal and the electric energy output terminal.
[0052] like Figure 2 As shown, the method includes:
[0053] S101 . In response to a detection signal indicating that a charging time has reached a preset time threshold, obtain a charging voltage of a capacitor.
[0054] That is, when the charging time reaches the time threshold, a detection signal is generated or triggered, so that the charging voltage of the capacitor is obtained in response to the detection signal.
[0055] The charging time refers to the time it takes for the capacitor to be charged. Specifically, the charging time can be counted from the time the power is turned on. That is, when current is input to the power input end of the power supply circuit, the timing starts and the charging time is obtained. The timing can be performed using a timer or other software, applications, devices, etc. with a timing function, which is not specifically limited in this embodiment.
[0056] Among them, the duration threshold is determined according to the temperature condition of the thermistor during the charging process of the capacitor. Specifically, when the power supply circuit is detected for abnormality, after the power supply circuit is powered on, at least one temperature of the thermistor is obtained to obtain the temperature condition. Then the duration threshold can be determined according to the temperature condition. This duration threshold can be the time taken for the capacitor charging voltage to reach the voltage threshold from 0; it can also be the time node estimated based on the temperature condition at which the power supply circuit needs to be detected for abnormality. For example, after obtaining the temperature condition, it is found that the acceleration of the temperature change of the thermistor increases. At this time, the duration threshold can be reduced to avoid the duration threshold being too long, resulting in the temperature of the thermistor being too high during abnormal detection.
[0057] Among them, the detection signal is used to indicate that the charging time reaches the time threshold. It can be a signal uploaded by a timer, or a signal generated or triggered by the current execution subject itself, or in the detection program of the current execution subject, it will be determined whether the charging time is equal to the time threshold. If it is equal, the current execution subject directly executes the acquisition of the charging voltage without generating a signal first and then acquiring the charging voltage.
[0058] S102: Determine whether the detection result is abnormal based on the difference between the charging voltage and a preset voltage threshold.
[0059] After the charging voltage is obtained, the charging voltage is compared with the voltage threshold to obtain a difference. If the temperature of the thermistor is not too high, when the charging time reaches the time threshold, the charging voltage of the capacitor should be greater than or equal to the voltage threshold. Therefore, if the difference indicates that the charging voltage is less than the voltage threshold, the corresponding detection result can be determined to determine whether there is an abnormality in the power supply circuit.
[0060] The difference includes whether the charging voltage is different from the voltage threshold and / or the size of the difference between the charging voltage and the voltage threshold. Specifically, whether there is a difference can be determined by comparing the size, and the size of the difference requires calculating the difference between the charging voltage and the voltage threshold. Furthermore, when determining the detection result by the size of the difference, different degrees of detection results can be determined according to the size of the difference, such as emergency and general, to improve the detection accuracy.
[0061] Through the above content, according to the temperature of the thermistor during the capacitor charging process, a time threshold is determined, and the temperature conditions are different, and the determined time threshold is also different. During the power-on process of the power supply circuit, the relationship between the charging time and the time threshold is monitored, and when the charging time reaches the time threshold, the charging voltage of the capacitor is obtained in response to the detection signal. Then, according to the difference between the charging voltage and the voltage threshold, the detection result of whether the power supply circuit is abnormal is determined. In other words, if the temperature of the thermistor is normal, when the charging time reaches the time threshold, the charging voltage should reach the voltage threshold. If the charging voltage does not reach the voltage threshold, it indicates that the temperature of the thermistor is too high. Based on this, the detection result can be determined according to the difference, so that the abnormality in the capacitor charging process can be detected in time, so as to timely discover the abnormal problem of the power supply circuit, avoid the safety hazard caused by the high temperature of the thermistor and the problem of power failure caused by the excessive resistance of the thermistor. In addition, by setting the time threshold, it is guaranteed that the abnormal detection is completed within a limited time, and the detection result is obtained, which is conducive to improving the timeliness of discovering the abnormality of the power supply circuit and protecting the circuit safety in time.
[0062] In another embodiment of the present application, Figure 3 As shown, the method also includes:
[0063] S201. Acquire multiple temperature values of the thermistor during a capacitor charging test and stop acquiring the temperature values when the charging voltage of the capacitor reaches a voltage threshold.
[0064] That is, before performing abnormal detection of the power supply circuit, the charging process of the capacitor is tested first. During the test, the charging voltage of the capacitor is increased from 0 until the voltage threshold is reached. In this process, the temperature value of the thermistor is obtained to obtain at least one temperature value. Among them, when multiple temperature values need to be obtained, the temperature value of the thermistor can be obtained periodically. The length of the cycle determines the number of temperature values. If you want to improve the accuracy of determining the duration threshold, you can set a shorter cycle to obtain a larger number of temperature values. Similarly, if you want to control the calculation cost, you can set a longer cycle to obtain a smaller number of temperature values. In addition, the user can also pre-set the number of temperature values to be obtained, such as ten, and then the current execution subject automatically estimates the cycle to periodically obtain the temperature value of the thermistor. Of course, the temperature value of the thermistor can also be obtained irregularly. This embodiment does not make specific limitations on this, and the purpose is to obtain multiple temperature values.
[0065] The temperature value can be obtained using a temperature sensor.
[0066] S202: Calculate an average value of multiple temperature values.
[0067] That is, after summing up all the temperature values obtained, calculate the average value. The formula is as follows:
[0068] a=(a1+a2+…+an) / n, where a is the average value, an is the nth temperature value, and n is the number of temperature values.
[0069] It should be noted that during the test, it is necessary to try to ensure that the thermistor is not affected by external factors and temperature changes, such as frequent power on and off of the power supply circuit, overheated ambient temperature, etc. Therefore, during the test, the temperature fluctuation of the thermistor is small, and basically no major changes will occur. The calculated average value can reflect the temperature of the thermistor during the capacitor charging under normal working conditions. Among them, the normal working condition refers to the working condition in which the thermistor is not in an overtemperature state when the charging voltage reaches the voltage threshold. Whether the thermistor is overheated can be determined according to the actual conditions of the components in the power supply circuit and the actual working environment of the power supply circuit. For example, in a power supply circuit, even if the temperature of the thermistor reaches 50 degrees Celsius, it will not cause safety hazards. Therefore, for this power supply circuit, the thermistor at 50 degrees Celsius is still not in an overtemperature state. In another power supply circuit, if the temperature of the thermistor exceeds 20 degrees Celsius, a safety hazard will occur. Therefore, as long as the temperature of the thermistor is greater than or equal to 20 degrees Celsius, it is determined that the thermistor is in an overtemperature state.
[0070] S203: Determine a reference duration threshold according to the average value.
[0071] S204. When the capacitor is powered on, obtain the temperature value of the thermistor.
[0072] S205. Correct the reference duration threshold according to the temperature value to obtain the duration threshold.
[0073] The larger the temperature value, the larger the time threshold is.
[0074] Based on the above description of the average value during the test, it can be known that the average value is the temperature value of the thermistor under normal working conditions, so that the time threshold determined according to the average value is the time required for the capacitor voltage to reach the voltage threshold when the thermistor is under normal working conditions. In this way, if the thermistor is not under normal working conditions during the use of the power supply circuit, the resistance of the thermistor will increase, and the increased value will slow down the charging efficiency of the capacitor, resulting in the charging voltage failing to reach the voltage threshold. Based on this, through the difference between the voltage threshold and the charging voltage, it is possible to reversely determine whether the temperature of the thermistor is abnormal, thereby realizing abnormal detection of the power supply circuit.
[0075] Specifically, during the experiment, a reference duration threshold t1 is obtained, and then during the charging process of the power supply circuit, the actual temperature value of the thermistor is obtained, and the reference duration threshold is corrected according to the actual temperature value to obtain the final duration threshold, which can be expressed as: duration threshold = t1 + correction value.
[0076] In one embodiment, after determining the duration threshold, the duration threshold can be compensated, that is, on the basis of the duration threshold, add t o duration, so that the duration threshold = duration threshold + t o . Wherein, t o is set according to requirements, usually related to the actual situation of the circuit, and this embodiment does not make specific limitations
[0077] As Figure 4 shown, TA < TB < TC. When the average value is TA, the duration threshold is set to tA. When the average value is TB, the duration threshold is set to tB. When the average value is TC, the duration threshold is set to tC, where tA < tB < tC.
[0078] Through the above content, the duration threshold is determined by using the average value of the temperature values of the thermistor, and the larger the average value, the larger the duration threshold, which conforms to the actual situation and is beneficial to improving the accuracy of the detection result.
[0079] In another embodiment of the present application, the voltage threshold is less than the voltage value when the capacitor is fully charged.
[0080] That is to say, when the charging voltage of the capacitor reaches the voltage threshold, in fact, the capacitor is not in a fully charged state. For example, when the capacitor is fully charged, the charging voltage is 310VDC, and the voltage threshold can be set to 220VDC or 230VDC.
[0081] Through the above content, the voltage threshold is less than the voltage value when the capacitor is fully charged, which helps to avoid overvoltage of the capacitor, protect the capacitor, and extend the service life of the capacitor.
[0082] In another embodiment of the present application, the method further includes:
[0083] Start timing when there is power input at the power input end to obtain the charging duration;
[0084] When the charging duration reaches the duration threshold, trigger a detection signal.
[0085] Through the above content, the current execution entity automatically detects the charging duration and independently triggers the detection signal, which helps to improve the accuracy of the charging duration, thereby improving the timeliness of the detection signal triggering and response, detecting the abnormal situation of the power supply circuit in time, and reducing potential safety hazards.
[0086] In another embodiment of the present application, determining whether the detection result is abnormal according to the difference between the charging voltage and the preset voltage threshold includes:
[0087] Judge whether the charging voltage is less than the voltage threshold;
[0088] If the charging voltage is less than the voltage threshold, determining a detection result indicating that the temperature of the thermistor is abnormal;
[0089] If the charging voltage is not less than the voltage threshold, a detection result indicating that the temperature of the thermistor is normal is determined.
[0090] It should be noted that the charging voltage will fluctuate. Therefore, when judging whether the charging voltage is less than the voltage threshold, a fluctuation range can be preset, and the voltage threshold can be set to a threshold range according to the fluctuation range. For example, if the original voltage threshold is 160V and the fluctuation range is 5V, the voltage threshold is updated to 155-165V. If the charging voltage is less than the lower limit of the voltage threshold, that is, 155V, it is determined that the charging voltage is less than the voltage threshold. If the charging voltage is between 155-165V, it is determined that the charging voltage is equal to the voltage threshold. If the charging voltage is greater than the upper limit of the voltage threshold, that is, 165V, it is determined that the charging voltage is greater than the voltage threshold. Similarly, the charging voltage can also be a fluctuating value with a fluctuation range. When making a judgment, the upper limit or lower limit of the charging voltage can be used to compare with the capacitance threshold, which will not be repeated.
[0091] It should be noted that, in one embodiment, when the charging voltage is greater than the voltage threshold, the capacitor is controlled to discharge.
[0092] Through the above content, a detection result is generated for whether the thermistor has an over-temperature anomaly, which helps to promptly discover the thermistor in question, thereby reducing safety hazards and ensuring normal charging of the capacitor and normal power consumption of subsequent circuits.
[0093] In another embodiment of the present application, the power supply circuit further includes a first relay and a second relay, the first end of the first relay is connected to the power input end, the second end of the first relay is respectively connected to the first end of the thermistor and the first end of the second relay, the second end of the thermistor and the second end of the second relay are both connected to the capacitor, the first relay is a normally closed relay, and the second relay is a normally open relay;
[0094] The method also includes:
[0095] If the detection result indicates an abnormality, the first relay is controlled to be disconnected;
[0096] If the detection result is normal, the second relay is controlled to close.
[0097] Through the above content, when an abnormality occurs, the first relay is controlled to be disconnected, so that the electric energy at the electric energy input end cannot reach the thermistor and the capacitor, thereby ensuring the safety of the power supply circuit.
[0098] In another embodiment of the present application, the capacitor is connected to a useful electrical circuit;
[0099] After controlling the first relay to be disconnected, the method further includes:
[0100] Switch the backup power supply to supply power to the power circuit.
[0101] Through the above content, it is easy to ensure the normal operation of the electrical circuit.
[0102] In another embodiment of the present application, the power supply circuit is a high-voltage power supply circuit, wherein the high voltage includes alternating current with a voltage greater than or equal to 200V.
[0103] That is to say, the power supply circuit referred to in this embodiment is applied in high-power scenarios.
[0104] From the above content, it can be seen that timely anomaly detection is more necessary in high-voltage scenarios. This method is convenient for protecting the safety of power supply circuits in high-voltage scenarios and reducing safety hazards.
[0105] An embodiment of the present application also provides a controller that uses the above method to implement abnormality detection of the power supply circuit.
[0106] The present application also provides a power supply circuit. Figure 5 As shown, it includes an electric energy input terminal and an electric energy output terminal, and the power supply circuit also includes a thermistor and a capacitor connected in series between the electric energy input terminal and the electric energy output terminal;
[0107] The power supply circuit also includes the above-mentioned controller and voltage detection circuit, wherein the voltage detection circuit is used to obtain the charging voltage of the capacitor, and the controller is used to obtain the charging voltage of the capacitor through the voltage detection circuit in response to a detection signal indicating that the charging time has reached a preset time threshold.
[0108] Preferably, the voltage detection circuit is integrated in the controller.
[0109] In another embodiment of the present application, Figure 5 As shown, the power supply circuit also includes a first relay and a second relay, the first end of the first relay is connected to the power input end, the second end of the first relay is connected to the first end of the thermistor and the first end of the second relay respectively, the second end of the thermistor and the second end of the second relay are both connected to the capacitor, the first relay is a normally closed relay, and the second relay is a normally open relay;
[0110] A rectification and filtering module is connected in series between the first relay and the second relay, for rectifying and filtering the current passing through the first relay.
[0111] Among them, two first relays can be provided, one for controlling the on and off of the neutral line, and the other for controlling the on and off of the live line. The specific number is not specifically limited in this embodiment.
[0112] The power supply circuit also includes a temperature detector for obtaining a temperature value of the thermistor when the capacitor is powered on;
[0113] The controller is further configured to determine a time threshold according to the temperature value.
[0114] Specifically, after the strong AC power is input, the AC power is rectified and filtered through the rectifier and filter module. The second relay is a normally open relay, and the current passes through the thermistor to charge the capacitor. When the charging time reaches the time threshold, the controller obtains the charging voltage. If the charging voltage reaches the voltage threshold, the controller transmits a control signal 2 to the second relay, so that the second relay is closed, causing the thermistor to short-circuit, and the rectified and filtered current passes through the capacitor and is transmitted to other circuits. Among them, other circuits include circuits such as electrical equipment, which are not specifically limited in this embodiment.
[0115] If the charging voltage is lower than the voltage threshold, the controller transmits a control signal 1 to the first relay, causing the first relay to disconnect and the high-voltage power supply circuit to be open. The controller switches other power sources to supply power to other circuits, ensuring the safety of the high-voltage power supply circuit while other circuits operate normally.
[0116] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0117] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0118] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0119] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0120] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0121] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.
[0122] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for detecting abnormality of a power supply circuit, characterized in that: The power supply circuit comprises an electric energy input terminal and an electric energy output terminal, and the power supply circuit further comprises a thermistor and a capacitor connected in series between the electric energy input terminal and the electric energy output terminal. The method comprises: In response to a detection signal indicating that the charging time reaches a preset time threshold, obtaining a charging voltage of the capacitor, wherein the charging time refers to the time for charging the capacitor, and the time threshold is determined according to the temperature of the thermistor during the charging process of the capacitor; Whether the detection result is abnormal is determined based on the difference between the charging voltage and a preset voltage threshold.
2. The method for detecting abnormality of a power supply circuit according to claim 1, characterized in that: The method further comprises: acquiring a plurality of temperature values of the thermistor during the process of charging the capacitor and stopping acquiring the temperature values when the charging voltage of the capacitor reaches the voltage threshold; calculating an average of the plurality of temperature values; Determine a reference duration threshold according to the size of the average value, wherein the larger the average value is, the larger the determined reference duration threshold is; When the capacitor is powered on, obtaining a temperature value of the thermistor; The reference duration threshold is corrected according to the temperature value to obtain the duration threshold, wherein the larger the temperature value is, the larger the determined duration threshold is.
3. The method for detecting abnormality of a power supply circuit according to claim 2, characterized in that: The voltage threshold is less than a voltage value when the capacitor is in a fully charged state.
4. The method for detecting abnormality of a power supply circuit according to claim 1, characterized in that: The method further comprises: When power is input to the power input terminal, the timing is started to obtain the charging time; When the charging time reaches the time threshold, the detection signal is triggered.
5. The method for detecting abnormality of a power supply circuit according to claim 1, characterized in that: The step of determining whether the detection result is abnormal based on the difference between the charging voltage and a preset voltage threshold comprises: Determining whether the charging voltage is less than the voltage threshold; If the charging voltage is less than the voltage threshold, determining the detection result indicating that the temperature of the thermistor is abnormal; If the charging voltage is not less than the voltage threshold, the detection result indicating that the temperature of the thermistor is normal is determined.
6. The method for detecting abnormality of a power supply circuit according to claim 1, characterized in that: The power supply circuit further includes a first relay and a second relay, wherein a first end of the first relay is connected to the power input end, a second end of the first relay is connected to a first end of the thermistor and a first end of the second relay respectively, a second end of the thermistor and a second end of the second relay are both connected to the capacitor, the first relay is a normally closed relay, and the second relay is a normally open relay; The method further comprises: If the detection result indicates an abnormality, controlling the first relay to be disconnected; If the detection result indicates that it is normal, the second relay is controlled to be closed.
7. The method for detecting abnormality of a power supply circuit according to claim 6, characterized in that: The capacitor is connected to a useful electrical circuit; After controlling the first relay to be disconnected, the method further includes: Switch the backup power supply to supply power to the power circuit.
8. The method for detecting abnormality of a power supply circuit according to claim 1, characterized in that: The power supply circuit is a high-voltage power supply circuit, wherein the high-voltage power supply circuit includes alternating current with a voltage greater than or equal to 200V.
9. A controller, characterized in that: The method described in any one of claims 1 to 8 is used to implement abnormality detection of the power supply circuit.
10. A power supply circuit, characterized in that: The power supply circuit comprises an electric energy input terminal and an electric energy output terminal, wherein the power supply circuit further comprises a thermistor and a capacitor connected in series between the electric energy input terminal and the electric energy output terminal; The power supply circuit also includes the controller and voltage detection circuit described in claim 9, wherein the voltage detection circuit is used to obtain the charging voltage of the capacitor, and the controller is used to obtain the charging voltage of the capacitor through the voltage detection circuit in response to a detection signal indicating that the charging time has reached a preset time threshold.
11. The power supply circuit according to claim 10, characterized in that: The power supply circuit further includes a first relay and a second relay, wherein a first end of the first relay is connected to the power input end, a second end of the first relay is connected to a first end of the thermistor and a first end of the second relay respectively, a second end of the thermistor and a second end of the second relay are both connected to the capacitor, the first relay is a normally closed relay, and the second relay is a normally open relay; A rectification and filtering module is connected in series between the first relay and the second relay, and is used to rectify and filter the current passing through the first relay.
12. The power supply circuit according to claim 10 or 11, characterized in that: The power supply circuit also includes a temperature detector for obtaining a temperature value of the thermistor when the capacitor is powered on; The controller is further configured to determine the duration threshold according to the temperature value.
