Anomaly detection apparatus, method, intelligent electronic switch and electromechanical device

CN121454397BActive Publication Date: 2026-10-27WUXI WINSEMI MICROELECTRONICS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510962397.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-07-11
Publication Date
2026-10-27
Estimated Expiration
2045-07-11

AI Technical Summary

Technical Problem

[0005]本申请实施例所要解决的技术问题在于,针对现有技术的不足,提供一种异常检测装置、方法、智能电子开关、处理器和机电设备,用于解决处理器可能无法准确确定功率开关的工作状态,进而导致处理器控制出错的问题

Benefits of technology

[0037]在本申请的实施例中,异常检测装置包括智能电子开关和处理器,智能电子开关可以包括控制电路、电流处理电路和功率开关,电流处理电路在功率开关开启导通时采集功率开关的负载电流并输出第一电流至反馈端,此时,反馈端的电压为第一电压值,在第一电压值小于第一电压阈值时,电流处理电路还能够改变输出至反馈端的电流,处理器基于反馈端当前的第二电压值与第一电压阈值的大小关系判断第一电压值小于第一电压阈值的原因,例如,检测电阻短路异常、负载开路异常、第一电流小于预设电流阈值的其中之一,进一步的,处理器可以基于不同的原因发出不同的提醒信号,以告诉设备使用者去进行维护或者更换,有效避免了处理器可能错误控制而存在安全事故的问题。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121454397B_ABST
    Figure CN121454397B_ABST
Patent Text Reader

Abstract

The application provides an abnormality detection device, method, intelligent electronic switch and electromechanical equipment. The abnormality detection device comprises an intelligent electronic switch and a processor. The intelligent electronic switch comprises a control circuit, a current processing circuit and a power switch. The current processing circuit collects a load current of the power switch when the power switch is turned on and outputs a first current to a feedback end. At this time, the voltage of the feedback end is a first voltage value. When the first voltage value is less than a first voltage threshold, the current processing circuit can also change the current output to the feedback end. The processor determines the cause of the first voltage value being less than the first voltage threshold based on the size relationship between the current second voltage value of the feedback end and the first voltage threshold, thereby effectively avoiding the problem that the control logic of the processor may be incorrect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of semiconductor technology, and in particular to an anomaly detection device, method, intelligent electronic switch, and electromechanical equipment. Background Technology

[0002] In electromechanical equipment, a smart electronic switch is connected between the load and the power supply. It is used to connect or disconnect a load line. The smart electronic switch has one or more diagnostic capabilities and protection features, such as protection against over-temperature, overload, overcurrent and short-circuit events. It can disconnect the power switch in the smart electronic switch in the event of over-temperature, overload or short-circuit events, thereby disconnecting the path between the power supply and the load.

[0003] In existing technologies, intelligent electronic switches may further include a current sampling unit and a feedback terminal. The current sampling unit is used to collect the load current of the intelligent electronic switch (i.e., the current flowing through the power switch) and output the sampled current corresponding to the load current to the feedback terminal. The feedback terminal is also used to connect a sensing resistor and a processor. In this way, the processor can calculate the load current of the intelligent electronic switch based on the voltage at the feedback terminal and perform reasonable control of the power switch based on the load current. Typically, when the sampling ratio and sensing resistor remain constant, the larger the load current of the intelligent electronic switch, the larger the sampled current and the larger the voltage at the feedback terminal.

[0004] However, in certain situations, such as when the load current of the smart electronic switch is very small, or when the sensing resistor is short-circuited, or when the load is open-circuited, even if the power switch is in the on state, the voltage at the feedback terminal will be very small or non-existent. This will result in the processor calculating a very small load current, which may cause the operating state of the power switch determined by the processor to be inconsistent with the actual operating state of the power switch, and may lead to processor control errors. Summary of the Invention

[0005] The technical problem to be solved by the embodiments of this application is to provide an anomaly detection device, method, intelligent electronic switch, processor and electromechanical equipment to address the shortcomings of the prior art, thereby solving the problem that the processor may be unable to accurately determine the working state of the power switch, which leads to processor control errors.

[0006] To address the aforementioned technical problems, the first aspect of this application provides an anomaly detection device, comprising an intelligent electronic switch and a processor. The intelligent electronic switch includes a load output terminal, a feedback terminal, a control circuit, a current processing circuit, and a power switch. The feedback terminal is connected to the processor and the current processing circuit. The feedback terminal is also used to connect to the power supply ground terminal through a detection resistor. The load output terminal is used to connect to a load.

[0007] The power switch has a first terminal connected to the power supply terminal or the power ground terminal, a second terminal connected to the load output terminal, and a control terminal connected to the control circuit. The control circuit is used to control the power switch to turn on or off. The current processing circuit is used to collect the load current of the power switch when the power switch is turned on and output a first current to the feedback terminal. At this time, the voltage of the feedback terminal is a first voltage value.

[0008] When the first voltage value is less than the first voltage threshold, the current processing circuit is also used to change the current output to the feedback terminal. The processor determines the reason why the first voltage value is less than the first voltage threshold based on the relationship between the current second voltage value of the feedback terminal and the first voltage threshold.

[0009] Optionally, the reasons for the first voltage value being less than the first voltage threshold include one of the following: abnormal short circuit of the detection resistor, abnormal open circuit of the load, or the first current being less than a preset current threshold, wherein the preset current threshold is equal to the quotient of the first voltage threshold divided by the detection resistor.

[0010] Optionally, the current processing circuit includes a first current sampling unit and a current compensation unit. The first current sampling unit is used to collect the load current of the power switch when the power switch is turned on and output a first current to the feedback terminal. The current compensation unit is used to output a compensation current to the feedback terminal during operation to change the current output to the feedback terminal. The compensation current is greater than a preset current threshold.

[0011] Optionally, the current compensation unit is triggered to start working when the first voltage value is less than the first voltage threshold and the power switch is in the on state. At this time, the current output to the feedback terminal is changed to the sum of the first current and the compensation current.

[0012] When the second voltage value is less than the first voltage threshold, the processor determines that the reason the first voltage value is less than the first voltage threshold is an abnormal short circuit in the detection resistor; or, when the second voltage value is greater than or equal to the first voltage threshold, the current compensation unit is triggered to stop working and the processor outputs a shutdown control signal. The control circuit controls the power switch to turn off based on the shutdown control signal and performs load open circuit detection and outputs a load open circuit detection result signal through the feedback terminal. When the load open circuit detection result signal is a fault high-level signal, the processor determines that the reason the first voltage value is less than the first voltage threshold is an abnormal load open circuit; or, when the load open circuit detection result signal is a low-level signal, the processor determines that the reason the first voltage value is less than the first voltage threshold is that the first current is less than a preset current threshold.

[0013] Optionally, the control circuit is also connected to the feedback terminal and the current compensation unit respectively. When the first voltage value detected at the feedback terminal is less than the first voltage threshold, the control circuit outputs an enable control signal to trigger the current compensation unit to start working. If the current second voltage value detected at the feedback terminal is greater than or equal to the first voltage threshold and a shutdown control signal is received, the control circuit controls the power switch to turn off and stops outputting the enable control signal to trigger the current compensation unit to stop working; or...

[0014] When the processor detects that the first voltage value at the feedback terminal is less than the first voltage threshold, the processor outputs an enable control signal to start the current compensation unit. Subsequently, if the processor detects that the voltage value at the feedback terminal is greater than or equal to the first voltage threshold, the processor outputs a shutdown control signal to control the power switch to turn off and stops outputting the enable control signal to trigger the current compensation unit to stop working.

[0015] Optionally, when the first voltage value is less than the first voltage threshold, the processor outputs a shutdown control signal. The control circuit controls the power switch to shut down based on the shutdown control signal and performs load open circuit detection, and outputs a load open circuit detection result signal through the feedback terminal. When the load open circuit detection result signal is a fault signal, the processor determines that the reason the first voltage value is less than the first voltage threshold is a load open circuit abnormality. Alternatively, when the load open circuit detection result signal is a low-level signal, the processor outputs an enable control signal to enable the current compensation unit to start working. At this time, the current output to the feedback terminal is the compensation current. The processor obtains the current second voltage value of the feedback terminal. When the second voltage value is greater than or equal to the first voltage threshold, the processor determines that the reason the first voltage value is less than the first voltage threshold is that the first current is less than a preset current threshold. Alternatively, when the second voltage value is less than the first voltage threshold, the processor determines that the reason the first voltage value is less than the first voltage threshold is a short circuit abnormality of the detection resistor.

[0016] Optionally, when the first voltage value is less than the first voltage threshold, the processor outputs a shutdown control signal to cause the control circuit to control the power switch to turn off. After the power switch is turned off, the control circuit controls the current compensation unit to work for a first preset time and then stops working. After the current compensation unit stops working, the control circuit performs load open circuit detection and outputs the load open circuit detection result signal through the feedback terminal.

