A current overcurrent detection circuit

By comparing the load current and the reference current, and using resistors and amplifiers of the same type and resistance to amplify the current, the problem that the current overcurrent detection circuit is easily affected by temperature is solved, and more accurate current overcurrent detection is achieved.

CN118091237BActive Publication Date: 2024-08-13SHENZHEN BETTERLIFE ELECTRONICS SCI & TECH
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410478423.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-19
Publication Date
2024-08-13
Estimated Expiration
2044-04-19

AI Technical Summary

Technical Problem

Existing current overcurrent detection circuits are easily affected by temperature, resulting in inaccurate detection results.

Method used

Determine whether the current is overcurrent by comparing the load current and the reference current. The detection unit includes a comparator, a first resistor, a second resistor and a first current source. The first resistor and the second resistor of the same type and resistance value are used to output The voltage is converted into output current, and the current is amplified through the amplifier and MOS tube to avoid the sampling resistor being affected by temperature.

Benefits of technology

The accuracy of detection is greatly improved, the problem of inaccurate detection results under the influence of temperature is avoided, and the accuracy and credibility of current overcurrent detection are ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 1.1
    Figure 1.1
Patent Text Reader

Abstract

The present invention discloses a current overcurrent detection circuit, which relates to the technical field of integrated circuits and solves the technical problem that the existing overcurrent detection circuit is easily affected by temperature, resulting in inaccurate detection results. The circuit includes a detection unit for detecting whether the current of the load is overcurrent; the detection unit includes a comparator, a first resistor, a second resistor and a first current source; the positive input end of the comparator is connected to the first resistor, which is used to convert the output voltage input to the positive input end into an output current; the reverse input end of the comparator is connected to one end of the first current source, and the other end of the first current source is connected to a reference voltage; the reverse input end is also connected to the second resistor, which is used to convert the reference voltage into a reference current; the comparator output end outputs the detection result. The circuit of the present invention is not affected by temperature, the detection result is accurate, and the detection speed is fast and the power consumption is low.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of integrated circuits, and in particular to a current overcurrent detection circuit. Background Art

[0002] Motor driver chips are widely used in various home appliances and industrial products. Driver chips usually have high power, so they usually need to output high current to drive devices outside the chip. If the driver chip and external devices do not match, causing system instability, or when the driver chip is subject to strong external interference, the driver chip will have overcurrent.

[0003] Overcurrent can cause the driver chip or external device to overheat, thereby burning the chip or external device and bringing high repair costs. Therefore, the overcurrent detection function is very important in the driver chip.

[0004] The current overcurrent detection circuit is as follows Figure 1 As shown, the principle is as follows: the sampling resistor Rs' is connected to the load circuit, the load current Is' is converted into a voltage difference through the sampling resistor Rs', and then the operational amplifier outputs the voltage Vout, and finally the voltage Vout is compared with the reference voltage through the comparator. Make a comparison to determine if an overcurrent occurs.

[0005] However, the above circuit has some defects: the two input voltages of the comparator are Vout and ,and It is a reference voltage with zero temperature coefficient. The voltage Vout is the product of the load current Is' and the sampling resistor Rs'. The sampling resistor Rs' is easily affected by temperature and changes, so Vout is seriously affected by temperature, which will lead to inaccurate detection results.

[0006] In the process of implementing the present invention, the inventors found that there are at least the following problems in the prior art:

[0007] Existing overcurrent detection circuits are easily affected by temperature, resulting in inaccurate detection results. Summary of the invention

[0008] The purpose of the present invention is to provide a current overcurrent detection circuit to solve the technical problem that the existing overcurrent detection circuit in the prior art is easily affected by temperature, resulting in inaccurate detection results. The preferred technical solutions among the many technical solutions provided by the present invention can produce many technical effects as described below.

[0009] To achieve the above object, the present invention provides the following technical solutions:

[0010] A current overcurrent detection circuit provided by the present invention determines whether the current of a load is overcurrent by comparing a load current Is with a reference current Iref, and includes a detection unit for detecting whether the current of the load is overcurrent; the detection unit includes a comparator, a first resistor R1, a second resistor R2 and a first current source I1; the positive input end of the comparator is connected to the first resistor R1, and is used to convert an output voltage Vo input to the positive input end into an output current Io; the negative input end of the comparator is connected to one end of the first current source I1, and the other end of the first current source I1 is connected to a reference voltage Vref; the negative input end is also connected to the second resistor R2, and is used to convert the reference voltage Vref into a reference current Iref; the comparator output end outputs a detection result; one end of the first current source I1 is also connected to one end of the second resistor R2, and the other end of the second resistor R2 is grounded;

