Circuit protection method, device, terminal equipment and computer readable storage medium
By amplifying and sampling the current in the circuit with different amplifications, analyzing abnormal situations and selecting appropriate protection strategies, the problem of inflexible protection methods in the existing technology is solved, and more appropriate circuit protection is achieved.
Patent Information
- Application Number
- CN202311779057.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-21
- Publication Date
- 2025-05-16
- Estimated Expiration
- 2043-12-21
AI Technical Summary
When dealing with short circuits in complex electrical equipment, the protection methods are not flexible enough and difficult to adapt to different abnormal situations, which may lead to inadequate protection or excessive protection.
By amplifying and sampling the current in the target circuit at different amplifications, the sampling current is analyzed to determine whether the circuit is abnormal and its type, and then selecting a matching protection strategy.
It improves the flexibility of circuit protection, makes the protection means more suitable for specific abnormal situations, and avoids the problems of inadequate protection or excessive protection.
Smart Images

Figure CN117748431B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electrical technology, and in particular to a circuit protection method, device, terminal equipment and computer-readable storage medium. Background Art
[0002] The circuit structure is an essential structure for electrical equipment. In some cases, due to various unexpected reasons, the circuit in the electrical equipment will short-circuit. If there is a short-circuit, the electrical equipment is prone to damage. Therefore, when there is a short-circuit, the electrical equipment needs to be protected to prevent the electrical equipment from being affected by the short-circuit, thereby preventing the equipment from burning.
[0003] In the prior art, when a short circuit occurs, for example, when a large instantaneous current is detected, the circuit can be disconnected to prevent the device from being affected by the short circuit. However, simple circuit breaker protection cannot cope with various complex electrical equipment application scenarios. Summary of the invention
[0004] The present application provides a circuit protection method, which can protect the circuit in different protection modes, thereby improving the flexibility of circuit protection.
[0005] In a first aspect, the present application provides a circuit protection method, the method comprising:
[0006] Amplifying the current in the target circuit with different amplification factors to obtain currents with multiple different amplification factors;
[0007] Sampling the currents of the different amplification factors to obtain a plurality of sampled currents of different amplification factors;
[0008] Analyzing each of the sampled currents to determine whether the target circuit is abnormal;
[0009] If the target circuit is abnormal, determining the abnormal type of the target circuit;
[0010] A circuit protection strategy matching the abnormality type is determined to protect the target circuit.
[0011] In some embodiments of the present application, analyzing each of the sampled currents to determine whether the target circuit is abnormal includes:
[0012] Analyzing the effective current value of each of the sampled currents;
[0013] According to each of the effective current values, a target sampling current is obtained by screening;
[0014] Whether the target circuit is abnormal is determined according to the target sampling current.
[0015] In some embodiments of the present application, the analyzing the effective current value of each of the sampled currents includes:
[0016] Filtering each of the sampled currents to obtain each filtered sampled current;
[0017] Determining the amplitude and current phase of the harmonics of each of the filtered sampling currents;
[0018] The effective current value of each of the sampled currents is determined according to the amplitude of the harmonics and the current phase of each of the filtered sampled currents.
[0019] In some embodiments of the present application, determining whether the target circuit is abnormal according to the target sampling current includes:
[0020] Determine a target sampling current peak value of the target sampling current;
[0021] If the target sampling current peak value is greater than or equal to the abnormal peak value threshold, it is determined that the target circuit is abnormal;
[0022] If the target sampling current peak value is less than the abnormal peak value threshold, it is determined that the target circuit is normal.
[0023] In some embodiments of the present application, if the target circuit is abnormal, determining the abnormality type of the target circuit includes:
[0024] Determine a target sampling current peak value of the target sampling current;
[0025] Determine the peak interval of the target sampling current peak;
[0026] The abnormality type of the target circuit is determined according to the peak interval.
[0027] In some embodiments of the present application, the circuit protection strategy includes a circuit disconnection time, and the determining of a circuit protection strategy matching the abnormality type to protect the target circuit includes:
[0028] Determining a circuit disconnection time matching the abnormality type;
[0029] According to the circuit disconnection time, a target element of the target circuit is disconnected for the circuit disconnection time to protect the target circuit.
[0030] In some embodiments of the present application, the target circuit includes an iron core mutual inductor, and the current current in the target circuit is amplified with different amplification factors to obtain currents with multiple different amplification factors, including:
[0031] The current in the core mutual inductor is amplified with different amplification factors to obtain currents with multiple different amplification factors.
[0032] In a second aspect, the present application further provides a circuit protection device, the device comprising:
[0033] An amplification module, used to amplify the current in the target circuit with different amplification factors to obtain currents with multiple different amplification factors;
[0034] A sampling module, used for sampling the currents of the different amplification factors to obtain a plurality of sampling currents of different amplification factors;
[0035] An analysis module, used for analyzing each of the sampled currents to determine whether the target circuit is abnormal;
[0036] A determination module, configured to determine the abnormality type of the target circuit if the target circuit is abnormal;
[0037] The protection module is used to determine a circuit protection strategy matching the abnormality type to protect the target circuit.
[0038] In a third aspect, the present application also provides a terminal device, comprising a target circuit as described in any one of the items, a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps in any one of the circuit protection methods described.
[0039] In a fourth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, and the computer program is executed by a processor to implement the steps in any one of the circuit protection methods described.
[0040] The circuit protection method provided by the present application can amplify and sample the current in the target circuit at different multiples. After completing the sampling of the current at different multiples, the sampled current can be analyzed to determine the abnormal type of the current circuit, and then a protection strategy matching the current abnormal type can be selected to protect the target circuit, avoiding the use of the same protection means to protect the target circuit, and making the protection means more suitable for the specific abnormal situation of the target circuit, preventing problems such as insufficient protection and over-protection. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0042] Figure 1 is a schematic diagram of a circuit protection system provided in an embodiment of the present application;
[0043] Figure 2 is a schematic flow chart of an embodiment of a circuit protection method in an embodiment of the present application;
[0044] Figure 3 is a functional module schematic diagram of a circuit protection device in an embodiment of the present application;
[0045] Figure 4 It is a schematic diagram of the structure of the terminal device in the embodiment of the present application. DETAILED DESCRIPTION
[0046] 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 those skilled in the art without creative work are within the scope of protection of this application.
[0047] In the description of the present application, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the feature. In the description of the present application, "plurality" means two or more, unless otherwise clearly and specifically defined.
[0048] In this application, the word "exemplary" is used to mean "used as an example, illustration or description". Any embodiment described as "exemplary" in this application is not necessarily to be construed as being more preferred or advantageous than other embodiments. At the same time, it is to be understood that in the specific implementation of this application, when user information, user data and other related data are involved, when the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data shall comply with relevant laws, regulations and standards of relevant countries and regions.
[0049] In order to enable any person skilled in the art to implement and use the present application, the following description is provided. In the following description, details are listed for the purpose of explanation. It should be understood that those of ordinary skill in the art will recognize that the present application can be implemented without using these specific details. In other examples, known structures and processes will not be elaborated in detail to avoid unnecessary details that make the description of the present application obscure. Therefore, the present application is not intended to be limited to the embodiments shown, but is consistent with the widest range of principles and features disclosed in the present application.
[0050] The present application provides a circuit protection method, apparatus, device and storage medium, which are described in detail below.
[0051] See also Figure 1 , Figure 1 A scenario diagram of a circuit protection system provided in an embodiment of the present application. The circuit protection system may include a terminal device 100 and a circuit 200. The terminal device 100 may obtain current data in the circuit 200 to execute the circuit protection method in the present application.
[0052] In the embodiment of the present application, the terminal device 100 includes any device having a circuit and the specific embodiment of the present application is not limited.
[0053] It should be noted that Figure 1 The scenario diagram of the circuit protection system shown is only an example. The circuit protection system and scenario described in the embodiment of the present application are intended to more clearly illustrate the technical solution of the embodiment of the present application, and do not constitute a limitation on the technical solution provided in the embodiment of the present application. Ordinary technicians in this field can know that with the evolution of the circuit protection system and the emergence of new business scenarios, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.
[0054] like Figure 2 As shown, Figure 2 This is a flow chart of an embodiment of a circuit protection method in an embodiment of the present application. The circuit protection method may include the following steps 201 to 205.
[0055] 201. Amplify the current in the target circuit with different amplification factors to obtain currents with multiple different amplification factors.
[0056] In the embodiment of the present application, the current in the target circuit is amplified with different amplification factors to obtain a plurality of currents with different amplification factors. The current in the target circuit can be amplified with different amplification factors by setting a corresponding amplification circuit to obtain a plurality of currents with different amplification factors. Specifically, the circuit structure of any amplification circuit can be referred to, and the embodiment of the present application is not limited thereto.
[0057] If the current passes through the amplifier circuit, the amplifier circuit can amplify the current. In the embodiment of the present application, multiple amplifier circuits can be set to be connected to the target circuit, and each amplifier circuit can be connected in parallel to the target circuit. At the same time, the amplification factors of the multiple amplifier circuits are different, so that the processor for current processing can obtain amplified currents with different amplification factors.
[0058] For example, assuming that the current is current A, after current A passes through the parallel amplifier circuit, it can obtain amplified current B, current C, current D, etc., and the number of amplified currents is the same as the number of amplifier circuits. The amplified currents B, current C, current D, etc. are only different in amplification factor. In the embodiments of the present application, the number of amplified currents with different amplification factors is not limited.
[0059] 202. Sampling currents of different amplification factors to obtain a plurality of sampling currents of different amplification factors.
[0060] After obtaining the amplified currents with different amplification factors, it is necessary to sample the amplified currents with different amplification factors. In the embodiment of the present application, the same sampling frequency can be adopted for sampling the amplified currents with different amplification factors. For example, sampling frequency A is adopted to sample current B, current C, and current D, and the sampling current B with sampling frequency A, the sampling current C with sampling frequency A, and the sampling current D with sampling frequency A can be obtained. Alternatively, different sampling frequencies can be used to sample each amplified current. For example, sampling frequency A is adopted to sample current B, sampling frequency B is adopted to sample current C, and sampling frequency C is adopted to sample current D. The specific embodiment of the present application does not limit the sampling method.
[0061] 203. Analyze each sampled current to determine whether the target circuit is abnormal.
[0062] After the current is amplified, the current can be better analyzed. In the embodiment of the present application, the method of determining whether the target circuit is abnormal may include: detecting the current peak value of each sampled current, and if there is a current peak value in the current peak value of each sampled current that does not match the preset peak threshold, then the target circuit can be determined to be abnormal. For example: Assuming that there are sampled currents B, C, and D, since the amplification factors between current B, current C, and current D are different, three peak thresholds can be set, and each peak threshold matches the corresponding amplification factor, for example, peak threshold A corresponds to amplification factor A, peak threshold B corresponds to amplification factor B, and peak threshold C corresponds to amplification factor C. Assuming that current B corresponds to amplification factor A, current C corresponds to amplification factor B, and current D corresponds to amplification factor C, the peak value B of current B is compared with the peak threshold value A, the peak value C of current C is compared with the peak threshold value B, and the peak value D of current D is compared with the peak threshold value C. If there is at least one peak value greater than or equal to the corresponding peak threshold value, it can be said that the current in the target circuit is too large, so there is an abnormal situation; if each peak value is less than the corresponding peak threshold value, it can be said that the target circuit is normal. In the embodiments of the present application, the schemes listed for determining whether a target circuit is abnormal do not constitute a limitation on the present application.
[0063] 204. If the target circuit is abnormal, determine the abnormal type of the target circuit.
[0064] According to the above description, if the target circuit is analyzed to be abnormal, it is necessary to analyze the abnormal type of the target circuit. At this time, it is still possible to obtain according to the above description that the above describes a method of determining whether the target circuit is abnormal based on the peak value of the sampled current. In the embodiment of the present application, the abnormal type of the target circuit can be determined according to the number of peak values of the sampled current that is greater than or equal to the corresponding peak value threshold. For example: if the peak value of the sampled current is greater than or equal to the number of corresponding peak value thresholds is 1, then the abnormal type can be determined to be abnormal type 1, and abnormal type 1 can correspond to the presence of a smaller large current in the circuit; if the peak value of the sampled current is greater than or equal to the number of corresponding peak value thresholds is 2, then the abnormal type can be determined to be abnormal type 2, and abnormal type 2 can correspond to the presence of a certain large current in the circuit; if the peak value of the sampled current is greater than or equal to the number of corresponding peak value thresholds is 3, then the abnormal type can be determined to be abnormal type 3, and abnormal type 3 can correspond to the presence of a larger large current in the circuit, etc. Specifically, the setting of the abnormal type can be set according to the actual situation, and the embodiment of the present application is not limited.
[0065] 205. Determine a circuit protection strategy that matches the abnormality type to protect the target circuit.
[0066] In the above embodiments, different abnormal types are described. In the embodiments of the present application, different abnormal types can correspond to different circuit protection strategies. For example, abnormal type 1 can correspond to reducing the working power of the device, abnormal type 2 can correspond to intermittent control of the start and stop of the device, and abnormal type 3 can correspond to disconnecting the circuit. In this way, when the current is not very large, the reduction of the working power of the device corresponding to abnormal type 1 can reduce the current in the circuit to prevent excessive current from damaging the device. And abnormal type 3 can correspond to a short circuit in the circuit, and there is a very large current. At this time, when the circuit is disconnected, it can effectively prevent the device from being damaged. It can be seen that when the current in the circuit is in different situations, different protection measures can be taken instead of choosing to use the same circuit-breaking method. Therefore, when the current does not reach the current size of the short circuit, the circuit can be cut off, but the device can continue to work to avoid equipment downtime and affect the task of equipment operation. Instead of directly using the circuit-breaking method to protect the circuit, there will be no problem of overprotection. Alternatively, if the protection measures in each case are only to reduce the working power of the device, this method cannot protect the short circuit situation, so there will be no situation where protection is not in place.
[0067] The circuit protection method provided by the present application can amplify and sample the current in the target circuit at different multiples. After completing the sampling of the current at different multiples, the sampled current can be analyzed to determine the abnormal type of the current circuit, and then a protection strategy matching the current abnormal type can be selected to protect the target circuit, avoiding the use of the same protection means to protect the target circuit, and making the protection means more suitable for the specific abnormal situation of the target circuit, preventing problems such as insufficient protection and over-protection.
[0068] In order to better implement the embodiment of the present application, in one embodiment of the present application, analyzing each sampled current to determine whether the target circuit is abnormal includes:
[0069] Analyze the effective current value of each sampling current; screen and obtain the target sampling current according to each effective current value; and determine whether the target circuit is abnormal according to the target sampling current.
[0070] The above embodiment provides a method for analyzing the current peak value of the sampled current to determine whether the target circuit is abnormal. The embodiment of the present application also provides a method for calculating the effective current value of the sampled current, and through the effective current value of the current, a target sampled current is screened out, and then a solution for determining whether the circuit is abnormal is determined based on the target sampled current.
[0071] In an embodiment of the present application, the method for calculating the effective current value of the current of each sampling current with different amplification factors may include: continuously recording the sampling values of the current over a period of time. These sampling values will be used to calculate the effective current value of the current. Normally, the sampling values should be sufficient to cover one cycle of the current waveform. The sampling value of the current is the sampling current of the embodiment of the present application. Obtain the square average value: square each sampling current, and then calculate the average value of all the sampling currents. That is, square each sampling current, then add the obtained square values, and finally divide by the number of samples to obtain the average value. Square root and take square root: square the average value obtained in the previous step, and take the square root. This result is the effective current value of the current. Of course, it should be noted that the above operations are performed on each sampling current with different amplification factors, so as to obtain the effective current value corresponding to each sampling current with different amplification factors.
[0072] After obtaining the effective current value corresponding to each sampling current with different amplification factors, a maximum effective current value can be selected according to the size of the effective current value, so as to determine the sampling current corresponding to the maximum effective current value as the target sampling current. Of course, the target sampling current can also be determined according to other methods, which are not limited in the embodiments of the present application. The effective current value can better reflect the state of the current data. Afterwards, it can be determined whether the target circuit is abnormal based on the peak value of the target sampling current. At this time, a peak threshold can be set to compare with the peak value of the target sampling current to determine whether the target circuit is abnormal. For example, if it is greater than or equal to, the circuit is abnormal; if it is less than, the circuit is normal.
[0073] It should be noted that when analyzing whether a target circuit is abnormal by screening out a target sampling current through an effective current value, data of other sampling currents can be filtered out, thereby saving certain computing resources.
[0074] In order to better implement the embodiment of the present application, in one embodiment of the present application, the effective current value of each sampled current is analyzed, including:
[0075] Filtering each sampling current to obtain each filtered sampling current; determining the amplitude of the harmonics and the current phase of each filtered sampling current; and determining the effective current value of each sampling current according to the amplitude of the harmonics and the current phase of each filtered sampling current.
[0076] The above embodiment provides an implementation method for calculating the effective current value, and the embodiment of the present application also provides a solution for calculating the effective current value. Specifically, before calculating the effective current value, the sampled currents of different amplification factors can be filtered to obtain each filtered sampled current. The filtering process can eliminate the noise in the current. After the filtering operation is completed, the effective current value can be calculated. The specific calculation process is as follows:
[0077] Represent each filtered sampled current in complex form: Use Euler's formula to represent the current amplitude and phase in complex form. Assuming the current amplitude is I and the phase angle is φ, it can be represented as I×e^(jφ), where j is an imaginary unit; ^ represents the square. Calculate the square average: multiply the complex current by its conjugate complex number (i.e., negate the phase), and then take the real part. The specific calculation steps are as follows: a) Represent the current in complex form: I×e^(jφ). b) Calculate the conjugate complex number of the current: I×e^(-jφ). c) Multiply the conjugate complex number by the original complex number: (I×e^(jφ))×(I×e^(-jφ))=I^2×e^(j(φ-φ))=I^2. d) Take the real part, that is, the real part of I^2 is I^2 itself. e) Divide I^2 by 2 to get the square average: I^2 / 2. Root square and take square root: Root the square of the average value and take the square root to get the effective current value of the current, i.e. sqrt(I^2 / 2). After the above steps, the effective current value of each sampled current can be obtained.
[0078] In order to better implement the embodiments of the present application, in one embodiment of the present application, determining whether the target circuit is abnormal according to the target sampling current includes:
[0079] Determine a target sampling current peak value of the target sampling current; if the target sampling current peak value is greater than or equal to an abnormal peak value threshold, determine that the target circuit is abnormal; if the target sampling current peak value is less than the abnormal peak value threshold, determine that the target circuit is normal.
[0080] The above embodiment provides a solution for determining whether the target circuit is abnormal. After obtaining the target sampling current, it is also possible to determine whether the target circuit is normal or abnormal based on the current peak value of the target sampling current. The details are similar to the above description and will not be repeated here.
[0081] In order to better implement the embodiment of the present application, in one embodiment of the present application, if the target circuit is abnormal, determining the abnormal type of the target circuit includes:
[0082] Determine a target sampling current peak value of a target sampling current; determine a peak interval in which the target sampling current peak value is located; and determine an abnormal type of a target circuit according to the peak interval.
[0083] In the above embodiment, a scheme is provided for calculating the number of mismatches between the current peak value and the peak threshold value, thereby determining the abnormal type of the target circuit. In the embodiment of the present application, multiple peak intervals can be set, which are peak interval 1, peak interval 2 and peak interval 3, and each peak interval corresponds to an abnormal type. When the target sampling current peak value of the target sampling current is obtained, the target sampling current peak value is calculated to be in peak interval 1 or peak interval 2 or peak interval 3, so that the abnormal type of the target circuit can be determined. It should be noted that the number of abnormal types mentioned in the embodiment of the present application does not constitute a limitation on the present application, and the number of peak intervals does not constitute a limitation on the present application, and can be set according to actual conditions.
[0084] In order to better implement the embodiment of the present application, in one embodiment of the present application, the circuit protection strategy includes a circuit disconnection time, and determining a circuit protection strategy matching the abnormality type to protect the target circuit includes:
[0085] Determine a circuit disconnection time that matches the abnormality type; and disconnect a target element of a target circuit for the circuit disconnection time according to the circuit disconnection time to protect the target circuit.
[0086] The above embodiments provide a method of reducing the working power of the equipment, intermittently controlling the start and stop of the equipment, and disconnecting the circuit, so as to protect the equipment. The present application also provides other protection methods, for example: different disconnection times can be set, and each disconnection time corresponds to an abnormality type. After the abnormality type is determined, the specific disconnection time can be determined. For example, the larger the current peak, the longer the disconnection time. After that, the equipment can be powered off according to the determined disconnection time. Assuming that the power-off time is 10 seconds, the circuit is disconnected for 10 seconds; if the power-off time is 1 minute, the circuit is disconnected for 1 minute. The advantage of this is that a smaller large current can be avoided from breaking down the equipment, and a smaller large current corresponds to a shorter disconnection time. In other words, when the equipment is in a smaller large current, the downtime is shorter, so the time when the equipment is not working can be minimized.
[0087] In order to better implement the embodiment of the present application, in one embodiment of the present application, the target circuit includes an iron core mutual inductor, and the current in the target circuit is amplified with different amplification factors to obtain a plurality of currents with different amplification factors, including:
[0088] The current in the iron core mutual inductor is amplified with different amplification factors to obtain currents with multiple different amplification factors.
[0089] The above embodiment provides a solution in which each amplifier circuit can be connected to each position of the target circuit. In the embodiment of the present application, each amplifier circuit can be arranged after the core mutual inductor, so that each amplifier circuit can amplify the current flowing out of the core mutual inductor. In the embodiment of the present application, the purpose of amplifying the current in the core mutual inductor is that the current in the core mutual inductor can better reflect the current state in the current target circuit. Therefore, if the current after the core mutual inductor is amplified is analyzed, the specific protection strategy can be better determined.
[0090] In order to better implement the circuit protection method in the embodiment of the present application, in addition to the circuit protection method, the embodiment of the present application also provides a circuit protection device, such as Figure 3 As shown, the device 300 includes:
[0091] The amplification module 301 is used to amplify the current in the target circuit with different amplification factors to obtain currents with multiple different amplification factors;
[0092] The sampling module 302 is used to sample the currents of different amplification factors to obtain a plurality of sampled currents of different amplification factors;
[0093] An analysis module 303 is used to analyze each sampled current to determine whether the target circuit is abnormal;
[0094] A determination module 304 is used to determine the abnormality type of the target circuit if the target circuit is abnormal;
[0095] The protection module 305 is used to determine a circuit protection strategy that matches the abnormality type and protect the target circuit.
[0096] The circuit protection device provided by the present application, the amplification module 301 and the sampling module 302 can amplify and sample the current in the target circuit at different multiples. After completing the sampling of the current at different multiples, the analysis module 303 can analyze the sampled current, so that the determination module 304 can determine the abnormal type of the current circuit, and then the protection module 305 can select a protection strategy that matches the current abnormal type to protect the target circuit, avoiding the use of the same protection means to protect the target circuit, and making the protection means more suitable for the specific abnormal situation of the target circuit, preventing problems such as insufficient protection and excessive protection.
[0097] In some embodiments of the present application, the analysis module 303 is specifically used to:
[0098] Analyze the effective current value of each sampled current;
[0099] According to each effective current value, the target sampling current is screened and obtained;
[0100] Determine whether the target circuit is abnormal based on the target sampling current.
[0101] In some embodiments of the present application, the analysis module 303 is further used to:
[0102] Filtering each sampling current to obtain each filtered sampling current;
[0103] Determine the amplitude of the harmonics of each filtered sampling current and the current phase;
[0104] The effective current value of each sampled current is determined according to the amplitude of the harmonics of each filtered sampled current and the current phase.
[0105] In some embodiments of the present application, the analysis module 303 is further used to:
[0106] Determine a target sampling current peak value of the target sampling current;
[0107] If the target sampling current peak value is greater than or equal to the abnormal peak value threshold, it is determined that the target circuit is abnormal;
[0108] If the target sampling current peak value is less than the abnormal peak value threshold value, it is determined that the target circuit is normal.
[0109] In some embodiments of the present application, the determination module 304 is specifically used to:
[0110] Determine a target sampling current peak value of the target sampling current;
[0111] Determine the peak interval where the target sampling current peak value is located;
[0112] According to the peak value range, the abnormal type of the target circuit is determined.
[0113] In some embodiments of the present application, the protection module 305 is specifically used to:
[0114] Determine the circuit disconnection time matching the abnormality type;
[0115] According to the circuit disconnection time, a target element of the target circuit is disconnected for the circuit disconnection time to protect the target circuit.
[0116] In some embodiments of the present application, the amplification module 301 is specifically used for:
[0117] The current in the iron core mutual inductor is amplified with different amplification factors to obtain currents with multiple different amplification factors.
[0118] The present application also provides a terminal device, which includes a processor, a memory, and a computer program stored in the memory and executable on the processor, and the processor executes the computer program to implement the steps of any circuit protection method in the present application. The terminal device integrates any circuit protection method provided in the present application. Figure 4 As shown, it shows a schematic diagram of the structure of the terminal device involved in the embodiment of the present application, specifically:
[0119] The terminal device may include one or more processing core processors 401, one or more computer-readable storage media memories 402, a power supply 403, an input unit 404 and other components. Those skilled in the art will appreciate that Figure 4 The terminal device structure shown in the figure does not constitute a limitation on the terminal device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. Among them:
[0120] The processor 401 is the control center of the terminal device, and uses various interfaces and lines to connect various parts of the entire terminal device. By running or executing software programs and / or modules stored in the memory 402, and calling data stored in the memory 402, the processor 401 executes various functions of the terminal device and processes data, thereby monitoring the terminal device as a whole. Optionally, the processor 401 may include one or more processing cores; the processor 401 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. Preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, the user interface and the application program, etc., and the modem processor mainly processes wireless communication. It is understandable that the above-mentioned modem processor may not be integrated into the processor 401.
[0121] The memory 402 can be used to store software programs and modules. The processor 401 executes various functional applications and data processing by running the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 402 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.
[0122] The terminal device also includes a power supply 403 for supplying power to each component. Preferably, the power supply 403 can be logically connected to the processor 401 through a power management system, so as to manage charging, discharging, power consumption management and other functions through the power management system. The power supply 403 can also include any components such as one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, and power status indicators.
[0123] The terminal device may further include an input unit 404, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
[0124] Although not shown, the terminal device may further include a display unit, etc., which will not be described in detail herein. Specifically in this embodiment, the processor 401 in the terminal device will load the executable files corresponding to the processes of one or more application programs into the memory 402 according to the following instructions, and the processor 401 will run the application programs stored in the memory 402, thereby realizing various functions, such as:
[0125] Amplifying the current in the target circuit with different amplification factors to obtain currents with multiple different amplification factors;
[0126] Sampling currents of different magnification factors to obtain multiple sampling currents of different magnification factors;
[0127] Analyze each sampled current to determine whether the target circuit is abnormal;
[0128] If the target circuit is abnormal, determine the abnormal type of the target circuit;
[0129] A circuit protection strategy matching the abnormality type is determined to protect the target circuit.
[0130] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.
[0131] To this end, an embodiment of the present application provides a computer-readable storage medium, which may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc. A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in any circuit protection method provided in the embodiment of the present application. For example, the computer program loaded by the processor can execute the following steps:
[0132] Amplifying the current in the target circuit with different amplification factors to obtain currents with multiple different amplification factors;
[0133] Sampling currents of different magnification factors to obtain multiple sampling currents of different magnification factors;
[0134] Analyze each sampled current to determine whether the target circuit is abnormal;
[0135] If the target circuit is abnormal, determine the abnormal type of the target circuit;
[0136] A circuit protection strategy matching the abnormality type is determined to protect the target circuit.
[0137] In the above embodiments, 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 detailed description of other embodiments above, and will not be repeated here.
[0138] In specific implementation, the above units or structures can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above units or structures can refer to the previous method embodiments, which will not be repeated here.
[0139] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0140] The circuit protection method and device provided in the embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for technicians in this field, according to the ideas of the present application, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A circuit protection method, characterized in that: The method comprises: Amplifying the current in the target circuit with different amplification factors to obtain currents with multiple different amplification factors; Sampling the currents of the different amplification factors to obtain a plurality of sampled currents of different amplification factors; Analyzing each of the sampled currents to determine whether the target circuit is abnormal; If the target circuit is abnormal, determining the abnormal type of the target circuit includes: determining the peak value of the sampled current; determining the abnormal type of the target circuit according to the number of peak values of the sampled current that are greater than or equal to the corresponding peak value threshold; A circuit protection strategy is determined to match the abnormality type and reduce the current of the target circuit or disconnect the target circuit to protect the target circuit.
2. The circuit protection method according to claim 1, characterized in that: The analyzing each of the sampled currents to determine whether the target circuit is abnormal includes: Analyzing the effective current value of each of the sampled currents; According to each of the effective current values, a target sampling current is obtained by screening; Whether the target circuit is abnormal is determined according to the target sampling current.
3. The circuit protection method according to claim 2, characterized in that: The analyzing the effective current value of each of the sampled currents comprises: Filtering each of the sampled currents to obtain each filtered sampled current; Determining the amplitude and current phase of the harmonics of each of the filtered sampling currents; The effective current value of each of the sampled currents is determined according to the amplitude of the harmonics and the current phase of each of the filtered sampled currents.
4. The circuit protection method according to claim 2, characterized in that: The step of determining whether the target circuit is abnormal according to the target sampling current includes: Determine a target sampling current peak value of the target sampling current; If the target sampling current peak value is greater than or equal to the abnormal peak value threshold, it is determined that the target circuit is abnormal; If the target sampling current peak value is less than the abnormal peak value threshold, it is determined that the target circuit is normal.
5. The circuit protection method according to claim 2, characterized in that: If the target circuit is abnormal, determining the abnormal type of the target circuit further includes: Determine a target sampling current peak value of the target sampling current; Determine the peak interval of the target sampling current peak; The abnormality type of the target circuit is determined according to the peak interval.
6. The circuit protection method according to claim 1, characterized in that: The circuit protection strategy includes disconnecting the target circuit according to the circuit disconnection time, specifically including: Determining a circuit disconnection time matching the abnormality type; According to the circuit disconnection time, a target element of the target circuit is disconnected for the circuit disconnection time to protect the target circuit.
7. The circuit protection method according to claim 1, characterized in that: The target circuit includes an iron core mutual inductor, and the current in the target circuit is amplified with different amplification factors to obtain currents with multiple different amplification factors, including: The current in the core mutual inductor is amplified with different amplification factors to obtain currents with multiple different amplification factors.
8. A circuit protection device, characterized in that: The device comprises: An amplification module, used to amplify the current in the target circuit with different amplification factors to obtain currents with multiple different amplification factors; A sampling module, used for sampling the currents of the different amplification factors to obtain a plurality of sampling currents of different amplification factors; An analysis module, used for analyzing each of the sampled currents to determine whether the target circuit is abnormal; A determination module, used to determine the abnormal type of the target circuit if the target circuit is abnormal, and also used to determine the peak value of the sampled current; determine the abnormal type of the target circuit according to the number of peak values of the sampled current that are greater than or equal to the corresponding peak value threshold; The protection module is used to determine a circuit protection strategy that matches the abnormality type and reduces the current of the target circuit or disconnects the target circuit to protect the target circuit.
9. A terminal device, characterized in that: The terminal device includes a target circuit as described in any one of claims 1 to 7, a processor, a memory, and a computer program stored in the memory and executable on the processor, and the processor executes the computer program to implement the steps in the circuit protection method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the steps in the circuit protection method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Overcurrent protection method and overcurrent protection circuit for direct current frequency conversion driver
CN105514938A
Three-level ANPC topology wave-by-wave current limiting method based on FPGA
CN115940608A