[0017] Within a first preset time period after outputting the shutdown control signal, the processor acquires the current second voltage value of the feedback terminal. If the second voltage value is less than a first voltage threshold, the processor determines that the reason the first voltage value is less than the first voltage threshold is an abnormal short circuit in the detection resistor. Alternatively, if the second voltage value is greater than or equal to the first voltage threshold, the processor acquires a load open-circuit detection result signal through the feedback terminal after the first preset time period after outputting the shutdown control signal. When the load open-circuit detection result signal is a fault high-level signal, the processor determines that the reason the first voltage value is less than the first voltage threshold is an abnormal load open circuit. Alternatively, when the load open-circuit detection result signal is a low-level signal, the processor determines that the reason the first voltage value is less than the first voltage threshold is that the first current is less than a preset current threshold.

[0018] Optionally, the current processing circuit includes a first current sampling unit and a second current sampling unit. The first current sampling unit is used to collect the load current of the power switch at a first sampling ratio and output a first current to the feedback terminal when the power switch is turned on.

[0019] When the first voltage value is less than the first voltage threshold, the first current sampling unit is controlled to stop working, and the second current sampling unit is triggered to start working, so that the second current acquisition unit acquires the load current of the power switch at a second sampling ratio and outputs a second current to the feedback terminal, wherein the second current is greater than the first current.

[0020] When the second voltage value is greater than or equal to the first voltage threshold, the processor determines that the reason the first voltage value is less than the first voltage threshold is that the first current is less than a preset current threshold; or, when the second voltage value is less than the first voltage threshold, the processor is further configured to output a shutdown control signal to enable the control circuit to control the power switch to shut down and perform load open circuit detection, and output a load open circuit detection result signal through the feedback terminal. When the load open circuit detection result signal is a fault high-level signal, the processor determines that the reason the first voltage value is less than the first voltage threshold is that the load open circuit is abnormal; or, when the load open circuit detection result signal is a low-level signal, the processor determines that the reason the first voltage value is less than the first voltage threshold is that the detection resistor is short-circuited abnormal.

[0021] A second aspect of this application provides an intelligent electronic switch, including a load output terminal, a feedback terminal, a control circuit, a current processing circuit, and a power switch. The feedback terminal is connected to the current processing circuit, and is also used to connect to the processor and to the power supply ground terminal through a detection resistor. The load output terminal is used to connect to a load.

[0022] The power switch has a first terminal connected to the power supply terminal or the power ground terminal, a second terminal connected to the load output terminal, and a control terminal connected to the control circuit. The control circuit is used to control the power switch to turn on or off. The current processing circuit is used to collect the load current of the power switch when the power switch is turned on and output a first current to the feedback terminal. At this time, the voltage of the feedback terminal is a first voltage value.

[0023] When the first voltage value is less than the first voltage threshold, the current processing circuit is also used to change the current at the feedback terminal. At this time, the voltage at the feedback terminal is a second voltage value, which is used by the processor to determine the reason why the first voltage value is less than the first voltage threshold.

[0024] Optionally, the reasons why the first voltage value is less than the first voltage threshold include one of the following: the detection resistor is short-circuited abnormally, the load is open-circuited abnormally, or the first current is less than a preset current threshold. The preset current threshold is equal to the first voltage threshold divided by the quotient of the detection resistor.

[0025] Optionally, the current processing circuit includes a first current sampling unit and a current compensation unit. The first current sampling unit is used to collect the load current of the power switch when the power switch is turned on and output a first current to the feedback terminal. The current compensation unit is used to output a compensation current to the feedback terminal during operation to change the current output to the feedback terminal. The compensation current is greater than a preset current threshold.

[0026] The current processing circuit includes a first current sampling unit and a second current sampling unit. The first current sampling unit is used to sample the load current of the power switch at a first sampling ratio and output a first current to the feedback terminal when the power switch is turned on. When the first voltage value is less than a first voltage threshold, the first current sampling unit is controlled to stop working, and the second current sampling unit is triggered to start working. When the power switch is turned on, the second current sampling unit samples the load current of the power switch at a second sampling ratio and outputs a second current to the feedback terminal.

[0027] Optionally, the control circuit is also connected to the feedback terminal and the current processing circuit, respectively. When the power switch is in the on / off state and the first voltage value at the feedback terminal is less than a first voltage threshold, the control circuit outputs an enable control signal to change the current output to the feedback terminal through the current processing circuit; or

[0028] The intelligent electronic switch further includes a first communication terminal, which is connected to the current processing circuit and the processor. When the current processing circuit receives an enable control signal at the first communication terminal, it changes the current output to the feedback terminal. The enable control signal is output by the processor when it detects that the first voltage value at the feedback terminal is less than a first voltage threshold.

[0029] A third aspect of this application provides an integrated circuit chip, including the smart electronic switch described in the second aspect.

[0030] A fourth aspect of this application provides a chip product including a smart electronic switch as described in the second aspect, wherein the control circuit is located on a first integrated circuit chip and the power switch is located on a second integrated circuit chip.

[0031] The fifth aspect of this application provides an anomaly detection method, including:

[0032] The processor sends an on / off control signal to the intelligent electronic switch;

[0033] The intelligent electronic switch controls the power switch to turn on based on the turn-on control signal, and uses the current processing circuit to collect the load current of the power switch and outputs a first current to the feedback terminal. At this time, the voltage at the feedback terminal is the first voltage value.

[0034] When the first voltage value is less than the first voltage threshold, the current processing circuit changes the current output to the feedback terminal;

[0035] The processor obtains the current second voltage value of the feedback terminal and determines the reason why the first voltage value is less than the first voltage threshold based on the relationship between the second voltage value and the first voltage threshold.

[0036] A sixth aspect of this application provides an electromechanical device, including an anomaly detection device, a power supply, and a load as described in the first aspect, wherein the positive terminal of the power supply is connected to the power supply terminal, the negative terminal of the power supply is connected to the power supply ground terminal, one end of the load is connected to the load output terminal of an intelligent electronic switch, and the other end of the load is connected to the power supply ground terminal or the power supply terminal.

[0037] In the embodiments of this application, the anomaly detection device includes an intelligent electronic switch and a processor. The intelligent electronic switch may include a control circuit, a current processing circuit, and a power switch. When the power switch is turned on, the current processing circuit collects the load current of the power switch and outputs a first current to the feedback terminal. At this time, the voltage at the feedback terminal is a first voltage value. When the first voltage value is less than a first voltage threshold, the current processing circuit can also change the current output to the feedback terminal. The processor determines the reason why the first voltage value is less than the first voltage threshold based on the relationship between the current second voltage value at the feedback terminal and the first voltage threshold. For example, it may detect a short circuit in the detection resistor, an open circuit in the load, or the first current being less than a preset current threshold. Furthermore, the processor can issue different reminder signals based on different reasons to inform the device user to perform maintenance or replacement, effectively avoiding the problem of safety accidents caused by possible erroneous control of the processor. Attached Figure Description

[0038] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0039] Figure 1a This is a circuit module diagram of an electromechanical device provided in the first embodiment of this application;

[0040] Figure 1b This is another circuit module diagram of the electromechanical equipment provided in the first embodiment of this application;

[0041] Figure 2 This is a schematic diagram of the circuit module of the anomaly detection device provided in the first embodiment of this application;

[0042] Figure 3a and Figure 3b yes Figure 2 The diagram shows two circuit principle schematics of the anomaly detection device.

[0043] Figure 4 yes Figure 2 The circuit module diagram shown corresponds to a schematic diagram of an anomaly detection result.

[0044] Figure 5 yes Figure 2 The circuit module diagram shown corresponds to another abnormal detection result diagram.

[0045] Figure 6 yes Figure 2 The circuit module diagram shown corresponds to another type of anomaly detection result.

[0046] Figure 7 This is a schematic diagram of the circuit module of the anomaly detection device provided in the second embodiment of this application;

[0047] Figure 8 yes Figure 7 The circuit diagram of the anomaly detection device shown is shown.

[0048] Figure 9 yes Figure 7 The circuit module diagram shown corresponds to a schematic diagram of an anomaly detection result.

[0049] Figure 10 This is an interactive schematic diagram of the anomaly detection method provided in the embodiments of this application. Detailed Implementation

[0050] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0051] The terms "comprising" and "having," and any variations thereof, appearing in this application specification, claims, and drawings, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or modules is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or devices. Furthermore, the terms "first," "second," and "third," etc., are used to distinguish different objects and are not used to describe a specific order. Connections in this application include direct connections and indirect connections. An indirect connection refers to the presence of other electronic components, pins, etc., between the two connected components. The term "XX terminal" mentioned in this application may or may not be an actual terminal, such as simply one end of a component or one end of a wire. The term "and / or includes three cases" mentioned in this application, such as A and / or B, includes A, B, and A and B.

[0052] First Embodiment

