Overcurrent protection circuit and method, motor controller and vehicle

Through the combination of current sensor, differential circuit, comparison circuit and logic circuit, the overcurrent trend of three-phase current is judged by the change slope of the voltage signal, and the hardware circuit overcurrent protection of electric vehicle motors is realized, and the overcurrent in the existing technology is solved The safety risks caused by slow detection response improve the shutdown efficiency and safety of the power module.

CN119029800APending Publication Date: 2024-11-26DEEPAL AUTOMOBILE TECH CO LTD

Patent Information

Application Number
CN202411114970.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-14
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

In the prior art, the overcurrent detection method during the operation of electric vehicle motors is slow to respond, resulting in a high safety risk for power modules and cannot be turned off in time, which may lead to extremely high current spikes and a high risk of damage or damage.

Method used

The overcurrent trend of the three-phase current is judged by the change slope of the voltage signal by the hardware circuit, and the overcurrent protection is achieved by avoiding judgment through the MCU, thereby improving shutdown efficiency and safety.

Benefits of technology

The three-phase current change trend is predicted through the slope of the voltage signal, and the power module is shut down in time, reducing the risk of peak current, improving the safety of the power module and avoiding the risk of damage or damage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119029800A_ABST
    Figure CN119029800A_ABST
Patent Text Reader

Abstract

The invention relates to an overcurrent protection circuit and method, a motor controller and a vehicle, and relates to the technical field of computers. The overcurrent protection circuit comprises a current sensor, a differentiating circuit, a comparison circuit and a logic circuit, the current sensor is used for converting the three-phase current into a voltage signal; the differentiating circuit is used for acquiring the voltage signal output by the current sensor and determining the slope of the voltage signal; the comparison circuit is used for acquiring the slope of the voltage signal and outputting a first signal under the condition that the slope of the voltage signal is greater than a preset slope; the first signal is used for indicating overcurrent of the three-phase current; the logic circuit is used for outputting a second signal under the condition that the first signal is received, and the second signal is used for indicating the power module to execute a turn-off operation; the power module includes a plurality of electronics operating based on a three-phase current. Therefore, the power module can be turned off through the hardware circuit, the turn-off efficiency of the power module is improved, and the explosion or damage risk of the power module is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to the field of new energy vehicle motor control technology, and specifically to an overcurrent protection circuit, method, motor controller and vehicle. Background Art

[0002] During the operation of the motor of an electric vehicle, if an unexpected large current exceeds the carrying capacity of the motor or controller, it needs to be shut down in time. At present, most traditional overcurrent detection methods use Hall current sensors to convert the three-phase current into a voltage signal, and compare the voltage signal with the threshold through a comparison circuit. When the voltage signal exceeds the threshold, the comparison circuit outputs a level signal to the fault pin of the microcontroller unit (MCU), and the MCU issues a shutdown command, which is executed by the driver chip after passing through the buffer BUFFER. This method can only shut down after the actual overcurrent occurs. At this time, the shutdown current spike of the power module is extremely large, and there is a safety risk to the power module. In addition, it is necessary to issue an instruction after the comparison circuit and MCU make a judgment, and then the driver chip executes the shutdown instruction. Although the MCU chip has a fast shutdown path inside, the entire process from overcurrent to shutdown still takes tens of microseconds, and the shutdown instruction response is slow, and the safety risk of the power module is high.

[0003] CN112736848A proposes to predict the three-phase current corresponding to the next sampling period by fitting the current prediction equation, compare the prediction result with the protection threshold, and turn off the control pulse width modulation signal when it is greater than the protection threshold. This method still needs to turn off the control pulse width modulation signal through the MCU algorithm, and the shutdown command response is slow, so that when the power module is turned off, the power module may have overcurrent, resulting in a high safety risk of the power module. CN111641187B proposes to continuously output a high-level signal through a continuous output module when the voltage is continuously less than the first reference voltage and greater than the second reference voltage within a preset time, so that when a large current occurs and the duration is very short, there is no need to enter the overcurrent protection mode to prevent overcurrent false triggering. However, this method needs to be turned off after a real overcurrent occurs and the overcurrent lasts for a preset time, so that the safety risk of the power module is high. Therefore, how to reduce the safety risk of the power module is a technical problem that needs to be solved urgently. Summary of the invention

[0004] The present application provides an overcurrent protection circuit, method, motor controller and vehicle to at least solve the technical problem of high safety risk of power modules in related technologies. The technical solution of the present application is as follows:

[0005] According to the first aspect of the present application, an overcurrent protection circuit is provided, which includes: a current sensor, a differential circuit, a comparison circuit and a logic circuit; the current sensor is used to convert a three-phase current into a voltage signal; the differential circuit is used to obtain the voltage signal output by the current sensor and determine the slope of the voltage signal; the comparison circuit is used to obtain the slope of the voltage signal and output a first signal when the slope of the voltage signal is greater than a preset slope; the first signal is used to indicate that an overcurrent occurs in the three-phase current; the logic circuit is used to output a second signal when the first signal is received, and the second signal is used to instruct a power module to perform a shutdown operation; the power module includes multiple electronic devices that operate based on the three-phase current.

[0006] According to the above technical means, the change slope of the voltage signal is determined through the current sensor, differential circuit, comparison circuit and logic circuit, and the power module is shut down when the change slope of the voltage signal is greater than the preset slope. The overcurrent protection is realized through the hardware circuit, and there is no need to judge through the MCU, which improves the shutdown efficiency of the power module, thereby improving the safety of the power module. In addition, by comparing the change slope of the voltage signal with the preset slope, the change trend of the three-phase current is predicted, so that the power module is shut down when the actual three-phase current does not exceed the threshold, ensuring that the peak current does not exceed the tolerance value when the power module is shut down, reducing the risk of the power module blowing up or being damaged.

[0007] In one possible implementation, the differential circuit includes an operational amplifier, a differential operational capacitor and a differential operational resistor; the operational amplifier includes an inverting input terminal, a non-inverting input terminal and an output terminal; the inverting input terminal is connected to the current sensor through the differential operational capacitor; the non-inverting input terminal is grounded; the differential operational resistor is connected to the inverting input terminal and the output terminal of the operational amplifier; the differential circuit is used to respond to the rapid change of the voltage signal through the charging and discharging characteristics of the differential operational capacitor when the voltage signal suddenly changes, and to perform a differential operation on the voltage signal based on the operational amplifier and the differential operational resistor to determine the slope of the voltage signal.

