Load control circuit with dual protection function
By designing a digital output circuit with dual protection functions in the industrial control circuit, and using DSP chips and various tube components to implement current monitoring and protection, the problem of lack of protection functions in the existing technology is solved, the cost is reduced and the safety is improved. sex.
Patent Information
- Application Number
- CN202420119892.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-18
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2034-01-18
AI Technical Summary
In the field of industrial control, existing digital output circuits lack protection functions when driving inductive loads, which can easily lead to component damage. Chips using integrated protection functions are expensive and not widely used.
Design a dual protection circuit including a DSP chip, load and digital output circuit. The circuit consists of a power protection module, a drive module and a current feedback module. It uses PMOS tubes, NMOS tubes, comparators and other components, and is controlled by the DSP chip. pins and drive pins to implement current monitoring and protection functions.
It achieves double protection for the load, avoids component damage caused by excessive current, reduces circuit costs, and at the same time meets safety requirements and ensures the normal operation of the load.
Smart Images

Figure CN221668211U
Abstract
Description
Technical Field
[0001] The utility model relates to a control circuit, in particular to a load control circuit with dual protection functions. Background Art
[0002] In the field of industrial control, digital output circuits are generally used to drive some external devices (i.e. loads), such as contactors, fans, and solenoid valves. These inductive loads often require a large current to drive. Currently, the commonly used output circuits generally use digital output signals to control the on and off of NMOS tubes, and use the open-drain output of NMOS tubes to drive large current loads. However, this method lacks protection functions, and the current will be too large, exceeding the rated working current value of the NMOS tube. In this overcurrent situation, it will cause damage to components and uncontrolled external devices, which will have a serious impact on life and production. Some use the TLE9104SH chip with integrated protection function for overcurrent protection, but this method is expensive and the maintenance cost is high in case of failure, so it is not widely used. Summary of the invention
[0003] The technical problem to be solved by the utility model is to provide a load control circuit with dual protection functions, which not only meets the safety requirements but also has low cost.
[0004] The utility model solves the above technical problems by adopting the following technical scheme: a load control circuit with dual protection function, comprising a DSP chip, a load and a digital output circuit, wherein the digital output circuit comprises a power protection module, a drive module and a current feedback module, wherein the power protection module comprises a PMOS tube, a first resistor, a second resistor, an NPN-type triode, a third resistor and a fourth resistor, wherein the drive module comprises an NMOS tube and a fifth resistor, wherein the current feedback module comprises a diode, a sixth resistor, a capacitor, a comparator and a seventh resistor, wherein the DSP chip is provided with a power control pin, a drive pin and an overcurrent pin,
[0005] The drain of the PMOS tube is connected to one end of the load, the source of the PMOS tube and one end of the first resistor are both connected to an external power supply, the gate of the PMOS tube, the other end of the first resistor and one end of the second resistor are connected, the other end of the second resistor is connected to the collector of the NPN transistor, the base of the NPN transistor, one end of the third resistor and one end of the fourth resistor are connected, the DSP chip sends a signal to the other end of the third resistor through the power control pin, the drain of the NMOS tube is connected to the other end of the load, and the DSP chip sends a signal to the gate and One end of the fifth resistor, the gate of the NMOS tube, one end of the fifth resistor and the positive electrode of the diode are connected, the source of the NMOS tube, one end of the seventh resistor, the other end of the fifth resistor and the inverting input of the comparator are connected, the non-inverting input of the comparator is connected to an external reference voltage, the output of the comparator is connected to the overcurrent pin, the cathode of the diode, one end of the sixth resistor, one end of the capacitor and the output of the comparator are connected, the other end of the sixth resistor is connected to an external voltage, and the emitter of the NPN transistor, the other end of the fourth resistor, the other end of the seventh resistor and the other end of the capacitor are all grounded.
[0006] Compared with the prior art, the utility model has the advantages that under normal circumstances, the DSP chip sends a high-level signal to the third resistor through the power control pin, the voltage of the fourth resistor increases until the NPN transistor is fully turned on, the voltage of the first resistor increases, the PMOS tube is turned on, and the power protection circuit normally outputs to provide power to the load. At the same time, the DSP chip sends a high-level signal to the fifth resistor through the drive pin, the NMOS tube is turned on, and the current of the external power supply flows through the PMOS tube, the load, the NMOS tube and the seventh resistor in sequence. At this time, the circuit drives the load normally; the voltage at the inverting input terminal of the input comparator is compared with the external reference voltage at the non-inverting input terminal of the input comparator U. If the voltage at the inverting input terminal of the input comparator is less than the external reference voltage, the comparison result signal output by the output terminal of the comparator U is a high level, and the load is still driven;
[0007] When a fault occurs, such as a load short circuit, the current flowing through the NMOS tube and the seventh resistor is too large. At this time, the voltage at the inverting input terminal of the input comparator is greater than the external reference voltage, and the comparison result signal output by the output terminal of the comparator is low level. The DSP chip sends a drive signal to the NMOS tube through the drive pin, which is clamped to a low level by the diode, so the NMOS tube is turned off and the load is not driven; if the NMOS tube is short-circuited, the NMOS tube is always turned on and cannot be turned off. At this time, the load cannot be controlled, and the output terminal of the comparator U outputs a comparison result signal to the overcurrent pin. The comparison result signal received by the overcurrent pin of the DSP chip changes from a high level to a low level. The DSP chip sends a low level signal to the third resistor through the power control pin, thereby turning off the PMOS tube, cutting off the power supply of the load, allowing the load to be controlled again, and protecting the load; the overall circuit uses a small number of components to achieve the overcurrent protection function, not only with low circuit cost, but also with dual protection functions, meeting safety requirements. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] Figure 1 This is a circuit structure schematic diagram of the utility model. Implementation
[0009] The present invention will be described in further detail below in conjunction with the accompanying drawings.
[0010] like Figure 1 As shown, a load KM control circuit with dual protection function includes a DSP chip (not shown), a load KM and a digital output circuit, the digital output circuit includes a power protection module, a drive module and a current feedback module, the power protection module includes a PMOS tube Q1, a first resistor R1, a second resistor R2, an NPN transistor Q2, a third resistor R3 and a fourth resistor R4, the drive module includes an NMOS tube Q3 and a fifth resistor R5, the current feedback module includes a diode D, a sixth resistor R6, a capacitor C, a comparator U and a seventh resistor R7, the DSP chip (not shown) is provided with a power control pin, a drive pin and an overcurrent pin,
[0011] The drain of the PMOS tube Q1 is connected to one end of the load KM, the source of the PMOS tube Q1 and one end of the first resistor R1 are connected to the external power supply POWER, the gate of the PMOS tube Q1, the other end of the first resistor R1 and one end of the second resistor R2 are connected, the other end of the second resistor R2 is connected to the collector of the NPN transistor Q2, the base of the NPN transistor Q2, one end of the third resistor R3 and one end of the fourth resistor R4 are connected, The DSP chip (not shown) sends a signal POWER-CONTROL to the other end of the third resistor R3 through the power control pin, the drain of the NMOS tube Q3 is connected to the other end of the load KM, the DSP chip (not shown) sends a signal DRV to the gate of the NMOS tube Q3 and one end of the fifth resistor R5 through the drive pin, the gate of the NMOS tube Q3, one end of the fifth resistor R5 and the positive electrode of the diode D are connected, the source of the NMOS tube Q3, one end of the seventh resistor R7, the other end of the fifth resistor R5 and the inverting input end of the comparator U are connected, the non-inverting input end of the comparator U is connected to the external reference voltage VREF, the output end of the comparator U is connected to the overcurrent pin, the cathode of the diode D, one end of the sixth resistor R6, one end of the capacitor C and the output end of the comparator U are connected, the other end of the sixth resistor R6 is connected to the external voltage, and the emitter of the NPN transistor Q2, the other end of the fourth resistor R4, the other end of the seventh resistor R7 and the other end of the capacitor C are all grounded;
[0012] The working principle of this embodiment is as follows: Under normal circumstances, the DSP chip (not shown) sends a high-level signal to the third resistor R3 through the power control pin, the voltage of the fourth resistor R4 increases until the NPN transistor Q2 is fully turned on, the voltage of the first resistor R1 increases, and the PMOS tube Q1 is turned on. At this time, the power protection circuit normally outputs to provide power to the load KM. At the same time, the DSP chip (not shown) sends a high-level signal to the fifth resistor R5 through the drive pin, the NMOS tube Q3 is turned on, and the current of the external power supply flows through the PMOS tube Q1, the load KM, the NMOS tube Q3 and the seventh resistor R7 in sequence. At this time, the circuit drives the load KM normally; the voltage of the inverting input terminal of the input comparator U is compared with the external reference voltage of the non-inverting input terminal of the input comparator U. If the voltage of the inverting input terminal of the input comparator U is less than the external reference voltage, the comparison result signal output by the output terminal of the comparator U is a high level, and the load KM is still driven;
[0013] When a fault occurs, such as a short circuit of the load KM, the current flowing through the NMOS tube Q3 and the seventh resistor R7 is too large. At this time, the voltage at the inverting input terminal of the input comparator U is greater than the external reference voltage, and the comparison result signal outputted from the output terminal of the comparator U is low level. The DSP chip (not shown) sends a driving signal to the NMOS tube Q3 through the driving pin, which is clamped to a low level by the diode D, so the NMOS tube Q3 is turned off and the load KM is not driven; if the NMOS tube Q3 is short-circuited, the NMOS tube Q3 is always turned on and cannot be turned off. At this time, the load KM cannot be controlled, and the output terminal of the comparator U outputs the comparison result signal to the overcurrent pin. The comparison result signal received by the overcurrent pin of the DSP chip (not shown) changes from a high level to a low level. The DSP chip (not shown) sends a low level signal to the third resistor R3 through the power control pin, thereby turning off the PMOS tube Q1, cutting off the power supply of the load KM, and allowing the load KM to be controlled again, thereby protecting the load.
Claims
1. A load control circuit with dual protection function, comprising a DSP chip, a load and a digital output circuit, characterized in that The digital output circuit includes a power protection module, a driving module and a current feedback module. The power protection module includes a PMOS tube, a first resistor, a second resistor, an NPN transistor, a third resistor and a fourth resistor. The driving module includes an NMOS tube and a fifth resistor. The current feedback module includes a diode, a sixth resistor, a capacitor, a comparator and a seventh resistor. The DSP chip is provided with a power control pin, a driving pin and an overcurrent pin. The drain of the PMOS tube is connected to one end of the load, the source of the PMOS tube and one end of the first resistor are both connected to an external power supply, the gate of the PMOS tube, the other end of the first resistor and one end of the second resistor are connected, the other end of the second resistor is connected to the collector of the NPN transistor, the base of the NPN transistor, one end of the third resistor and one end of the fourth resistor are connected, the DSP chip sends a signal to the other end of the third resistor through the power control pin, the drain of the NMOS tube is connected to the other end of the load, and the DSP chip sends a signal to the gate and One end of the fifth resistor, the gate of the NMOS tube, one end of the fifth resistor and the positive electrode of the diode are connected, the source of the NMOS tube, one end of the seventh resistor, the other end of the fifth resistor and the inverting input of the comparator are connected, the non-inverting input of the comparator is connected to an external reference voltage, the output of the comparator is connected to the overcurrent pin, the cathode of the diode, one end of the sixth resistor, one end of the capacitor and the output of the comparator are connected, the other end of the sixth resistor is connected to an external voltage, and the emitter of the NPN transistor, the other end of the fourth resistor, the other end of the seventh resistor and the other end of the capacitor are all grounded.