[0053] This application provides an electromechanical device. Figure 1a This is a circuit module diagram of an electromechanical device provided in the first embodiment of this application; Figure 1b This is another circuit module diagram of the electromechanical equipment provided in the first embodiment of this application. Please refer to... Figure 1a and Figure 1bThe electromechanical equipment includes a power supply 10, a load 20, an intelligent electronic switch 30 (shown in the dashed box in the figure), and a processor 40 (shown in the solid box in the figure). The power supply 10 is generally a battery, typically a rechargeable battery, providing voltages such as 12V, 24V, 36V, 48V, and 60V. Other types of batteries or power supplies can also be used, such as AC / DC converters or DC / DC converters. The load 20 includes at least one of resistive, inductive, and capacitive loads. For example, in the case of an automobile, resistive loads include seat adjustment devices, auxiliary heating devices, window heating devices, light-emitting diodes (LEDs), rear lighting, or other resistive loads. Inductive loads include pumps, actuators, motors, anti-lock braking systems (ABS), electronic braking systems (EBS), fans, or other systems that include inductive loads for one or more wiper systems. Capacitive loads include lighting elements such as xenon arc lamps. In the illustration, load 20 is shown as a single element for illustrative purposes only. Load 20 is typically a more complex load, such as a module or subsystem with numerous components. Processor 40 is connected to intelligent electronic switch 30 for controlling intelligent electronic switch 30. Simultaneously, intelligent electronic switch 30 feeds back its status and relevant parameter information to processor 40, such as diagnostic parameters, current parameters, voltage parameters, etc., for processor 40 to process. Processor 40 includes one or more microprocessors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or any other equivalent integrated or discrete logic circuits, and any combination of these components.

[0054] In this embodiment, the intelligent electronic switch 30 includes a power supply terminal VCC, a power ground terminal GND, and a load output terminal OUT. The power supply terminal VCC is connected to the positive terminal of the power supply 10 via a fuse 50, and the power ground terminal GND is connected to the negative terminal of the power supply 10. In this embodiment, a reverse polarity protection diode D4 and a current-limiting resistor R1 are connected in parallel between the power ground terminal GND and the negative terminal of the power supply 10. The load output terminal OUT is connected to one end of the load 20, and the other end of the load 20 is connected to either the negative or positive terminal of the power supply 10. (Refer to...) Figure 1a As shown. Additionally, in other embodiments of this application, the reverse connection protection diode D4 and / or current-limiting resistor R1 may not be provided between the power supply ground terminal GND and the negative terminal of power supply 10, such as... Figure 1b As shown.

[0055] In this embodiment, refer to Figure 1a and Figure 1bAs shown, the intelligent electronic switch 30 also includes an input terminal Input, a power switch M0, a control circuit 31, and a feedback terminal IS. Both the input terminal Input and the feedback terminal IS are connected to the processor 40. The input terminal Input is also connected to the control circuit 31, which is also connected to the control terminal (gate) of the power switch M0. The first terminal of the power switch M0 is connected to the power supply terminal VCC or the power ground terminal GND, and its second terminal is connected in series with the load 20 via the load output terminal OUT. In the figure, the first terminal of the power switch M0 is the source and its second terminal is the drain, but this application is not limited to this. In other embodiments of this application, the first terminal of the power switch M0 is the drain and its second terminal is the source.

[0056] exist Figure 1a In this configuration, power switch M0 is connected as a high-side switch, which connects the power supply terminal VCC to the load 20. One end of power switch M0 is connected to the load output terminal OUT, and the other end is connected to the power supply terminal VCC. However, this application is not limited to this; please refer to other embodiments of this application. Figure 1b Power switch M0 is connected as a low-side switch, which is a switch connected between load 20 and power supply ground GND. At this time, one end of power switch M0 is connected to power supply ground GND, and the other end of power switch M0 is connected to load output OUT.

[0057] In this embodiment, the power switch M0 is an NMOS transistor, PMOS transistor, junction FET, etc. The illustration uses an NMOS transistor as an example. The power switch M0 can be implemented as a silicon device, or it can be implemented using other semiconductor materials, such as silicon carbide (SiC), gallium arsenide (GaAs), or gallium nitride (GaN). The power switch M0 can also be an LDMOS (Lateral Double-Diffused Metal Oxide Semiconductor FET) or a VDMOS (Vertical Double-Diffused MOSFET), etc.

[0058] Optionally, the control circuit 31 is used to control whether the power switch M0 is turned on or off based on the switch control signal received at the input terminal. For example, it controls the power switch M0 to turn on when it receives an on control signal, and controls the power switch M0 to turn off when it receives an off control signal. Furthermore, refer to... Figure 1a and Figure 1bAs shown, the feedback terminal IS is also used to connect to ground potential through the sensing resistor Rcs. Therefore, the smart electronic switch 30 can also feed back its status and related parameter information to the processor 40 through the feedback terminal IS, thereby converting the related parameter information into voltage information through the sensing resistor Rcs for the processor 40 to acquire. For example, when the power switch M0 is turned on, the feedback terminal IS can feed back monitoring information of the smart electronic switch 30 (e.g., current information, temperature information, fault information, etc.) to the processor 40. When the power switch M0 is turned off, the feedback terminal IS can feed back the load open circuit detection result signal of the smart electronic switch 30. Accordingly, the processor 40 can determine the status of the smart electronic switch 30 based on the information received through the feedback terminal IS and accurately control the smart electronic switch 30.

[0059] For example, when the processor 40 sends an ON control signal to the input terminal of the intelligent electronic switch 30, the intelligent electronic switch 30 will control the power switch M0 to turn on according to the ON control signal. Under normal circumstances, the intelligent electronic switch 30 can collect the current (load current) flowing through the power switch M0 and output a first current Ics1 to the feedback terminal IS. Since the feedback terminal IS is connected to a detection resistor Rcs, the processor 40 can calculate the load current of the intelligent electronic switch 30 based on the voltage value of the feedback terminal IS, thereby being able to understand the working status of the intelligent electronic switch 30 in a timely manner.

[0060] However, the inventors of this application discovered during the application of electromechanical equipment (including intelligent electronic switch 30 and processor 40) that after processor 40 sends an on control signal to intelligent electronic switch 30, it may detect that the voltage of feedback terminal IS is lower than the first voltage threshold V0. For example, the voltage of feedback terminal IS is 0. This phenomenon may be caused by at least one of the following reasons: the load current of power switch M0 is inherently very small (the first current sampled from the load current is less than the preset current threshold, resulting in the product of the first current and the detection resistor Rcs being less than the first voltage threshold V0); an abnormal open circuit in the load (due to the abnormal open circuit in the load, the load current of power switch M0 is 0, resulting in the current output to feedback terminal IS being 0, and correspondingly, the voltage of feedback terminal IS is less than the first voltage threshold V0); or an abnormal short circuit in the detection resistor (a short circuit in the detection resistor will cause feedback terminal IS to actually be connected to ground potential, at which point regardless of the magnitude of the current output from intelligent electronic switch 30 to feedback terminal IS, the voltage of feedback terminal IS will be less than the first voltage threshold V0). Therefore, processor 40 cannot distinguish the actual reason why the first voltage value of feedback terminal IS is less than the first voltage threshold V0, which may lead to control errors. To address this issue, when the first voltage value V1 of the feedback terminal IS is less than the first voltage threshold Vref, the intelligent electronic switch 30 can change the current output to the feedback terminal IS through the current processing circuit. Then, based on the relationship between the current second voltage value V2 of the feedback terminal IS and the first voltage threshold V0, the reason why the first voltage value V1 is less than the first voltage threshold V0 can be determined.

[0061] Specifically, this application provides an anomaly detection device, referring to... Figure 1a , Figure 1b As shown, the anomaly detection device provided in this application embodiment may include the processor 40 and the intelligent electronic switch 30 described above. The intelligent electronic switch 30 also includes a current processing circuit 32 connected to the feedback terminal IS. This current processing circuit 32 can collect the load current IL of the power switch M0 when it is turned on and output a first current to the feedback terminal IS. At this time, the voltage at the feedback terminal IS is a first voltage value V1. The first current is the sampling current of the power switch M0, which may be equal to the load current IL or a current value collected according to a preset sampling ratio; this application embodiment does not limit this. In this embodiment, when the first voltage value V1 is less than the first voltage threshold V0, the current processing circuit 32 is also used to change the current output to the feedback terminal IS. The processor 40 determines the reason why the first voltage value V1 is less than the first voltage threshold V0 based on the relationship between the current second voltage value V2 of the feedback terminal IS and the first voltage threshold V0.

[0062] In this embodiment, the current processing circuit 32 has a current sampling function. When the power switch M0 is in the on / off state, it can collect the current value flowing through the power switch M0 and output the sampled first current Ics1 to the feedback terminal IS. Under the action of the sensing resistor Rcs, the voltage at the feedback terminal IS is the first voltage value V1. Normally, when the sensing resistor Rcs and the load are properly connected, the first voltage value V1 is equal to the product of the first current Ics1 and the sensing resistor Rcs. Therefore, if the first voltage value V1 is less than the first voltage threshold V0, the first current Ics1 may be less than a preset current threshold.