[0008] According to the above technical means, the differential circuit can respond to the rapid changes of the voltage signal based on the charging and discharging characteristics of the differential operational capacitor, and perform differential operations on the voltage signal based on the operational amplifier and the differential operational resistor to determine the slope of the voltage signal, thereby capturing the changing trend of the three-phase current corresponding to the voltage signal, so that when the three-phase current shows a large changing trend, the power module can be shut down based on the slope of the voltage signal to avoid damage to the power module.

[0009] In another possible implementation, the differential circuit also includes: a current limiting resistor, a grounding resistor, a phase compensation capacitor and a voltage zener diode; the non-inverting input terminal of the operational amplifier is grounded through the grounding resistor; the inverting input terminal of the operational amplifier is also connected to the current sensor through the current limiting resistor; the phase compensation capacitor and the voltage zener diode are respectively connected in parallel with the differential operational resistor; the phase compensation capacitor and the voltage zener diode are used to control the slope of the stable output voltage signal of the differential circuit.

[0010] According to the above technical means, the phase compensation capacitor stabilizes the output of the operational amplifier in the differential circuit by introducing a phase shift in the negative feedback path, thereby optimizing the phase threshold of the operational amplifier and avoiding self-oscillation. The voltage regulator diode is used to ensure that the slope of the output voltage signal of the differential circuit is stabilized, thereby improving the stability of the differential circuit.

[0011] In another possible implementation, the comparison circuit includes a comparator; the comparator includes a first input terminal, a second input terminal and an output terminal; the first input terminal is connected to the output terminal of the operational amplifier, and is used to obtain the slope of the voltage signal output by the output terminal of the operational amplifier; the input signal of the second input terminal is a preset slope.

[0012] According to the above technical means, the comparison circuit compares the slope of the voltage signal with the preset slope through a comparator, so that when the slope of the voltage signal is greater than the preset slope, the voltage signal suddenly changes, and the three-phase current corresponding to the voltage signal may overcurrent, and the comparison circuit can output a high-level signal through the comparator to shut down the power module.

[0013] In another possible implementation, the comparison circuit further includes a current limiting resistor, a pull-up resistor and a pull-up power supply; the first input terminal is connected to the output terminal of the operational amplifier through the current limiting resistor; the pull-up resistor and the pull-up power supply are connected to the output terminal of the comparator; the pull-up resistor and the pull-up power supply are used to provide a high-level voltage to the comparison circuit when the slope of the voltage signal is greater than a preset slope.

[0014] According to the above technical means, when the slope of the voltage signal is greater than the preset slope, the comparison circuit can output a high-level signal based on the pull-up resistor and the pull-up power supply, so that the logic circuit shuts off the power module based on the high-level signal, reducing the risk of the power module being blown up or damaged.

[0015] In another possible implementation, the first signal is a high-level signal, and the overcurrent protection circuit also includes a latch, the latch input is connected to the output of the comparison circuit, and the output of the latch is connected to the input of the logic circuit; the latch is used to continuously output a high-level signal when receiving a high-level signal output by the comparison circuit.

[0016] According to the above technical means, the latch continuously outputs a high-level signal to the logic circuit, so that the logic circuit shuts off the power module based on the high-level signal output by the latch, thereby reducing the risk of the power module being blown up or damaged.

[0017] In another possible implementation, the first signal is a high-level signal, and the second signal is a low-level signal; the logic circuit includes a logic NOT gate; and the logic NOT gate is used to convert the high-level signal output by the comparison circuit into a low-level signal.

[0018] According to the above technical means, the logic circuit can convert the high-level signal output by the latch into a low-level signal through a logic NOT gate, thereby instructing the power module to shut down based on the low-level signal, and realize the shutdown of the power module through the logical operation of the hardware circuit, thereby improving the shutdown efficiency of the power module.

[0019] In another possible implementation, the logic circuit further includes a logic AND gate; the logic AND gate includes two input terminals and one output terminal; the input terminals of the logic AND gate are respectively connected to the output terminal of the logic NOT gate and the output terminal of the driver chip; the logic AND gate is used to perform an AND operation based on the second signal output by the logic NOT gate and the level signal output by the driver chip, and output a third signal; the third signal is used to control the power module to execute shutdown.

[0020] According to the above technical means, the logic circuit can also perform an AND operation on the second signal output by the logic NOT gate and the level signal output by the driver chip through a logic AND gate to control the power module to shut down, so that the driver chip can also shut down the power module.

[0021] According to the second aspect provided by the present application, an overcurrent protection method is provided, which is applied to an overcurrent protection circuit, the overcurrent protection circuit comprising: a current sensor, a differential circuit, a comparison circuit and a logic circuit, the method comprising: converting the three-phase current into a voltage signal through the current sensor; determining the slope of the voltage signal through the differential circuit; comparing the slope of the voltage signal with a preset slope through the comparison circuit, and outputting a first signal when the slope of the voltage signal is greater than the preset slope; the first signal is used to indicate that an overcurrent occurs in the three-phase current; outputting a second signal based on the first signal through the logic circuit; the second signal is used to instruct the power module to perform a shutdown operation; the power module comprises a plurality of electronic devices operating based on the three-phase current.

[0022] According to the above technical means, the change slope of the voltage signal is determined by the differential circuit, and the power module is turned off when the change slope of the voltage signal is greater than the preset slope. The overcurrent protection is realized by the hardware circuit, and there is no need to judge by the MCU, which improves the shutdown efficiency of the power module, thereby improving the safety of the power module. In addition, by comparing the change slope of the voltage signal with the preset slope, the change trend of the three-phase current is predicted, so that the power module is turned off when the actual three-phase current does not exceed the threshold, ensuring that the peak current does not exceed the tolerance value when the power module is turned off, reducing the risk of the power module blowing up or being damaged.

[0023] In a possible implementation, the overcurrent protection circuit further includes: a latch; the latch input is connected to the output of the comparison circuit, and the output of the latch is connected to the input of the logic circuit; the first signal is a high level signal; the method further includes: continuously outputting the high level signal through the latch.

[0024] According to the above technical means, the latch continuously outputs a high-level signal to the logic circuit, so that the logic circuit shuts off the power module based on the high-level signal output by the latch, thereby reducing the risk of the power module being blown up or damaged.

