Electronic switch circuit, electronic equipment and vehicle
By introducing current detection and diagnostic modules into the electronic switching circuit, the detection and control of the current direction and magnitude are achieved, which solves the problem that existing circuits cannot judge the current direction and instantaneous opening of the response, and improves the flexibility and response capabilities of the circuit. Suitable for a variety of application scenarios.
Patent Information
- Application Number
- CN202411356892.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-25
- Publication Date
- 2024-12-27
AI Technical Summary
The existing electronic switching circuits cannot determine the current direction, cannot respond to instantaneous opening, and have limited application scenarios, making it difficult to cover all protection needs of actual vehicles.
An electronic switching circuit is designed, including a power supply module, a switch drive module, a current detection module and a current diagnosis module. The current detection module detects the current magnitude and direction. The current diagnosis module compares the current value with the preset threshold value and generates a control signal to The drive switch module is turned on or off to realize multi-directional detection and protection of current.
It improves the instantaneous high current response capability, avoids frequent false triggering problems caused by current changes, provides a variety of control signals and fault signals to adapt to the needs of different application scenarios, and enhances the flexibility and reliability of electronic switching circuits.
Smart Images

Figure CN119210418A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of power electronics technology, and in particular to an electronic switch circuit, an electronic device and a vehicle. Background Art
[0002] At present, most of the switch protection circuits on cars use disposable fuses. If a short circuit occurs, the fuse needs to be replaced manually after it burns out. The operation is complicated, requires high professional skills of the operator, and has poor reliability. The new electronic fuse (eFuse) uses the switching characteristics of the field effect tube to achieve large current shutdown in the event of a short circuit. After the short circuit fault disappears, it can automatically recover without manual intervention, which can reduce maintenance costs and is more friendly to vehicle users. With the rapid development of contemporary automotive technology, electronic fuses are replacing traditional fuses due to their superior performance and diverse functions. The chips that have appeared on the market to realize the eFuse function can only cover basic functions such as unidirectional current detection and overcurrent shutdown, and it is difficult to cover all scenarios of actual vehicle applications. For example, it is impossible to determine the direction of the current, unable to respond to instantaneous opening, and unable to manage functional devices that require reverse energy transmission. Summary of the invention
[0003] To this end, the present application proposes an electronic switch circuit that solves the problems that existing electronic switch circuits cannot determine the direction of current, cannot respond to instantaneous switching, and have limited application scenarios.
[0004] In a first aspect, the present application provides an electronic switch circuit, comprising a power supply module, a switch driving module, a switch module, a current detection module and a current diagnosis module; the power supply module is connected to an input end of the switch module, the output end of the switch module is connected to a load via the current detection module, the current detection module is connected to the switch driving module via the current diagnosis module, and the switch driving module is connected to a control end of the switch module;
[0005] The power supply module is used to output current to the switch module;
[0006] The current detection module is used to detect the magnitude and direction of the current flowing through the switch module, and output an electrical signal corresponding to the magnitude and direction of the current to the current diagnosis module;
[0007] The current diagnosis module is used to determine the current current value based on the electrical signal output by the current detection module, compare the current current value with a preset threshold value and generate a control signal, and output the control signal to the switch driving module;
[0008] The switch driving module is used to drive the switch module to turn on or off based on the control signal;
[0009] The switch module is used to switch on or off the current transmitted between the power supply module and the load under the drive of the switch driving module.
[0010] In some implementation schemes, the current detection module is implemented using an operational amplifier circuit, and the current flowing from the power supply module to the load or the current flowing from the load to the power supply module is converted into a voltage signal after passing through the operational amplifier circuit and output to the current diagnosis module.
[0011] In some embodiments, the control signal includes an enable control signal and / or a disable control signal; the switch driving module is specifically used to drive the switch module to turn off when the acquired control signal includes the disable control signal; and to drive the switch module to turn on when the acquired control signal includes the enable control signal but does not include the disable control signal.
[0012] Optionally, the current diagnosis module includes a forward current diagnosis module and a reverse current diagnosis module; the preset threshold value includes at least a first threshold value, a second threshold value and a third threshold value;
[0013] The forward current diagnosis module is used to compare the forward current value with the first threshold value and the second threshold value when obtaining the forward current value according to the electrical signal output by the current detection module, and to generate an enable control signal and output it to the switch driving module when the forward current value is greater than the first threshold value or greater than the first threshold value and less than or equal to the second threshold value; and to generate a disable control signal and output it to the switch driving module when the forward current value is greater than the second threshold value;
[0014] The reverse current diagnostic module is used to compare the reverse current value with the third threshold when obtaining the reverse current value according to the electrical signal output by the current detection module, and to generate an enable control signal and output it to the switch driving module when the reverse current value is less than or equal to the third threshold; and to generate a disable control signal and output it to the switch driving module when the reverse current value is greater than the third threshold.
[0015] Optionally, the forward current diagnostic module is further configured to output a fault signal indicating a forward short circuit when it is determined that the forward current value is greater than the second threshold value;
[0016] The reverse current diagnostic module is further configured to output a fault signal indicating a reverse short circuit when it is determined that the reverse current value is greater than the third threshold.
[0017] In some embodiments, the electronic switch circuit also includes an undervoltage detection module connected to the power supply module; the undervoltage detection module is used to detect the power supply voltage provided by the power supply module to the switch module, and when the power supply voltage is greater than a preset voltage value, outputs a fault signal indicating undervoltage.
[0018] In some embodiments, the electronic switch circuit also includes an over-temperature diagnostic module; the over-temperature diagnostic module is used to monitor the operating temperature of the switching device in the electronic switch circuit, and when the operating temperature exceeds a preset temperature value, the over-temperature diagnostic module outputs a fault signal indicating that the temperature is too high.
[0019] In a second aspect, the present application provides an electronic device, comprising a controller and the electronic switch circuit described in any of the above embodiments; the controller monitors the current state of the electronic switch circuit based on the electrical signal output by the electronic switch circuit.
[0020] Optionally, when the controller is in a sleep state and the electronic switch circuit outputs a fault signal to the controller, the controller is awakened.
[0021] In a third aspect, the present application provides a vehicle, comprising the electronic device described in any of the above embodiments.
[0022] The above one or more technical solutions of the present application have at least one or more of the following beneficial effects:
[0023] In the technical solution for implementing the present application, the electronic switch circuit includes a power supply module, a switch drive module, a switch module, a current detection module and a current diagnosis module; wherein the current detection module is used to detect the magnitude and direction of the current flowing through the switch module, and output an electrical signal corresponding to the magnitude and direction of the current to the current diagnosis module; the current diagnosis module is used to determine the current current value based on the electrical signal output by the current detection module, compare the current current value with a preset threshold and generate a control signal, and output the control signal to the switch drive module; the switch drive module is used to drive the switch module to turn on or off based on the control signal. The electronic switch circuit provided by the present application is simple to build, and is based on the detection and diagnosis of the magnitude and direction of the current flowing through the electronic switch circuit to realize the control of the switch device in the eFuse circuit. The circuit can be instantly opened to realize the protection of the eFuse switch device, and the instantaneous large current response capability is improved. Through the hysteresis response function of the current threshold detection, the frequent false triggering problem caused by the current change is avoided, and a variety of control signals or fault signals or current states can be provided to adapt to the needs of different application scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The disclosure of the present application will become more easily understood with reference to the accompanying drawings. It is easy for those skilled in the art to understand that these drawings are only for illustrative purposes and are not intended to limit the scope of protection of the present application. In addition, similar numbers in the drawings are used to represent similar components, among which:
[0025] Figure 1 is a schematic diagram of the composition structure of an electronic switch circuit according to an embodiment of the present application;
[0026] Figure 2 is a schematic diagram of the composition structure of an electronic switch circuit according to another embodiment of the present application;
[0027] Figure 3 is a circuit diagram of a switch module according to an embodiment of the present application;
[0028] Figure 4 is a circuit diagram of a current detection module according to an embodiment of the present application;
[0029] Figure 5 is a circuit diagram of a forward current diagnostic module according to an embodiment of the present application;
[0030] Figure 6 is a circuit diagram of another implementation of a forward current diagnostic module of an embodiment of the present application;
[0031] Figure 7 is a circuit diagram of a reverse current diagnostic module according to an embodiment of the present application;
[0032] Figure 8 is a circuit diagram of a switch driving module according to an embodiment of the present application;
[0033] Fig. 9 is a circuit diagram of an implementation of an undervoltage detection module in an embodiment of the present application;
[0034] Fig.10 This is a circuit diagram for implementing an over-temperature diagnosis module according to an embodiment of the present application. DETAILED DESCRIPTION
[0035] Some embodiments of the present application are described below with reference to the accompanying drawings. Those skilled in the art should understand that these embodiments are only used to explain the technical principles of the present application and are not intended to limit the protection scope of the present application.
[0036] In the description of the present application, "module" and "processor" may include hardware, software or a combination of the two. A module may include hardware circuits, various suitable sensors, communication ports, and memories, and may also include software parts, such as program codes, or a combination of software and hardware. The processor may be a central processing unit, a microprocessor, an image processor, a digital signal processor, or any other suitable processor. The processor has data and / or signal processing functions. The processor may be implemented in software, hardware, or a combination of the two. The term "A and / or B" means all possible combinations of A and B, such as just A, just B, or A and B. The term "at least one A or B" or "at least one of A and B" has a similar meaning to "A and / or B" and may include just A, just B, or A and B. The singular terms "one" and "the" may also include plural forms.
[0037] The electronic switch circuit proposed in the embodiment of the present application is also called an eFuse circuit, where the full name of eFuse is "electronic fuse". The core of the eFuse circuit is to achieve the protection function by controlling the on and off of the switch device (such as MOSFET) matched with it. The electronic switch circuit proposed in the embodiment of the present application uses a simple sensor chip and discrete electronic components to independently build the circuit. The circuit design is simple and reliable, the response is fast, the test is accurate, and the function coverage is comprehensive. It realizes current direction detection, current magnitude detection and current overcurrent protection. The protection state switching responds quickly, and has a hysteresis detection function to avoid frequent triggering.
[0038] See attached Figure 1 , Figure 1 is a schematic diagram of the composition structure of an electronic switch circuit provided by an embodiment of the present application, such as Figure 1 As shown, the electronic switch circuit 100 includes a power supply module 101, a switch module 102, a current detection module 103, a current diagnosis module 104 and a switch driving module 105, wherein the power supply module 101 is connected to the input end of the switch module 102, the output end of the switch module 102 is connected to the load via the current detection module 103, the current detection module 103 is connected to the switch driving module 105 via the current diagnosis module 104, and the switch driving module 105 is connected to the control end of the switch module 102. In this embodiment:
[0039] The power supply module 101 is used to output current to the switch module 102;
[0040] The switch module 102 is used to switch on or off the current transmitted between the power supply module 101 and the load under the drive of the switch driving module 105 .
[0041] In an embodiment of the present application, the current turned on or off by the switch module under the drive of the switch driving module 105 includes a forward-transmitted current and a reverse-transmitted current. For example, the current flowing from the power supply module 101 to the load is the forward-transmitted current, and the current flowing from the load to the power supply module 101 is the reverse-transmitted current.
[0042] The current detection module 103 is used to detect the magnitude and direction of the current flowing through the switch module 102, and output an electrical signal corresponding to the magnitude and direction of the current to the current diagnosis module;
[0043] In the embodiment of the present application, the current detection module can detect the current flowing through the switch module, which can be either the current flowing from the power supply module to the load, i.e., the forward current, or the current flowing from the load to the power supply module, i.e., the reverse current.
[0044] Specifically, the current detection module 103 can be implemented using an operational amplifier circuit, which forms a voltage difference through a resistor with the current flowing through the switch module 102 , and converts the current signal into a voltage signal, i.e., the electrical signal, based on the operational amplifier circuit and outputs it to the current diagnosis module 104 .
[0045] The current diagnosis module 104 is used to determine the current current value based on the electrical signal output by the current detection module 103, compare the current current value with a preset threshold value and generate a control signal, and output the control signal to the switch driving module.
[0046] For example, the current diagnosis module can be implemented by a comparator circuit, which compares the voltage signal corresponding to the current current value output by the current detection module 103 with the voltage signal generated based on a preset current value to output a control signal 0 or 1, for example, 1 represents an enable control signal and 0 represents a disable control signal.
[0047] The switch driving module 105 is used to drive the switch module to turn on or off based on the acquired control signal;
[0048] The switch driving module 105 in this embodiment is specifically used to drive the switch module to turn off when the control signal obtained includes the disable control signal; and drive the switch module to turn on when the control signal obtained includes the enable control signal but does not include the disable control signal. Furthermore, the control signal obtained by the switch module 105 can be a control signal output from the current diagnosis module 104, or a control signal output from an external software control. In combination with actual application scenarios, the control signal generated by the external software and / or the control signal output from the current diagnosis module can be output to the switch driving module 105 at the same time, and the control signal is a disable control signal with a higher priority than the enable control signal, so that a short circuit fault can be responded to in a timely manner.
[0049] It should be understood that the switch module includes multiple parallel switching devices (such as MOSFET), and the switch driving module drives the switching device to be turned on or off according to the control signal. For example, the switch driving module can be implemented using a boost circuit (such as a Boost circuit), and the boost circuit outputs high and low voltage signals to drive the switching device to be turned on or off.
[0050] See attached Figure 2 , Figure 2 is based on Figure 1 A schematic diagram of the composition structure of another electronic switch circuit proposed based on the electronic switch circuit of Figure 2 As shown, the electronic switch circuit 100 includes a power supply module 101 , a switch module 102 , a current detection module 103 , a current diagnosis module 104 , a switch driving module 105 , an undervoltage detection module 106 and an overtemperature diagnosis module 107 .
[0051] The power supply module 101 in this embodiment generally refers to an external power source, which can be used as a power source for realizing the entire function of the electronic switch circuit. Based on the electronic switch circuit of this application, when the power supply module 101 charges the load such as a battery, the power supply module 101 outputs current to the switch module 102.
[0052] The switch module 102 in this embodiment includes one or more switch devices (such as MOSFET) connected in parallel. Figure 3The figure shows a specific implementation circuit of the switch module 102 provided in an embodiment of the present application, which specifically adopts a switch circuit formed by four parallel MOSFETs (MOS tubes for short), namely Q shown in the figure. The source of each MOS tube in the circuit forms the input end of the switch module, and the input end is connected to the output end of the power supply module, namely VS shown in the figure. The drain of each MOS tube forms the output end of the switch module, which can be connected to the load, namely Load shown in the figure. The gate of each MOS tube forms the control end of the switch module, namely MOS Dirver shown in the figure.
[0053] The current detection module 103 in this embodiment can be configured as an operational amplifier circuit formed by multiple resistors, capacitors and operational amplifiers, wherein one resistor is configured as a voltage drop resistor, one end of which is connected to the output terminal VS of the power supply module, and the other end is connected to the load Load. The current flowing from the power supply module 101 to the load or the current flowing from the load to the power supply module 101 is converted into a voltage signal after passing through the operational amplifier circuit and output to the current diagnosis module 104. For example, Figure 4 The figure shows a specific implementation circuit of the current detection module 103 provided in the embodiment of the present application, wherein a resistor R connected to VS at one end and to Load at the other end plays a role of stepping down the voltage, so as to realize the generation of a voltage difference as the input of the operational amplifier COMP, and COMP is used to convert the current signal into a voltage signal and output it. It should be understood that the current direction can be determined according to the positive and negative values of the output voltage signal, for example, when the output voltage is positive, it indicates a forward current, and when the output voltage is negative, it indicates a reverse current.
[0054] The current diagnosis module 104 in this embodiment is used to diagnose the current output by the current detection module 103, and specifically includes a forward current diagnosis module 1041 and a reverse current diagnosis module 1042, wherein:
[0055] The forward current diagnostic module 1041 is used to compare the forward current value with a first threshold and a second threshold when obtaining the forward current value according to the electrical signal output by the current detection module 103, and to generate an enable control signal and output it to the switch driving module 105 when the forward current value is greater than the first threshold or greater than the first threshold and less than or equal to the second threshold; and to generate a disable control signal and output it to the switch driving module 105 when the forward current value is greater than the second threshold.
[0056] The reverse current diagnosis module 1042 is used to compare the reverse current value with the third threshold when obtaining the reverse current value according to the electrical signal output by the current detection module 103, and to generate an enable control signal and output it to the switch driving module 105 when the reverse current value is less than or equal to the third threshold; and to generate a disable control signal and output it to the switch driving module 105 when the reverse current value is greater than the third threshold.
[0057] The forward current diagnostic module 1041 in the implementation of the present application can be configured as a comparator circuit formed by multiple resistors and comparators, wherein the comparator is configured to diagnose the voltage difference between the voltage generated based on the forward current value (i_current) and the voltage generated by the first threshold (i1_set), and the voltage difference between the voltage generated based on the forward current value (i_current) and the voltage generated based on the second threshold (i2_set), and output a corresponding control signal according to the diagnosis result. For example, when i_current>i1_set, an enable control signal (Enable) is generated, and when i_current>i2_set, a disable control signal (Disable) is generated. In actual application scenarios, when i_current>i2_set, it indicates a forward short circuit situation, so a fault signal (Error) can also be output to the external controller at the same time. It should be understood that the number of resistors and comparators in the comparator circuit and the series-parallel connection relationship can be adaptively adjusted according to the actual application scenario to realize the function of the forward current diagnostic module. For example, as Figure 5 The figure shows a specific implementation circuit of the forward current diagnosis module 1041 provided in the embodiment of the present application, which specifically adopts two comparators COMP, for example, COMP adopts a LM2903 comparator. One comparator is used to compare the current input current with the first threshold value i1_set, and the other comparator is used to compare the current input current with the second threshold value i2_set. Figure 5 In the circuit shown, the control signal output by the forward current diagnostic module can be Enable, and / or Disable, and / or Error. For example, one COMP compares current>i1_set and outputs Enable, and the other COMP compares current>i2_set and outputs Disable, that is, the forward current diagnostic module will simultaneously output control signals Enable and Disable to the switch driving module.
[0058] The forward current diagnosis module 1041 in the implementation of the present application can also be configured as a comparator circuit formed by multiple resistors, operational amplifiers and comparators, wherein the operational amplifier is configured to diagnose the voltage difference between the voltage generated based on the forward current value (i_current) and the voltage generated by the first threshold value (i1_set), and the comparator is configured to diagnose the voltage difference between the voltage generated based on the output of the operational amplifier and the voltage generated based on the second threshold value (i2_set), and output a corresponding control signal according to the diagnosis result. For example, an enable control signal (Enable) is generated when i1_set<i_current≤i2_set, and a disable control signal (Disable) is generated when i_current>i2_set. In actual application scenarios, when i_current>i2_set, it indicates a forward short circuit situation, so a fault signal (Error) can also be output to the external controller at the same time. For example, Figure 6 The figure shows another specific implementation circuit of the forward current diagnostic module 1041 provided in the embodiment of the present application, which specifically adopts a comparator and an operational amplifier. For example, one COMP adopts a LM2903 comparator and the other COMP adopts a TLV9041-Q1 operational amplifier. The operational amplifier is used to compare the current input current with the first threshold value i1_set, and the comparator is used to further compare the output of the operational amplifier with the second threshold value i2_set. Figure 6 In the circuit shown, the control signal output by the forward current diagnostic module can be Enable, or Disable and / or Error. For example, the amplifier compares current>i1_set and outputs a voltage signal to the comparator. If the comparator compares current>i2_set based on the voltage signal, it outputs Disable, that is, the forward current diagnostic module will output the control signal Disable to the switch driving module. If the comparator compares i_current≤i2_set based on the voltage signal, it outputs Enable, that is, the forward current diagnostic module will output the control signal Enable to the switch driving module.
[0059] The reverse current diagnostic module 1042 in the implementation of the present application can be configured as a comparator circuit formed by multiple resistors and comparators, wherein the comparator is configured to diagnose the voltage difference between the voltage generated based on the reverse current value (i_current) and the voltage generated based on the third threshold value (i3_set), and output a corresponding control signal according to the diagnosis result. It should be noted that the reverse current value and the third threshold value here refer to the numerical values corresponding to the current magnitude obtained after determining that the current direction is reverse. For example, an enable control signal (Enable) is generated when i_current≤i3_set, and a disable control signal (Disable) is generated when i_current>i3_set. In actual application scenarios, when i_current>i3_set, it indicates a reverse short circuit situation, so a fault signal (Error) can also be output to the external controller at the same time. It should be understood that the number of resistors and comparators in the comparator circuit and the series-parallel connection relationship can be adaptively adjusted according to the actual application scenario to realize the function of the reverse current diagnostic module. Exemplary, such as Figure 7 The figure shows a specific implementation circuit of the reverse current diagnosis module 1042 provided in the embodiment of the present application, which specifically uses a comparator COMP to diagnose the current current and the third threshold. For example, COMP in the figure uses a LM2903 comparator. Figure 7 In the circuit shown, the control signal outputted can be Enable, Disable, or Disable and Error according to the diagnosis result.
[0060] The switch driving module 105 in this embodiment is used to drive the switch module 102 to turn on when receiving the enable control signal (Enable) output from the current diagnosis module 104, and drive the switch module 102 to turn off when receiving the disable control signal (Disable) output from the current diagnosis module 104, wherein the disable control signal has a higher priority than the enable control signal, that is, when the enable control signal and the disable control signal output from the current diagnosis module are received at the same time, the switch module 102 is driven to turn off. Exemplarily, as Figure 8As shown, it is a specific implementation circuit of the switch driving module 105 provided in an embodiment of the present application, which is specifically implemented by a boost circuit, namely a Boost circuit. As shown in the figure, the Boost circuit is powered by the output terminal VS of the power supply module. The signal lines of the Boost circuit, namely Enable and Disable as shown in the figure, are connected to the forward current diagnostic module 1041 and the reverse current diagnostic module 1042. The output of the Boost circuit is connected to the control terminal of the switch module 102, namely the MOS Dirver as shown in the figure, so as to realize the control of the switch module being turned on or off according to the control signal output by the current diagnostic module 104.
[0061] The undervoltage detection module 106 in this embodiment is connected to the power supply module 101 and is used to detect the power supply voltage provided by the power supply module 101 to the switch module 102, and output a fault signal when the power supply voltage is greater than a preset voltage value. Fig. 9 As shown, it is a specific implementation circuit of the undervoltage detection module 106 provided in an embodiment of the present application, wherein the inputs of the comparator COMP are respectively the supply voltage provided by the output terminal Vs of the power supply module and the preset voltage value Vs(UV). When the supply voltage is greater than the preset voltage value, the comparator compares and outputs a fault signal (Error) indicating undervoltage.
[0062] The over-temperature diagnosis module 107 in this embodiment is used to detect the operating temperature of the switch device in the electronic switch circuit. When the operating temperature exceeds a preset temperature value, the over-temperature diagnosis module 107 outputs a fault signal indicating that the temperature is too high. The over-temperature diagnosis module 107 can be configured as a comparator circuit formed by multiple resistors and comparators, wherein the multiple resistors include at least one thermistor (NTC). For example, Fig.10 As shown, it is a specific implementation circuit of the over-temperature diagnosis module 107 provided in the embodiment of the present application, wherein the input of the comparator COMP is respectively based on the voltage generated by the thermistor NTC and the voltage generated based on the preset temperature value (T_set), and the comparator compares to realize the monitoring of whether the operating temperature of the switch device in the electronic switch circuit exceeds the preset temperature value, and outputs a fault signal (Error) when the operating temperature is monitored to be too high. It should be understood that the over-temperature diagnosis module is electrically connected to the electronic switch circuit.
[0063] It should be understood that the settings of the various modules in the embodiments of the present application are only for illustrating the functional units of the circuits of the present application, and the physical devices corresponding to these modules may be the circuit itself, the electronic devices in the circuit, the processor itself, or a part of the software in the processor, a part of the hardware, or a part of the combination of software and hardware. Therefore, the number of the various modules in the figure is only schematic.
[0064] Those skilled in the art will appreciate that the various modules in the circuit may be adaptively split or merged. Such splitting or merging of specific modules will not cause the technical solution to deviate from the principle of the present application, and therefore, the technical solutions after splitting or merging will fall within the protection scope of the present application.
[0065] Another aspect of the present application further provides an electronic device, which includes a controller and an electronic switching circuit, wherein the electronic switching circuit may be a component structure of the electronic switching circuit described in any of the above embodiments of the present application, which will not be repeated here. For specific technical details not disclosed, please refer to the embodiments of the electronic switching circuit of the present application.
[0066] In one application scenario, the current detection module in the electronic switch circuit is also used to provide the detected current to the controller. In combination with the specific implementation circuit, the current detection module is connected to the controller and outputs an electrical signal to the controller. Accordingly, the controller monitors the current state of the electronic switch circuit based on the electrical signal output by the electronic switch circuit.
[0067] In one application scenario, the current diagnosis module in the electronic switch circuit is also used to output a fault signal to the controller when a short circuit is diagnosed. In combination with the specific implementation circuit, it can include a forward current diagnosis module outputting a fault signal indicating a forward short circuit to the controller, and / or a reverse current diagnosis module outputting a fault signal indicating a reverse short circuit to the controller. Furthermore, it can also include a temperature diagnosis module in the electronic switch circuit outputting a fault signal indicating that the temperature is too high to the controller, and / or an undervoltage detection module in the electronic switch circuit outputting a fault signal indicating undervoltage to the controller. Accordingly, when the controller is in a sleep state and the electronic switch circuit outputs a fault signal to the controller, the controller can be awakened based on the fault signal, thereby achieving the effect of reducing the power consumption of the device.
[0068] Another aspect of the present application provides a vehicle, comprising the electronic device in the above-mentioned embodiment of the present application.
[0069] So far, the technical solutions of the present application have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present application is obviously not limited to these specific embodiments. Without departing from the principles of the present application, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present application.
Claims
1. An electronic switching circuit, characterized in that: It includes a power supply module, a switch driving module, a switch module, a current detection module and a current diagnosis module; the power supply module is connected to the input end of the switch module, the output end of the switch module is connected to the load via the current detection module, the current detection module is connected to the switch driving module via the current diagnosis module, and the switch driving module is connected to the control end of the switch module; The power supply module is used to output current to the switch module; The current detection module is used to detect the magnitude and direction of the current flowing through the switch module, and output an electrical signal corresponding to the magnitude and direction of the current to the current diagnosis module; The current diagnosis module is used to determine the current current value based on the electrical signal output by the current detection module, compare the current current value with a preset threshold value and generate a control signal, and output the control signal to the switch driving module; The switch driving module is used to drive the switch module to turn on or off based on the acquired control signal; The switch module is used to switch on or off the current transmitted between the power supply module and the load under the drive of the switch driving module.
2. The electronic switch circuit according to claim 1, characterized in that: The current detection module is implemented using an operational amplifier circuit. The current flowing from the power supply module to the load or the current flowing from the load to the power supply module is converted into a voltage signal after passing through the operational amplifier circuit and output to the current diagnosis module.
3. The electronic switch circuit according to claim 1, characterized in that: The control signal includes an enable control signal and / or a disable control signal; The switch driving module is specifically used to drive the switch module to turn off when the acquired control signal includes the disable control signal; and to drive the switch module to turn on when the acquired control signal includes the enable control signal but does not include the disable control signal.
4. The electronic switch circuit according to claim 3, characterized in that: The current diagnosis module includes a forward current diagnosis module and a reverse current diagnosis module; the preset threshold includes a first threshold, a second threshold and a third threshold; The forward current diagnosis module is used to compare the forward current value with the first threshold value and the second threshold value when obtaining the forward current value according to the electrical signal output by the current detection module, and to generate an enable control signal and output it to the switch driving module when the forward current value is greater than the first threshold value or greater than the first threshold value and less than or equal to the second threshold value; and to generate a disable control signal and output it to the switch driving module when the forward current value is greater than the second threshold value; The reverse current diagnostic module is used to compare the reverse current value with the third threshold when obtaining the reverse current value according to the electrical signal output by the current detection module, and to generate an enable control signal and output it to the switch driving module when the reverse current value is less than or equal to the third threshold; and to generate a disable control signal and output it to the switch driving module when the reverse current value is greater than the third threshold.
5. The electronic switch circuit according to claim 4, characterized in that: The forward current diagnostic module is further configured to output a fault signal indicating a forward short circuit when it is determined that the forward current value is greater than the second threshold value; The reverse current diagnostic module is further configured to output a fault signal indicating a reverse short circuit when it is determined that the reverse current value is greater than the third threshold.
6. The electronic switch circuit according to claim 1, characterized in that: The electronic switch circuit also includes an undervoltage detection module connected to the power supply module; The undervoltage detection module is used to detect the supply voltage provided by the power supply module to the switch module, and output a fault signal indicating undervoltage when the supply voltage is greater than a preset voltage value.
7. The electronic switch circuit according to claim 1, characterized in that: The electronic switch circuit also includes an over-temperature diagnosis module; The over-temperature diagnosis module is used to monitor the operating temperature of the switch device in the electronic switch circuit. When the operating temperature exceeds a preset temperature value, the over-temperature diagnosis module outputs a fault signal indicating that the temperature is too high.
8. An electronic device, characterized in that: comprising a controller and the electronic switch circuit according to any one of claims 1 to 7; The controller monitors the current state of the electronic switch circuit based on the electrical signal output by the electronic switch circuit.
9. The electronic device according to claim 8, characterized in that: When the controller is in a sleep state and the electronic switch circuit outputs a fault signal to the controller, the controller is awakened.
10. A vehicle, characterized in that: The electronic device comprising claim 8 or 9.