Switching circuit, power supply control device and vehicle
By introducing short circuit protection module, current detection module and digital diagnosis module into the switching circuit, short circuits are quickly identified and disconnected, and the problem of slow response in the prior art is solved, improving the safety of the circuit and fault diagnosis efficiency.
Patent Information
- Application Number
- CN202310552634.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-16
- Publication Date
- 2024-11-22
AI Technical Summary
Existing switching circuits react slowly in the event of short circuit failure and cannot quickly protect the circuit, affecting the safety of the vehicle.
A switching circuit including a short circuit protection module, a switching module, a current detection module and a digital diagnosis module is designed. Through the coordinated work of the current detection and digital diagnosis module, it quickly identifies faults and disconnects the circuit to prevent short circuit damage.
It realizes rapid response in short circuit situations, disconnects the power supply circuit, improves the safety of the switching circuit, and promptly outputs abnormal information to remind users of fault conditions.
Smart Images

Figure CN119009874A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of vehicle technology, and in particular to a switch circuit, a power supply control device and a vehicle. Background Art
[0002] There are many types of switches in the vehicle's power supply circuit. A high-side switch refers to a switch transistor added between the load and the power supply. It is often used in power control devices to control the operation of the load. It is widely used because of its high integration and complete functions.
[0003] During the process of the high-side switch circuit controlling the load, the current in the switch circuit may be abnormal. For example, a short circuit fault occurs in the circuit. At this time, the switch circuit often cannot respond quickly. However, when a short circuit occurs, the current in the switch circuit increases rapidly. If the circuit is not protected in time, the circuit may be damaged. Therefore, short-circuit protection requires a fast response time to avoid damage to the switch circuit and affect the safety of the vehicle. However, the existing switch circuit cannot meet the user's usage needs. Summary of the invention
[0004] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a switching circuit, a power control device and a vehicle.
[0005] In a first aspect, the present disclosure provides a switch circuit, comprising:
[0006] Short circuit protection module, switch module, current detection module and digital diagnosis module;
[0007] The first end of the short-circuit protection module is electrically connected to the power input end; the second end of the short-circuit protection module is electrically connected to the first end of the switch module; the second end of the switch module is electrically connected to the power output end; the third end of the short-circuit protection module is electrically connected to the control end of the switch module; the current detection module is connected between the power input end and the power output end; the first output end and the second output end of the current detection module are both electrically connected to the input end of the digital diagnosis module;
[0008] The short-circuit protection module is used to control the switch module to disconnect when the current at the power input end is greater than the short-circuit current threshold; the current detection module is used to detect the power supply current in the power supply link of the switch circuit and feed the power supply current back to the digital diagnosis module; the digital diagnosis module is used to receive the power supply current sent by the current detection module, generate a valid enable signal when the power supply current meets the fault condition, and output the switch circuit abnormality information according to the valid enable signal; wherein the fault condition at least includes a short circuit.
[0009] In some embodiments, it further includes: a voltage detection module and a temperature detection module;
[0010] The first end of the voltage detection module is electrically connected to the power input end; the second end of the voltage detection module is electrically connected to the first end of the short circuit protection module; the output end of the voltage detection module is electrically connected to the input end of the digital diagnosis module; the input end of the temperature detection module is electrically connected to the power supply end; the output end of the temperature detection module is electrically connected to the input end of the digital diagnosis module;
[0011] The voltage detection module is used to detect the supply voltage of the power input terminal and send the supply voltage to the input terminal of the digital diagnosis module;
[0012] The digital diagnosis module is also used to receive the voltage sent by the voltage detection module, generate a valid enable signal when the power supply voltage meets the overvoltage condition, and output the switch circuit abnormality information according to the valid enable signal;
[0013] The temperature detection module is used to detect the temperature of the switch circuit and send the temperature to the input end of the digital diagnosis module;
[0014] The digital diagnosis module is also used to receive the temperature sent by the temperature detection module, generate a valid enable signal when the temperature meets the over-temperature condition, and output the switch circuit abnormality information according to the valid enable signal.
[0015] In some embodiments, the short circuit protection module includes: a first resistor and a first switch element;
[0016] The first end of the first resistor and the first end of the first switching element are both electrically connected to the first end of the short-circuit protection module; the second end of the first resistor and the control end of the first switching element are both electrically connected to the second end of the short-circuit protection module; the second end of the first switching element is electrically connected to the third end of the short-circuit protection module.
[0017] In some embodiments, the switch module includes: a second switch element, a second resistor and an energy storage capacitor;
[0018] The first end of the second switching element, the first end of the second resistor and the first end of the energy storage capacitor are all electrically connected to the first end of the switching module; the second end of the second switching element and the second end of the switching module are electrically connected; the second end of the second resistor, the second end of the energy storage capacitor and the control end of the second switching element are all electrically connected to the control end of the switching module.
[0019] In some embodiments, the current detection module includes: a detection resistor, a differential amplifier unit, a gain adjustment unit, and a third switch element;
[0020] The first end of the detection resistor and the first input end of the differential amplifier unit are both electrically connected to the first end of the current detection module; the second end of the detection resistor and the second input end of the differential amplifier unit are both electrically connected to the second end of the current detection module; the output end of the differential amplifier unit is respectively electrically connected to the first input end of the gain adjustment unit and the first output end of the current detection module; the second input end of the gain adjustment unit is electrically connected to the output end of the gain adjustment unit; the output end of the gain adjustment unit is also electrically connected to the control end of the third switch element; the first end of the third switch element and the output end of the differential amplifier unit are both electrically connected to the second output end of the current detection module; the second end of the third switch element is grounded.
[0021] In some embodiments, it further includes: a control module;
[0022] The first end of the control module is electrically connected to the first output end of the current detection module, the output end of the voltage detection module and the output end of the temperature detection module respectively; the second end of the control module is electrically connected to the control end of the switch module and the third end of the short circuit protection module respectively;
[0023] The control module is used to receive the power supply current sent by the current detection module, and generate a valid enable signal when the power supply current meets the fault condition, and the output end of the control module controls the switch module to disconnect, and the power input end and the power output end are disconnected; wherein the fault condition includes at least one of overcurrent, short circuit and open circuit;
[0024] The control module is also used to receive the voltage sent by the voltage detection module, and when the supply voltage meets the overvoltage condition, the supply voltage is sent to the input end of the controlled module, and the output end of the control module controls the switch module to disconnect, and the power input end and the power output end are disconnected; the control module is also used to receive the temperature sent by the temperature detection module, and when the temperature meets the overtemperature condition, the temperature is sent to the input end of the controlled module, and the output end of the control module controls the switch module to disconnect, and the power input end and the power output end are disconnected.
[0025] In some embodiments, it further includes: a reverse protection module;
[0026] The first end of the reverse protection module is electrically connected to the second end of the current detection module; the second end of the reverse protection module is electrically connected to the power output end;
[0027] The reverse protection module is used to cut off when the voltage connected to the power output terminal is higher than the voltage connected to the power input terminal.
[0028] In some embodiments, the digital diagnostic module further comprises: at least one switch unit;
[0029] The control end of the switch unit is electrically connected to the input end of the digital diagnosis module; the first end of the switch unit is electrically connected to the external processor; and the second end of the switch unit is grounded.
[0030] In a second aspect, the present disclosure further provides a power supply control device, comprising a switching circuit as described in any one of the first aspects.
[0031] In a third aspect, the present disclosure further provides a vehicle, comprising a power control device as provided in the second aspect.
[0032] Compared with the prior art, the technical solution provided by the embodiments of the present disclosure has the following advantages:
[0033] The switch circuit provided by the present disclosure includes: a short-circuit protection module, a switch module, a current detection module and a digital diagnosis module; the first end of the short-circuit protection module is electrically connected to the power input end; the second end of the short-circuit protection module is electrically connected to the first end of the switch module; the second end of the switch module is electrically connected to the power output end; the third end of the short-circuit protection module is electrically connected to the control end of the switch module; the current detection module is connected between the power input end and the power output end; the first output end and the second output end of the current detection module are both electrically connected to the input end of the digital diagnosis module; the short-circuit protection module is used to control the switch module to disconnect when the current at the power input end is greater than the short-circuit current threshold; the current detection module is used to detect the power supply current in the power supply link of the switch circuit, and feed the power supply current back to the digital diagnosis module; the digital diagnosis module is used to receive the power supply current sent by the current detection module, and when the power supply current meets the fault condition, generate a valid enable signal, and output the abnormal information of the switch circuit according to the valid enable signal; wherein the fault condition at least includes a short circuit. When the power supply output end supplies power to the load, it needs to pass through the short-circuit protection module and the switch module. The short-circuit protection module detects the current in the circuit. Once the current in the circuit is too large and exceeds the short-circuit threshold current in the power supply circuit, the components in the circuit may be burned. Since the switch module and the short-circuit protection module are electrically connected, after the short-circuit protection module detects an abnormality, it will control the switch module to disconnect, thereby interrupting the current transmission and avoiding damage to the circuit. The power supply circuit is also connected to a current detection module and a digital diagnosis module. The current detection module detects the interruption of current transmission and feeds back to the digital diagnosis module. The digital diagnosis module outputs abnormal information to the outside, thereby facilitating the user to know the working condition of the switch circuit. The present disclosure can quickly respond when a short-circuit condition occurs in the switch circuit, disconnect the power supply circuit, and automatically diagnose and output the abnormal condition, promptly reminding the user that the switch circuit has a fault, thereby improving the safety of the switch circuit. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0035] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0036] Figure 1 A schematic diagram of a switch circuit provided in an embodiment of the present disclosure;
[0037] Figure 2A schematic diagram of the structure of another switch circuit provided in an embodiment of the present disclosure;
[0038] Figure 3 A schematic diagram of the structure of another switch circuit provided in an embodiment of the present disclosure;
[0039] Figure 4 A schematic diagram of the structure of another switch circuit provided in an embodiment of the present disclosure;
[0040] Figure 5 A schematic diagram of the structure of another switch circuit provided in an embodiment of the present disclosure;
[0041] Figure 6 A schematic diagram of the structure of another switch circuit provided in an embodiment of the present disclosure;
[0042] Figure 7 A schematic diagram of the structure of another switch circuit provided in an embodiment of the present disclosure;
[0043] Figure 8 A schematic diagram of the structure of another switching circuit provided in an embodiment of the present disclosure.
[0044] Among them, the correspondence between the figure marks and the structure names is: 1. switch module; 2. short-circuit protection module; 3. current detection module; 4. digital diagnosis module; 5. voltage detection module; 6. temperature detection module; 7. control module; 11. differential amplifier unit; 12. gain adjustment unit; 13. first voltage follower unit; 14. second voltage follower unit; Q1-Q12, first switch element-twelfth switch element; R1-R20, first resistor-twentieth resistor; U1-U4, first operational amplifier-fourth operational amplifier; R0, detection resistor; Rt, temperature detection resistor; C1, energy storage capacitor; C2, delay capacitor; D1 voltage regulator diode. DETAILED DESCRIPTION
[0045] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.
[0046] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.
[0047] The present disclosure provides a switch circuit. Figure 1 A schematic diagram of a switch circuit provided in an embodiment of the present disclosure is shown in FIG. Figure 1As shown, the switch circuit includes: a switch module 1 , a short circuit protection module 2 , a current detection module 3 and a digital diagnosis module 4 .
[0048] The first end of the short-circuit protection module 2 is electrically connected to the power input end; the second end of the short-circuit protection module 2 is electrically connected to the first end of the switch module 1; the second end of the switch module 1 is electrically connected to the power output end; the third end of the short-circuit protection module 2 is electrically connected to the control end of the switch module 1; the current detection module 3 is connected between the power input end and the power output end; the first output end and the second output end of the current detection module 3 are both electrically connected to the input end of the digital diagnosis module 4.
[0049] The short-circuit protection module 2 is used to control the switch module 1 to disconnect when the current at the power input end is greater than the short-circuit current threshold; the current detection module 3 is used to detect the power supply current in the power supply link of the switch circuit, and feed back the power supply current to the digital diagnosis module 4; the digital diagnosis module 4 is used to receive the power supply current sent by the current detection module, and when the power supply current meets the fault condition, generate a valid enable signal, and output the switch circuit abnormality information according to the valid enable signal; wherein the fault condition at least includes a short circuit.
[0050] Specifically, the first end of the short-circuit protection module 2 is electrically connected to the power input end, which is the input port. The second end of the short-circuit protection module 2 is electrically connected to the power output end, which outputs current. The current flows in through the first end of the short-circuit protection module 2 and flows out through the second end of the short-circuit protection module 2 to the switch module 1. The second end of the switch module 1 is electrically connected to the power output end, which is the output disconnection. The current flows out through the second end of the switch module 1 to the power output end, and the power output end is electrically connected to the load. The short-circuit protection module 2 also includes a third end, which is electrically connected to the control end of the switch module 1. During the current transmission process, the current in the switch circuit suddenly increases. When the current at the power input end is greater than the short-circuit current threshold, a circuit failure will be caused. In the present embodiment, the third end of the short-circuit protection module 2 is electrically connected to the control end of the switch module 1. When the current at the power input end is greater than the short-circuit current threshold, it can be determined that a short-circuit state has occurred. Since the current passes through the short-circuit protection module 2, the short-circuit protection module 2 detects the short-circuit state, and the voltage at the third end of the short-circuit protection module 2 increases, causing the voltage at the control end of the switch module 1 to increase, thereby controlling the switch module 1 to disconnect. After the switch module 1 is disconnected, the connection between the current input end and the current output end is disconnected, thereby preventing the circuit from being damaged by excessive current.
[0051] It also includes a current detection module 3, which is connected between the power input terminal and the power output terminal, and the first output terminal and the second output terminal of the current detection module 3 are both electrically connected to the input terminal of the digital diagnosis module 4. The current detection module 3 can detect the current value in the power supply link. Since the switch circuit is in different states, such as normal power supply and short circuit state, the current value in the power supply link is different. The power supply current in the power supply link can be obtained through the current detection module 3, and the overcurrent signal generated according to the power supply current is fed back to the digital diagnosis module 4. The digital diagnosis module 4 is used to receive the overcurrent signal generated by the current detection module according to the power supply current, and when the overcurrent signal meets the fault condition, it generates a valid enable signal, and outputs the abnormal information of the switch circuit according to the valid enable signal; wherein the fault condition at least includes a short circuit.
[0052] In the switch circuit provided by the present disclosure, when the power supply output end supplies power to the load, it needs to pass through the short-circuit protection module and the switch module. The short-circuit protection module detects the current in the circuit. Once the current in the circuit is too large and exceeds the short-circuit threshold current in the power supply circuit, the components in the circuit may be burned. Since the switch module and the short-circuit protection module are electrically connected, after the short-circuit protection module detects an abnormality, it will control the switch module to disconnect, thereby interrupting the current transmission and avoiding damage to the circuit. The power supply circuit is also connected to a current detection module and a digital diagnosis module. The current detection module detects the interruption of current transmission and feeds back to the digital diagnosis module. The digital diagnosis module outputs abnormal information to the outside, thereby facilitating the user to know the working condition of the switch circuit. The present disclosure can quickly respond when a short-circuit condition occurs in the switch circuit, disconnect the power supply circuit and automatically diagnose and output the abnormal condition, promptly remind the user that the switch circuit has a fault, and improve the safety of the switch circuit.
[0053] Optionally, the current detection module 3 includes a first output terminal and a second output terminal. The current detection module 3 is used to detect the current value in the switch circuit. Since the switch detects the current value in the switch circuit, and since the current value when the switch circuit is in an overcurrent state or an open circuit state is different, the standard for judging whether it is abnormal is different. Therefore, the current detection module 3 detects the overcurrent signal and the open circuit signal respectively, and is provided with a first output terminal and a second output terminal. The first output terminal of the current detection module 3 is electrically connected to the input terminal of the digital diagnosis module 4, and the overcurrent signal obtained according to the detected current is transmitted to the digital diagnosis module 4. The second output terminal of the current detection module 3 is electrically connected to the input terminal of the digital diagnosis module 4, and the open circuit signal obtained according to the detected current is transmitted to the digital diagnosis module 4. The digital diagnosis module 4 receives the overcurrent signal or the open circuit signal obtained according to the power supply current sent by the current detection module 3, and generates a valid enable signal when the overcurrent condition or the open circuit signal meets the fault condition, and outputs the switch circuit abnormality information according to the valid enable signal.
[0054] In some embodiments, Figure 2 A schematic diagram of a switch circuit according to another embodiment of the present disclosure is shown in FIG. Figure 2 As shown, the switch circuit further includes: a voltage detection module 5 and a temperature detection module 6.
[0055] The first end of the voltage detection module 5 is electrically connected to the power input end, the second end of the voltage detection module 5 is electrically connected to the first end of the short-circuit protection module 2, the output end of the voltage detection module 5 is electrically connected to the input end of the digital diagnosis module 4, the input end of the temperature detection module 6 is electrically connected to the power supply end, and the output end of the temperature detection module 6 is electrically connected to the input end of the digital diagnosis module 4.
[0056] The voltage detection module 5 is used to detect the supply voltage at the power input end and send the supply voltage to the input end of the digital diagnosis module 4 .
[0057] The digital diagnosis module 4 is also used to receive the supply voltage sent by the voltage detection module 5, generate a valid enable signal when the supply voltage meets the overvoltage condition, and output the switch circuit abnormality information according to the valid enable signal.
[0058] The temperature detection module 6 is used to detect the temperature of the switch circuit and send the temperature to the input end of the digital diagnosis module.
[0059] The digital diagnosis module 4 is also used to receive the temperature sent by the temperature detection module 6, generate a valid enable signal when the temperature meets the over-temperature condition, and output the switch circuit abnormality information according to the valid enable signal.
[0060] Specifically, refer to Figure 2, the switch circuit is also provided with a voltage detection module 5 and a temperature detection module 6, wherein the first end of the voltage detection module 5 is electrically connected to the power input end, the second end of the voltage detection module 5 is electrically connected to the second end of the short-circuit protection module 2, the power input end transmits the current to the short-circuit protection module 2 through the voltage detection module 5, and the voltage detection module 5 detects the power supply voltage at the power input end, and feeds back the overvoltage signal obtained according to the power supply voltage to the digital diagnosis module 4, the input end of the digital diagnosis module 4 is electrically connected to the output end of the voltage detection module 5, the digital diagnosis module 4 receives the overvoltage signal generated by the voltage detection module 5 according to the power supply voltage, and generates an effective enable signal when the overvoltage signal meets the fault condition, and outputs the abnormal information of the switch circuit according to the effective enable signal. The switch circuit is also provided with a temperature detection module 6, the input end of the temperature detection module 6 is electrically connected to the power supply end, the power supply end is Vs, the output end of the temperature detection module 6 is electrically connected to the input end of the digital diagnosis module 4, the temperature detection module 6 is used to detect the temperature in the switch circuit, obtain the overtemperature signal, and send it to the digital diagnosis module 4. The temperature detection module 6 only needs to be placed near the components to be detected, and does not need to be electrically connected to the components to be detected. The output end of the temperature detection module 6 is electrically connected to the input end of the digital diagnosis module 4, and the over-temperature signal obtained according to the detected temperature is fed back to the digital diagnosis module 4. The input end of the digital diagnosis module 4 is electrically connected to the output end of the temperature detection module 6. The digital diagnosis module 4 receives the over-temperature signal generated by the temperature detection module 6 according to the temperature. When the over-temperature signal meets the fault condition, it generates a valid enable signal and outputs the switch circuit abnormality information according to the valid enable signal.
[0061] In some embodiments, the short circuit protection module includes: a first resistor and a first switch element.
[0062] The first end of the first resistor and the first end of the first switch element are both electrically connected to the first end of the short-circuit protection module, the second end of the first resistor and the control end of the first switch element are both electrically connected to the second end of the short-circuit protection module, and the second end of the first switch element is electrically connected to the third end of the short-circuit protection module.
[0063] Specifically, Figure 3 A schematic diagram of a switch circuit according to another embodiment of the present disclosure is shown in FIG. Figure 3As shown, the first end of the first resistor R1 is electrically connected to the first end of the short-circuit protection module 2, the second end of the first resistor R1 is electrically connected to the second end of the short-circuit protection module 2, the current in the switch circuit flows in through the first end of the first resistor R1, and flows out from the second end of the first resistor R1, and the first resistor R1 can play a role in current limiting. A first switch element Q1 is also provided, for example, a PNP transistor, the first end emitter of the first switch element Q1 is electrically connected to the first end of the short-circuit protection module 2, the second end collector of the first switch element Q1 is electrically connected to the third end of the short-circuit protection module 2, and the control end base of the first switch element Q1 is electrically connected to the second end of the short-circuit protection module 2. When the current passing through the first resistor R1 increases significantly and exceeds the short-circuit preset current, since the first resistor R1 is a constant value, the absolute value of the voltage Vbe(q1) between the base and the emitter of the first switch element Q1 increases, and the current also increases accordingly. The current between the collector and the base of the first switch element Q1 also increases. When the equivalent resistance between the collector and the base of the first switch element Q1 decreases, the voltage between the collector and the base of the first switch element Q1 decreases accordingly. The voltage value of the control end of the first switch element Q1 is greater than the turn-on voltage, so that the collector and the emitter of the first switch element Q1 are turned on, that is, the first end of the first switch element Q1 is turned on with the second end of the first switch element Q1, and the voltage of the Vg end of the second end of the first switch element Q1 increases, and the second end of the first switch element Q1 is electrically connected to the third end of the short-circuit protection module 2, and the third end of the short-circuit protection module 2 is electrically connected to the control end of the switch module 1. The voltage of the control end of the switch module 1 increases, and the control switch module 1 is disconnected.
[0064] The resistance of the first resistor R1 satisfies the following formula:
[0065]
[0066] Wherein, Ith1 is the short-circuit voltage threshold, and Vbe(q1) is the voltage between the base and the emitter of the first switch element Q1.
[0067] Since the resistance of the first resistor R1 is usually small, much smaller than the resistance inside the switch module 1, when a short circuit occurs, the short circuit protection module 2 can quickly control the switch module 1 to be disconnected, thereby quickly protecting the circuit.
[0068] When a short circuit occurs, the turn-on voltage between the base and the emitter of the first switch element Q1 is:
[0069] |V be1 |=R1I
[0070] Among them, the turn-on voltage of the first switch element Q1 is determined by the resistance value of the first resistor R1. When the first switch element Q1 is turned on, for example, when the high level is turned on, the voltage value of the second end of the first switch element Q1 is the voltage value of the control end of the switch module 1, thereby increasing the voltage of the control end of the switch module 1, and the switch module 1 is set to be turned on at a low level, at which time the switch module 1 is disconnected.
[0071] In some embodiments, the switch module includes: a second switch element, a second resistor, and an energy storage capacitor;
[0072] The first end of the second switching element, the first end of the second resistor and the first end of the energy storage capacitor are all electrically connected to the first end of the switching module; the second end of the second switching element and the second end of the switching module are electrically connected; the second end of the second resistor, the second end of the energy storage capacitor and the control end of the second switching element are all electrically connected to the control end of the switching module.
[0073] Specifically, Figure 4 A schematic diagram of a switch circuit according to another embodiment of the present disclosure is shown in FIG. Figure 4 As shown, the switch module 1 includes a second switch element Q2, a first end of the second switch element Q2 is electrically connected to the first end of the switch module 1, a second end of the second switch element Q2 is electrically connected to the second end of the switch module 1, and a control end of the second switch element Q2 is electrically connected to the control end of the switch module 1. Exemplarily, the second switch element Q2 is, for example, a P-type field effect transistor, a gate of the P-type field effect transistor serves as the control end of the second switch element Q2, a source of the P-type field effect transistor serves as the first end of the second switch element Q2, and a drain of the P-type field effect transistor serves as the second end of the second switch element Q2.
[0074] The switch module 1 also includes a first end of an energy storage capacitor C1 electrically connected to a first end of a second switch element Q2, and a second end of the energy storage capacitor C1 electrically connected to a control end of the second switch element Q2. It also includes a second resistor R2 and a third resistor R3, a first end of the second resistor R2 electrically connected to a first end of the energy storage capacitor C1, a second end of the second resistor R2 electrically connected to a second end of the energy storage capacitor C1 and a first end of the third resistor R3, and a second end of the third resistor R3 electrically connected to the control end of the switch module 1. The resistance values of the second resistor R2 and the third resistor R3 should satisfy the following formula:
[0075]
[0076] Among them, Vinmin is the rated minimum voltage of the input voltage, Vgs(th)(m2) is the on-voltage of the second switch element Q2, k is the proportional factor, and the value range is, for example, 1.5-2, which can be set according to the on-voltage Vgs(th)(m6) of the second switch element Q2.
[0077] Specifically, after the power input terminal of the energy storage capacitor C1 is connected to the input voltage, the energy storage capacitor C1 is charged in a constant current manner to control the second switch element Q2 to slowly open, and the energy storage capacitor C1 is discharged in a constant current manner to control the second switch element Q2 to slowly close, thereby avoiding excessive instantaneous current from damaging the second switch element Q2 and improving the stability and safety of the switch circuit. Therefore, the capacitance value of the energy storage capacitor C1 can control the start time and the shutdown time of the second switch element Q2.
[0078] According to the charging formula of the energy storage capacitor C1, the start-up time Tstart1 of the second switch element Q2 satisfies the following formula:
[0079]
[0080] Wherein, C1 is the capacitance value of the energy storage capacitor C1, R3 is the resistance value of the third resistor R3, Vin is the voltage value of the power input terminal, and Vgs(th)(m2) is the turn-on voltage of the second switch element Q2.
[0081] The closing time Tstop1 of the second switching element Q2 satisfies the following formula:
[0082]
[0083] Wherein, R2 is the resistance value of the second resistor R2.
[0084] Exemplarily, when the third resistor R3 is pulled down to the ground, the energy storage capacitor C1 is charged through the third resistor R3, and when the gate-source voltage Vgs of the second switch element Q2 is greater than the turn-on voltage Vgs(th)(m2) of the second switch element Q2, the second switch element Q2 is turned on. When the third resistor R3 is controlled to be disconnected from the ground, the energy storage capacitor C1 is discharged through the second resistor R2, and when the gate-source voltage Vgs of the second switch element Q2 is less than the turn-on voltage Vgs(th)(m7) of the second switch element Q2, the second switch element Q2 is turned off.
[0085] In the disclosed embodiment, when combined with the short-circuit protection module 2, the third end of the short-circuit protection module 2 is directly electrically connected to the control end gate of the second switch element Q2, and the voltage of the control end of the second switch element Q2 is equal to the voltage of the third end of the short-circuit protection module 2, which is a high level at this time. The short-circuit protection module 2 clamps the voltage between the gate and the source of the second switch element Q2, and the second switch element Q2 is disconnected under the control of the high level, thereby disconnecting the connection between the power input end and the power output end. The equivalent resistance in the short-circuit protection module 2 is much smaller than the resistance value of the second resistor R2, and the two are equivalent to being connected in parallel. The resistance in the short-circuit protection module 2 is small, so the short-circuit protection module 2 controls the switch module 1 at this time to quickly complete the short-circuit protection.
[0086] In some embodiments, the current detection module includes: a detection resistor, a differential amplifier unit, a gain adjustment unit, and a third switch element.
[0087] The first end of the detection resistor and the first input end of the differential amplifier unit are both electrically connected to the first end of the current detection module; the second end of the detection resistor and the second input end of the differential amplifier unit are both electrically connected to the second end of the current detection module; the output end of the differential amplifier unit is respectively electrically connected to the first input end of the gain adjustment unit and the first output end of the current detection module; the second input end of the gain adjustment unit is electrically connected to the output end of the gain adjustment unit; the output end of the gain adjustment unit is also electrically connected to the control end of the third switch element; the first end of the third switch element and the output end of the differential amplifier unit are both electrically connected to the second output end of the current detection module; and the second end of the third switch element is grounded.
[0088] Specifically, Figure 5 A schematic diagram of a switch circuit according to another embodiment of the present disclosure is shown in FIG. Figure 5 As shown, the first end of the detection resistor R0 and the first input end of the differential amplifier unit 11 are both electrically connected to the first end of the current detection module 3; the second end of the detection resistor R0 is respectively electrically connected to the second end of the current detection module 3 and the second input end of the differential amplifier unit 11; the output end of the differential amplifier unit 11 is respectively electrically connected to the first input end of the gain adjustment unit 12 and the first output end of the current detection module 3; the second input end of the gain adjustment unit 12 is electrically connected to the output end of the gain adjustment unit 12; the output end of the gain adjustment unit 12 is also electrically connected to the control end of the third switch element Q3; the first end of the third switch element Q3 and the output end of the differential amplifier unit 11 are both electrically connected to the second output end of the current detection module 3; the second end of the third switch element Q3 is grounded.
[0089] Specifically, the detection resistor R0 can be, for example, a precision resistor of the current sensor, and the resistance value of the detection resistor can be set according to the current detection accuracy required by the switch circuit. It also includes a differential amplifier unit 11, a gain adjustment unit 12, and the third switch element Q3 is, for example, an NPN transistor, the base of the NPN transistor is the control end of the third switch element Q3, the collector of the NPN transistor is the first end of the third switch element Q3, and the emitter of the NPN transistor is the second end of the third switch element Q3.
[0090] For example Figure 5The differential amplifier unit 11 includes a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7 and a third operational amplifier U3. The first end of the fourth resistor R4 is electrically connected to the first input end of the differential amplifier unit 11. The second end of the fourth resistor R4 and the first end of the fifth resistor R5 are both electrically connected to the non-inverting input end of the third operational amplifier U3. The second end of the fifth resistor R5 is grounded. The first end of the sixth resistor R6 is electrically connected to the second input end of the differential amplifier unit 11. The second end of the sixth resistor R6 and the first end of the seventh resistor R7 are both electrically connected to the inverting input end of the third operational amplifier U3. The second end of the seventh resistor R7 is electrically connected to the output end of the third operational amplifier U3. The output end of the third operational amplifier U3 is electrically connected to the output end of the differential amplifier unit 11. Among them, the fourth resistor R4, the fifth resistor R5, the sixth resistor R6, and the seventh resistor R7 are all high-precision resistors, and the ratio of the resistance value of the fourth resistor R4 to the resistance value of the fifth resistor R5 is ensured to be equal to the ratio of the resistance value of the sixth resistor R6 to the resistance value of the seventh resistor R7. For example, the resistance value of the fourth resistor R4 can be set equal to the resistance value of the sixth resistor R6, and the resistance value of the fifth resistor R5 can be set equal to the resistance value of the seventh resistor R7, so as to avoid the error in the resistance value of the fourth resistor R4, the fifth resistor R5, the sixth resistor R6, and the seventh resistor R7 causing an error when the current detection module 3 detects the current.
[0091] According to the working principle of the differential amplifier unit 11, the output voltage Vu3 of the third operational amplifier U3 satisfies the following formula:
[0092]
[0093] Wherein, I is the input current, R0 is the resistance value of the detection resistor R0, R7 is the resistance value of the seventh resistor R7, and R6 is the resistance value of the sixth resistor R6.
[0094] Exemplarily, the current detection module 3 also includes an eighth resistor R8 and a ninth resistor R9, the first end of the eighth resistor R8 is electrically connected to the output end of the third operational amplifier U3, the second end of the eighth resistor R8 and the first end of the ninth resistor R9 are both electrically connected to the first output end of the current detection module 3, and then electrically connected to the input end of the digital diagnostic module 4, and the second end of the tenth resistor is grounded.
[0095] Since the first output terminal of the current detection module 3 is electrically connected to the input terminal of the digital diagnosis module 4, and the digital diagnosis module 4 is provided with a fourth switch element Q4, the first output terminal of the current detection module 3 is electrically connected to the control terminal of the fourth switch element Q4, and the first terminal of the fourth switch element Q4 is electrically connected to the input terminal of the digital diagnosis module 4 ( Figure 5 The fourth switch element Q4 is not shown in the figure. Figure 8After the current detection module 3 detects the overcurrent signal Det1, it is sent to the input end of the digital diagnosis module 4 and then transmitted to the fourth switch element Q4. If the overcurrent signal Det1 meets the overcurrent fault condition, a valid enable signal is generated.
[0096] According to the series voltage division formula, the values of the eighth resistor R8 and the ninth resistor R9 need to satisfy the following formula:
[0097]
[0098] Among them, R8 is the resistance value of the eighth resistor R8, R9 is the resistance value of the ninth resistor R9, Ith2 is the overcurrent threshold corresponding to the overcurrent condition, and Vbe(q4) is the voltage between the base and the emitter of the fourth switch element Q4.
[0099] Exemplarily, when the input current I is greater than the overcurrent threshold Ith2 corresponding to the overcurrent condition, the voltage Vu3 output by the third operational amplifier U3 is applied to the eighth resistor R8 and the ninth resistor R9. At this time, the base voltage of the fourth switch element Q4 satisfies the following formula:
[0100]
[0101] At this time, the base voltage Vb4 of the fourth switch element Q4 is greater than the voltage Vbe(q4) between the base and the emitter of the fourth switch element Q4. At this time, the fourth switch element Q4 is turned on, and the base voltage Vb4 of the fourth switch element Q4 will also be clamped to the voltage Vbe(q4) between the base and the emitter of the fourth switch element Q4.
[0102] Continue to refer Figure 5 The current detection module 3 further includes a gain adjustment unit 12, and the gain adjustment unit 12 includes a tenth resistor R10, an eleventh resistor R11, a twelfth resistor R12, a thirteenth resistor R13 and a fourth operational amplifier U4.
[0103] The first end of the tenth resistor R10 and the first end of the eleventh resistor R11 are both electrically connected to the second input end of the fourth operational amplifier U4, the second end of the tenth resistor R10 is grounded, the first end of the twelfth resistor R12 is electrically connected to the output end of the differential amplifier unit 11, the second end of the twelfth resistor R12 and the first end of the thirteenth resistor R13 are both electrically connected to the first input end of the fourth operational amplifier U4, and the second end of the thirteenth resistor R13 is grounded. The second end of the eleventh resistor R11 is electrically connected to the output end of the fourth operational amplifier U4 and the control end of the third switch element Q3, respectively. A fourteenth resistor R14 is also included, the first end of the fourteenth resistor R14 is electrically connected to the external power supply end Vs, and the second end of the fourteenth resistor R14 is electrically connected to the first end of the third switch element Q3.
[0104] Exemplarily, when the input current I drops to the open circuit current threshold Ith2 corresponding to the open circuit condition, the voltage Vu3 output by the third operational amplifier U3 satisfies the following formula:
[0105]
[0106] Among them, R0 is the resistance value of the detection resistor R0, R6 is the resistance value of the sixth resistor R6, R7 is the resistance value of the seventh resistor R7, and Ith3 is the open circuit current threshold corresponding to the open circuit condition.
[0107] At this time, the voltage is too low to directly drive the third switch element Q3, and the voltage needs to be adjusted. The voltage is attenuated to a safe range through the twelfth resistor R12 and the thirteenth resistor R13 in the gain adjustment unit 12, and the attenuation gain G1 satisfies the following formula:
[0108]
[0109] Wherein, R12 is the resistance value of the twelfth resistor R12, and R13 is the resistance value of the thirteenth resistor R13.
[0110] Then, the voltage is amplified by the tenth resistor R10 and the eleventh resistor R11 to a range capable of driving the third switch element Q3, and the amplification gain G2 satisfies the following formula:
[0111]
[0112] Wherein, R10 is the resistance value of the tenth resistor R10, and R11 is the resistance value of the eleventh resistor R11.
[0113] The final adjusted voltage gain Gtotal is the product of the attenuation gain G1 and the amplification gain G2, and the voltage gain should satisfy the following formula:
[0114] G total V u3(Ith3) =V be(q3)
[0115] Wherein, Vu3 (Ith3) represents the voltage output by the third operational amplifier U3, and Vb (q3) represents the voltage between the base and the emitter of the third switch element Q3.
[0116] When the third switch element Q3 is turned on, it indicates that the switch circuit is in an open circuit state, and an open circuit signal Det2 is output to the second output end of the current detection module 3 .
[0117] Since the second output terminal of the current detection module 3 is electrically connected to the input terminal of the digital diagnosis module 4, and the digital diagnosis module 4 is provided with a fifth switch element Q5, the second output terminal of the current detection module 3 is electrically connected to the control terminal of the fifth switch element Q5, and the first terminal of the fifth switch element Q5 is electrically connected to the input terminal of the digital diagnosis module 4 ( Figure 5 The fifth switch element Q5 is not shown in the figure. Figure 8 After the current detection module 3 detects the open circuit signal Det2, it is sent to the input end of the digital diagnosis module 4, and then transmitted to the fifth switch element Q5. If the open circuit signal Det2 meets the open circuit fault condition, a first valid enable signal is generated.
[0118] Alternatively, if Figure 5 As shown, the current detection module 3 further includes a first voltage following unit 13 and a second voltage following unit 14 .
[0119] The first end of the first voltage follower unit 13 is electrically connected to the first end of the detection resistor R0, the second end of the first voltage follower unit 13 and the third end of the first voltage follower unit 13 are both electrically connected to the first input end of the differential amplifier unit 11, the first end of the second voltage follower unit 14 is electrically connected to the second end of the detection resistor R0, and the second end of the second voltage follower unit 14 and the third end of the second voltage follower unit 14 are both electrically connected to the second input end of the differential amplifier unit 11.
[0120] Specifically, Figure 2 It is exemplarily shown that the first voltage follower unit 13 includes a first operational amplifier U1, and the second voltage follower unit 14 includes a second operational amplifier U2. The non-inverting input terminal of the first operational amplifier U1 serves as the first terminal of the first voltage follower unit 13, the inverting input terminal of the first operational amplifier U1 serves as the second terminal of the first voltage follower unit 13, and the output terminal of the first operational amplifier U1 serves as the third terminal of the first voltage follower unit 13. The non-inverting input terminal of the second operational amplifier U2 serves as the first terminal of the first voltage follower unit 13, the inverting input terminal of the second operational amplifier U2 serves as the second terminal of the first voltage follower unit 13, and the output terminal of the second operational amplifier U2 serves as the third terminal of the first voltage follower unit 13.
[0121] The first voltage follower unit 13 collects the voltage of the first end of the detection resistor R0, and the second voltage follower unit 14 collects the voltage of the second end of the detection resistor R0, and inputs the voltage of the first end of the detection resistor R0 and the voltage of the second end of the detection resistor R0 to the differential amplifier unit 11, and utilizes the high input impedance and low output impedance characteristics of the first voltage follower unit 13 and the second voltage follower unit 14 to isolate the influence between the front and rear stage circuits, and play a role of excessive buffering. Utilizing the high input impedance and low output impedance characteristics of the first voltage follower unit 13 and the second voltage follower unit 14, and the output voltage is close to the input voltage amplitude, presenting a high impedance state to the upper circuit, and a low impedance state to the lower circuit, it can effectively isolate the interference of the front and rear stage circuits, and has the ability to enhance the signal driving.
[0122] Optionally, Figure 6 A schematic diagram of a switch circuit according to another embodiment of the present disclosure is shown in FIG. Figure 6 As shown, the voltage detection module 5 includes: a fifteenth resistor R15 and a sixteenth resistor R16;
[0123] A first end of the fifteenth resistor R15 is electrically connected to the power input terminal, a second end of the fifteenth resistor R15 is electrically connected to a first end of the sixteenth resistor R16 and the input terminal of the digital diagnosis module 4, and a second end of the sixteenth resistor R16 is grounded.
[0124] Optionally, the voltage detection module 5 further includes a voltage regulator diode D1 , a first end of the voltage regulator diode D1 is electrically connected to the power input end, and a second end of the voltage regulator diode D1 is electrically connected to a first end of a fifteenth resistor R15 .
[0125] Exemplarily, since the output end of the voltage detection module 5 is electrically connected to the input end of the digital diagnosis module 4, and the digital diagnosis module 4 is provided with a sixth switch element Q6, the output end of the voltage detection module 5 is electrically connected to the control end of the sixth switch element Q6, and the first end of the sixth switch element Q6 is electrically connected to the input end of the digital diagnosis module 4 ( Figure 6 The sixth switch element Q6 is not shown in the figure. Figure 8 After the voltage detection module 5 detects the overvoltage signal Det3, it is sent to the input end of the digital diagnosis module 4 and then transmitted to the sixth switch element Q6. If the overvoltage signal Det3 meets the voltage fault condition, a valid enable signal is generated.
[0126] The sixth switch element Q6 is, for example, an NPN transistor, the base of the NPN transistor serves as the control end of the sixth switch element Q6 , the collector of the NPN transistor serves as the output end of the sixth switch element Q6 , and the emitter of the NPN transistor is connected to the input end of the digital diagnosis module 4 .
[0127] The resistance values of the fifteenth resistor R15 and the sixteenth resistor R16 satisfy the following formula:
[0128]
[0129] Wherein, Vz is the voltage stabilization value of the voltage stabilizing diode D1, Vth1 is the voltage threshold, and Vbe(q6) is the voltage between the base and the emitter of the sixth switch element Q6. The voltage stabilization value Vz of the voltage stabilizing diode D1 is set to be less than the voltage threshold Vth1 and greater than the rated maximum voltage Vinmax of the input voltage. Thus, when the input voltage Vin is less than the voltage stabilization value Vz, the sixth switch element Q6 is in the off state. When the input voltage Vin exceeds the rated maximum voltage Vinmax, Vz will be triggered to turn on, but the state of the sixth switch element Q6 will not change. The sixth switch element Q6 will be triggered to turn on only when the input voltage Vin exceeds the voltage threshold Vth1.
[0130] Specifically, when the input voltage Vin exceeds the voltage threshold Vth1, the voltage zener diode D1 conducts in reverse, and the clamping voltage is the voltage stabilization value Vz of the voltage zener diode D1. At this time, the base voltage of the sixth switch element Q6 is:
[0131]
[0132] At this time, the base voltage Vb6 of the sixth switch element Q6 is greater than the voltage Vbe(q6) between the base and the emitter of the sixth switch element Q6, and the base voltage Vb6 of the sixth switch element Q6 is clamped to the voltage Vbe(q6) between the base and the emitter of the sixth switch element Q6, and the sixth switch element Q6 is turned on. When the sixth switch element Q6 is turned on, the digital diagnosis module 4 obtains a valid enable signal, such as a high-level signal, indicating that the input voltage in the switch circuit is abnormal at this time, and the switch abnormality information can be output to the external processor.
[0133] Optionally, continue to refer to Figure 6 The temperature detection module 6 includes a seventeenth resistor R17, an eighteenth resistor R18, a temperature detection resistor Rt and an eighth switch element Q8.
[0134] The first end of the seventeenth resistor R17 and the first end of the eighteenth resistor R18 are both electrically connected to the power supply terminal Vs; the second end of the seventeenth resistor R17 is respectively electrically connected to the first end of the temperature detection resistor Rt and the control end of the eighth switch element Q8; the first end of the eighth switch element Q8 is respectively electrically connected to the second end of the seventeenth resistor R17 and the input end of the digital diagnostic module 4; the second end of the eighth switch element Q8 is grounded.
[0135] Specifically, the power supply terminal Vs provides power to the temperature detection resistor Rt. The resistance of the temperature detection resistor Rt decreases as the temperature increases. Therefore, the current measured temperature of the switch circuit, that is, the measured temperature, can be obtained according to the resistance of the temperature detection resistor. The resistance value of the temperature detection resistor at the measured temperature satisfies the following formula:
[0136]
[0137] Wherein, T is the measured temperature; Ta is the reference temperature; Ra is the resistance value at the reference temperature Ta; B refers to the thermal coefficient, which is related to the material. The reference temperature Ta and the resistance value Ra at the reference temperature Ta are the preset values of the temperature detection resistor Rt.
[0138] Exemplarily, the over-temperature threshold of the switch circuit is set to T1, and the resistance value of the corresponding temperature detection resistor Rt is Rt1.
[0139] When the measured temperature T is greater than the over-temperature threshold T1, the eighth switch element Q8 is disconnected, and an over-temperature signal Det4 is output to the input end of the digital diagnosis module 4. The seventeenth resistor R17 should satisfy the following formula:
[0140]
[0141] Wherein, Rt1 is the resistance value of the temperature detection resistor Rt corresponding to the measured temperature T1; Vs is the power supply voltage value of the power supply end; Vbe(q8) represents the voltage between the base and the emitter of the eighth switch element Q8.
[0142] When the measured temperature T is less than the over-temperature threshold T1, the eighth switch element Q8 is turned on, and the base voltage of the eighth switch element Q8 satisfies the following formula:
[0143]
[0144] At this time, the base voltage Vb2 of the eighth switch element Q8 is greater than the voltage Vbe(q8) between the base and emitter of the eighth switch element Q8, the eighth switch element Q8 is turned on, and the base voltage Vb8 of the eighth switch element Q8 will also be clamped at the voltage Vbe(q8) between the base and emitter of the eighth switch element Q8.
[0145] Since the output end of the temperature detection module 6 is electrically connected to the input end of the digital diagnosis module 4, and the digital diagnosis module 4 is provided with a seventh switch element Q7, the output end of the temperature detection module 6 is electrically connected to the control end of the seventh switch element Q7, and the first end of the seventh switch element Q7 is electrically connected to the input end of the digital diagnosis module 4 ( Figure 6 The seventh switch element Q7 is not shown in the figure, see the corresponding appendix of the digital diagnosis module 4 Figure 8After the temperature detection module 6 detects the over-temperature signal Det4, it is sent to the input end of the digital diagnosis module 4 and then transmitted to the seventh switch element Q7. If the over-temperature signal Det4 meets the over-current fault condition, a valid enable signal is generated.
[0146] In some embodiments, the switch circuit further includes: a control module.
[0147] The first end of the control module is electrically connected to the first output end of the current detection module, the output end of the voltage detection module and the output end of the temperature detection module, and the second end of the control module is electrically connected to the control end of the switch module and the third end of the short circuit protection module.
[0148] The control module is used to receive the power supply current sent by the current detection module, and generate a valid enable signal when the power supply current meets the fault condition. The output end of the control module controls the switch module to disconnect, and the power input end and the power output end are disconnected; wherein the fault condition includes at least one of overcurrent, short circuit and open circuit.
[0149] The control module is also used to receive the voltage sent by the voltage detection module. When the power supply voltage meets the overvoltage condition, the power supply voltage is sent to the input end of the controlled module. The output end of the control module controls the switch module to disconnect, and the power input end and the power output end are disconnected. The control module is also used to receive the temperature sent by the temperature detection module. When the temperature meets the overtemperature condition, the temperature is sent to the input end of the controlled module. The output end of the control module controls the switch module to disconnect, and the power input end and the power output end are disconnected.
[0150] Specifically, Figure 7 A schematic diagram of a switch circuit according to another embodiment of the present disclosure is shown in FIG. Figure 7 As shown, the first end of the control module 7 can be electrically connected to the first output end of the current detection module 3, the output end of the voltage detection module 5 and the output end of the temperature detection module 6 respectively, and the second end of the control module 7 can be electrically connected to the control end of the switch module 1. According to the overcurrent signal generated by the power supply circuit, when the overcurrent signal meets the fault condition, or according to the overvoltage signal generated by the power supply circuit, when the overvoltage signal meets the fault condition, or according to the overtemperature signal generated by the power supply circuit, when the overtemperature signal meets the fault condition, the switch module 1 can be controlled to disconnect, thereby disconnecting the connection between the power input end and the power output end.
[0151] Optionally, the control module 7 includes a ninth switching element Q9 , a tenth switching element Q10 , an eleventh switching element Q11 and a twelfth switching element Q12 .
[0152] Exemplarily, the ninth switch element Q9, the tenth switch element Q10, the eleventh switch element Q11 and the twelfth switch element Q12 are set as NPN transistors, the control end of the ninth switch element Q9 is electrically connected to the first output end of the current detection module 3, and receives the overcurrent signal Det1, the control end of the tenth switch element Q10 is electrically connected to the output end of the voltage detection module 5, and receives the overvoltage signal Det3, the control end of the eleventh switch element Q11 is electrically connected to the output end of the temperature detection module 6, and receives the overtemperature signal Det4, the first end of the ninth switch element Q9, the first end of the tenth switch element Q10, the first end of the eleventh switch element Q11 and the control end of the twelfth switch element Q12 are all electrically connected to the external control end Ex-Ctl, the second end of the ninth switch element Q9, the second end of the tenth switch element Q10, the eleventh switch element Q11 and the second end of the twelfth switch element Q12 are all grounded, the first end of the twelfth switch element Q12 is electrically connected to the control end of the switch module 1, and outputs the control signal ctl.
[0153] Further, when the input current is greater than the overcurrent threshold corresponding to the overcurrent condition, the first output end of the current detection module 3 outputs an overcurrent signal Det1 to the ninth switch element Q9 in the control module 7, and the ninth switch element Q9 is turned on, generating an effective enable signal, such as a high level signal, which is then output to the twelfth switch element Q12;
[0154] When the input voltage is greater than the voltage threshold, the output end of the voltage detection module 5 outputs an overvoltage signal Det3 to the tenth switch element Q10 in the control module 7, and the tenth switch element Q10 is turned on to generate a valid enable signal, such as a high level signal, which is then output to the twelfth switch element Q12;
[0155] When the circuit temperature is greater than the temperature threshold, the output end of the temperature detection module 6 outputs an over-temperature signal Det4 to the eleventh switch element Q11 in the control module 7, and the eleventh switch element Q11 is turned on, generating an effective enable signal, such as a high-level signal, which is then output to the twelfth switch element Q12. At the same time, the control end of the twelfth switch element Q12 is also electrically connected to the external control end Ex-Ctl, and the above four control signals jointly control the twelfth switch element Q12.
[0156] Among them, when the external control terminal Ex-Ctl is connected to a low-level signal, the twelfth switch element Q12 is disconnected, and the first terminal output signal state of the twelfth switch element Q12 is independent of the overcurrent signal Det1, the overvoltage signal Det3 and the overtemperature signal Det4, and is in an open collector state. At this time, when the third resistor R3 is controlled to be disconnected from the ground in the switch module 1, the energy storage capacitor C1 is discharged through the second resistor R2, and when the gate-source voltage Vgs of the second switch element Q2 is less than the conduction voltage Vgs(th)(m2) of the second switch element Q2, the second switch element Q2 is disconnected, thereby disconnecting the power input terminal and the power output terminal.
[0157] When the external control terminal Ex-Ctl is connected to a high-level signal, the overcurrent signal Det1, the overvoltage signal Det3 and the overtemperature signal Det4 need to be considered. Only when the effective enable signal generated by the overcurrent signal Det1, the overvoltage signal Det3 and the overtemperature signal Det4 is low, the control signal ctl output from the first end of the twelfth switch element Q12 is in the 0 state. In the switch module 1, when the third resistor R3 is pulled down to the ground, the energy storage capacitor C1 is charged through the third resistor R3. When the gate-source voltage Vgs of the second switch element Q2 is greater than the conduction voltage Vgs(th)(m2) of the second switch element Q2, the second switch element Q2 is turned on. In other cases, the second switch element Q2 cannot be turned on and is in an open collector state. The principle is not repeated here.
[0158] Table 1 shows the relationship between the state corresponding to the signal at the first output terminal Det1 of the current detection module 3, the state corresponding to the signal at the output terminal Det3 of the voltage detection module 5, the state corresponding to the signal at the output terminal Det4 of the temperature detection module 6, the base voltage state of the twelfth switching element Q12, and the output terminal state of the control module 7.
[0159] Among them, 0 represents that the effective enable signal corresponding to the signal output by each detection module is a low-level signal and the external control terminal Ex-Ctl outputs a low-level signal, and the state of the open-collector external control terminal Ex-Ctl is an open-collector state; 1 represents that the effective enable signal corresponding to the signal output by each detection sub-module is a high-level signal and the external control terminal Ex-Ctl outputs a high-level signal.
[0160] Table 1
[0161] Ex-Ctl Det1 Det3 Det4 Vb(q12) Ctl 0 0 0 0 0 Opening 0 0 0 1 0 Opening 0 0 1 0 0 Opening 0 0 1 1 0 Opening 0 1 0 0 0 Opening 0 1 0 1 0 Opening 0 1 1 0 0 Opening 0 1 1 1 0 Opening 1 0 0 0 1 0 1 0 0 1 0 Opening 1 0 1 0 0 Opening 1 0 1 1 0 Opening 1 1 0 0 0 Opening
[0162] It can be seen from Table 1 that when any of the detection modules and the external control terminal outputs a low level signal, the output terminal Ctl of the control module 7 is in an open collector state, the twelfth switch element Q12 is disconnected, and the second switch element Q2 of the switch module 1 is disconnected. The specific working principle can be understood with reference to the above embodiment, and the embodiments of the present disclosure are not described in detail here.
[0163] Table 2 shows the state corresponding to the signal of the first output terminal Det1 of the current detection module 3, the state corresponding to the signal of the output terminal Det2 of the voltage detection module 5, the state corresponding to the signal of the output terminal Det4 of the temperature detection module 6, the base voltage state of the twelfth switching element Q12, and the relationship between the state of the output terminal of the control module 7 and the second switching element Q2 of the switching module 1.
[0164] Among them, 0 represents that the effective enable signal corresponding to the signal output by each detection submodule is a low level signal and a low level signal output by the external control terminal Ex-Ctl, open set means that the state of the external control terminal Ex-Ctl is an open set state, 1 represents that the effective enable signal corresponding to the signal output by each detection submodule is a high level signal and a high level signal output by the external control terminal Ex-Ctl, and X represents that the effective enable signal corresponding to the signal output by each detection submodule can be 0 or 1.
[0165] It can be seen from Table 2 that only when the external control terminal is at a high level and the effective enable signal generated by the overcurrent signal Det1, the overvoltage signal Det3 and the overtemperature signal Det4 is at a low level, the control signal ctl outputted from the first end of the twelfth switch element Q12 is in the 0 state, and the second switch element Q2 in the switch module 1 is turned on.
[0166] Table 2
[0167] Ex-Ctl Det1 Det3 Det4 Vb(q12) Ctl Q2 Status 0 X X X 0 Opening disconnect 1 1 X X 0 Opening disconnect 1 X 1 X 0 Opening disconnect 1 X X 1 0 Opening disconnect 1 0 0 0 1 0 Conductivity
[0168] Optionally, the control module further includes a delay capacitor C2 and a nineteenth resistor R19, wherein the first end of the delay capacitor C2 is electrically connected to the control end of the twelfth switch element Q12, the second end of the delay capacitor C2 is grounded, the first end of the nineteenth resistor R19 is electrically connected to the external control end, the second end of the nineteenth resistor R19 is electrically connected to the control end of the twelfth switch element Q12, wherein the nineteenth resistor R19 is a pull-up resistor. The charging time of the delay resistor needs to satisfy the following formula:
[0169]
[0170] Wherein, C2 is the capacitance value of the delay capacitor C2, R18 is the resistance value of the nineteenth resistor R19, V ext-ctl is the voltage value of the external control terminal, and Vbe(q12) is the voltage between the base and the emitter of the twelfth switching element Q12.
[0171] When the delay resistor is discharged, the ninth switching element Q9 , the tenth switching element Q10 , and the tenth switching element Q10 directly pull the voltage to the ground, so the time is short and can be ignored.
[0172] Due to the presence of the energy storage capacitor C1 and the delay capacitor C2, the start-up time and the shut-down time of the second switch element Q2 in the switch module can be further adjusted to protect the circuit. When the protection function is triggered, the shut-down time of the second switch element Q2 is tstop1; when the second switch element Q2 is reopened, the start-up time is tstart=tstart1+tstart2, which is the cooling time of the second switch element Q2; when the cooling time of the second switch element Q2 needs to be adjusted, the delay capacitor C2 can be adjusted.
[0173] In some embodiments, the switch circuit further includes: a reverse protection module.
[0174] The first end of the reverse protection module is electrically connected to the second end of the current detection module, and the second end of the reverse protection module is electrically connected to the power output end.
[0175] The reverse protection module is used to cut off when the voltage connected to the power output terminal is higher than the voltage connected to the power input terminal.
[0176] Specifically, the reverse protection module may include, for example, an anti-reverse diode D2. When the voltage connected to the power output terminal is higher than the voltage of the power input terminal, the reverse protection module is used to implement reverse protection to prevent current from flowing in reverse to the power input terminal and burning the switching circuit, thereby improving the safety of the switching circuit.
[0177] In some embodiments, Figure 8 A schematic diagram of a switch circuit according to another embodiment of the present disclosure is shown in FIG. Figure 8 As shown, the digital diagnosis module 4 includes: at least one switch unit.
[0178] The control end of the switch unit is electrically connected to the input end of the digital diagnosis module 4 , the first end of the switch unit is electrically connected to the external processor Diagnosis, and the second end of the switch unit is grounded.
[0179] Specifically, the number of switch units corresponds to the number of output terminals of the detection module. For example, the detection module includes a current detection module 3, a voltage detection module 5 and a temperature detection module 6, wherein the current detection module 3 includes two output terminals, which respectively output the current parameter when overcurrent occurs and the current parameter when the circuit is open, the voltage detection module 5 has one output terminal, which outputs the voltage parameter, and the temperature detection module 6 includes one output terminal, which outputs the temperature parameter. Then, four switch units need to be set, namely, the fourth switch element Q4, the fifth switch element Q5, the sixth switch element Q6 and the seventh switch element Q7. Among them, the fourth switch element Q4, the fifth switch element Q5, the sixth switch element Q6 and the seventh switch element Q7 are all NPN transistors, the control end of the fourth switch element Q4 is electrically connected to the first output end of the current detection module 3, and receives the overcurrent signal Det1, the control end of the fifth switch element Q5 is electrically connected to the second output end of the current detection module 3, and receives the open circuit signal Det2, the control end of the sixth switch element Q6 is electrically connected to the output end of the voltage detection module 5, and receives the overvoltage signal Det3, the control end of the seventh switch element Q7 is electrically connected to the output end of the temperature detection module 6, and receives the overtemperature signal Det4, the first end of the fourth switch element Q4, the first end of the fifth switch element Q5, the first end of the sixth switch element Q6 and the first end of the seventh switch element Q7 are all electrically connected to the external control end Ex-Ctl and the external processor through the twentieth resistor R20, and output the working state of the switching circuit to the external processor, and the second end of the fourth switch element Q4, the second end of the fifth switch element Q5, the second end of the sixth switch element Q6 and the second end of the seventh switch element Q7 are all grounded. For the specific work process, please refer to the various detection sub-modules and will not be described in detail here.
[0180] Table 3
[0181] Ex-Ctl Det1 Det2 Det3 Det4 External Output 0 X X X X 0 1 1 X X X 0 1 X 1 X X 0 1 X X 1 X 0 1 X X X 1 0 1 0 0 0 0 1
[0182] Table 3 shows the relationship between the state corresponding to the signal Det1 of the first output terminal of the current detection module 3, the state corresponding to the signal Det2 of the second output terminal of the current detection module 3, the state corresponding to the signal Det3 of the output terminal of the voltage detection module 5, the state corresponding to the signal Det4 of the output terminal of the temperature detection module 6, the state of the external control terminal and the external output state.
[0183] Among them, 0 represents that the effective enable signal corresponding to the signal output by each detection module is a low-level signal, the external control terminal Ex-Ctl outputs a low-level signal, and the external output switch circuit is abnormal. 1 represents that the effective enable signal corresponding to the signal output by each detection module is a high-level signal, the external control terminal Ex-Ctl outputs a high-level signal, and the external output switch circuit works normally. X represents that the effective enable signal corresponding to the signal output by each detection module can be 0 or 1.
[0184] As shown in Table 3, the state of the external output is controlled by five control terminals, namely, the external control terminal, and the valid enable signals corresponding to the overcurrent signal Det1, the open circuit signal Det2, the overvoltage signal Det3, and the overtemperature signal Det4. When the external control terminal is in the 0 state, the state of the external output is independent of other control terminals, and the external output is in the 0 state. When the external control terminal is in the 1 state, only when the valid enable signals corresponding to the overcurrent signal Det1, the open circuit signal Det2, the overvoltage signal Det3, and the overtemperature signal Det4 are all in the 0 state, the external output is in the 1 state, indicating that the switch circuit is working normally. If at least one of the valid enable signals corresponding to the overcurrent signal Det1, the open circuit signal Det2, the overvoltage signal Det3, and the overtemperature signal Det4 is in the 1 state, the external output is in the 0 state, and the switch circuit is abnormal, thereby prompting the user.
[0185] Optionally, the embodiment of the present disclosure further provides a power supply control device, including the switch circuit as described in the above embodiment, so the power supply device provided by the embodiment of the present disclosure has the beneficial effects described in the above embodiment. The power supply control device can be used in a vehicle to provide power for it.
[0186] The embodiments of the present disclosure also provide a vehicle, which includes the switch circuit as described in the above embodiments. Therefore, the vehicle provided by the embodiments of the present disclosure has the beneficial effects described in the above embodiments.
[0187] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0188] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A switching circuit, characterized in that: include: Short circuit protection module, switch module, current detection module and digital diagnosis module; The first end of the short-circuit protection module is electrically connected to the power input end; the second end of the short-circuit protection module is electrically connected to the first end of the switch module; the second end of the switch module is electrically connected to the power output end; the third end of the short-circuit protection module is electrically connected to the control end of the switch module; the current detection module is connected between the power input end and the power output end; the first output end and the second output end of the current detection module are both electrically connected to the input end of the digital diagnosis module; The short-circuit protection module is used to control the switch module to disconnect when the current at the power input end is greater than the short-circuit current threshold; the current detection module is used to detect the power supply current in the power supply link of the switch circuit and feed the power supply current back to the digital diagnosis module; The digital diagnostic module is used to receive the power supply current sent by the current detection module, generate a valid enable signal when the power supply current meets the fault condition, and output the switch circuit abnormality information according to the valid enable signal; wherein the fault condition at least includes a short circuit.
2. The switch circuit according to claim 1, characterized in that: Also includes: Voltage detection module and temperature detection module; The first end of the voltage detection module is electrically connected to the power input end; The second end of the voltage detection module is electrically connected to the first end of the short circuit protection module; the output end of the voltage detection module is electrically connected to the input end of the digital diagnosis module; the input end of the temperature detection module is electrically connected to the power supply end; the output end of the temperature detection module is electrically connected to the input end of the digital diagnosis module; The voltage detection module is used to detect the supply voltage of the power input terminal and send the supply voltage to the input terminal of the digital diagnosis module; The digital diagnosis module is also used to receive the voltage sent by the voltage detection module, generate a valid enable signal when the power supply voltage meets the overvoltage condition, and output the switch circuit abnormality information according to the valid enable signal; The temperature detection module is used to detect the temperature of the switch circuit and send the temperature to the input end of the digital diagnosis module; The digital diagnosis module is also used to receive the temperature sent by the temperature detection module, generate a valid enable signal when the temperature meets the over-temperature condition, and output the switch circuit abnormality information according to the valid enable signal.
3. The switch circuit according to claim 1 or 2, characterized in that: The short circuit protection module comprises: a first resistor and a first switch element; The first end of the first resistor and the first end of the first switching element are both electrically connected to the first end of the short-circuit protection module; the second end of the first resistor and the control end of the first switching element are both electrically connected to the second end of the short-circuit protection module; the second end of the first switching element is electrically connected to the third end of the short-circuit protection module.
4. The switch circuit according to claim 1 or 2, characterized in that: The switch module includes: a second switch element, a second resistor and an energy storage capacitor; The first end of the second switching element, the first end of the second resistor and the first end of the energy storage capacitor are all electrically connected to the first end of the switching module; the second end of the second switching element and the second end of the switching module are electrically connected; the second end of the second resistor, the second end of the energy storage capacitor and the control end of the second switching element are all electrically connected to the control end of the switching module.
5. The switch circuit according to claim 1 or 2, characterized in that: The current detection module includes: a detection resistor, a differential amplifier unit, a gain adjustment unit and a third switch element; The first end of the detection resistor and the first input end of the differential amplifier unit are both electrically connected to the first end of the current detection module; The second end of the detection resistor and the second input end of the differential amplifier unit are both electrically connected to the second end of the current detection module; the output end of the differential amplifier unit is electrically connected to the first input end of the gain adjustment unit and the first output end of the current detection module respectively; the second input end of the gain adjustment unit is electrically connected to the output end of the gain adjustment unit; The output end of the gain adjustment unit is also electrically connected to the control end of the third switch element; the first end of the third switch element and the output end of the differential amplifier unit are both electrically connected to the second output end of the current detection module; and the second end of the third switch element is grounded.
6. The switch circuit according to claim 2, characterized in that: Also includes: Control module; The first end of the control module is electrically connected to the first output end of the current detection module, the output end of the voltage detection module and the output end of the temperature detection module respectively; the second end of the control module is electrically connected to the control end of the switch module and the third end of the short circuit protection module respectively; The control module is used to receive the power supply current sent by the current detection module, and generate a valid enable signal when the power supply current meets the fault condition, and the output end of the control module controls the switch module to disconnect, and the power input end and the power output end are disconnected; Wherein, the fault condition includes at least one of overcurrent, short circuit and open circuit; The control module is also used to receive the voltage sent by the voltage detection module, and when the supply voltage meets the overvoltage condition, the supply voltage is sent to the input end of the controlled module, and the output end of the control module controls the switch module to disconnect, and the power input end and the power output end are disconnected; the control module is also used to receive the temperature sent by the temperature detection module, and when the temperature meets the overtemperature condition, the temperature is sent to the input end of the controlled module, and the output end of the control module controls the switch module to disconnect, and the power input end and the power output end are disconnected.
7. The switch circuit according to claim 1 or 2, characterized in that: Also includes: Reverse protection module; The first end of the reverse protection module is electrically connected to the second end of the current detection module; The second end of the reverse protection module is electrically connected to the power output end; The reverse protection module is used to cut off when the voltage connected to the power output terminal is higher than the voltage connected to the power input terminal.
8. The switch circuit according to claim 1 or 2, characterized in that: The digital diagnostic module further comprises: at least one switch unit; The control end of the switch unit is electrically connected to the input end of the digital diagnosis module; the first end of the switch unit is electrically connected to the external processor; and the second end of the switch unit is grounded.
9. A power supply control device, characterized in that: Comprising a switching circuit as described in any one of claims 1-8.
10. A vehicle, characterized in that: Comprising the power control device as claimed in claim 9.
Citation Information
Cited By
Load protection circuit and electronic equipment
CN122418565A
Load protection circuit and electronic device
CN122418565B