[0025] According to the third aspect provided by the present application, an overcurrent protection device is provided, the device comprising: a conversion module, a determination module, a comparison module and a shutdown module. The conversion module is used to convert the three-phase current into a voltage signal through a current sensor; the determination module is used to determine the slope of the voltage signal through a differential circuit; the comparison module is used to compare the slope of the voltage signal with a preset slope through a comparison circuit, and output a first signal when the slope of the voltage signal is greater than the preset slope; the first signal is used to indicate that the three-phase current is overcurrent; the shutdown module is used to output a second signal based on the first signal through a logic circuit; the second signal is used to instruct the power module to perform a shutdown operation; the power module includes a plurality of electronic devices that operate based on the three-phase current.

[0026] In a possible implementation manner, the overcurrent protection device further includes: an output module, the output module being configured to continuously output a high level signal through a latch.

[0027] According to the fourth aspect provided by the present application, an electronic device is provided, comprising: a processor; a memory for storing processor executable instructions; wherein the processor is configured to execute instructions to implement the method of the above-mentioned second aspect and any possible implementation manner thereof.

[0028] According to the fifth aspect provided by the present application, a computer-readable storage medium is provided. When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can execute the method in the above-mentioned second aspect and any possible implementation method thereof.

[0029] According to the sixth aspect provided by the present application, a computer program product is provided, the computer program product comprising computer instructions, and when the computer instructions are executed on an electronic device, the electronic device executes the method of the above-mentioned second aspect and any possible implementation manner thereof.

[0030] According to the seventh aspect provided by the present application, a motor controller is provided, which includes at least one overcurrent protection circuit as described in any one of the first aspects above.

[0031] According to an eighth aspect provided by the present application, a vehicle is provided, comprising at least one overcurrent protection circuit as described in any one of the first aspects above.

[0032] Therefore, the above technical features of the present application have the following beneficial effects:

[0033] (1) The slope of the voltage signal is determined by the current sensor, differential circuit, comparison circuit and logic circuit, and the power module is shut down when the slope of the voltage signal is greater than the preset slope. Overcurrent protection is achieved through the hardware circuit without the need for judgment by the MCU, which improves the shutdown efficiency of the power module and thus improves the safety of the power module. In addition, by comparing the slope of the voltage signal with the preset slope, the change trend of the three-phase current is predicted, so that the power module is shut down when the actual three-phase current does not exceed the threshold, ensuring that the peak current does not exceed the tolerance value when the power module is shut down, reducing the risk of the power module being blown up or damaged.

[0034] (2) The differential circuit can respond to the rapid changes of the voltage signal based on the charge and discharge characteristics of the differential operational capacitor, and perform differential operations on the voltage signal based on the operational amplifier and the differential operational resistor to determine the slope of the voltage signal, thereby capturing the change trend of the three-phase current corresponding to the voltage signal, so that when the three-phase current shows a large change trend, the power module can be shut down based on the slope of the voltage signal to avoid damage to the power module.

[0035] (3) The phase compensation capacitor stabilizes the output of the operational amplifier in the differential circuit by introducing a phase shift in the negative feedback path, thereby optimizing the phase threshold of the operational amplifier and avoiding self-oscillation. The voltage regulator diode also ensures that the slope of the output voltage signal of the differential circuit is stable, thereby improving the stability of the differential circuit.

[0036] (4) The comparison circuit compares the slope of the voltage signal with the preset slope through a comparator, so that when the slope of the voltage signal is greater than the preset slope, the voltage signal suddenly changes, and the three-phase current corresponding to the voltage signal may overcurrent, and the comparison circuit can output a high-level signal through the comparator to shut down the power module.

[0037] (5) When the slope of the voltage signal is greater than a preset slope, the comparison circuit can output a high-level signal based on the pull-up resistor and the pull-up power supply, so that the logic circuit shuts off the power module based on the high-level signal, reducing the risk of the power module being blown up or damaged.

[0038] (6) The latch continuously outputs a high-level signal to the logic circuit so that the logic circuit shuts off the power module based on the high-level signal output by the latch, thereby reducing the risk of the power module being blown up or damaged.

[0039] (7) The logic circuit can convert the high-level signal output by the latch into a low-level signal through a logic NOT gate, thereby instructing the power module to shut down based on the low-level signal. The power module is shut down through the logic operation of the hardware circuit, thereby improving the shutdown efficiency of the power module.

[0040] (8) The logic circuit can also perform an AND operation on the second signal output by the logic NOT gate and the level signal output by the driver chip through a logic AND gate to control the power module to shut down, so that the driver chip can also shut down the power module.

[0041] It should be noted that the technical effects brought about by any implementation method in the second to eighth aspects can refer to the technical effects brought about by the corresponding implementation method in the first aspect, and will not be repeated here.

[0042] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification are used to explain the principles of the present application, and do not constitute improper limitations on the present application.

[0044] Figure 1 is a schematic diagram of an overcurrent protection circuit structure according to an exemplary embodiment;

[0045] Figure 2 is a schematic diagram of another overcurrent protection circuit structure according to an exemplary embodiment;

[0046] Figure 3 is a schematic diagram of another overcurrent protection circuit structure according to an exemplary embodiment;

[0047] Figure 4 is a schematic diagram of a topological structure of an overcurrent protection circuit according to an exemplary embodiment;

[0048] Figure 5is a schematic diagram of waveform results of an overcurrent protection circuit simulation according to an exemplary embodiment;

[0049] Figure 6 is a flow chart of an overcurrent protection method according to an exemplary embodiment;

[0050] Figure 7 is a flow chart showing another overcurrent protection method according to an exemplary embodiment;

[0051] Figure 8 is a block diagram of an overcurrent protection device according to an exemplary embodiment;

[0052] Fig. 9 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0053] In order to enable ordinary persons in the art to better understand the technical solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.

[0054] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.

[0055] During the operation of the electric vehicle motor, if an unexpected large current exceeds the carrying capacity of the motor or controller, it needs to be shut down in time. At present, most traditional overcurrent detection methods use Hall current sensors to convert the three-phase current into a voltage signal, and compare the voltage signal with the threshold through a comparison circuit. When the voltage signal exceeds the threshold, the comparison circuit outputs a level signal to the fault pin of the MCU, issues a shutdown command, and is executed by the driver chip after passing through the buffer BUFFER. This method can only shut down after the actual overcurrent occurs. At this time, the shutdown current spike of the power module is extremely large, and there is a safety risk to the power module. In addition, the comparison circuit and MCU need to issue an instruction after judgment, and then the driver chip executes the shutdown instruction. Although the MCU chip has a fast shutdown path inside, the entire process from overcurrent to shutdown still takes tens of microseconds, and the shutdown instruction response is slow, and the safety risk of the power module is high.

