Current detection circuit, motor controller and vehicle

By improving the current detection circuit structure and utilizing multi-signal conversion and overcurrent monitoring circuits, the problem of low reliability of current sampling was solved. This enabled accurate differentiation between 0A current, zero output signal of differential current sampling circuit, and overcurrent conditions, thereby improving the reliability of current detection.

CN224286999UActive Publication Date: 2026-05-26HEFEI SUNSHINE POWER TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
HEFEI SUNSHINE POWER TECH CO LTD
Filing Date
2025-03-21
Publication Date
2026-05-26

AI Technical Summary

Technical Problem

The reliability of current sampling in existing current detection circuits is low, and they cannot accurately distinguish between the working conditions where the current is 0A and the differential signal output by the differential current sampling circuit is zero.

Method used

By improving the current detection circuit structure, the differential signal output by the differential current sampling circuit is not only converted into the first conversion signal, but also into the second and third conversion signals. By combining the overcurrent monitoring circuit and the processing unit, the operating conditions of 0A current, zero differential signal output by the differential current sampling circuit, and overcurrent can be distinguished.

Benefits of technology

It improves the reliability of current sampling, can accurately distinguish between conditions where the current is 0A, the differential signal output by the differential current sampling circuit is zero, and the current is overcurrent, thus ensuring the accuracy of current detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224286999U_ABST
    Figure CN224286999U_ABST
Patent Text Reader

Abstract

This application relates to a current detection circuit, a motor controller, and a vehicle, including a comparison circuit, an overcurrent monitoring circuit, and a processing unit. The input terminal of the comparison circuit is connected to the output terminal of a differential current sampling circuit. The first output terminal of the comparison circuit is connected to both the input terminal of the overcurrent monitoring circuit and the processing unit. The second output terminal of the comparison circuit is connected to the output terminal of the overcurrent monitoring circuit, and the output terminal of the overcurrent monitoring circuit is connected to the processing unit. The comparison circuit converts the differential signal output by the differential current sampling circuit into a first conversion signal and a second conversion signal. The overcurrent monitoring circuit converts the first conversion signal into a third conversion signal. When either the second or third conversion signal is an overcurrent level signal, and the signal amplitude determined based on the first conversion signal is less than a set threshold, the processing unit determines that the differential signal output by the differential current sampling circuit is zero, thus improving the reliability of current sampling.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of current detection technology, and in particular to a current detection circuit, a motor controller, and a vehicle. Background Technology

[0002] Current closed-loop control is one of the main closed-loop control methods in the field of motor drive. Current closed-loop control performs closed-loop calculations based on the difference between the given current and the actual feedback current to eliminate the error between the actual current and the given current, thereby achieving the goal of real-time tracking of the given current by the actual current. The actual current can be the actual phase current of the motor.

[0003] In related technologies, a current detection circuit can be used to sample the actual current. Typically, the current detection circuit first acquires the actual current through a differential current sampling circuit and outputs a differential signal. This differential signal is then converted into a voltage signal after being processed by an operational amplifier comparator circuit for subtraction and amplification. The voltage signal is then fed into a processor to determine the current value.

[0004] However, the current detection circuit in the related technology suffers from low reliability of current sampling. Utility Model Content

[0005] Therefore, it is necessary to provide a current detection circuit, motor controller, and vehicle that can improve the reliability of current sampling.

[0006] In a first aspect, embodiments of this application provide a current detection circuit, which includes a comparison circuit, an overcurrent monitoring circuit, and a processing unit; the input terminal of the comparison circuit is connected to the output terminal of a differential current sampling circuit, the first output terminal of the comparison circuit is connected to the input terminal of the overcurrent monitoring circuit and the processing unit, the second output terminal of the comparison circuit is connected to the output terminal of the overcurrent monitoring circuit, and the output terminal of the overcurrent monitoring circuit is connected to the processing unit.

[0007] The comparison circuit converts the differential signal output by the differential current sampling circuit into a first conversion signal and a second conversion signal. The first conversion signal enters the processing unit and the overcurrent monitoring circuit respectively through the first output terminal of the comparison circuit, and the second conversion signal enters the processing unit through the second output terminal of the comparison circuit.

[0008] The overcurrent monitoring circuit converts the first conversion signal into a third conversion signal, and the third conversion signal enters the processing unit through the output terminal of the overcurrent monitoring circuit;

[0009] Wherein, if the second conversion signal or the third conversion signal is an overcurrent level signal, and the signal amplitude determined according to the first conversion signal is less than a set threshold, the processing unit determines that the differential signal output by the differential current sampling circuit is zero.

[0010] In one embodiment, the comparison circuit includes an operational amplifier comparison module and an output detection module; the first input terminal of the operational amplifier comparison module is connected to the first output terminal of the differential current sampling circuit, and the output terminal of the operational amplifier comparison module is connected to the input terminal of the overcurrent monitoring circuit and the processing unit, respectively; the input terminal of the output detection module is connected to the second output terminal of the differential current sampling circuit, the first output terminal of the output detection module is connected to the second input terminal of the operational amplifier comparison module, and the second output terminal of the output detection module is connected to the output terminal of the overcurrent monitoring circuit;

[0011] The operational amplifier comparison module converts the differential signal output by the differential current sampling circuit into the first conversion signal; the output detection module converts the differential signal output by the differential current sampling circuit into the second conversion signal and outputs it from the second output terminal of the output detection module.

[0012] When the differential signal at the second output terminal of the differential current sampling circuit is not zero, the input terminal of the output detection module is connected to the first output terminal of the output detection module; when the differential signal at the second output terminal of the differential current sampling circuit is zero, the input terminal of the output detection module is disconnected from the first output terminal of the output detection module.

[0013] In one embodiment, the output detection module includes a switching unit and a comparison unit; the input terminal of the switching unit is connected to the second output terminal of the differential current sampling circuit, and the output terminal of the switching unit is connected to the second input terminal of the operational amplifier comparison module; the input terminal of the comparison unit is connected to the input terminal of the switching unit, and the output terminal of the comparison unit is connected to the output terminal of the overcurrent monitoring circuit.

[0014] The comparison unit converts the differential signal output by the differential current sampling circuit into the second conversion signal and outputs it from the output terminal of the comparison unit.

[0015] When the differential signal at the second output terminal of the differential current sampling circuit is not zero, the switching unit is turned on; when the differential signal at the second output terminal of the differential current sampling circuit is zero, the switching unit is turned off.

[0016] In one embodiment, the switching unit includes a transistor subunit and a resistor subunit; the first end of the transistor subunit is connected to the second output terminal of the differential current sampling circuit, the second end of the transistor subunit is connected to the second input terminal of the operational amplifier comparator module, and the third end of the transistor subunit is grounded through the resistor subunit.

