Switching circuit, power supply control device and vehicle

By introducing current detection and analog diagnosis modules into the vehicle power control system, the working status of the switch circuit is automatically diagnosed, which solves the problem of lack of fault diagnosis function in the existing technology and improves vehicle safety and user experience.

CN118549800APending Publication Date: 2024-08-27BEIJING CO WHEELS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310165659.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-24
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

In the existing vehicle power control system, the high-side switch circuit fault diagnosis function is missing, resulting in users being unable to timely determine the fault type and working conditions, affecting vehicle safety and user experience.

Method used

A switching circuit including a current detection module, a control module and an analog diagnosis module is designed. By detecting the current and output voltage, it can automatically diagnose the working status of the switching circuit and promptly remind the user of the fault type.

Benefits of technology

This enables timely judgment and diagnosis of switch circuit faults, improving vehicle safety and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118549800A
    Figure CN118549800A
Patent Text Reader

Abstract

The invention relates to a switching circuit, a power supply control device and a vehicle. The switching circuit comprises a current detection module, a control module and a simulation diagnosis module. The current detection module is connected between the power supply input end and the power supply output end; the first output end of the current detection module is electrically connected with the input end of the control module; the second output end of the current detection module is electrically connected with the first input end of the simulation diagnosis module; the output end of the control module is electrically connected with the second input end of the simulation diagnosis module; the output end of the simulation diagnosis module is electrically connected with an external processor. Whether the switching circuit breaks down or not can be judged in time according to the output voltage, the fault type when the switching circuit breaks down is determined, a user is reminded in time, and the safety of the vehicle is improved.
Need to check novelty before this filing date? Find Prior Art

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] During the use of a vehicle, the power supply device in the vehicle is required to provide energy. In the power supply circuit of the power supply device, there will be a switching circuit. Among them, high-side switches are often used in the power control of the vehicle because of their high integration, complete functions and strong applicability.

[0003] High-side switches may also fail during application. In the prior art, users usually discover switch circuit failures when the problem affects the user's normal use of related devices. There is no self-diagnosis function for switch failures, and it is impossible to promptly determine whether the switch circuit has failed, and it is impossible to determine the type of switch circuit abnormality. Users cannot quickly determine the working condition of the switch circuit, which affects the safety of the vehicle and reduces the user experience. 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 supply control device and a vehicle, which can promptly determine whether a switching circuit fails according to the output voltage, and determine the type of fault that occurs when the switching circuit fails, and promptly remind the user to improve the safety of the vehicle.

[0005] In a first aspect, the present disclosure provides a switch circuit, comprising:

[0006] Current detection module, control module and analog diagnosis module;

[0007] The current detection module is connected between the power input terminal and the power output terminal; the first output terminal of the current detection module is electrically connected to the input terminal of the control module; the second output terminal of the current detection module is electrically connected to the first input terminal of the analog diagnosis module; the output terminal of the control module is electrically connected to the second input terminal of the analog diagnosis module; the output terminal of the analog diagnosis module is electrically connected to the external processor;

[0008] The current detection module is used to detect the current at the power input end, output the detected current to the control end of the control module, and send a proportional voltage corresponding to the current at the power input end to the second input end of the analog diagnosis module; the control end of the control module receives the current at the power input end, and when the current at the power input end meets the first fault condition, outputs a first valid enable signal to the first input end of the analog diagnosis module; the analog diagnosis module is used to receive the first valid enable signal and the proportional voltage corresponding to the current at the power input end, and output the voltage to the external processor.

[0009] In some embodiments, the current detection module includes: a detection resistor, a differential amplifier unit, and a gain adjustment unit;

[0010] The first end of the detection resistor is electrically connected to the power input end and the first input end of the differential amplifier unit; the second end of the detection resistor is electrically connected to the power output end and the second input end of the differential amplifier unit; the output end of the differential amplifier unit is electrically connected to the first input end of the gain adjustment unit and the input end of the control module; the second input end of the gain adjustment unit is electrically connected to the output end of the gain adjustment unit; and the output end of the gain adjustment unit is also electrically connected to the second input end of the analog diagnosis module.

[0011] In some embodiments, the control module includes: a first switch element;

[0012] The control end of the first switch element is electrically connected to the control end of the control module and the external control end; the first end of the first switch element is electrically connected to the output end of the control module; and the second end of the first switch element is grounded.

[0013] In some embodiments, the analog diagnosis module includes: a second switch element, a third switch element, a first switch subunit, a second switch subunit, a first resistor, a second resistor, a third resistor, and a fourth resistor;

[0014] The control end of the second switch element is electrically connected to the second input end of the analog diagnostic module; the first end of the second switch element is electrically connected to the first end of the first resistor and the control end of the third switch element; the first end of the third switch element is electrically connected to the first end of the second resistor; the first end of the second resistor is also electrically connected to the first end of the first switch subunit and the first end of the second switch subunit; the power supply end is electrically connected to the second end of the first resistor, the second end of the second resistor and the control end of the first switch subunit respectively; the control end of the second switch subunit is electrically connected to the third input end of the analog diagnostic module; the first end of the second switch subunit is electrically connected to the first output end of the current detection module; the second end of the first switch subunit, the second end of the second switch subunit and the first end of the third resistor are electrically connected; the second end of the third resistor is electrically connected to the first end of the fourth resistor and the external processor; the second end of the fourth resistor is grounded.

[0015] In some embodiments, it further includes: a voltage detection module;

[0016] 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 current detection module;

[0017] The voltage detection module is used to detect the voltage of the power input terminal and output it to the input terminal of the control module.

[0018] In some embodiments, it further includes: a temperature detection module;

[0019] 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 control module;

[0020] The temperature detection module is used to detect the temperature of the switch circuit and output it to the input end of the control module.

[0021] In some embodiments, it further includes: a switch module;

[0022] The first end of the switch module is electrically connected to the power input end; the second end of the switch module is electrically connected to the first end of the current detection module; and the control end of the switch module is electrically connected to the control end of the control module.

[0023] In some embodiments, it further includes: a reverse protection module;

[0024] The first end of the reverse protection module is electrically connected to the second end of the control module; the second end of the reverse protection module is electrically connected to the power output end;

[0025] 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.

[0026] 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.