[0056] In the related art, an overcurrent soft shutdown circuit is proposed, in which a pulse control signal is output through a control circuit, and an inverter circuit converts direct current into alternating current according to the pulse drive signal and outputs an insulated gate bipolar transistor (IGBT) conduction voltage. The inverter circuit includes an IGBT, a current detection circuit detects the current of the alternating current to output an overcurrent signal, a switch circuit turns off the output of the IGBT conduction voltage according to the overcurrent signal, and the drive circuit stops converting the pulse control signal into a pulse drive signal when the input of the IGBT conduction voltage is stopped. Since the switch circuit turns off the output of the IGBT conduction voltage according to the overcurrent signal so that the drive circuit stops converting the pulse control signal into a pulse drive signal, the overcurrent soft shutdown function is realized, and damage to components caused by rapid changes in current is avoided. This method still shuts down when a real overcurrent occurs, and the response time is relatively long.

[0057] In the related art, a method for overcurrent protection of a motor controller is proposed, which continuously collects and processes the three-phase current of the motor controller at intervals of a preset sampling period, continuously outputs the processed three-phase current as a current sampling value, and predicts the current according to a preset fitting current prediction equation based on multiple current sampling values, obtains the predicted current value corresponding to the next sampling period, judges whether the predicted current value is greater than a preset protection threshold, if so, turns off the control pulse width modulation signal, judges whether the current sampling value corresponding to the current sampling period is less than a preset recovery threshold, if so, outputs the control pulse width modulation signal normally. This method triggers the overcurrent protection action in advance through the prediction algorithm, reduces the risk of component damage, and can achieve online recovery to avoid long-term downtime. However, the need for this method to turn off the control pulse width modulation signal still requires the MCU algorithm to implement, and the actual overcurrent situation may produce an extremely high current slope, and the real-time prediction through the software algorithm cannot achieve a faster response time. Therefore, how to improve the execution efficiency of the shutdown command during overcurrent detection and reduce the safety risk of the power module is a technical problem that needs to be solved urgently.

[0058] In view of the above problems, the present application proposes an overcurrent protection circuit, in which the change slope of the voltage signal is determined by a current sensor, a differential circuit, a comparison circuit and a logic circuit, and the power module is shut down when the change slope of the voltage signal is greater than the preset slope. The overcurrent protection is realized by the hardware circuit, and there is no need to judge by the MCU, which improves the shutdown efficiency of the power module, thereby improving the safety of the power module. In addition, by comparing the change slope of the voltage signal with the preset slope, the change trend of the three-phase current is predicted, so that the power module is shut down when the actual three-phase current does not exceed the threshold, ensuring that the peak current does not exceed the tolerance value when the power module is shut down, and reducing the risk of the power module blowing up or being damaged.

[0059] For ease of understanding, the overcurrent protection circuit provided in the present application is specifically introduced below with reference to the accompanying drawings.

[0060] Figure 1 is a schematic diagram of an overcurrent protection circuit structure according to an exemplary embodiment. Figure 1 As shown, the overcurrent protection circuit 100 may include: a current sensor 101 , a differential circuit 102 , a comparison circuit 103 and a logic circuit 104 .

[0061] The current sensor 101 , the differential circuit 102 , the comparison circuit 103 and the logic circuit 104 are sequentially connected in series.

[0062] In some embodiments, the current sensor 101 is used to convert the three-phase current into a voltage signal. The differential circuit 102 is used to obtain the voltage signal output by the current sensor and determine the slope of the voltage signal. The comparison circuit 103 is used to obtain the slope of the voltage signal and output a first signal when the slope of the voltage signal is greater than a preset slope, and the first signal is used to indicate that the three-phase current is overcurrent. The logic circuit 104 is used to output a second signal when receiving the first signal, and the second signal is used to instruct the power module to perform a shutdown operation, and the power module includes a plurality of electronic devices that operate based on the three-phase current.

[0063] In other embodiments, Figure 2 As shown, the differential circuit 102 includes an operational amplifier 1021, a differential operational capacitor 1022 and a differential operational resistor 1023. Among them, the operational amplifier 1021 includes an inverting input terminal, a non-inverting input terminal and an output terminal, the inverting input terminal is connected to the current sensor 101 through the differential operational capacitor 1022, and the non-inverting input terminal is grounded. The differential operational resistor 1023 connects the inverting input terminal and the output terminal of the operational amplifier 1021. The differential circuit 102 is used to respond to the rapid change of the voltage signal through the charge and discharge characteristics of the differential operational capacitor 1022 when the voltage signal suddenly changes, and the voltage signal is differentially operated based on the operational amplifier 1021 and the differential operational resistor 1023 to determine the slope of the voltage signal. Among them, the sudden change of the voltage signal is that the voltage signal rises or falls sharply in a short time, and the change slope of the voltage signal is greater than the preset threshold, that is, the change slope of the three-phase current exceeds the preset threshold, for example: 5A / us.

[0064] In some other embodiments, Figure 3As shown, the differential circuit 102 also includes: a current limiting resistor 1024, a grounding resistor 1025, a phase compensation capacitor 1026 and a voltage stabilizing diode 1027. The non-inverting input terminal of the operational amplifier 1021 is grounded through the grounding resistor 1025. The inverting input terminal of the operational amplifier 1021 is also connected to the current sensor 101 through the current limiting resistor 1024. The phase compensation capacitor 1026 and the voltage stabilizing diode 1027 are respectively connected in parallel with the differential operational resistor 1023. The phase compensation capacitor and the voltage stabilizing diode are used to control the slope of the output voltage signal of the differential circuit.

[0065] It should be understood that the differential circuit can respond to the rapid change of the voltage signal based on the charge and discharge characteristics of the differential operational capacitor, and perform differential operation on the voltage signal based on the operational amplifier and the differential operational resistor to determine the slope of the voltage signal, so as to capture the change trend of the three-phase current corresponding to the voltage signal, so that when the three-phase current shows a large change trend, the power module is shut down based on the slope of the voltage signal to avoid damage to the power module. The phase compensation capacitor stabilizes the output of the operational amplifier in the differential circuit by introducing a phase shift in the negative feedback path, thereby optimizing the phase threshold of the operational amplifier and avoiding self-oscillation, and ensures that the slope of the output voltage signal of the differential circuit is stabilized by the voltage stabilizing diode, thereby improving the stability of the differential circuit.