[0017] In one embodiment, the switching unit includes a field-effect transistor (FET) subunit and a first voltage divider subunit; the first terminal of the FET subunit is connected to the second output terminal of the differential current sampling circuit, the second terminal of the FET subunit is connected to the second input terminal of the operational amplifier comparator module, and the third terminal of the FET subunit is connected to the output terminal of the first voltage divider subunit; the input terminal of the first voltage divider subunit is connected to the first terminal of the FET subunit, and the first voltage divider subunit is grounded.

[0018] In one embodiment, the switching unit includes a diode subunit, the first end of which is connected to the second output terminal of the differential current sampling circuit, and the second end of which is connected to the second input terminal of the operational amplifier comparator module.

[0019] In one embodiment, the comparison unit includes a second voltage divider subunit and a first comparison subunit;

[0020] The first input terminal of the first comparison subunit is connected to the input terminal of the switching unit, the second input terminal of the first comparison subunit is connected to the output terminal of the second voltage divider subunit, and the output terminal of the first comparison subunit is connected to the output terminal of the overcurrent monitoring circuit.

[0021] The input terminal of the second voltage divider unit is connected to the first power supply voltage, and the second voltage divider unit is grounded;

[0022] Specifically, the first comparison subunit compares the electrical signal at its first input terminal with the electrical signal at its second input terminal, and then outputs the second conversion signal from its output terminal.

[0023] In one embodiment, the overcurrent monitoring circuit includes a second comparison subunit, a third comparison subunit, and an output subunit;

[0024] The first input terminal of the second comparison subunit is connected to the first threshold signal, the second input terminal of the second comparison subunit is connected to the first output terminal of the comparison circuit, and the output terminal of the second comparison subunit is connected to the input terminal of the output subunit.

[0025] The first input terminal of the third comparison subunit is connected to the first output terminal of the comparison circuit, the second input terminal of the third comparison subunit is connected to the second threshold signal, and the output terminal of the third comparison subunit is connected to the input terminal of the output subunit.

[0026] The output terminal of the output subunit is connected to the processing unit;

[0027] Wherein, the second comparison subunit compares the first threshold signal with the first conversion signal and outputs a first comparison result from the output terminal of the second comparison subunit; the third comparison subunit compares the second threshold signal with the first conversion signal and outputs a second comparison result from the output terminal of the third comparison subunit; the output subunit converts the first comparison result or the second comparison result into the third conversion signal.

[0028] In one embodiment, the operational amplifier comparison module includes a third voltage divider subunit, a fourth comparison subunit, and a feedback subunit;

[0029] The input terminal of the third voltage divider unit is connected to the first power supply voltage, and the third voltage divider unit is grounded;

[0030] The first input terminal of the fourth comparison subunit is connected to the output terminal of the third voltage divider subunit and the first output terminal of the differential current sampling circuit. The second input terminal of the fourth comparison subunit is connected to the first output terminal of the output detection module. The second input terminal of the fourth comparison subunit is connected to the output terminal of the fourth comparison subunit through the feedback subunit. The output terminal of the fourth comparison subunit is connected to the input terminal of the overcurrent monitoring circuit and the processing unit, respectively.

[0031] Secondly, embodiments of this application also provide a motor controller, which includes a differential current sampling circuit and a current detection circuit as described in the first aspect.

[0032] Thirdly, embodiments of this application also provide a vehicle, the vehicle including the motor controller as described in the second aspect.

[0033] The aforementioned current detection circuit, motor controller, and vehicle, through improvements to the structure of the current detection circuit itself, enable the differential signal output by the differential current sampling circuit to be converted not only into a first conversion signal but also into a second conversion signal. Furthermore, the first conversion signal is converted into a third conversion signal by the current monitoring circuit and then output through the output terminal of the current monitoring circuit into the processing unit, while the second conversion signal is directly output to the output terminal of the overcurrent monitoring circuit and enters the processing unit.

[0034] Thus, for the current sampled by the differential current sampling circuit, its current value is no longer determined solely based on the first conversion signal, but rather based on three signals: the first conversion signal, the second conversion signal, and the third conversion signal. For example, if the second or third conversion signal is an overcurrent level signal, and the signal amplitude determined according to the first conversion signal is less than a set threshold (e.g., the current value is less than a set overcurrent threshold), the processing unit determines that the current sampled by the differential current sampling circuit is not 0A, but rather that the differential signal output by the differential current sampling circuit is zero. A zero differential signal output by the differential current sampling circuit can also be understood as the differential current sampling circuit having no output. There are various reasons why the differential current sampling circuit might have no output, such as a fault in the differential current sampling circuit itself or a broken connection between the differential current sampling circuit and its surrounding circuits. Therefore, compared to related technologies, the current detection circuit in this embodiment provides more reliable current sampling, preventing the zero differential signal output by the differential current sampling circuit from being mistakenly determined as a 0A current sampled by the differential current sampling circuit, thus improving the reliability of current sampling. Attached Figure Description

[0035] To more clearly illustrate the technical solutions in the embodiments of this application or the conventional technology, the drawings used in the description of the embodiments or the conventional technology will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0036] Figure 1 This is one of the schematic diagrams of a current detection circuit according to an embodiment;

[0037] Figure 2 This is a second schematic diagram of the current detection circuit in one embodiment;

[0038] Figure 3 This is the third schematic diagram of the current detection circuit in one embodiment;

[0039] Figure 4 This is one of the structural schematic diagrams of a switching unit according to an embodiment;

[0040] Figure 5 This is a second schematic diagram of the structure of a switching unit according to one embodiment;

[0041] Figure 6 This is the third schematic diagram of the structure of a switching unit according to one embodiment;

[0042] Figure 7 This is a schematic diagram of the structure of a comparison unit according to one embodiment;

[0043] Figure 8This is one of the structural schematic diagrams of an overcurrent monitoring circuit according to an embodiment;

[0044] Figure 9 This is a second schematic diagram of the overcurrent monitoring circuit in one embodiment;

[0045] Figure 10 This is a schematic diagram of the operational amplifier comparator module according to one embodiment;

[0046] Figure 11 This is one of the schematic diagrams of a comparator circuit according to an embodiment;

[0047] Figure 12 This is a second schematic diagram of the structure of a comparator circuit according to an embodiment;

[0048] Figure 13 This is the third schematic diagram of the structure of a comparison circuit according to an embodiment.

[0049] Explanation of reference numerals in the attached diagram: 1-Current detection circuit, 11-Comparison circuit, 12-Overcurrent monitoring circuit, 13-Processing unit, 111-Operating amplifier comparison module, 112-Output detection module, 1121-Switching unit, 1122-Comparison unit, 11211-Transistor subunit, 11212-Resistor subunit, 11213-Field effect transistor subunit, 11214-First voltage divider subunit, 11215-Diode subunit, 11221-Second voltage divider subunit, 11222-First comparison subunit, 11221-Second voltage divider subunit, 121-Second comparison subunit, 122-Third comparison subunit, 123-Output subunit, 1111-Third voltage divider subunit, 1112-Fourth comparison subunit, 1113-Feedback subunit. Detailed Implementation

