Driving circuit, controller and vehicle
By introducing a delay module and a dual control mechanism into the driving circuit, the protection problem of the driver chip when the power pipe input current is overcurrent is solved, and effective protection of the driving object is achieved, avoiding damage and false alarms caused by frequent switching.
Patent Information
- Application Number
- CN202411197851.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2025-08-08
AI Technical Summary
In the prior art, the driver chip cannot be effectively protected when the input current of the power fittings is overcurrent, resulting in performance degradation or damage, and even causing safety problems such as explosions and burnout of the motor controller.
A driving circuit is designed, including a current sampling module, a first control module, a delay module and a second control module. The delay module extends the response time of the overcurrent notification signal through the delay module, and combines the dual control mechanism to avoid frequent enable and non-enable switching of the driver module, so as to achieve protection of the driver object.
Effectively protect the driving object of the drive module from overcurrent damage to input current, avoid pipe blasting problems in power pipe fittings, and ensure the accuracy and reliability of the drive circuit, avoid false alarms and false triggers.
Smart Images

Figure CN120454704A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic circuits, and more specifically, to a drive circuit, a controller, and a vehicle. Background Art
[0002] In electronic devices, driver chips are core components and are widely used in power management, motor control, LED lighting and other fields.
[0003] For example, a driver chip can be used in a motor controller. The motor controller also includes power management components, a control board, and a current sampling module. The power management components are used to form at least a three-phase bridge arm, and the current sampling module is used to sample the input current of the three-phase bridge arm.
[0004] If an overcurrent condition occurs in the input current of the power transistors in the motor controller, the performance of the power transistors driven by the driver chip will degrade and become damaged, potentially leading to more serious safety issues such as explosion and burnout of the motor controller. Therefore, how to protect the input current of the power transistors from overcurrent conditions has become a pressing technical issue. Summary of the Invention
[0005] One purpose of this application is to provide a new technical solution for a driving circuit.
[0006] According to a first aspect of the present application, a driving circuit is provided, comprising: a current sampling module, a first control module, a time delay module, and a second control module, wherein:
[0007] The first output terminal of the current sampling module is connected to the input terminal of the delay module and the first input terminal of the first control module respectively;
[0008] The first input terminal of the second control module is connected to the output terminal of the delay module, the second input terminal of the second control module is connected to the first output terminal of the first control module, and the output terminal of the second control module is connected to the enable terminal of the driving module;
[0009] The current sampling module is used to collect the current value of the input current of the driving object of the driving module, and output a first overcurrent notification signal through the first output terminal of the current sampling module when it is determined that the input current is overcurrent;
[0010] The time delay module is configured to output a second overcurrent notification signal to the second control module upon receiving the first overcurrent notification signal, and the second control module continuously controls the driving module to stop being enabled from the first moment to the second moment based on the second overcurrent notification signal;
[0011] The first control module is configured to output a third overcurrent notification signal to the second control module upon receiving the first overcurrent notification signal, and the second control module continuously controls the driving module to stop enabling based on the third overcurrent notification signal from a third moment onwards, where the third moment is a moment between the first moment and the second moment.
[0012] Optionally, the time interval between the second moment and the first moment is t1, the time interval between the third moment and the first moment is t2, and t1=N*t2, N≥1.5.
[0013] Optionally, the second output terminal of the current sampling module is connected to the second input terminal of the first control module, and the current sampling module is further used to convert the input current into a voltage signal, and transmit the voltage signal to the first control module through the second output terminal of the current sampling module;
[0014] The first control module is configured to output a second overcurrent notification signal to the second control module when it is determined at least according to the voltage signal that the input current is overcurrent.
[0015] Optionally, the current sampling module is further configured to output a first non-overcurrent notification signal through the first output terminal of the current sampling module when it is determined that the input current is not overcurrent;
[0016] The time delay module is configured to output a second non-overcurrent notification signal to the second control module when the first non-overcurrent notification signal is received, or output a second non-overcurrent notification signal to the second control module after the second time when the first non-overcurrent notification signal is received after the first overcurrent notification signal is received and before the second time;
[0017] The first control module is configured to output a third non-overcurrent notification signal to the second control module when receiving the first non-overcurrent notification signal;
[0018] The second control module is configured to control the driving module to be enabled when the second non-overcurrent notification signal and the third non-overcurrent notification signal are received.
[0019] Optionally, the second control module is an AND gate circuit, a first input end of the AND gate circuit is connected to the output end of the delay module, and a second input end of the AND gate circuit is connected to the first output end of the first control module.
[0020] Optionally, the value range of N is between 10 and 100.
[0021] Optionally, the delay module includes: a first resistor, a second resistor, a capacitor, and a pull-up power supply, wherein:
[0022] The power output end of the pull-up power supply is connected to the first end of the first resistor;
[0023] The second end of the first resistor is grounded through the capacitor, and the second end of the first resistor is connected to the first input end of the second control module;
[0024] The current sampling module is connected to the second end of the first resistor through the second resistor.
[0025] Optionally, the charging time of the capacitor is greater than the time interval between the first moment and the third moment.
[0026] Optionally, the first control module includes a first core and a second core, wherein:
[0027] The first core is connected to both the first output terminal of the current sampling module and the second output terminal of the current sampling module, and the first core is in communication connection with the second core;
[0028] The first core is configured to send an overcurrent check indication signal to the second core upon receiving the first overcurrent notification signal and / or determining that the driving current is overcurrent according to the voltage signal;
[0029] The second core is connected to both the first output terminal of the current sampling module and the second output terminal of the current sampling module, and the second core is connected to the first input terminal of the second control module;
[0030] When the second core receives the check indication signal, it determines whether the first overcurrent notification signal is received, and determines whether the driving current is overcurrent based on the voltage signal. When the second core receives the first overcurrent notification signal and determines that the driving current is overcurrent based on the voltage signal, the second core sends a second overcurrent notification signal to the second control module.
[0031] Optionally, the second output terminal of the first control module is connected to the driving signal input terminal of the driving module, wherein:
[0032] The first control module stops outputting the driving signal to the driving module when outputting the third overcurrent notification signal.
[0033] According to a second aspect of the present application, a controller is provided, comprising: a current sensor, a first control chip, a second control chip, and a delay device, wherein:
[0034] The first output terminal of the current sensor is connected to the input terminal of the delay device and the first input terminal of the first control chip respectively;
[0035] The first input terminal of the second control chip is connected to the output terminal of the delay device, the second input terminal of the second control chip is connected to the first output terminal of the first control chip, and the output terminal of the second control chip is connected to the enable terminal of the driver chip;
[0036] The current sensor is used to collect the current value of the input current of the driving object, and output a first overcurrent notification signal through the first output terminal of the current sensor when it is determined that the input current is overcurrent;
[0037] The time delayer is configured to output a second overcurrent notification signal to the second control chip when receiving the first overcurrent notification signal, and the second control chip continuously controls the driver chip to stop being enabled from the first moment to the second moment based on the second overcurrent notification signal;
[0038] The first control chip is used to output a third overcurrent notification signal to the second control chip when receiving the first overcurrent notification signal. The second control chip continuously controls the driver chip to stop enabling based on the third overcurrent notification signal from a third moment, and the third moment is a moment between the first moment and the second moment.
[0039] Optionally, the delay device includes: a first resistor, a second resistor, a capacitor, and a pull-up power supply, wherein:
[0040] The power output end of the pull-up power supply is connected to the first end of the first resistor;
[0041] The second end of the first resistor is grounded through the capacitor, and the second end of the first resistor is connected to the first input end of the second control module;
[0042] The current sensor is connected to the second end of the first resistor through the second resistor;
[0043] The capacitor charging time is the time interval between the first moment and the second moment.
[0044] Optionally, the first overcurrent notification signal, the second overcurrent notification signal and the third overcurrent notification signal are all low-level signals.
[0045] Optionally, the first output end of the current sensor is an overcurrent protection pin of the current sensor.
[0046] According to a third aspect of the present application, a vehicle is provided, comprising the drive circuit according to any one of the first aspects;
[0047] Alternatively, it includes a controller as described in any one of the second aspects.
[0048] The present application provides a driving circuit, comprising: a current sampling module, a first control module, a time delay module, and a second control module, wherein: a first output terminal of the current sampling module is respectively connected to an input terminal of the time delay module and a first input terminal of the first control module; a first input terminal of the second control module is connected to an output terminal of the time delay module, a second input terminal of the second control module is connected to a first output terminal of the first control module, and an output terminal of the second control module is connected to an enable terminal of the driving module; wherein the current sampling module is configured to collect a current value of an input current of a driving object of the driving module, and output a first overcurrent notification signal via the first output terminal of the current sampling module when determining that the input current is overcurrent; the time delay module is configured to output a second overcurrent notification signal to the second control module when receiving the first overcurrent notification signal, and the second control module continuously controls the driving module to stop being enabled from a first moment to a second moment based on the second overcurrent notification signal; and the first control module is configured to output a third overcurrent notification signal to the second control module when receiving the first overcurrent notification signal, and the second control module continuously controls the driving module to stop being enabled from a third moment based on the third overcurrent notification signal, where the third moment is a moment between the first moment and the second moment. This driver circuit can protect the driver module's driven object from input current overcurrent. For example, when the driven object is a power device serving as a power module, the input current of the power device can be protected from overcurrent. Furthermore, if the current sampling module is unable to continuously output the first overcurrent notification signal during an overcurrent event, the delay module can extend the output time of the third overcurrent notification signal, formed in response to the first overcurrent notification signal output by the current sampling module, to at least wait until the first control module outputs the third overcurrent notification signal to the second control module. This prevents the second control module from constantly switching between enabling and disabling the driver module, which could cause overheating and explosion of the driven object, such as a power device. Furthermore, in the driver circuit provided by the present application, the current sampled by the current sampling module is the input current of the driver module's driven object, i.e., the actual current. This eliminates the problems of false alarms and false triggering in the driver circuit provided by the present application. On the other hand, the second control module combines the two signals output by the first control module and the delay module, and inputs the combined signals into an enable pin of the driving module, thereby achieving dual control of the driving module.
[0049] Other features and advantages of the present application will become apparent from the following detailed description of exemplary embodiments of the present application with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the application and, together with the description, serve to explain the principles of the application.
[0051] Figure 1 This is a schematic diagram of the structure of a driving circuit provided by this application;
[0052] Figure 2 is a structural diagram of another driving circuit provided by this application;
[0053] Reference numerals:
[0054] 100-driving circuit; 101-current sampling module; 102-first control module;
[0055] 103-delay module; 1031-second resistor; 1032-first resistor; 1033-pull-up power supply;
[0056] 1034 - capacitor; 104 - second control module; 1041 - AND gate circuit; 200 - drive module. DETAILED DESCRIPTION
[0057] Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. It should be noted that unless otherwise specifically stated, the relative arrangements of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present application.
[0058] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present disclosure, its application, or uses.
[0059] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered part of the specification.
[0060] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.
[0061] It should be noted that like reference numerals and letters refer to like items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0062] In motor controller technology, once an overcurrent event occurs in a power transistor, the driver chip must be quickly deactivated to quickly shut down the transistor, as the device can withstand the overcurrent for a relatively short period of time. However, the driver chip is typically controlled by the control chip within the motor controller. After the control chip (DSP) receives the overcurrent signal from the current sampling module, its processing time far exceeds the time the power transistor can withstand the overcurrent. Therefore, an additional path is required to quickly deactivate the driver chip.
[0063] In the related art, there are also some solutions that can control the driver chip to quickly stop and enable, but new technical problems have arisen. Specifically, the current sampling module that samples the input current of the power tube does not have a latching function. As a result, when the power tube is overcurrent, when the output signal of the current sampling module frequently switches between indicating overcurrent and no overcurrent, the driver chip will also frequently switch between stopping and enabling, causing the power tube to frequently switch between on and off. In this way, the power tube may explode due to frequent switching, which may cause the motor controller to burn out.
[0064] In order to solve the above problems, the present application provides a driving circuit 100, such as Figure 1 As shown, it includes: a current sampling module 101, a first control module 102, a delay module 103 and a second control module 104, wherein:
[0065] The first output terminal of the current sampling module 101 is connected to the input terminal of the delay module 103 and the first input terminal of the first control module 102 respectively;
[0066] The first input terminal of the second control module 104 is connected to the output terminal of the delay module 103, the second input terminal of the second control module 104 is connected to the first output terminal of the first control module 102, and the output terminal of the second control module 104 is connected to the enable terminal of the driving module 200;
[0067] The current sampling module 101 is used to collect the current value of the input current of the driving object of the driving module 200, and output a first overcurrent notification signal through the first output terminal of the current sampling module 101 when it is determined that the input current is overcurrent;
[0068] The time delay module 103 is configured to output a second overcurrent notification signal to the second control module 104 upon receiving the first overcurrent notification signal. The second control module 104 controls the driving module to stop being enabled from the first moment to the second moment based on the second overcurrent notification signal.
[0069] The first control module 102 is configured to output a third overcurrent notification signal to the second control module 104 upon receiving the first overcurrent notification signal. The second control module 104 continuously controls the driving module to stop enabling based on the third overcurrent notification signal starting from a third moment, where the third moment is a moment between the first moment and the second moment.
[0070] In this embodiment, the current sampling module 101 is used to collect the current value of the input current of the drive object of the driver module 200. In one example, the driver module 200 is specifically a driver chip serving as the drive object, which can be a power module. The power module includes a power transistor, which can be an IGBT. The power module can be specifically a three-phase full-bridge inverter circuit. The current on the DC bus passes through the three-phase full-bridge inverter circuit to form a three-phase current. This three-phase current is input to the three-phase winding of the motor. The three-phase winding of the motor generates a three-phase magnetic field, and the three-phase magnetic field drives the motor. On this basis, the input end of the current sampling module 101 is connected to the DC bus current output end to collect the current value of the current on the DC bus. When the driver circuit 100 provided in the application determines that the current on the DC bus is overcurrent, it controls the driver chip to stop enabling, thereby stopping the drive of the three-phase full-bridge inverter circuit, thereby preventing the overcurrent current on the DC bus from entering the three-phase full-bridge inverter circuit and causing damage to the three-phase full-bridge inverter circuit.
[0071] After collecting the input current value, the current sampling module 101 compares the collected current value with a pre-stored preset current value, where the preset current value is the maximum current value when the input current is not overcurrent. If the collected current value is less than or equal to the preset current value, the input current is determined to be not overcurrent. Conversely, if the collected current value is greater than the preset current value, the input current is determined to be overcurrent. If the input current is determined to be overcurrent, a first overcurrent notification signal is output through the first output terminal of the current sampling module 101. Based on this, the delay module 103 and the first control module 102 receive the first overcurrent notification signal.
[0072] After receiving the first overcurrent notification signal, the delay module 103 responds to it by continuously outputting the second overcurrent notification signal to the second control module 104 from the first moment to the second moment. Based on this, the control module 104 continuously controls the driver module 200 to stop being enabled from the first moment to the second moment based on the second overcurrent notification signal.
[0073] The time interval between the first moment and the second moment is the delay that can be generated by the delay module 103. Furthermore, the time interval between the moment when the current sampling module 101 samples the input current and the first moment is shorter than the duration of overcurrent that the driven object of the driver module can tolerate. This ensures that the driven object is protected from damage caused by prolonged overcurrent input current, such as preventing the explosion of power transistors in the driven object caused by prolonged overcurrent.
[0074] In one example, the time when the current sampling module 101 collects the input current is recorded as time 0, and the first time is 1.91 μs. When the driven object includes an IGBT power tube, the overcurrent duration that the driven object of the driving module can tolerate may be, for example, 3 μs.
[0075] Furthermore, after receiving the first overcurrent notification signal, the first control module 102 analyzes the first overcurrent notification signal to determine that the input current is overcurrent, and further continuously outputs a third overcurrent notification signal to the second control module 104 starting at the third moment. Based on this, the second control module 104 continuously controls the driver module 200 to stop being enabled starting at the third moment based on the third overcurrent notification signal.
[0076] Since the third moment is a moment between the first moment and the second moment, the second control module controls the driver module 200 to stop being enabled based on the second overcurrent notification signal at moments between the first moment and the third moment. At a moment between the third moment and the second moment (including the third moment and the second moment), the second control module controls the driver module 200 to stop being enabled based on the second overcurrent notification signal and the third overcurrent notification signal. After the second moment, the second control module controls the driver module 200 to stop being enabled based on the third overcurrent notification signal. In this way, the driven object of the driver module 200 can be protected from input current overcurrent. For example, when the driven object is a power device serving as a power module, the input current of the power device can be protected from overcurrent. Furthermore, when the current sampling module 101 is unable to continuously output the first overcurrent notification signal when an overcurrent occurs, the time delay module 103 can extend the output time of the third overcurrent notification signal formed in response to the first overcurrent notification signal output by the current sampling module 101, so as to at least wait until the first control module 102 outputs the third overcurrent notification signal to the second control module 104. In this way, the second control module 104 can avoid the occurrence of a problem such as a bursting tube caused by overheating of a power tube in a driven object of the driving module 200 due to the continuous switching between enabling and disabling of the driving module 200 controlled by the second control module 104.
[0077] In an example, the time when the current sampling module 101 collects the input current is recorded as time 0, the second time is 176 μs, and the third time is 6 μs.
[0078] Furthermore, in the driver circuit 100 provided herein, the current sampled by the current sampling module 101 represents the input current of the drive object of the driver module 200, i.e., the actual current. This eliminates issues such as false alarms and false triggering in the driver circuit 100 provided herein. Furthermore, the second control module 104 combines the two signals output by the first control module 102 and the delay module 103, and then inputs them into an enable pin of the driver module 200, thereby achieving dual control of the driver module.
[0079] In one embodiment of the present application, the time interval between the second moment and the first moment is t1, the time interval between the third moment and the first moment is t2, t1=N*t2, N≥1.5.
[0080] Furthermore, in one embodiment of the present application, the value range of N is between 10 and 100.
[0081] In this embodiment, N can be used to prevent the second control module 104 from continuously controlling the driving module to stop being enabled for a long time.
[0082] The present application provides a driving circuit, comprising: a current sampling module, a first control module, a time delay module, and a second control module, wherein: a first output terminal of the current sampling module is respectively connected to an input terminal of the time delay module and a first input terminal of the first control module; a first input terminal of the second control module is connected to an output terminal of the time delay module, a second input terminal of the second control module is connected to a first output terminal of the first control module, and an output terminal of the second control module is connected to an enable terminal of the driving module; wherein the current sampling module is configured to collect a current value of an input current of a driving object of the driving module, and output a first overcurrent notification signal via the first output terminal of the current sampling module when determining that the input current is overcurrent; the time delay module is configured to output a second overcurrent notification signal to the second control module when receiving the first overcurrent notification signal, and the second control module continuously controls the driving module to stop being enabled from a first moment to a second moment based on the second overcurrent notification signal; and the first control module is configured to output a third overcurrent notification signal to the second control module when receiving the first overcurrent notification signal, and the second control module continuously controls the driving module to stop being enabled from a third moment based on the third overcurrent notification signal, where the third moment is a moment between the first moment and the second moment. This driver circuit can protect the driver module 200's driven object from input current overcurrent. For example, when the driven object is a power device serving as a power module, the input current of the power device can be protected from overcurrent. Furthermore, if the current sampling module is unable to continuously output the first overcurrent notification signal during an overcurrent event, the delay module can extend the output time of the third overcurrent notification signal, formed in response to the first overcurrent notification signal output by the current sampling module, to at least wait until the first control module outputs the third overcurrent notification signal to the second control module. This prevents the second control module from constantly switching between enabling and disabling the driver module, which could lead to overheating and resulting in tube explosion in the driver module's driven object. Furthermore, in the driver circuit provided herein, the current sampled by the current sampling module is the input current of the driver module's driven object, i.e., the actual current. This eliminates issues such as false alarms and false triggering in the driver circuit provided herein. On the other hand, the second control module combines the two signals output by the first control module and the delay module, and inputs the combined signals into an enable pin of the driving module, thereby achieving dual control of the driving module.
[0083] In one embodiment of the present application, Figure 1 As shown, the second output terminal of the current sampling module 101 is connected to the second input terminal of the first control module 102. The current sampling module 101 is also used to convert the input current into a voltage signal and transmit the voltage signal to the first control module 102 through the second output terminal of the current sampling module 101;
[0084] The first control module 102 is configured to output a second overcurrent notification signal to the second control module 104 when it is determined at least according to the voltage signal that the input current is overcurrent.
[0085] In this embodiment, the current sampling module 101 also has the function of converting the input current into a proportional voltage signal. After the current sampling module 101 converts the input current into a proportional voltage signal, it transmits the converted voltage signal to the first control module 102 via its own second output terminal and the second input terminal of the first control module 102.
[0086] Upon receiving the voltage signal, the first control module 102 detects the voltage value of the voltage signal and compares the detected voltage value with a pre-stored preset voltage value. The preset voltage value is the maximum voltage value of the voltage signal converted by the current sampling module 101 when the input current is not overcurrent. If the detected voltage value is less than or equal to the preset voltage value, the input current is determined to be not overcurrent. In this case, the first control module 102 does not output the second overcurrent notification signal to the second control module 104.
[0087] On the contrary, if the detected voltage value is greater than the preset voltage value, it is determined that the input current is overcurrent. At this time, the first control module 102 outputs a second overcurrent notification signal to the second control module 104. That is, in this embodiment, whether the input current is overcurrent is determined based on whether the detected voltage value is greater than the preset voltage value. This is because the voltage signal detected by the first control signal is an analog quantity and has a low possibility of being interfered with. However, the signal output by the current sampling module 101 through its first output terminal, such as the first overcurrent notification signal, is a digital quantity and has a high possibility of being interfered with. That is, the first control module 102 is more accurate in determining whether the input current is overcurrent based on the voltage signal.
[0088] In this embodiment, the problems of false alarm and false triggering of the driving circuit caused by interference provided by the present application can be avoided.
[0089] In one embodiment of the present application, the current sampling module 101 is further configured to output a first non-overcurrent notification signal through the first output terminal of the current sampling module 101 when it is determined that the input current is not overcurrent;
[0090] The time delay module 103 is configured to output a second non-overcurrent notification signal to the second control module 104 upon receiving the first non-overcurrent notification signal;
[0091] The first control module 102 is configured to output a third non-overcurrent notification signal to the second control module 104 when the first non-overcurrent notification signal is received, or output a second non-overcurrent notification signal to the second control module 104 after the second time when the first non-overcurrent notification signal is received after the first overcurrent notification signal is received and before the second time;
[0092] The second control module 104 is configured to control the driving module 200 to be enabled upon receiving the second non-overcurrent notification signal and the third non-overcurrent notification signal.
[0093] In this embodiment, the current sampling module 101 determines that the input current is not overcurrent in two situations: situation one is that the input current itself is not overcurrent, and situation two is that after the input current is overcurrent, after the fault is cleared, the input current is restored from overcurrent to non-overcurrent.
[0094] When the current sampling module 101 determines that the input current is not overcurrent, it outputs a first non-overcurrent notification signal through the first output terminal of the current sampling module 101. Based on this, the delay module 103 and the first control module 102 both receive the first non-overcurrent notification signal.
[0095] When receiving the first non-overcurrent notification signal, the time delay module 103 determines that the input current is not overcurrent, and at this time, outputs a second non-overcurrent notification signal to the second control module 104 .
[0096] Alternatively, when the input current recovers from overcurrent to non-overcurrent before the second moment, the delay module 103 receives the first non-overcurrent notification signal after receiving the first overcurrent notification signal and before the second moment. In this case, due to the delay function of the delay module 103, the delay module 103 outputs the second non-overcurrent notification signal to the second control module 104 after the second moment.
[0097] When receiving the first non-overcurrent notification signal, the first control module 102 determines that the input current is not overcurrent, and then outputs a third non-overcurrent notification signal to the second control module 104 .
[0098] When the second control module 104 receives the second non-overcurrent notification signal and the third non-overcurrent notification signal, the second control module 104 controls the driving module 200 to be enabled.
[0099] In this embodiment, the driving circuit 100 provided in this application can also control the driving module 200 to be enabled when the input current is not overcurrent, or is overcurrent but is no longer overcurrent after the fault is cleared.
[0100] In one embodiment of the present application, Figure 2 As shown, the second control module 104 is an AND gate circuit 1041 , a first input terminal of the AND gate circuit 1041 is connected to the output terminal of the delay module 103 , and a second input terminal of the AND gate circuit 1041 is connected to the first output terminal of the first control module 102 .
[0101] In this embodiment, the second control module 104 is implemented by an AND gate circuit 1041, which can combine the two signals output by the first control module 102 and the delay module 103 and input them to an enable pin of the driver module 200. The second control module 104 has a simple structure and is easy to implement.
[0102] In one embodiment of the present application, Figure 2 As shown, the delay module 103 includes: a first resistor 1032, a second resistor 1031, a capacitor 1034 and a pull-up power supply 1033, wherein:
[0103] The power output terminal of the pull-up power supply 1033 is connected to the first terminal of the first resistor 1032;
[0104] The second end of the first resistor 1032 is grounded via the capacitor 1034 , and the second end of the first resistor 1032 is connected to the first input end of the second control module 104 ;
[0105] The current sampling module 101 is connected to the second end of the first resistor 1032 via the second resistor 1031 .
[0106] In one embodiment of the present application, the charging time of the capacitor 1034 is greater than the time interval between the first moment and the third moment.
[0107] In this embodiment, the second resistor 1031 and the capacitor 1034 form an RC filter circuit, and the first resistor 1032 is equivalent to a pull-up resistor. t :
[0108] V t =V u (1-e -t / RC )(Formula 1)
[0109] Among them, V u is the voltage value that the pull-up power supply 1033 can provide, R is the resistance value of the first resistor 1032, C is the capacitance value of the capacitor 1034, and t is the charging time of the capacitor 1034.
[0110] Based on the above formula 1, the charging time t of the capacitor 1034 is expressed as follows:
[0111]
[0112] In one example, V t =3.5V, the time interval from the first moment to the third moment is 6μs, then R can be set to 100MΩ, C = 100pF. On this basis, t = -100000*100*10 -12ln(1-3.5 / 5)=120.39 μs. It is understandable that 120.39 μs is greater than the time interval between 6 μs at the third moment and 1.91 μs at the first moment. This satisfies the requirement in the present application that the delay module extend the output time of the third overcurrent notification signal formed in response to the first overcurrent notification signal output by the current sampling module, at least until the first control module outputs the third overcurrent notification signal to the second control module.
[0113] In this embodiment, the delay module is implemented by the first resistor and the RC filter. This structure is simple and easy to implement.
[0114] In one embodiment of the present application, the first control module 102 includes a first core and a second core, wherein:
[0115] The first core is connected to both the first output terminal of the current sampling module 101 and the second output terminal of the current sampling module 101 , and the first core is in communication connection with the second core;
[0116] The first core is configured to send an overcurrent check indication signal to the second core upon receiving a first overcurrent notification signal and / or determining that the driving current is overcurrent according to the voltage signal;
[0117] The second core is connected to both the first output terminal of the current sampling module 101 and the second output terminal of the current sampling module 101 , and the second core is connected to the first input terminal of the second control module 104 ;
[0118] When the second core receives the backcheck indication signal, it determines whether the first overcurrent notification signal is received, and determines whether the driving current is overcurrent based on the voltage signal. When the first overcurrent notification signal is received and the driving current is determined to be overcurrent based on the voltage signal, the second core sends a second overcurrent notification signal to the second control module 104.
[0119] In this embodiment, the first control module is implemented using a dual-core approach consisting of a first core and a second core. If the first core determines that the input current is overcurrent, it sends a checkback indication to the second core. Upon receiving the checkback indication, the second core rechecks whether the input current is overcurrent. This reduces the likelihood of processing errors in the first control module.
[0120] In one embodiment of the present application, Figure 1 As shown, the second output terminal of the first control module 102 is connected to the driving signal input terminal of the driving module 200, wherein:
[0121] When outputting the third over-current notification signal, the first control module 102 stops outputting the driving signal to the driving module 200 .
[0122] In this embodiment, when the first control module 102 outputs the third overcurrent notification signal, it indicates that the input current is overcurrent. In this case, the first control module 102 stops outputting the drive signal to the driver module 200, thereby protecting the components in the driver module 200. The components in the driver module 200 are typically power devices, and the drive signal is typically a PWM signal.
[0123] by Figure 2 Taking the driving circuit 100 shown as an example, the working principle of the driving circuit 100 provided in this application is described as follows.
[0124] If the current sampling module 101 determines that the input current is not overcurrent, the first output terminal of the current sampling module 101 outputs a high-level signal, which serves as the first non-overcurrent notification signal. Simultaneously, the current sampling module 101 converts the input current into a voltage signal and inputs it to the first control module 102. Based on this, the first input terminal of the first control module 102 receives the high-level signal, which serves as the first non-overcurrent notification signal, and the second input terminal of the first control module 102 receives the voltage signal. Based on the voltage signal, the first control module 102 determines that the input current is not overcurrent. At this point, the first control module 102 outputs a third non-overcurrent notification signal, which is a high-level signal, to the second input terminal of the AND gate circuit 1041. Furthermore, if the delay module 103 receives the high-level signal, which serves as the first non-overcurrent notification signal, due to the presence of the pull-up power supply 1033 and the first resistor 1032, the delay module 103 outputs a second non-overcurrent notification signal, which is a high-level signal, to the first input terminal of the AND gate circuit 1041. Upon receiving the third high-level non-overcurrent notification signal and the second high-level non-overcurrent notification signal, the second control module 1041 outputs a high-level signal to the driver module 200. When the enable signal of the driver module 200 is a high-level signal, the driver module 200 is allowed to operate normally.
[0125] In some embodiments, the first output terminal is an overcurrent protection pin of the current sampling module, and the overcurrent protection pin may be an open-drain pin.
[0126] Correspondingly, when the current sampling module 101 determines that the input current is overcurrent, the first output terminal of the current sampling module 101 outputs a first overcurrent notification signal in the form of a low-level signal. Simultaneously, the current sampling module 101 converts the input current into a voltage signal and inputs it into the first control module 102. Based on this, the first input terminal of the first control module 102 receives the low-level signal as the first overcurrent notification signal, and the second input terminal of the first control module 102 receives the voltage signal. The first control module 102 determines that the input current is overcurrent based on the voltage signal. The first control module 102 continuously outputs a third overcurrent notification signal in the form of a low-level signal to the second input terminal of the AND gate circuit at a third moment. Furthermore, after receiving the first overcurrent notification signal in the form of a low-level signal, the delay module 103 continuously outputs a second overcurrent notification signal in the form of a low-level signal to the first input terminal of the AND gate circuit 1041 from the first moment to the second moment. Since the third moment is a moment between the second moment, the AND gate circuit 1041 receives the second overcurrent notification signal, which is a low-level signal, between the first moment and the third moment, and receives both the second overcurrent notification signal, which is a low-level signal, and the third overcurrent notification signal, which is a low-level signal, between the third moment and the second moment. After the third moment, the AND gate circuit 1041 receives the third overcurrent notification signal, which is a low-level signal. That is, the AND gate circuit 1041 continuously outputs a low-level signal from the first moment onwards to continuously control the driver module 200 to stop being enabled.
[0127] In addition, it should be noted that the low-level signal and high-level signal in the above examples are relative. That is, the high-voltage signal and the low-level signal do not involve specific voltage value ranges. The voltage value of the high-level signal is higher than the voltage value of the low-level signal. For example, the voltage value of the high-level signal is greater than 50% of the pull-up power supply 1033, and the voltage value of the low-level signal is less than 50% of the pull-up power supply 1033.
[0128] The present application also provides a controller, comprising: a current sensor, a first control chip, a second control chip, and a delay device, wherein:
[0129] The first output terminal of the current sensor is connected to the input terminal of the delay device and the first input terminal of the first control chip respectively;
[0130] The first input terminal of the second control chip is connected to the output terminal of the delay device, the second input terminal of the second control chip is connected to the first output terminal of the first control chip, and the output terminal of the second control chip is connected to the enable terminal of the driver chip;
[0131] The current sensor is used to collect the current value of the input current of the driving object, and output a first overcurrent notification signal through the first output terminal of the current sensor when it is determined that the input current is overcurrent;
[0132] The delay device is used to output a second overcurrent notification signal to the second control chip when receiving the first overcurrent notification signal. The second control chip continuously controls the driver chip to stop enabling based on the second overcurrent notification signal from a third moment, and the third moment is a moment between the first moment and the second moment.
[0133] It should be noted that the specific implementation of the current sensor in this embodiment is the same as the specific implementation of the current sampling module in any of the above-mentioned drive circuit embodiments, the specific implementation of the first control chip in this embodiment is the same as the specific implementation of the first control module in any of the above-mentioned drive circuit embodiments, the specific implementation of the second control chip in this embodiment is the same as the specific implementation of the second control module in any of the above-mentioned drive circuit embodiments, and the specific implementation of the delay device in this embodiment is the same as the specific implementation of the delay module in any of the above-mentioned drive circuit embodiments, which will not be repeated here.
[0134] In one example, the controller may be specifically a motor controller. On this basis, the driving chip may be specifically a driving chip in the motor controller. The driving object may be a power module in the motor controller. The power module includes a power tube, which may be an IGBT.
[0135] In one embodiment of the present application, the time delay device is as follows: Figure 2 The delay module 103 shown includes: a first resistor 1032, a second resistor 1031, a capacitor 1034 and a pull-up power supply 1033, wherein:
[0136] The power output end of the pull-up power supply 1033 is connected to the first end of the first resistor 1032;
[0137] The second end of the first resistor 1032 is grounded via the capacitor 1034 , and the second end of the first resistor 1032 is connected to the first input end of the second control module 104 ;
[0138] The current sensor is connected to the second end of the first resistor 1032 via the second resistor 1031;
[0139] The charging time of the capacitor 1034 is the time interval between the first moment and the second moment.
[0140] In one embodiment of the present application, the first overcurrent notification signal, the second overcurrent notification signal, and the third overcurrent notification signal are all low-level signals.
[0141] In one embodiment of the present application, the first output end of the current sensor is an overcurrent protection pin of the current sensor.
[0142] The present application further provides a vehicle, which includes any controller provided in the above controller embodiments. Alternatively, the vehicle includes a drive circuit provided in any drive circuit embodiment.
[0143] The embodiments of the present application have been described above. The above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terms used herein are selected to best explain the principles of the embodiments, practical applications, or technical improvements to technologies in the market, or to enable other persons skilled in the art to understand the embodiments disclosed herein. The scope of this application is defined by the appended claims.
Claims
1. A driving circuit (100), characterized in that: include: A current sampling module (101), a first control module (102), a time delay module (103) and a second control module (104), wherein: The first output end of the current sampling module (101) is respectively connected to the input end of the time delay module (103) and the first input end of the first control module (102); The first input end of the second control module (104) is connected to the output end of the delay module (103), the second input end of the second control module (104) is connected to the first output end of the first control module (102), and the output end of the second control module (104) is connected to the enable end of the driving module; The current sampling module (101) is used to collect the current value of the input current of the driving object of the driving module (200), and output a first overcurrent notification signal through the first output terminal of the current sampling module (101) when it is determined that the input current is overcurrent; The time delay module (103) is used to output a second overcurrent notification signal to the second control module (104) when the first overcurrent notification signal is received, and the second control module continuously controls the driving module to stop enabling from the first moment to the second moment based on the second overcurrent notification signal; The first control module (102) is configured to output a third overcurrent notification signal to the second control module (104) upon receiving the first overcurrent notification signal, and the second control module continuously controls the driving module to stop enabling based on the third overcurrent notification signal from a third moment, wherein the third moment is a moment between the first moment and the second moment.
2. The driving circuit according to claim 1, wherein: The time interval between the second moment and the first moment is t1, the time interval between the third moment and the first moment is t2, and t1=N*t2, N≥1.
5.
3. The driving circuit according to claim 1, wherein: The second output end of the current sampling module (101) is connected to the second input end of the first control module (102); the current sampling module (101) is further used to convert the input current into a voltage signal, and transmit the voltage signal to the first control module (102) through the second output end of the current sampling module (101); The first control module (102) is configured to output a second overcurrent notification signal to the second control module (104) when it is determined at least based on the voltage signal that the input current is overcurrent.
4. The driving circuit according to claim 1, wherein: The current sampling module (101) is further configured to output a first non-overcurrent notification signal through a first output terminal of the current sampling module (101) when it is determined that the input current is not overcurrent; The time delay module (103) is configured to output a second non-overcurrent notification signal to the second control module (104) when the first non-overcurrent notification signal is received, or output a second non-overcurrent notification signal to the second control module (104) after the second moment when the first non-overcurrent notification signal is received after the first overcurrent notification signal is received and before the second moment; The first control module (102) is configured to output a third non-overcurrent notification signal to the second control module (104) upon receiving the first non-overcurrent notification signal; The second control module (104) is used for controlling the driving module (200) to be enabled when the second non-overcurrent notification signal and the third non-overcurrent notification signal are received.
5. The driving circuit according to claim 1, wherein: The second control module (104) is an AND gate circuit (1041), a first input end of the AND gate circuit (1041) is connected to the output end of the delay module (103), and a second input end of the AND gate circuit (1041) is connected to the first output end of the first control module (102).
6. The driving circuit according to claim 2, wherein: The value range of N is between 10 and 100.
7. The driving circuit according to claim 1, wherein: The delay module (103) comprises: a first resistor (1032), a second resistor (1031), a capacitor (1034) and a pull-up power supply (1033), wherein: The power output end of the pull-up power supply (1033) is connected to the first end of the first resistor (1032); The second end of the first resistor (1032) is grounded via the capacitor (1034), and the second end of the first resistor (1032) is connected to the first input end of the second control module (104); The current sampling module (101) is connected to the second end of the first resistor (1032) via the second resistor (1031).
8. The driving circuit according to claim 7, wherein: The charging time of the capacitor (1034) is greater than the time interval between the first moment and the third moment.
9. The driving circuit according to claim 3, wherein: The first control module (102) comprises a first core and a second core, wherein: The first core is connected to both the first output end of the current sampling module (101) and the second output end of the current sampling module (101), and the first core is in communication connection with the second core; The first core is configured to send an overcurrent check indication signal to the second core upon receiving the first overcurrent notification signal and / or determining that the driving current is overcurrent according to the voltage signal; The second core is connected to both the first output terminal of the current sampling module (101) and the second output terminal of the current sampling module (101), and the second core is connected to the first input terminal of the second control module (104); When the second core receives the check indication signal, it determines whether the first overcurrent notification signal is received, and determines whether the driving current is overcurrent based on the voltage signal. When the first overcurrent notification signal is received and the driving current is determined to be overcurrent based on the voltage signal, the second core sends a second overcurrent notification signal to the second control module (104).
10. The driving circuit according to claim 1, wherein: The second output terminal of the first control module (102) is connected to the driving signal input terminal of the driving module (200), wherein: The first control module (102) stops outputting the driving signal to the driving module when outputting the third overcurrent notification signal.
11. A controller, characterized in that: include: Current sensor, first control chip, second control chip and delay device, wherein: The first output terminal of the current sensor is connected to the input terminal of the delay device and the first input terminal of the first control chip respectively; The first input terminal of the second control chip is connected to the output terminal of the delay device, the second input terminal of the second control chip is connected to the first output terminal of the first control chip, and the output terminal of the second control chip is connected to the enable terminal of the driver chip; The current sensor is used to collect the current value of the input current of the driving object, and output a first overcurrent notification signal through the first output terminal of the current sensor when it is determined that the input current is overcurrent; The time delayer is configured to output a second overcurrent notification signal to the second control chip when receiving the first overcurrent notification signal, and the second control chip continuously controls the driver chip to stop being enabled from the first moment to the second moment based on the second overcurrent notification signal; The first control chip is used to output a third overcurrent notification signal to the second control chip when receiving the first overcurrent notification signal. The second control chip continuously controls the driver chip to stop enabling based on the third overcurrent notification signal from a third moment, and the third moment is a moment between the first moment and the second moment.
12. The controller according to claim 11, characterized in that The delay device comprises: a first resistor (1032), a second resistor (1031), a capacitor (1034) and a pull-up power supply (1033), wherein: The power output end of the pull-up power supply (1033) is connected to the first end of the first resistor (1032); The second end of the first resistor (1032) is grounded via the capacitor (1034), and the second end of the first resistor (1032) is connected to the first input end of the second control module (104); The current sensor is connected to the second end of the first resistor (1032) via the second resistor (1031); The charging time of the capacitor (1034) is the time interval between the first moment and the second moment.
13. The controller according to claim 12, characterized in that The first over-current notification signal, the second over-current notification signal, and the third over-current notification signal are all low-level signals.
14. The controller according to claim 11, wherein: The first output end of the current sensor is an overcurrent protection pin of the current sensor.
15. A vehicle, characterized in that: The vehicle comprises the drive circuit according to any one of claims 1 to 10; Alternatively, it comprises the controller as claimed in claims 11-14.