[0066] In some other embodiments, Figure 2 As shown, the comparison circuit 103 includes a comparator 1031. The comparator 1031 includes a first input terminal, a second input terminal and an output terminal. The first input terminal is connected to the output terminal of the operational amplifier 1021, and is used to obtain the slope of the voltage signal output by the output terminal of the operational amplifier 1021, and the input signal of the second input terminal is a preset slope.

[0067] In some other embodiments, Figure 3 As shown, the comparison circuit 103 further includes a current limiting resistor 1032, a pull-up resistor 1033 and a pull-up power supply 1034. The first input terminal is connected to the output terminal of the operational amplifier 1021 through the current limiting resistor 1032. The pull-up resistor 1033 and the pull-up power supply 1034 are connected to the output terminal of the comparator 1031, and the pull-up resistor 1033 and the pull-up power supply 1034 are used to provide a high level voltage for the comparison circuit 103 when the slope of the voltage signal is greater than the preset slope.

[0068] It should be understood that the comparison circuit compares the slope of the voltage signal with the preset slope through a comparator, so that when the slope of the voltage signal is greater than the preset slope, the voltage signal suddenly changes, and the three-phase current corresponding to the voltage signal may overcurrent. The comparison circuit can output a high-level signal based on the pull-up resistor and the pull-up power supply, so that the logic circuit shuts off the power module based on the high-level signal, reducing the risk of the power module being blown up or damaged.

[0069] In some other embodiments, Figure 3 As shown, the first signal is a high level signal, and the overcurrent protection circuit 100 further includes a latch 105, the input end of the latch 105 is connected to the output end of the comparison circuit 103, and the output end of the latch 105 is connected to the input end of the logic circuit 104. The latch 105 is used to continuously output a high level signal when receiving a high level signal output by the comparison circuit 103.

[0070] It should be understood that by continuously outputting a high-level signal to the logic circuit through the latch, so that the logic circuit shuts off the power module based on the high-level signal output by the latch, the risk of the power module being blown up or damaged is reduced.

[0071] In some other embodiments, Figure 2 As shown, the first signal is a high level signal, the second signal is a low level signal, and the logic circuit 104 includes a logic NOT gate 1041. The logic NOT gate 1041 is used to convert the high level signal output by the comparison circuit 103 into a low level signal.

[0072] In some other embodiments, Figure 3 As shown, the logic circuit 104 also includes a logic AND gate 1042. The logic AND gate 1042 includes two input terminals and one output terminal, and the input terminals of the logic AND gate 1042 are respectively connected to the output terminal of the logic NOT gate 1041 and the output terminal of the driver chip. The logic AND gate 1042 is used to perform an AND operation based on the second signal output by the logic NOT gate 1041 and the level signal output by the driver chip, and output a third signal, and the third signal is used to control the power module to perform shutdown.

[0073] It should be understood that the logic circuit can convert the high-level signal output by the latch into a low-level signal through a logic NOT gate, thereby instructing the power module to shut down based on the low-level signal, and realizing the shutdown of the power module through the logic operation of the hardware circuit, thereby improving the shutdown efficiency of the power module. The logic circuit can also perform an AND operation on the second signal output by the logic NOT gate and the level signal output by the driver chip through a logic AND gate to control the power module to shut down, so that the driver chip can also shut down the power module.

[0074] Figure 4 is a schematic diagram of a topological structure of an overcurrent protection circuit according to an exemplary embodiment. Figure 4 As shown, the circuit topology includes: a current sensor, a conventional over-current shutdown circuit, a differential circuit, a comparison circuit, a latch and a logic circuit. Among them, the differential circuit and the comparison circuit form a slope comparison circuit.

[0075] In some embodiments, after the current sensor converts the three-phase current into a voltage signal Uin, Uin can be input into a differential circuit. The differential circuit includes: an operational amplifier U1, a current limiting resistor R1, a differential operational capacitor C1, a grounding resistor R2, a differential operational resistor R3, a phase compensation resistor C2, and voltage regulator diodes D1 and D2. Among them, GND represents grounding, VEE represents a high level, and VCC represents a low level. The output of the differential circuit is U_differ, and the operational amplifier U1 needs to be powered by positive and negative voltages to ensure that the output U_differ of the differential circuit can correctly represent the positive and negative slopes. The current limiting resistor R1 is used to limit the current passing through the differential operational resistor R3, thereby limiting the output voltage of the operational amplifier U1. The voltage regulator diodes D1 and D2 are connected in parallel at both ends of the differential operational resistor R3 to prevent the internal amplifier tube of the operational amplifier U1 from entering a saturated or cut-off state and causing blockage when the input voltage Um produces a step change or a pulse-like large interference. In addition, since the lag link of the feedback network is superimposed on the subsequent link inside the integrated operation, it is easy to meet the self-excited oscillation condition, so a small-capacity phase compensation capacitor C2 is connected in parallel across R3 to improve the stability of the circuit.

[0076] The output of the differential circuit is as follows:

[0077] U_differ = -R3C1*(dUin / dt);

[0078] Wherein, dUin / dt is the slope of the waveform of the voltage signal output by the current sensor, R3 is the resistance value of the differential operational resistor, and C1 is the differential operational capacitor.

[0079] In other embodiments, the differential circuit inputs U_differ into the comparison circuit. The comparison circuit includes: a comparator U2, current limiting resistors R4 and R5, and a pull-up resistor R6. The comparison circuit compares the output U_differ of the differential circuit with the reference voltage VREF. When U_differ < VREF (i.e., dUin / dt > -VREF / (R3C1)), the comparator circuit outputs a high impedance state, and the pull-up power supply VCC and the pull-up resistor R6 pull the output U_COMP to a high level. The comparison circuit can input U_COMP to the latch U3 for level maintenance, and the latch U3 outputs a continuous high level Uout, and outputs Uout to the high-voltage side shutdown pin of the driver chip, so that the driver chip can quickly shut down the power module.

[0080] It should be understood that the driver chip has the function of active short circuit protection (ASC) on the high-voltage side. The latch transmits Uout to this pin of the driver chip, so that the driver chip can quickly shut down the power module.