[0050] To facilitate understanding of this application, a more complete description will be provided below with reference to the accompanying drawings, which illustrate embodiments of the present application. However, the present application can be implemented in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided so that the disclosure of this application will be thorough and complete.

[0051] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.

[0052] It is understood that the terms "first," "second," etc., used herein may be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, without departing from the scope of this application, a first resistor may be referred to as a second resistor, and similarly, a second resistor may be referred to as a first resistor. Both the first resistor and the second resistor are resistors, but they are not the same resistor.

[0053] It is understood that the term "connection" in the following embodiments should be understood as "electrical connection," "communication connection," etc., if the connected circuits, modules, units, etc., have electrical signal or data transmission with each other.

[0054] It is understandable that "at least one" refers to one or more, and "multiple" refers to two or more. "At least a part of an element" refers to part or all of an element.

[0055] When used herein, the singular forms of “a,” “an,” and “the” may also include the plural forms unless the context clearly indicates otherwise. It should also be understood that the terms “comprising / including” or “having,” etc., specify the presence of the stated features, wholes, steps, operations, components, parts, or combinations thereof, but do not preclude the possibility of the presence or addition of one or more other features, wholes, steps, operations, components, parts, or combinations thereof. Meanwhile, the term “and / or” as used in this specification includes any and all combinations of the associated listed items.

[0056] In this embodiment, a differential current sampling circuit is used to acquire current and output a differential signal. For example, the differential current sampling circuit acquires the current of any phase in the three-phase AC power of the motor and outputs a differential signal. The differential current sampling circuit can be located in the motor controller. For example, the differential current sampling circuit is a differential current sensor. The differential signal may include a sampling signal I_U and a reference level signal I_Vref. The sampling signal I_U is converted from the acquired current by the differential current sampling circuit. The voltage magnitude of the sampling signal is generally between 0 and VCC, where VCC can be equal to the supply voltage of the differential current sampling circuit. The voltage magnitude of the reference level signal I_Vref is generally VCC / 2. For example, the differential signal at the first output terminal of the differential current sampling circuit is labeled I_U, and the differential signal at the second output terminal of the differential current sampling circuit is labeled I_Vref.

[0057] In one exemplary embodiment, reference is made to Figure 1 A current detection circuit 1 is provided, which includes a comparison circuit 11, an overcurrent monitoring circuit 12, and a processing unit 13.

[0058] The input terminal b of the comparator circuit 11 is connected to the output terminal a of the differential current sampling circuit. The first output terminal c1 of the comparator circuit 11 is connected to the input terminal d of the overcurrent monitoring circuit 12 and the processing unit 13, respectively. The second output terminal c2 of the comparator circuit 11 is connected to the output terminal e of the overcurrent monitoring circuit 12. The output terminal e of the overcurrent monitoring circuit 12 is connected to the processing unit 13.

[0059] Based on this, the comparator circuit 11 converts the differential signal output from the differential current sampling circuit into a first converted signal and a second converted signal. The first converted signal, after being output from the first output terminal c1 of the comparator circuit 11, enters the processing unit 13 and then passes through the input terminal d of the overcurrent monitoring circuit 12. The second converted signal, after being output from the second output terminal c2 of the comparator circuit 11, enters the processing unit 13 through the output terminal e of the overcurrent monitoring circuit 12.

[0060] For example, the first conversion signal is a voltage signal. The processing unit 13 is, for example, but not limited to, a digital signal processor (DSP). In conventional art, the processing unit 13 can determine the current value of the acquired current based on the first conversion signal.

[0061] For example, the second conversion signal is a level signal, such as a high level or a low level. For instance, when the differential signal output by the differential current sampling circuit is not zero, that is, when both the sampling signal I_U and the reference level signal I_Vref output by the differential current sampling circuit are not zero, the second conversion signal is high, so the level signal output by the comparison circuit 11 to the output terminal e of the overcurrent monitoring circuit 12 is high; when the differential signal output by the differential current sampling circuit is zero, that is, when both the sampling signal I_U and the reference level signal I_Vref output by the differential current sampling circuit are zero, the second conversion signal is low, so the level signal output by the comparison circuit 11 to the output terminal e of the overcurrent monitoring circuit 12 is low.

[0062] A zero differential signal output from a differential current sampling circuit can also be interpreted as the differential current sampling circuit having no actual output. There are several situations that can cause a differential current sampling circuit to have no output. For example, if the differential current sampling circuit itself malfunctions or the connection between it and its surrounding circuits is broken, the differential signal output by the differential current sampling circuit will be zero. Faults include, for example, a power outage of the differential current sampling circuit, the differential current sampling circuit malfunctioning, or the differential current sampling circuit not starting. A broken connection includes, for example, the connection between the output terminal a of the differential current sampling circuit and the input terminal b of the comparator circuit 11 being disconnected.

[0063] The output terminal e of the overcurrent monitoring circuit 12 is connected to the processing unit 13. Based on this, the overcurrent monitoring circuit 12 converts the first conversion signal into a third conversion signal and outputs it from the output terminal e of the overcurrent monitoring circuit 12, which then enters the processing unit 13.

[0064] For example, the third conversion signal is a level signal, such as a high level or a low level. The overcurrent monitoring circuit 12 can be a hardware circuit for monitoring whether there is an overcurrent. The output terminal e of the overcurrent monitoring circuit 12 is used to output the monitoring result, and the third conversion signal is used to characterize the monitoring result. For example, when the third conversion signal is high, the monitoring result is that there is no overcurrent; when the third conversion signal is low, the monitoring result is that there is an overcurrent. That is, when the level signal at the output terminal e of the overcurrent monitoring circuit 12 is low, it indicates that there is an overcurrent. Therefore, the low level at the output terminal e of the overcurrent monitoring circuit 12 can be considered an overcurrent level signal.

[0065] For example, the overcurrent monitoring circuit 12 is connected to a threshold signal. When the first conversion signal does not exceed the threshold signal, the third conversion signal is high, indicating that no overcurrent has occurred; when the first conversion signal exceeds the threshold signal, the third conversion signal is low, indicating that an overcurrent has occurred.

[0066] It can be seen that when the differential signal output by the differential current sampling circuit is zero or when the monitoring result determined by the overcurrent monitoring circuit 12 is an overcurrent, the level signal of the output terminal e of the overcurrent monitoring circuit 12 is low, that is, an overcurrent level signal.

[0067] Based on this, if the second conversion signal or the third conversion signal is an overcurrent level signal, and the signal amplitude determined according to the first conversion signal is less than the set threshold, the processing unit 13 determines that the differential signal output by the differential current sampling circuit is zero.