[0063] During normal operation of the intelligent electronic switch 30, if the connection between the load and the intelligent electronic switch 30 becomes open due to external factors such as vibration, the current flowing through the power switch M0 will be very small or nonexistent. Consequently, the first current Ics1 output to the feedback terminal IS will be very small or nonexistent, which will also cause the first voltage value V1 of the feedback terminal IS to be less than the first voltage threshold V0. Furthermore, when the power switch M0 is in the on / off state, the first current Ics1 output by the intelligent electronic switch 30 to the feedback terminal IS is greater than the preset current threshold. However, if a short circuit occurs in the detection resistor, it is equivalent to the feedback terminal IS being directly connected to ground potential, which will also cause the first voltage value V1 of the feedback terminal IS to be less than the first voltage threshold V0. In order to distinguish the different reasons for the first voltage value V1 being less than the first voltage threshold V0, in this embodiment, the current processing circuit 32 also has the following function: when the first voltage value V1 is less than the first voltage threshold V0, the current processing circuit 32 can change the current output to the feedback terminal IS. Correspondingly, the processor 40 can determine the reason why the first voltage value V1 is less than the first voltage threshold V0 based on the relationship between the current second voltage value V2 and the first voltage threshold V0 of the feedback terminal IS.

[0064] As can be seen from the above analysis, the reasons why the first voltage value V1 is less than the first voltage threshold V0 include one of the following: abnormal short circuit of the detection resistor, abnormal open circuit of the load, or the first current Ics1 being less than the preset current threshold. The preset current threshold is equal to the quotient of the first voltage threshold V0 divided by the detection resistor Rcs.

[0065] Optionally, in order to address the problem that the processor 40 does not know why the first voltage value V1 is less than the first voltage threshold V0, the following embodiments illustrate the technical solution of this application based on the power switch M0 shown in FIG1 being connected as a high-side switch. Figure 2 This is a schematic diagram of the circuit module of the anomaly detection device provided in the first embodiment of this application. (Refer to...) Figure 1a , Figure 1b and Figure 2As shown, the current processing circuit 32 may include a first current sampling unit 321 and a current compensation unit 322. The first current sampling unit 321 is used to collect the load current IL of the power switch M0 when the power switch M0 is turned on and output a first current Ics1 to the feedback terminal IS. The current compensation unit 322 is used to output a compensation current Ib to the feedback terminal IS during operation to change the current output to the feedback terminal IS. The compensation current Ib is greater than a preset current threshold.

[0066] For example, Figure 3a and Figure 3b yes Figure 2 The diagram shows two circuit schematics of the anomaly detection device. (Refer to...) Figure 2 , Figure 3a and Figure 3b As shown, in this embodiment, the first current sampling unit 321 may include a first sensing transistor M1, a first operational amplifier unit Y1, and a first switching transistor P1. The drain of the first sensing transistor M1 is connected to the drain of the power switch M0 and both are connected to the power supply terminal VCC. The source of the first sensing transistor M1 is connected to the non-inverting terminal of the first operational amplifier unit Y1 and the source of the first switching transistor P1, respectively. The control terminal (gate) of the first sensing transistor M1 and the control terminal of the power switch M0 are both connected to the control circuit 31. The inverting terminal of the first operational amplifier unit Y1 is also connected to the load output terminal OUT (the source of the power switch M0), and its output terminal is connected to the feedback terminal IS. When the power switch M0 is turned off, the first sensing transistor M1 is also turned off. At this time, the first switching transistor P1 is also turned off, and no current is output to the feedback terminal IS. When the control circuit 31 controls the power switch M0 and the first sensing transistor M1 to turn on, the voltage at the non-inverting input of the first operational amplifier unit Y1 is less than the voltage at the inverting input. Therefore, the first operational amplifier unit Y1 outputs a low level, the first switching transistor P1 turns on, and the first sensing transistor M1 outputs the sensed first current Ics1 through the first switching transistor P1. In other embodiments, the first current sampling unit 321 may specifically include a sampling resistor connected in series in the branch where the power switch M0 is located. In this case, the current flowing through the sampling resistor is the same as the current flowing through the power switch M0. Therefore, by detecting the current flowing through the sampling resistor, the current flowing through the power switch M0 can be determined. In practical applications, the first current sampling unit 321 can also be implemented using other structures. For example, based on the principle that current generates a magnetic field, a magnetic field sensor can be used to measure the current flowing through the power switch M0.

[0067] Continue to refer to Figure 2 , Figure 3a and Figure 3bAs shown, in this embodiment, the current compensation unit 322 is connected between the power supply terminal VCC and the feedback terminal IS. It starts working and outputs the compensation current Ib to the feedback terminal IS when the enable terminal receives the enable control signal EN.

[0068] As an example, in Figure 3a In this embodiment, the current compensation unit 322 includes a compensation control switch K0 and a first element connected in series. The first element can be a current source, a resistor, or other components. In this embodiment, the first element is exemplarily described as a current source IS0. In this embodiment, the first terminal of the current source IS0 is connected to the power supply terminal VCC, and its second terminal is connected to the first terminal of the compensation control switch K0. The second terminal of the compensation control switch K0 is connected to the feedback terminal IS. Alternatively, the positions of the compensation control switch K0 and the current source IS0 can be reversed, with the first terminal of the compensation control switch K0 connected to the power supply terminal VCC, its second terminal connected to the first terminal of the current source IS0, and the second terminal of the current source IS0 connected to the feedback terminal IS.

[0069] In the embodiments of this application, the control terminal of the compensation control switch K0 is the enable terminal of the current compensation unit 322. Specifically, when the first voltage value V1 of the feedback terminal IS is less than the first voltage threshold V0, the control terminal of the compensation control switch K0 can receive the enable control signal EN from the control circuit 31 or from the processor 40, so that the compensation control switch K0 is turned on and the current compensation unit 322 is triggered to start working. The current branch where the current compensation unit 322 is located is turned on, and the current output by the current source IS0 is output to the feedback terminal IS as the compensation current Ib. Therefore, in the embodiments of this application, the compensation current Ib and the first current Ics1 are superimposed and output to the feedback terminal IS.

[0070] As another example, the implementation of the current compensation unit 322 is consistent with the implementation of the first current sampling unit 321. For example... Figure 3bAs shown, the current compensation unit 322 may include a second sensing transistor M2, a second operational amplifier unit Y2, and a second switching transistor P2. The drain of the second sensing transistor M2 is connected to the drain of the power switch M0 and is also connected to the power supply terminal VCC. The source of the second sensing transistor M2 is connected to the non-inverting input of the second operational amplifier unit Y2 and the source of the second switching transistor P2, respectively. The control terminal (gate) of the second sensing transistor M2 and the control terminal of the power switch M0 are both connected to the control circuit 31. The inverting input of the second operational amplifier unit Y2 is also connected to the load output terminal OUT (the source of the power switch M0), and its output terminal is connected to the feedback terminal IS. When the power switch M0 is off, the current compensation unit 322 has no current output to the feedback terminal IS. When the control circuit 31 controls the power switch M0 to turn on, both the first sensing transistor M1 and the second sensing transistor M2 are turned on, as are the first switching transistor P1 and the second switching transistor P2. The first sensing transistor M1 outputs the sensed first current Ics1 through the first switching transistor P1, and the second sensing transistor M2 outputs the sensed current (i.e., the compensation current Ib) through the second switching transistor P2. At this time, the current output to the feedback terminal IS is the sum of the first current Ics1 and the compensation current Ib. It can be understood that in this possible design, since the compensation current Ib is the sampling current of the power switch M0, the current compensation unit 322 can only be used when the power switch M0 is in the on-state.

[0071] In the embodiments of this application, the current compensation unit 322 can be triggered to operate by either the control circuit 31 or the processor 40. In one possible implementation, refer to... Figure 3a As shown, the control circuit 31 is also connected to the feedback terminal IS and the current compensation unit 322 respectively. When the first voltage value V1 of the feedback terminal IS is detected to be less than the first voltage threshold V0, the control circuit 31 outputs an enable control signal EN to trigger the current compensation unit 322 to start working, that is, the compensation control switch K0 is turned on. If the current second voltage value V2 of the feedback terminal IS is detected to be greater than or equal to the first voltage threshold V0 and the shutdown control signal OFF is received, the control circuit 31 controls the power switch M0 to turn off and stops outputting the enable control signal to trigger the current compensation unit 322 to stop working.