[0081] In some other embodiments, the latch U3 can also input Uout into the logic circuit. The logic circuit includes: a logic NOT gate U4 and a logic AND gate U5. PWM is the control signal output by the driver chip, Uout is the shutdown signal output by the latch, and the logic circuit can make a logical judgment based on the control signal output by the driver chip and the shutdown signal output by the latch to control the shutdown of the power module. U_DRIVE is the output signal of the logic circuit, that is, the drive signal received by the G pole of the power module, and the power module can be shut down based on the output signal of the logic circuit.

[0082] As an example, the functions of the logic circuit are shown in Table 1:

[0083] Table 1

[0084]

[0085] Among them, Table 1 includes: signal names and voltages, and the signal names include PWM, Uout and U_DRIVE. PWM is the control signal output by the driver chip, and Uout is the shutdown signal output by the latch, which is used to control the high-voltage side of the driver chip to shut down. U_DRIVE is the output signal of the logic circuit, which is used to directly control the shutdown of the power module. When Uout is low level VEE, U_DRIVE follows the high and low level changes of the PWM signal. When Uout is high level VCC, U_DRIVE outputs a low level.

[0086] In some other embodiments, after the current sensor converts the three-phase current into a voltage signal Uin, Uin can be input into a traditional overcurrent shutdown circuit. The traditional overcurrent shutdown circuit outputs a low-level signal on the high-voltage side of the driver chip through a comparator, MCU, and BUFFER to control the power module to shut down.

[0087] Figure 5 FIG. 1 is a schematic diagram of waveform results of an overcurrent protection circuit simulation according to an exemplary embodiment. The change trends of the voltage signal Uin of the current sensor, the output voltage signal U_differ of the differential circuit, the output voltage signal U_COMP of the comparison circuit, and the output voltage signal Uout of the latch in the overcurrent protection circuit are shown in FIG. Figure 5 As shown, when Uin has a transient spike, U_differ and U_COMP also have transient spikes accordingly. Uout continues to output a high level based on the transient spike of U_COMP after the instantaneous peak, so that the driving chip or logic circuit shuts down the power module based on the high level of Uout.

[0088] An overcurrent protection method provided in an embodiment of the present application is described below in conjunction with the accompanying drawings.

[0089] Figure 6FIG. 1 is a flow chart of an overcurrent protection method according to an exemplary embodiment. Figure 6 As shown, the overcurrent protection method provided by the present application is applied to an overcurrent protection circuit. The overcurrent protection circuit may include: a current sensor, a differential circuit, a comparison circuit, and a logic circuit. The method may be implemented as follows:

[0090] S601. Convert the three-phase current into a voltage signal through a current sensor.

[0091] As a possible implementation manner, the overcurrent protection circuit can convert the three-phase current into a voltage signal through a current sensor, so as to detect the change trend of the three-phase current based on the converted voltage signal.

[0092] S602: Determine the slope of the voltage signal through a differential circuit.

[0093] As a possible implementation method, after the overcurrent protection circuit converts the three-phase current into a voltage signal through the current sensor, the slope of the voltage signal can be determined through the differential circuit, so as to predict the change trend of the three-phase current based on the slope of the voltage signal, so as to shut down the power module when the three-phase current suddenly changes and overcurrent may occur. Among them, the sudden change of the three-phase current means that the three-phase current rises or falls sharply in a short period of time, that is, the change slope of the three-phase current exceeds the preset threshold, for example: 5A / us.

[0094] Exemplarily, the overcurrent protection circuit may perform a differential operation on the voltage signal through an operational amplifier, a differential operational capacitor, and a differential operational resistor in a differential circuit to determine the slope of the voltage signal.

[0095] S603 . Compare the slope of the voltage signal with a preset slope through a comparison circuit, and output a first signal when the slope of the voltage signal is greater than the preset slope.

[0096] The first signal is used to indicate that an overcurrent occurs in the three-phase current.

[0097] As a possible implementation method, after the overcurrent protection circuit determines the slope of the voltage signal, it can also compare the slope of the voltage signal with a preset slope through a comparison circuit, and output a first signal when the slope of the voltage signal is greater than the preset slope.

[0098] Exemplarily, the overcurrent protection circuit can compare the slope of the voltage signal with the preset slope through the comparator in the comparison circuit, and when the slope of the voltage signal is greater than the preset slope, based on the pull-up resistor and the pull-up power supply of the comparison circuit, the output of the comparator outputs a first signal, i.e., a high-level signal. When the slope of the voltage signal is less than or equal to the preset slope, the overcurrent protection circuit can output a low-level signal through the comparator in the comparison circuit to indicate that the three-phase current has not undergone a sudden change and is in a normal state, and there is no need to shut down the power module.

[0099] It should be understood that the slope of the voltage signal is a voltage value determined based on the differential operational resistance and the differential operational capacitance, and the preset slope is a voltage value corresponding to the normal change slope threshold of the three-phase current, so that the overcurrent protection circuit can compare the slope of the voltage signal with the preset slope through a comparison circuit. Among them, the value of the preset slope is set by relevant management personnel according to actual conditions, and the embodiment of the present application does not limit this.

[0100] S604 , output a second signal based on the first signal through a logic circuit.

[0101] The second signal is used to instruct the power module to perform a shutdown operation; the power module includes a plurality of electronic devices operating based on three-phase current.

[0102] As a possible implementation, after the overcurrent protection circuit outputs the first signal through the comparison circuit, it can also output the second signal based on the first signal through the logic circuit, so as to instruct the power module to perform shutdown based on the second signal.

[0103] Exemplarily, the first signal is a high level signal, and the overcurrent protection circuit can convert the high level signal of the first signal into a low level signal of the second signal through a logic NOT gate in the logic circuit, so as to instruct only the power module to shut down based on the low level signal.

[0104] In some embodiments, the overcurrent protection circuit further includes: a latch, the latch input terminal is connected to the output terminal of the comparison circuit, the output terminal of the latch is connected to the input terminal of the logic circuit, and the first signal is a high level signal. The overcurrent protection method provided by the present application also includes: continuously outputting a high level signal through the latch.

[0105] As a possible implementation, the overcurrent protection circuit can also continuously output a high-level signal through a latch, so that the logic circuit shuts down the power module based on the high-level signal continuously output by the latch and the low-level signal.