[0011] The first resistor R1 and the second resistor R2 have the same resistance value and type;

[0012] The detection unit further includes a first MOS tube M1; the source of the first MOS tube M1 is connected to the reference voltage Vref, and the drain is connected to the positive input terminal of the comparator;

[0013] The circuit also includes a sampling unit connected to the detection unit; the sampling unit includes an amplifier, a third resistor R3, a fourth resistor R4, a second current source I2, a third current source I3 and a sampling resistor Rs; the positive input end of the amplifier is respectively connected to one end of the third resistor R3 and the second current source I2, the reverse input end is respectively connected to one end of the fourth resistor R4 and the third current source I3, and the output end is connected to the first MOS tube M1; the other end of the third resistor R3 is connected to the first end of the sampling resistor Rs; the other end of the fourth resistor R4 is connected to the second end of the sampling resistor Rs; wherein the output end of the amplifier is connected to the gate of the first MOS tube M1;

[0014] The resistance value and type of the third resistor R3 and the fourth resistor R4 are the same; the currents of the second current source I2 and the third current source I3 are the same;

[0015] The sampling unit further includes a second MOS tube M2; the source of the second MOS tube M2 is connected to the reference voltage Vref, the drain is connected to the positive input terminal of the amplifier, and the gate is connected to the output terminal of the amplifier.

[0016] Preferably, the first MOS tube M1 and the second MOS tube M2 have the same model parameters.

[0017] Preferably, the current magnitude of the second current source I2 and the resistance value of the third resistor R3 are obtained by simulating and verifying the circuit.

[0018] Preferably, the output current Io is calculated by the following steps: S1, converting the load current Is into a voltage difference through a sampling resistor Rs , we get formula (1) ,in, , is the voltage across the sampling resistor Rs; S2, based on the load current Is being much larger than the second current source I2, formula (2) is obtained according to formula (1): ; S3. According to the circuit principle, the voltage V1 at the positive input terminal and the voltage V2 at the reverse input terminal of the amplifier are respectively: Formula (3) , formula (4) ; Wherein, Ia is the current output by the drain of the second MOS tube M2; S4, based on the amplifier being a negative feedback amplifier, there is formula (5) , Substitute formula (3) and formula (4) into formula (5) to obtain formula (6) , then substitute formula (2) into formula (6) to obtain formula (7) ; S5, based on the first MOS tube M1 and the second MOS tube M2 having the same model parameters, the output current Io is obtained as: .

[0019] Preferably, based on the fact that the first resistor R1 and the second resistor R2 have the same resistance value, and according to the circuit principle, , , converting the comparison between the output voltage Vo and the reference voltage Vref by the comparator into a comparison between the output current Io and the reference current Iref.

[0020] Implementing one of the above technical solutions of the present invention has the following advantages or beneficial effects:

[0021] The present invention changes the judgment method of overcurrent detection, generates a sampling voltage from the product of the load current and the sampling resistor, and converts the method of comparing the sampling voltage with the reference voltage into a method of comparing the load current with the reference current, thereby avoiding the problem that the sampling resistor is affected by temperature, which makes the sampling voltage also affected by temperature and causes inaccurate detection results; the result of the overcurrent detection circuit is not easily affected by temperature, which greatly improves the accuracy of detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. It is obvious that the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0023] Figure 1 It is a circuit diagram of current overcurrent detection in the prior art of the present invention;

[0024] Figure 2 is a circuit diagram of current overcurrent detection according to an embodiment of the present invention;

[0025] Figure 3 4 is a flow chart of calculating the output current Io according to an embodiment of the present invention. DETAILED DESCRIPTION

[0026] In order to make the purpose, technical solutions and advantages of the present invention clearer, the various exemplary embodiments to be described below will refer to the corresponding drawings, which constitute a part of the exemplary embodiments, wherein various exemplary embodiments that may be used to implement the present invention are described. Unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation methods described in the following exemplary embodiments do not represent all implementation methods consistent with the present disclosure. It should be understood that they are only examples of processes, methods, devices, etc. that are consistent with some aspects of the present disclosure as detailed in the attached claims, and other embodiments may also be used, or the embodiments listed herein may be modified in structure and function without departing from the scope and essence of the present invention.