[0068] In conventional techniques, when processing unit 13 receives an overcurrent level signal, it can further determine whether the current value determined based on the first conversion signal is greater than or equal to a set overcurrent threshold. If it is determined to be greater than or equal to the set overcurrent threshold, processing unit 13 determines that an overcurrent has occurred. If it is determined to be less than the set overcurrent threshold, processing unit 13 determines that the differential signal output by the differential current sampling circuit is zero, not that the current sampled by the differential current sampling circuit is 0A. If processing unit 13 does not receive an overcurrent level signal, it does not need to further determine whether the current value determined based on the first conversion signal is overcurrent; it can directly determine the current value based on the first conversion signal.

[0069] In related technologies, due to the structural characteristics of the current detection circuit itself, when the sampled current is 0A and the differential signal output by the differential current sampling circuit is zero, the processor determines the same current value based on the voltage signal. That is, it is impossible to distinguish whether the current is 0A or the differential signal output by the differential current sampling circuit is zero, resulting in low reliability of current sampling.

[0070] In this embodiment, by improving the structure of the current detection circuit 1 itself, the differential signal of the differential current sampling circuit is not only converted into a first conversion signal, but also into a second conversion signal. When the differential signal output by the differential current sampling circuit is zero, the converted second conversion signal is an overcurrent level signal, which is, for example, a low level. That is, the overcurrent level signal is the level signal used by the overcurrent monitoring circuit 12 to characterize the occurrence of overcurrent. The low-level third conversion signal is also an overcurrent level signal. When the processing unit 13 receives the overcurrent level signal, it further determines whether the current value determined by the first conversion signal is overcurrent (i.e., greater than or equal to a set overcurrent threshold). If it determines that there is no overcurrent (i.e., less than the set overcurrent threshold), the processing unit 13 determines that the differential signal output by the differential current sampling circuit is zero, thereby distinguishing between the zero differential signal condition and the 0A current condition, thus improving the reliability of current sampling.

[0071] In other words, although the current value determined by the processing unit 13 based on the first conversion signal is the same when the sampled current is 0A and when the differential signal output by the differential current sampling circuit is zero, in this embodiment, when the differential signal output by the differential current sampling circuit is zero, the processing unit 13 can also receive an overcurrent level signal. This overcurrent level signal is a low-level second conversion signal, which instructs the processing unit 13 to further determine whether the current value determined based on the first conversion signal is overcurrent. If it is determined that there is no overcurrent, the processing unit 13 can determine that the differential signal output by the differential current sampling circuit is zero. This distinguishes the working condition where the differential signal is zero, thus improving the reliability of current sampling.

[0072] When the differential signal output by the differential current sampling circuit is not zero, the second conversion signal is high. If the third conversion signal is high at this time, the processing unit 13 will not receive an overcurrent level signal. The processing unit 13 does not need to further determine whether the current value determined by the first conversion signal is overcurrent. It can directly determine the current value based on the first conversion signal. In this case, the processing unit 13 can directly determine the working condition where the sampled current is 0A, thus distinguishing the working condition where the sampled current is 0A.

[0073] In addition, when the differential signal output by the differential current sampling circuit is not zero, the second conversion signal is high. If the third conversion signal is low at this time, that is, the processing unit 13 still receives the overcurrent level signal, the processing unit 13 can still further determine whether the current value determined by the first conversion signal is overcurrent. If overcurrent is determined, the processing unit 13 determines that the sampled current is overcurrent, and it is not the case that the differential signal output by the differential current sampling circuit is zero.

[0074] In summary, the solution of this application embodiment can distinguish between the operating condition where the sampled current is 0A, the operating condition where the differential signal output by the differential current sampling circuit is zero, and the operating condition where the sampled current is overcurrent, thereby improving the reliability of current sampling.

[0075] In one exemplary embodiment, reference is made to Figure 2 The comparator circuit 11 includes an operational amplifier comparator module 111 and an output detection module 112.

[0076] The first input terminal f1 of the operational amplifier comparator module 111 is connected to the first output terminal of the differential current sampling circuit. The differential signal at the first output terminal of the differential current sampling circuit is labeled I_U. The output terminal g of the operational amplifier comparator module 111 is connected to the input terminal d of the overcurrent monitoring circuit 12 and the processing unit 13, respectively. Based on this, the operational amplifier comparator module 111 converts the differential signal output by the differential current sampling circuit into the first conversion signal, and inputs it to the input terminal d of the overcurrent monitoring circuit 12 and the processing unit 13, respectively.

[0077] The operational amplifier comparator module 111 inputs the first conversion signal to the overcurrent monitoring circuit 12 for overcurrent monitoring. The operational amplifier comparator module 111 also inputs the first conversion signal to the processing unit 13 for determining the current value.

[0078] The input terminal h of the output detection module 112 is connected to the second output terminal of the differential current sampling circuit. The differential signal at the second output terminal of the differential current sampling circuit is labeled I_Vref. The first output terminal i1 of the output detection module 112 is connected to the second input terminal f2 of the operational amplifier comparator module 111. The second output terminal i2 of the output detection module 112 is connected to the output terminal e of the overcurrent monitoring circuit 12. Based on this, the output detection module 112 converts the differential signal I_Vref output by the differential current sampling circuit into a second conversion signal and outputs it from the second output terminal i2 of the output detection module 112 to the output terminal e of the overcurrent monitoring circuit 12. Furthermore, when the differential signal I_Vref at the second output terminal of the differential current sampling circuit is not zero, the input terminal h of the output detection module 112 is connected to the first output terminal i1 of the output detection module 112; when the differential signal I_Vref at the second output terminal of the differential current sampling circuit is zero, the input terminal h of the output detection module 112 is disconnected from the first output terminal i1 of the output detection module 112.

[0079] In related technologies, due to the structural characteristics of the operational amplifier comparator module itself, the signal at the second input terminal of the operational amplifier comparator module is the same when the sampled current is 0A and when the differential signal output by the differential current sampling circuit is zero. As a result, the processor determines the same current value based on the voltage signal, which means it cannot distinguish between the working condition of 0A current and the working condition of zero differential signal output by the differential current sampling circuit, resulting in low reliability of current sampling.

[0080] In this embodiment, when the differential signal I_Vref at the second output terminal of the differential current sampling circuit is zero, the input terminal h of the output detection module 112 is disconnected from the first output terminal i1 of the output detection module 112. This disconnects the input terminal h of the output detection module 112 from the second input terminal f2 of the operational amplifier comparator module 111, ensuring that the signal at the input terminal h of the output detection module 112 is not affected by the second input terminal f2 of the operational amplifier comparator module 111. This ensures that the signal at the input terminal h of the output detection module 112 is always the same as the differential signal I_Vref at the second output terminal of the differential current sampling circuit, maintaining consistency. Thus, the second conversion signal obtained by the output detection module 112 can accurately and reliably reflect whether the differential signal is zero or not, thereby ensuring that the processing unit 13 can accurately and reliably distinguish different operating conditions based on the second conversion signal, thereby ensuring the reliability of current sampling.

[0081] In one exemplary embodiment, reference is made to Figure 3 The output detection module 112 includes a switching unit 1121 and a comparison unit 1122.

