Electronic switching and protection circuit with multiple operating modes
The electronic switching and protection circuit addresses inefficiencies in existing systems by using a control circuit with a logarithmic ADC and filter to manage power consumption and adapt to different operating modes, ensuring safe load and cable protection.
Patent Information
- Application Number
- DE102017107521
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2016-04-08
- Filing Date
- 2017-04-07
- Publication Date
- 2024-11-14
- Estimated Expiration
- 2037-04-07
AI Technical Summary
Existing electronic circuits for protecting loads and cables from overcurrent and overheating do not efficiently manage power consumption and fail to adapt to varying operating conditions, leading to potential damage or destruction of cables.
An electronic switching and protection circuit with a control circuit that monitors load current and temperature, generating protection signals to control an electronic switch, incorporating a logarithmic ADC and filter to manage power consumption and adapt to different operating modes, including a standby mode to reduce power usage.
Effectively protects loads and cables by reducing power consumption and ensuring safe operation across varying conditions, preventing damage by adapting to current and temperature changes.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
[0001] This description relates generally to an electronic switching and protection circuit, and more particularly to an electronic circuit functioning as an electronic switch and electronic fuse.
[0002] A fuse is a protective device that blows depending on the current and the duration of the current flow. For example, a fuse blows essentially immediately if the current is higher than a maximum current, does not blow if the current is at or below the rated current, and blows after a delay time that depends on the current if the current is between the rated current and the maximum current. A fuse can be used to protect a load and a cable between a power source and the load. The function of a fuse can be realized using an electronic switch and a control circuit.
[0003] US 2010 / 0 165 529 A1 describes an electronic circuit with an electronic switch connected between a battery and a load. A resistor is connected in parallel with the electronic switch between the battery and the load. A control circuit turns the electronic switch on when the load's current consumption, which is covered by the resistor when the switch is off, exceeds a predetermined threshold. This electronic circuit has two operating states: a first operating state in which the electronic switch is deactivated and current flows through the resistor, and a second operating state in which the electronic switch is activated.
[0004] US 2003 / 0 107 855 A1 describes a protection circuit connected between a power source and a load. The protection circuit comprises a switching device and detection circuits for detecting an overvoltage, an overcurrent, and a leakage current. The detection circuits are designed to control the switching device such that the power source is disconnected from the load when an overvoltage, an overcurrent, or a leakage current is detected.
[0005] US 2012 / 0 022 708 A1 describes an electronic circuit comprising a transistor circuit connected between a battery and a load, and a control circuit configured to control the transistor circuit. The control circuit is configured to determine a temperature in a cable between the transistor circuit and the load based on a measured current through the transistor circuit. The control circuit then enters a sleep mode in which the temperature is not determined if the temperature drops below a predetermined temperature threshold.
[0006] DE 10 2004 007 201 A1 describes an electronic circuit comprising a transistor circuit connected between a battery and a load, and a control circuit configured to control the transistor. The control circuit comprises an overcurrent detection circuit and an overtemperature detection circuit and is configured to switch off the transistor upon detection of an overcurrent or overvoltage.
[0007] The object underlying the invention is to provide a switching and protection circuit comprising an electronic switch and a control circuit, in which the control circuit can be operated with reduced power consumption, and to provide a corresponding method for operating a control circuit. This object is achieved by a switching and protection circuit according to claim 1 and a method according to claim 12.
[0008] Examples are explained below using drawings. The drawings are intended to illustrate certain principles, so only those aspects necessary for understanding these principles are shown. The drawings are not to scale. Throughout the drawings, the same reference numerals refer to the same features. Fig. 1 schematically illustrates an electronic circuit comprising an electronic switch and a control circuit configured to control the electronic switch; Fig. 2 shows an example of the control circuit; Fig. 3 shows an operating mode of a control circuit in the Fig. 2 shown control circuit; Fig. 4 shows an example of the control circuit; Fig. 5 shows another example of the control circuit; Fig. 6 shows an example of the electronic switch; Fig. 7 shows another example of the electronic switch; Fig. 8 shows an example of a first protection circuit included in the control circuit; Fig. 9 shows an example of an analog-to-digital converter (ADC) in the Fig. 8 shown first protection circuit; Fig. 10A and Fig. 10B shows characteristics of the ADC according to an example; Fig. 11 shows an example of a filter in the Fig. 8 shown first protection circuit; Fig. 12 shows another example of the filter in the Fig. 8 shown first protection circuit; Fig. 13 illustrates the operation of a Fig. 12 shown filter contained multiplier; Fig. 14 shows another example of the filter in the Fig. 8 shown first protection circuit; Fig. 15 shows timing diagrams illustrating an operation mode of the filter; Fig. 16 shows an example of a comparator circuit used in the Fig. 8 shown protection circuit; Fig. 17 illustrates the characteristics of an electronic circuit comprising a first protection circuit (line protection circuit) and optionally a second protection circuit (overcurrent protection circuit); Fig. 18 illustrates sampling a current measurement signal in accordance with a clock signal according to an example; Fig. 19 shows a timing diagram of a clock signal having multiple clock cycles and clock pulses with varying positions in the individual clock cycles; Fig. Figure 20 shows an example of a circuit designed to receive a clock signal as shown in Fig. 19, from a clock signal as shown in Fig. 18 is shown. Fig. 21 shows timing diagrams illustrating one mode of operation of the Fig. 20; Fig. 22 shows a control circuit according to another example; Fig. 23 shows timing diagrams illustrating one mode of operation of the Fig. 22;
[0029] Fig. 24 shows a control circuit according to another example; Fig. 25 shows timing diagrams illustrating one mode of operation of the Fig. 24; Fig. 26 shows a control circuit according to another example; Fig. 27A and Fig. 27B show timing charts showing the operation of the Fig. 26 in different operating modes; Fig. 28 shows a control circuit according to another example; Fig. 29A-29C show timing diagrams of a test signal configured to initiate a test operation of the control circuit; Fig. 30 shows possible signal levels of a signal output by the control circuit in test mode; Fig. 31 shows timing diagrams of signals in test mode; and Fig. 32 shows an electronic circuit with a control circuit according to another example.
[0009] In the following detailed description, reference is made to the accompanying drawings. The drawings form a part of the description and show, by way of illustration, specific embodiments of how the invention may be used. It should be understood that the features of the various embodiments described herein may be combined with one another, unless explicitly stated otherwise.
[0010] Fig. 1 shows an example of an electronic circuit. The electronic circuit comprises an electronic switch 2 with a control node 21 and a load path between a first load node 22 and a second load node 23. The electronic circuit further comprises a control circuit 1, which is coupled to the control node 21 of the electronic switch 2 and is designed to control the electronic switch 2. The electronic circuit with the electronic switch 2 and the control circuit 1 can be monolithically integrated in a semiconductor body (chip) or can be integrated in two semiconductor bodies that are arranged in an integrated circuit package. The electronic circuit is designed to Fig. 1 in dashed lines) to control load Z, which can be connected in series with the load path of the electronic switch 2. The series circuit comprising the electronic switch 2 and the load Z is connected between supply nodes at which a positive supply potential Vbat and a negative supply potential or ground potential GND are available. A voltage between the positive supply node and the negative supply node is hereinafter referred to as the supply voltage.
[0011] The electronic circuit can be used in particular to control a load Z in a vehicle. In this case, a power source that provides the supply voltage Vbat is a vehicle battery. "Controlling a load" can include switching the load on or off by switching the electronic switch 2 in the electronic circuit on or off. The load can be any of various electrical loads used in a vehicle. Examples of the load Z include, but are not limited to, various types of lights, various types of motors, relays, a heater, or the like. Fig. In the example shown in Figure 1, the electronic switch 2 and the load Z are connected in a high-side configuration. This means that the load Z is connected between the electronic switch 2 and the ground node GND. However, this is only an example. The electronic switch 2 and the load Z could also be connected in a low-side configuration or in any other configuration. For example, in a low-side configuration, the load Z is connected between the electronic switch and the positive supply node.
[0012] Referring to Fig. 1, the load can be connected to the electronic switch 2 via an electrically conductive cable. Depending on where the electronic circuit and the respective load Z are located in the car, the cable can be a considerable length of several 10 cm, or even more. A modern vehicle comprises several electrical loads, so several cables are required to connect the individual loads to their respective electronic switches. To save costs and resources, it may be desirable to dimension the individual cables so that they can withstand a current in the long term that corresponds to a rated current of the respective load. However, if the current exceeds the rated current, the cable can be damaged or even destroyed due to overheating. According to one example, the control circuit 1 therefore has a function of controlling a load current I Lby the electronic switch 2 and to switch off the electronic switch 2 to protect the cable if an overload scenario is detected. An "overload scenario" is a scenario that could result in the cable being damaged or destroyed if the electronic switch 2 is not switched off to interrupt the connection between the power source and the line. This is explained in more detail below. Since the electronic circuit is designed to switch the load Z on and off and to protect the line, it is also referred to below as a switching and protection circuit.
[0013] In Fig. 1, the electronic switch 2 is schematically drawn as a circuit block comprising a switch. Hereinafter, the term “electronic switch” is intended to encompass any type of electronic switch or electronic switch arrangement that has a control node 21 and a load path between a first load node 22 and a second load node 23 and is configured to switch on and off depending on a control signal received at the control node 21. “Switching on” means operating the electronic switch 2 in an on state in which the electronic switch 2 is capable of conducting a current between the first load node 22 and the second load node 23. “Switching off” means operating the electronic switch 2 in an off state in which the electronic switch 2 is capable of preventing a current flow between the first load node 22 and the second load node 23.According to one example, the electronic switch 2 comprises at least one transistor. The at least one transistor is, for example, a MOSFET (Metal Oxide Semiconductor Field-Effect Transistor), an IGBT (Insulated Gate Bipolar Transistor), a JFET (Junction Field-Effect Transistor), a bipolar junction transistor (BJT), or a HEMT (High Electron Mobility Transistor).
[0014] Examples of the control circuit 1 and their function are explained below using drawings. The function of the control circuit 1 is explained in particular using functional blocks shown in the drawings. It should be noted that these functional blocks represent the function of the control circuit 1 rather than its specific implementation. These functional blocks can be dedicated circuit blocks designed to perform the respective function explained below. However, it is also possible for the functions of the individual functional blocks to be performed by a programmable circuit (processor) running dedicated software stored in a memory.
[0015] Fig. 2 shows an example of the control circuit 1. In this example, the control circuit 1 comprises a first protection circuit 4, which is designed to generate a first protection signal S4 based on a current-time characteristic of the load current I L to generate. “The first protection signal S4 based on the current-time characteristic of the load current I L to generate” may comprise that the first protection circuit, in order to generate the first protection signal S4, determines the current level of the load current I L and the current history is taken into account. This means that the first protection circuit 4 evaluates the load current I L for a certain period of time to generate the first protection signal S4. In order to be able to detect the load current I L To evaluate the current measurement signal CS, the first protection circuit 4 receives a current measurement signal CS and generates the first protection signal S4 based on the current measurement signal CS. According to one example, the current measurement signal CS is proportional to the load current I L. In the Fig. 2, the current measurement signal CS (which may also be referred to as current detection signal) is available at a measurement output 24 of the electronic circuit 2. In this case, a current measurement circuit designed to match the load current I L to measure and provide the current measurement signal CS, is integrated into the electronic switch 2. However, this is only an example. A current measurement circuit separate from the electronic switch 2 can also be used.
[0016] The Fig. The control circuit 1 shown in Fig. 2 is designed to control the electronic switch 2 based on the first protection signal S4 and a signal applied to a first input node (input pin) P IN the control circuit 1 or the electronic circuit received input signal S IN A control circuit 3 receives the first protection signal S4 and the input signal S INand generates a control signal S3 based on the first protection signal S4 and the input signal S IN The control signal S3 is received at the control node 21 of the electronic switch 2 and is configured to switch the electronic switch 2 on or off. Optionally, a driver 51 is connected between the control circuit 3 and the control node 21 of the electronic switch 2. According to one example, the control signal S3 is a logic signal having an on-level indicating that it is desired to switch the electronic switch 2 on, or an off-level indicating that it is desired to switch the electronic switch 2 off. The optional driver 51 is configured to control the electronic switch 2 based on the respective signal level of the control signal S3. The electronic switch 2 comprises, for example, a transistor, such as a MOSFET (in Fig. 2). A MOSFET is a voltage-controlled semiconductor device that switches on or off depending on a drive voltage applied between a gate node and a source node. In this example, driver 51 is configured to generate the drive voltage based on drive signal S3 in order to switch electronic switch 2 on or off based on drive signal S3.
[0017] An operating mode of the control circuit 1, in particular of the control circuit 3, is determined by Fig. 3 explained. Fig. 3 shows timing diagrams of the input signal S IN , the first protection signal S4 and the control signal S3. In the example shown, the input signal S IN a logic signal that has an on-level or an off-level. An on-level of the input signal S INindicates that it is desired to turn on the electronic switch 2, and an off level indicates that it is desired to turn off the electronic switch 2. For illustrative purposes only, in this example, the on level is a high logic level and the off level is a low logic level. Accordingly, in the Fig. 3, the on level of the control signal S3 is drawn as a high level and the off level is drawn as a low level. In this example, the first protection signal S4 is also a logic signal with two different signal levels. A signal level of the first protection signal S4 that indicates that it is desired to turn off the electronic switch 2 is referred to below as a protection level or deactivation level (because it deactivates the control circuit 3 from turning on the electronic switch 2). For illustrative purposes only, in the example shown in Fig. 3, the protection level is a high logic level. The other signal level of the first protection signal S4 is referred to below as the enable level (because it enables the control circuit 3 to activate the electronic switch 2 based on the input signal S IN In this example, the enable level is a low signal level.
[0018] Referring to Fig. 3, the control circuit 3 is designed to control the electronic switch 2 based on the input signal S IN to be controlled when the first protection signal S4 has the enable level. That is, the control circuit 3 switches on the electronic switch 2 by generating an on-level of the control signal S3 when the signal level of the input signal S IN from the off level to the on level, and switches off the electronic switch 3 by generating an off level of the control signal S3 when the signal level of the input signal SIN from the on level to the off level. This is in Fig. 3 between times t0 and t1. The control circuit 3 switches off the electronic switch 2 by changing the signal level of the control signal S3 from the on level to the off level when the first protection signal S4 indicates that it is desired to switch off the electronic switch 2. This is shown in Fig. 3 at time t1, at which the signal level of the first protection signal S4 changes to the protection level.
[0019] According to one example, the control circuit 3 keeps the electronic switch 2 in the off state even when the first protection signal S4 changes to the enable level and the input signal S INafter time t1 has the on level. This means that the control circuit 3 is blocked in an operating state that keeps the electronic switch in the off state until it is reset. According to one example, the control circuit 3 is designed to switch the electronic switch 2 on again, i.e., to reset the control circuit 3, only after the signal level of the input signal S IN from the on level to the off level and back from the off level to the on level. In the example shown, the signal level of the input signal S IN at time t2 to the off level and at time t3 back to the on level, with the electronic switch 2 being switched on again at time t3. According to one example, the control circuit 3 is only reset when the off level of the input signal S IN for longer than a predefined period of time before the input signal S INswitches to the on level. That is, at the Fig. In the example shown in Figure 3, the control circuit is only reset if there is a predefined time period between times t2 and t3.
[0020] Fig. 4 shows an example of a control circuit 4 which is designed to control the electronic switch 2 according to the Fig. 3. In this example, the control circuit 3 comprises a latch 31, such as an RS flip-flop, and a logic gate 32, such as an AND gate. The RS flip-flop receives the first protection signal S4 at a set input S, and the logic gate receives the input signal S IN and an output signal from an inverting output Q' of the flip-flop 31. The input signal S INis obtained by a reset input R of the flip-flop 31. The flip-flop 31 is set when the protection signal S4 changes from the enable level to the disable level (protection level) and is not reset until the input signal S IN from the off level to the on level. When flip-flop 31 is set, it changes the signal level of the control signal S3 via logic gate 32 to the off level until the flip-flop is reset. After flip-flop 31 is reset, the control signal S3 is again controlled by the input signal S IN determined until flip-flop 31 is set again.
[0021] According to one example, the first control circuit 1 comprises at least one further protection circuit in addition to the first protection circuit 4. Fig. Figure 5 shows an example of the first control circuit 1, which includes four additional protection circuits: a second protection circuit 52, a third protection circuit 53, a fourth protection circuit 54, and a fifth protection circuit 55. These protection circuits are independent, so it is not necessary to implement all of these protection circuits 52-55. That is, the control circuit 1 could be implemented with only one, two, or three of these additional protection circuits 52-55.
[0022] According to one example, the second protection circuit 52, which may also be referred to as an overtemperature protection circuit, is configured to measure a temperature of the electronic switch 2 and to generate a second protection signal S52, which is received from the control circuit 3, based on the measured temperature. According to one example, the second protection circuit 52 is configured to generate the second protection signal S52 such that it has a protection level (deactivation level) when the measured temperature is above a predefined overtemperature threshold and an enable level when the measured temperature is below the overtemperature threshold. The protection level of the second protection signal S52 causes the control circuit 3 to turn off the electronic switch 2, and the enable level causes the control circuit 3 to turn on the electronic switch 2 based on the input signal S IN targets.
[0023] According to one example, the third protection circuit 53, which may also be referred to as an overtemperature protection circuit, is designed to reduce the load current I Lto monitor in order to detect an overcurrent and to generate a third protection signal S53 based on this detection. In this example, the third protection circuit 53 receives the current measurement signal CS and is configured to compare the current measurement signal CS with an overcurrent threshold. The third protection circuit 53 is configured to generate a protection level of the third protection signal S53 when the current measurement signal CS is higher than the overcurrent threshold and to generate an enable level of the third protection signal S53 when the current measurement signal CS is below the overcurrent threshold. The protection level of the third protection signal S53 causes the control circuit 3 to turn off the electronic switch 2, and the enable level causes the control circuit 3 to turn on the electronic switch 2 based on the input signal S IN targets.
[0024] According to one example, the fourth protection circuit 54, which may also be referred to as an overvoltage protection circuit, is configured to measure a load path voltage V2 of the electronic switch 2 and to generate a fourth protection signal S54 based on the measured load path voltage V2. According to one example, the fourth protection circuit 54 is configured to generate a protection level of the fourth protection signal S54 when the measured load path voltage V2 is higher than a predefined overvoltage threshold and to generate an enable level of the fourth protection signal S54 when the measured load path voltage V2 is below the overvoltage threshold. A protection level of the fourth protection signal S54 causes the control circuit 3 to switch on the electronic switch 2, and an enable level causes the control circuit 3 to switch off the electronic switch 2 depending on the input signal S INSwitching on the electronic switch 2 at high voltages can protect the electronic switch 2 from being damaged or even destroyed.
[0025] According to one example, the fifth protection circuit 55, which may also be referred to as a temperature difference protection circuit, is configured to generate a fifth protection signal based on a temperature difference between a temperature in the electronic switch 2 and a temperature in the control circuit 1. According to one example, the fifth protection circuit 55 is configured to generate a protection level of the fifth protection signal S55 when the temperature difference is higher than a predefined temperature difference threshold. The fifth protection circuit 55 may include a first temperature sensor in the electronic circuit 2 and a second temperature sensor in the control circuit 1 to measure the temperature in the electronic switch 2 and the control circuit 1, respectively. According to one example, the overtemperature protection circuit 52 and the temperature difference protection circuit 55 may use the same temperature sensor.
[0026] According to one example, the control circuit 3 is designed to control the electronic switch 2 based on the protection signals S4, S52-S55 in the same way as before based on Fig. 3. This means that the control circuit 3 can be designed to switch the electronic switch 2 on again only after the input signal S IN to the off level and back to the on level.
[0027] Fig. Figure 6 shows an example of the electronic switch 2. In this example, the electronic switch comprises a first transistor 25, hereinafter referred to as the load transistor, and a second transistor 26, hereinafter referred to as the sense transistor. The load transistor 25 and the sense transistor 26 are transistors of the same transistor type. For illustrative purposes only, the load transistor 25 and the sense transistor 26 are Fig. 6, MOSFETs, in particular n-conducting MOSFETs, are used. The load transistor 25 has a load path (drain-source path) between a drain node D and a source node S. The load path of the load transistor 25 forms the load path of the electronic switch 2. That is, the load path of the load transistor 25 is connected between the first load node 22 and the second load node 23 of the electronic switch 2. A gate node G of the load transistor 25 is connected to the control node 21 of the electronic switch 2. A gate node G of the second transistor 26 is connected to the control node 21, and a drain node D of the second transistor 26 is connected to the drain node D of the first transistor 25.Referring to the foregoing, a MOSFET, such as the load transistor 25 and the sense transistor 26, is a voltage-controlled semiconductor device that is driven depending on a drive voltage (gate-source voltage) obtained between the gate node G and the source node S. When the first transistor 25 is in the on-state after receiving a drive voltage from the control circuit 1 that is above a threshold voltage of the first transistor 25, the load transistor 25 conducts a load current I. L . In the Fig. 6, the measuring transistor 26 is operated at the same operating point as the first transistor 25, so that a measuring current Is through the second transistor 26 is proportional to the load current I L . A proportionality factor between the load current I Land the measuring current Is is given by a ratio between a size of the load transistor 25 and a size of the measuring transistor 26. According to one example, the load transistor 25 and the measuring transistor 26 each comprise a plurality of transistor cells. In this case, a proportionality factor (k ILIS =I L / I S ) between the load current I L and the measuring current I S given by a ratio between the number of transistor cells n 25 of the first transistor 25 and the number of transistor cells n 26 of the second transistor 26, that is, k ILIS =n25 / n26.
[0028] In the Fig. In the electronic switch 2 shown in Figure 6, the second transistor 26 is operated by a control circuit at the same operating point as the first transistor 25. The control circuit comprises a variable resistor 28, which is controlled by an operational amplifier 27 such that an electrical potential at the source node S of the second transistor 26 is equal to the electrical potential at the source node S of the first transistor 25. For this purpose, the operational amplifier 27 receives the source potential of the first transistor 25 and the source potential of the second transistor 26 at an input. According to one example, the variable resistor 28 is a MOSFET, in particular a p-conducting MOSFET 28. In the case of the Fig. 6, the current measurement signal CS is equal to the measurement current Is.
[0029] Fig. 7 shows a modification of the Fig. 6 shown electronic switch 2. In this example, the electronic switch 2 comprises two or more measuring transistors 261-26 n1 . Each of these measuring transistors 261-26 n1 has its gate node connected to the control node 21 and its drain node connected to the drain node G of the load transistor 25. Each of the measuring transistors 261-26 n1 is operated in the same mode as the first transistor 25. For this purpose, a control circuit 271-27 n1 , 281-28 n1 , which the Fig. 6 shown control circuit 27, 28, between the respective source nodes S of each measuring transistor 261-26 n1 and the source node of the load transistor 25. Each of these control circuits 271-27 n1 , 281-28 n1 operates the associated measuring transistor 261-26 n1 at the same operating point as the load transistor 25, so that the individual measuring transistors 261-26 n1provided measuring currents I S1 -I Sn1 proportional to the load current I L A total measuring current I S (which is equal to the current measurement signal CS) is selected by a selection circuit 29 from the individual measurement currents I S1 -I Sn1 This measuring circuit receives the individual measuring currents I S1 -I Sn1 and conducts one or more of these measuring currents I S1 -I Sn1 based on a selection signal S29 to an output where the total measurement signal is available. In general, the total measurement current Is is given by IS=∑i=0n1aiISi where a i is either 0 or 1 and depends on the selection signal S29. In the Fig. 7 shown electronic switch 2, the proportionality factor k ILIS be set by the selection signal S29. According to an example, the measuring transistors 261-26 n1have the same size, so that different proportionality factors (k ILIS -factors) by varying the number of measuring transistors coupled to the output of the selection circuit 29. According to another example, the measuring transistors 261-26 n1 different sizes, so that different k ILIS -factors by varying the number of measuring transistors coupled to the output of the selection circuit 29 and by selecting which of the measuring transistors 261-26 n1 is / are coupled to the output of the selection circuit 29.
[0030] Fig. Figure 8 shows an example of the first protection circuit 4, which is designed to generate the first protection signal S4 based on the current measurement signal CS. Fig. In the example shown in Figure 8, the first protection circuit 4 comprises a current-to-voltage converter 41 that receives the current measurement signal CS and generates a measurement voltage V41. According to one example, the current-to-voltage converter 41 comprises a resistor 411 that receives the current measurement signal CS (which is equal to the measurement current Is), and the measurement voltage V41 is a voltage across the resistor 411. Optionally, an RC circuit with a capacitor 412 and another resistor 413 is connected in parallel with the resistor 411. This RC circuit 412, 413 can serve to filter unwanted voltage peaks of the measurement voltage V41. When the RC circuit is used, the measurement voltage V41 is the voltage across the capacitor 412 of the RC circuit.
[0031] An analog-to-digital converter (ADC) 42 receives the measurement voltage V41 as an ADC input signal and outputs an ADC output signal S42 based on the input signal V41. A filter 43 receives the ADC output signal S42 and generates a filter output signal S43 from the ADC output signal S42. A comparator circuit 44 receives the filter output signal S43 and generates the first protection signal S4 based on the filter output signal S43.
[0032] Fig. 9 shows an example of the ADC 42. In this example, the ADC 42 includes several comparators 4211-421 q . Each of these comparators 4211-421 q receives the input signal V41 at a first input and a corresponding reference signal VREF1-VREF q at a second input. In this example, the first input is a non-inverting input and the second input is an inverting input of the respective comparator 4211-421 q. The reference voltages VREF1-VREF q are different. According to an example (as shown in Fig. 9) the reference voltages VREF1-VREF q using a series circuit with several resistors 4231-423 q This series circuit receives a reference voltage equal to the reference voltage VREF q can be that of a 421 q of the comparators. The other reference voltages VREF1-VREF4 are available at taps of the series circuit. A sampling and coding circuit 422 receives comparator signals S4211-S421 q from comparators 4211-421 q , samples these comparator signals S4211-S421 q according to a clock signal CLK and generates the ADC output signal S42 according to the sampling of the comparator signals S4211-S421 q obtained samples. Each of the comparator signals S4211-S421 qis at the output of a respective comparator 4211-421 q available and indicates whether the input signal V41 is higher than the value determined by the respective comparator 4211-421 q received reference voltage VREF1-VREF q is, or not.
[0033] The reference voltages VREF1-VREF q define q+1 voltage intervals, <V REF1 , [V REF1 , V REF2 ], [V REF2 , V REF3 ], ..., [V REFq-1 , V REFq ] and >V REFq . The comparator signals S4211-S421 qtogether define a state of the ADC, where the ADC can have q+1 different states, each of which is assigned to one of the voltage intervals explained above. For example, the ADC is in a first state when the input signal V41 in the first interval <VREF1 ist, in einem zweiten Zustand, wenn das Eingangssignal V41 im zweiten Intervall [VREF1, VREF2] ist, und so weiter. Die Kodierschaltung 422 ist dazu ausgebildet, die unterschiedlichen Zustände des ADC 42 auf das Ausgangssignal S42 abzubilden. Gemäß einem Beispiel umfasst das Ausgangssignal S42 eine Reihe S42 [k] von digitalen Worten, wobei jedes dieser digitalen Worte S42 [k] den Zustand des ADC zu einem Abtastzeitpunkt repräsentiert. Die Abtastzeitpunkte werden durch das Taktsignal definiert.
[0034] According to one example, the ADC is a linear ADC. In this case, each of the reference voltages VREF1-VREF qgiven by i·VREF, where i is selected from 1, 2, 3, 4, ..., q. The sampling and coding circuit 422 is configured, for example, to generate the digital words S42[k] of the output signal S42 such that the digital word represents the voltage interval in which the input signal V41 is located at the sampling instant. The binary word output by the sampling and coding circuit 422 is, for example, 0 when the input signal V41 is in the first interval (below VREF1), 1 when the input signal V41 is in the second interval (higher than VREF1, but lower than VREF2), and so on. In the case of a linear ADC, the input voltage V41 at the sampling instant is approximately (i.e., if a quantization error is neglected), V41[k]=S42[k]⋅VREF The number of bits in the binary word S42 [k] output by the ADC depends on the different states the ADC can assume. According to one example, the ADC can assume 16 different states. In this case, the binary word has p=4 (= 1d(16)), where 1d=log2) bits.
[0035] According to another example, the ADC is a logarithmic ADC. In this case, each of the reference voltages VREF1 - VREF q a multiple of the next lower reference voltage. That is, VREF i = z VREF i-1 , where i is selected from 1, 2, 3, 4, ..., q. For example, z = 2. In this case, each of the reference voltages VREF1-VREF q be expressed as VREF i =2 i-1 VREF1=2 i-1 VREF1.
[0036] Fig. Figure 10A shows an example of the characteristic curve of a logarithmic ADC. That is, Fig. Figure 10A shows the decimal equivalent of the binary word S42[k] output by the ADC 42 at sampling time k depending on the value of the input signal V41[k] at sampling time k. In Fig. 10A shows the input signal in logarithmic scale. Fig. 10B shows a section of the Fig. 10A shown curve on a linear scale when z = 2. To simplify the illustration, Fig. 10A shows the characteristic curve of a logarithmic ADC with 8 different states and a 3-bit output. However, this is only an example. The characteristic curve of a logarithmic ADC with, for example, 16 states and 4 bits can be calculated from the Fig. 10A can be easily derived.
[0037] In a logarithmic ADC with a Fig. 10A, the binary word S42[k] output at sampling time k is related to the input signal V41[k] at sampling time k as follows, V41[k]=0if S42[k]=0 V41[k]=zS42[k]−1⋅VREFif S42[k]≠0
[0038] Thus, S42[k] represents the logarithm of V41[k] to base z when the input signal V41[k] is different from zero, in particular, it is greater than VREF. More precisely—since the number of bits of the ADC output signal S41 is limited (finite)—S42[k] represents the rounded logarithm of V41[k] to base z.
[0039] Since the ADC input signal V41 represents the current measurement signal CS and the current measurement signal CS represents the load current I L represents, the ADC output signal S41 represents the load current I LAccording to one example, the first protection circuit 41 is configured to protect the line between the electronic switch 2 and the load Z from overheating. In this example, the filter 43 is configured to approximate the temperature of the line based on the samples of the current measurement signal CS provided by the ADC 42. It can be shown that a temperature Tw in the cable is given by Tw[k]=(1−α)⋅Tw[k−1]+REL⋅RTH⋅IL2[k]⋅α where Tw[k] is the temperature at a sampling time, Tw[k-1] is the temperature at the previous sampling time, I L 2 [k] the square of the load current I L at the sampling time, R EL the electrical resistance of the cable and R THis the thermal resistance of the line. 1-α is between 0 and 1 and takes into account the duration of a sampling period, that is, the time difference between two sampling times k and k-1, and the heat radiation of the line. In general, 1-α decreases as the sampling frequency decreases. Furthermore, 1-α decreases the better the line can radiate energy in the form of heat to the environment. According to an example, α=1−e−Δtτ where Δt is the time difference between two sampling times k and k-1 and τ is a time constant of the cable that defines how quickly energy introduced into the cable is dissipated in the form of heat. R EL , R TH and τ are constants and depend on the specific type of line, the material of the line, the diameter of the line, etc. By applying some mathematical transformations, equation (4a) can be converted into TW[k]REL⋅RTH⋅α=β⋅TW[k]=(1−α)⋅TW[k−1]+IL2[k]
[0040] This means that a weighted temperature β·Tw[k] of the line at sampling time k depends only on the temperature at sampling time k-1, the square of the load current I L at sampling time k and 1-α. α, R EL and R TH are included in the weighting factor β.
[0041] It should be noted that Tw[k] and Tw[k] are not absolute temperatures of the cable, but temperature changes caused by the load current I flowing through the cable. L That is, Tw[k] and Tw[k] can be zero if the load current I L is zero or when the load current I L was zero long enough to detect the voltage induced in the cable by the load current I L to completely dissipate the energy introduced.
[0042] Fig. 11 shows an example of filter 43. The Fig. The filter shown in Figure 11 is based on the assumption that the ADC 42 is a logarithmic ADC as explained above. This means that the ADC is designed to generate the ADC output signal S42 based on a comparison of the input signal V41 with several different reference values (VREF1-VREF q in Fig. 9) where a ratio between each reference voltage VREF i and the next lower reference voltage VREF i-1 is given by z (which is, for example, 2). In this case, the ADC output signal S42 represents a logarithm of the load current I L . Since the logarithm of the load current is proportional to the logarithm of the square of the load current (log z (I L ) 2 ) = 2 log z (I L )), the ADC output signal S42 also represents the square of the load current I L. When using a logarithmic ADC 42 there is no need to calculate the square of a signal that represents the load current I L represents, in the filter 43. This helps to reduce the size required to implement the filter 43 in the electronic circuit.
[0043] If the ADC output signal S42 exceeds the load current I L instead of the square of the load current I L represents, the square of the signal S42 is calculated by a calculation unit 434 (in Fig. 11 shown in dashed lines). For explanatory purposes, however, it is assumed that the ADC output signal S42 is the logarithm of the load current I L so that the calculation unit 434 can be omitted.
[0044] The Fig. The filter shown in Figure 11 is designed to calculate each value S43[k] of the filter output signal S43 based on the ADC output signal S42 as follows, S43[k]=(1−α)⋅S43[k−1]+S42[k] In equations (4) and (5), k and k-1 denote discrete time variables (discrete sampling instants). Referring to the above, the ADC output signal S42 and the filter output signal S43 each comprise a sequence of binary words, with a new value being output every clock cycle. According to one example, the filter 43 operates according to the same clock signal CLK that specifies the sampling of the input signal V42, which represents the current measurement signal CS, in the ADC 42. According to one example, k denotes a sampling instant in a clock cycle, and k-1 denotes a sampling instant in a directly preceding clock cycle k. Thus, in equation (5), S43[k] denotes the filter value output in a clock cycle k, S43[k-1] denotes the filter value output in the preceding clock cycle k-1, and S42[k] denotes the ADC output value output in clock cycle k.Comparing equations (5) and (4c), it can be seen that the filter output signal S43 represents the weighted line temperature β·Tw[k] when the filter input signal S42[k] represents the square of the load current I. L represents.
[0045] An example of a filter 43 configured to generate the filter output signal S43 in accordance with equation (5) is shown in Fig. 11. This filter 43 includes an adder 431 that receives the ADC output signal S42 and the output signal of a feedback loop. The feedback loop includes a delay element 432 and a multiplier 433. The delay element 432 receives the filter output signal S43 and delays the filter output signal for one clock cycle. The multiplier 433 multiplies the delayed filter output signal S43 by 1-α, so that the output signal of the feedback loop is equal to (1-α)*S43[k-1]. Of course, the positions of the delay element 432 and the multiplier 433 in the feedback loop can be interchanged.
[0046] Fig. 12 shows a modification of the Fig. 11 shown filter 43. Instead of the multiplier 433, which multiplies the delayed filter output value S43[k-1] by 1-α, the filter shown in Fig. 12, the filter 43 includes a multiplier 433 that multiplies the delayed filter output value S43[k-1] by α, and a subtractor 435 that subtracts the output signal of the multiplier 434 from the delayed filter output value S43[k-1]. According to one example, α is 2 -N , where N is an integer. In this case, the multiplication performed by the multiplier 434 can be performed by a simple register shift operation. This is demonstrated by Fig. 13 explained.
[0047] Fig. Figure 13 shows an example of the delayed filter output value S43[k-1]. For illustrative purposes only, assume that the filter output values are binary words with twelve bits, of which eight bits represent the integer part and four bits represent the part of the output value that is less than one. The result of multiplying S43[k-1] by 2 -N(where in the example shown N=4) can be obtained by simply shifting the bits of S43[k-1] by N positions to the right.
[0048] Fig. 14 shows a modification of the Fig. 12 shown filter 43. In the Fig. 14, the delayed output value S43[k-1] is multiplied by a multiplier 436 by a factor A and subtracted from S43[k-1] only once in B clock cycles. In Fig. 14, this is represented by a switch 437 which is closed only once in B clock cycles, that is, when k mod B=0, where k denotes the clock cycles, mod denotes a modulo operation, and B denotes how many clock cycles may pass before the switch 436 turns on. Assuming that the load current I Ldoes not change significantly within B clock cycles, so that S43 is essentially constant over B clock cycles, the filter 43 calculates the output value S43[k] according to equation (5), where α=A / B. For example, A=2 -N , so that the multiplication performed by the multiplier 436 can be realized by a multiplication calculated from Fig. 13. However, using the switch 437 allows to have values of α that differ from 2 -N differentiate.
[0049] The Fig. 11, Fig. 12 and Fig. The filter explained in Figure 14, especially in combination with a logarithmic ADC, is capable of calculating a weighted temperature of the cable at a sampling time k based on additions and / or subtractions and does not require multiplication. In particular, it is not necessary to multiply the filter input signal S42[k], which is the square of the load current I Lrepresented when a logarithmic ADC is used, with line-dependent parameters such as R EL , R TH or α, as implied by equation (4a). Nevertheless, these line-dependent parameters are included in the filter output signal S43[k], which represents a weighted temperature of the line. More precisely, the filter output signal S43[k] represents a weighted temperature increase resulting from a current flowing through the line.
[0050] An operating mode of the filter 43 is in Fig. 15 shown. Fig. 15 shows time diagrams of the load current I L and the filter output signal S43. Due to the integrating behavior of the filter 43, the filter output signal S43 follows the load current I L . If the load current I Lis constant over a certain period of time, the filter output signal S43 approaches a signal level that corresponds to the respective level of the load current I L is assigned. In the Fig. In the example shown in Figure 15, variations in the signal level of the filter output signal S43 result from variations in the load current I L above the Fig. 15. The dashed area in the Fig. The timing diagram shown in Figure 15 represents a period of time during which the electronic switch 2 frequently switches on and off. During this period, the filter output signal S43 is essentially constant. Fig. Figure 15 shows normal operation of the electronic switch and the load Z connected to it. In this example, the load current has a predefined current level when the electronic switch 2 is switched on and is 0 when the electronic switch 2 is switched off. The temperature of the line, which is represented by the filter output signal, varies depending on the load current I L , in particular depending on a current-time characteristic of the load current, that is, depending on the current level and how long a certain level is present. If the electronic switch 2 is switched off long enough for the line to reach the current generated by the load current I Lintroduced energy is dissipated, the temperature of the cable corresponds to the ambient temperature of the cable. It should be noted that the ambient temperature is not taken into account in the filter output signal S43. The filter output signal S43 only represents temperature changes in the cable caused by the introduction of energy via the load current I L and dissipate energy through heat radiation.
[0051] The Fig. The timing diagrams shown in Figure 15 represent a scenario in which the electronic switch 2 was switched off long enough to allow the filter output signal S43 to drop to a starting value S430, or in which the load current I L long enough below a value determined by the lowest reference voltage (for example VREF1 in Fig. 9) represented current level of ADC 43, to maintain filter output signal S43 at the starting value or to allow the starting value S430 to decrease. The starting value is, for example, 0. When electronic switch 2 turns on, the filter output signal rises and, if the current persists long enough, approaches a signal level defined by the current level. The rate at which filter output signal S43 rises and the signal level it approaches after a certain time depend on the current level of the load current I L .
[0052] Fig. 16 shows an example of the comparator circuit 44. In this example, the comparator circuit 44 comprises a (digital) comparator 441 which receives the filter output signal S43 and a threshold signal S43 TH Referring to the above, the filter output signal S43 represents temperature changes resulting from the load current I Land the dissipated heat. The ambient temperature of the line is not taken into account in the filter output signal S43. The absolute temperature of the line is given by the ambient temperature plus the temperature difference represented by the filter output signal S43. The threshold signal S43 TH represents a maximum temperature difference that results from the load current I L may occur in the cable. If the filter output signal S43 exceeds the temperature threshold S43 TH reached, the comparator circuit 4 generates a protection level (deactivation level) of the first protection signal S4 to turn off the electronic switch. According to one example, the threshold signal S43 represents THa difference between a maximum temperature that the line can withstand and the maximum ambient temperature that can occur in the area surrounding the line in a normal operating scenario. In this example, the line can only reach the maximum temperature when the ambient temperature is at its maximum. If the ambient temperature is below the maximum, the absolute temperature of the line is below the maximum temperature if the filter output signal S43 exceeds the threshold S43. TH reached and the comparator circuit 44 switches off the electronic switch 2. In the Fig. 16, the comparator 441 receives the filter output signal S43 at a non-inverting input and the threshold signal S43 TH at an inverting input. The first protection signal S4 is available at an output of comparator 441.
[0053] Referring to the above, the filter output signal S43[k] represents a weighted sum of the filter temperature Tw[k], where the weighting factor β includes line parameters such as R EL , R TH and α. Thus, according to an example, the threshold signal S43 TH also depends on these line parameters, so that S43 TH may vary for different types of cables.
[0054] Fig. 17 shows two examples illustrating the protection function provided by the protection circuit 4. Fig. Figure 17 shows characteristic curves of cables with different cross-sections. In particular, Fig. 17 I 2t-curves of the individual lines. Each of these curves represents several currents and the times associated with each current. The time associated with a current is the time the line can withstand the current without being damaged or destroyed. The individual curves are based on equation I 2 L·t = c , where c is a constant that depends on the cross-sectional area of the respective cable and the temperature change that the cable can withstand. In general, the time a cable can withstand a certain current increases as the cross-sectional area increases. Fig. 17, the curve labeled 111 represents the characteristic curve of a first line with a first cross-sectional area, and the curve labeled 121 represents the characteristic curve of a second line with a second cross-sectional area that is larger than the first cross-sectional area. Curve 110, drawn in dashed lines, illustrates the tripping curve of a first protection circuit 4 adapted to the first line, and curve 120, drawn in dashed lines, illustrates the tripping curve of a first protection circuit 4 adapted to the second line. Referring to the above, the first protection circuit 4 can be configured to protect a specific line by adjusting α in the filter 43 and S43 THin the comparator circuit 44. The "tripping curve" represents several currents and times associated with the respective currents, wherein the time associated with a current is the time for which the first protection circuit 4 allows the respective current to flow before switching off the electronic switch 2 via the control circuit 3.
[0055] As shown by Fig. As can be seen from Figure 17, the first protection circuit 4 protects the respective line, that is to say, the first protection circuit 4 switches off the first electronic switch 2 in any case before a certain current flows long enough to reach the time period assigned to this current by the characteristic curve of the line.
[0056] In Fig. 17, the curve 130 represents the tripping curve of the overcurrent protection circuit 53. The overcurrent protection circuit 53 switches off the first electronic switch in any case when the load current reaches a maximum current level ILMAX reached. When the first protection circuit 4 and the overcurrent protection circuit 53 are active, the first protection circuit 4 can switch off the electronic switch 2 at currents lower than the maximum current level I LMAX if these currents flow longer than permitted (that is, longer than defined by the respective tripping curve), and the overcurrent protection circuit 53 prevents the load current I L above the maximum current level I LMAX increases.
[0057] Referring to the above, the ADC 42 samples the input signal V42, which represents the current measurement signal CS, at sampling times specified by the clock signal CLK. The ADC output signal S42 is a good representation of the current measurement signal CS, and thus of the load current I L , if a frequency of the load current I Lis lower than half the sampling frequency. This is in accordance with the Nyquist theorem. However, if a frequency of the load current I L higher than half the sampling frequency, situations may occur where the ADC output signal S42 exceeds the load current I L not correctly represented. This is shown by Fig. 18 explained.
[0058] Fig. 18 shows a time diagram of the load current I L according to an example. In this example, the load current I L a periodic signal with a frequency equal to the sampling frequency. In addition, Fig. 18 shows a timing diagram of the clock signal CLK, which specifies the sampling of the current measurement signal CS in the ADC 42. For illustrative purposes only, it is assumed that the current measurement signal CS is sampled by the ADC 42 each time signal pulses of the clock signal CLK have a rising edge. Sample values obtained in this way are shown in Fig. 18 by circle symbols. In the present example, a phase shift between the oscillating load current I L and the clock signal CLK so that the load current I L is sampled when the load current I L has a local minimum. In this case, a load current represented by the ADC output signal S42 is smaller than an average load current through the cable. If the phase shift of the clock signal CLK relative to the load current I L For example, if the current measurement signal CS is sampled each time the signal level is close to a local maximum, the load current I represented by the ADC output signal S42 is L higher than the average load current. In Fig. In Figure 18, this is represented by signal pulses drawn in dashed lines and sample values represented by square symbols. This problem can be avoided by increasing the sampling frequency. However, increasing the sampling frequency requires processing more samples in a predefined time period.
[0059] An approach that does not increase the number of samples to be processed in a predefined time period, but solves the problem explained above, is in Fig. 19. In this example, there is a sequence of temporally consecutive sampling periods, which can have the same length. The current measurement signal CS (represented by the ADC input signal V42) is sampled once in each of these sampling periods. However, the sampling times within the individual sampling periods are randomly or pseudorandomly selected. Fig. 19, this is illustrated by signal pulses of a clock signal CLK', which have different time positions within the individual sampling periods. In this example, the individual sampling periods each have a duration T. The "time position" of a signal pulse (clock pulse) is a time position relative to a beginning or an end of the respective sampling period. Each of these sampling periods is in Fig. 19 by their duration T. By randomly or pseudorandomly selecting the sampling times within the individual sampling periods T, different samples of the current measurement signal CS are obtained, even if the current measurement signal CS has a frequency that is equal to the frequency with which the individual sampling periods begin. The samples that are obtained when using a clock signal CLK', as shown in Fig. 19 are shown in Fig. 18 by horizontal lines. As can be seen, these samples are obtained at different positions of a period of the current measurement signal CS, so that these samples provide a better representation of the current measurement signal CS.
[0060] According to one example, a modified clock signal CLK' of the Fig. 19 shown type from a Fig. The periodic clock signal CLK shown in Figure 18 is obtained by dividing each sampling period T into n3 subperiods, where the duration of each of these subperiods is given by T / n3. In each sampling period T, one of these subperiods is randomly or pseudorandomly selected, and a signal pulse is generated in the respective subperiod. Fig. 20 shows a circuit 45 designed to generate the clock signal CLK' in this way.
[0061] This circuit 45 is included, for example, in the first protection circuit 4 and receives the clock signal CLK and supplies the modified clock signal to the ADC 42. In this case, the Fig. 9, the sampling and encoding circuit 442 uses the modified clock signal CLK' instead of the clock signal CLK. The filter 43 can still operate based on the clock signal CLK.
[0062] Referring to Fig. 20, the circuit 45 comprises a series (chain) of delay elements 4511-451 n3 , which operate at n3 times the frequency of the clock signal CLK. These delay elements are connected in series. Operating the delay elements 4511-451 n3At n3 times the frequency of the clock signal CLK means that a signal pulse of the clock signal CLK received by a first 4511 of the delay elements "runs" through the series of delay elements at n3 times the frequency of the clock signal CLK. This means that the signal pulse is output by the first delay element 4511 at T / n3 after being input to the chain of delay elements, is output by a second 4512 of the delay elements at 2T / n3 after being received at the input, and so on. This is in Fig. 21 illustrates timing diagrams of the clock signal CLK and output signals of the individual delay elements in one period T of the clock signal.
[0063] The circuit 45 also includes several logic gates 4540-454 n3 , which are, for example, AND gates. One 4540 of these logic gates receives the clock signal CLK and each of the other 4541-454 n3This logic gate receives the output signal S4511-S451 n3 of a respective delay element 4511-451 n3 and one bit of a selection signal S453. The selection signal S453 is generated by an encoder based on a random or pseudo-random signal S452 generated by a signal generator 452. The random or pseudo-random signal S452 comprises, for example, a sequence of binary words, wherein one binary word is output in each sampling period and defines the subperiod in which the signal pulse can be generated. For example, if a sampling period is divided into 8 (= n3+1) subperiods, the binary words of the signal S452 can have 3 bits. In general, the binary words output by the signal generator 452 have at least log2(n3+1) bits if a sampling period is divided into n3+1 subperiods.
[0064] The encoder 453 generates a respective binary word with n3+1 bits of the selection signal S453 based on each binary word received from the signal generator 452. Each of these n3+1 bits is processed by a respective logic gate 4540-454 n3 This binary word selects either the clock signal CLK or one of the output signals S4511-S451 in each clock cycle n3 the delay elements 4511-451 n3 to be the modified clock signal CLK', whereby the selection can change from clock cycle to cycle. According to one example, the encoder 453 generates the binary word such that only one of these bits is "1" and the other bits are "0". The output signal obtained by the AND gate, which receives the "1" in a clock cycle, is the modified clock signal CLK' in that clock cycle. The modified clock signal CLK' is output by another logic gate 455, which is connected to the outputs of the logic gates 4540-454 n3The other logic gate 455 is, for example, an OR gate.
[0065] According to one example, signal generator 452 is a pseudorandom signal generator and includes a linear feedback shift register (LFSR). According to one example, the signal generator receives the clock signal CLK and generates a new pseudorandom binary word in each clock cycle. Output values of an LFSR are non-random. In particular, a correlation may exist between multiple consecutive output values. To avoid a correlation between consecutive output values obtained by encoder 453, according to one example, the LFSR receives a clock signal with a frequency higher than the clock signal CLK, and only every mth output value of the LFSR is used to generate selection signal S453. According to one example, m is 5, 7, or higher than 7. Alternatively, the encoder uses only every mth output value obtained from signal generator 452 to generate the modified clock signal CLK`.
[0066] According to one example, the control circuit 1, and thus the electronic circuit, can operate in at least two different operating modes. According to one example, the at least two different operating modes comprise a first operating mode and a second operating mode. According to one example, a set of functions performed by control circuit 1 in the second operating mode is reduced compared to a set of functions performed by the control circuit in the first operating mode. According to one example, the control circuit 1 is configured to perform a set of basic functions in the second operating mode and is configured to perform the set of basic functions and at least one additional function in the first operating mode. Thus, the power consumption of the control circuit 1 is lower in the second operating mode than in the first operating mode.
[0067] According to one example, the set of basic functions of the control circuit 1 comprises controlling the electronic switch 2 based on the input signal S IN , monitoring the load current I L and at least one of generating the overtemperature protection signal S52 and generating the overcurrent protection signal S53. According to one example, the at least one additional function includes generating the first protection signal (line protection signal) S4. Hereinafter, the first operating mode is also referred to as line protection mode, and the second operating mode is also referred to as idle mode.
[0068] Fig. Figure 22 shows an example of the control circuit 1, which is configured to operate in one of at least two different operating modes. In this example, the control circuit 1 comprises an operating mode controller 6, which is configured to select the respective operating mode. According to one example, the control circuit 1 operates at least as a function of the load current I L into the second operating mode, especially when the load current I L falls below a predefined current threshold. This current threshold is referred to as the idle mode threshold. According to one example, the operating mode controller 6 uses additional criteria to transition to the second operating mode. These criteria include, for example, the output signal S43 of the filter 43 (in Fig. 22 not shown), which is included in the protection circuit 4, a temperature difference between a temperature in the electronic switch 2 and a temperature in the control circuit 1, and an ambient temperature. A signal representing the temperature difference is in Fig. 22 is called dT, and a signal indicating the ambient temperature is in Fig. 22 as aT. According to one example, the control circuit transitions to the second operating mode only if at least one of the following criteria is met: (a) the filter output signal S43 is zero; (b) a temperature difference dT between the temperature in the electronic switch 2 and the temperature in the control circuit 1 is below a predefined temperature threshold; (c) the ambient temperature is below a predefined temperature threshold; (d) an on-resistance of the electronic switch 2 is higher than a predefined resistance threshold. According to one example, the temperature difference dT is measured using the temperature sensor in the overtemperature detection circuit 52 and another temperature sensor (not shown in the drawings) in the control circuit 1.According to one example, the ambient temperature is measured by the temperature sensor in control circuit 1 or by the temperature sensor in the overtemperature protection circuit. The on-resistance of electronic switch 2 is the electrical resistance of the electronic switch in the on state. The on-resistance is given by the load path voltage V2 of electronic switch 2 in the on state divided by the load current, R. ON =V2 / I L . According to one example, the control circuit 1 is designed to control the on-resistance R ON based on the load path voltage V2 measured by the overvoltage protection circuit and the current measurement signal CS. If the on-resistance R ON is below the predefined resistance threshold, this may be an indication that the electronic switch 2 is damaged, so that the control circuit 1 does not go into standby mode.
[0069] The operating mode controller 6 can receive the current measurement signal CS or the output signal S42 from the ADC 42 (see Fig. 8) in the first protection circuit 4 to obtain the load current I L and to operate the control circuit 1 in one of the first and second operating modes based on this signal S42 or CS. According to one example, the operating mode controller 6 generates a status signal S IDLE , which indicates whether the control circuit 1 is in idle mode or in line protection mode. This status signal is also referred to below as the internal status signal. A status circuit 7 is designed to transmit the internal status signal S IDLE and applied to an output pin P STATUS the control circuit 1 a status signal S STATUS In addition to the internal status signal S IDLE the status circuit 7 receives the ADC output signal S42 from the ADC 42 (in Fig. 22 not shown) in the first protection circuit (line protection circuit) 4. The ADC 42 can be a linear ADC or a logarithmic ADC.
[0070] According to one example, the status circuit 7 is designed to generate the status signal S STATUS so that the status signal S STATUS has a wake-up pulse when the operating mode changes from the second mode to the first mode and is based on the ADC output signal S42 after the wake-up pulse. This is in Fig. 23 illustrates which time diagrams of the load current I L , the internal status signal S IDLE and the external status signal S STATUS According to one example, the operating mode changes from the second operating mode to the first operating mode when the load current I L above a predefined current threshold I L-TH According to a (in Fig. 23) example, the status circuit operates in a clocked manner, as in Fig. 23 by the clock cycles T. In this example, the status circuit 7 generates the wake-up pulse in the clock cycle following the clock cycle in which the load current exceeds the threshold I L-TH In addition, the internal status signal S IDLE from a signal level indicating that the control circuit 1 is in idle mode to a signal level indicating that the control circuit 1 is in line protection mode at the beginning of the next clock cycle after the load current I L the threshold I L-TH For clarification purposes, the Fig. In the example shown in Figure 23, the idle mode is represented by a high signal level and the line protection mode is represented by a low signal level of the internal status signal S IDLE .
[0071] If the internal status signal S IDLE'indicates that the operating mode has changed to line protection mode, the status signal 7 generates a wake-up pulse. According to one example, this wake-up pulse is used to "wake up" a microcontroller that, for example, receives the input signal S IN of the control circuit 1. After the wake-up pulse, the status circuit 7 sends the ADC output signal S42 to the status output P STATUS For example, using the ADC output signal S42, the microcontroller can perform an external protection function. An "external protection function" is a protection function performed by an external circuit, such as a microcontroller. Based on this external protection function, the microcontroller can turn off the electronic switch 2 by generating an off level of the input signal S IN. According to one example, the wake-up pulse has a signal level suitable for detection by the microprocessor in sleep mode.
[0072] Fig. 24 shows a modification of the Fig. 22 shown control circuit 1. In this control circuit 1, the status circuit 7 is designed to generate an enable signal S ST_ _ ENABLE via another input node P ST_ENABLE This enable signal S ST_ENABLE is generated, for example, by the external circuit (not shown) that sends the status signal S STATUS In this example, the status circuit 7 is designed to provide status information via the status signal S STATUS in standby mode and in line protection mode only on request by the release signal S ST_ENABLE This in Fig. 25 illustrates the time diagrams of the load current I L , the external status signal ST STATUS, the internal status signal S IDLE and the release signal S ST_ENABLE are shown. With reference to Fig. 25, the enable signal S ST_ENABLE have two signal levels, a first signal level that enables the status circuit 7 to output status information, and a second level that deactivates the status circuit to output the status information. For the purpose of explanation only, Fig. 25, the level that enables the status circuit 7 is a high level and the level that deactivates the status circuit 7 is a low level. Referring to Fig. 25, the status circuit 7 outputs a signal pulse indicating that the control circuit 7 is in idle mode when it is in idle mode by the enable signal S ST_ENABLEThis signal pulse is different from the wake-up pulse. According to one example, a level of the signal pulse indicating sleep mode is lower than a level of the wake-up pulse. When in line protection mode by the enable signal S ST_ENABLE is enabled, the status circuit 7 outputs the ADC output signal S42 as the status information. Regardless of the signal level of the status signal S ST_ _ ENABLE The status circuit 7 outputs the wake-up pulse when the control circuit 1 changes from idle mode to line protection mode. This change is represented by the internal status signal S IDLE changes its signal level.
[0073] According to an example, the proportionality factor k differs ILIS in standby mode and in line protection mode. According to an example, k ILISin standby mode lower than in line protection mode, so that for a given signal level of the load current I L , the measuring current I S (which can be equal to the current measurement signal CS), and thus the ADC output signal, is higher in idle mode than in line protection mode. This allows the smaller currents occurring in idle mode to be measured precisely. Varying the proportionality factor depending on the operating mode is possible in Fig. 24 in that the operating mode controller 6 outputs the control signal S29 which, with reference to Fig. 7 the proportionality factor k ILIS The change of the proportionality factor k ILIS when the control circuit changes from the second operating mode to the first operating mode, is shown schematically in Fig. 25 illustrates.
[0074] With reference to the above, one or more functions that the control circuit 1 has in line protection mode can be deactivated in standby mode in order to reduce the power consumption of the control circuit 1 in standby mode compared to line protection mode. Fig. 24, the control circuit 1 may comprise a power supply circuit 54 connected between the supply nodes for the positive supply potential V BAT and ground potential GND. This power supply circuit 54 is configured to generate the supply voltages of the individual functional blocks of the control circuit 1 based on the supply voltage available between the supply nodes. According to one example, the operating mode controller 6 is configured to keep some of the functional blocks activated during idle operation by controlling the power supply circuit 54.
[0075] According to one example, the control circuit 1 can operate in additional modes besides the first mode (line protection mode) and the second mode (quiescent mode). Some of these additional modes are described below with reference to Fig. 26 explained. Fig. 26 shows a modification of the Fig. 22 shown control circuit, the status enable input P ST ENABLE is optional, and therefore in Fig. 26 shown in dashed lines. The Fig. The control circuit 1 shown in Figure 26 includes a further input Pcc, which is referred to below as the capacitive charging input. This input Pcc is coupled to the operating mode controller 6 and serves to operate the control circuit 6 in a third operating mode, which is referred to below as capacitive charging mode. In idle mode or line protection mode, which were previously explained, the overcurrent protection circuit 53 switches off the electronic switch 2 when the load current I L a predefined overcurrent threshold is reached. For example, if the load Z is a capacitive load that has been discharged before the electronic switch 2 switches on, a high inrush current may flow when the electronic switch 2 switches on, so that the load current I L can reach the overcurrent threshold before the capacitive load has been charged and the load current I LSuch operation of the control circuit 1 in standby mode or line protection mode is Fig. 27A illustrates.
[0076] Fig. 27A shows timing diagrams of the input signal S IN , the load current I L , the control signal S3 and a capacitive charging signal Scc received at the input Pcc. In idle mode or line protection mode, the capacitive charging signal Scc has a signal level that indicates that the control circuit 1 should not be operated in capacitive charging mode. For clarification purposes, Fig. 27A, this signal level is a low level. As shown in Fig. 27A, the control circuit 1 switches off the electronic switch 2 in line protection mode or standby mode when the load current I L an overcurrent threshold OC is reached.
[0077] Fig. Figure 27B shows timing diagrams of the same signals as shown in Fig. 27A, in capacitive charging mode. In this mode, the capacitive charging signal Scc has a signal level that indicates that it is desired to operate the control circuit in capacitive charging mode. For illustrative purposes only, this signal level is Fig. 27B, a high level. In capacitive charging mode, the control circuit 1 is designed to control the load current I L to a current threshold OL. This current threshold OL can be below the overcurrent threshold OC.
[0078] To determine the load current I L To regulate the voltage, the control circuit 1 can have a controller 8 which Fig. 26. This regulator 8 is connected between the control node 21 and the second load node 23 and is designed to control the drive voltage, which in a MOSFET is the gate-source voltage, depending on the load current I L To obtain information about the load current I L, the controller receives either the current measurement signal CS (as shown) or the output signal S42 of the ADC in the first protection circuit 4. The controller 8 is designed to regulate the control voltage so that the load current I L is equal to the desired current level in capacitive charging mode. According to an example, the regulator is activated by the operating mode controller when the load current I L the current threshold OL has been reached. For this purpose, the operating mode controller 6 receives the current measurement signal or the output signal S42 of the ADC. When the controller 8 is active, it regulates the control voltage V GS of the electronic switch such that the load current is limited to the current threshold OL.
[0079] According to one example, the control circuit 1 is designed to protect different types of lines in line protection mode. In this case, the control circuit 1 comprises a further input Pw, which is referred to below as the line type input. A signal Sw received at this line type input Pw sets the first protection circuit 4 to the respective type of line represented by the signal Sw. In particular, the signal Sw can control the parameter α in the filter 43 and / or the threshold signal S43. TH in the comparator circuit 44 in the manner explained.
[0080] According to one example, the control circuit 4 is designed to control the load current I L to monitor when the load current is below the idle threshold. “To monitor” may include the load current I Lwith a leakage current threshold that is below the idle operation threshold and different from zero. Comparing the load current with a leakage current threshold may comprise comparing the current measurement signal CS with a respective threshold. According to one example, the control circuit 1 is configured to output a signal indicating that an excessive leakage current is present if a load current I L detected that is higher than the leakage current threshold. According to one example, this signal is transmitted via the status output P STATUS output. According to one example, the threshold that is compared with the current measurement signal CS to generate the excessive leakage current signal is adjustable. According to another example, this threshold is fixed, but the control circuit 1 is designed to ILIS-factor so that the current level of the leakage current that triggers the generation of the excessive leakage current signal exceeds the k ILIS -factor can be set.
[0081] Fig. Figure 28 shows a control circuit 1 according to another example. In addition to the first operating mode (line protection mode) and the second operating mode (quiescent mode), the Fig. 28 can be operated in a further operating mode, which is referred to below as test mode. For this purpose, the control circuit 1 comprises an input pin P TEST , which is referred to as the test pin. About the test pin P TEST the control circuit 1 is designed to generate a test signal S TEST The test signal S TESTindicates whether control circuit 1 should be operated in test mode. According to an example, several functions of control circuit 1 can be tested in test mode. In this example, the test signal S TEST that it is desired to test control circuit 1 and which of the functions should be tested. Fig. 28 includes the control circuit shown in Fig. 26 explained status output P STATUS . Via the status output P STATUS The control circuit 1 can output the current measurement signal CS or the ADC output signal S42 in an operating mode that differs from the test mode, such as line protection mode. This is explained above with reference to Fig. 26. In the Fig. 28 shown control circuit 1 is not only the status circuit 7, but also the test circuit 9 connected to the status output P STATUSThe test circuit 9 receives the current measurement signal CS or the ADC output signal S42 (as shown), the input signal S IN and signals from the function blocks to be tested.
[0082] An example of how the control circuit 1 can work in test mode is shown in the Fig. 29A-29C. These figures show timing diagrams of the test signal S TEST . According to an example, the test signal S TEST either a constant level which is maintained at the Fig. 28 is a low level, or comprises periodically occurring signal pulses. The constant level indicates that it is not desired to operate the control circuit 1 in test mode. The signal pulses indicate that it is desired to operate the control circuit in test mode. According to one example, various functions can be tested in test mode. In this example, the function to be tested is defined by a frequency at which the pulses occur. According to one example, not only the frequency at which the pulses occur, but also their duration varies depending on the function to be tested. According to one example, the duration of the signal pulses is 50% of a cycle period. Such pulses can be regarded as pulse-width modulated (PWM) pulses with a duty cycle of 50%.
[0083] For the sake of explanation, it is assumed that three different functions can be tested in test mode. Fig. 29A-29C show examples of timing diagrams showing the test signal S TEST to signal the function (function block) to be tested to the operating mode controller 6. These three different functions or function blocks include, for example, the overcurrent protection circuit 52 and its function, the overtemperature protection circuit 52 and its function, and a temperature delta function. The temperature delta function compares the above-explained temperature difference dT between the electronic switch 2 and the control circuit 1 with a temperature difference threshold. It should be noted that these are only examples of functions that can be tested. The operating mode controller 6 and the test circuit 9 are not limited to testing only these functions.
[0084] The test signal STEST For example, includes signal levels at a first frequency f1, as in Fig. 29A to test the overcurrent protection circuit 53, at a second frequency f2, as in Fig. 29B to test the over-temperature protection circuit 52, and at a third frequency f3, as shown in Fig. 29C to test the dT function. For clarification purposes, the Fig. 29A-29C shown example f1=f2f2=3f3. In these figures, in addition to the timing diagrams of the test signal S TEST the time periods during which the control circuit 1 is in test mode are displayed.
[0085] With reference to the above, the overcurrent protection circuit can be tested in test mode. The overcurrent protection circuit 53 receives the current measurement signal CS and compares the current measurement signal CS with an overcurrent threshold. To test the function of the overcurrent protection circuit 53, the operating mode controller 6 is configured to set the overcurrent threshold to a level determined by the load current I L is reached when a rated current flows through the electronic switch 2. To test the overcurrent protection circuit 53, the electronic switch 2 switches as specified by the input signal S IN wherein the overcurrent protection circuit 53 passes the test when the overcurrent protection circuit 53 generates a protection level of the overcurrent protection signal S53 in the test mode.
[0086] According to a further example, the control circuit 1 is configured to test the overtemperature protection circuit 52 during test operation. The overtemperature protection circuit 52 is configured to measure the temperature of the electronic switch 2 and compare the measured temperature with an overtemperature threshold, wherein the overtemperature protection circuit 52 generates a protection level of the overtemperature protection signal S52 when the measured temperature is above the overtemperature threshold. To test the overtemperature protection circuit 52, the electronic switch 2 switches under the control of the input signal S INand the overtemperature threshold is reduced so that under normal conditions, such as load current flowing through the electronic switch 2, the measured temperature reaches the reduced threshold. The overtemperature protection circuit 52 passes the test when the measured temperature reaches the reduced temperature threshold, so that the overtemperature protection signal S52 has the protection level during the test operation.
[0087] To test the temperature difference protection circuit 54, the electronic switch 2 switches controlled by the input signal S INsimilarly, and the temperature difference threshold is reduced so that under normal operating conditions, such as a rated current flowing through the electronic switch 2, the measured temperature difference reaches the reduced threshold. The temperature difference protection circuit 54 passes the test when the measured temperature reaches the reduced temperature threshold, so that the temperature difference protection signal S54 has the protection level during the test operation.
[0088] The test circuit 9 is designed to measure the signal level of the signal S STATUS on pin P STATUSto vary depending on the test result. According to one example, the test circuit 9 outputs a fail level if a test is not passed and a pass level if a function has been successfully tested. According to one example, different pass levels are output for different functions to be tested. For example, a first pass level is output if the overcurrent protection circuit 53 has been successfully tested, a second pass level is output if the overtemperature protection circuit 52 has been successfully tested, and a third pass level is output if the temperature delta function has been successfully tested. Examples of the fail levels and the pass levels are shown in Fig. 29 illustrates.
[0089] Fig. Figure 31 shows timing diagrams of the signals in test mode. In particular, Fig. 31 Timing diagrams of the test signal S TEST , of the input signal SIN and the status signal S STATUS The function that is tested in specific time periods is in Fig. 31 is also shown. For illustrative purposes only, Fig. 31 shows the timing diagrams in two different test scenarios. A first test scenario, which concerns the testing of the overcurrent protection function, begins when the operating mode controller, based on the test signal S TEST has detected which of the functions is to be tested. According to one example, the operating mode controller is configured to detect the function to be tested after one period of the PWM test signal. In overcurrent test mode, the test circuit 9 outputs the first pass level when the input signal S IN has an on level and if the overcurrent protection circuit 53 passes the test. If the overcurrent protection circuit 53 fails the test, the test circuit 9 outputs an on level signal during a time period in which the input signal S INhas the on level, the fail level. Accordingly, in the overtemperature test mode, the test circuit 9 outputs the second pass level when the input signal S IN has an on level and if the over-temperature protection circuit 52 passes the test.
[0090] According to an example as it is in Fig. 31, the protection circuit 9 outputs a signal level different from zero at the status output S STATUS , which indicates that control circuit 1 is in test mode. This signal level can be referred to as the test level. According to one example, control circuit 1 outputs the test level as soon as control circuit 1 enters test mode. This test level is different from the fail level and the pass levels.
[0091] In the examples explained above, the control circuit 1 comprises an input and is designed to control the electronic switch 2 based on a signal level of the input signal S received at the input IN According to another example, this input is omitted and the control circuit controls the electronic switch 2 based on a supply voltage received by the control circuit. This is explained below using Fig. 32. The Fig. The electronic circuit shown in Figure 32 is based on the Fig. 26. However, the concept of controlling the electronic switch 2 based on the supply voltage instead of the input signal S IN can also be applied to any of the other electronic circuits explained above.
[0092] At the Fig.In the electronic circuit shown in Figure 32, a power supply circuit 54 receives the supply voltage. According to one example, the control circuit 1 is configured to turn on the electronic switch 2 as soon as the supply voltage received by the power supply is high enough to supply the other circuits, in particular the drive circuit 3, in the control circuit 1. Accordingly, the control circuit 1 is configured to turn off the electronic switch 2 when the supply voltage drops below a certain supply threshold.
[0093] The protection functions explained above, such as the line protection function, the overcurrent protection function, or the overtemperature protection function, can be implemented in the control circuit in the same way as explained above. That is, the electronic switch 2 is turned off when one of the protection signals has the protection level. According to one example, the control circuit 1 keeps the electronic switch 2 in the off state after it has been turned off based on one of the protection signals until the control circuit 1 is reset. In this example, resetting the control circuit 1 comprises reducing the supply voltage to below the supply threshold and increasing the supply voltage back above the supply threshold. According to one example, the control circuit is only reset if the supply voltage is below the supply threshold for a predefined period of time.
[0094] Some of the aspects explained above include: A1. An electronic circuit comprising: an electronic switch comprising a load path; and a control circuit configured to control the electronic switch, wherein the control circuit is configured to operate in one of a first operating mode and a second operating mode at least based on a level of a load current of the electronic switch, wherein the control circuit is configured in the first operating mode to generate a first protection signal based on a current-time characteristic of the load current and to control the electronic switch based on the first protection signal, and wherein the control circuit is configured to generate a status signal such that the status signal has a wake-up pulse when the operating mode changes from the second operating mode to the first operating mode, and has a signal level representing a level of the load current after the wake-up pulse. A2. The electronic circuit according to paragraph A1, wherein the control circuit is configured to continuously output the signal level representing the level of the load current at a status output of the electronic circuit in the first operating mode. A3. The electronic circuit according to paragraph A1 or A2, wherein the control circuit is adapted to receive an interrogation signal; and, in the first operating mode, to output the signal level representing the level of the load current only upon request by the interrogation signal. A4. The electronic circuit according to paragraph A3, wherein the control circuit is further configured to output, in the second operating mode, a status pulse different from the wake-up pulse upon request by the interrogation signal. A5. The electronic circuit according to any one of paragraphs A1 to A4, wherein the control circuit is configured to change operation from the second operating mode to the first operating mode when the load current reaches a predefined threshold. A6. The electronic circuit according to any one of paragraphs A1 to A5, wherein the control circuit comprises a first protection circuit configured to generate the first protection signal, and comprising: an analog-to-digital converter (ADC) configured to receive an ADC input signal representing the load current and to output an ADC output signal having a sequence of values such that each of these values represents a respective sample of the ADC input signal; a filter configured to receive the ADC output signal and output a filter signal; and a comparator circuit configured to generate the first protection signal based on comparing the filter output signal with a predefined threshold. A7. The electronic circuit of paragraph A6, wherein the ADC is a logarithmic ADC configured to generate the ADC output signal such that the values of the sequence of values represent the logarithm of a respective sample of the ADC input signal. A8. The electronic circuit according to paragraph A6, wherein the control circuit is configured to output a signal level representing a level of current through the load path, comprises the control circuit being configured to output the ADC output signal. A9. The electronic circuit according to any one of paragraphs A1 to A8, wherein the control circuit further comprises an input configured to receive an input signal, and wherein the control circuit is configured to control the electronic switch in both the first operating mode and the second operating mode based on the input signal. A10. The electronic circuit according to any one of paragraphs A1 to A9, wherein the control circuit is configured to generate the first protection signal in the first operating mode and not in the second operating mode. A11. The electronic circuit according to any one of paragraphs A1 to A10, further comprising: a current measuring circuit configured to measure the load current and to provide a current measuring signal proportional to the load current, wherein the control circuit is configured to operate the electronic switch in a first operating mode or a second operating mode based on the load current, comprising the control circuit being configured to operate the electronic circuit based on the current measuring signal in the first operating mode or the second operating mode based on the current measuring signal. A12. The electronic circuit according to paragraph A11, wherein the control circuit comprises an ADC configured to provide an ADC output signal based on the current measurement signal, and wherein the control circuit is configured to operate in the first operating mode or the second operating mode based on the current measurement signal, comprises the control circuit being configured to operate in the first operating mode or the second operating mode based on the ADC output signal. A13. The electronic circuit according to paragraph A11, wherein the control circuit is configured to set a proportionality factor between the load current and the current measurement signal such that it has a first value in the first operating mode and a second value which is lower than the first value in the second operating mode. A14. A method comprising: generating a first protection signal based on a current-time characteristic of a load current through a load path of an electronic switch in an electronic circuit; operating the electronic circuit in one of a first operating mode and a second operating mode based at least on a level of the load current; and generating a status signal such that, when operation changes from the second operating mode to the first operating mode, the status signal has a wake-up pulse and, after the wake-up pulse, a signal level representing a level of the load current. A15. The method of paragraph A14, wherein generating the status signal in the first operating mode comprises continuously outputting the signal level representing the level of the load current. A16. The method of paragraph A14 or A15, wherein generating the status signal in the first operating mode comprises: receiving an interrogation signal by the electronic circuit; and outputting the signal level representing the level of the load current only upon request by the interrogation signal. A17. The method of paragraph A16, further comprising: issuing a status pulse different from the wake-up pulse upon request by the interrogation signal in the second mode of operation. A18. The method of any one of paragraphs A15 to A17, wherein operating the electronic circuit in one of the first operating mode and the second operating mode based at least on the level of the load current comprises: switching operation from the second operating mode to the first operating mode when the load current reaches a predefined threshold. A19. The method of any one of paragraphs A14 to A18, further comprising: receiving an input signal by the electronic circuit and controlling the electronic switch based on the input signal in both the first mode of operation and the second mode of operation. A20. The method of any one of paragraphs A14 to A19, further comprising: generating the first protection signal in the first operating mode and not in the second operating mode. A21. The method of any one of paragraphs A14 to A20, further comprising: measuring the load current and providing a current measurement signal proportional to the load current, wherein operating the electronic circuit in the first operating mode or the second operating mode based on the load current comprises operating the electronic circuit in the first operating mode or the second operating mode based on the current measurement signal. A22. The method of paragraph A21, wherein a proportionality factor between the load current and the current measurement signal has a first value in the first operating mode and a second value lower than the first value in the second operating mode. B1. An electronic circuit comprising: an electronic switch comprising a load path; a first protection circuit configured to generate a first protection signal based on a current-time characteristic of a load current through the load path of the electronic switch;and a control circuit configured to control the electronic switch based on the first protection signal, wherein the first protection circuit comprises: a logarithmic analog-to-digital converter (ADC) configured to receive an ADC input signal representing the load current and to output an ADC output signal having a sequence of values such that each of the values represents a corresponding sample value of the ADC input signal, a filter configured to filter the ADC output signal and output a filter output signal, and a comparator circuit configured to generate the first protection signal based on comparing the filter output signal with a predefined threshold; B2. The electronic circuit according to paragraph B1, wherein the filter is configured to calculate a weighted sum of a plurality of consecutive values of the ADC output signal and to generate the filter output signal based on this weighted sum. B3. The electronic circuit according to paragraph B2, wherein the filter is configured to calculate a weighted sum of a plurality of consecutive values of the ADC output signal, comprising calculating a value S43[k] of the filter output signal according to S43[k] = S42[k] + (1-α)*S43[k-1], where S42[k] is a value of the ADC output signal, S43[k-1] is a previous value of the filter output signal, and 1-α is a constant with 1-α <1. B4. The electronic circuit according to paragraph B3, wherein the filter is configured to calculate (1-α)·S43[k-1] based only on one or more register shift operations and one or more summations. B5. The electronic circuit according to any one of paragraphs B1 to B4, further comprising: a first input configured to receive an input signal, wherein the drive circuit is further configured to drive the electronic switch based on the input signal. B6. The electronic circuit according to paragraph B5, wherein the drive circuit is configured to drive the electronic switch based on the input signal when the first protection signal has an enable level, to turn off the electronic switch when the input signal has an on level and the first protection signal has a disable level, and after the electronic switch has been turned off by a disable level of the first protection signal, to turn on the first electronic switch when the first protection signal has an enable level and after the input signal has changed from an off level to an on level. B7. The electronic circuit according to any one of paragraphs B1 to B6, further comprising: a second input configured to receive a signal representing the predefined threshold. B8. The electronic circuit of any one of paragraphs B1 to B7, further comprising: a second protection circuit configured to generate a second protection signal based only on a current level of the load path current. B9. The electronic circuit according to any one of paragraphs B1 to B8, further comprising: a third protection circuit configured to generate a third protection signal based on a temperature of the electronic switch. B10. The electronic circuit according to any one of paragraphs B1 to B9, wherein the electronic switch comprises at least one component selected from a group consisting of: a MOSFET, an IGBT, a BJT, a JFET, and a GaN HEMT. B11. A method comprising: generating a first protection signal based on a current-time characteristic of a current through a load path of an electronic switch; and controlling the electronic switch based on the first protection signal, wherein generating the first protection signal comprises: receiving an ADC input signal representing the load current and outputting an ADC output signal having a sequence of values such that each of the values represents a corresponding sample of the ADC input signal, by a logarithmic analog-to-digital converter (ADC), filtering the ADC output signal and outputting a filter output signal by a filter, and generating the first protection signal based on comparing the filter output signal with a predefined threshold by a comparator circuit. B12. The method of paragraph B11, wherein filtering the ADC output signal by the filter comprises calculating a weighted sum of a plurality of consecutive values of the ADC output signal and generating the filter output signal based on the weighted sum. B13. The method of paragraph B12, wherein calculating the weighted sums of a plurality of consecutive values of the ADC output signal comprises calculating a value S43[k] of the filter output signal according to S43[k] = S42[k] + (1-α)*S43[k-1], where S42[k] is a value of the ADC output signal, S43[k-1] is a previous value of the filter output signal, and 1-α is a constant, with 1-α <1. B14. The method of paragraph B13, in which the calculation of (1-α)·S43[k-1] is based only on one or more register shift operations and one or more summations. B15. The method of any one of paragraphs B11 to B14, further comprising: controlling the electronic switch based on an input signal. B16. The method according to paragraph B15, wherein controlling the electronic switch based on the input signal comprises: switching the electronic switch based on the input signal when the first protection signal has an enable level, switching off the electronic switch when the input signal has an input level and the first protection signal has a disable level, and after the electronic switch has been turned off by a disable level of the first protection signal, switching on the electronic switch when the first protection signal has an enable level and after the input signal has changed from an off level to an on level. B17. The method of any one of paragraphs B11 to B16, further comprising: generating a second protection signal based only on a current level of the load path current. B18. The method of any one of paragraphs B11 to B17, further comprising: generating a third protection signal based on a temperature of the electronic switch. B19. The method of any one of paragraphs B11 to B18, wherein the electronic switch comprises at least one device selected from a group consisting of: a MOSFET; an IGBT; a BJT; a JFET; and a GaN HEMT. C1. An electronic circuit comprising: an electronic switch comprising a load path; a first protection circuit configured to generate a first protection signal based on a current-time characteristic of a load current through the load path of the electronic switch; and a drive circuit configured to drive the electronic switch based on the first protection signal, wherein the first protection circuit comprises an analog-to-digital converter (ADC) configured to receive an ADC input signal representing the load current, sample the ADC input signal once in each of a plurality of consecutive sampling periods, and output an ADC output signal comprising a sequence of values such that each of these values represents a respective sample value of the ADC input signal, wherein the ADC is configured to pseudorandomly select a sampling time in each sampling period. C2. The electronic circuit according to paragraph C1, wherein the ADC is configured to pseudorandomly select a sampling time in each sampling period, comprises the ADC being configured to select the sampling time based on an output signal of a linear feedback shift register. C3. The electronic circuit according to paragraph C1 or C2, wherein the ADC is configured to pseudo-randomly select a sampling instant in each sampling period, comprises the ADC being configured to select a sampling instant from a fixed number of sampling instants in each sampling period. C4. The electronic circuit according to any one of paragraphs C1 to C3, wherein the ADC is a logarithmic ADC. C5.The electronic circuit according to any one of paragraphs C1 to C4, further comprising: a first input configured to receive an input signal, wherein the drive circuit is further configured to drive the electronic switch based on the input signal. C6. The electronic circuit according to paragraph C5, wherein the drive circuit is configured to switch the electronic switch based on the input signal when the first protection signal has an enable level, to turn off the first electronic switch when the input signal has an on level and the first protection signal has a disable level, and after the electronic switch has been turned off by a disable level of the protection signal, to turn on the first electronic switch when the first protection signal has an enable level and after the input signal has changed from an off level to an on level. C7. The electronic circuit according to any one of paragraphs C1 to C6, wherein the electronic switch comprises at least one component selected from the group consisting of: a MOSFET, an IGBT, a BJT, a JFET, and a HEMT. C8. A method comprising: generating a first protection signal based on a current-time characteristic of a load current through a load path of an electronic switch, wherein generating the first protection signal comprises: receiving an ADC input signal representing the load current, sampling the ADC input signal once in each of a plurality of consecutive sampling periods, and outputting, by an analog-to-digital converter (ADC), an ADC output signal comprising a sequence of values such that each of the values represents a respective sample value of the input signal, wherein sampling the ADC input signal once in each of the plurality of consecutive sampling periods comprises sampling the ADC input signal at a pseudorandomly selected sampling time in each sampling period. C9. The method of paragraph C8, wherein sampling the ADC input signal at a pseudorandomly selected sampling time in each sampling period comprises selecting the sampling time based on an output signal of a linear feedback shift register. C10. The method of paragraph C8 or C9, wherein sampling the ADC input signal at a pseudorandomly selected sampling instant in each sampling period comprises selecting one sampling instant from a fixed number of sampling instants in each sampling period. C11. The method of any of paragraphs C8 to C10, wherein the ADC is a logarithmic ADC. C12. The method of any one of paragraphs C8 to C11, further comprising: controlling the electronic switch based on an input signal. C13. The method of paragraph C12, wherein controlling the electronic switch based on the input signal comprises: switching the electronic switch based on the input signal when the first protection signal has an enable level, switching off the electronic switch when the input signal has an on level and the first protection signal has a disable level, and after the switch has been turned off by a disable level of the first protection signal, switching on the electronic switch when the first protection signal has an enable level and after the input signal has changed from an off level to an on level. C14. The method of any one of paragraphs C8 to C13, wherein the electronic switch comprises at least one device selected from a group consisting of: a MOSFET; an IGBT; a BJT; a JFET; and a HEMT. D1. An electronic circuit comprising: an electronic switch comprising a load path; a control circuit configured to control the electronic switch, wherein the control circuit is configured to operate in one of at least two operating modes, wherein the at least two operating modes comprise a first operating mode and a second operating mode, wherein the control circuit is configured to perform a set of basic functions in the second operating mode and is configured to perform the set of basic functions and at least one additional function in the first operating mode, wherein the at least one additional function comprises generating a protection signal based on a current-time characteristic of a load current of the electronic switch and controlling the electronic switch based on the first protection signal. D2. The electronic circuit according to paragraph D1, wherein the control circuit is configured to control the electronic switch in the first operating mode and the second operating mode based on an input signal. D3. The electronic circuit according to paragraph D1 or D2, wherein the control circuit is configured to control the electronic switch in the first operating mode and the second operating mode based on a supply voltage received by the control circuit, wherein the supply voltage is configured to supply the control circuit. D4. The electronic circuit according to any one of paragraphs D1 to D3, wherein the group of basic functions comprises: monitoring the load current and switching off the electronic switch when the load current reaches a predefined overcurrent threshold. D5. The electronic circuit according to any one of paragraphs D1-D4, wherein the set of basic functions comprises: monitoring a temperature of the electronic switch and turning off the electronic switch when the temperature reaches a predefined overtemperature threshold. D6. The electronic circuit according to paragraph D4 or D5, wherein the at least two operating modes further comprise a third operating mode, wherein in the third operating mode the control circuit is configured to monitor the load current and to regulate the load current when the load current reaches the overcurrent threshold. D7. The electronic circuit according to paragraph D6, wherein the control circuit is configured to regulate the load current, comprises the control circuit being configured to regulate the load current to have a target level substantially equal to the overcurrent threshold. D8. The electronic circuit according to any one of paragraphs D1 to D7, wherein the control circuit comprises a first protection circuit configured to generate the first protection signal, and comprising: an analog-to-digital converter (ADC) configured to receive an ADC input signal representing the load current and output an ADC output signal, a filter configured to filter the ADC output signal and output a filter output signal, and a comparator circuit configured to generate the first protection signal based on comparing the filter output signal with a predefined threshold. D9. The electronic circuit according to paragraph D8, further comprising: a further input configured to receive a signal representing the predefined threshold. D10. The electronic circuit according to any one of paragraphs D1 to D9, wherein the control circuit further comprises a status output and wherein the control circuit is further configured to generate a wake-up pulse at the status output when the operation changes from the second mode to the first mode. D11. The electronic circuit according to any one of paragraphs D1 to D10, wherein the control circuit is configured to transition to the second operating mode based on the load current and at least one further parameter. D12. The electronic circuit according to paragraph D11, wherein the at least one further parameter is selected from the group consisting of: a filter output signal in a filter of a first protection circuit configured to generate the first protection signal; a temperature difference between a temperature in the electronic switch and a temperature in the control circuit; an ambient temperature of the electronic circuit; and an on-resistance of the electronic switch. D13. A method comprising: operating a control circuit configured to drive an electronic switch in one of at least two operating modes, wherein the at least two operating modes comprise a first operating mode and a second operating mode, wherein operating in the second operating mode comprises performing a set of basic functions by the control circuit, and operating in the first operating mode comprises performing the set of basic functions and at least one additional function by the control circuit, wherein the at least one additional function comprises generating a first protection signal based on a current-time characteristic of a load current of the electronic switch and driving the electronic switch based on the first protection signal. D14. The method of claim D13, wherein operating in the first mode and the second mode comprises driving the electronic switch based on an input signal by the control circuit. D15. The method of paragraph D13 or D14, wherein operating in the first operating mode and the second operating mode comprises driving the electronic switch based on a supply voltage received by the control circuit, the supply voltage being configured to supply the control circuit. D16. The method according to any one of paragraphs D13 to D15, wherein the set of basic functions comprises: monitoring the load current and switching off the electronic switch when the load current reaches a predefined overcurrent threshold. D17. The method according to any one of paragraphs D13 to D16, wherein the set of basic functions comprises: monitoring a temperature of the electronic switch and switching off the electronic switch when the temperature reaches a predefined overtemperature threshold. D18. The method of paragraph D16 or D17, wherein the at least two operating modes comprise a third operating mode, wherein operating in the third operating mode comprises monitoring the load current and regulating the load current when the load current reaches the overcurrent threshold by the control circuit. D19. The method of paragraph D18, wherein controlling the load current comprises controlling the load current to have a target level substantially equal to the overcurrent threshold. D20. The method of any one of paragraphs D13 to D19, further comprising: generating, by the control circuit, a wake-up pulse at a status output when the operation changes from the second mode to the first mode. D21. The method of any one of paragraphs D13 to D20, further comprising: transitioning to the second operation by the control circuit based on the load current and at least one other parameter. D22. The method of paragraph D21, wherein the at least one further parameter is selected from the group consisting of: a filter output signal in a filter of a first protection circuit configured to generate the first protection signal; a temperature difference between a temperature in the electronic switch and a temperature in the control circuit; an ambient temperature of the electronic circuit; and an on-resistance of the electronic switch. E1. An electronic circuit comprising: an electronic switch comprising a load path; a control circuit configured to control the electronic switch and configured to operate in a first operating mode or a test mode, wherein the control circuit comprises a test mode input and is configured to operate in the test mode based on a test signal received at the test input, and wherein the control circuit is configured in the first operating mode to generate a first protection signal based on a current-time characteristic of a load current of the electronic switch and to control the electronic switch based on the first protection signal. E2. The electronic circuit according to paragraph E1, wherein the control circuit is configured to determine a duty cycle of the test signal and to test one of at least two different functions of the control circuit based on the determined duty cycle to obtain a test result. E3. The electronic circuit according to paragraph E1 or E2, in which the control circuit has a status output and in which the control circuit is designed, in test mode, to output a status signal at the status output. E4. The electronic circuit according to paragraph E1, wherein the control circuit is configured to vary a signal level of the status signal depending on a test result. E5. The electronic circuit according to paragraph E4, wherein the control circuit is configured to output a pass level when the test result indicates that the tested function has passed the test and to output a fail level when the test result indicates that the tested function has failed the test. E6. The electronic circuit as defined in paragraph E4 or E5, where the fail level is independent of the function being tested. E7. The electronic circuit according to any of paragraphs E4 to E6, where the pass level depends on the function tested. E8. The electronic circuit according to any one of paragraphs E6 to E7, wherein the control circuit further comprises a control input configured to receive an input signal, wherein the control circuit is configured to control the electronic switch in the first operating mode based on the input signal. E9. The electronic circuit according to paragraph E8, wherein the control circuit is arranged to generate one of the pass level and the fail level in test mode only when the input signal has an on level. E10. The electronic circuit according to paragraph E8 or E9, wherein the control circuit is arranged to output, in the test mode, a signal level different from the pass level, the fail level and zero when the input signal has an off level. E11. A method comprising: operating a control circuit configured to control an electronic switch in a first operating mode or a test mode, wherein operating the control circuit in the test mode comprises operating the control circuit in the test mode based on a test signal received at a test input of the control circuit, and wherein operating the control circuit in the first operating mode comprises generating a first protection signal based on a current-time characteristic of a load current of the electronic switch and controlling the first electronic switch based on the first protection signal by the control circuit. E12. The method of paragraph E11, wherein operating the control circuit in test mode comprises determining a duty cycle of the test signal and testing one of at least two different functions of the control circuit based on the determined duty cycle to obtain a test result. E13. The method of paragraph E11 or E12, wherein operating the control circuit in test mode comprises outputting a status signal at a status output. E14. The method according to paragraph E13, wherein outputting the status signal at a status output comprises varying a signal level of the status signal depending on a test result. E15. The method of paragraph E14, wherein varying a signal level of the status signal depending on a test result comprises: outputting a pass level when the test result indicates that the function has passed the test, and outputting a fail level when the test result indicates that the function has failed the test. E16. The procedure according to paragraph E15, where the fail level is independent of the function tested. E17. The procedure according to paragraph E15 or E16, where the pass level depends on the function tested. E18. The method of any one of paragraphs E11 to E17, wherein operating the control circuit in the first mode of operation comprises: controlling an electronic switch based on an input signal. E19. The method of paragraph E18, wherein operating the control circuit in the test mode comprises generating one of the pass level and the fail level only when the input signal has an on level. E20. The method of paragraph E18 or E19, wherein operating the control circuit in the test mode includes outputting a signal level other than a pass level, a fail level, and zero when the input signal has an off level.
[0095] Although various exemplary embodiments of the invention have been described, it will be apparent to those skilled in the art that various changes and modifications may be made therein, by which some advantages of the invention may be achieved without departing from the spirit and scope of the invention. It will be apparent to those skilled in the art that other components performing the same functions may be suitably employed. It should be noted that features explained with reference to a particular figure may be combined with features of other figures, even in cases where this has not been explicitly mentioned. Furthermore, the methods of the invention may be achieved by pure software solutions using the appropriate processor instructions, or as hybrid solutions that use a combination of hardware logic and software logic to achieve the same results.Such modifications of the inventive concept are intended to be covered by the appended claims.
Claims
[1] Electronic circuit comprising: an electronic switch (2) having a load path; a control circuit (1) which is designed to control the electronic switch (2), wherein the control circuit (1) is designed to operate in one of at least two operating modes, wherein the at least two operating modes comprise a first operating mode and a second operating mode, wherein the control circuit (1) is designed in the second operating mode to execute a set of basic functions, and in the first operating mode to execute the set of basic functions and at least one additional function, wherein the at least one additional function comprises generating a protection signal (S4) based on a current-time characteristic of a load current (I L) of the electronic switch (2) and controlling the electronic switch (2) based on the protection signal, and which has a group of basic functions: Monitoring the load current (I L ) and switching off the electronic switch (2) when the load current (I L ) a predefined overcurrent threshold is reached. [2] Electronic circuit according to claim 1, wherein the control circuit (1) is designed to control the electronic switch (2) in the first operating mode and the second operating mode based on an input signal (S IN ) to control. [3] Electronic circuit according to claim 1 or 2, in which the control circuit (1) is designed to control the electronic switch (2) in the first operating mode and the second operating mode based on a supply voltage (Vbat) received by the control circuit (1), wherein the supply voltage (Vbat) is designed to supply the control circuit (1). [4] Electronic circuit according to one of the preceding claims, wherein the set of basic functions comprises: Monitoring a temperature of the electronic switch (2) and switching off the electronic switch (1) when the temperature reaches a predefined overtemperature threshold. [5] Electronic circuit according to claim 3 or 4, in which the at least two operating modes further comprise a third operating mode, wherein the control circuit (1) in the third operating mode is designed to control the load current (I L ) and to monitor the load current (I L ) when the load current (I L ) the overcurrent threshold is reached. [6] Electronic circuit according to claim 5, wherein the control circuit (1) is designed to control the load current (I L), comprising that the control circuit (1) is designed to control the load current (I L ) so that it has a target level substantially equal to the overcurrent threshold. [7] Electronic circuit according to one of the preceding claims, wherein the control circuit (1) comprises a first protection circuit (4) which is designed to generate the first protection signal (S4) and which comprises: an analog-to-digital converter (ADC) (42) configured to receive an ADC input signal (V41) that represents the load current (I L ) and output an ADC output signal (S42), a filter (43) configured to filter the ADC output signal (S42) and output a filter output signal (S43), and a comparator circuit (44) configured to generate the first protection signal (S4) based on comparing the filter output signal (S43) with a predefined threshold. [8] An electronic circuit according to claim 7, further comprising: a further input (Pw) adapted to receive a signal (Sw) representing the predefined threshold. [9] Electronic circuit according to one of the preceding claims, in which the control circuit (1) also has a status output (P STATUS ) and wherein the control circuit (1) is further designed to send a wake-up pulse to the status output (P STATUS ) when the operation changes from the second mode to the first mode. [10] Electronic circuit according to claim 1, wherein the control circuit (1) is designed to, based on the load current (I L) and at least one other parameter to switch to the second operating mode. [11] Electronic circuit according to claim 10, wherein the at least one further parameter is selected from the group consisting of: a filter output signal (S43) in a filter (43) of a first protection circuit (4) which is designed to generate the first protection signal (S4); a temperature difference between a temperature in the electronic switch (2) and a temperature in the control circuit (1); an ambient temperature of the electronic circuit; and an on-resistance of the electronic switch (2). [12] Method comprising: Operating a control circuit (1) which is designed to control an electronic switch (2) in one of at least two operating modes, wherein the at least two operating modes comprise a first operating mode and a second operating mode, wherein the operation in the second mode comprises the execution of a set of basic functions by the control circuit (1), and the operation in the first mode comprises the execution of the set of basic functions and at least one additional function by the control circuit (1), wherein the at least one additional function comprises generating a first protection signal (S4) based on a current-time characteristic of a load current (I L ) of the electronic switch (2) and controlling the electronic switch (2) based on the first protection signal (4) and where the set of basic functions includes: Monitoring the load current (I L ) and switching off the electronic switch (2) when the load current (I L ) a predefined overcurrent threshold is reached. [13] Method according to claim 12, wherein the operation in the first operating mode and the second operating mode comprises controlling the electronic switch (2) based on an input signal (S IN ) by the control circuit (1). [14] Method according to claim 12 or 13, wherein operating in the first operating mode and the second operating mode comprises driving the electronic switch (2) based on a supply voltage (Vbat) obtained by the control circuit (1), wherein the supply voltage (Vbat) is adapted to supply the control circuit (1). [15] A method according to any one of claims 12 to 14, wherein the set of basic functions comprises: Monitoring a temperature of the electronic switch (2) and switching off the electronic switch (2) when the temperature reaches a predefined overtemperature threshold. [16] Method according to one of claims 12 to 15, in which the at least two operating modes have a third operating mode, wherein operation in the third operating mode involves monitoring the load current (I L ) and, when the load current reaches the overcurrent threshold, regulating the load current (I L ) by the control circuit (1). [17] Method according to claim 16, wherein the control of the load current (I L ), the load current (I L ) so that it has a target level substantially equal to the overcurrent threshold. [18] A method according to any one of claims 12 to 17, further comprising: Generating a wake-up pulse at a status output (P STATUS ) by the control circuit (1) when the operation changes from the second mode to the first mode. [19] A method according to any one of claims 12 to 18, further comprising: Transition to the second operation by the control circuit (1) based on the load current (I L ) and at least one other parameter. [20] The method of claim 19, wherein the at least one further parameter is selected from the group consisting of: a filter output signal (S43) in a filter (43) of a first protection circuit (4) which is designed to generate the first protection signal (S4); a temperature difference between a temperature in the electronic switch (2) and a temperature in the control circuit (1); an ambient temperature of the electronic circuit; and an on-resistance of the electronic switch (2).
Citation Information
Patent Citations
Overcurrent limiting circuit for electrical or electronic unit in motor vehicle, limits current in power MOSFET when drain-source voltage falls below threshold, based on detected overcurrent
DE102004007201A1
Power source protecting device
US20030107855A1
Protection circuit apparatus
US20100165529A1
Power supply controller and control method thereof
US20120022708A1
High side switch with current limit feedback
US20160028307A1
