Switching circuit and vehicle
By introducing detection modules and digital diagnostic modules into the switch circuit, electrical parameter abnormalities can be monitored and diagnosed in real time, which solves the problem of the lack of self-diagnosis function in high-side switch circuits and improves the safety and user experience of the circuit.
Patent Information
- Application Number
- CN202310185423.4
- 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
The existing high-side switch circuit lacks self-diagnosis function and cannot promptly judge and prompt abnormality of the switch circuit, which affects vehicle safety and user experience.
A switching circuit including a detection module and a digital diagnostic module is designed. The detection module monitors electrical parameters in real time, such as overvoltage, overcurrent and overtemperature signals, and sends abnormal information to the digital diagnostic module. The digital diagnostic module generates signals based on fault conditions. Effective enable signal, outputs switching circuit abnormality information to the external processor.
It realizes automatic diagnosis and abnormal reminder of the switch circuit, improves the safety and user experience of the circuit, and ensures the normal operation of the vehicle.
Smart Images

Figure CN118549787A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of vehicle technology, and in particular to a switch circuit and a vehicle. Background Art
[0002] There are many types of switches in the vehicle's power supply circuit. For example, high-side switches are usually used in vehicle power control applications. High-side switches refer to adding a switching transistor between the load and the power supply to control the operation of the load.
[0003] During the process of a switch, such as a high-side switch circuit, controlling a load, some electrical parameters in the switch circuit may be abnormal, such as open circuit, short circuit, over-temperature or over-voltage, etc., resulting in a switch circuit failure. However, the existing high-side switch does not have a self-diagnosis function for the above situations, and cannot promptly determine whether the switch circuit has a fault and quickly prompt the user of the switch circuit abnormality, which affects the safety of the vehicle and reduces the user's 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 and a vehicle, which can automatically diagnose and output abnormal conditions during the operation of the switching circuit, promptly remind the user of switch circuit failures, and improve the safety of the switching circuit.
[0005] In a first aspect, the present disclosure provides a switch circuit, comprising:
[0006] Detection module and digital diagnostic module;
[0007] The first end of the detection module is electrically connected to the power input end; the second end of the detection module is electrically connected to the power output end; the output end of the detection module is electrically connected to the input end of the digital diagnosis module; the output end of the digital diagnosis module is electrically connected to the external processor;
[0008] The detection module is used to detect the electrical parameters generated in the switching circuit and send the electrical parameters to the input end of the digital diagnosis module; wherein the electrical parameters include at least one of an overvoltage signal, an overcurrent signal, an open circuit signal or an overtemperature signal; the digital diagnosis module is used to receive the electrical parameters sent by the detection module, and when the electrical parameters meet a first fault condition, generate a first valid enable signal, and output switching circuit abnormality information to the external processor according to the first valid enable signal.
[0009] In some embodiments, the detection module includes: a voltage detection submodule, a current detection submodule, and a temperature detection submodule;
[0010] The first end of the voltage detection submodule is electrically connected to the first end of the detection module; the second end of the voltage detection submodule is electrically connected to the first end of the current detection submodule; the second end of the current detection submodule is electrically connected to the second end of the detection module; the first end of the temperature detection submodule is electrically connected to the power supply end; the output end of the voltage detection submodule, the first output end and the second output end of the current detection submodule, and the output end of the temperature detection submodule are all electrically connected to the output end of the detection module;
[0011] The voltage detection submodule is used to detect the overvoltage signal generated in the switching circuit, and send the overvoltage signal to the input end of the digital diagnosis module; the current detection submodule is used to detect the overcurrent signal and / or the open circuit signal generated in the switching circuit, and send the overcurrent signal and / or the open circuit signal to the input end of the digital diagnosis module; the temperature detection submodule is used to detect the overtemperature signal generated in the switching circuit, and send the overtemperature signal to the input end of the digital diagnosis module.
[0012] In some embodiments, the voltage detection submodule includes: a first resistor and a second resistor;
[0013] The first end of the first resistor is electrically connected to the power input end; the second end of the first resistor is electrically connected to the first end of the second resistor and the input end of the digital diagnosis module; and the second end of the second resistor is grounded.
[0014] In some embodiments, the current detection submodule includes: a detection resistor, a differential amplifier unit, a gain adjustment unit and a first switch element;
[0015] 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 first output end of the current detection submodule; 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 first switching element; the first end of the first switching element and the output end of the differential amplifier unit are both electrically connected to the second output end of the current detection submodule; the second end of the first switching element is grounded.
[0016] In some embodiments, the temperature detection submodule includes: a third resistor, a fourth resistor, a temperature detection resistor, and a second switch element;
[0017] The first end of the third resistor and the first end of the fourth resistor are both electrically connected to the power supply end; the second end of the third resistor is electrically connected to the first end of the temperature detection resistor and the control end of the second switch element respectively; the first end of the second switch element is electrically connected to the second end of the third resistor and the input end of the digital diagnostic module; the second end of the second switch element is grounded.
[0018] In some embodiments, it further includes: a switch module;
[0019] The first end of the switch module is electrically connected to the second end of the voltage detection submodule; the second end of the switch module is electrically connected to the first end of the current detection submodule; and the control end of the switch module is electrically connected to the output end of the detection module.
[0020] In some embodiments, it further includes: a control module;
[0021] The first end of the control module is electrically connected to the output end of the detection module; the second end of the control module is electrically connected to the control end of the switch module;
[0022] The control module is used to receive the electrical parameters sent by the detection module, and generate a first valid enable signal when the electrical parameters meet the first 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.
[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 detection 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 some embodiments, the digital diagnostic module includes: at least one switch unit;
[0027] 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.
[0028] In a second aspect, the present disclosure further provides a vehicle, comprising a switching circuit as described in any embodiment of the first aspect.
[0029] Compared with the prior art, the technical solution provided by the embodiments of the present disclosure has the following advantages:
[0030] The switch circuit provided by the present disclosure includes a detection module and a digital diagnosis module; the first end of the detection module is electrically connected to the power input end; the second end of the detection module is electrically connected to the power output module; the output end of the detection module is electrically connected to the input end of the digital diagnosis module; the output end of the digital diagnosis module is electrically connected to the external processor; the detection module is used to detect the electrical parameters generated in the switch circuit and send the electrical parameters to the input end of the digital diagnosis module; wherein the electrical parameters include at least one of an overvoltage signal, an overcurrent signal, an open circuit signal or an overtemperature signal; the digital diagnosis module is used to receive the electrical parameters sent by the detection module, and when the electrical parameters meet the first fault condition, generate a first effective enable signal, and output the switch circuit abnormality information to the external processor according to the first effective enable signal. Since the detection module can detect multiple electrical parameters of the switch circuit during operation, monitor the switch circuit in real time, and send the collected electrical parameters to the digital diagnosis module, the digital diagnosis module processes the received electrical parameters, and when the electrical parameters meet the first fault condition, the generated first effective enable signal will output the abnormal situation of the switch circuit to the outside, thereby facilitating the user to know the working condition of the switch circuit. The present disclosure can automatically diagnose and output abnormal conditions during the operation of the switch circuit, promptly remind the user of switch circuit failures, and improve the safety of the switch circuit. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] 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.
[0032] 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.
[0033] Figure 1 A schematic diagram of a switch circuit provided in an embodiment of the present disclosure;
[0034] Figure 2 A schematic diagram of the structure of another switch circuit provided in an embodiment of the present disclosure;
[0035] Figure 3 A schematic diagram of the structure of another switch circuit provided in an embodiment of the present disclosure;
[0036] Figure 4 A schematic diagram of the structure of another switch circuit provided in an embodiment of the present disclosure;
[0037] Figure 5 A schematic diagram of the structure of another switch circuit provided in an embodiment of the present disclosure;
[0038] Figure 6 A schematic diagram of the structure of another switch circuit provided in an embodiment of the present disclosure;
[0039] Figure 7 A schematic diagram of the structure of another switch circuit provided in an embodiment of the present disclosure;
[0040] Figure 8 A schematic diagram of the structure of another switch circuit provided in an embodiment of the present disclosure;
[0041] Fig. 9 A schematic diagram of the structure of another switch circuit provided in an embodiment of the present disclosure;
[0042] Fig.10 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. detection module; 2. digital diagnosis module; 3. switch module; 4. control module; 11. voltage detection submodule; 12. current detection submodule; 13. temperature detection submodule; 14. differential amplifier unit; 15. gain adjustment unit; 16. first voltage follower unit; 17. second voltage follower unit; Q1-Q11, first switch element-eleventh switch element; R1-R19, first resistor-nineteenth 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
[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 detection module 1 and a digital diagnosis module 2.
[0047] The first end of the detection module 1 is electrically connected to the power input end; the second end of the detection module 1 is electrically connected to the power output end; the output end of the detection module 1 is electrically connected to the input end of the digital diagnosis module 2; and the output end of the digital diagnosis module 2 is electrically connected to the external processor.
[0048] The detection module 1 is used to detect the electrical parameters generated in the switching circuit and send the electrical parameters to the input end of the digital diagnosis module 2; wherein the electrical parameters include at least one of an overvoltage signal, an overcurrent signal, an open circuit signal or an overtemperature signal; the digital diagnosis module 2 is used to receive the electrical parameters sent by the detection module 1, and when the electrical parameters meet the first fault condition, generate a first valid enable signal, and output the switching circuit abnormality information to the external processor according to the first valid enable signal.
[0049] Specifically, the first end of the detection module 1 is electrically connected to the power input end, and the second end of the detection module 1 is electrically connected to the power output end. The current flows in through the first end of the detection module 1 and is output outward through the second end of the detection module 1. During the transmission process, different electrical parameters will be generated. The detection module 1 can detect the electrical parameters generated when the switch circuit is working in real time. The output end of the detection module 1 is electrically connected to the input end of the digital diagnosis module 2. The detection module 1 can send the electrical parameters generated in the detected switch circuit to the digital diagnosis module 2. When the electrical parameters received by the digital diagnosis module 2 meet the first fault condition, the digital diagnosis module 2 will generate a first effective enable signal, and can output information on abnormal operation of the switch circuit according to the first effective enable signal.
[0050] Among them, the electrical parameters may include a variety of different signals, such as detecting the input voltage in the switch circuit. When the input voltage is abnormal, an overvoltage signal will be generated, and the input voltage of the switch circuit is too high at this time; when detecting the current in the switch circuit, if the current is abnormal, an overcurrent signal or an open circuit signal may be generated. When an overcurrent signal is generated, the current in the switch circuit is too high. When an open circuit signal is generated, it indicates that the load of the switch circuit is disconnected; when detecting the temperature in the switch, if the temperature is abnormal, an overtemperature signal will be generated, such as collecting the temperature of the switch module. When the above electrical parameters are abnormal, they will affect the normal operation of the switch circuit, indicating that the current switch circuit is abnormal. Therefore, when any of the above electrical parameters meets the first fault condition corresponding to the device, a first effective enable signal, such as a high-level signal, will be generated, and then the digital diagnostic module 2 will output information about the abnormal operation of the switch circuit to an external processor electrically connected to its output end according to the first effective enable signal.
[0051] In the switch circuit provided by the embodiment of the present disclosure, the detection module can detect various electrical parameters of the switch circuit during operation, monitor the switch circuit in real time, and send the collected electrical parameters to the digital diagnosis module, which processes the received electrical parameters. When the electrical parameters meet the first fault condition, the generated first effective enable signal will output the abnormal situation of the switch circuit to the outside, thereby facilitating the user to know the working condition of the switch circuit. The present disclosure can automatically diagnose and output the abnormal situation during the operation of the switch circuit, promptly remind the user that the switch circuit has a fault, and improve the safety of the switch circuit.
[0052] 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 detection module 1 includes: a voltage detection submodule 11 , a current detection submodule 12 and a temperature detection submodule 13 .
[0053] The first end of the voltage detection submodule 11 is electrically connected to the first end of the detection module 1; the second end of the voltage detection submodule 11 is electrically connected to the first end of the current detection submodule 12; the second end of the current detection submodule 12 is electrically connected to the second end of the detection module 1; the first end of the temperature detection submodule 13 is electrically connected to the power supply terminal Vs; the output end of the voltage detection submodule 11, the first output end and the second output end of the current detection submodule 12, and the output end of the temperature detection submodule 13 are all electrically connected to the output end of the detection module 1.
[0054] The voltage detection submodule 11 is used to detect the overvoltage signal generated in the switching circuit, and send the overvoltage signal to the input end of the digital diagnosis module 2; the current detection submodule 12 is used to detect the overcurrent signal and / or open circuit signal generated in the switching circuit, and send the overcurrent signal and / or open circuit signal to the input end of the digital diagnosis module 2; the temperature detection submodule 13 is used to detect the overtemperature signal generated in the switching circuit, and send the overtemperature signal to the input end of the digital diagnosis module 2.
[0055] Specifically, Figure 2 As shown, the detection module 1 includes a voltage detection submodule 11, a first end of the voltage detection submodule 11 is electrically connected to a first end of the detection module 1, and the power input end transmits the current to the voltage detection submodule 11 through the first end of the detection module 1, and the voltage detection submodule 11 detects the input voltage here to obtain an overvoltage signal. The output end of the voltage detection submodule 11 is electrically connected to the output end of the detection module 1, and the detected overvoltage signal is transmitted to the input end of the digital diagnosis module 2 through the output end of the detection module 1.
[0056] It also includes a current detection submodule 12, wherein the first end of the current detection submodule 12 is electrically connected to the second end of the voltage detection submodule 11, and detects the current value in the switch circuit. 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, so the current detection submodule 12 detects the overcurrent signal and the open circuit signal respectively, and is provided with a first output end and a second output end. The first output end of the current detection submodule 12 is electrically connected to the output end of the detection module 1, and the detected overcurrent signal is transmitted to the digital diagnosis module 2 via the output end of the detection module 1. The second output end of the current detection submodule 12 is electrically connected to the output end of the detection module 1, and the detected open circuit signal is transmitted to the input end of the digital diagnosis module 2 via the output end of the detection module 1.
[0057] The temperature detection submodule 13 is also included. The temperature detection submodule 13 is used to detect the temperature in the switch circuit and obtain an over-temperature signal. The temperature detection submodule 13 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 submodule 13 is electrically connected to the output end of the detection module 1, and the detected over-temperature signal is transmitted to the input end of the digital diagnosis module 2 via the output end of the detection module 1.
[0058] 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 voltage detection submodule 11 includes: a first resistor R1 and a second resistor R2;
[0059] A first end of the first resistor R1 is electrically connected to the power input terminal, a second end of the first resistor R1 is electrically connected to a first end of the second resistor R2 and an input terminal of the digital diagnosis module 2, and a second end of the second resistor R2 is grounded.
[0060] Optionally, the voltage detection submodule 11 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 the first end of the first resistor R1 .
[0061] Exemplarily, since the output end of the voltage detection submodule 11 is electrically connected to the input end of the digital diagnosis module 2, and the digital diagnosis module 2 is provided with a third switch element Q3, the output end of the voltage detection submodule 11 is electrically connected to the control end of the third switch element Q3, and the first end of the third switch element Q3 is electrically connected to the input end of the digital diagnosis module 2 ( Figure 3 The third switch element Q3 is not shown in the figure, see the corresponding figure of the digital diagnosis module 2). After the voltage detection submodule 11 detects the overvoltage signal Det1, it is sent to the input end of the digital diagnosis module 2, and then transmitted to the third switch element Q3. If the overvoltage signal Det1 meets the voltage fault condition, a first effective enable signal is generated.
[0062] The third switch element Q3 is, for example, an NPN transistor, the base of the NPN transistor serves as the control end of the third switch element Q3 , the collector of the NPN transistor serves as the output end of the third switch element Q3 , and the emitter of the NPN transistor is the input end of the digital diagnosis module 2 .
[0063] The resistance values of the first resistor R1 and the second resistor R2 satisfy the following formula:
[0064]
[0065] Wherein, Vz is the voltage stabilization value of the voltage stabilizing diode D1, Vth1 is the voltage threshold, and Vbe(q3) is the voltage between the base and the emitter of the third switch element Q3. 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 third switch element Q3 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 third switch element Q3 will not change. The third switch element Q3 will be triggered to turn on only when the input voltage Vin exceeds the voltage threshold Vth1.
[0066] 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 third switch element Q3 is:
[0067]
[0068] At this time, the base voltage Vb3 of the third switch element Q3 is greater than the voltage Vbe(q3) between the base and the emitter of the third switch element Q3, and the base voltage Vb3 of the third switch element Q3 is clamped to the voltage Vbe(q3) between the base and the emitter of the third switch element Q3, and the third switch element Q3 is turned on. When the third switch element Q3 is turned on, the digital diagnosis module 2 obtains a first 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.
[0069] 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 current detection submodule 12 includes: a detection resistor R0, a differential amplifier unit 14, a gain adjustment unit 15 and a first switch element Q1;
[0070] 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 14; 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 14; the output end of the differential amplifier unit 14 is electrically connected to the first input end of the gain adjustment unit 15 and the first output end of the current detection submodule 12; the second input end of the gain adjustment unit 15 is electrically connected to the output end of the gain adjustment unit 15; the output end of the gain adjustment unit 15 is also electrically connected to the control end of the first switch element Q1; the first end of the first switch element Q1 and the output end of the differential amplifier unit 14 are both electrically connected to the second output end of the current detection submodule 12; the second end of the first switch element Q1 is grounded.
[0071] 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 14, a gain adjustment unit 15, and the first switch element Q1 is, for example, an NPN transistor, the base of the NPN transistor is the control end of the first switch element Q1, the collector of the NPN transistor is the first end of the first switch element Q1, and the emitter of the NPN transistor is the second end of the first switch element Q1.
[0072] For example Figure 4 The differential amplifier unit 14 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 14. 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 14. 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 14. 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 sixth resistor R6 is ensured to be equal to the ratio of the resistance value of the seventh resistor R7 to the resistance value of the eighth resistor R8. For example, the resistance value of the fifth resistor R5 can be set equal to the resistance value of the seventh resistor R7, and the resistance value of the sixth resistor R6 can be set equal to the resistance value of the eighth resistor R8, thereby avoiding the error in the resistance value of the fifth resistor R5, the sixth resistor R6, the seventh resistor R7, and the eighth resistor R8 causing errors in the current detection submodule 12 when detecting current.
[0073] According to the working principle of the differential amplifier unit 14, the output voltage Vu3 of the third operational amplifier U3 satisfies the following formula:
[0074]
[0075] 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.
[0076] Exemplarily, the current detection submodule 12 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 submodule 12, and then electrically connected to the input end of the digital diagnostic module 2, and the second end of the tenth resistor is grounded.
[0077] Since the first output terminal of the current detection submodule 12 is electrically connected to the input terminal of the digital diagnosis module 2, and the digital diagnosis module 2 is provided with a fourth switch element Q4, the second output terminal of the current detection submodule 12 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 2 ( Figure 4 The fourth switch element Q4 is not shown in the figure. Fig.10 After the current detection submodule 12 detects the overcurrent signal Det2, it is sent to the input end of the digital diagnosis module 2 and then transmitted to the fourth switch element Q4. If the overcurrent signal Det2 meets the overcurrent fault condition, a first valid enable signal is generated.
[0078] According to the series voltage division formula, the values of the ninth resistor R9 and the tenth resistor R10 need to satisfy the following formula:
[0079]
[0080] Wherein, R9 is the resistance value of the ninth resistor R9, R10 is the resistance value of the tenth resistor R10, Ith1 is the current threshold corresponding to the overcurrent condition, and Vbe(q4) is the voltage between the base and the emitter of the fourth switch element Q4.
[0081] 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 fourth switch element Q4 satisfies the following formula:
[0082]
[0083] At this time, the base voltage Vb1 of the fourth switch element Q4 is greater than the voltage Vbe(q4) between the base and 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 emitter of the fourth switch element Q4.
[0084] Continue to refer Figure 4 The current detection submodule 12 also includes a gain adjustment unit 15, which 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 14, 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, and 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 control end of the first switch element Q1. It also includes a fifteenth resistor R15, the first end of the fifteenth resistor R15 is electrically connected to the external power supply end Vs, and the second end of the fifteenth resistor R15 is electrically connected to the first end of the first switch element Q1.
[0085] Exemplarily, when the input current I drops to the current threshold Ith2 corresponding to the open circuit condition, the voltage Vu3 output by the third operational amplifier U3 satisfies the following formula:
[0086]
[0087] Among them, R0 is the resistance value of the detection resistor R0, R7 is the resistance value of the seventh resistor R7, R8 is the resistance value of the eighth resistor R8, and Ith2 is the current threshold corresponding to the open circuit condition.
[0088] At this time, the voltage is too low to directly drive the first switch element Q1, and 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, and the attenuation gain G1 satisfies the following formula:
[0089]
[0090] Wherein, R13 is the resistance value of the thirteenth resistor R13, and R14 is the resistance value of the fourteenth resistor R14.
[0091] Then, the voltage is amplified to a range capable of driving the first switch element Q1 through the eleventh resistor R11 and the twelfth resistor R12, and the amplification gain G2 satisfies the following formula:
[0092]
[0093] Wherein, R11 is the resistance value of the eleventh resistor R11, and R12 is the resistance value of the twelfth resistor R12.
[0094] 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:
[0095] G total V u3(Ith2) =V be(q1)
[0096] Wherein, Vu3(Ith2) represents the voltage output by the third operational amplifier U3, and Vb(q1) represents the voltage between the base and the emitter of the first switch element Q1.
[0097] When the first switch element Q1 is turned on, it means that the switch circuit is in an open circuit state, and an open circuit signal Det3 is output to the second output end of the current detection submodule 12 .
[0098] Since the second output terminal of the current detection submodule 12 is electrically connected to the input terminal of the digital diagnosis module 2, and the digital diagnosis module 2 is provided with a fifth switch element Q5, the second output terminal of the current detection submodule 12 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 2 ( Figure 4 The fifth switch element Q5 is not shown in the figure. Fig.10 After the current detection submodule 12 detects the open circuit signal Det3, it is sent to the input end of the digital diagnosis module 2 and then transmitted to the fifth switch element Q5. If the overcurrent signal Det2 meets the open circuit fault condition, a first valid enable signal is generated.
[0099] Alternatively, if Figure 4 As shown, the current detection submodule 12 further includes a first voltage follower unit 16 and a second voltage follower unit 17;
[0100] The first end of the first voltage follower unit 16 is electrically connected to the first end of the detection resistor R0, the second end of the first voltage follower unit 16 and the third end of the first voltage follower unit 16 are both electrically connected to the first input end of the differential amplifier unit 14, the first end of the second voltage follower unit 17 is electrically connected to the second end of the detection resistor R0, and the second end of the second voltage follower unit 17 and the third end of the second voltage follower unit 17 are both electrically connected to the second input end of the differential amplifier unit 14.
[0101] Specifically, Figure 2exemplarily shows that the first voltage follower unit 16 includes a first operational amplifier U1, and the second voltage follower unit 17 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 16, the inverting input terminal of the first operational amplifier U1 serves as the second terminal of the first voltage follower unit 16, and the output terminal of the first operational amplifier U1 serves as the third terminal of the first voltage follower unit 16. The non-inverting input terminal of the second operational amplifier U2 serves as the first terminal of the first voltage follower unit 16, the inverting input terminal of the second operational amplifier U2 serves as the second terminal of the first voltage follower unit 16, and the output terminal of the second operational amplifier U2 serves as the third terminal of the first voltage follower unit 16.
[0102] The first voltage follower unit 16 collects the voltage of the first end of the detection resistor R0, and the second voltage follower unit 17 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 14, and utilizes the high input impedance and low output impedance characteristics of the first voltage follower unit 16 and the second voltage follower unit 17 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 16 and the second voltage follower unit 17, 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.
[0103] In some embodiments, 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 temperature detection submodule 13 includes: a third resistor R3, a fourth resistor R4, a temperature detection resistor Rt and a second switch element Q2.
[0104] The first end of the third resistor R3 and the first end of the fourth resistor R4 are both electrically connected to the power supply terminal Vs; the second end of the third resistor R3 is electrically connected to the first end of the temperature detection resistor Rt and the control end of the second switch element Q2 respectively; the first end of the second switch element Q2 is electrically connected to the second end of the third resistor R3 and the input end of the digital diagnostic module 2; the second end of the second switch element Q2 is grounded.
[0105] 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:
[0106]
[0107] 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.
[0108] 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.
[0109] When the measured temperature T is greater than the over-temperature threshold T1, the second switch element Q2 is disconnected, and an over-temperature signal Det4 is output to the input end of the digital diagnosis module 2. The third resistor R3 should satisfy the following formula:
[0110]
[0111] 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(q2) represents the voltage between the base and the emitter of the second switch element Q2.
[0112] When the measured temperature T is less than the over-temperature threshold T1, the second switch element Q2 is turned on, and the base voltage of the second switch element Q2 satisfies the following formula:
[0113]
[0114] At this time, the base voltage Vb2 of the second switching element Q2 is greater than the voltage Vbe(q2) between the base and emitter of the second switching element Q2, the second switching element Q2 is turned on, and the base voltage Vb2 of the second switching element Q2 will also be clamped to the voltage Vbe(q2) between the base and emitter of the second switching element Q2.
[0115] Since the output end of the temperature detection submodule 13 is electrically connected to the input end of the digital diagnosis module 2, and the digital diagnosis module 2 is provided with a sixth switch element Q6, the output end of the temperature detection submodule 13 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 2 ( Figure 5 The sixth switch element Q6 is not shown in the figure. Fig.10 After the temperature detection submodule 13 detects the over-temperature signal Det4, it is sent to the input end of the digital diagnosis module 2 and then transmitted to the sixth switch element Q6. If the over-temperature signal Det4 meets the over-current fault condition, a first valid enable signal is generated.
[0116] In some embodiments, Figure 6 and Figure 7A schematic diagram of a switch circuit according to another embodiment of the present disclosure is shown in FIG. Figure 6 As shown, the switch circuit further includes: a switch module 3.
[0117] The first end of the switch module 3 is electrically connected to the second end of the voltage detection submodule 11 , the second end of the switch module 3 is electrically connected to the first end of the current detection submodule 12 , and the control end of the switch module 3 is electrically connected to the output end of the detection module.
[0118] Specifically, Figure 7 As shown, the switch module 3 includes a seventh switch element Q7, a first end of the seventh switch element Q7 is electrically connected to the first end of the switch module 3, a second end of the seventh switch element Q7 is electrically connected to the second end of the switch module 3, and a control end of the seventh switch element Q7 is electrically connected to the control end of the switch module 3. Exemplarily, the seventh switch element Q7 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 seventh switch element Q7, a source of the P-type field effect transistor serves as the first end of the seventh switch element Q7, and a drain of the P-type field effect transistor serves as the second end of the seventh switch element Q7.
[0119] Alternatively, if Figure 7 As shown, the switch module 3 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 seventh switch element Q7, and a second end of the energy storage capacitor C1 is electrically connected to a control end of the seventh switch element Q7.
[0120] Specifically, the switch module 3 further includes a sixteenth resistor R16 and a seventeenth resistor R17, a first end of the sixteenth resistor R16 is electrically connected to a first end of the energy storage capacitor C1, a second end of the sixteenth resistor R16 is electrically connected to a second end of the energy storage capacitor C1 and a first end of the seventeenth resistor R17, and a second end of the seventeenth resistor R17 is electrically connected to a control end of the switch module 3. The resistance values of the sixteenth resistor R16 and the seventeenth resistor R17 should satisfy the following formula:
[0121]
[0122] Among them, Vinmin is the rated minimum voltage of the input voltage, Vgs(th)(m7) is the on-voltage of the seventh switch element Q7, 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 seventh switch element Q7.
[0123] 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 by a constant current method, and the seventh switch element Q7 is controlled to be slowly opened, and the energy storage capacitor C1 is discharged by a constant current method, and the seventh switch element Q7 is controlled to be slowly closed, thereby avoiding the instantaneous current from being too large to damage the seventh switch element Q7, 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 seventh switch element Q7.
[0124] According to the charging formula of the energy storage capacitor C1, the start-up time Tstart1 of the seventh switch element Q7 satisfies the following formula:
[0125]
[0126] Wherein, C1 is the capacitance value of the energy storage capacitor C1, R17 is the resistance value of the seventeenth resistor R17, Vin is the voltage value of the power input terminal, and Vgs(th)(m7) is the turn-on voltage of the seventh switch element Q7.
[0127] The closing time Tstop1 of the seventh switch element Q7 satisfies the following formula:
[0128]
[0129] Wherein, R16 is the resistance value of the sixteenth resistor R16.
[0130] Exemplarily, when the seventeenth resistor R17 is pulled down to the ground, the energy storage capacitor C1 is charged through the seventeenth resistor R17, and when the gate-source voltage Vgs of the seventh switch element Q7 is greater than the turn-on voltage Vgs(th)(m7) of the seventh switch element Q7, the seventh switch element Q7 is turned on. When the seventeenth resistor R17 is controlled to be disconnected from the ground, the energy storage capacitor C1 is discharged through the sixteenth resistor R16, and when the gate-source voltage Vgs of the seventh switch element Q7 is less than the turn-on voltage Vgs(th)(m7) of the seventh switch element Q7, the seventh switch element Q7 is turned off.
[0131] In some embodiments, Figure 8 and Fig. 9 A schematic diagram of a switch circuit according to another embodiment of the present disclosure is shown in FIG. Figure 8 As shown, it also includes: a control module 4.
[0132] A first end of the control module 4 is electrically connected to the output end of the detection module, and a second end of the control module 4 is electrically connected to the control end of the switch module 3 .
[0133] The control module 4 is used to receive the electrical parameters sent by the detection module 1, and generate a first valid enable signal when the electrical parameters meet the first fault condition. The output end of the control module 4 controls the switch module 3 to disconnect, and the power input end and the power output end are disconnected.
[0134] Specifically, Fig. 9 As shown, the control module 4 includes an eighth switching element Q8 , a ninth switching element Q9 , a tenth switching element Q10 and an eleventh switching element Q11 .
[0135] Exemplarily, the eighth switch element Q8, the ninth switch element Q9, the tenth switch element Q10 and the eleventh switch element Q11 are NPN transistors, the control end of the eighth switch element Q8 is electrically connected to the output end of the voltage detection submodule 11, and receives the overvoltage signal Det1, the control end of the ninth switch element Q9 is electrically connected to the first output end of the current detection submodule 12, and receives the overcurrent signal Det2, the control end of the tenth switch element Q10 is electrically connected to the output end of the temperature detection submodule 13, and receives the overtemperature signal Det4, the first end of the eighth switch element Q8, the first end of the ninth switch element Q9, the first end of the tenth switch element Q10 and the control end of the eleventh switch element Q11 are all electrically connected to the external control end Ex-Ctl, the second end of the eighth switch element Q8, the second end of the ninth switch element Q9, the tenth switch element Q10 and the second end of the eleventh switch element Q11 are all grounded, the first end of the eleventh switch element Q11 is electrically connected to the control end of the switch module 3, and outputs the control signal ctl.
[0136] Further, when the input voltage is greater than the voltage threshold, the output end of the voltage detection submodule 11 outputs an overvoltage signal Det1 to the eighth switch element Q8 in the control module 4, the eighth switch element Q8 is turned on, and a first valid enable signal, for example, a high level signal, is generated, and then output to the eleventh switch element Q11; when the input current is greater than the current threshold corresponding to the overcurrent condition, the first output end of the current detection submodule 12 outputs an overcurrent signal Det2 to the ninth switch element Q9 in the control module 4, the ninth switch element Q9 is turned on, and a first valid enable signal, for example, a high level signal, is generated, and then output to the eleventh switch element Q11; when the circuit temperature is greater than the temperature threshold, the output end of the temperature detection submodule 13 outputs an overtemperature signal Det4 to the tenth switch element Q10 in the control module 4, the tenth switch element Q10 is turned on, and a first valid enable signal, for example, a high level signal, is generated, and then output to the eleventh switch element Q11. At the same time, the control end of the eleventh switch element Q11 is also electrically connected to the external control end Ex-Ctl, and the above four control signals jointly control the eleventh switch element Q11.
[0137] Among them, when the external control terminal Ex-Ctl is connected to a low-level signal, the eleventh switch element Q11 is disconnected, and the first terminal output signal state of the eleventh switch element Q11 is independent of the overvoltage signal Det1, the overcurrent signal Det2, and the overtemperature signal Det4, and is in an open collector state. At this time, when the seventeenth resistor R17 is controlled to be disconnected from the ground in the switch module 3, the energy storage capacitor C1 is discharged through the sixteenth resistor R16, and when the gate-source voltage Vgs of the seventh switch element Q7 is less than the conduction voltage Vgs(th)(m7) of the seventh switch element Q7, the seventh switch element Q7 is disconnected, thereby disconnecting the power input terminal and the power output terminal.
[0138] 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 Det4 need to be considered. Only when the first effective enable signal generated by the overvoltage signal Det1, the overcurrent signal Det2 and the overtemperature signal Det4 is low level, the control signal ctl output by the first end of the eleventh switch element Q11 is in the 0 state, and in the switch module 3, when the seventeenth resistor R17 is pulled down to the ground, the energy storage capacitor C1 is charged through the seventeenth resistor R17, and when the gate-source voltage Vgs of the seventh switch element Q7 is greater than the conduction voltage Vgs(th)(m7) of the seventh switch element Q7, the seventh switch element Q7 is turned on. In other cases, the seventh switch element Q7 cannot be turned on and is in an open collector state, and the principle is not repeated here.
[0139] Table 1 shows the relationship between the state corresponding to the signal at the output terminal Det1 of the voltage detection submodule 11, the state corresponding to the signal at the first output terminal Det2 of the current detection submodule 12, the state corresponding to the signal at the output terminal Det4 of the temperature detection submodule 13, the base voltage state of the eleventh switch element Q11, and the state of the output terminal of the control module 4.
[0140] Among them, 0 represents that the first valid enable signal corresponding to the signal output by each detection submodule 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 first valid enable signal corresponding to the signal output by each detection submodule is a high level signal and the external control terminal Ex-Ctl outputs a high level signal.
[0141] Table 1
[0142] Ex-Ctl Det1 Det2 Det4 Vb(q11) 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
[0143] It can be seen from Table 1 that when any of the detection submodules and the external control terminal outputs a low level signal, the output terminal Ctl of the control module 4 is in an open collector state, the eleventh switch element Q11 is disconnected, and the seventh switch element Q7 of the switch module 3 is disconnected. The specific working principle can be understood by referring to the above embodiment, and the embodiment of the present disclosure will not be repeated here.
[0144] Table 2 shows the state corresponding to the signal at the output terminal Det1 of the voltage detection submodule 11, the state corresponding to the signal at the second output terminal Det2 of the current detection submodule 12, the state corresponding to the signal at the output terminal Det4 of the temperature detection submodule 13, the base voltage state of the eleventh switch element Q11, and the relationship between the output terminal state of the control module 4 and the seventh switch element Q7 of the switch module 3.
[0145] Among them, 0 represents that the first valid 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 first valid 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 first valid enable signal corresponding to the signal output by each detection submodule can be 0 or 1.
[0146] It can be seen from Table 2 that only when the external control terminal is at a high level and the first valid enable signal generated by the overvoltage signal Det1, the overcurrent signal Det2 and the overtemperature signal Det4 is at a low level, the control signal ctl outputted from the first end of the eleventh switch element Q11 is in the 0 state, and the seventh switch element Q7 in the switch module 3 is turned on.
[0147] Table 2
[0148] Ex-Ctl Det1 Det2 Det4 Vb(q11) Ctl Q7 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
[0149] Optionally, the control module further includes a delay capacitor C2 and an eighteenth resistor R18, wherein the first end of the delay capacitor C2 is electrically connected to the control end of the eleventh switch element Q11, the second end of the delay capacitor C2 is grounded, the first end of the eighteenth resistor R18 is electrically connected to the external control end, the second end of the eighteenth resistor R18 is electrically connected to the control end of the eleventh switch element Q11, wherein the eighteenth resistor is a pull-up resistor. The charging time of the delay resistor needs to satisfy the following formula:
[0150]
[0151] Wherein, C2 is the capacitance value of the delay capacitor C2, R18 is the resistance value of the eighteenth resistor R18, V ext-ctl is the voltage value of the external control terminal, and Vbe(q2) is the voltage between the base and the emitter of the eleventh switching element Q11.
[0152] When the delay resistor is discharged, the eighth switch element Q8 , the ninth switch element Q9 , and the tenth switch element Q10 directly pull the voltage to the ground, so the time is short and can be ignored.
[0153] 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 seventh switch element Q7 in the switch module can be further adjusted to protect the circuit. When the protection function is triggered, the shut-down time of the seventh switch element Q7 is tstop1; when the seventh switch element Q7 is reopened, the start-up time is tstart=tstart1+tstart2, which is the cooling time of the seventh switch element Q7; when the cooling time of the seventh switch element Q7 needs to be adjusted, the delay capacitor C2 can be adjusted.
[0154] In some embodiments, it also includes: a reverse protection module.
[0155] The first end of the reverse protection module is electrically connected to the second end of the current detection module 1 , and the second end of the reverse protection module is electrically connected to the power output end.
[0156] 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.
[0157] 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 5 is used to implement reverse protection to prevent the current from flowing in reverse to the power input terminal and burning the switching circuit, thereby improving the safety of the switching circuit.
[0158] In some embodiments, Fig.10 A schematic diagram of a switch circuit according to another embodiment of the present disclosure is shown in FIG. Fig.10 As shown, the digital diagnosis module 2 includes: at least one switch unit.
[0159] The control end of the switch unit is electrically connected to the input end of the digital diagnosis module 2, 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.
[0160] Specifically, the number of switch units corresponds to the number of output terminals of the detection submodule. For example, the detection submodule includes a voltage detection submodule 11, a current detection submodule 12, and a temperature detection submodule 13, wherein the voltage detection submodule 11 has an output terminal, outputting a voltage parameter Det1, the current detection submodule 12 includes two output terminals, outputting a current parameter when overcurrent occurs and a current parameter when open circuit occurs, respectively, and the temperature detection submodule 13 includes an output terminal, outputting a temperature parameter, then four switch units need to be set, namely, a third switch element Q3, a fourth switch element Q4, a fifth switch element Q5, and a sixth switch element Q6. Among them, the third switch element Q3, the fourth switch element Q4, the fifth switch element Q5 and the sixth switch element Q6 are all NPN transistors, the control end of the third switch element Q3 is electrically connected to the output end of the voltage detection submodule 11, and receives the overvoltage signal Det1, the control end of the fourth switch element Q4 is electrically connected to the first output end of the current detection submodule 12, and receives the overcurrent signal Det2, the control end of the fifth switch element Q5 is electrically connected to the second output end of the current detection submodule 12, and receives the open circuit signal Det3, the control end of the sixth switch element Q6 is electrically connected to the output end of the temperature detection submodule 13, and receives the overtemperature signal Det4, the first end of the third switch element Q3, the first end of the fourth switch element Q4, the first end of the fifth switch element Q5 and the first end of the sixth switch element Q6 are all electrically connected to the external control end Ex-Ctl and the external processor through the nineteenth resistor R19, and output the working state of the switching circuit to the external processor, and the second end of the third switch element Q3, the second end of the fourth switch element Q4, the second end of the fifth switch element Q5 and the second end of the sixth switch element Q6 are all grounded. For the specific work process, please refer to the various detection sub-modules and will not be described in detail here.
[0161] Table 2 shows the relationship between the state corresponding to the signal at the output terminal Det1 of the voltage detection submodule 11, the state corresponding to the signal at the first output terminal Det2 of the current detection submodule 12, the state corresponding to the signal at the second output terminal Det3 of the current detection submodule 12, the state corresponding to the signal at the output terminal Det4 of the temperature detection submodule 13, the state of the external control terminal and the external output state.
[0162] Among them, 0 represents that the first effective enable signal corresponding to the signal output by each detection submodule 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 first effective enable signal corresponding to the signal output by each detection submodule 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 first effective enable signal corresponding to the signal output by each detection submodule can be 0 or 1.
[0163] Table 3
[0164] 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
[0165] As shown in Table 3, the state of the external output is controlled by five control terminals, namely, the external control terminal, and the first valid enable signals corresponding to the overvoltage signal Det1, the overcurrent signal Det2, the open circuit signal, 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 first valid enable signals corresponding to the overvoltage signal Det1, the overcurrent signal Det2, the open circuit signal, 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 first valid enable signals corresponding to the overvoltage signal Det1, the overcurrent signal Det2, the open circuit signal, 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.
[0166] 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.
[0167] 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.
[0168] 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.
[0169] 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.
[0170] 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: Detection module and digital diagnostic module; The first end of the detection module is electrically connected to the power input end; The second end of the detection module is electrically connected to the power output end; The output end of the detection module is electrically connected to the input end of the digital diagnosis module; the output end of the digital diagnosis module is electrically connected to the external processor; The detection module is used to detect the electrical parameters generated in the switching circuit and send the electrical parameters to the input end of the digital diagnosis module; wherein the electrical parameters include at least one of an overvoltage signal, an overcurrent signal, an open circuit signal or an overtemperature signal; the digital diagnosis module is used to receive the electrical parameters sent by the detection module, and when the electrical parameters meet a first fault condition, generate a first valid enable signal, and output the switching circuit abnormality information to the external processor according to the first valid enable signal.
2. The switch circuit according to claim 1, characterized in that: The detection module includes: a voltage detection submodule, a current detection submodule and a temperature detection submodule; The first end of the voltage detection submodule is electrically connected to the first end of the detection module; the second end of the voltage detection submodule is electrically connected to the first end of the current detection submodule; the second end of the current detection submodule is electrically connected to the second end of the detection module; the first end of the temperature detection submodule is electrically connected to the power supply end; the output end of the voltage detection submodule, the first output end and the second output end of the current detection submodule, and the output end of the temperature detection submodule are all electrically connected to the output end of the detection module; The voltage detection submodule is used to detect the overvoltage signal generated in the switching circuit, and send the overvoltage signal to the input end of the digital diagnosis module; the current detection submodule is used to detect the overcurrent signal and / or the open circuit signal generated in the switching circuit, and send the overcurrent signal and / or the open circuit signal to the input end of the digital diagnosis module; the temperature detection submodule is used to detect the overtemperature signal generated in the switching circuit, and send the overtemperature signal to the input end of the digital diagnosis module.
3. The switch circuit according to claim 2, characterized in that: The voltage detection submodule includes: a first resistor and a second resistor; The first end of the first resistor is electrically connected to the power input end; the second end of the first resistor is electrically connected to the first end of the second resistor and the input end of the digital diagnosis module; and the second end of the second resistor is grounded.
4. The switch circuit according to claim 2, characterized in that: The current detection submodule includes: a detection resistor, a differential amplifier unit, a gain adjustment unit and a first switch element; 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 first output end of the current detection submodule; 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 first switching element; the first end of the first switching element and the output end of the differential amplifier unit are both electrically connected to the second output end of the current detection submodule; the second end of the first switching element is grounded.
5. The switch circuit according to claim 2, characterized in that: The temperature detection submodule includes: a third resistor, a fourth resistor, a temperature detection resistor and a second switch element; The first end of the third resistor and the first end of the fourth resistor are both electrically connected to the power supply end; the second end of the third resistor is electrically connected to the first end of the temperature detection resistor and the control end of the second switch element respectively; the first end of the second switch element is electrically connected to the second end of the third resistor and the input end of the digital diagnostic module; the second end of the second switch element is grounded.
6. The switch circuit according to claim 2, characterized in that: Also includes: Switch module; The first end of the switch module is electrically connected to the second end of the voltage detection submodule; the second end of the switch module is electrically connected to the first end of the current detection submodule; and the control end of the switch module is electrically connected to the output end of the detection module.
7. The switch circuit according to claim 6, characterized in that: Also includes: Control module; The first end of the control module is electrically connected to the output end of the detection module; the second end of the control module is electrically connected to the control end of the switch module; The control module is used to receive the electrical parameters sent by the detection module, and generate a first valid enable signal when the electrical parameters meet the first 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.
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 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. The switch circuit according to claim 6, characterized in that: The digital diagnostic module includes: 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.
10. A vehicle, characterized in that: Comprising a switching circuit as described in any one of claims 1 to 9.
