Over-current detection circuit, circuit board and motor driver
By designing the current sampling and comparison module in a three-phase brushless motor, the overcurrent detection circuit structure is simplified, the high cost problem caused by the complex circuit in the prior art is solved, and efficient overcurrent detection is achieved.
Patent Information
- Application Number
- CN202323340139.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-07
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2033-12-07
AI Technical Summary
The overcurrent detection circuit structure of existing three-phase brushless motors is complex, resulting in high circuit costs.
An overcurrent detection circuit is designed to collect and compare three-phase currents in SVPWM control mode through the current sampling module and the current comparison module to realize overcurrent detection, simplifying the circuit structure and reducing device usage.
While realizing overcurrent detection, the circuit cost is reduced, the circuit structure is simplified, and the chip usage is reduced.
Smart Images

Figure CN222052810U_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic circuits, and in particular to an overcurrent detection circuit, a circuit board and a motor driver. Background Art
[0002] Three-phase brushless motors (hereinafter referred to as motors) usually need to be equipped with overcurrent protection schemes to prevent excessive current from damaging the power tubes on each bridge arm unit when starting or when the motor suddenly reverses. In addition, in the current three-phase brushless motor control scheme, the commonly used control method is to use a five-segment or seven-segment SVPWM (Space Vector Pulse Width Modulation) control mode to control the conduction or disconnection of the six bridge arm units in the three-phase brushless motor.
[0003] Therefore, in the related art, overcurrent detection is usually performed on each phase current separately, that is, each phase current is sampled separately, and then the currents of each phase are aggregated into one path through a logic chip to compare with the current threshold, so as to determine whether overcurrent protection needs to be turned on. However, the circuit structure of the overcurrent protection solution provided in the related art is complex, and it requires the use of multiple chips, such as comparator chips, logic chips, etc., which makes the circuit cost high. Utility Model Content
[0004] The present application provides an overcurrent detection circuit, a circuit board and a motor driver, which solves the problem of complex structure of the overcurrent detection circuit in the three-phase brushless motor in the related art and leads to high circuit cost. The present solution can reduce the use of devices while realizing overcurrent detection, thereby effectively reducing the circuit cost.
[0005] In the first aspect, the present application provides an overcurrent detection circuit, which is connected to a drive circuit connected to a three-phase brushless motor, the drive circuit includes three upper bridge arm units and three lower bridge arm units, each upper bridge arm unit is respectively connected to a different lower bridge arm unit, and each lower bridge arm unit is also respectively connected to a different sampling resistor, and one end of the sampling resistor connected to the lower bridge arm unit is the sampling end, and the overcurrent detection circuit includes a current sampling module and a current comparison module.
[0006] Among them, the current sampling module includes a current access unit and an amplifying unit. The three input ends of the current access unit are respectively connected to the sampling ends of each sampling resistor, and the output end of the current access unit is connected to the input end of the amplifying unit. The current access unit is used to collect the current of each phase under the SVPWM control mode, and the amplifying unit is used to amplify the output of the current access unit; the input end of the current comparison module is connected to the output end of the amplifying unit, and the current comparison module is used to compare the output of the amplifying unit with the current threshold to output a detection signal.
[0007] In a second aspect, the present application also provides a circuit board, which includes the overcurrent detection circuit provided in the first aspect above.
[0008] In a third aspect, the present application further provides a motor driver, which includes the circuit board provided in the second aspect above.
[0009] In the present application, under the SVPWM control mode, each phase current of the three-phase brushless motor can be detected by the circuit of this scheme. The circuit of this scheme completes the collection of phase current by combining the three phase currents into one, and then compares and judges the phase current to determine whether it exceeds the current threshold, thereby realizing the overcurrent detection function. Moreover, the circuit structure is simple, which helps to reduce circuit costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Figure 1 A principle block diagram of an overcurrent detection circuit provided in an embodiment of the present application;
[0011] Figure 2 A schematic diagram of the circuit structure of a current sampling module provided in an embodiment of the present application;
[0012] Figure 3 A schematic diagram of current flow under a vector combination provided by an embodiment of the present application;
[0013] Figure 4 A schematic diagram of the circuit structure of a current comparison module provided in one embodiment of the present application;
[0014] Figure 5 A schematic diagram of the circuit structure of an overcurrent detection circuit provided in one embodiment of the present application. DETAILED DESCRIPTION
[0015] The embodiments of the present application are further described in detail below in conjunction with the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are only used to explain the embodiments of the present application, rather than to limit the embodiments of the present application. It should also be noted that, for ease of description, only the parts related to the embodiments of the present application rather than all structures are shown in the accompanying drawings, and those skilled in the art should be able to think of it after reading the specification of this application that as long as the technical features do not contradict each other, any combination of the technical features can constitute an optional implementation method.
[0016] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally a class, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally represents that the objects associated with each other are in an "or" relationship. In the description of the present application, "multiple" means two or more, and "several" means one or more.
[0017] The commonly used control method for the control scheme of three-phase brushless motors is to use a five-segment or seven-segment SVPWM control mode. The basic principles of the five-segment or seven-segment SVPWM control mode are the same. The seven-segment SVPWM control mode is taken as an example below, which includes 8 vector combinations, specifically 6 non-zero vectors (such as 001, 010, 011, 100, 101 and 110) and 2 zero vectors (such as 000 and 111), where 1 means that the upper bridge arm unit is turned on and the lower bridge arm unit is turned off, and 0 means that the upper bridge arm unit is turned off and the lower bridge arm unit is turned on.
[0018] It should be borne in mind that an upper bridge arm unit and a lower bridge arm unit form a half-bridge branch. In the SVPWM control mode, only one bridge arm unit is turned on at the same time in the branch. When the upper bridge arm unit is turned on, the phase current exists in the upper bridge arm unit; when the lower bridge arm unit is turned on, the phase current exists in the lower bridge arm unit, that is, in each half-bridge branch, one phase current is provided through the upper bridge arm unit or the lower bridge arm unit. The above-mentioned vector combination is used to represent the control of each bridge arm unit, thereby realizing the control of the three-phase circuit in the three-phase brushless motor.
[0019] Figure 1 The principle block diagram of the overcurrent detection circuit provided in one embodiment of the present application is shown in the figure. The overcurrent detection circuit is connected to the drive circuit. The drive circuit includes three upper bridge arm units and three lower bridge arm units. Each upper bridge arm unit is respectively connected to a different lower bridge arm unit, and each lower bridge arm unit is also respectively connected to a different sampling resistor. The three ends of the motor corresponding to the three phases U, V, and W are respectively connected to each upper bridge arm unit, specifically connected to the connection end of the upper bridge arm unit with the lower bridge arm unit.
[0020] The overcurrent detection circuit includes a current sampling module 110 and a current comparison module 120. The overcurrent detection circuit collects the current flowing through each sampling resistor through the current sampling module 110, and the overcurrent detection circuit compares the collected and amplified signals through the current comparison module 120. Specifically, the current sampling module 110 includes a current access unit 111 and an amplification unit 112; the current access unit 111 has three input terminals and the three input terminals are respectively connected to a sampling terminal of a sampling resistor, wherein the sampling terminal of the sampling resistor is an end of the sampling resistor connected to the lower bridge arm unit; and the output terminal of the current access unit 111 is connected to the input terminal of the amplification unit 112, and the output terminal of the amplification unit 112 is connected to the input terminal of the current comparison module 120.
[0021] It can be understood that the current access unit 111 is used to collect the current of each phase in the SVPWM control mode, and the amplification unit 112 amplifies the output of the current access unit 111, and then compares and judges whether the phase current exceeds the threshold through the current comparison module 120. It should be conceived that each lower bridge arm unit is grounded through a sampling resistor, so at the sampling end of the sampling resistor, the current sampling module 110 can collect the voltage on the sampling resistor to realize the collection of the phase current, and the current sampling module 110 amplifies the voltage signal through the amplification unit 112 to facilitate the current comparison module 120 to compare.
[0022] It can be seen from the above scheme that under the SVPWM control mode, each phase current of the three-phase brushless motor can be detected by the circuit of this scheme. The circuit of this scheme completes the collection of phase current by combining the three phase currents into one, so as to compare and judge the phase current to determine whether it exceeds the current threshold, thereby realizing the overcurrent detection function. In addition, the circuit structure is simple, which helps to reduce the circuit cost.
[0023] In some embodiments, the current access unit includes a first resistor, a second resistor, and a third resistor, wherein the first end of the first resistor, the first end of the second resistor, and the first end of the third resistor are respectively connected to sampling ends of different sampling resistors, and the second end of the first resistor, the second end of the second resistor, and the second end of the third resistor are all connected to the input end of the amplification unit. That is, the first resistor, the second resistor, and the third resistor are connected in parallel to collect the phase current flowing through each sampling resistor to the amplification unit.
[0024] It should be noted that the sampling resistor is a milliohm resistor, and the resistance ratios of the first resistor, the second resistor, and the third resistor to the sampling resistor are all greater than a preset threshold value, so that a higher voltage drop can be formed on the first resistor, the second resistor, and the third resistor, and the phase current can be sampled more accurately, which helps to achieve more accurate overcurrent detection.
[0025] In some embodiments, the amplification unit includes an operational amplifier, a first voltage-dividing resistor, and a feedback resistor. Specifically, the non-inverting input terminal of the operational amplifier serves as the input terminal of the amplification unit, and the inverting input terminal of the operational amplifier is connected to the grounded first voltage-dividing resistor; one end of the feedback resistor is connected to the inverting input terminal of the operational amplifier, and the other end of the feedback resistor is connected to the output terminal of the operational amplifier.
[0026] It can be understood that the connection mode of the operational amplifier, the first voltage-dividing resistor and the feedback resistor constitutes a common-mode amplifier, and the gain of the amplifier can be adjusted by setting corresponding resistance values of the first voltage-dividing resistor and the feedback resistor. Therefore, the amplification unit amplifies the signal according to the gain corresponding to the common-mode amplifier it constitutes, so as to facilitate the input current comparison module to perform comparison and judgment, thereby realizing overcurrent detection.
[0027] It should be noted that, in some embodiments, the amplification unit can also form an inverting amplifier through an operational amplifier, a first voltage divider resistor and a feedback resistor, that is, the non-inverting end of the operational amplifier is grounded, and the signal is connected to the inverting input end of the operational amplifier through the first voltage divider resistor, thereby amplifying the signal.
[0028] In some embodiments, the amplification unit further includes a first capacitor, a first end of the first capacitor is connected to the non-inverting input terminal of the operational amplifier, and the other end of the first capacitor is grounded. It is understandable that the first capacitor can filter out the clutter signal connected to the non-inverting input terminal of the operational amplifier to ensure that the circuit can work stably.
[0029] Figure 2 A circuit structure diagram of a current sampling module provided in an embodiment of the present application, as shown in the figure, the current sampling module includes a current access unit 111 and an amplification unit 112, wherein the current access unit 111 includes a first resistor R1, a second resistor R2 and a third resistor R3, and the amplification unit 112 includes an operational amplifier U1, a first voltage divider resistor R4 and a feedback resistor R5.
[0030] Specifically, the current sampling module is connected to different sampling resistors through the first resistor R1, the second resistor R2 and the third resistor R3, such as the first resistor R1 is connected to the sampling resistor Rs1, the second resistor R2 is connected to the sampling resistor Rs2, and the third resistor R3 is connected to the sampling resistor Rs3. Moreover, each sampling resistor adopts a milliohm resistor with the same resistance value, so that the resistance value of each sampling resistor is much smaller than that of each resistor in the current access unit 111, such as each sampling resistor is a mΩ-level resistor, and the resistor in the current access unit is a kΩ-level resistor. In addition, three resistors with equal resistance values can be selected as the first resistor R1, the second resistor R2 and the third resistor R3 in the application.
[0031] Moreover, the first resistor R1, the second resistor R2 and the third resistor R3 are also connected to the non-inverting input terminal of the operational amplifier U1, the non-inverting input terminal of the operational amplifier U1 is also connected to the grounded first capacitor C1, and the inverting input terminal of the operational amplifier U1 is connected to the grounded first voltage-dividing resistor R4; one end of the feedback resistor R5 is connected to the inverting input terminal of the operational amplifier U1, and the other end of the feedback resistor R5 is connected to the output terminal of the operational amplifier U1.
[0032] It can be imagined that in the SVPWM control mode, only one of the upper bridge arm unit and the lower bridge arm unit in the same branch is turned on at the same time, while the other is turned off. For example, the vector combination 001 corresponds to the power tubes in the upper bridge arm units of the two branches of the U phase and the V phase being turned off, while the power tubes in the lower bridge arm units of the two branches being turned on, and the power tubes in the upper bridge arm unit of the branch corresponding to the W phase being turned on, while the power tubes in the lower bridge arm unit of the branch being turned off.
[0033] In the case of vector combination 001, such as Figure 3 As shown, Figure 3 A schematic diagram of current flow under a vector combination provided for an embodiment of the present application, wherein whether there is an arrow indicates whether there is current flowing through the corresponding power tube and the direction of the arrow indicates the direction of the current. In vector combination 001, only the power tube in the upper bridge arm unit in the branch corresponding to the W phase is turned on, and only the power tube in the lower bridge arm unit in the two branches corresponding to the U phase and the V phase is turned on. Therefore, the current flows through the upper bridge arm unit of the corresponding W phase branch and enters the motor, and then flows from the motor to the lower bridge arm units in the two branches corresponding to the U phase and the V phase, and then flows to the sampling resistor Rs1 and the sampling resistor Rs2.
[0034] Therefore, according to Kirchhoff's law, the following equation can be determined:
[0035]
[0036] Among them, MT IU Indicates the sampling voltage at the sampling end of the sampling resistor Rs1, MT IV Indicates the sampling voltage at the sampling end of the sampling resistor Rs2, MT I Represents the voltage value at the non-inverting input terminal of operational amplifier U1.
[0037] It can be understood that the resistance of the sampling resistor Rs3 is much smaller than the resistance of the third resistor, and R1 = R2 = R3, the above equation can be simplified to:
[0038]
[0039]
[0040] Since the three-phase current vector sum is 0, and the sampling resistors are all of the same resistance value, we have MT IU +MT IV =|MT IW ∣, and the above formula can be equivalent to:
[0041]
[0042] Therefore, MT I The value is MT IW Similarly, for other non-zero vectors, the voltage at the non-inverting input terminal of the operational amplifier U1 is 1 / 3 of the sampling voltage of the phase with the largest phase current.
[0043] For the case where the vector combination is 111, that is, only the power tube in the upper bridge arm unit in each branch is turned on, at this time the phase current will not pass through the lower bridge arm unit, and thus MT can be determined. I The value of is 0. For the case where the vector combination is 000, only the power tube in the lower bridge arm unit in each branch is turned on. Similarly, MT can be determined I The value of is 0. Therefore, in the case of a zero vector, MT I The value of is 0, that is, the voltage at the non-inverting input terminal of the operational amplifier U1 is 0.
[0044] In addition, after obtaining the sampled voltage value, the circuit amplifies it through a common-mode amplifier composed of an operational amplifier U1, a first voltage-dividing resistor R4 and a feedback resistor R5, so as to facilitate comparison.
[0045] In each control cycle of the SVPWM control mode, there is a combination of zero vector and non-zero vector. The circuit can achieve the purpose of overcurrent detection within the control cycle by detecting the phase current in the non-zero vector case. Moreover, the circuit combines the three-phase current into one, and there is no need to perform overcurrent detection on each phase separately, which effectively reduces the complexity of the circuit, reduces the use of chips, and effectively reduces the circuit cost.
[0046] In some embodiments, the current comparison module includes a comparator, a second voltage-dividing resistor and a first pull-up resistor, wherein the inverting input terminal of the comparator serves as the input terminal of the current comparison module, and the non-inverting input terminal of the comparator is connected to the grounded second voltage-dividing resistor; one end of the first pull-up resistor is connected to the power supply voltage, and the other end of the first pull-up resistor is connected to the non-inverting input terminal of the comparator.
[0047] It can be understood that the first pull-up resistor and the second voltage-dividing resistor divide the voltage to provide a corresponding voltage value to the in-phase input terminal of the comparator, and the voltage value is associated with the set current threshold. It should be conceivable that the setting of the input voltage of the in-phase input terminal of the comparator can be achieved by configuring the corresponding resistance value. Of course, the inverting input terminal of the comparator is connected to the amplified sampling voltage, which is associated with the phase current. By comparing the input voltages at both ends, the comparator can determine whether the phase current exceeds the current threshold, and output a corresponding signal at its output terminal.
[0048] It can be imagined that the output end of the current comparison module, that is, the output end of the comparator, is connected to the subsequent circuit so as to output a corresponding signal to the subsequent circuit to indicate whether the current phase current exceeds the current threshold. For example, the output end of the comparator is connected to the IO pin of the processor chip. When the phase current exceeds the current threshold, such as when the voltage at the inverting input end of the comparator is greater than the voltage at its inverting input end, the comparator outputs a low level, and the processor chip can determine that the phase current exceeds the current threshold based on the low level; and when the phase current does not exceed the current threshold, such as when the voltage at the inverting input end of the comparator is less than the voltage at its inverting input end, the comparator outputs a high level, and the processor chip can determine that the phase current does not exceed the current threshold based on the high level.
[0049] It should be noted that, in some embodiments, the output end of the comparator of the current comparison module is also connected to a second pull-up resistor, and the second pull-up resistor is connected to the power supply voltage. It can be imagined that when the comparator does not output a low level, the output end of the comparator is at a high level due to the second pull-up resistor; and when the comparator outputs a low level, the comparator can pull down the potential so that its output end is at a low level. Therefore, the output end of the comparator can be correspondingly connected to the low-level triggered pin in the subsequent circuit to inform the subsequent circuit that the current phase current exceeds the current threshold.
[0050] Figure 4 A circuit structure diagram of a current comparison module provided in an embodiment of the present application is shown in the figure, where the in-phase input terminal of the comparator U2 is connected to the grounded second voltage-dividing resistor R6, and the in-phase input terminal of the comparator U2 is also connected to the first pull-up resistor R7 connected to the power supply voltage. The inverting input terminal of the comparator U2 is connected to the output terminal of the current sampling module. The output terminal of the comparator U2 is also connected to the power supply voltage through the second pull-up resistor R8.
[0051] It can be imagined that the second voltage-dividing resistor R6 and the first pull-up resistor R7 divide the supply voltage, thereby providing a corresponding threshold voltage (i.e., a voltage associated with the current threshold) to the non-inverting input terminal of the comparator U2, and then when the voltage at the inverting input terminal of the comparator U2 is greater than the voltage at its non-inverting input terminal, the comparator U2 outputs a low level to indicate that the phase current exceeds the current threshold; and when the voltage at the inverting input terminal of the comparator U2 is less than the voltage at its non-inverting input terminal, the comparator U2 outputs a high level to indicate that the phase current does not exceed the current threshold.
[0052] Therefore, the current comparison module transmits the information indicating whether the phase current exceeds the current threshold to the subsequent circuit (such as a processor chip) through the output of the comparator to complete the overcurrent detection so that the subsequent circuit can determine whether to turn on the overcurrent protection.
[0053] Figure 5 A circuit structure diagram of an overcurrent detection circuit provided in an embodiment of the present application is shown in the figure. As shown in the figure, the current sampling module 110 includes a current access unit 111 and an amplification unit 112. Specifically, the current access unit 111 includes a first resistor R1, a second resistor R2 and a third resistor R3, and the amplification unit 112 includes an operational amplifier U1, a first voltage divider resistor R4 and a feedback resistor R5. The current sampling module 110 is connected to different sampling resistors through the first resistor R1, the second resistor R2 and the third resistor R3, such as the first resistor R1 is connected to the sampling resistor Rs1, the second resistor R2 is connected to the sampling resistor Rs2, and the third resistor R3 is connected to the sampling resistor Rs3.
[0054] Moreover, the first resistor R1, the second resistor R2 and the third resistor R3 are also connected to the non-inverting input terminal of the operational amplifier U1, the non-inverting input terminal of the operational amplifier U1 is also connected to the grounded first capacitor C1, and the inverting input terminal of the operational amplifier U1 is connected to the grounded first voltage-dividing resistor R4; one end of the feedback resistor R5 is connected to the inverting input terminal of the operational amplifier U1, and the other end of the feedback resistor R5 is connected to the output terminal of the operational amplifier U1.
[0055] The current comparison module 120 includes a comparator U2, a second voltage-dividing resistor R6, a first pull-up resistor R7, and a second pull-up resistor R8. The in-phase input terminal of the comparator U2 is connected to the grounded second voltage-dividing resistor R6, and the in-phase input terminal of the comparator U2 is also connected to the first pull-up resistor R7 connected to the power supply voltage. The inverting input terminal of the comparator U2 is connected to the output terminal of the current sampling module. The output terminal of the comparator U2 is also connected to the power supply voltage through the second pull-up resistor R8.
[0056] It can be understood that the first resistor R1, the second resistor R2 and the third resistor R3 are respectively connected to the corresponding sampling resistors, and the first resistor R1, the second resistor R2 and the third resistor R3 are also connected to the in-phase input terminal of the operational amplifier U1 to collect the currents of each phase, and then amplify them through the operational amplifier U1 and connect them to the inverting input terminal of the comparator U2. The in-phase input terminal of the comparator U2 provides a corresponding threshold voltage, so that the comparator U2 determines whether the phase current exceeds the current threshold by comparing the threshold voltage and the sampling voltage output by the operational amplifier U1. It can be imagined that when the phase current exceeds the current threshold, the comparator U2 will output a low level to pass it to the subsequent circuit.
[0057] Therefore, the circuit can collect the currents of each phase in the three-phase brushless motor into one path to reduce the detection modules used to detect the phase currents. That is, there is no need to use multiple comparators for each phase, nor is there a need to summarize the comparison results through a logic chip. The circuit of this scheme effectively realizes over-current detection of the motor while simplifying the circuit structure, reducing the use of chips and reducing circuit costs.
[0058] The present application also provides a circuit board, which includes an overcurrent detection circuit as provided in the above embodiment. The circuit board has the functions and beneficial effects of the above circuit, that is, by collecting, amplifying and comparing the sampling ends of each sampling resistor, the circuit board effectively realizes the overcurrent detection function of the motor, and fewer chips are used in the circuit, which is more helpful to reduce the circuit cost.
[0059] In addition, the present application also provides a motor driver, which includes a circuit board as provided in the above embodiment, which can drive the motor by utilizing the circuit on the circuit board, and can also perform overcurrent detection on each phase current of the motor, and the circuit structure is simple, which helps to reduce the preparation cost of the motor driver.
[0060] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0061] Note that the above are only preferred embodiments of the present application and the technical principles used. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the appended claims.
Claims
1. An overcurrent detection circuit, characterized in that: The overcurrent detection circuit is connected to a drive circuit connected to a three-phase brushless motor, wherein the drive circuit includes three upper bridge arm units and three lower bridge arm units, each upper bridge arm unit is respectively connected to a different lower bridge arm unit, each lower bridge arm unit is also respectively connected to a different sampling resistor, and one end of the sampling resistor connected to the lower bridge arm unit is a sampling end, and the overcurrent detection circuit includes: A current sampling module, the current sampling module includes a current access unit and an amplifying unit, the three input ends of the current access unit are respectively connected to the sampling ends of the sampling resistors, the output end of the current access unit is connected to the input end of the amplifying unit, the current access unit is used to collect the current of each phase under the SVPWM control mode, and the amplifying unit is used to amplify the output of the current access unit; A current comparison module, wherein the input end of the current comparison module is connected to the output end of the amplification unit, and the current comparison module is used to compare the output of the amplification unit with a current threshold to output a detection signal.
2. The overcurrent detection circuit according to claim 1, characterized in that: The current access unit includes a first resistor, a second resistor and a third resistor, the first end of the first resistor, the first end of the second resistor and the first end of the third resistor are respectively connected to the sampling ends of different sampling resistors, and the second end of the first resistor, the second end of the second resistor and the second end of the third resistor are all connected to the input end of the amplification unit.
3. The overcurrent detection circuit according to claim 2, characterized in that: The resistance values of the first resistor, the second resistor and the third resistor are equal.
4. The overcurrent detection circuit according to claim 2 or 3, characterized in that: The sampling resistor is a milliohm resistor, and the resistance ratios of the first resistor, the second resistor, and the third resistor to the sampling resistor are all greater than a preset threshold.
5. The overcurrent detection circuit according to claim 1 or 2, characterized in that: The amplification unit includes an operational amplifier, a first voltage-dividing resistor and a feedback resistor; The non-inverting input terminal of the operational amplifier is used as the input terminal of the amplifying unit, and the inverting input terminal of the operational amplifier is connected to a grounded first voltage-dividing resistor; One end of the feedback resistor is connected to the inverting input end of the operational amplifier, and the other end of the feedback resistor is connected to the output end of the operational amplifier.
6. The overcurrent detection circuit according to claim 5, characterized in that: The amplifying unit further includes a first capacitor, a first end of the first capacitor is connected to the non-inverting input end of the operational amplifier, and the other end of the first capacitor is grounded.
7. The overcurrent detection circuit according to claim 1, characterized in that: The current comparison module includes a comparator, a second voltage-dividing resistor and a first pull-up resistor; The inverting input terminal of the comparator serves as the input terminal of the current comparison module, and the non-inverting input terminal of the comparator is connected to the grounded second voltage-dividing resistor; One end of the first pull-up resistor is connected to the power supply voltage, and the other end of the first pull-up resistor is connected to the non-inverting input end of the comparator.
8. The overcurrent detection circuit according to claim 7, characterized in that: The current comparison module further includes a second pull-up resistor, one end of the second pull-up resistor is connected to the power supply voltage, and the other end of the second pull-up resistor is connected to the output end of the comparator.
9. A circuit board, characterized in that: The invention comprises an overcurrent detection circuit as described in any one of claims 1 to 8.
10. A motor driver, characterized in that: Comprising the circuit board as claimed in claim 9.