[0082] The input terminal of the switching unit 1121 is connected to the second output terminal of the differential current sampling circuit, and the output terminal of the switching unit 1121 is connected to the second input terminal f2 of the operational amplifier comparator module 111. Therefore, when the differential signal I_Vref at the second output terminal of the differential current sampling circuit is not zero, the switching unit 1121 is turned on; when the differential signal I_Vref at the second output terminal of the differential current sampling circuit is zero, the switching unit 1121 is turned off.

[0083] The input terminal of the comparator unit 1122 is connected to the input terminal of the switch unit 1121, and the output terminal of the comparator unit 1122 is connected to the output terminal e of the overcurrent monitoring circuit 12. Based on this, the comparator unit 1122 converts the differential signal I_Vref output by the differential current sampling circuit into a second conversion signal, and outputs it from the output terminal of the comparator unit 1122 to the output terminal e of the overcurrent monitoring circuit 12.

[0084] In this embodiment, when the differential signal I_Vref at the second output of the differential current sampling circuit is zero, the switching unit 1121 is turned off, thereby disconnecting the input of the switching unit 1121 from the second input f2 of the operational amplifier comparator module 111. This ensures that the level signal at the input of the switching unit 1121 is not affected by the second input f2 of the operational amplifier comparator module 111, thus ensuring that the signal at the input of the switching unit 1121 is always the same as the differential signal I_Vref at the second output of the differential current sampling circuit. In this way, the second conversion signal obtained by the comparator unit 1122 can accurately and reliably reflect whether the differential signal is zero or not, thereby ensuring that the processing unit 13 can accurately and reliably distinguish different operating conditions based on the second conversion signal, thereby ensuring the reliability of current sampling.

[0085] In one exemplary embodiment, reference is made to Figure 4 The switching unit 1121 includes a transistor subunit 11211 and a resistor subunit 11212.

[0086] The first terminal of transistor subunit 11211 is connected to the second output terminal of differential current sampling circuit. The differential signal of the second output terminal of differential current sampling circuit is marked as I_Vref. The second terminal of transistor subunit 11211 is connected to the second input terminal f2 of operational amplifier comparator module 111. The third terminal of transistor subunit 11211 is grounded to GND through resistor subunit 11212.

[0087] Specifically, when the differential signal I_Vref at the second output terminal of the differential current sampling circuit is not zero, the transistor subunit 11211 is turned on; when the differential signal I_Vref at the second output terminal of the differential current sampling circuit is zero, the transistor subunit 11211 is turned off. The resistor subunit 11212 serves as a current limiter, protecting the transistor subunit 11211.

[0088] In one exemplary embodiment, reference continues to... Figure 4 The transistor subunit 11211 includes a transistor Q, and the resistor subunit 11212 includes a first resistor R1. This makes the switching unit 1121 simple in structure, easy to implement, and low in cost. Specifically, the first terminal of transistor Q serves as the first terminal of transistor subunit 11211, the second terminal of transistor Q serves as the second terminal of transistor subunit 11211, and the control terminal of transistor Q serves as the third terminal of transistor subunit 11211.

[0089] In one exemplary embodiment, reference is made to Figure 5 The switching unit 1121 includes a field-effect transistor subunit 11213 and a first voltage divider subunit 11214.

[0090] The first terminal of the field-effect transistor subunit 11213 is connected to the second output terminal of the differential current sampling circuit. The differential signal at the second output terminal of the differential current sampling circuit is labeled I_Vref. The second terminal of the field-effect transistor subunit 11213 is connected to the second input terminal f2 of the operational amplifier comparator module 111. The third terminal of the field-effect transistor subunit 11213 is connected to the output terminal of the first voltage divider subunit 11214. The input terminal of the first voltage divider subunit 11214 is connected to the first terminal of the field-effect transistor subunit 11213, and the first voltage divider subunit 11214 is grounded (GND).

[0091] Specifically, when the differential signal I_Vref at the second output terminal of the differential current sampling circuit is not zero, the field-effect transistor sub-unit 11213 is turned on; when the differential signal I_Vref at the second output terminal of the differential current sampling circuit is zero, the field-effect transistor sub-unit 11213 is turned off. The first voltage divider sub-unit 11214 provides a driving voltage to the third terminal of the field-effect transistor sub-unit 11213.

[0092] In one exemplary embodiment, reference continues to... Figure 5The field-effect transistor subunit 11213 includes a field-effect transistor M, which enables the switching unit 1121 to have a fast response speed and high operational reliability. Specifically, the first terminal of the field-effect transistor M serves as the first terminal of the field-effect transistor subunit 11213, the second terminal of the field-effect transistor M serves as the second terminal of the field-effect transistor subunit 11213, and the control terminal of the field-effect transistor M serves as the third terminal of the field-effect transistor subunit 11213.

[0093] The first voltage divider unit 11214 includes a second resistor R2 and a third resistor R3. The first end of the second resistor R2 is connected to the first terminal of the field-effect transistor M, the second end of the second resistor R2 is connected to the first end of the third resistor R3, the first end of the third resistor R3 is connected to the control terminal of the field-effect transistor M, and the second end of the third resistor R3 is grounded to GND.

[0094] In one exemplary embodiment, reference is made to Figure 6 The switching unit 1121 includes a diode subunit 11215.

[0095] The first terminal of the diode subunit 11215 is connected to the second output terminal of the differential current sampling circuit, and the second terminal of the diode subunit 11215 is connected to the second input terminal of the operational amplifier comparator module 111.

[0096] Specifically, when the differential signal I_Vref at the second output terminal of the differential current sampling circuit is not zero, the diode sub-unit 11215 is turned on; when the differential signal I_Vref at the second output terminal of the differential current sampling circuit is zero, the diode sub-unit 11215 is turned off.

[0097] In one exemplary embodiment, reference continues to... Figure 6 The diode subunit 11215 includes a diode D, which makes the structure of the switching unit 1121 simpler, easier to implement, and lower in cost. The anode of diode D serves as the first terminal of the diode subunit 11215, and the cathode of diode D serves as the second terminal of the diode subunit 11215.

[0098] In one exemplary embodiment, reference is made to Figure 7 The comparison unit 1122 includes a second pressure dividing subunit 11221 and a first comparison subunit 11222.

[0099] The first input terminal of the first comparison subunit 11222 is connected to the input terminal of the switching unit 1121, the second input terminal of the first comparison subunit 11222 is connected to the output terminal of the second voltage divider subunit 11221, and the output terminal of the first comparison subunit 11222 is connected to the output terminal e of the overcurrent monitoring circuit 12.

[0100] The input terminal of the second voltage divider unit 11221 is connected to the first power supply voltage VCC, and the second voltage divider unit 11221 is grounded to GND.

[0101] The first comparison subunit 11222 compares the electrical signal at the first input terminal of the first comparison subunit 11222 with the electrical signal at the second input terminal of the first comparison subunit 11222, and then outputs the second conversion signal from the output terminal of the first comparison subunit 11222.