[0072] In another possible implementation, continue to refer to Figure 3bAs shown, the intelligent electronic switch 30 may further include a first communication terminal SP1, which is used to connect the processor 40 and the current compensation unit 322. For example, the first communication terminal SP1 is connected to the enable terminal of the compensation control switch K0. When the first voltage value V1 of the feedback terminal IS is detected to be less than the first voltage threshold V0, the processor 40 outputs an enable control signal EN. The enable control signal EN causes the compensation control switch K0 to turn on, thereby triggering the current compensation unit 322 to start working. Subsequently, if the first voltage value V1 of the feedback terminal IS is detected to be greater than or equal to the first voltage threshold V0, the processor 40 outputs a turn-off control signal OFF to control the power switch M0 to turn off and stop outputting the enable control signal EN to trigger the current compensation unit 322 to stop working.

[0073] It is understood that the first communication terminal SPI1 can be a newly added terminal of the smart electronic switch, or it can reuse the original terminal of the smart electronic switch 30. Furthermore, the first communication terminal SP1 can be a unidirectional communication terminal or a bidirectional communication terminal; this application does not impose any limitations on this. Figure 3b In the scheme where the control circuit 31 controls whether the current compensation unit 322 works, it is similar. Figure 3a The scheme in which the processor 40 controls whether the current compensation unit 322 works is similar, and will not be described in detail here.

[0074] In this embodiment, since an open-circuit fault in the load may cause the first voltage value V1 to be less than the first voltage threshold V0 when the power switch M0 is turned on, it is also necessary to turn off the power switch M0 to perform open-circuit detection when determining the cause of the first voltage value V1 being less than the first voltage threshold V0. Therefore, in this embodiment, referring to... Figure 2 , Figure 3a and Figure 3bAs shown, the intelligent electronic switch 30 also includes a load open-circuit detection circuit 33. When the power switch M0 is connected as a high-side switch, the load open-circuit detection unit 33 includes a pull-up resistor Rp and a pull-up switch Kp connected in series between the power supply terminal VCC and the load output terminal OUT, and a first voltage comparison unit CP1 connected to the load output terminal OUT and the feedback terminal IS, respectively. Specifically, the load output terminal OUT is connected to the non-inverting terminal of the first voltage comparison unit CP1, and the inverting terminal of the first voltage comparison unit CP1 is used to connect to a preset reference voltage Vref. The first voltage comparison unit CP1 can output a fault signal or a low-level signal according to the relationship between the voltage of the load output terminal OUT received by the non-inverting terminal and the reference voltage Vref. In this embodiment, the first end of the pull-up switch Kp is connected to the power supply terminal VCC, and the other end is connected to the first end of the pull-up resistor Rp. The second end of the pull-up resistor Rp is connected to the load output terminal OUT. Alternatively, the positions of the pull-up resistor Rp and the pull-up switch Kp can be reversed, with the first end of the pull-up resistor Rp connected to the power supply terminal VCC and the second end of the pull-up switch Kp connected to the load output terminal OUT. It is understood that in other embodiments of this application, the load open-circuit detection unit 33 may not include the pull-up switch Kp. In this case, the pull-up resistor Rp is connected between the power supply terminal VCC and the load output terminal OUT, meaning that load open-circuit detection is automatically performed when the power switch M0 is in the off state.

[0075] Understandable, refer to Figure 2 , Figure 3a and Figure 3b As shown, in this embodiment, the intelligent electronic switch 30 further includes a storage unit 34, which stores a preset reference voltage Vref, a first voltage threshold V0, etc. For example, the storage unit 34 is connected to the inverting input of the first voltage comparison unit CP1 to provide the preset reference voltage Vref, or the storage unit 34 is connected to the control circuit 31 to provide the first voltage threshold V0. In other embodiments, the storage unit 34 may also be used to store other information, which is not limited in this application.

[0076] Optionally, the following is based on Figure 3a and Figure 3b The current compensation unit 322 shown illustrates why the processor 40 determines that the first voltage value V1 is less than the first voltage threshold V0.