[0027] In a third aspect, the present disclosure further provides a vehicle, comprising a power control device as described in any one of the second aspects.

[0028] Compared with the prior art, the technical solution provided by the embodiments of the present disclosure has the following advantages:

[0029] The switch circuit provided by the present disclosure includes: a current detection module, a control module and an analog diagnosis module; the current detection module is connected between the power input terminal and the power output terminal; the first output terminal of the current detection module is electrically connected to the input terminal of the control module; the second output terminal of the current detection module is electrically connected to the first input terminal of the analog diagnosis module; the output terminal of the control module is electrically connected to the second input terminal of the analog diagnosis module; the output terminal of the analog diagnosis module is electrically connected to the external processor. The current detection module is used to detect the current at the power input terminal, output the detected current to the control terminal of the control module, and send a proportional voltage corresponding to the current at the power input terminal to the second input terminal of the analog diagnosis module; the control terminal of the control module receives the current at the power input terminal, and outputs a first valid enable signal to the first input terminal of the analog diagnosis module when the current at the power input terminal meets the first fault condition; the analog diagnosis module is used to receive the first valid enable signal and the proportional voltage corresponding to the current at the power input terminal, and output the voltage to the external processor. Thus, the current detection module detects the current in the switch circuit, and when the current is abnormal and meets the first fault condition, it will output a first valid enable signal to the analog diagnosis module, and determine the output voltage value output to the external processor according to the first valid enable signal. When the switch circuit is in different working conditions, the corresponding output voltage is different, so the working state of the switch circuit can be automatically diagnosed according to the output voltage. The present disclosure can timely determine whether the switch circuit has a fault according to the output voltage, and determine the type of fault when the switch circuit fails, and promptly remind the user to improve the safety of the vehicle. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] 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.

[0031] 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.

[0032] Figure 1 A schematic diagram of a switch circuit provided in an embodiment of the present disclosure;

[0033] Figure 2 A schematic diagram of the structure of another switch circuit provided in an embodiment of the present disclosure;

[0034] Figure 3 A schematic diagram of the structure of another switch circuit provided in an embodiment of the present disclosure;

[0035] Figure 4 A schematic diagram of the structure of another switch circuit provided in an embodiment of the present disclosure;

[0036] Figure 5 A schematic diagram of the structure of another switch circuit provided in an embodiment of the present disclosure;

[0037] Figure 6 A schematic diagram of the structure of another switch circuit provided in an embodiment of the present disclosure;

[0038] Figure 7 A schematic diagram of the structure of another switch circuit provided in an embodiment of the present disclosure;

[0039] Figure 8 A schematic diagram of the structure of another switch circuit provided in an embodiment of the present disclosure;

[0040] Fig. 9 A schematic diagram of the structure of another switch circuit provided in an embodiment of the present disclosure;

[0041] Fig.10 A schematic diagram of the structure of another switch circuit provided in an embodiment of the present disclosure;

[0042] Fig.11 A schematic diagram of the structure of another switching circuit provided in an embodiment of the present disclosure.

[0043] Among them, the correspondence between the figure marks and the structure names is: 1. Current detection module; 2. Control module; 3. Analog diagnosis switch module; 4. Voltage detection module; 5. Temperature detection module, 6 switch module; 11. Differential amplifier unit; 12. Gain adjustment unit; 13. First voltage follower unit; 14. Second voltage follower unit; Q1-Q11, first switch element-eleventh switch element; R1-R21, first resistor-twenty-first resistor; U1-U4, first operational amplifier-fourth operational amplifier; R0, detection resistor; Rt, temperature detection resistor; C1, energy storage capacitor; C2, delay capacitor; D1 Zener diode; M1, first switch sub-unit; M2 second switch sub-unit. DETAILED DESCRIPTION

[0044] 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.

[0045] 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.

[0046] 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 1 As shown, the switch circuit includes: a current detection module 1, a control module 2 and an analog diagnosis module 3.

[0047] The current detection module 1 is connected between the power input terminal and the power output terminal; the first output terminal of the current detection module 1 is electrically connected to the input terminal of the control module 2; the second output terminal of the current detection module 1 is electrically connected to the first input terminal of the analog diagnosis module 3; the output terminal of the control module 2 is electrically connected to the second input terminal of the analog diagnosis module 3; the output terminal of the analog diagnosis module 3 is electrically connected to the external processor.

[0048] The current detection module 1 is used to detect the current at the power input terminal, output the detected current to the control terminal of the control module 2, and send a proportional voltage corresponding to the current at the power input terminal to the second input terminal of the analog diagnosis module 3; the control end of the control module 2 receives the current at the power input terminal, and when the current at the power input terminal meets the first fault condition, outputs a first valid enable signal to the first input terminal of the analog diagnosis module 3; the analog diagnosis module 3 is used to receive the first valid enable signal and the proportional voltage corresponding to the current at the power input terminal, and output the voltage to the external processor.

[0049] Specifically, the current detection module 1 is arranged between the power input terminal and the power output terminal. When the switching circuit is working, the current detection module can detect the current sent from the power input terminal to the power output terminal. The first output terminal of the current detection module 1 is electrically connected to the input terminal of the control module 2, and the detected current is sent to the control module 2. In the control module 2, if it is detected that the current at the power input terminal meets the first fault condition, a first effective enable signal, such as a high-level signal, is generated, and then output to the analog diagnosis module through the output terminal of the control module 2. The current detection module 1 can also detect a proportional voltage corresponding to the current at the power input terminal, and send it to the analog diagnosis module 3 through the second output terminal of the current detection module 1. At the same time, the analog diagnosis module 3 is also electrically connected to the power supply terminal, and the first effective enable signal controls the voltage value of the analog diagnosis module output voltage to the external processor. Figure 1 When the switch circuit works normally, the power supply end of the output voltage is the second output end of the current detection module 1, and if the switch circuit is abnormal, the power supply end of the output voltage is the power supply end, wherein the voltage value of the power supply end is set to be greater than the proportional voltage value of the second output end of the current detection module 1.

[0050] In the switch circuit provided by the embodiment of the present disclosure, the current detection module detects the current in the switch circuit. When the current is abnormal and meets the first fault condition, the first valid enable signal is output to the analog diagnosis module. The output voltage value output to the external processor is determined according to the first valid enable signal. When the switch circuit is in different working conditions, the corresponding output voltage is different. Therefore, the working state of the switch circuit can be automatically diagnosed according to the output voltage. The present disclosure can timely determine whether the switch circuit has a fault according to the output voltage, and determine the type of fault when the switch circuit fails, and promptly remind the user to improve the safety of the vehicle.