[0102] That is, the first comparison subunit 11222 compares the differential signal I_Vref at the second output terminal of the differential current sampling circuit with the electrical signal at the output terminal of the second voltage divider subunit 11221, and then outputs a second conversion signal at the output terminal of the first comparison subunit 11222. When the differential signal I_Vref at the second output terminal of the differential current sampling circuit is not zero, the differential signal I_Vref is greater than the level signal at the output terminal of the second voltage divider subunit 11221, so the output second conversion signal is high level; when the differential signal I_Vref at the second output terminal of the differential current sampling circuit is zero, the differential signal I_Vref is less than the level signal at the output terminal of the second voltage divider subunit 11221, so the output second conversion signal is low level.

[0103] In one exemplary embodiment, reference continues to... Figure 7 The first comparator subunit 11222 includes a first comparator U1 and a fourth resistor R4, which serves as a current limiter. The first end of the fourth resistor R4 is connected to the input terminal of the switching unit 1121, and the second end of the fourth resistor R4 is connected to the positive input terminal of the first comparator U1. The positive power supply terminal of the first comparator U1 is connected to the first power supply voltage VCC, and the negative power supply terminal of the first comparator U1 is grounded to GND.

[0104] The second voltage divider unit 11221 includes a fifth resistor R5 and a sixth resistor R6. The first terminal of the fifth resistor R5 is connected to the first power supply voltage VCC, the second terminal of the fifth resistor R5 is connected to the first terminal of the sixth resistor R6, the first terminal of the sixth resistor R6 is connected to the negative input terminal of the first comparator U1, and the second terminal of the sixth resistor R6 is grounded to GND.

[0105] In one exemplary embodiment, reference is made to Figure 8 The overcurrent monitoring circuit 12 includes a second comparison subunit 121, a third comparison subunit 122, and an output subunit 123.

[0106] The first input terminal of the second comparison subunit 121 is connected to the first threshold signal IS_L, the second input terminal of the second comparison subunit 121 is connected to the first output terminal c1 of the comparison circuit 11, and the output terminal of the second comparison subunit 121 is connected to the input terminal of the output subunit 123. Based on this, after comparing the first threshold signal IS_L with the first conversion signal, the second comparison subunit 121 outputs the first comparison result from its output terminal to the input terminal of the output subunit 123.

[0107] The first input terminal of the third comparison subunit 122 is connected to the first output terminal c1 of the comparison circuit 11, the second input terminal of the third comparison subunit 122 is connected to the second threshold signal IS_H, and the output terminal of the third comparison subunit 122 is connected to the input terminal of the output subunit 123. Based on this, after comparing the second threshold signal IS_H with the first conversion signal, the third comparison subunit 122 outputs the second comparison result from its output terminal to the input terminal of the output subunit 123.

[0108] The output terminal of the output subunit 123 is connected to the processing unit 13. Based on this, the output subunit 123 converts the first comparison result or the second comparison result into a third conversion signal.

[0109] Specifically, when the collected current is the negative half-cycle current, the overcurrent monitoring circuit 12 compares the first conversion signal with the first threshold signal IS_L through the second comparison subunit 121 to determine whether an overcurrent has occurred. When the collected current is the positive half-cycle current, the overcurrent monitoring circuit 12 compares the first conversion signal with the second threshold signal IS_H through the third comparison subunit 122 to determine whether an overcurrent has occurred.

[0110] In one exemplary embodiment, reference is made to Figure 9The second comparator subunit 121 includes a second comparator U2, a seventh resistor R7, an eighth resistor R8, a first capacitor C1, a second capacitor C2, and a third capacitor C3. The seventh resistor R7, the eighth resistor R8, the first capacitor C1, the second capacitor C2, and the third capacitor C3 serve as filters and voltage regulators. Specifically, the first terminal of the seventh resistor R7 is connected to the first threshold signal IS_L, and the second terminal of the seventh resistor R7 is connected to the negative input terminal of the second comparator U2. The first terminal of the first capacitor C1 is connected to the first terminal of the seventh resistor R7, and the second terminal of the first capacitor C1 is grounded (DGND). The first terminal of the eighth resistor R8 is connected to the first output terminal of the comparator circuit 11, and the second terminal of the eighth resistor R8 is connected to the positive input terminal of the second comparator U2. The first terminal of the second capacitor C2 is connected to the second terminal of the eighth resistor R8, and the second terminal of the second capacitor C2 is grounded (DGND). The first terminal of the third capacitor C3 is connected to the positive power supply terminal of the second comparator U2, which is connected to the second power supply voltage +12V. The second terminal of the third capacitor C3 is grounded to DGND, and the negative power supply terminal of the second comparator U2 is grounded to DGND.

[0111] The third comparator subunit 122 includes a third comparator U3, a ninth resistor R9, a tenth resistor R10, a fourth capacitor C4, and a fifth capacitor C5. The ninth resistor R9, tenth resistor R10, fourth capacitor C4, and fifth capacitor C5 serve as filters and voltage regulators. Specifically, the first terminal of the ninth resistor R9 is connected to the first output terminal of the comparator circuit 11, and the second terminal of the ninth resistor R9 is connected to the negative input terminal of the third comparator U3. The first terminal of the fourth capacitor C4 is connected to the second terminal of the ninth resistor R9, and the second terminal of the fourth capacitor C4 is grounded (DGND). The first terminal of the tenth resistor R10 is connected to the second threshold signal IS_H, and the second terminal of the tenth resistor R10 is connected to the positive input terminal of the third comparator U3. The first terminal of the fifth capacitor C5 is connected to the first terminal of the tenth resistor R10, and the second terminal of the fifth capacitor C5 is grounded (DGND). The positive power supply terminal of the third comparator U3 can be connected to a corresponding power supply voltage, and the negative input terminal of the third comparator U3 can be grounded (DGND).

[0112] The output subunit 123 includes an eleventh resistor R11, a twelfth resistor R12, and a sixth capacitor C6. The outputs of the second comparator U2 and the third comparator U3 are both connected to the first terminal of the eleventh resistor R11. The second terminal of the eleventh resistor R11 is connected to the third power supply voltage +5V. The first terminal of the twelfth resistor R12 is connected to the first terminal of the eleventh resistor R11, and the second terminal of the twelfth resistor R12 is connected to the processing unit 13. The first terminal of the sixth capacitor C6 is connected to the second terminal of the twelfth resistor R12, and the second terminal of the sixth capacitor C6 is grounded to DGND.

[0113] In one exemplary embodiment, reference is made to Figure 10The operational amplifier comparison module 111 includes a third voltage divider subunit 1111, a fourth comparison subunit 1112, and a feedback subunit 1113.

[0114] The input terminal of the third voltage divider unit 1111 is connected to the first power supply voltage VCC, and the third voltage divider unit 1111 is grounded to GND.