[0077] For example, Figure 4 yes Figure 2 The circuit module diagram shown corresponds to a schematic diagram of one type of anomaly detection result. (Refer to...) Figure 4As shown in (a) to (c), when the Input signal is an ON control signal, the current output from the intelligent electronic switch 30 to the feedback terminal IS is a first current Ics1, and the voltage at the feedback terminal IS is a first voltage value V1, which is less than a first voltage threshold V0. For this situation, refer to... Figure 3a or Figure 3b As shown, when the power switch M0 remains in the on state, the current compensation unit 322 receives an enable control signal and is thus triggered to start working. At this time, the current output to the feedback terminal IS (in Figure 4 The voltage value (represented by IS current) is changed to the sum of the first current Ics1 and the compensation current Ib. Accordingly, the processor 40 can determine the reason why the first voltage value V1 is less than the first voltage threshold V0 based on the current second voltage value V2 of the feedback terminal IS.

[0078] As an example, refer to Figure 4 As shown in (a), if the processor 40 detects that the second voltage value V2 is less than the first voltage threshold V0, this indicates that even if the current output to the feedback terminal IS is increased, the voltage at the feedback terminal IS does not change much or does not change. In this case, the processor 40 determines that the reason why the first voltage value V1 is less than the first voltage threshold V0 is an abnormal short circuit in the detection resistor. As another example, when the second voltage value V2 is greater than or equal to the first voltage threshold V0, this indicates that by increasing the current output to the feedback terminal IS, the voltage at the feedback terminal IS can increase accordingly and exceed the first voltage threshold V0. In this case, an abnormal short circuit in the detection resistor can be ruled out, but it is still necessary to further determine whether the first current Ics1 is less than the preset current threshold or whether the load is open-circuited. Optionally, refer to Figure 4 As shown in (b) and (c), when the second voltage value V2 is greater than or equal to the first voltage threshold V0, the current compensation unit 322 is triggered to stop working and the processor 40 outputs a shutdown control signal OFF. At this time, the control circuit 31 controls the power switch M0 to turn off based on the shutdown control signal OFF and performs load open circuit detection, outputting the load open circuit detection result signal through the feedback terminal IS. Optionally, refer to Figure 4 As shown in (b), when the load open-circuit detection result signal is a fault signal, it indicates that the load connected to the intelligent electronic switch 30 has an open-circuit abnormality. Therefore, the processor 40 determines that the reason why the first voltage value V1 is less than the first voltage threshold V0 is the load open-circuit abnormality. Optionally, refer to Figure 4 As shown in (c), when the load open circuit detection result signal is a low level signal (L), it indicates that the load connected to the intelligent electronic switch 30 does not have an open circuit abnormality. At this time, the processor 40 determines that the reason why the first voltage value V1 is less than the first voltage threshold V0 is that the first current Ics1 is less than the preset current threshold.

[0079] It is understandable that the above embodiments first introduced how to determine that the first voltage value V1 is less than the first voltage threshold V0 when the power switch M0 is in the on state. In practical applications, the reason why the first voltage value V1 is less than the first voltage threshold V0 can also be determined when the power switch M0 is in the off state. Please refer to the following for details. Figure 5 and Figure 6 As shown.

[0080] For example, Figure 5 yes Figure 2 The circuit module diagram shown corresponds to another abnormality detection result. (Refer to...) Figure 5 As shown in (a) to (c), when the Input signal is an ON control signal, the current output from the intelligent electronic switch 30 to the feedback terminal IS is a first current Ics1, and the voltage at the feedback terminal IS is a first voltage value V1, which is less than a first voltage threshold V0. For this situation, refer to... Figure 3a As shown, when the processor 40 detects that the first voltage value V1 is less than the first voltage threshold V0, the processor 40 outputs a shutdown control signal OFF. Accordingly, the control circuit 31 can control the power switch M0 to turn off based on the shutdown control signal OFF and perform load open circuit detection and output the load open circuit detection result signal through the feedback terminal IS. It can be understood that the current compensation unit 322 does not work at this time.

[0081] As an example, refer to Figure 5 As shown in (a), when the load open-circuit detection result signal is a fault signal (i.e., the voltage at the feedback terminal IS is fault), this indicates that the load connected to the intelligent electronic switch 30 has an open-circuit abnormality. Therefore, the processor 40 determines that the reason why the first voltage value V1 is less than the first voltage threshold V0 is the load open-circuit abnormality. As another example, when the load open-circuit detection result signal is a low-level signal (i.e., the voltage at the feedback terminal IS is L), this indicates that the load connected to the intelligent electronic switch 30 does not have an open-circuit abnormality. In this case, it is necessary to confirm whether the reason why the first voltage value V1 is less than the first voltage threshold V0 is a short circuit in the detection resistor or a first current Ics1 less than a preset current threshold. Optionally, refer to Figure 5 As shown in (b) and (c), when the load open-circuit detection result signal is a low-level signal (L), the processor 40 outputs an enable control signal EN to start the current compensation unit 322. At this time, the current output to the feedback terminal IS (IS current) is the compensation current Ib, and the processor 40 obtains the current second voltage value V2 of the feedback terminal IS; optionally, in Figure 5In (b), the second voltage value V2 is greater than or equal to the first voltage threshold V0, indicating that by injecting current into the feedback terminal IS, the voltage of the feedback terminal IS can be increased and made greater than the first voltage threshold V0. At this time, the short circuit abnormality of the detection resistor can be ruled out. Therefore, the processor 40 can determine that the reason why the first voltage value V1 is less than the first voltage threshold V0 is that the first current Ics1 is less than the preset current threshold. Figure 5 In (c), the second voltage value V2 is less than the first voltage threshold V0, indicating that the voltage of the feedback terminal IS cannot be increased by sinking current to the feedback terminal IS. At this time, the processor 40 can determine that the reason why the first voltage value V1 is less than the first voltage threshold V0 is that the detection resistor is short-circuited abnormally.

[0082] For example, Figure 6 yes Figure 2 The circuit module diagram shown corresponds to another type of anomaly detection result. (Refer to...) Figure 6 As shown in (a) to (c), when the processor 40 detects that the first voltage value V1 is less than the first voltage threshold V0, the processor 40 outputs a shutdown control signal OFF, causing the control circuit 31 to control the power switch M0 to turn off. Correspondingly, after the power switch M0 turns off, the control circuit 31 controls the current compensation unit 322 to operate for a first preset time T0 and then stops operating; and after the current compensation unit 322 stops operating, it performs load open-circuit detection and outputs a load open-circuit detection result signal through the feedback terminal IS. Specifically, the processor 40 acquires the current second voltage value V2 at the feedback terminal IS within the first preset time T0 after outputting the shutdown control signal OFF. Optionally, refer to... Figure 6 As shown in (a), if the second voltage value V2 is less than the first voltage threshold V0, it indicates that the voltage of the feedback terminal IS cannot be increased by injecting current into the feedback terminal IS. Therefore, the processor 40 determines that the reason why the first voltage value V1 is less than the first voltage threshold V0 is an abnormal short circuit in the detection resistor. Optionally, if the second voltage value V2 is greater than or equal to the first voltage threshold V0, the processor 40 obtains the load open circuit detection result signal through the feedback terminal IS after the output of the turn-off control signal for a first preset time T0, and refers to... Figure 6 As shown in (b), when the load open-circuit detection result signal is a fault high-level signal, the processor 40 determines that the reason why the first voltage value V1 is less than the first voltage threshold V0 is a load open-circuit abnormality, referring to... Figure 6 As shown in (c), when the load open circuit detection result signal is a low level signal (L), it indicates that there is no load open circuit abnormality. Therefore, the processor 40 determines that the reason why the first voltage value V1 is less than the first voltage threshold V0 is that the first current Ics1 is less than the preset current threshold.

[0083] In the embodiments of this application, after determining the reason why the first voltage value V1 is less than the first voltage threshold V0, the processor 40 can issue a corresponding warning signal so that the device user can know the working status of the smart electronic switch in a timely manner and determine whether processing is required.

[0084] Understandably, in practical applications, the control circuit 31 in the intelligent electronic switch 30 may include a logic control unit and a switch control unit. The logic control unit is connected to both the input terminal (Input) and the switch control unit, and is also connected to the control terminal of the power switch M0. The logic control unit can control the power switch M0 to turn on or off based on the switch control signal received from the input terminal (Input). Optionally, when the power switch M0 is an N-type MOS and is connected as a high-side switch, the switch control unit may include a boost power supply module and a drive module connected to each other. The boost power supply module is connected to the power supply terminal VCC, and the drive module is connected to the boost power supply module and the control terminal of the power switch M0. The boost power supply module provides energy to the switch control unit, and its output voltage is higher than the voltage of the power supply terminal VCC to achieve voltage boosting, for example, by 3V, 4V, 5V, or 6V higher than the voltage of the power supply terminal VCC.

[0085] In this embodiment, the boost power supply module is a charge pump, and the drive module includes a pull-up current source, a pull-down current source, a charging switch, a discharging switch, etc. The connection method and working principle of the boost power supply module and the drive module are conventional technologies in the art and will not be described in detail here. In addition, in other embodiments of this application, the boost power supply module and the drive module may also be other implementations known to those skilled in the art, which will not be described in detail here.

[0086] It is understood that in the embodiments of this application, the intelligent electronic switch 30 or the control circuit 31 may also include other functional units, such as voltage protection units, short circuit detection units, etc., which are not limited in this application.

[0087] In the anomaly detection device provided in this application embodiment, the intelligent electronic switch may include a control circuit, a current processing circuit, and a power switch. When the power switch is turned on, the current processing circuit collects the load current of the power switch and outputs a first current to the feedback terminal. At this time, the voltage at the feedback terminal is a first voltage value. When the first voltage value is less than a first voltage threshold, the current processing circuit can also change the current output to the feedback terminal. The processor determines the reason why the first voltage value is less than the first voltage threshold based on the relationship between the current second voltage value at the feedback terminal and the first voltage threshold. For example, it may be due to one of the following: a short circuit in the detection resistor, an open circuit in the load, or the first current being less than a preset current threshold. Furthermore, the processor can issue different reminder signals based on different reasons to inform the device user to perform maintenance or replacement, effectively avoiding the problem of safety accidents caused by possible erroneous control of the processor.

[0088] Embodiments of this application also provide a smart electronic switch, which is the aforementioned Figures 1a to 3b The intelligent electronic switch 30 is described above. This application also provides a processor, which is the aforementioned... Figures 1a to 3b The processor 40, used in conjunction with the intelligent electronic switch 30, is used to control the connection and disconnection between the load 20 and the power supply 10 via the intelligent electronic switch 30.

[0089] This application also provides an integrated circuit chip, which includes the aforementioned intelligent electronic switch 30, i.e., the aforementioned intelligent electronic switch 30 is fabricated on the same semiconductor substrate. The power supply terminal VCC is the power supply pin, the power ground terminal GND is the power ground pin, and the load output terminal OUT is the load output pin.

[0090] Other embodiments of this application also provide a chip product, which includes the aforementioned intelligent electronic switch 30. The control circuit 31 can be located on a first integrated circuit chip, and the power switch M0 is located on a second integrated circuit chip. That is, the first integrated circuit chip is fabricated on one semiconductor substrate, and the second integrated circuit chip is fabricated on another semiconductor substrate. The first and second integrated circuit chips can be equipped with additional pins as needed. Here, the first and second integrated circuit chips are packaged into a single product. Furthermore, the pull-up resistor Rp and pull-up switch Kp of the load open-circuit detection unit 33 can be located on the second or third integrated circuit chip, and the first voltage comparison unit CP1 of the load open-circuit detection unit 33 can be located on the first integrated circuit chip, etc. This application does not limit these specific features.

[0091] In addition, in other embodiments of this application, the anomaly detection device, processor, smart electronic switch, etc. of this embodiment can be applied to multiple fields, such as automotive electronics, industrial automation, aerospace, etc.

[0092] Second Embodiment

[0093] Please see Figure 7 and Figure 8 As shown, Figure 7 This is a schematic diagram of the circuit module of the anomaly detection device provided in the second embodiment of this application. Figure 8 yes Figure 7 The circuit diagram of the anomaly detection device is shown. This embodiment is similar to the first embodiment, so the parts not described in this embodiment can be referred to the first embodiment. The main difference between this embodiment and the first embodiment is that the composition and working principle of the circuit processing circuit are different, so that the processor 40 and the intelligent electronic switch 30 interact to determine that the first voltage value V1 is less than the first voltage threshold V0.

[0094] For example, refer to Figure 7 and Figure 8 As shown, the current processing circuit 32 includes a first current sampling unit 32A and a second current sampling unit 32B. The structure and working principle of the first current sampling unit 32A and the second current sampling unit 32B are similar to those of the second current sampling unit 32B. Figure 3a , Figure 3b The structure and working principle of the first current sampling unit 321 in this embodiment are similar, except that the first current sampling unit 32A in this embodiment also includes a first enable switch K1, and the second current sampling unit 32B also includes a second enable switch K2. Therefore, by default, when the power switch M0 is in the on state and the load current IL of the power switch M0 needs to be sampled, the first enable switch K1 is turned on, thus enabling the first current sampling unit 32A to work. That is, the first current sampling unit 32A is used to sample the load current IL of the power switch M0 at a first sampling ratio when the power switch M0 is on and output a first current Ics1 to the feedback terminal IS.

[0095] Optionally, when the first voltage value V1 is less than the first voltage threshold V0, in order to analyze the cause, the magnitude of the sampling current can be changed. That is, after increasing the magnitude of the current from the output to the feedback terminal IS, the reason why the first voltage value V1 is less than the first voltage threshold V0 can be determined based on the change in the voltage value at the feedback terminal IS. Specifically, refer to... Figure 7 and Figure 8As shown, when the first voltage value V1 is less than the first voltage threshold V0, the processor 40 or the control circuit 31 controls the first enable switch K1 to turn off and simultaneously controls the second enable switch K2 to turn on. In this way, the second current sampling unit 32B is enabled to work. The second current sampling unit 32B is used to collect the load current IL of the power switch M0 at the second sampling ratio when the power switch M0 is turned on and output the second current Ics2 to the feedback terminal IS. In this embodiment, the first sampling ratio is greater than the second sampling ratio, and the second current Ics2 is greater than the first current Ics1, thereby increasing the current value output to the feedback terminal IS.

[0096] Optional, Figure 9 yes Figure 7 The circuit module diagram shown corresponds to a schematic diagram of an anomaly detection result. This is provided as an example. Figure 9 As shown in (a), when the second voltage value V2 is greater than or equal to the first voltage threshold V0, it indicates that increasing the current at the feedback terminal IS can increase the voltage at the feedback terminal IS, thus simultaneously eliminating the abnormalities of short circuit in the detection resistor and open circuit in the load. At this time, the processor 40 determines that the reason the first voltage value V1 is less than the first voltage threshold V0 is that the first current Ics1 is less than the preset current threshold. (Refer to...) Figure 9 As shown in (b) and (c), when the second voltage value V2 is less than the first voltage threshold V0, it indicates that increasing the current at the feedback terminal IS cannot increase the voltage at the feedback terminal IS. This situation may be due to a short circuit in the detection resistor or an abnormal open-circuit load. Therefore, the processor 40 is also used to output a shutdown control signal (OFF). Correspondingly, the control circuit 31 controls the power switch M0 to turn off based on this shutdown control signal and triggers the load open-circuit detection circuit to perform load open-circuit detection. Subsequently, it outputs the load open-circuit detection result signal through the feedback terminal IS, referring to... Figure 9 As shown in (b), when the load open circuit detection result signal is a fault high-level signal, it indicates that there is a load open circuit abnormality. Therefore, the processor 40 determines that the reason why the first voltage value V1 is less than the first voltage threshold V0 is the load open circuit abnormality; refer to Figure 9 As shown in (c), when the load open circuit detection result signal is a low level signal (L), it indicates that there is no load open circuit abnormality. Therefore, the processor 40 determines that the reason why the first voltage value V1 is less than the first voltage threshold V0 is that the detection resistor is short-circuited abnormally.

[0097] In the embodiments of this application, when the first voltage value V1 is less than the first voltage threshold V0, the first enable switch K1 and the second enable switch K2 can receive control signals from the control circuit 31 or the processor 40 to turn off the first enable switch K1 and turn on the second enable switch K2, thereby causing the current value output to the feedback terminal IS to change from the first current Ics1 to the second current Ics2.

[0098] In one possible design, the control circuit 31 is also connected to the feedback terminal IS, the first enable switch K1 of the first current sampling unit 32A, and the second enable switch K2 of the second current sampling unit 32B, respectively. When the control circuit 31 detects that the first voltage value V1 is less than the first voltage threshold V0, it outputs a control signal to turn off the first enable switch K1 and turn on the second enable switch K2. In another possible design, the intelligent electronic switch 30 also includes a first communication terminal SP1, which is connected to the processor 40, the first enable switch K1 of the first current sampling unit 32A, and the second enable switch K2 of the second current sampling unit 32B, respectively. Thus, when the processor 40 detects that the first voltage value V1 is less than the first voltage threshold V0, it can send a control signal to the intelligent electronic switch 30 through the first communication terminal SP1 to turn off the first enable switch K1 and turn on the second enable switch K2.

[0099] It is understood that the embodiments of this application do not limit the way in which the first current sampling unit 32A and the second current sampling unit 32B are triggered to work, which can be determined according to actual needs, and will not be elaborated here.

[0100] In the embodiments of this application, the current processing circuit includes a first current sampling unit and a second current sampling unit. When the first voltage value is less than the first voltage threshold, the sampling ratio of the load current is changed to increase the current output to the feedback terminal. Then, the current second voltage value at the feedback terminal is detected. Based on the second voltage value, it can be determined whether the first current is inherently too small. If increasing the current output to the feedback terminal cannot raise the voltage at the feedback terminal, the power switch is turned off to distinguish between load open circuit abnormalities and short circuits in the detection resistor based on the load open circuit detection result signal. This scheme can accurately determine the reason why the first voltage value is less than the first voltage threshold, effectively avoiding potential errors in the processor's control logic.

[0101] It is understood that in the embodiments of this application, the first communication terminal SP1 can be a newly added terminal or a reused original terminal of the smart electronic switch, and the first communication terminal SP1 can be a unidirectional communication terminal or a bidirectional communication terminal. The embodiments of this application do not limit it.

[0102] Figure 10 This is an interactive schematic diagram of the anomaly detection method provided in the embodiments of this application. Figure 10 The method can be referred to the previous ones. Figures 1a-9 The implementation of the anomaly detection device is discussed, but not limited to it. Nevertheless, for ease of explanation, the description... Figure 10 When using this method, refer to Figures 1a-9 Here, the anomaly detection method may include the following steps:

[0103] S101, The processor sends an on / off control signal to the intelligent electronic switch;

[0104] S102. The intelligent electronic switch controls the power switch to turn on based on the turn-on control signal. It uses the current processing circuit to collect the load current of the power switch and outputs the first current to the feedback terminal. At this time, the voltage at the feedback terminal is the first voltage value.

[0105] S103. When the first voltage value is less than the first voltage threshold, the current processing circuit changes the current output to the feedback terminal.

[0106] S104. The processor obtains the current second voltage value at the feedback terminal;

[0107] S105. The processor determines the reason why the first voltage value is less than the first voltage threshold based on the relationship between the second voltage value and the first voltage threshold.

[0108] In this embodiment, the processor interacts and communicates with the intelligent electronic switch through the above... Figures 2 to 6 The solutions shown in the embodiments or by means of Figures 7 to 9 In the embodiments shown, the processor can accurately analyze why the first voltage value at the feedback terminal of the smart electronic switch is less than the first voltage threshold when the power switch is in the on state, and thus accurately control the smart electronic switch, avoiding the problem of possible control logic errors.

[0109] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0110] It should be understood that "a plurality of" as used herein refers to two or more. Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.

