Circuit protection method and device, electronic equipment and readable medium
By introducing complex programmable logic devices into electronic fuses, dynamically adjusting protection delays and thresholds, and distinguishing current types, the problem of false triggering caused by fixed thresholds is solved, and more accurate and timely circuit protection is achieved.
Patent Information
- Application Number
- CN202410545254.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-30
- Publication Date
- 2024-08-27
AI Technical Summary
Fixed current threshold and temperature threshold settings in electronic fuses can lead to false triggering or improper protection, resulting in unexpected equipment shutdown or board burnout.
A circuit protection system including electronic fuses and complex programmable logic devices is used to dynamically adjust the protection delay time and intensity threshold by obtaining the current intensity and change rate to distinguish overcurrent and short-circuit current and take corresponding protection measures.
It improves the accuracy and effectiveness of circuit protection, avoids the risk of machine downtime caused by excessive or untimely protection, and ensures the safety of the circuit.
Smart Images

Figure CN118554382A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of circuit technology, and in particular to a circuit protection method, a circuit protection device, an electronic device and a computer-readable medium. Background Art
[0002] Electronic products are usually composed of multiple integrated boards. In order to ensure the normal power supply between boards, Efuse (Electronic fuse) is widely used in board design to protect the circuit. Efuse can quickly cut off the power supply when the current in the device exceeds the preset current threshold or the temperature of the device exceeds the preset temperature threshold to protect the safety of other components in the circuit.
[0003] However, due to the diversity of load current, fixed current threshold and temperature threshold settings may cause Efuse to be falsely triggered or improperly protected, causing unexpected equipment shutdown. In order to reduce the risk of false triggering, Efuse can set a fixed protection delay time. When the current in the device exceeds the current threshold or the temperature of the device exceeds the temperature threshold, Efuse will not cut off the power immediately, but wait. If the current in the device continues to exceed the current threshold or the temperature of the device continues to exceed the temperature threshold during the protection delay time, Efuse will quickly cut off the power supply at the end of the protection delay time. However, due to the uncertainty of load current changes in actual applications, this fixed threshold and protection delay setting often leads to protection measures that are not timely enough or are too strict, causing the board to crash, and even in extreme cases, may cause the board to burn out. Summary of the invention
[0004] The embodiments of the present invention provide a circuit protection method, device, electronic device and computer-readable storage medium to solve the problem that fixed threshold and protection delay settings often lead to protection measures that are not timely enough or are too strict, thereby causing board downtime and even in extreme cases, the board may be burned.
[0005] An embodiment of the present invention discloses a circuit protection method, which is applied to a circuit protection system. The circuit protection system includes at least an electronic fuse and a complex programmable logic device. The electronic fuse is connected to the complex programmable logic device. The method includes:
[0006] Obtaining the current intensity and the rate of change of the current intensity in a preset circuit;
[0007] If the current intensity exceeds the preset normal intensity threshold, determining whether the current intensity change rate is greater than the preset current intensity change rate threshold;
[0008] If the current intensity change rate is not greater than the current intensity change rate threshold, determining that the current in the circuit is an overcurrent, and adjusting the preset protection delay time of the electronic fuse to a target protection delay time;
[0009] Using an electronic fuse corresponding to the target protection delay time to protect the circuit;
[0010] If the current intensity change rate is greater than the current intensity change rate threshold, the current in the circuit is determined to be a short-circuit current, and the electronic fuse is controlled by the complex programmable logic device to protect the circuit.
[0011] Optionally, the electronic fuse includes a pin; the circuit protection system also includes a signal amplification circuit, a low-pass filter circuit, an analog-to-digital conversion sampling circuit and a sampling clock system; the step of obtaining the current intensity and the current intensity change rate in the preset circuit includes:
[0012] Controlling the electronic fuse to collect a current signal of the current flowing through the pin, and sending the current signal to the signal amplifying circuit;
[0013] Controlling the signal amplifying circuit to enhance the strength of the current signal, and sending the enhanced current signal to the low-pass filtering circuit;
[0014] Controlling the low-pass filter circuit to remove noise from the current signal with enhanced strength, and sending the current signal with noise removed to the analog-to-digital conversion sampling circuit;
[0015] Controlling the analog-to-digital conversion sampling circuit to sample the current signal from which the noise has been removed at a preset time interval to obtain a sampled current signal, and obtaining the sampling time of the analog-to-digital conversion sampling circuit through the sampling clock system;
[0016] The analog-to-digital conversion sampling circuit is controlled to convert the sampled current signal into a digital signal, and based on the digital signal and the sampling time, the current intensity and the current intensity change rate in the circuit are obtained.
[0017] Optionally, the step of adjusting the preset protection delay time of the electronic fuse to a target protection delay time comprises:
[0018] A configuration capacitor and a capacitance switch with a preset capacitance value connected in series with the electronic fuse are configured for the electronic fuse; the capacitance switch is connected to the complex programmable logic device;
[0019] By controlling the complex programmable logic device to turn on the capacitive switch, the preset protection delay time of the electronic fuse is increased to the target protection delay time.
[0020] Optionally, if the current intensity exceeds a preset normal intensity threshold, the step of determining whether the current intensity change rate is greater than a preset current intensity change rate threshold comprises:
[0021] If the current intensity does not exceed the normal intensity threshold, determining that the current in the circuit is a normal current;
[0022] A configuration resistor and a resistance switch with a preset resistance value connected in series with the electronic fuse are configured for the electronic fuse; the resistance switch is connected to the complex programmable logic device;
[0023] By controlling the complex programmable logic device to turn on the resistance switch, the preset protection strength threshold of the electronic fuse is increased to a target protection strength threshold.
[0024] Optionally, the step of adjusting the preset protection delay time of the electronic fuse to a target protection delay time comprises:
[0025] Control the complex programmable logic device to send a delayed pulse signal to the electronic fuse; the delayed pulse signal includes a high-level signal and a low-level signal; the high-level signal switches to the low-level signal after continuing for the target protection delay time; when the high-level signal switches to the low-level signal, the electronic fuse protects the circuit by cutting off the circuit.
[0026] Optionally, if the current intensity change rate is greater than the current intensity change rate threshold, determining that the current in the circuit is a short-circuit current, and controlling the electronic fuse to protect the circuit through the complex programmable logic device includes:
[0027] If the current intensity change rate is greater than the current intensity change rate threshold, the complex programmable logic device is controlled to send a cut-off pulse signal to the electronic fuse; the high-level signal of the cut-off pulse signal is switched to the low-level signal of the cut-off pulse signal after continuing for the protection delay time of the cut-off pulse signal; the protection delay time of the cut-off pulse signal is less than the preset time threshold.
[0028] Optionally, the method comprises:
[0029] If the current in the circuit is the overcurrent and the current intensity is a preset multiple of the target protection intensity threshold, controlling the complex programmable logic device to send the cut-off pulse signal to the electronic fuse;
[0030] If the duration of the overcurrent in the circuit reaches a preset duration, the complex programmable logic device is controlled to send the cut-off pulse signal to the electronic fuse.
[0031] The embodiment of the present invention further discloses a circuit protection device, which is applied to a circuit protection system. The circuit protection system includes at least an electronic fuse and a complex programmable logic device. The electronic fuse is connected to the complex programmable logic device. The device includes:
[0032] An acquisition module, used to acquire the current intensity and the current intensity change rate in a preset circuit;
[0033] A current intensity change rate judgment module, used for judging whether the current intensity change rate is greater than a preset current intensity change rate threshold value if the current intensity exceeds a preset normal intensity threshold value;
[0034] an overcurrent determination module, configured to determine that the current in the circuit is an overcurrent if the current intensity change rate is not greater than the current intensity change rate threshold, and adjust the preset protection delay time of the electronic fuse to a target protection delay time;
[0035] A circuit protection module, used to protect the circuit using an electronic fuse corresponding to the target protection delay time;
[0036] The short-circuit current determination module is used to determine that the current in the circuit is a short-circuit current if the current intensity change rate is greater than the current intensity change rate threshold, and control the electronic fuse to protect the circuit through the complex programmable logic device.
[0037] Optionally, the electronic fuse includes a pin; the circuit protection system further includes a signal amplification circuit, a low-pass filter circuit, an analog-to-digital conversion sampling circuit and a sampling clock system; the acquisition module includes:
[0038] A collection submodule, used for controlling the electronic fuse to collect a current signal of the current flowing through the pin, and sending the current signal to the signal amplification circuit;
[0039] A current signal sending submodule with enhanced strength, used for controlling the signal amplification circuit to enhance the strength of the current signal, and sending the current signal with enhanced strength to the low-pass filtering circuit;
[0040] A noise-removed current signal sending submodule, used for controlling the low-pass filtering circuit to remove noise from the current signal with enhanced strength, and sending the noise-removed current signal to the analog-to-digital conversion sampling circuit;
[0041] A sampling submodule, used for controlling the analog-to-digital conversion sampling circuit to sample the current signal from which the noise has been removed at a preset time interval to obtain a sampled current signal, and obtaining a sampling time of the analog-to-digital conversion sampling circuit through the sampling clock system;
[0042] The acquisition submodule is used to control the analog-to-digital conversion sampling circuit to convert the sampled current signal into a digital signal, and based on the digital signal and the sampling time, to acquire the current intensity and the current intensity change rate in the circuit.
[0043] Optionally, the overcurrent determination module includes:
[0044] A configuration submodule, used to configure a configuration capacitor and a capacitance switch of a preset capacitance value connected in series with the electronic fuse for the electronic fuse; the capacitance switch is connected to the complex programmable logic device;
[0045] The capacitor switch activation submodule is used to control the complex programmable logic device to activate the capacitor switch, thereby increasing the preset protection delay time of the electronic fuse to the target protection delay time.
[0046] Optionally, the device comprises:
[0047] a normal current determination module, configured to determine that the current in the circuit is a normal current if the current intensity does not exceed the normal intensity threshold;
[0048] A configuration module, used for configuring a configuration resistor and a resistance switch of a preset resistance value connected in series with the electronic fuse for the electronic fuse; the resistance switch is connected to the complex programmable logic device;
[0049] The protection strength threshold increasing module is used to increase the preset protection strength threshold of the electronic fuse to a target protection strength threshold by controlling the complex programmable logic device to turn on the resistance switch.
[0050] Optionally, the overcurrent determination module includes:
[0051] A delayed pulse signal sending submodule is used to control the complex programmable logic device to send a delayed pulse signal to the electronic fuse; the delayed pulse signal includes a high-level signal and a low-level signal; the high-level signal switches to the low-level signal after continuing for the target protection delay time; when the high-level signal switches to the low-level signal, the electronic fuse protects the circuit by cutting off the circuit.
[0052] Optionally, the short-circuit current determination module includes:
[0053] A cut-off pulse signal sending submodule is used to control the complex programmable logic device to send a cut-off pulse signal to the electronic fuse if the current intensity change rate is greater than the current intensity change rate threshold; the high-level signal of the cut-off pulse signal is switched to the low-level signal of the cut-off pulse signal after continuing for the protection delay time of the cut-off pulse signal; the protection delay time of the cut-off pulse signal is less than the preset time threshold.
[0054] Optionally, the device comprises:
[0055] A first cut-off pulse signal sending module, configured to control the complex programmable logic device to send the cut-off pulse signal to the electronic fuse if the current in the circuit is the overcurrent and the current intensity is a preset multiple of the target protection intensity threshold;
[0056] The second cut-off pulse signal sending module is used to control the complex programmable logic device to send the cut-off pulse signal to the electronic fuse if the duration of the current in the circuit being the overcurrent reaches a preset duration.
[0057] The embodiment of the present invention further discloses an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
[0058] The memory is used to store computer programs;
[0059] The processor is used to implement the method described in the embodiment of the present invention when executing the program stored in the memory.
[0060] The embodiment of the present invention further discloses one or more computer-readable media on which instructions are stored. When executed by one or more processors, the processors are enabled to execute the method described in the embodiment of the present invention.
[0061] The embodiments of the present invention include the following advantages:
[0062] In an embodiment of the present invention, the circuit protection system includes at least an electronic fuse and a complex programmable logic device, and the complex programmable logic device is connected to the electronic fuse. The current intensity and the current intensity change rate in the preset circuit are obtained. If the current intensity exceeds the preset normal intensity threshold, it is determined whether the current intensity change rate is greater than the preset current intensity change rate threshold. If the current intensity change rate is not greater than the current intensity change rate threshold, it is determined that the current in the circuit is an overcurrent current, and the preset protection delay time of the electronic fuse is adjusted to the target protection delay time, and the electronic fuse protection circuit corresponding to the target protection delay time is used. If the current intensity change rate is greater than the current intensity change rate threshold, it is determined that the current in the circuit is a short-circuit current, and the electronic fuse protection circuit is controlled by a complex programmable logic device, and different methods are used to protect the circuit based on different current types, so that the protection of the circuit is more accurate and effective. Adjusting the preset protection delay time of the electronic fuse to the target protection delay time reduces the problem of overprotection, and controlling the electronic fuse protection circuit by a complex programmable logic device avoids the risk of machine downtime caused by untimely protection, making the protection function more timely and efficient, and ensuring circuit safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] Figure 1 is a flow chart of steps of a circuit protection method provided in an embodiment of the present invention;
[0064] Figure 2 is a schematic diagram of an ADC chip provided by an embodiment of the present invention;
[0065] Figure 3 is a schematic diagram of a circuit protection system provided by an embodiment of the present invention;
[0066] Figure 4 is a flowchart of another circuit protection method provided in an embodiment of the present invention;
[0067] Figure 5 is a structural block diagram of a circuit protection device provided in an embodiment of the present invention;
[0068] Figure 6 is a structural block diagram of another circuit protection device provided by an embodiment of the present invention;
[0069] Figure 7 is a block diagram of an electronic device provided in an embodiment of the present invention;
[0070] Figure 8 is a schematic diagram of a computer-readable medium provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0071] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0072] To facilitate understanding of the technical solutions and technical effects of the embodiments of the present invention, the prior art of the present invention is briefly described below.
[0073] With the advancement of hardware technology for boards such as servers, switches, and network cards, modern electronic products are usually composed of multiple integrated boards, and these boards or modules often need to communicate with each other through power supplies. In order to ensure the normal power supply between boards and reduce fault conduction, Efuse (Electronic fuse) is widely used in board design to protect circuits. In the event of current overload or temperature abnormality, that is, when the current in the device exceeds the preset current threshold or the temperature of the device exceeds the preset temperature threshold, Efuse can quickly cut off the power supply to protect the safety of other components in the circuit. However, due to the diversity of load current, fixed current threshold and temperature threshold settings may cause Efuse to be triggered incorrectly or improperly protected, causing unexpected equipment shutdown.
[0074] In order to reduce the risk of false triggering, Efuse usually presets a fixed protection delay time at the factory, or allows users to set a fixed protection delay time. When the current in the device exceeds the current threshold or the temperature of the device exceeds the temperature threshold, Efuse will not cut off the power immediately, but wait. If the current in the device continues to exceed the current threshold or the temperature of the device continues to exceed the temperature threshold during the protection delay time, Efuse will quickly cut off the power supply at the end of the protection delay time. However, due to the uncertainty of load current changes in actual applications, this fixed threshold and protection delay setting often leads to protection measures that are not timely enough or are too strict, causing the board to crash, and even in extreme cases, may cause the board to burn out.
[0075] Reference Figure 1 , shows a flow chart of the steps of a circuit protection method provided in an embodiment of the present invention, which is applied to a circuit protection system, wherein the circuit protection system at least includes an electronic fuse and a complex programmable logic device, wherein the electronic fuse is connected to the complex programmable logic device, and specifically may include the following steps:
[0076] Step 101, obtaining the current intensity and the current intensity change rate in a preset circuit;
[0077] In an embodiment of the present invention, the circuit protection system includes at least an electronic fuse and a complex programmable logic device (CPLD). The electronic fuse can be connected to the complex programmable logic device. The circuit protection system can also include an ADC chip (Analog-to-Digital Converter chip), which is an integrated circuit used to convert an analog current signal into a digital signal.
[0078] In the embodiment of the present invention, the circuit protection system can use the ADC chip to collect the current signal of the current flowing through the electronic fuse, and obtain the current intensity and the current intensity change rate in the circuit based on the current signal.
[0079] Step 102, if the current intensity exceeds the preset normal intensity threshold, determining whether the current intensity change rate is greater than the preset current intensity change rate threshold;
[0080] In an embodiment of the present invention, the electronic fuse is provided with a protection strength threshold and a protection delay time. If the current intensity exceeds the protection strength threshold, and the duration of the current intensity exceeding the protection strength threshold reaches the protection delay time, the electronic fuse can cut off the circuit to protect the circuit. The protection strength threshold of the electronic fuse is also called the overcurrent protection (OCP) threshold.
[0081] In an embodiment of the present invention, after the circuit protection system obtains the current intensity and the current intensity change rate in the circuit through the ADC chip, the circuit protection system can determine whether the current intensity in the circuit exceeds the normal intensity threshold. When the circuit is operating normally, the current in the circuit is in a stable state, and the current intensity in this stable state is called the normal current intensity. The normal intensity threshold is the maximum current intensity at which the circuit can operate safely. If the current intensity exceeds the normal intensity threshold, it means that the circuit has a fault or is overloaded, and the electronic fuse or complex programmable logic device will be triggered to prevent further damage.
[0082] In an embodiment of the present invention, if the protection strength threshold and protection delay duration of the electronic fuse allow the user to adjust the protection strength threshold and protection delay duration of the electronic fuse, the protection strength threshold and protection delay duration of the electronic fuse can be adjusted to the maximum protection strength threshold and maximum protection delay duration allowed by the electronic fuse, respectively, and the maximum protection strength threshold and maximum protection delay duration are used as the preset protection strength threshold and preset protection delay duration of the electronic fuse, respectively. If the current intensity exceeds the maximum protection strength threshold, and the duration for which the current intensity exceeds the maximum protection strength threshold reaches the maximum protection delay duration, the electronic fuse can cut off the circuit to protect the circuit.
[0083] If the current intensity does not exceed the normal intensity threshold, the circuit protection system determines that the current in the circuit is normal current, and the circuit protection system can adjust the preset protection intensity threshold of the electronic fuse to the target protection intensity threshold. Specifically, the target protection intensity threshold can be 1.2 times, 1.3 times, and 1.4 times the normal current intensity, etc., and the present invention is not limited to this.
[0084] If the current intensity exceeds the normal intensity threshold, the circuit protection system determines that the current in the circuit is an abnormal current, and determines whether the current intensity change rate is greater than a preset current intensity change rate threshold to determine whether the current in the circuit is an overcurrent or a short circuit current. The current intensity change rate threshold may be 10A / us (ampere / microsecond).
[0085] Step 103, if the current intensity change rate is not greater than the current intensity change rate threshold, determining that the current in the circuit is an overcurrent, and adjusting the preset protection delay time of the electronic fuse to a target protection delay time;
[0086] In an embodiment of the present invention, if the current intensity change rate is not greater than the current intensity change rate threshold, the circuit protection system determines that the current in the circuit is an overcurrent.
[0087] The circuit protection system can adjust the protection delay time of the electronic fuse to a target protection delay time, and the target protection delay time can be determined based on the current intensity and / or the duration of the current in the circuit being an overcurrent. The target protection delay time can be 100us (microseconds), 200us, 300us, 400us, etc., and the present invention does not limit this.
[0088] Step 104, using an electronic fuse corresponding to the target protection delay time to protect the circuit;
[0089] In an embodiment of the present invention, if the current in the circuit is an overcurrent, the circuit protection system can adjust the protection delay time of the electronic fuse to the target protection delay time. Then, the electronic fuse corresponding to the target protection delay time is used to protect the circuit. If the current intensity exceeds the target protection intensity threshold, and the duration that the current intensity exceeds the target protection intensity threshold reaches the target protection delay time, the electronic fuse can cut off the circuit to protect the circuit. The target protection intensity threshold is obtained by the circuit protection system determining that the current in the circuit is a normal current and adjusting the preset protection intensity threshold of the electronic fuse.
[0090] Step 105: If the current intensity change rate is greater than the current intensity change rate threshold, it is determined that the current in the circuit is a short-circuit current, and the electronic fuse is controlled by the complex programmable logic device to protect the circuit.
[0091] In an embodiment of the present invention, if the rate of change of the current intensity is greater than the threshold value of the rate of change of the current intensity, the circuit protection system determines that the current in the circuit is a short-circuit current, and the circuit protection system can control the electronic fuse to protect the circuit through a complex programmable logic device. Specifically, the complex programmable logic device is connected to the electronic fuse. The complex programmable logic device can send a pulse signal to the electronic fuse, and the pulse signal is used to control the electronic fuse to cut off the circuit to protect the circuit.
[0092] In an embodiment of the present invention, the circuit protection system includes at least an electronic fuse and a complex programmable logic device, and the complex programmable logic device is connected to the electronic fuse. The current intensity and the current intensity change rate in the preset circuit are obtained. If the current intensity exceeds the preset normal intensity threshold, it is determined whether the current intensity change rate is greater than the preset current intensity change rate threshold. If the current intensity change rate is not greater than the current intensity change rate threshold, it is determined that the current in the circuit is an overcurrent current, and the preset protection delay time of the electronic fuse is adjusted to the target protection delay time, and the electronic fuse protection circuit corresponding to the target protection delay time is used. If the current intensity change rate is greater than the current intensity change rate threshold, it is determined that the current in the circuit is a short-circuit current, and the electronic fuse protection circuit is controlled by a complex programmable logic device, and different methods are used to protect the circuit based on different current types, so that the protection of the circuit is more accurate and effective. Adjusting the preset protection delay time of the electronic fuse to the target protection delay time reduces the problem of overprotection, and controlling the electronic fuse protection circuit by a complex programmable logic device avoids the risk of machine downtime caused by untimely protection, making the protection function more timely and efficient, and ensuring circuit safety.
[0093] Further, in any of the above embodiments, the electronic fuse includes a pin; the circuit protection system also includes a signal amplification circuit, a low-pass filter circuit, an analog-to-digital conversion sampling circuit and a sampling clock system; step 101 includes:
[0094] Sub-step S11, controlling the electronic fuse to collect a current signal of the current flowing through the pin, and sending the current signal to the signal amplifying circuit;
[0095] Sub-step S12, controlling the signal amplifying circuit to enhance the strength of the current signal, and sending the enhanced current signal to the low-pass filtering circuit;
[0096] Sub-step S13, controlling the low-pass filter circuit to remove noise from the current signal with enhanced strength, and sending the current signal with noise removed to the analog-to-digital conversion sampling circuit;
[0097] Sub-step S14, controlling the analog-to-digital conversion sampling circuit to sample the current signal from which the noise has been removed at a preset time interval to obtain a sampled current signal, and obtaining the sampling time of the analog-to-digital conversion sampling circuit through the sampling clock system;
[0098] Sub-step S15, controlling the analog-to-digital conversion sampling circuit to convert the sampled current signal into a digital signal, and acquiring the current intensity and the current intensity change rate in the circuit based on the digital signal and the sampling time.
[0099] In an embodiment of the present invention, the circuit protection system may include an ADC chip, and the electronic fuse may include an OCREF (Over Current Reference) pin. The ADC chip is an integrated circuit for converting an analog current signal into a digital signal. The ADC chip may include a signal amplification circuit, a low-pass filter circuit, an ADC sampling circuit (analog-to-digital conversion sampling circuit), a sampling clock system, and a signal transmission circuit.
[0100] The circuit protection system can control the electronic fuse to collect the current signal of the current flowing through the OCREF pin, and send the current signal to the signal amplification circuit. The circuit protection system controls the signal amplification circuit to enhance the strength of the current signal, and sends the enhanced current signal to the low-pass filter circuit. Then, the circuit protection system controls the low-pass filter circuit to remove the noise in the enhanced current signal, and sends the noise-removed current signal to the analog-to-digital conversion sampling circuit. Among them, the noise refers to the high-frequency noise and interference in the current signal. High-frequency noise and interference may affect the resolution of the analog-to-digital conversion sampling circuit, thereby affecting the conversion accuracy of the analog-to-digital conversion sampling circuit to convert the current signal into a digital signal. By removing these noises through the low-pass filter circuit, the effective resolution of the analog-to-digital conversion sampling circuit can be improved. At the same time, the sampling frequency of the analog-to-digital conversion sampling circuit must be at least twice the highest frequency component of the current signal. If the current signal contains a frequency component higher than half the sampling frequency of the analog-to-digital conversion sampling circuit, aliasing will occur, resulting in signal distortion. The low-pass filter circuit can limit the bandwidth of the current signal to ensure that the high-frequency components in the current signal are removed before sampling, thereby avoiding aliasing.
[0101] The circuit protection system can control the analog-to-digital conversion sampling circuit to sample the noise-removed current signal at a preset time interval, that is, a preset sampling frequency, to obtain a sampled current signal, and obtain the sampling time of the analog-to-digital conversion sampling circuit through a sampling clock system. The circuit protection system can control the analog-to-digital conversion sampling circuit to convert the sampled current signal into a digital signal, and obtain the current intensity and the rate of change of the current intensity in the circuit based on the digital signal and the sampling time. The analog-to-digital conversion sampling circuit can transmit the current intensity and the rate of change of the current intensity to the circuit protection system through a signal transmission circuit.
[0102] Specifically, the analog-to-digital conversion sampling circuit converts the sampled current signal into a digital signal, and based on the digital signal and the sampling time, obtains the current intensity and the current intensity change rate in the circuit. The specific steps are as follows:
[0103] First, the sampled current signal is converted into a voltage signal. This is usually achieved by connecting a known sampling resistor in series in the circuit. The voltage drop generated by the current passing through the sampling resistor is sampled by the analog-to-digital conversion sampling circuit. The analog-to-digital conversion sampling circuit can sample and quantize the voltage signal and convert it into a digital signal. This digital signal represents the voltage value at the sampling moment.
[0104] After the digitized voltage signal is acquired, digital signal processing can be performed to calculate the current intensity and the rate of change of the current intensity.
[0105] Calculating the current intensity: Using the digital output value of the analog-to-digital conversion sampling circuit and the known value of the sampling resistor, the current intensity can be calculated using the following formula:
[0106]
[0107] Among them, ADC 数字输出 It is the digital output value of the analog-to-digital conversion sampling circuit, ADC 量程 is the maximum range of the analog-to-digital conversion sampling circuit (usually the reference voltage), R shunt is the resistance value of the sampling resistor.
[0108] Calculate the rate of change of current intensity: To calculate the rate of change of current intensity, the current intensity can be sampled at consecutive time points and the difference between them can be calculated. The rate of change can be calculated using the following formula:
[0109]
[0110] Among them, I t and I t-1 is at time t t and t t-1 The measured current intensity.
[0111] Reference Figure 2 , showing a schematic diagram of an ADC chip provided in an embodiment of the present invention.
[0112] The ADC chip includes a signal amplification circuit, a low-pass filter circuit, an ADC sampling circuit, a sampling clock system, and a signal transmission circuit. The signal amplification circuit is used to enhance the strength of the current signal, the low-pass filter circuit is used to remove high-frequency noise and interference in the current signal with enhanced strength, and the analog-to-digital conversion sampling circuit is used to sample the current signal with noise removed at a preset time interval to obtain a sampled current signal. The sampling clock system is used to provide the analog-to-digital conversion sampling circuit with a sampling time of the analog-to-digital conversion sampling circuit. The analog-to-digital conversion sampling circuit is also used to convert the sampled current signal into a digital signal, and based on the digital signal and the sampling time, obtain the current intensity and the current intensity change rate in the circuit. The analog-to-digital conversion sampling circuit is used to transmit the current intensity and the current intensity change rate to the circuit protection system through the signal transmission circuit.
[0113] In an embodiment of the present invention, an electronic fuse is controlled to collect a current signal of a current flowing through a pin, and the current signal is sent to a signal amplifying circuit; the signal amplifying circuit is controlled to enhance the strength of the current signal, and the current signal with enhanced strength is sent to a low-pass filtering circuit; the low-pass filtering circuit is controlled to remove noise from the current signal with enhanced strength, and the current signal with noise removed is sent to an analog-to-digital conversion sampling circuit; the analog-to-digital conversion sampling circuit is controlled to sample the current signal with noise removed at a preset time interval to obtain a sampled current signal, and the sampling time of the analog-to-digital conversion sampling circuit is obtained through a sampling clock system; the analog-to-digital conversion sampling circuit is controlled to convert the sampled current signal into a digital signal, and based on the digital signal and the sampling time, the current strength and the current strength change rate in the circuit are obtained, thereby achieving the acquisition of the current strength and the current strength change rate in the circuit, and laying a foundation for judging the current type in the circuit and protecting the circuit using a protection method corresponding to the current type.
[0114] Further, in any of the above embodiments, step 103 includes:
[0115] Sub-step S21, configuring a configuration capacitor and a capacitance switch of a preset capacitance value connected in series with the electronic fuse for the electronic fuse; the capacitance switch is connected to the complex programmable logic device;
[0116] Sub-step S22, increasing the preset protection delay time of the electronic fuse to the target protection delay time by controlling the complex programmable logic device to turn on the capacitive switch.
[0117] In an embodiment of the present invention, if the current in the circuit is an overcurrent, the circuit protection system can configure a configuration capacitor and a capacitance switch of a preset capacitance connected in series with the electronic fuse for the electronic fuse. The capacitance switch can be connected to a complex programmable logic device.
[0118] The complex programmable logic device has an I / O (Input / Output) pin. The I / O pin is the interface for the complex programmable logic device to communicate with the capacitor switch. If the I / O pin is configured as 0, the complex programmable logic device can output a low-level signal to control the capacitor switch to be turned off; if the I / O pin is configured as 1, the complex programmable logic device can output a high-level signal to control the capacitor switch to be turned on.
[0119] If the current intensity change rate is not greater than the current intensity change rate threshold, the circuit protection system determines that the current in the circuit is an overcurrent. The circuit protection system can increase the protection delay time of the electronic fuse to a target protection delay time by controlling the complex programmable logic device to turn on the capacitor switch.
[0120] In a specific example, the electronic fuse has an ITIMER pin, which can be used to configure the protection delay time of the electronic fuse. If the current in the circuit is an overcurrent current, and the current intensity is not less than 1.5 times the target protection intensity threshold, the circuit protection system can configure the electronic fuse with a configuration capacitor and a capacitor switch in series with the ITIMER pin of the electronic fuse to adjust the protection delay time of the electronic fuse to 100us. If the current in the circuit is an overcurrent current, and the current intensity is less than 1.5 times the target protection intensity threshold, the circuit protection system can configure the electronic fuse with a configuration capacitor and a capacitor switch in series with the ITIMER pin of the electronic fuse to adjust the protection delay time of the electronic fuse to 200us.
[0121] In an embodiment of the present invention, if the current in the circuit is an overcurrent, the circuit protection system can control the complex programmable logic device to turn on the capacitor switch, thereby increasing the protection delay time of the electronic fuse to the target protection delay time, thereby reducing the problem of excessive protection of the circuit by the electronic fuse.
[0122] Further, in any of the above embodiments, before step 102, the steps include:
[0123] Sub-step S31, if the current intensity does not exceed the normal intensity threshold, determining that the current in the circuit is a normal current;
[0124] Sub-step S32, configuring a configuration resistor and a resistance switch of a preset resistance value connected in series with the electronic fuse for the electronic fuse; the resistance switch is connected to the complex programmable logic device;
[0125] Sub-step S33, controlling the complex programmable logic device to turn on the resistance switch, thereby increasing the preset protection strength threshold of the electronic fuse to a target protection strength threshold.
[0126] In an embodiment of the present invention, if the current intensity does not exceed the normal intensity threshold, it is determined that the current in the circuit is a normal current. If the current in the circuit is a normal current, the circuit protection system can configure a configuration resistor and a resistance switch of a preset resistance value connected in series with the electronic fuse for the electronic fuse, and the resistance switch is connected to the complex programmable logic device.
[0127] In an embodiment of the present invention, the complex programmable logic device has an I / O (Input / Output) pin. The I / O pin is an interface for the complex programmable logic device to communicate with the resistance switch. If the I / O pin is configured as 0, the complex programmable logic device can output a low-level signal to control the resistance switch to be turned off; if the I / O pin is configured as 1, the complex programmable logic device can output a high-level signal to control the resistance switch to be turned on.
[0128] If the current in the circuit is normal, the circuit protection system can control the complex programmable logic device to turn on the resistance switch, thereby increasing the protection strength threshold of the electronic fuse to the target protection strength threshold.
[0129] In a specific example, if the current intensity of 1.3 times the normal current intensity is used as the target protection intensity threshold, the circuit protection system can configure the electronic fuse with a configuration resistor and a resistance switch in series with the OCREF pin of the electronic fuse to adjust the target protection intensity threshold of the electronic fuse to 1.3 times the normal current intensity. Since the resistance values of the configuration resistors are all integers, if the resistance values of the configuration resistors cannot adjust the target protection intensity threshold of the electronic fuse to 1.3 times the normal current intensity, the electronic fuse can be configured with a configuration resistor and a resistance switch in series with the OCREF pin of the electronic fuse to adjust the target protection intensity threshold of the electronic fuse to be greater than and closest to 1.3 times the normal current intensity.
[0130] Reference Figure 3 , showing a schematic diagram of a circuit protection system provided by an embodiment of the present invention.
[0131] The circuit protection system includes a complex programmable logic device (CPLD), an electronic fuse chip, a resistor, a capacitor, and an N-type MOS tube. The N-type MOS tube is the switch in the circuit protection system.
[0132] One end of capacitor C1 is connected to the ITIMER pin of the electronic fuse chip, and the other end is connected to the drain D of N-type MOS tube M1. The source S of M1 is grounded (GND), and its gate G is connected to an I / O pin of CPLD, and the control signal sent by this I / O pin is marked as CPLD_C1. Similarly, one end of capacitor C2 is also connected to the ITIMER pin of the electronic fuse chip, and the other end is connected to the drain D of N-type MOS tube M2. The source S of M2 is grounded, and the gate G is connected to another I / O pin of CPLD, and the corresponding control signal is CPLD_C2.
[0133] The capacitance values of capacitors C1 and C2 are different. When capacitors C1 and C2 are connected in series with the electronic fuse, the protection delay time of the electronic fuse is different. Therefore, the protection delay time can be divided into two levels through the circuit protection system, and the MOS switch is controlled by a complex programmable logic device, so that the ITIMER pin of the EFUSE chip is connected to the ground with capacitors of different capacitance values.
[0134] One end of resistor R1 is connected to the OCREF pin of the electronic fuse chip, and the other end is connected to the drain D of N-type MOS tube M3. The source S of M3 is also grounded, and its gate G is connected to the I / O pin of CPLD, and the corresponding control signal is CPLD_R1. The connection method of resistors R2 and R3 is similar to R1, and they are connected to the drain D of N-type MOS tubes M4 and M5 respectively, the source S is grounded, and the gate G is connected to the I / O pin of CPLD, and the corresponding control signals are CPLD_R2 and CPLD_R3 respectively.
[0135] The resistance values of resistors R1, R2 and R3 are different. When resistors R1, R2 and R3 are connected in series with the electronic fuse, the protection strength thresholds of the electronic fuse are different. Therefore, the protection strength threshold can be set to 3 levels through the circuit protection system, and the MOS switch is controlled by a complex programmable logic device so that the OCREF pin of the EFUSE chip is connected to the ground with resistors of different resistance values.
[0136] The EN (Enable) pin of the electronic fuse chip is also connected to an I / O pin of the CPLD, and the control signal of the pin is defined as CPLD_EFUSE_EN.
[0137] The VIN (Voltage Input) pin and the VOUT (Voltage Output) pin of the electronic fuse chip are connected to EFUSE_VIN and EFUSE_VOUT respectively. EFUSE_VIN is used to receive the voltage input of the external power supply. EFUSE_VOUT is used to output the voltage after the electronic fuse protection.
[0138] Through the above circuit configuration, the complex programmable logic device can set the control signals CPLD_C1, CPLD_C2, CPLD_R1, CPLD_R2, CPLD_R3, and CPLD_EFUSE_EN to "1" or "0" as needed, thereby controlling the opening and closing of the capacitor switch, adjusting the protection delay time of the electronic fuse, or controlling the opening and closing of the resistor switch, and adjusting the protection strength threshold of the electronic fuse. In addition, the complex programmable logic device can also send a control signal CPLD_EFUSE_EN to the electronic fuse to control the electronic fuse to disconnect the circuit to protect the circuit.
[0139] In an embodiment of the present invention, if the current in the circuit is normal, the circuit protection system can control the complex programmable logic device to turn on the resistance switch, thereby increasing the protection strength threshold of the electronic fuse to the target protection strength threshold, thereby reducing the problem of excessive protection of the circuit by the electronic fuse.
[0140] Further, in any of the above embodiments, step 103 includes:
[0141] Sub-step S41, controlling the complex programmable logic device to send a delayed pulse signal to the electronic fuse; the delayed pulse signal includes a high-level signal and a low-level signal; the high-level signal switches to the low-level signal after continuing for the target protection delay time; when the high-level signal switches to the low-level signal, the electronic fuse protects the circuit by cutting off the circuit.
[0142] In the embodiment of the present invention, the chip of the electronic fuse may be set with a fixed protection delay time, and the user is not allowed to adjust it. The chip of the electronic fuse may include an EN pin.
[0143] If the rate of change of the current intensity is not greater than the threshold value of the rate of change of the current intensity, the circuit protection system determines that the current in the circuit is an overcurrent. The circuit protection system can control the complex programmable logic device to send a delay pulse signal to the EN pin of the electronic fuse. The delay pulse signal can include a high-level signal and a low-level signal. The high-level signal can be switched to a low-level signal after continuing the target protection delay time. When the high-level signal is switched to a low-level signal, the electronic fuse can protect the circuit by cutting off the circuit, thereby adjusting the protection delay time of the electronic fuse.
[0144] In an embodiment of the present invention, if a fixed protection delay time is set for the chip of the electronic fuse and the user is not allowed to adjust it by himself, the complex programmable logic device can be controlled to send a delay pulse signal to the EN pin of the electronic fuse to adjust the protection delay time of the electronic fuse to the target protection delay time, thereby reducing the problem of excessive protection of the circuit by the electronic fuse.
[0145] Further, in any of the above embodiments, step 105 includes:
[0146] Sub-step S51, if the current intensity change rate is greater than the current intensity change rate threshold, control the complex programmable logic device to send a cut-off pulse signal to the electronic fuse; the high-level signal of the cut-off pulse signal switches to the low-level signal of the cut-off pulse signal after continuing for the protection delay time of the cut-off pulse signal; the protection delay time of the cut-off pulse signal is less than the preset time threshold.
[0147] In an embodiment of the present invention, the protection function of the electronic fuse may not respond in time, affecting the safety of the circuit. If the rate of change of the current intensity is greater than the threshold value of the rate of change of the current intensity, the circuit protection system determines that the current in the circuit is a short-circuit current. The circuit protection system can control the complex programmable logic device to send a cut-off pulse signal to the EN pin of the electronic fuse. The cut-off pulse signal may include a high-level signal and a low-level signal. The high-level signal can be switched to a low-level signal after a continuous protection delay time. When the high-level signal is switched to a low-level signal, the electronic fuse can protect the circuit by cutting off the circuit. The protection delay time of the cut-off pulse signal is less than the preset time threshold, that is, the protection delay time of the cut-off pulse signal is very short, which shows that after the circuit protection system determines that the current in the circuit is a short-circuit current, the electronic fuse can immediately cut off the circuit to protect the circuit.
[0148] In an embodiment of the present invention, if the current in the circuit is a short-circuit current, the circuit protection system can control the complex programmable logic device to send a cut-off pulse signal to the EN pin of the electronic fuse to control the electronic fuse to immediately cut off the circuit to protect the circuit, thereby avoiding the risk of machine downtime caused by untimely protection of the electronic fuse.
[0149] Furthermore, in any of the above embodiments, the method includes:
[0150] Sub-step S61, if the current in the circuit is the overcurrent and the current intensity is a preset multiple of the target protection intensity threshold, controlling the complex programmable logic device to send the cut-off pulse signal to the electronic fuse;
[0151] Sub-step S62, if the duration of the current in the circuit being the overcurrent reaches a preset duration, controlling the complex programmable logic device to send the cut-off pulse signal to the electronic fuse.
[0152] In an embodiment of the present invention, if the current in the circuit is an overcurrent and the current intensity is a preset multiple of the target protection intensity threshold, regardless of whether the electronic fuse protects the circuit, the circuit protection system can control the complex programmable logic device to send a cut-off pulse signal to the electronic fuse. If the duration of the current in the circuit being an overcurrent reaches a preset duration, regardless of whether the electronic fuse protects the circuit, the circuit protection system can control the complex programmable logic device to send a cut-off pulse signal to the electronic fuse. The preset multiple can be 2 times, and the preset duration can be 200us.
[0153] It should be noted that the protection delay time of cutting off the pulse signal is less than the preset time threshold, that is, the protection delay time of cutting off the pulse signal is very short, which indicates that when the current in the circuit is an overcurrent and the current intensity is a preset multiple of the target protection intensity threshold, the electronic fuse can immediately cut off the circuit to protect the circuit; when the duration of the current in the circuit being an overcurrent reaches the preset duration, the electronic fuse can immediately cut off the circuit to protect the circuit.
[0154] In an embodiment of the present invention, the circuit protection system may further include a fault indicator light to alarm a fault in the circuit. The circuit protection system may determine that the current in the circuit is normal based on the current intensity in the circuit, and send a POWERGOOD signal (hereinafter referred to as a PG signal) to a logic control unit in the circuit protection system. The POWERGOOD signal is used to indicate that the circuit is operating normally.
[0155] When the current in the circuit is a fault current such as an overcurrent or a short-circuit current, and the electronic fuse cuts off the circuit to protect the circuit, the circuit protection system can reduce the level of the POWERGOOD signal sent to the logic control unit. After obtaining the low-level signal of the power status, the logic control unit controls the fault indicator light to emit an alarm.
[0156] The circuit protection system also includes an upper management system, which can also obtain fault current information through the I2C bus protocol, including the strength, rate, and fault time of the fault current, and back it up for staff to perform fault location analysis.
[0157] In an embodiment of the present invention, if the current in the circuit is an overcurrent and the current intensity is a preset multiple of the target protection intensity threshold, and if the duration of the current in the circuit being an overcurrent reaches a preset duration, the circuit protection system can control the complex programmable logic device to send a cut-off pulse signal to the EN pin of the electronic fuse to control the electronic fuse to immediately cut off the circuit to protect the circuit, thereby avoiding the risk of machine downtime caused by untimely protection of the electronic fuse.
[0158] Reference Figure 4, shows a step flow chart of another circuit protection method provided in an embodiment of the present invention.
[0159] Step 401, start.
[0160] Step 402, setting an initial value of a circuit protection threshold.
[0161] If the current intensity in the circuit does not exceed the normal intensity threshold, the current in the circuit is determined to be a normal current; a configuration resistor and a resistance switch with a preset resistance value connected in series with the electronic fuse are configured for the electronic fuse; the resistance switch is connected to a complex programmable logic device; and the preset protection intensity threshold of the electronic fuse is increased to a target protection intensity threshold by controlling the complex programmable logic device to turn on the resistance switch.
[0162] Step 403: power supply current data collection.
[0163] The circuit protection system controls the electronic fuse to collect a current signal of the current flowing through the pin.
[0164] Step 404: Process and analyze the power supply current data.
[0165] The circuit protection system sends the current signal to the signal amplification circuit; controls the signal amplification circuit to enhance the strength of the current signal, and sends the enhanced current signal to the low-pass filtering circuit; controls the low-pass filtering circuit to remove noise from the enhanced current signal, and sends the noise-removed current signal to the analog-to-digital conversion sampling circuit; controls the analog-to-digital conversion sampling circuit to sample the noise-removed current signal at a preset time interval to obtain a sampled current signal, and obtains the sampling time of the analog-to-digital conversion sampling circuit through the sampling clock system; controls the analog-to-digital conversion sampling circuit to convert the sampled current signal into a digital signal, and obtains the current strength and the current strength change rate in the circuit based on the digital signal and the sampling time.
[0166] Step 405: Fault current category identification.
[0167] If the current intensity exceeds the preset normal intensity threshold, it is determined whether the current intensity change rate is greater than the preset current intensity change rate threshold. If the current intensity change rate is not greater than the current intensity change rate threshold, it is determined that the current in the circuit is an overcurrent; if the current intensity change rate is greater than the current intensity change rate threshold, it is determined that the current in the circuit is a short-circuit current.
[0168] Step 406: If the fault current type is a short circuit fault, execute step 409. If the fault current type is a non-short circuit current type, execute step 407.
[0169] Step 407: adaptively adjust the protection circuit.
[0170] The circuit protection system configures a capacitor and a capacitor switch of a preset capacitance value connected in series with the electronic fuse for the electronic fuse; the capacitor switch is connected to a complex programmable logic device. By controlling the complex programmable logic device to turn on the capacitor switch, the preset protection delay time of the electronic fuse is increased to the target protection delay time.
[0171] If the current intensity exceeds the target protection intensity threshold, and the duration for which the current intensity exceeds the target protection intensity threshold reaches the target protection delay duration, the electronic fuse may cut off the circuit to protect the circuit.
[0172] Step 408: If the adjustment response is not timely, execute step 409. If the adjustment response is timely, execute step 410.
[0173] Step 409, responding to active control shutdown in advance.
[0174] If the current intensity change rate is greater than the current intensity change rate threshold, the complex programmable logic device is controlled to send a cut-off pulse signal to the electronic fuse; the high-level signal of the cut-off pulse signal is switched to a low-level signal of the cut-off pulse signal after the protection delay time of the cut-off pulse signal continues; the protection delay time of the cut-off pulse signal is less than the preset time threshold.
[0175] If the current in the circuit is an overcurrent and the current intensity is a preset multiple of the target protection intensity threshold, the complex programmable logic device is controlled to send a cut-off pulse signal to the electronic fuse; if the duration of the current in the circuit being an overcurrent reaches a preset duration, the complex programmable logic device is controlled to send a cut-off pulse signal to the electronic fuse.
[0176] Step 410: Fault monitoring sends an external alarm.
[0177] When the current in the circuit is a fault current such as an overcurrent or a short-circuit current, and the electronic fuse cuts off the circuit to protect the circuit, the circuit protection system can reduce the level of the POWERGOOD signal sent to the logic control unit. After obtaining the low-level signal of the power status, the logic control unit controls the fault indicator light to emit an alarm.
[0178] Step 411, end.
[0179] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0180] Reference Figure 5 , shows a structural block diagram of a circuit protection device provided in an embodiment of the present invention, which is applied to a circuit protection system. The circuit protection system includes at least an electronic fuse and a complex programmable logic device. The electronic fuse is connected to the complex programmable logic device, and specifically may include the following modules:
[0181] An acquisition module 501 is used to acquire the current intensity and the current intensity change rate in a preset circuit;
[0182] The current intensity change rate judgment module 502 is used to judge whether the current intensity change rate is greater than a preset current intensity change rate threshold value if the current intensity exceeds a preset normal intensity threshold value;
[0183] An overcurrent determination module 503, configured to determine that the current in the circuit is an overcurrent if the current intensity change rate is not greater than the current intensity change rate threshold, and adjust the preset protection delay time of the electronic fuse to a target protection delay time;
[0184] A circuit protection module 504, configured to protect the circuit using an electronic fuse corresponding to the target protection delay time;
[0185] The short-circuit current determination module 505 is used to determine that the current in the circuit is a short-circuit current if the current intensity change rate is greater than the current intensity change rate threshold, and control the electronic fuse to protect the circuit through the complex programmable logic device.
[0186] In an optional embodiment of the present invention, the electronic fuse includes a pin; the circuit protection system also includes a signal amplification circuit, a low-pass filter circuit, an analog-to-digital conversion sampling circuit and a sampling clock system; the acquisition module includes:
[0187] A collection submodule, used for controlling the electronic fuse to collect a current signal of the current flowing through the pin, and sending the current signal to the signal amplification circuit;
[0188] A current signal sending submodule with enhanced strength, used for controlling the signal amplification circuit to enhance the strength of the current signal, and sending the current signal with enhanced strength to the low-pass filtering circuit;
[0189] A noise-removed current signal sending submodule, used for controlling the low-pass filtering circuit to remove noise from the current signal with enhanced strength, and sending the noise-removed current signal to the analog-to-digital conversion sampling circuit;
[0190] A sampling submodule, used for controlling the analog-to-digital conversion sampling circuit to sample the current signal from which the noise has been removed at a preset time interval to obtain a sampled current signal, and obtaining a sampling time of the analog-to-digital conversion sampling circuit through the sampling clock system;
[0191] The acquisition submodule is used to control the analog-to-digital conversion sampling circuit to convert the sampled current signal into a digital signal, and based on the digital signal and the sampling time, to acquire the current intensity and the current intensity change rate in the circuit.
[0192] In an optional embodiment of the present invention, the overcurrent determination module includes:
[0193] A configuration submodule, used to configure a configuration capacitor and a capacitance switch of a preset capacitance value connected in series with the electronic fuse for the electronic fuse; the capacitance switch is connected to the complex programmable logic device;
[0194] The capacitor switch activation submodule is used to control the complex programmable logic device to activate the capacitor switch, thereby increasing the preset protection delay time of the electronic fuse to the target protection delay time.
[0195] In an optional embodiment of the present invention, the device comprises:
[0196] a normal current determination module, configured to determine that the current in the circuit is a normal current if the current intensity does not exceed the normal intensity threshold;
[0197] A configuration module, used for configuring a configuration resistor and a resistance switch of a preset resistance value connected in series with the electronic fuse for the electronic fuse; the resistance switch is connected to the complex programmable logic device;
[0198] The protection strength threshold increasing module is used to increase the preset protection strength threshold of the electronic fuse to a target protection strength threshold by controlling the complex programmable logic device to turn on the resistance switch.
[0199] In an optional embodiment of the present invention, the overcurrent determination module includes:
[0200] A delayed pulse signal sending submodule is used to control the complex programmable logic device to send a delayed pulse signal to the electronic fuse; the delayed pulse signal includes a high-level signal and a low-level signal; the high-level signal switches to the low-level signal after continuing for the target protection delay time; when the high-level signal switches to the low-level signal, the electronic fuse protects the circuit by cutting off the circuit.
[0201] In an optional embodiment of the present invention, the short-circuit current determination module includes:
[0202] A cut-off pulse signal sending submodule is used to control the complex programmable logic device to send a cut-off pulse signal to the electronic fuse if the current intensity change rate is greater than the current intensity change rate threshold; the high-level signal of the cut-off pulse signal is switched to the low-level signal of the cut-off pulse signal after continuing for the protection delay time of the cut-off pulse signal; the protection delay time of the cut-off pulse signal is less than the preset time threshold.
[0203] In an optional embodiment of the present invention, the device comprises:
[0204] A first cut-off pulse signal sending module, configured to control the complex programmable logic device to send the cut-off pulse signal to the electronic fuse if the current in the circuit is the overcurrent and the current intensity is a preset multiple of the target protection intensity threshold;
[0205] The second cut-off pulse signal sending module is used to control the complex programmable logic device to send the cut-off pulse signal to the electronic fuse if the duration of the current in the circuit being the overcurrent reaches a preset duration.
[0206] Reference Figure 6 , shows a structural block diagram of another circuit protection device provided by an embodiment of the present invention.
[0207] The circuit protection device includes a current detection module, a current type identification module, an adaptive adjustment module, an active control module and a fault monitoring and alarm module.
[0208] The current detection module is used to control the electronic fuse to collect the current signal of the current flowing through the pin, and send the current signal to the signal amplification circuit, control the signal amplification circuit to enhance the strength of the current signal, and send the enhanced current signal to the low-pass filter circuit. The current detection module is used to control the low-pass filter circuit to remove the noise in the enhanced current signal, and send the noise-removed current signal to the analog-to-digital conversion sampling circuit, control the analog-to-digital conversion sampling circuit to sample the noise-removed current signal at a preset time interval to obtain the sampled current signal, and obtain the sampling time of the analog-to-digital conversion sampling circuit through the sampling clock system. The current detection module is also used to control the analog-to-digital conversion sampling circuit to convert the sampled current signal into a digital signal, and based on the digital signal and the sampling time, obtain the current intensity and current intensity change rate in the circuit.
[0209] If the current intensity exceeds the preset normal intensity threshold, the current type identification module is used to determine whether the current intensity change rate is greater than the preset current intensity change rate threshold. If the current intensity change rate is not greater than the current intensity change rate threshold, the current in the circuit is determined to be an overcurrent current; if the current intensity change rate is greater than the current intensity change rate threshold, the current in the circuit is determined to be a short-circuit current.
[0210] The circuit protection system configures the electronic fuse with a configuration capacitor and a capacitor switch of a preset capacitance value connected in series with the electronic fuse, and the capacitor switch is connected to a complex programmable logic device. The circuit protection system increases the preset protection delay time of the electronic fuse to a target protection delay time by controlling the complex programmable logic device to turn on the capacitor switch. The adaptive adjustment module is used to control the electronic fuse to cut off the circuit to protect the circuit if the current intensity exceeds the target protection intensity threshold and the duration of the current intensity exceeding the target protection intensity threshold reaches the target protection delay time.
[0211] The active control module is used to control the complex programmable logic device to send a cut-off pulse signal to the electronic fuse if the current intensity change rate is greater than the current intensity change rate threshold; the high-level signal of the cut-off pulse signal is switched to a low-level signal of the cut-off pulse signal after the protection delay time of the cut-off pulse signal; the protection delay time of the cut-off pulse signal is less than the preset time threshold. The active control module is also used to control the complex programmable logic device to send a cut-off pulse signal to the electronic fuse if the current in the circuit is an overcurrent current and the current intensity is a preset multiple of the target protection intensity threshold; if the duration of the current in the circuit being an overcurrent current reaches a preset duration, the complex programmable logic device is controlled to send a cut-off pulse signal to the electronic fuse.
[0212] The fault monitoring alarm module is used to reduce the level of the POWERGOOD signal sent to the logic control unit when the current in the circuit is a fault current such as overcurrent or short-circuit current, and the electronic fuse cuts off the circuit to protect the circuit. After the logic control unit obtains the low-level signal of the power status, it controls the fault indicator light to light up to give an external alarm.
[0213] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0214] In addition, an embodiment of the present invention further provides an electronic device, such as Figure 7 As shown, it includes a processor 701, a communication interface 702, a memory 703 and a communication bus 704, wherein the processor 701, the communication interface 702, and the memory 703 communicate with each other through the communication bus 704.
[0215] Memory 703, used for storing computer programs;
[0216] The processor 701 is used to execute the program stored in the memory 703 to implement the following steps:
[0217] Obtaining the current intensity and the rate of change of the current intensity in a preset circuit;
[0218] If the current intensity exceeds the preset normal intensity threshold, determining whether the current intensity change rate is greater than the preset current intensity change rate threshold;
[0219] If the current intensity change rate is not greater than the current intensity change rate threshold, determining that the current in the circuit is an overcurrent, and adjusting the preset protection delay time of the electronic fuse to a target protection delay time;
[0220] Using an electronic fuse corresponding to the target protection delay time to protect the circuit;
[0221] If the current intensity change rate is greater than the current intensity change rate threshold, the current in the circuit is determined to be a short-circuit current, and the electronic fuse is controlled by the complex programmable logic device to protect the circuit.
[0222] In an optional embodiment of the present invention, the electronic fuse includes a pin; the circuit protection system also includes a signal amplification circuit, a low-pass filter circuit, an analog-to-digital conversion sampling circuit and a sampling clock system; the step of obtaining the current intensity and the current intensity change rate in the preset circuit includes:
[0223] Controlling the electronic fuse to collect a current signal of the current flowing through the pin, and sending the current signal to the signal amplifying circuit;
[0224] Controlling the signal amplifying circuit to enhance the strength of the current signal, and sending the enhanced current signal to the low-pass filtering circuit;
[0225] Controlling the low-pass filter circuit to remove noise from the current signal with enhanced strength, and sending the current signal with noise removed to the analog-to-digital conversion sampling circuit;
[0226] Controlling the analog-to-digital conversion sampling circuit to sample the current signal from which the noise has been removed at a preset time interval to obtain a sampled current signal, and obtaining the sampling time of the analog-to-digital conversion sampling circuit through the sampling clock system;
[0227] The analog-to-digital conversion sampling circuit is controlled to convert the sampled current signal into a digital signal, and based on the digital signal and the sampling time, the current intensity and the current intensity change rate in the circuit are obtained.
[0228] In an optional embodiment of the present invention, the step of adjusting the preset protection delay time length of the electronic fuse to the target protection delay time length comprises:
[0229] A configuration capacitor and a capacitance switch with a preset capacitance value connected in series with the electronic fuse are configured for the electronic fuse; the capacitance switch is connected to the complex programmable logic device;
[0230] By controlling the complex programmable logic device to turn on the capacitive switch, the preset protection delay time of the electronic fuse is increased to the target protection delay time.
[0231] In an optional embodiment of the present invention, if the current intensity exceeds the preset normal intensity threshold, the step of determining whether the current intensity change rate is greater than the preset current intensity change rate threshold comprises:
[0232] If the current intensity does not exceed the normal intensity threshold, determining that the current in the circuit is a normal current;
[0233] A configuration resistor and a resistance switch with a preset resistance value connected in series with the electronic fuse are configured for the electronic fuse; the resistance switch is connected to the complex programmable logic device;
[0234] By controlling the complex programmable logic device to turn on the resistance switch, the preset protection strength threshold of the electronic fuse is increased to a target protection strength threshold.
[0235] In an optional embodiment of the present invention, the step of adjusting the preset protection delay time length of the electronic fuse to the target protection delay time length comprises:
[0236] Control the complex programmable logic device to send a delayed pulse signal to the electronic fuse; the delayed pulse signal includes a high-level signal and a low-level signal; the high-level signal switches to the low-level signal after continuing for the target protection delay time; when the high-level signal switches to the low-level signal, the electronic fuse protects the circuit by cutting off the circuit.
[0237] In an optional embodiment of the present invention, if the current intensity change rate is greater than the current intensity change rate threshold, determining that the current in the circuit is a short-circuit current, and controlling the electronic fuse to protect the circuit through the complex programmable logic device includes:
[0238] If the current intensity change rate is greater than the current intensity change rate threshold, the complex programmable logic device is controlled to send a cut-off pulse signal to the electronic fuse; the high-level signal of the cut-off pulse signal is switched to the low-level signal of the cut-off pulse signal after continuing for the protection delay time of the cut-off pulse signal; the protection delay time of the cut-off pulse signal is less than the preset time threshold.
[0239] In an optional embodiment of the present invention, the method includes:
[0240] If the current in the circuit is the overcurrent and the current intensity is a preset multiple of the target protection intensity threshold, controlling the complex programmable logic device to send the cut-off pulse signal to the electronic fuse;
[0241] If the duration of the overcurrent in the circuit reaches a preset duration, the complex programmable logic device is controlled to send the cut-off pulse signal to the electronic fuse.
[0242] The communication bus mentioned in the above terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0243] The communication interface is used for communication between the above terminal and other devices.
[0244] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0245] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
[0246] like Figure 8 As shown, in another embodiment provided by the present invention, a computer-readable storage medium 801 is also provided, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer executes a circuit protection method described in the above embodiment.
[0247] In another embodiment of the present invention, a computer program product including instructions is provided. When the computer program product is run on a computer, the computer is enabled to execute a circuit protection method described in the above embodiment.
[0248] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.
[0249] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0250] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0251] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.
Claims
1. A circuit protection method, characterized in that: Applied to a circuit protection system, the circuit protection system at least comprises an electronic fuse and a complex programmable logic device, the electronic fuse is connected to the complex programmable logic device, and the method comprises: Obtaining the current intensity and the rate of change of the current intensity in a preset circuit; If the current intensity exceeds the preset normal intensity threshold, determining whether the current intensity change rate is greater than the preset current intensity change rate threshold; If the current intensity change rate is not greater than the current intensity change rate threshold, determining that the current in the circuit is an overcurrent, and adjusting the preset protection delay time of the electronic fuse to a target protection delay time; Using an electronic fuse corresponding to the target protection delay time to protect the circuit; If the current intensity change rate is greater than the current intensity change rate threshold, the current in the circuit is determined to be a short-circuit current, and the electronic fuse is controlled by the complex programmable logic device to protect the circuit.
2. The method according to claim 1, characterized in that The electronic fuse includes a pin; the circuit protection system also includes a signal amplification circuit, a low-pass filter circuit, an analog-to-digital conversion sampling circuit and a sampling clock system; the step of obtaining the current intensity and the current intensity change rate in the preset circuit includes: Controlling the electronic fuse to collect a current signal of the current flowing through the pin, and sending the current signal to the signal amplifying circuit; Controlling the signal amplifying circuit to enhance the strength of the current signal, and sending the enhanced current signal to the low-pass filtering circuit; Controlling the low-pass filter circuit to remove noise from the current signal with enhanced strength, and sending the current signal with noise removed to the analog-to-digital conversion sampling circuit; Controlling the analog-to-digital conversion sampling circuit to sample the current signal from which the noise has been removed at a preset time interval to obtain a sampled current signal, and obtaining the sampling time of the analog-to-digital conversion sampling circuit through the sampling clock system; The analog-to-digital conversion sampling circuit is controlled to convert the sampled current signal into a digital signal, and based on the digital signal and the sampling time, the current intensity and the current intensity change rate in the circuit are obtained.
3. The method according to claim 1, characterized in that The step of adjusting the preset protection delay time of the electronic fuse to the target protection delay time comprises: A configuration capacitor and a capacitance switch with a preset capacitance value connected in series with the electronic fuse are configured for the electronic fuse; the capacitance switch is connected to the complex programmable logic device; By controlling the complex programmable logic device to turn on the capacitive switch, the preset protection delay time of the electronic fuse is increased to the target protection delay time.
4. The method according to claim 1, characterized in that: If the current intensity exceeds the preset normal intensity threshold, the step of determining whether the current intensity change rate is greater than the preset current intensity change rate threshold comprises: If the current intensity does not exceed the normal intensity threshold, determining that the current in the circuit is a normal current; A configuration resistor and a resistance switch with a preset resistance value connected in series with the electronic fuse are configured for the electronic fuse; the resistance switch is connected to the complex programmable logic device; By controlling the complex programmable logic device to turn on the resistance switch, the preset protection strength threshold of the electronic fuse is increased to a target protection strength threshold.
5. The method according to claim 4, characterized in that The step of adjusting the preset protection delay time of the electronic fuse to the target protection delay time comprises: Control the complex programmable logic device to send a delayed pulse signal to the electronic fuse; the delayed pulse signal includes a high-level signal and a low-level signal; the high-level signal switches to the low-level signal after continuing for the target protection delay time; when the high-level signal switches to the low-level signal, the electronic fuse protects the circuit by cutting off the circuit.
6. The method according to claim 5, characterized in that The step of determining that the current in the circuit is a short-circuit current if the current intensity change rate is greater than the current intensity change rate threshold, and controlling the electronic fuse to protect the circuit by the complex programmable logic device includes: If the current intensity change rate is greater than the current intensity change rate threshold, the complex programmable logic device is controlled to send a cut-off pulse signal to the electronic fuse; the high-level signal of the cut-off pulse signal is switched to the low-level signal of the cut-off pulse signal after continuing for the protection delay time of the cut-off pulse signal; the protection delay time of the cut-off pulse signal is less than the preset time threshold.
7. The method according to claim 6, characterized in that The method comprises: If the current in the circuit is the overcurrent and the current intensity is a preset multiple of the target protection intensity threshold, controlling the complex programmable logic device to send the cut-off pulse signal to the electronic fuse; If the duration of the overcurrent in the circuit reaches a preset duration, the complex programmable logic device is controlled to send the cut-off pulse signal to the electronic fuse.
8. A circuit protection device, characterized in that: Applied to a circuit protection system, the circuit protection system at least comprises an electronic fuse and a complex programmable logic device, the electronic fuse is connected to the complex programmable logic device, and the device comprises: An acquisition module, used to acquire the current intensity and the current intensity change rate in a preset circuit; A current intensity change rate judgment module, used for judging whether the current intensity change rate is greater than a preset current intensity change rate threshold value if the current intensity exceeds a preset normal intensity threshold value; an overcurrent determination module, configured to determine that the current in the circuit is an overcurrent if the current intensity change rate is not greater than the current intensity change rate threshold, and adjust the preset protection delay time of the electronic fuse to a target protection delay time; A circuit protection module, used to protect the circuit using an electronic fuse corresponding to the target protection delay time; The short-circuit current determination module is used to determine that the current in the circuit is a short-circuit current if the current intensity change rate is greater than the current intensity change rate threshold, and control the electronic fuse to protect the circuit through the complex programmable logic device.
9. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; The memory is used to store computer programs; The processor is used to implement the method according to any one of claims 1 to 7 when executing the program stored in the memory.
10. One or more computer-readable media having instructions stored thereon, which when executed by one or more processors cause the processors to perform the method according to any one of claims 1 to 7.