[0106] It should be understood that the logic circuit in the overcurrent protection circuit can not only convert the high-level signal output by the latch into a low-level signal through the logic NOT gate to shut down the power module, but also perform a logic AND operation on the low-level signal output by the logic NOT gate and the level signal output by the driver chip through the logic AND gate, thereby shutting down the power module based on the AND operation result. That is, when the output of the logic NOT gate is a high-level signal, the logic AND gate directly outputs a low-level signal to instruct the power module to shut down, and when the output of the logic NOT gate is a low-level signal, the overcurrent protection circuit can operate the power module based on the output of the driver chip. When the output of the driver chip is a high-level signal, the power module operates normally, and when the output of the driver chip is a low-level signal, the power module is controlled to shut down.

[0107] Figure 7 is a flow chart of another overcurrent protection method according to an exemplary embodiment; Figure 7 As shown in the figure, in the traditional overcurrent detection shutdown method, the three-phase current is converted into a voltage signal through the Hall current sensor, and the voltage signal is compared with the voltage value corresponding to the overcurrent threshold through the comparator, and the corresponding level signal is output. The MCU interrupt pin collects the level signal, and the pin that originally outputs the pulse width modulation (PWM) wave control signal is pulled to a low level through the internal hardware or software of the MCU chip, and sent to the low-voltage side of the driver chip through the BUFFER chip. The high-voltage side of the driver chip outputs a low level to control the power module to shut down. In this overcurrent detection shutdown method, the voltage signal and level signal flow through many nodes, and there is a large delay. It can be shut down in time for slowly climbing overcurrent conditions, but the current rising slope of most overcurrent conditions is large. This method cannot respond in time, resulting in the shutdown peak current exceeding the tolerance value of the power module when the power module is shut down, which poses a great safety risk.

[0108] Under normal circumstances, the three-phase current change slope does not exceed 5A / us. In most fault situations, the three-phase current change slope is much larger than this value, such as Figure 7 As shown, the overcurrent protection method of the present application adds a slope comparison circuit and a latch to the traditional overcurrent detection shutdown method. After the current sensor converts the three-phase current into a voltage signal, the voltage signal is input into the slope comparison circuit. The slope comparison circuit detects the rising slope of the three-phase current based on the voltage signal, and compares the rising slope of the three-phase current with the preset threshold. When the rising slope of the three-phase current exceeds the preset threshold, a high level is output to the latch. The latch maintains this high level and outputs the high level to the high-voltage side shutdown pin of the driver chip. The driver chip outputs a low level to shut down the power module. Or the latch maintains this high level, converts it into a low level through logic gate processing, and shuts down the power module.

[0109] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of method and circuit. In order to realize the above functions, the overcurrent protection device or electronic device includes a hardware structure and / or software module corresponding to the execution of each function. It should be easy for those skilled in the art to realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed in this article, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different circuits to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.

[0110] The embodiments of the present application can exemplarily divide the functional modules of the overcurrent protection device or the electronic device according to the above circuit. For example, the overcurrent protection device or the electronic device can include various functional modules corresponding to the various functional divisions, or two or more functions can be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiments of the present application is schematic and is only a logical functional division. There may be other division methods in actual implementation.

[0111] Figure 8 is a block diagram of an overcurrent protection device according to an exemplary embodiment. Figure 8 The overcurrent protection device 800 includes: a conversion module 801, a determination module 802, a comparison module 803 and a shutdown module 804. The conversion module 801 is used to convert the three-phase current into a voltage signal through a current sensor; the determination module 802 is used to determine the slope of the voltage signal through a differential circuit; the comparison module 803 is used to compare the slope of the voltage signal with a preset slope through a comparison circuit, and output a first signal when the slope of the voltage signal is greater than the preset slope; the first signal is used to indicate that the three-phase current is overcurrent; the shutdown module 804 is used to output a second signal based on the first signal through a logic circuit; the second signal is used to instruct the power module to perform a shutdown operation; the power module includes a plurality of electronic devices that operate based on the three-phase current.

[0112] In a possible implementation manner, the overcurrent protection device further includes: an output module 805, where the output module 805 is configured to continuously output a high level signal through a latch.

[0113] According to the above technical means, the change slope of the voltage signal is determined through the current sensor, differential circuit, comparison circuit and logic circuit, and the power module is shut down when the change slope of the voltage signal is greater than the preset slope. The overcurrent protection is realized through the hardware circuit, and there is no need to judge through the MCU, which improves the shutdown efficiency of the power module, thereby improving the safety of the power module. In addition, by comparing the change slope of the voltage signal with the preset slope, the change trend of the three-phase current is predicted, so that the power module is shut down when the actual three-phase current does not exceed the threshold, ensuring that the peak current does not exceed the tolerance value when the power module is shut down, reducing the risk of the power module blowing up or being damaged.

[0114] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the circuit, and will not be elaborated here.

[0115] Fig. 9 FIG. 1 is a block diagram of an electronic device according to an exemplary embodiment. Fig. 9 As shown, the electronic device 900 includes but is not limited to: a processor 901 and a memory 902 .

[0116] The memory 902 is used to store executable instructions of the processor 901. It can be understood that the processor 901 is configured to execute instructions to implement the overcurrent protection circuit in the above embodiment.

[0117] It should be noted that those skilled in the art can understand that Fig. 9 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and the electronic device may include Fig. 9 More or fewer components may be shown, or certain components may be combined, or the components may be arranged differently.

[0118] The processor 901 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 902, and calling data stored in the memory 902, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. The processor 901 may include one or more processing units. Optionally, the processor 901 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 901.

[0119] The memory 902 may be used to store software programs and various data. The memory 902 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one functional module (such as a determination unit, a processing unit, etc.), etc. In addition, the memory 902 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0120] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 902 including instructions, and the above instructions can be executed by a processor 901 of an electronic device 900 to implement the overcurrent protection circuit in the above embodiment.

[0121] In actual implementation, Figure 8 The functions of the conversion module 801, the determination module 802, the comparison module 803, the shutdown module 804 and the output module 805 in the embodiment can be realized by Fig. 9 The processor 901 in the embodiment calls the computer program stored in the memory 902. The specific execution process can refer to the description of the circuit part in the above embodiment, which will not be repeated here.

[0122] Optionally, the computer-readable storage medium may be a non-temporary computer-readable storage medium, for example, the non-temporary computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0123] In an exemplary embodiment, the present application also provides a computer program product including one or more instructions, and the one or more instructions can be executed by the processor 901 of the electronic device to complete the overcurrent protection circuit in the above embodiment.