[0115] The first input terminal of the fourth comparison subunit 1112 is connected to the output terminal of the third voltage divider subunit 1111 and the first output terminal of the differential current sampling circuit. The second input terminal of the fourth comparison subunit 1112 is connected to the first output terminal c1 of the output detection module 112. The second input terminal of the fourth comparison subunit 1112 is connected to the output terminal of the fourth comparison subunit 1112 through the feedback subunit 1113. The output terminal of the fourth comparison subunit 1112 is connected to the input terminal d of the overcurrent monitoring circuit 12 and the processing unit 13, respectively.

[0116] In one exemplary embodiment, reference continues to... Figure 11 , Figure 12 or Figure 13 The third voltage divider subunit 1111 includes a thirteenth resistor R13 and a fourteenth resistor R14, which function as a voltage divider. The fourth comparator subunit 1112 includes a fourth comparator U4. The first terminal of the thirteenth resistor R13 is connected to the positive input terminal of the fourth comparator U4, and the second terminal of the thirteenth resistor R13 is connected to the first power supply voltage VCC. The first terminal of the fourteenth resistor R14 is connected to the positive input terminal of the fourth comparator U4, and the second terminal of the fourteenth resistor R14 is grounded (GND).

[0117] The feedback subunit 1113 includes a fifteenth resistor R15 and a seventh capacitor C7, which serve as the feedback resistor and feedback capacitor, respectively. Specifically, the first terminal of the fifteenth resistor R15 is connected to the negative input terminal of the fourth comparator U4, and the second terminal of the fifteenth resistor R15 is connected to the output terminal of the fourth comparator U4. The first terminal of the seventh capacitor C7 is connected to the negative input terminal of the fourth comparator U4, and the second terminal of the fourth capacitor C7 is connected to the output terminal of the fourth comparator U4.

[0118] In one exemplary embodiment, reference continues to... Figure 11 , Figure 12 or Figure 13The operational amplifier comparator module 111 also includes a sixteenth resistor R16 and eighteenth capacitors C8, C9, R17, C10, R18, and C11, which serve as filters and voltage regulators in the operational amplifier comparator module 111. Specifically, the first terminal of the sixteenth resistor R16 is connected to the first output terminal of the differential current sampling circuit, and the second terminal of the sixteenth resistor R16 is connected to the positive input terminal of the fourth comparator U4. The first terminal of the eighth capacitor C8 is connected to the first terminal of the sixteenth resistor R16, and the second terminal of the eighth capacitor C8 is grounded (GND). The first terminal of the ninth capacitor C9 is connected to the second terminal of the sixteenth resistor R16, and the second terminal of the ninth capacitor C9 is grounded (GND). The first end of the seventeenth resistor R17 is connected to the first output terminal of the output detection module 112, and the second end of the seventeenth resistor R17 is connected to the negative input terminal of the fourth comparator U4. The first end of the tenth capacitor C10 is connected to the first end of the seventeenth resistor R17, and the second end of the tenth capacitor C10 is grounded to GND. The first end of the eighteenth resistor R18 is connected to the output terminal of the fourth comparator U4, and the second end of the eighteenth resistor R18 is connected to the first end of the eleventh capacitor C11. The second end of the eleventh capacitor C11 is connected to the processing unit 13, and the second end of the eleventh capacitor C11 is grounded to GND.

[0119] The following is combined with Figure 9 and Figure 11 The technical solutions of the embodiments of this application are further illustrated by the following examples:

[0120] Figure 11 The signal at the first terminal of the sixteenth resistor R16 is I_U. When the differential signal I_Vref at the second output terminal of the differential current sampling circuit is not zero, the transistor Q is turned on. Figure 11 The signal at the first terminal of the seventeenth resistor R17 is equal to I_Vref. The operational amplifier comparator module 111 converts I_Vref and I_U, from... Figure 11 The second terminal of the eighteenth resistor R18 outputs the first conversion signal as described above. Simultaneously, the second conversion signal output by the first comparator U1 is high. The high-level second conversion signal... Figure 9 The second end of the twelfth resistor R12 has no effect. If the current collected is 0A, then the processing unit 13 can directly determine that it is 0A based on the first conversion signal.

[0121] When the differential signal I_Vref at the second output terminal of the differential current sampling circuit is zero, the transistor Q is turned off, and the level signal at the first terminal of the seventeenth resistor R17 is equal to VCC / 2. The operational amplifier comparator module 111 converts the level signal at the first terminal of the seventeenth resistor R17 and the level signal at the first terminal of the sixteenth resistor R16, and outputs the first conversion signal from the second terminal of the eighteenth resistor R18. At the same time, the second conversion signal output by the first comparator U1 is low. At this time, the second terminal of the twelfth resistor R12 is an overcurrent level signal. The overcurrent level signal is a low-level second conversion signal. After receiving the overcurrent level signal, the processing unit 13 performs an overcurrent judgment on the current value determined according to the first conversion signal. If it is less than the overcurrent threshold, the processing unit 13 determines that the differential signal I_Vref at the second output terminal is zero. If it is greater than or equal to the overcurrent threshold, the processing unit 13 determines that an overcurrent has occurred.

[0122] When the sampled current is 0A, both I_Vref and I_U are equal to VCC / 2. When the differential current sampling circuit has no actual output, the differential signal I_Vref at the second output terminal of the differential current sampling circuit is zero, and the differential signal I_U at the first output terminal of the differential current sampling circuit is also zero. However, because... Figure 11 The voltage divider effect of the thirteenth resistor R13 and the fourteenth resistor R14 will make the voltage level at the first terminal of the sixteenth resistor R16 equal to VCC / 2. Due to the effects of the fourth comparator U4, the fifteenth resistor R15, and the seventh capacitor C7, the voltage level at the first terminal of the seventeenth resistor R17 will also be VCC / 2. Figure 11 By setting transistor Q, the first end of the seventeenth resistor R17 is isolated from the second output terminal of the differential current sampling circuit. The first end of the seventeenth resistor R17 is connected to the second output terminal of the differential current sampling circuit only when transistor Q is turned on, and disconnected when transistor Q is turned off. Based on this, the technical effect of the embodiment of this application is achieved, and the repeated content will not be described again.

[0123] Based on the same inventive concept, this application also provides a motor controller, which includes the current detection circuit provided in any of the above embodiments, and further includes a differential current sampling circuit.

[0124] The motor controller and current detection circuit provided in this application belong to the same utility model concept, can solve the same technical problem, and thus achieve the same technical effect. Repeated content will not be repeated.

[0125] Based on the same inventive concept, this application also provides a vehicle, which includes the motor controller provided in the above embodiments.

[0126] The vehicle and current detection circuits provided in this application belong to the same utility model concept, can solve the same technical problems, and thus achieve the same technical effects. Repeated content will not be repeated.

[0127] In the description of this specification, references to terms such as "some embodiments," "other embodiments," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative descriptions of the above terms do not necessarily refer to the same embodiments or examples.