[0111] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus embodiments, since they are basically similar to the method embodiments, the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.

[0112] The above-disclosed embodiments are merely preferred embodiments of this application and should not be construed as limiting the scope of this application. Therefore, any equivalent variations made in accordance with the claims of this application shall still fall within the scope of this application.

Claims

1. An anomaly detection device, characterized in that, The system includes an intelligent electronic switch and a processor. The intelligent electronic switch includes a load output terminal, a feedback terminal, a control circuit, a current processing circuit, and a power switch. The feedback terminal is connected to the processor and the current processing circuit. The feedback terminal is also used to connect to the power supply ground terminal through a detection resistor. The load output terminal is used to connect to the load. The power switch has a first terminal connected to the power supply terminal or the power ground terminal, a second terminal connected to the load output terminal, and a control terminal connected to the control circuit. The control circuit is used to control the power switch to turn on or off. The current processing circuit is used to collect the load current of the power switch when the power switch is turned on and output a first current to the feedback terminal. At this time, the voltage of the feedback terminal is a first voltage value. When the first voltage value is less than the first voltage threshold, the current processing circuit is also used to change the current output to the feedback terminal, and the processor determines the reason why the first voltage value is less than the first voltage threshold based on the relationship between the current second voltage value of the feedback terminal and the first voltage threshold. The reasons why the first voltage value is less than the first voltage threshold include one of the following: abnormal short circuit of the detection resistor, abnormal open circuit of the load, or the first current being less than a preset current threshold. The preset current threshold is equal to the quotient of the first voltage threshold divided by the detection resistor.

2. The anomaly detection device according to claim 1, characterized in that, The current processing circuit includes a first current sampling unit and a current compensation unit. The first current sampling unit is used to collect the load current of the power switch when the power switch is turned on and output a first current to the feedback terminal. The current compensation unit is used to output a compensation current to the feedback terminal during operation to change the current output to the feedback terminal. The compensation current is greater than a preset current threshold.

3. The anomaly detection device according to claim 2, characterized in that, The current compensation unit is triggered to start working when the first voltage value is less than the first voltage threshold and the power switch is in the on state. At this time, the current output to the feedback terminal is changed to the sum of the first current and the compensation current. When the second voltage value is less than the first voltage threshold, the processor determines that the reason the first voltage value is less than the first voltage threshold is an abnormal short circuit in the detection resistor; Alternatively, when the second voltage value is greater than or equal to the first voltage threshold, the current compensation unit is triggered to stop working and the processor outputs a shutdown control signal. The control circuit controls the power switch to turn off based on the shutdown control signal and performs load open circuit detection, and outputs a load open circuit detection result signal through the feedback terminal. When the load open circuit detection result signal is a fault high-level signal, the processor determines that the reason why the first voltage value is less than the first voltage threshold is that the load is open circuit abnormal. Or, when the load open circuit detection result signal is a low-level signal, the processor determines that the reason why the first voltage value is less than the first voltage threshold is that the first current is less than a preset current threshold.