[0124] In an exemplary embodiment, the present application also provides a motor controller, which includes at least one overcurrent protection circuit as in any of the above embodiments.

[0125] In an exemplary embodiment, the present application also provides a vehicle, which includes at least one overcurrent protection circuit as in any of the above embodiments.

[0126] It should be noted that when the instructions in the above-mentioned computer-readable storage medium or one or more instructions in the computer program product are executed by the processor of the electronic device, the various processes of the above-mentioned circuit embodiment are implemented, and the same technical effect as the above-mentioned circuit can be achieved. To avoid repetition, they will not be repeated here.

[0127] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0128] In the several embodiments provided in the present application, it should be understood that the disclosed devices and circuits can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0129] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0130] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0131] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or the full classification part or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including a number of instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute the full classification part or part of the steps of each embodiment method of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, ROM, RAM, disk or CD and other media that can store program code.

[0132] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. An overcurrent protection circuit, characterized in that: The overcurrent protection circuit includes: a current sensor, a differential circuit, a comparison circuit and a logic circuit; The current sensor is used to convert the three-phase current into a voltage signal; The differential circuit is used to obtain the voltage signal output by the current sensor and determine the slope of the voltage signal; The comparison circuit is used to obtain the slope of the voltage signal, and output a first signal when the slope of the voltage signal is greater than a preset slope; the first signal is used to indicate that an overcurrent occurs in the three-phase current; The logic circuit is used to output a second signal when receiving the first signal, wherein the second signal is used to instruct the power module to perform a shutdown operation; the power module includes a plurality of electronic devices operating based on the three-phase current.

2. The circuit according to claim 1, characterized in that The differential circuit includes an operational amplifier, a differential operational capacitor and a differential operational resistor; the operational amplifier includes an inverting input terminal, a non-inverting input terminal and an output terminal; the inverting input terminal is connected to the current sensor through the differential operational capacitor; the non-inverting input terminal is grounded; the differential operational resistor is connected to the inverting input terminal and the output terminal of the operational amplifier; the differential circuit is used to respond to the rapid change of the voltage signal through the charging and discharging characteristics of the differential operational capacitor when the voltage signal suddenly changes, and to perform a differential operation on the voltage signal based on the operational amplifier and the differential operational resistor to determine the slope of the voltage signal.

3. The circuit according to claim 2, characterized in that The differential circuit also includes: a current limiting resistor, a grounding resistor, a phase compensation capacitor and a voltage stabilizing diode; the non-inverting input terminal of the operational amplifier is grounded through the grounding resistor; the inverting input terminal of the operational amplifier is also connected to the current sensor through the current limiting resistor; the phase compensation capacitor and the voltage stabilizing diode are respectively connected in parallel with the differential operational resistor; the phase compensation capacitor and the voltage stabilizing diode are used to control the slope of the voltage signal output by the differential circuit in a stable manner.

4. The circuit according to claim 2, characterized in that The comparison circuit includes a comparator; the comparator includes a first input terminal, a second input terminal and an output terminal; the first input terminal is connected to the output terminal of the operational amplifier, and is used to obtain the slope of the voltage signal output by the output terminal of the operational amplifier; the input signal of the second input terminal is the preset slope.

5. The circuit according to claim 4, characterized in that The comparison circuit also includes a current limiting resistor, a pull-up resistor and a pull-up power supply; the first input terminal is connected to the output terminal of the operational amplifier through the current limiting resistor; the pull-up resistor and the pull-up power supply are connected to the output terminal of the comparator; the pull-up resistor and the pull-up power supply are used to provide a high-level voltage to the comparison circuit when the slope of the voltage signal is greater than the preset slope.

6. The circuit according to claim 1, characterized in that The first signal is a high-level signal; the overcurrent protection circuit also includes a latch; the latch input is connected to the output of the comparison circuit, and the output of the latch is connected to the input of the logic circuit; the latch is used to continuously output a high-level signal when receiving a high-level signal output by the comparison circuit.

7. The circuit according to claim 1, characterized in that The first signal is a high-level signal, and the second signal is a low-level signal; the logic circuit includes a logic NOT gate; the logic NOT gate is used to convert the high-level signal output by the comparison circuit into a low-level signal.

8. The circuit according to claim 7, characterized in that The logic circuit also includes a logic AND gate; the logic AND gate includes two input terminals and one output terminal; the input terminals of the logic AND gate are respectively connected to the output terminal of the logic NOT gate and the output terminal of the driver chip; the logic AND gate is used to perform an AND operation based on the second signal output by the logic NOT gate and the level signal output by the driver chip, and output a third signal; the third signal is used to control the power module to execute shutdown.

9. An overcurrent protection method, applied to the overcurrent protection circuit according to any one of claims 1 to 8, characterized in that: The overcurrent protection circuit includes: a current sensor, a differential circuit, a comparison circuit and a logic circuit; the method includes: Converting the three-phase current into a voltage signal by means of the current sensor; determining the slope of the voltage signal by the differentiating circuit; The comparison circuit compares the slope of the voltage signal with a preset slope, and outputs a first signal when the slope of the voltage signal is greater than the preset slope; the first signal is used to indicate that an overcurrent occurs in the three-phase current; The logic circuit outputs a second signal based on the first signal; the second signal is used to instruct a power module to perform a shutdown operation; the power module includes a plurality of electronic devices operating based on the three-phase current.

10. The method according to claim 9, characterized in that The overcurrent protection circuit further includes: a latch; the latch input end is connected to the output end of the comparison circuit, and the output end of the latch is connected to the input end of the logic circuit; the first signal is a high level signal; the method further includes: A high level signal is continuously outputted through the latch.

11. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the method as claimed in any one of claims 9 to 10.

12. A computer-readable storage medium, characterized in that: When the computer-executable instructions stored in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can perform the method as claimed in any one of claims 9 to 10.

13. A motor controller, characterized in that: The invention comprises at least one overcurrent protection circuit according to any one of claims 1 to 8.

14. A vehicle, characterized in that: The invention comprises at least one overcurrent protection circuit according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • An overcurrent protection circuit, an overcurrent protection method, and an electronic device.

    CN111641187B

  • Overcurrent protection method and device for motor controller

    CN112736848A

Cited By

  • Turn-off control method based on PWM (Pulse Width Modulation) driving signal level and related equipment

    CN119717605A