[0051] 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 current detection module 1 includes: a detection resistor R0 , a differential amplifier unit 11 and a gain adjustment unit 12 .

[0052] The first end of the detection resistor R0 is electrically connected to the power input end and the first input end of the differential amplifier unit 11, the second end of the detection resistor R0 is electrically connected to the power output end and the second input end of the differential amplifier unit 11, the output end of the differential amplifier unit 11 is electrically connected to the first input end of the gain adjustment unit 12 and the input end of the control module 2, the second input end of the gain adjustment unit 12 is electrically connected to the output end of the gain adjustment unit 12, and the output end of the gain adjustment unit 12 is also electrically connected to the second input end of the analog diagnosis module 3.

[0053] Specifically, the detection resistor R0 can be, for example, a precision resistor of a current sensor, and the resistance value of the detection resistor can be set according to the current detection accuracy required by the switch circuit. A differential amplifier unit 11 and a gain adjustment unit 12 are also included.

[0054] For example Figure 2 The differential amplifier unit 11 includes a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, an eighth resistor R8 and a third operational amplifier U3. The first end of the fifth resistor R5 is electrically connected to the first input end of the differential amplifier unit 11. The second end of the fifth resistor R5 and the first end of the sixth resistor R6 are both electrically connected to the non-inverting input end of the third operational amplifier U3. The second end of the sixth resistor R6 is grounded. The first end of the seventh resistor R7 is electrically connected to the second input end of the differential amplifier unit 11. The second end of the seventh resistor R7 and the first end of the eighth resistor R8 are both electrically connected to the inverting input end of the third operational amplifier U3. The second end of the eighth resistor R8 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 fifth resistor R5, the sixth resistor R6, the seventh resistor R7 and the eighth resistor R8 are all high-precision resistors, and the ratio of the resistance value of the fifth resistor R5 to the resistance value of the eighth resistor R8 is equal, and the resistance value of the sixth resistor R6 is equal to the resistance value of the seventh resistor R7.

[0055] 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:

[0056]

[0057] Wherein, I is the input current, R0 is the resistance value of the detection resistor R0, R8 is the resistance value of the eighth resistor R8, and R7 is the resistance value of the seventh resistor R7.

[0058] Exemplarily, the current detection module 1 also includes a ninth resistor R9 and a tenth resistor R10, the first end of the ninth resistor R9 is electrically connected to the output end of the third operational amplifier U3, the second end of the ninth resistor R9 and the first end of the tenth resistor R10 are both electrically connected to the first output end of the current detection module 1, and then electrically connected to the second input end of the analog diagnostic module 2, and the second end of the tenth resistor is grounded.