4. The anomaly detection device according to claim 3, characterized in that, The control circuit is also connected to the feedback terminal and the current compensation unit. When the first voltage value detected at the feedback terminal is less than the first voltage threshold, the control circuit outputs an enable control signal to trigger the current compensation unit to start working. If the current second voltage value detected at the feedback terminal is greater than or equal to the first voltage threshold and a shutdown control signal is received, the control circuit controls the power switch to turn off and stops outputting the enable control signal to trigger the current compensation unit to stop working; or... When the processor detects that the first voltage value at the feedback terminal is less than the first voltage threshold, the processor outputs an enable control signal to start the current compensation unit. Subsequently, if the processor detects that the voltage value at the feedback terminal is greater than or equal to the first voltage threshold, the processor outputs a shutdown control signal to control the power switch to turn off and stops outputting the enable control signal to trigger the current compensation unit to stop working.

5. The anomaly detection device according to claim 2, characterized in that, When the first voltage value is less than the first voltage threshold, the processor outputs a shutdown control signal. The control circuit controls the power switch to shut down based on the shutdown control signal and performs load open circuit detection and outputs a load open circuit detection result signal through the feedback terminal. When the load open circuit detection result signal is a fault signal, the processor determines that the reason the first voltage value is less than the first voltage threshold is a load open circuit abnormality. Alternatively, when the load open circuit detection result signal is a low-level signal, the processor outputs an enable control signal to enable the current compensation unit to start working. At this time, the current output to the feedback terminal is the compensation current. The processor obtains the current second voltage value of the feedback terminal. When the second voltage value is greater than or equal to the first voltage threshold, the processor determines that the reason the first voltage value is less than the first voltage threshold is that the first current is less than a preset current threshold. Alternatively, when the second voltage value is less than the first voltage threshold, the processor determines that the reason the first voltage value is less than the first voltage threshold is a short circuit abnormality of the detection resistor.

6. The anomaly detection device according to claim 2, characterized in that, When the first voltage value is less than the first voltage threshold, the processor outputs a shutdown control signal to enable the control circuit to control the power switch to turn off. After the power switch is turned off, the control circuit controls the current compensation unit to work for a first preset time and then stops working. After the current compensation unit stops working, the control circuit performs load open circuit detection and outputs the load open circuit detection result signal through the feedback terminal. Within a first preset time after outputting the shutdown control signal, the processor obtains the current second voltage value of the feedback terminal. If the second voltage value is less than the first voltage threshold, the processor determines that the reason why the first voltage value is less than the first voltage threshold is that the detection resistor is short-circuited abnormally. Alternatively, if the second voltage value is greater than or equal to the first voltage threshold, the processor obtains the load open circuit detection result signal through the feedback terminal after outputting the shutdown control signal for a first preset time. When the load open circuit detection result signal is a fault high-level signal, the processor determines that the reason the first voltage value is less than the first voltage threshold is a load open circuit abnormality. Or, when the load open circuit detection result signal is a low-level signal, the processor determines that the reason the first voltage value is less than the first voltage threshold is the first current less than a preset current threshold.

7. The anomaly detection device according to claim 1, characterized in that, The current processing circuit includes a first current sampling unit and a second current sampling unit. The first current sampling unit is used to collect the load current of the power switch at a first sampling ratio and output a first current to the feedback terminal when the power switch is turned on. When the first voltage value is less than the first voltage threshold, the first current sampling unit is controlled to stop working, and the second current sampling unit is triggered to start working, so that the second current sampling unit collects the load current of the power switch at a second sampling ratio and outputs a second current to the feedback terminal, wherein the second current is greater than the first current. When the second voltage value is greater than or equal to the first voltage threshold, the processor determines that the reason the first voltage value is less than the first voltage threshold is that the first current is less than a preset current threshold; or, when the second voltage value is less than the first voltage threshold, the processor is further configured to output a shutdown control signal to enable the control circuit to control the power switch to shut down and perform load open circuit detection, and output a load open circuit detection result signal through the feedback terminal. When the load open circuit detection result signal is a fault high-level signal, the processor determines that the reason the first voltage value is less than the first voltage threshold is that the load open circuit is abnormal; or, when the load open circuit detection result signal is a low-level signal, the processor determines that the reason the first voltage value is less than the first voltage threshold is that the detection resistor is short-circuited abnormal.

8. A smart electronic switch, characterized in that, It includes a load output terminal, a feedback terminal, a control circuit, a current processing circuit, and a power switch. The feedback terminal is connected to the current processing circuit. The feedback terminal is also used to connect to the processor and to the power supply ground terminal through a sensing resistor. The load output terminal is used to connect to the load. The power switch has a first terminal connected to the power supply terminal or the power ground terminal, a second terminal connected to the load output terminal, and a control terminal connected to the control circuit. The control circuit is used to control the power switch to turn on or off. The current processing circuit is used to collect the load current of the power switch when the power switch is turned on and output a first current to the feedback terminal. At this time, the voltage of the feedback terminal is a first voltage value. When the first voltage value is less than the first voltage threshold, the current processing circuit is also used to change the current at the feedback terminal. At this time, the voltage at the feedback terminal is a second voltage value, which is used by the processor to determine the reason why the first voltage value is less than the first voltage threshold. The reasons why the first voltage value is less than the first voltage threshold include one of the following: the detection resistor is short-circuited abnormally, the load is open-circuited abnormally, or the first current is less than a preset current threshold. The preset current threshold is equal to the first voltage threshold divided by the quotient of the detection resistor.

9. The intelligent electronic switch according to claim 8, characterized in that, The current processing circuit includes a first current sampling unit and a current compensation unit. The first current sampling unit is used to collect the load current of the power switch and output a first current to the feedback terminal when the power switch is turned on. The current compensation unit is used to output a compensation current to the feedback terminal during operation to change the current output to the feedback terminal. The compensation current is greater than a preset current threshold. or The current processing circuit includes a first current sampling unit and a second current sampling unit. The first current sampling unit is used to collect the load current of the power switch at a first sampling ratio and output a first current to the feedback terminal when the power switch is turned on. When the first voltage value is less than a first voltage threshold, the first current sampling unit is controlled to stop working, and the second current sampling unit is triggered to start working. When the power switch is turned on, the second current sampling unit collects the load current of the power switch at a second sampling ratio and outputs a second current to the feedback terminal.

10. The intelligent electronic switch according to claim 8, characterized in that, The control circuit is also connected to the feedback terminal and the current processing circuit, respectively. When the power switch is in the on / off state and the first voltage value at the feedback terminal is less than the first voltage threshold, the control circuit outputs an enable control signal to change the current output to the feedback terminal through the current processing circuit; or The intelligent electronic switch further includes a first communication terminal, which is connected to the current processing circuit and the processor. When the current processing circuit receives an enable control signal at the first communication terminal, it changes the current output to the feedback terminal. The enable control signal is output by the processor when it detects that the first voltage value at the feedback terminal is less than a first voltage threshold.

11. An integrated circuit chip, characterized in that, Including the intelligent electronic switch as described in any one of claims 8-10.

12. A chip product, characterized in that, The device includes the intelligent electronic switch as described in any one of claims 8-10, wherein the control circuit is located on a first integrated circuit chip and the power switch is located on a second integrated circuit chip.

13. An anomaly detection method, characterized in that, include: The processor sends an on / off control signal to the intelligent electronic switch; The intelligent electronic switch controls the power switch to turn on based on the turn-on control signal, and uses the current processing circuit to collect the load current of the power switch and outputs a first current to the feedback terminal. At this time, the voltage at the feedback terminal is the first voltage value. When the first voltage value is less than the first voltage threshold, the current processing circuit changes the current output to the feedback terminal; The processor obtains the current second voltage value of the feedback terminal and determines the reason why the first voltage value is less than the first voltage threshold based on the relationship between the second voltage value and the first voltage threshold. The reasons why the first voltage value is less than the first voltage threshold include one of the following: abnormal short circuit of the detection resistor, abnormal open circuit of the load, or the first current being less than a preset current threshold. The preset current threshold is equal to the first voltage threshold divided by the quotient of the detection resistor.

14. An electromechanical device, characterized in that, Includes the anomaly detection device, power supply, and load as described in any one of claims 1-7, wherein the positive terminal of the power supply is connected to the power supply terminal, the negative terminal of the power supply is connected to the power supply ground terminal, one end of the load is connected to the load output terminal of the intelligent electronic switch, and the other end of the load is connected to the power supply ground terminal or the power supply terminal.

Citation Information

Patent Citations

  • Switch device, electronic apparatus and vehicle

    JP2023018820A

  • Voltage sensing circuit and method

    WO2021165447A1