[0027] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", etc. indicate the orientation or positional relationship based on the drawings, which is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the elements referred to must have a specific orientation, be constructed and operated in a specific orientation. The terms "first", "second", etc. are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. The term "multiple" means two or more. The terms "connected" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, an integral connection, a mechanical connection, an electrical connection, a communication connection, a direct connection, an indirect connection through an intermediate medium, and can be the internal connection of two elements or the interaction relationship between two elements. The term "and / or" includes any and all combinations of one or more related listed items. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to the specific circumstances.

[0028] In order to illustrate the technical solution of the present invention, a specific embodiment is used below for description, and only the parts related to the embodiment of the present invention are shown.

[0029] Embodiment 1:

[0030] like Figure 2 As shown, the present invention provides a current overcurrent detection circuit, which determines whether the current of the load is overcurrent by comparing the load current Is and the reference current Iref, and includes a detection unit for detecting whether the current of the load is overcurrent; the detection unit includes a comparator, a first resistor R1, a second resistor R2 and a first current source I1; the positive input terminal of the comparator is connected to the first resistor R1, which is used to convert the output voltage Vo input to the positive input terminal into the output current Io; the reverse input terminal of the comparator is connected to one end of the first current source I1, and the other end of the first current source I1 is connected to the reference voltage Vref; the reverse input terminal is also connected to the second resistor R2, which is used to convert the reference voltage Vref into the reference current Iref; the comparator output terminal outputs the detection result.

[0031] This embodiment changes the judgment method of overcurrent detection, generates a sampling voltage from the product of the load current and the sampling resistor, and converts the method of comparing the sampling voltage with the reference voltage into a method of comparing the load current with the reference current, thereby avoiding the problem that the sampling resistor is affected by temperature, which causes the sampling voltage to be affected by temperature and leads to inaccurate detection results. The result of the overcurrent detection circuit is not easily affected by temperature, which greatly improves the accuracy of detection.

[0032] The overcurrent detection circuit of this embodiment is used for detecting load current, especially for detecting large current motor drive chips. The circuit compares the load current and the reference current through the comparator in the detection unit, and then determines whether the load is overcurrent; the voltage to be detected is input into the positive input end of the comparator, and is pulled down to the ground by the first resistor R1, so that the voltage to be detected can be converted into current. Similarly, the reference voltage Vref is input into the reverse input end of the comparator, and is pulled down to the ground by the second resistor R2, so that the reference voltage Vref is converted into a reference current Iref, and then the result of the comparator output is a comparison of the two currents, so it will not be affected by temperature, thereby ensuring the accuracy of the detection result.

[0033] The first resistor R1 and the second resistor R2 have the same resistance value and type. By controlling the first resistor R1 and the second resistor R2 to have the same resistance value and type, the current of the voltage conversion can be prevented from being affected by the resistance value, thereby ensuring the accuracy of the detection result.

[0034] As an optional implementation, the detection unit further includes a first MOS tube M1; the source of the first MOS tube M1 is connected to the reference voltage Vref, and the drain is connected to the positive input terminal of the comparator. The first MOS tube M1 is responsible for conducting the current to be detected. When the gate has a low level input, the first MOS tube M1 is turned on, so that the current to be detected flows into the positive input terminal of the comparator.

[0035] As an optional implementation, the circuit also includes a sampling unit connected to the detection unit; the sampling unit includes an amplifier, a third resistor R3, a fourth resistor R4, a second current source I2, a third current source I3 and a sampling resistor Rs; the positive input end of the amplifier is respectively connected to one end of the third resistor R3 and the second current source I2, the reverse input end is respectively connected to one end of the fourth resistor R4 and the third current source I3, and the output end is connected to the first MOS tube M1; the other end of the third resistor R3 is connected to the first end of the sampling resistor Rs; the other end of the fourth resistor R4 is connected to the second end of the sampling resistor Rs. The sampling unit is used to collect the load current Is, and amplify it and input it into the detection unit; the load circuit is connected to the sampling resistor Rs, and the load current Is is converted into a voltage difference through the sampling resistor Rs, and then the voltage difference is respectively input to the positive input end and the reverse input end of the amplifier through the third resistor R3 and the fourth resistor R4. Since the converted voltage difference will be very low and no longer within the bandwidth of the amplifier, the performance of the amplifier is limited and the amplification speed is low; therefore, this embodiment also applies current to the positive input and reverse input terminals of the amplifier respectively, and the resistance and current at both ends can increase the common-mode voltage of the amplifier, so that the voltage difference is within the bandwidth range of the amplifier, thereby improving the amplification speed and avoiding the problem that the overcurrent detection circuit cannot respond in time when the load current Is overcurrents in a short period of time, and the method of increasing the amplifier speed does not consume high power, thereby reducing the power consumption of the amplifier.