[0059] Since the first output terminal of the current detection module 1 is electrically connected to the input terminal of the control module 2, and the control module 2 is provided with a first switch element Q1, the first output terminal of the current detection module 1 is electrically connected to the control terminal of the first switch element Q1 ( Figure 2 The first switching element Q1 is not shown in the figure, see the corresponding attached diagram of the control module 2. Figure 3After the current detection module 1 detects the overcurrent signal Det1, it is sent to the input end of the control module 2, and then transmitted to the first switch element Q1. If the overcurrent signal Det1 meets the overcurrent fault condition, a first effective enable signal is generated.

[0060] Exemplarily, when the input current I is greater than the current threshold Ith1 corresponding to the overcurrent condition, the current detection module outputs an overcurrent signal, and when the input current I is lower than the current threshold Ith2 corresponding to the open circuit condition, it is determined to be an open circuit condition, wherein the current threshold Ith1 corresponding to the overcurrent condition is greater than the current threshold Ith2 corresponding to the open circuit condition.

[0061] When overcurrent or short circuit occurs, the output voltage Vu3 of the third operational amplifier U3 satisfies the following formula:

[0062]

[0063] Among them, Ith1 is the input current corresponding to overcurrent or short circuit, R0 is the resistance value of the detection resistor R0, R8 is the resistance value of the eighth resistor R8, and R7 is the resistance value of the seventh resistor R7.

[0064] The power supply end Vs is the highest, which is higher than the voltage of the normal operation of the switch circuit. Therefore, Vu3 (Ith1) should be lower than Vs. Here, Vu3 (Ith1) is exemplarily set to 2 / 3Vs. At this time, the values ​​of the seventh resistor and the eighth resistor should satisfy the following formula:

[0065]

[0066] Among them, R0 is the resistance value of the detection resistor, R7 is the resistance value of the seventh resistor R7, R8 is the resistance value of the eighth resistor R8, Ith1 is the current threshold corresponding to the overcurrent condition, and Vs is the voltage value provided by the power supply end.

[0067] The values ​​of the ninth resistor R9 and the tenth resistor R10 need to satisfy the following formula:

[0068]

[0069] Wherein, R9 is the resistance value of the ninth resistor R9, R10 is the resistance value of the tenth resistor R10, Vs is the voltage value provided by the power supply terminal, and Vbe(q1) is the voltage between the base and the emitter of the first switch element Q1.

[0070] Exemplarily, when the input current I is greater than the current threshold Ith1 corresponding to the overcurrent condition, the voltage Vu3 output by the third operational amplifier U3 is applied to the ninth resistor R9 and the tenth resistor R10. At this time, the base voltage of the first switch element Q1 satisfies the following formula:

[0071]

[0072] At this time, the base voltage Vb1 of the first switching element Q1 is greater than the voltage Vbe(q1) between the base and the emitter of the first switching element Q1. At this time, the first switching element Q1 is turned on, and the base voltage Vb4 of the first switching element Q1 will also be clamped to the voltage Vbe(q1) between the base and the emitter of the first switching element Q1.

[0073] Continue to refer Figure 2 The current detection module 12 also includes a gain adjustment unit 12, which can convert the input current into a voltage of a corresponding proportion and then output it. The gain adjustment unit 12 includes an eleventh resistor R11, a twelfth resistor R12, a thirteenth resistor R13, a fourteenth resistor R14 and a fourth operational amplifier U4, the first end of the eleventh resistor R11 and the first end of the twelfth resistor R12 are both electrically connected to the second input end of the fourth operational amplifier U4, the second end of the eleventh resistor R11 is grounded, the first end of the thirteenth resistor R13 is electrically connected to the output end of the differential amplifier unit 11, the second end of the thirteenth resistor R13 and the first end of the fourteenth resistor R14 are both electrically connected to the first input end of the fourth operational amplifier U4, the second end of the fourteenth resistor R14 is grounded, the second end of the twelfth resistor R12 is electrically connected to the output end of the fourth operational amplifier U4, and the fourth operational amplifier U4 outputs a proportional voltage Sense corresponding to the current at the power input end to the first input end of the analog diagnosis module.

[0074] Exemplarily, since Vu3(Ith1) should be lower than Vs, and Vu3(Ith1) is set to 2 / 3Vs, the maximum voltage output here is 2 / 3Vs, and the output voltage Vu4 of the fourth operational amplifier satisfies the following formula:

[0075]

[0076] That is, when the voltage value output by Vu3 is Vs, the voltage value output by Vu4 is 2 / 3 Vs.

[0077] If the voltage is too low to directly drive the first switch element Q1 in an open circuit state, the voltage needs to be adjusted. The voltage is attenuated to a safe range through the thirteenth resistor R13 and the fourteenth resistor R14 in the gain adjustment unit 15. The attenuation gain G1 satisfies the following formula:

[0078]

[0079] Wherein, R13 is the resistance value of the thirteenth resistor R13, and R14 is the resistance value of the fourteenth resistor R14.

[0080] Then, the voltage is amplified by the eleventh resistor R11 and the twelfth resistor R12 to a range capable of driving the first switch element Q1 , and the amplification gain G2 satisfies the following formula:

[0081]

[0082] Wherein, R11 is the resistance value of the eleventh resistor R11, and R12 is the resistance value of the twelfth resistor R12.

[0083] 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 2 / 3.

[0084] Alternatively, if Figure 2 As shown, the current detection module 1 further includes a first voltage following unit 13 and a second voltage following unit 14;

[0085] 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.

[0086] 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.

[0087] 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.

[0088] In some embodiments, Figure 3 A schematic diagram of a switch circuit according to another embodiment of the present disclosure is shown in FIG. Figure 3 As shown, the control module 2 includes: a first switch element Q1.

[0089] The control end of the first switch element Q1 is electrically connected to the control end of the control module 2 and the external control end, the first end of the first switch element Q1 is electrically connected to the output end of the control module 2, and the second end of the first switch element Q1 is grounded.

[0090] Specifically, the control end of the first switch element Q1 is electrically connected to the first output end of the current detection module 1 to receive the overcurrent signal, and the first end of the first switch element Q1 is electrically connected to the second input end of the analog diagnosis module and the external control end Ex-ctl. When the external control end is high level and valid, and the input current is greater than the current threshold corresponding to the overcurrent condition, the first output end of the current detection module 1 outputs the overcurrent signal Det1 to the first switch element Q1 in the control module 2, and the first switch element Q1 is turned on to generate a first valid enable signal, such as a high level signal, which is then sent from the output end of the control module 2 to the second output end of the analog diagnosis module 3.

[0091] For example, Figure 3Three switch elements are listed, namely the first switch element Q1, the fourth switch element Q4, the fifth switch element Q5 and the sixth switch element Q6, all of which are set as NPN transistors, wherein the control end of the first switch element Q1 is electrically connected to the first output end of the current detection module 1 to receive the overcurrent signal, the control end of the fourth switch element Q4 can be set to be electrically connected to the output end of the voltage detection module 4 to output the overvoltage signal, the control end of the fifth switch element Q5 is electrically connected to the output end of the temperature detection module to output the overtemperature signal, the first end of the first switch element Q1, the first end of the fourth switch element Q4, and the first end of the fifth switch element Q5 are all electrically connected to the control end of the sixth switch element Q6 and the external control end, the first end of the sixth switch element Q6 is electrically connected to the second input end of the analog diagnosis module 3, the second end of the sixth switch element Q6 is grounded, and the first end of Q6 can output the control signal Ctrl to the switch circuit in the switch circuit.

[0092] Furthermore, when the input current is greater than the current threshold corresponding to the overcurrent condition, the output end of the current detection module 1 outputs an overcurrent signal Det1 to the first switch element Q1 in the control module 2, the first switch element Q1 is turned on, and a first valid enable signal is generated, such as a high-level signal; the output end of the voltage detection module outputs an overvoltage signal Det2 to the fourth switch element Q4 in the control module 2, the fourth switch element Q4 is turned on, and a first valid enable signal is generated, such as a high-level signal; the output end of the temperature detection module 5 outputs an overcurrent signal Det3 to the fifth switch element Q5 in the control module 2, the fifth switch element Q5 is turned on, and a first valid enable signal is generated, such as a high-level signal; the output signal Det is obtained according to the above three signals and the external signal sent by the external control end, and is output to the second input end of the analog diagnosis module 3 to control the output voltage value of the analog diagnosis module 3. At the same time, the sixth switch element will generate a control signal Ctrl under the action of the above three signals and the external signal sent by the external control end, which can control the switch module. Figure 3 The switch module is not shown.

[0093] When the external control terminal Ex-Ctl is connected to a low level signal, the sixth switch element Q6 is disconnected, and the first end output signal state of the sixth switch element Q6 is independent of the overvoltage signal Det1, the overcurrent signal Det2 and the overtemperature signal Det4, and is in an open collector state.

[0094] When the external control terminal Ex-Ctl is connected to a high-level signal, the overvoltage signal Det1, the overcurrent signal Det2 and the overtemperature signal Det3 need to be considered. Only when the first valid enable signal generated by the overvoltage signal Det1, the overcurrent signal Det2 and the overtemperature signal Det3 is low, the output signal Det is in the 1 state. When the gate-source voltage Vgs of the sixth switch element Q6 is greater than the conduction voltage Vgs(th)(m6) of the sixth switch element Q6, the sixth switch element Q6 is turned on. In other cases, the sixth switch element Q6 cannot be turned on and is in an open-collection state. The principle is not repeated here.

[0095] Table 1 shows the relationship between the state corresponding to the signal of the first output terminal Det1 of the current detection module 1, the state corresponding to the signal of the output terminal Det2 of the voltage detection module, the state corresponding to the signal of the output terminal Det3 of the temperature sub-detection module, the state of the output signal Det of the output terminal of the control module 2, and the control signal Ctrl of the control module 2.

[0096] Among them, 0 represents that the first valid enable signal corresponding to the signal output by each detection module is a low level signal, the output signal is a low level signal, the external signal output by the external control terminal Ex-Ctl is 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 first valid enable signal corresponding to the signal output by each detection sub-module is a high level signal, the output signal is a high level signal, and the external control terminal Ex-Ctl outputs a high level signal.

[0097] Table 1

[0098] Ex-Ctl Det1 Det2 Det3 Det Ctrl 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

[0099] As can be seen from Table 1, when any of the detection submodules and the external control terminal outputs a low-level signal, the control terminal Ctrl of the control module 2 is in an open collector state, and the sixth switch element Q6 is disconnected. The specific working principle can be understood by referring to other embodiments, and the embodiments of the present disclosure are not repeated here. And only when the external control terminal outputs a high-level signal and the other detection modules output low-level signals, the output signal Det is a high-level signal, indicating that the switch circuit works normally, and the rest of the cases are low-level signals, that is, there is a fault in the switch circuit.

[0100] In some embodiments, 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 analog diagnosis module 3 includes: a second switch element Q2, a third switch element Q3, a first switch subunit M1, a second switch subunit M2, a first resistor R1, a second resistor R2, a third resistor R3 and a fourth resistor R4.

[0101] The control end of the second switch element Q2 is electrically connected to the second input end of the analog diagnostic module 3; the first end of the second switch element Q2 is electrically connected to the first end of the first resistor R1 and the control end of the third switch element Q3; the first end of the third switch element Q3 is electrically connected to the first end of the second resistor R2; the first end of the second resistor R2 is also electrically connected to the first end of the first switch sub-unit M1 and the first end of the second switch sub-unit M2; the power supply terminal Vs is electrically connected to the second end of the first resistor R1, the second end of the second resistor R2 and the control end of the first switch sub-unit M1 respectively; the control end of the second switch sub-unit M2 is electrically connected to the third input end of the analog diagnostic module 3; the first end of the second switch sub-unit M2 is electrically connected to the first output end of the current detection module 1; the second end of the first switch sub-unit M1, the second end of the second switch sub-unit M2 and the first end of the third resistor R3 are electrically connected; the second end of the third resistor R3 is electrically connected to the first end of the fourth resistor R4 and the external processor; the second end of the fourth resistor R4 is grounded.

[0102] Specifically, refer to Figure 4 The first input terminal of the analog diagnosis module 3 is used to receive the proportional voltage Sense corresponding to the current at the power input terminal sent by the first output terminal of the current detection module 1. At the same time, the analog diagnosis module 3 is also provided with a third input terminal, which is provided with a voltage by the power supply terminal Vs, and the power supply terminal Vs is greater than the proportional voltage Sense corresponding to the current at the power input terminal. Referring to the embodiment of the current detection module 1, the maximum value of the proportional voltage Sense corresponding to the current at the power input terminal can be set to 2 / 3Vs. The proportional voltage Sense corresponding to the current at the power input terminal output by the current detection module 1 is transmitted to the external processor through the second switch subunit M2, or the power provided by the power supply terminal Vs is transmitted to the external processor by the first switch subunit M1. The voltage values ​​output by the two transmission channels are different, and the enable signal for controlling the conduction of the two channels is the output signal Det sent by the output terminal of the control module 2.

[0103] Exemplarily, the second switch element Q2 and the third switch element Q3 are set as NPN transistors, the first switch sub-unit M1 is composed of two P-type field effect transistors, the second switch sub-unit M2 is composed of two N-type field effect transistors, the first resistor R1 and the second resistor R2 are pull-up resistors, and the third resistor R3 and the fourth resistor R4 are current limiting resistors, and the second switch element Q2, the third switch element Q3, the first resistor R1 and the second resistor R2 constitute a common-mode buffer.

[0104] The voltage output to the external processor is determined by the rated input voltage of the external processor and is set to Vadc(max). Then the third resistor R3 and the fourth resistor R4 should satisfy the following formula:

[0105]

[0106] Wherein, Vadc(max) is the rated input voltage of the external processor, Vs is the voltage value provided by the power supply terminal, R3 is the resistance value of the third resistor R3, and R4 is the resistance value of the fourth resistor R4.

[0107] Usually, the fourth resistor R4 is a fixed value, and the third resistor R3 is set according to the above formula.

[0108] The output network gain formed by the third resistor R3 and the fourth resistor R4 is Gout, and the output gain Gout needs to satisfy the following formula:

[0109]

[0110] When the output signal Det sent from the output end of the control module 2 is a high-level signal, the first switch sub-unit M1 is disconnected and the second switch sub-unit M2 is turned on. The proportional voltage Sense corresponding to the current at the power input end output by the current detection module 1 is transmitted to the external processor through the second switch sub-unit M2. At this time, the switching circuit works normally, and the output voltage is Sense*Gout, which is about 2 / 3Vs.

[0111] When the output signal Det sent by the output end of the control module 2 is a low-level signal, the first switch subunit M1 is turned on, the second switch subunit M2 is turned off, and the power provided by the power supply end Vs is transmitted to the external processor by the first switch subunit M1. At this time, the switch circuit works abnormally, the output voltage is Vs*Gout, which is much greater than 2 / 3Vs*Gout, and the switch has overcurrent, overvoltage or overtemperature. At the same time, when the switch circuit is in an open circuit state, the voltage is low, and the voltage output to the external processor is much lower than Sense*Gout, that is, lower than 2 / 3Vs*Gout. Therefore, it can be determined that the circuit is open, and the open circuit situation can also be directly obtained by detecting the current.

[0112] Table 1 shows the relationship between the state corresponding to the signal at the first output terminal Det1 of the current detection module 1, the state corresponding to the signal at the output terminal Det2 of the voltage detection module, the state corresponding to the signal at the output terminal Det3 of the temperature sub-detection module, and the output voltage to the external processor.

[0113] Among them, 0 represents that the first effective enable signal corresponding to the signal output by each detection module is a low level signal, the output signal is a low level signal, and the external signal output by the external control terminal Ex-Ctl is a low level signal; 1 represents that the first effective enable signal corresponding to the signal output by each detection sub-module is a high level signal, the output signal is a high level signal, and the external control terminal Ex-Ctl outputs a high level signal; Vs*Gout is the voltage value of the output voltage when the circuit is abnormal, and Sense*Gout is the voltage value of the output voltage when the circuit is normal.

[0114] Table 2

[0115] Ex-Ctrl Det1 Det2 Det3 Diagnosis 0 X X X 0 1 1 X X Vs*Gout 1 X 1 X Vs*Gout 1 X X 1 Vs*Gout 1 0 0 0 Sense*Gout

[0116] Referring to Table 2, it can be seen that only when the external control terminal Ex-Ctl outputs a high-level signal and the first valid enable signal corresponding to the signal output by each detection module is a low-level signal, the output voltage value is Sense*Gout. At this time, the circuit is normal, and the rest of the working principles are not repeated.

[0117] In some embodiments, Figure 5 and Figure 6 A schematic diagram of a switch circuit according to another embodiment of the present disclosure is shown in FIG. Figure 5 The device also includes: a voltage detection module 4.

[0118] A first end of the voltage detection module 4 is electrically connected to the power input end, and a second end of the voltage detection module 4 is electrically connected to a first end of the current detection module 1 .

[0119] The voltage detection module 4 is used to detect the voltage at the power input end and output it to the input end of the control module 2 .

[0120] Specifically, the voltage detection module 4 includes: a sixteenth resistor R16 and a seventeenth resistor R17;

[0121] A first end of the sixteenth resistor R16 is electrically connected to the power input terminal, a second end of the sixteenth resistor R16 is electrically connected to a first end of the seventeenth resistor R17 and an input terminal of the analog diagnosis module 3, and a second end of the seventeenth resistor R17 is grounded.

[0122] Optionally, the voltage detection module 4 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 sixteenth resistor R16 .

[0123] Exemplarily, since the output end of the voltage detection module 4 is electrically connected to the input end of the control module 2, and the control module 2 is provided with a fourth switch element Q4, the output end of the voltage detection module 4 is electrically connected to the control end of the fourth switch element Q4, and the first end of the fourth switch element Q4 is electrically connected to the input end of the control module 2 ( Figure 6 The fourth switch element Q4 is not shown in the figure. Figure 3 After the voltage detection module 4 detects the overvoltage signal Det2, it is sent to the input end of the control module 2 and then transmitted to the fourth switch element Q4. If the overvoltage signal Det2 meets the voltage fault condition, a first valid enable signal is generated.

[0124] Among them, the fourth switch element Q4 is, for example, an NPN transistor, the base of the NPN transistor serves as the control end of the fourth switch element Q4, the collector of the NPN transistor serves as the output end of the fourth switch element Q4, and the emitter of the NPN transistor is connected to the input end of the control module 2 through the sixth switch element Q6.

[0125] The resistance values ​​of the sixteenth resistor R16 and the seventeenth resistor R17 satisfy the following formula:

[0126]

[0127] Wherein, Vz is the voltage stabilization value of the voltage stabilizing diode D1, Vth1 is the voltage threshold, and Vbe(q4) is the voltage between the base and the emitter of the fourth switch element Q4. 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. Therefore, when the input voltage Vin is less than the voltage stabilization value Vz, the fourth switch element Q4 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 fourth switch element Q4 will not change. The fourth switch element Q4 will be triggered to turn on only when the input voltage Vin exceeds the voltage threshold Vth1.

[0128] 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 fourth switch element Q4 is:

[0129]

[0130] 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, and the base voltage Vb4 of the fourth switch element Q4 is clamped to the voltage Vbe(q4) between the base and the emitter of the fourth switch element Q4, and the fourth switch element Q4 is turned on. When the fourth switch element Q4 is turned on, the output signal of the sixth switch element Q6 can be controlled, thereby controlling the switch module. The turning on and off of the fourth switch will also affect the value of the output signal Det, and the output signal Det controls the output voltage value of the analog diagnosis module 3, which will not be described in detail here. For details, please refer to the embodiment of the analog diagnosis module 3.

[0131] In some embodiments, Figure 7 and Figure 8 A schematic diagram of a switch circuit according to another embodiment of the present disclosure is shown in FIG. Figure 7 As shown, it also includes: a temperature detection module 5.

[0132] The input end of the temperature detection module 5 is electrically connected to the external power supply Vs, and the output end of the temperature detection module 5 is electrically connected to the input end of the control module.

[0133] The temperature detection module is used to detect the temperature of the switch circuit and output it to the input end of the control module.

[0134] Specifically, the temperature detection module includes an eighteenth resistor R18, a nineteenth resistor R19, a temperature detection resistor Rt and an eleventh switch element Q11.

[0135] The first end of the eighteenth resistor R18 and the first end of the nineteenth resistor R19 are both electrically connected to the power supply terminal Vs; the second end of the eighteenth resistor R18 is respectively electrically connected to the first end of the temperature detection resistor Rt and the control end of the eleventh switch element Q11; the first end of the eleventh switch element Q11 is electrically connected to the second end of the eighteenth resistor R18 and the input end of the control module 2; the second end of the eleventh switch element Q11 is grounded.

[0136] 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:

[0137]

[0138] 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.

[0139] 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.

[0140] When the measured temperature T is greater than the over-temperature threshold T1, the eleventh switch element Q11 is disconnected, and an over-temperature signal Det3 is output to the input end of the control module 2. The eighteenth resistor R18 should satisfy the following formula:

[0141]

[0142] 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(q11) represents the voltage between the base and the emitter of the eleventh switch element Q11.

[0143] When the measured temperature T is less than the over-temperature threshold T1, the eleventh switch element Q11 is turned on, and the base voltage of the eleventh switch element Q11 satisfies the following formula:

[0144]

[0145] At this time, the base voltage Vb11 of the eleventh switch element Q11 is greater than the voltage Vbe(q11) between the base and the emitter of the eleventh switch element Q11, the eleventh switch element Q11 is turned on, and the base voltage Vb11 of the eleventh switch element Q11 will also be clamped to the voltage Vbe(q11) between the base and the emitter of the eleventh switch element Q11.

[0146] Since the output end of the temperature detection module 5 is electrically connected to the input end of the control module 2, and the control module 2 is provided with a fifth switch element Q5, the output end of the temperature detection module 5 is electrically connected to the control end of the fifth switch element Q5, and the first end of the fifth switch element Q5 is electrically connected to the output end of the control module 2 ( Figure 8 The fifth switch element Q5 is not shown in the figure, see the corresponding appendix of the control module 2 Figure 3 ). After the temperature detection module 5 detects the over-temperature signal Det3, it is sent to the input end of the control module 2, and then transmitted to the fifth switch element Q5. If the over-temperature signal Det3 meets the over-current fault condition, a first effective enable signal is generated. The first effective enable signal affects the value of the output signal Det, and the output signal Det controls the output voltage value of the analog diagnosis module 3.

[0147] In some embodiments, Fig. 9 and Fig.10 A schematic diagram of a switch circuit according to another embodiment of the present disclosure is shown in FIG. Fig. 9 As shown, it also includes: a switch module 6.

[0148] A first end of the switch module 6 is electrically connected to the power input end, a second end of the switch module 6 is electrically connected to a first end of the current detection module 1 , and a control end of the switch module 6 is electrically connected to a control end of the control module 2 .

[0149] Specifically, Fig.10 As shown, the switch module 6 includes an eleventh switch element Q11, a first end of the eleventh switch element Q11 is electrically connected to the first end of the switch module 6, a second end of the eleventh switch element Q11 is electrically connected to the first end of the current detection module 1, and a control end of the eleventh switch element Q11 is electrically connected to the control end of the control module 2. Exemplarily, the eleventh switch element Q11 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 eleventh switch element Q11, a source of the P-type field effect transistor serves as the first end of the eleventh switch element Q11, and a drain of the P-type field effect transistor serves as the second end of the eleventh switch element Q11.

[0150] Alternatively, if Fig.10 As shown, the switch module 6 further includes: an energy storage capacitor C1, a first end of the energy storage capacitor C1 is electrically connected to a first end of the eleventh switch element Q11, and a second end of the energy storage capacitor C1 is electrically connected to a control end of the eleventh switch element Q11.

[0151] Specifically, the switch module 6 further includes a twentieth resistor R20 and a twenty-first resistor R21, a first end of the twentieth resistor R20 is electrically connected to a first end of the energy storage capacitor C1, a second end of the twentieth resistor R20 is electrically connected to a second end of the energy storage capacitor C1 and a first end of the twenty-first resistor R21, and a second end of the twenty-first resistor R21 is electrically connected to a control end of the control module 2. The resistance values ​​of the twentieth resistor R20 and the twenty-first resistor R21 should satisfy the following formula:

[0152]

[0153] Among them, Vinmin is the rated minimum voltage of the input voltage, Vgs(th)(m11) is the on-voltage of the eleventh switch element Q11, and k is a proportional factor, with a value range of, for example, 1.5-2, which can be set according to the on-voltage Vgs(th)(m11) of the eleventh switch element Q11.

[0154] 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 eleventh switch element Q11 to slowly open, and the energy storage capacitor C1 is discharged in a constant current manner to control the eleventh switch element Q11 to slowly close, thereby avoiding the instantaneous current from being too large to damage the eleventh switch element Q11, 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 eleventh switch element Q11.

[0155] According to the charging formula of the energy storage capacitor C1, the start-up time Tstart1 of the eleventh switch element Q11 satisfies the following formula:

[0156]

[0157] Wherein, C1 is the capacitance value of the energy storage capacitor C1, R17 is the resistance value of the twenty-first resistor R21, Vin is the voltage value of the power input terminal, and Vgs(th)(m11) is the turn-on voltage of the eleventh switch element Q11.

[0158] The turn-off time Tstop1 of the eleventh switch element Q11 satisfies the following formula:

[0159]

[0160] Wherein, R20 is the resistance value of the twentieth resistor R20.

[0161] Exemplarily, when the twenty-first resistor R21 is pulled down to the ground, the energy storage capacitor C1 is charged through the twenty-first resistor R21, and when the gate-source voltage Vgs of the eleventh switch element Q11 is greater than the conduction voltage Vgs(th)(m11) of the eleventh switch element Q11, the eleventh switch element Q11 is turned on. When the twenty-first resistor R21 is controlled to be disconnected from the ground, the energy storage capacitor C1 is discharged through the twentieth resistor R20, and when the gate-source voltage Vgs of the eleventh switch element Q11 is less than the conduction voltage Vgs(th)(m11) of the eleventh switch element Q11, the eleventh switch element Q11 is disconnected. In the embodiment of the control module, the control signal Ctrl involved is the enable signal for controlling the control end of the eleventh switch element Q11.

[0162] Table 3 shows the state corresponding to the signal at the first output terminal Det1 of the current detection module 1, the state corresponding to the signal at the output terminal Det2 of the voltage detection module 4, the state corresponding to the signal at the output terminal Det3 of the temperature detection module 5, the state of the control signal Ctrl, the relationship between the state of the output terminal of the control module 2 and the sixth switch element Q6 of the switch module 6.

[0163] Among them, 0 represents that the first valid enable signal corresponding to the signal output by each detection module is a low level signal, the output signal Det is a low level signal, and the external control terminal Ex-Ctl outputs a low level signal, the open set is the state of the external control terminal Ex-Ctl is an open set state, 1 represents that the first valid enable signal corresponding to the signal output by each detection module is a high level signal, the output signal Det is a low level signal, and the external control terminal Ex-Ctl outputs a high level signal, and X represents that the first valid enable signal corresponding to the signal output by each detection module can be 0 or 1.

[0164] Table 3

[0165] Ex-Ctl Det1 Det2 Det4 Det Ctrl Q6 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

[0166] It can be seen from Table 3 that only when the external control terminal is at a high level and the first valid enable signal generated by the overcurrent signal Det1, the overvoltage signal Det2 and the overtemperature signal Det3 is at a low level, the output signal output to the input terminal of the analog diagnosis module 3 is at a low level, the control signal Ctrl outputted from the first terminal of the sixth switch element Q6 is in the 0 state, the sixth switch element Q6 is turned on, and the eleventh switch element Q11 in the switch module 6 is turned on. Since the energy storage capacitor C1 is discharged through the twentieth resistor R20 when the twenty-first resistor R21 in the switch module 6 is controlled to be disconnected from the ground, when the gate-source voltage Vgs of the eleventh switch element Q11 is less than the conduction voltage Vgs(th)(m11) of the eleventh switch element Q11, the eleventh switch element Q11 is turned off, thereby disconnecting the power input terminal and the power output terminal.

[0167] Optionally, based on the existence of the switch module, continue to refer to Figure 3 The control module 2 further includes a delay capacitor C2 and a fifteenth resistor R15, wherein the first end of the delay capacitor C2 is electrically connected to the control end of the sixth switch element Q6, the second end of the delay capacitor C2 is grounded, the first end of the fifteenth resistor R15 is electrically connected to the external control end, the second end of the fifteenth resistor R15 is electrically connected to the control end of the sixth switch element Q6, wherein the fifteenth resistor R15 is a pull-up resistor. The charging time of the delay capacitor C2 needs to satisfy the following formula:

[0168]

[0169] Wherein, C2 is the capacitance value of the delay capacitor C2, R15 is the resistance value of the fifteenth resistor R15, V ext-ctl is the voltage value of the external control terminal, and Vbe(q6) is the voltage between the base and the emitter of the sixth switch element Q6.

[0170] When the delay resistor is discharged, the first switch element Q1 , the fourth switch element Q4 , and the fifth switch element Q5 directly pull the voltage to the ground, so the time is short and can be ignored.

[0171] Due to the presence of the energy storage capacitor C1 and the delay capacitor C2, the start time and the close time of the eleventh switch element Q11 in the switch module can be further adjusted to protect the circuit. When the protection function is triggered, the close time of the eleventh switch element Q11 is tstop1; when the eleventh switch element Q11 is reopened, the start time is tstart=tstart1+tstart2, which is the cooling time of the eleventh switch element Q11; when the cooling time of the eleventh switch element Q11 needs to be adjusted, the delay capacitor C2 can be adjusted.

[0172] For example, Fig.11A schematic diagram of a switch circuit according to another embodiment of the present disclosure is shown in FIG. Fig.11 The circuit connection relationship of the above-mentioned embodiments is included.

[0173] In some embodiments, it also 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. 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, the present disclosure also provides a power control device, including the switch circuit described in the above embodiment, so the power control device provided by the present disclosure has the beneficial effects described in the above embodiment. The power control device can be used in a vehicle to provide power for it.

[0178] The embodiments of the present disclosure also provide a vehicle, which includes the power control device 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.

[0179] It should be noted that the vehicle described in the embodiment of the present disclosure may be a fuel vehicle, a pure electric vehicle, or a hybrid vehicle, etc., and the embodiment of the present disclosure does not specifically limit this.

[0180] 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.

[0181] 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: Current detection module, control module and analog diagnosis module; The current detection module is connected between the power input terminal and the power output terminal; The first output end of the current detection module is electrically connected to the input end of the control module; the second output end of the current detection module is electrically connected to the first input end of the analog diagnosis module; the output end of the control module is electrically connected to the second input end of the analog diagnosis module; the output end of the analog diagnosis module is electrically connected to the external processor; The current detection module is used to detect the current at the power input end, output the detected current to the control end of the control module, and send a proportional voltage corresponding to the current at the power input end to the second input end of the analog diagnosis module; the control end of the control module receives the current at the power input end, and when the current at the power input end meets the first fault condition, outputs a first valid enable signal to the first input end of the analog diagnosis module; the analog diagnosis module is used to receive the first valid enable signal and the proportional voltage corresponding to the current at the power input end, and output the voltage to the external processor.

2. The switch circuit according to claim 1, characterized in that: The current detection module includes: a detection resistor, a differential amplifier unit and a gain adjustment unit; The first end of the detection resistor is electrically connected to the power input end and the first input end of the differential amplifier unit; the second end of the detection resistor is electrically connected to the power output end and the second input end of the differential amplifier unit; the output end of the differential amplifier unit is electrically connected to the first input end of the gain adjustment unit and the input end of the control module; the second input end of the gain adjustment unit is electrically connected to the output end of the gain adjustment unit; and the output end of the gain adjustment unit is also electrically connected to the second input end of the analog diagnosis module.

3. The switch circuit according to claim 1, characterized in that: The control module includes: a first switch element; The control end of the first switch element is electrically connected to the control end of the control module and the external control end; the first end of the first switch element is electrically connected to the output end of the control module; and the second end of the first switch element is grounded.

4. The switch circuit according to claim 1, characterized in that: The analog diagnosis module includes: a second switch element, a third switch element, a first switch subunit, a second switch subunit, a first resistor, a second resistor, a third resistor and a fourth resistor; The control end of the second switch element is electrically connected to the second input end of the analog diagnostic module; the first end of the second switch element is electrically connected to the first end of the first resistor and the control end of the third switch element; the first end of the third switch element is electrically connected to the first end of the second resistor; the first end of the second resistor is also electrically connected to the first end of the first switch sub-unit and the first end of the second switch sub-unit; the power supply end is electrically connected to the second end of the first resistor, the second end of the second resistor and the control end of the first switch sub-unit respectively; the control end of the second switch sub-unit is electrically connected to the third input end of the analog diagnostic module; the first end of the second switch sub-unit is electrically connected to the first output end of the current detection module; the second end of the first switch sub-unit, the second end of the second switch sub-unit and the first end of the third resistor are electrically connected; the second end of the third resistor is electrically connected to the first end of the fourth resistor and the external processor; the second end of the fourth resistor is grounded.

5. The switch circuit according to claim 1, characterized in that: Also includes: Voltage 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 current detection module; The voltage detection module is used to detect the voltage of the power input terminal and output it to the input terminal of the control module.

6. The switch circuit according to claim 1, characterized in that: Also includes: Temperature detection 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 control module; The temperature detection module is used to detect the temperature of the switch circuit and output it to the input end of the control module.

7. The switch circuit according to claim 1, characterized in that: Also includes: Switch module; The first end of the switch module is electrically connected to the power input end; the second end of the switch module is electrically connected to the first end of the current detection module; and the control end of the switch module is electrically connected to the control end of the control module.

8. The switch circuit according to claim 1, 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.

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.