[0128] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0129] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these modifications and improvements all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A current detection circuit, characterized by, The current detection circuit includes a comparison circuit, an overcurrent monitoring circuit, and a processing unit; the input terminal of the comparison circuit is connected to the output terminal of the differential current sampling circuit, the first output terminal of the comparison circuit is connected to the input terminal of the overcurrent monitoring circuit and the processing unit, the second output terminal of the comparison circuit is connected to the output terminal of the overcurrent monitoring circuit, and the output terminal of the overcurrent monitoring circuit is connected to the processing unit. The comparison circuit converts the differential signal output by the differential current sampling circuit into a first conversion signal and a second conversion signal. The first conversion signal enters the processing unit and the overcurrent monitoring circuit respectively through the first output terminal of the comparison circuit, and the second conversion signal enters the processing unit through the second output terminal of the comparison circuit. The overcurrent monitoring circuit converts the first conversion signal into a third conversion signal, and the third conversion signal enters the processing unit through the output terminal of the overcurrent monitoring circuit; Wherein, if the second conversion signal or the third conversion signal is an overcurrent level signal, and the signal amplitude determined according to the first conversion signal is less than a set threshold, the processing unit determines that the differential signal output by the differential current sampling circuit is zero.

2. The current detection circuit according to claim 1, characterized in that, The comparison circuit includes an operational amplifier comparison module and an output detection module; The first input terminal of the operational amplifier comparator module is connected to the first output terminal of the differential current sampling circuit, and the output terminal of the operational amplifier comparator module is connected to the input terminal of the overcurrent monitoring circuit and the processing unit, respectively. The input terminal of the output detection module is connected to the second output terminal of the differential current sampling circuit, the first output terminal of the output detection module is connected to the second input terminal of the operational amplifier comparison module, and the second output terminal of the output detection module is connected to the output terminal of the overcurrent monitoring circuit. The operational amplifier comparison module converts the differential signal output by the differential current sampling circuit into the first conversion signal; the output detection module converts the differential signal output by the differential current sampling circuit into the second conversion signal and outputs it from the second output terminal of the output detection module. When the differential signal at the second output terminal of the differential current sampling circuit is not zero, the input terminal of the output detection module is connected to the first output terminal of the output detection module; when the differential signal at the second output terminal of the differential current sampling circuit is zero, the input terminal of the output detection module is disconnected from the first output terminal of the output detection module.

3. The current detection circuit according to claim 2, characterized in that, The output detection module includes a switching unit and a comparison unit; The input terminal of the switching unit is connected to the second output terminal of the differential current sampling circuit, and the output terminal of the switching unit is connected to the second input terminal of the operational amplifier comparator module. The input terminal of the comparison unit is connected to the input terminal of the switching unit, and the output terminal of the comparison unit is connected to the output terminal of the overcurrent monitoring circuit. The comparison unit converts the differential signal output by the differential current sampling circuit into the second conversion signal and outputs it from the output terminal of the comparison unit. When the differential signal at the second output terminal of the differential current sampling circuit is not zero, the switching unit is turned on; when the differential signal at the second output terminal of the differential current sampling circuit is zero, the switching unit is turned off.

4. The current detection circuit according to claim 3, characterized in that, The switching unit includes a transistor subunit and a resistor subunit; The first terminal of the transistor subunit is connected to the second output terminal of the differential current sampling circuit, the second terminal of the transistor subunit is connected to the second input terminal of the operational amplifier comparator module, and the third terminal of the transistor subunit is grounded through the resistor subunit.

5. The current detection circuit according to claim 3, characterized in that, The switching unit includes a field-effect transistor subunit and a first voltage divider subunit; The first terminal of the field-effect transistor subunit is connected to the second output terminal of the differential current sampling circuit, the second terminal of the field-effect transistor subunit is connected to the second input terminal of the operational amplifier comparator module, and the third terminal of the field-effect transistor subunit is connected to the output terminal of the first voltage divider subunit. The input terminal of the first voltage divider subunit is connected to the first terminal of the field-effect transistor subunit, and the first voltage divider subunit is grounded.

6. The current detection circuit according to claim 3, characterized in that, The switching unit includes a diode subunit; The first end of the diode subunit is connected to the second output end of the differential current sampling circuit, and the second end of the diode subunit is connected to the second input end of the operational amplifier comparator module.

7. The current detection circuit according to any one of claims 3-6, characterized in that, The comparison unit includes a second pressure dividing subunit and a first comparison subunit; The first input terminal of the first comparison subunit is connected to the input terminal of the switching unit, the second input terminal of the first comparison subunit is connected to the output terminal of the second voltage divider subunit, and the output terminal of the first comparison subunit is connected to the output terminal of the overcurrent monitoring circuit. The input terminal of the second voltage divider unit is connected to the first power supply voltage, and the second voltage divider unit is grounded; Specifically, the first comparison subunit compares the electrical signal at its first input terminal with the electrical signal at its second input terminal, and then outputs the second conversion signal from its output terminal.

8. The current detection circuit according to any one of claims 1-6, characterized in that, The overcurrent monitoring circuit includes a second comparison subunit, a third comparison subunit, and an output subunit; The first input terminal of the second comparison subunit is connected to the first threshold signal, the second input terminal of the second comparison subunit is connected to the first output terminal of the comparison circuit, and the output terminal of the second comparison subunit is connected to the input terminal of the output subunit. The first input terminal of the third comparison subunit is connected to the first output terminal of the comparison circuit, the second input terminal of the third comparison subunit is connected to the second threshold signal, and the output terminal of the third comparison subunit is connected to the input terminal of the output subunit. The output terminal of the output subunit is connected to the processing unit; Wherein, the second comparison subunit compares the first threshold signal with the first conversion signal and outputs a first comparison result from the output terminal of the second comparison subunit; the third comparison subunit compares the second threshold signal with the first conversion signal and outputs a second comparison result from the output terminal of the third comparison subunit; the output subunit converts the first comparison result or the second comparison result into the third conversion signal.

9. The current detection circuit according to any one of claims 2-6, characterized in that, The operational amplifier comparison module includes a third voltage divider subunit, a fourth comparison subunit, and a feedback subunit; The input terminal of the third voltage divider subunit is connected to the first power supply voltage, and the third voltage divider subunit is grounded; the first input terminal of the fourth comparison subunit is connected to the output terminal of the third voltage divider subunit and the first output terminal of the differential current sampling circuit; the second input terminal of the fourth comparison subunit is connected to the first output terminal of the output detection module; the second input terminal of the fourth comparison subunit is connected to the output terminal of the fourth comparison subunit through the feedback subunit; and the output terminal of the fourth comparison subunit is connected to the input terminal of the overcurrent monitoring circuit and the processing unit, respectively.

10. A motor controller, characterized in that, The motor controller includes a differential current sampling circuit and a current detection circuit as described in any one of claims 1-9.

11. A vehicle, characterized in that, The vehicle includes the motor controller as described in claim 10.