[0036] The third resistor R3 and the fourth resistor R4 have the same resistance value and type; the second current source I2 and the third current source I3 have the same current. It is necessary to make the third resistor R3 and the fourth resistor R4 have the same resistance value and type, and the second current source I2 and the third current source I3 have the same current, so as to ensure that the amplifier input differential mode voltage remains unchanged, and increase the common mode voltage so that the voltage amplification factor remains unchanged, thereby ensuring the accuracy of the detection result.

[0037] As an optional implementation, the sampling unit further includes a second MOS tube M2; the source of the second MOS tube M2 is connected to the reference voltage Vref, the drain is connected to the positive input terminal of the amplifier, and the gate is connected to the output terminal of the amplifier. The model parameters of the first MOS tube M1 and the second MOS tube M2 are the same. Through the second MOS tube M2, the current corresponding to the amplifier output voltage Vo can be detected, and the output terminal of the amplifier is connected to the first MOS tube M1 and the second MOS tube M2 respectively. Since the model parameters of the first MOS tube M1 and the second MOS tube M2 are the same, the current of the first MOS tube M1 and the second MOS tube M2 is the same, and the current of the second MOS tube M2 is equal to the magnitude of the output current Io.

[0038] As an optional implementation, the current magnitude of the second current source I2 and the resistance value of the third resistor R3 are obtained by simulating and verifying the overcurrent detection circuit of this embodiment. First, a suitable current value and resistance value are randomly selected to start verifying the overcurrent detection circuit. On this basis, different current values ​​and resistance values ​​are continuously debugged to perform multiple simulation experiments until the amplifier can operate at high speed, high gain and low power consumption. At this time, the current value and resistance value are determined as the current magnitude of the second current source I2 and the resistance value of the third resistor R3.

[0039] like Figure 3 As shown, the output current Io is calculated by the following steps: S1. The load current Is is converted into a voltage difference through the sampling resistor Rs. , we get formula (1) ,in, , is the voltage across the sampling resistor Rs; S2, based on the load current Is being much larger than the second current source I2, formula (2) is obtained according to formula (1): ; S3. According to the circuit principle, the voltage V1 at the positive input terminal and the voltage V2 at the reverse input terminal of the amplifier are respectively: Formula (3) , formula (4) ; Where Ia is the current output from the drain of the second MOS tube M2; S4, based on the amplifier being a negative feedback amplifier, there is formula (5) , Substitute formula (3) and formula (4) into formula (5) to obtain formula (6) , then substitute formula (2) into formula (6) to obtain formula (7) ; S5, based on the first MOS tube M1 and the second MOS tube M2 having the same model parameters, the output current Io is obtained as: .

[0040] Based on the same resistance value of the first resistor R1 and the second resistor R2, and according to the circuit principle, , , converting the comparison of the output voltage Vo and the reference voltage Vref by the comparator into a comparison of the output current Io and the reference current Iref.

[0041] based on Figure 2 , the current principle of this embodiment is described in detail, as follows:

[0042] S1, convert the load current Is into a voltage difference through the sampling resistor Rs , we get formula (1) , , is the voltage across the sampling resistor Rs; specifically, the load resistor Rs in the detection unit is connected to the load circuit, and the sampling resistor Rs converts the load current Is into a voltage difference According to the circuit principle, we can get formula (1) .

[0043] S2, based on the load current Is is much larger than the second current source I2, according to formula (1) to get formula (2) ; Generally speaking, the load current Is is relatively large, while the current I2 applied to the two input terminals of the amplifier is very small. Therefore, the load current Is is much larger than the second current source I2. The second current source I2 in formula (1) can be ignored, thus obtaining formula (2) .

[0044] S3. According to the circuit principle, the voltage V1 at the positive input terminal and the voltage V2 at the reverse input terminal of the amplifier are respectively: Formula (3) , formula (4) ; Wherein, Ia is the current output from the drain of the second MOS tube M2; According to the circuit principle, from Figure 2 It can be seen that the voltage at the positive input of the amplifier , while the voltage at the inverting input , since the currents of the second current source I2 and the third current source I3 are the same, and the resistances of the third resistor R3 and the fourth resistor R4 are the same, formula (4) can be obtained: In this way, the input differential voltage of the amplifier is guaranteed to remain unchanged, while the common-mode voltage is Improved to , thereby improving the transconductance of the amplifier and increasing the speed of the entire detection circuit.

[0045] S4. Based on the amplifier being a negative feedback amplifier, we have formula (5): , Substitute formula (3) and formula (4) into formula (5) to obtain formula (6) , then substitute formula (2) into formula (6) to obtain formula (7) ; At the input of the amplifier, for a negative feedback amplifier, we have:

[0046] ,

[0047] but:

[0048] ,

[0049] After rearranging, we get formula (6): ,

[0050] Then, formula (2) Substituting into formula (6), we get formula (7) .

[0051] Based on the same model parameters of the first MOS tube M1 and the second MOS tube M2, the output current Io is obtained as: Since the model parameters of the first MOS tube M1 and the second MOS tube M2 are the same and match each other, .

[0052] According to the circuit principle, the voltages Vo and Vref at the input of the comparator are:

[0053] ,

[0054] ,

[0055] Because the resistance values ​​of the first resistor R1 and the second resistor R2 are the same, the comparator can convert the comparison between the output voltage Vo and the reference voltage Vref into the comparison between the output current Io and the reference current Iref; When the comparator output is , indicating that the load has no overcurrent condition; when When the comparator output is , indicating that the load is overcurrent, reminding the staff to repair it in time. The output current Io and the reference current Iref are not affected by temperature, so the test results will not be affected by temperature, and the accuracy and reliability of the test are high.

[0056] The embodiment is only a specific example and does not represent only one implementation mode of the present invention.

[0057] The above description is only the preferred embodiment of the present invention. It is known to those skilled in the art that various changes or equivalent substitutions may be made to these features and embodiments without departing from the spirit and scope of the present invention. In addition, under the teachings of the present invention, these features and embodiments may be modified to adapt to specific circumstances and materials without departing from the spirit and scope of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed herein, and all embodiments falling within the scope of the claims of this application belong to the protection scope of the present invention.

Claims

1. A current overcurrent detection circuit, characterized in that: By comparing the load current Is with the reference current Iref, it is determined whether the current of the load is overcurrent, including a detection unit for detecting whether the current of the load is overcurrent; The detection unit includes a comparator, a first resistor R1, a second resistor R2 and a first current source I1; the circuit also includes a sampling unit connected to the detection unit; the sampling unit includes an amplifier, a third resistor R3, a fourth resistor R4, a second current source I2, a third current source I3 and a sampling resistor Rs; the positive input end of the amplifier is respectively connected to one end of the third resistor R3 and the second current source I2, the reverse input end is respectively connected to one end of the fourth resistor R4 and the third current source I3, and the output end is connected to the first MOS tube M1; the other end of the third resistor R3 is connected to the first end of the sampling resistor Rs; the other end of the fourth resistor R4 is connected to the second end of the sampling resistor Rs; the load current Is flows through the sampling resistor Rs; wherein the output end of the amplifier is connected to the gate of the first MOS tube M1; The sampling unit further includes a second MOS tube M2; the source of the second MOS tube M2 is connected to the reference voltage Vref, the drain is connected to the positive input terminal of the amplifier, and the gate is connected to the output terminal of the amplifier; The positive input terminal of the comparator is connected to one end of the first resistor R1, and the other end of the first resistor R1 is grounded; the negative input terminal of the comparator is connected to one end of the first current source I1, and the other end of the first current source I1 is connected to the reference voltage Vref; the negative input terminal is also connected to the second resistor R2; the output terminal of the comparator outputs the detection result; one end of the first current source I1 is also connected to one end of the second resistor R2, and the other end of the second resistor R2 is grounded; The detection unit further includes a first MOS tube M1; the source of the first MOS tube M1 is connected to the reference voltage Vref, and the drain is connected to the positive input terminal of the comparator; The first resistor R1 and the second resistor R2 have the same resistance value and type; The resistance value and type of the third resistor R3 and the fourth resistor R4 are the same; the currents of the second current source I2 and the third current source I3 are the same.

2. The current overcurrent detection circuit according to claim 1, characterized in that: The model parameters of the first MOS tube M1 and the second MOS tube M2 are the same.

3. The current overcurrent detection circuit according to claim 1, characterized in that: The current magnitude of the second current source I2 and the resistance value of the third resistor R3 are obtained by simulating and verifying the circuit.

Citation Information

Patent Citations

  • Overcurrent protection circuit

    CN209104785U