Device and circuit for measuring a derivative
By using the cyclic control of capacitive elements and switches in the derivative measurement circuit, efficient derivative measurement in a wide frequency range is achieved, solving the frequency range and complexity problems of existing circuits, simplifying the circuit structure and reducing calculation time .
Patent Information
- Application Number
- CN202410342782.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2024-02-21
- Filing Date
- 2024-03-25
- Publication Date
- 2024-10-29
AI Technical Summary
Existing derivative measurement circuits are not suitable for a wide frequency range and require high-bandwidth operational amplifiers. Complex solutions such as the use of analog-to-digital converters and microprocessors will increase calculation time and complexity, and cannot effectively solve the efficiency of derivative measurement. question.
A derivative measurement circuit including M capacitive elements and switches is used. By controlling the switch, the capacitive element memorizes and samples the voltage in each cycle, and calculates the voltage difference to achieve derivative measurement, avoiding the need for high-bandwidth operational amplifiers and microprocessors. Device dependencies.
It achieves efficient measurement of derivatives without the need for high-bandwidth operational amplifiers and microprocessors, simplifies the circuit structure, reduces calculation time, and overcomes the frequency range and complexity limitations of existing circuits.
Smart Images

Figure CN118858731A_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims the benefit of priority to French patent application No. 23 / 02835, filed on March 24, 2023, entitled “Derivative measurement circuit,” which is hereby incorporated by reference to the fullest extent permitted by law. Technical Field
[0003] The present disclosure relates generally to electronic circuits, such as integrated circuits, and more particularly to circuits for measuring derivatives and devices including such measurement circuits. Background Art
[0004] Many known applications and devices enable the measurement (or calculation) of derivatives, such as the derivative of a voltage indicative of the value of a physical quantity such as current or temperature.
[0005] In order to obtain a measurement of the derivative of the voltage, that is, the value of the derivative of the voltage, a solution consists in using an operational amplifier assembled as a voltage differentiator. However, this solution has various disadvantages. In particular, this solution is not suitable for a wide frequency range of the input signal of the operational amplifier. In addition, this solution requires an operational amplifier with a bandwidth greater than the frequency range of the input signal.
[0006] Another solution consists in using an analog-to-digital converter (ADC) to digitize the voltage for which the derivative is calculated, and using a microprocessor that reads the output of the ADC and calculates the derivative of the input voltage of the ADC. However, this solution is complex due to the fact that it requires both an ADC and a microprocessor. In addition, the conversion time of the ADC, added with the calculation time of the microprocessor, may be too long, for example when countermeasures must be implemented as soon as the derivative exceeds a threshold.
[0007] There are other known solutions to measure (ie calculate) the derivative of the voltage, but these known solutions also have disadvantages.
[0008] Therefore, a need exists to overcome all or part of the disadvantages of known derivative measurement circuits. Summary of the invention
[0009] Embodiments overcome all or part of the disadvantages of known derivative measurement circuits.
[0010] An embodiment provides a derivative measurement circuit, comprising:
[0011] M capacitive elements, M being an integer greater than or equal to 1, each capacitive element having a first terminal connected to a first input of a measurement circuit configured to receive a reference potential;
[0012] M first switches coupling a second terminal of each of the M elements to a first node configured to receive a first voltage determined by a voltage at a second input of a measurement circuit coupled to the first node;
[0013] a first circuit configured to deliver a second voltage at a first output of the measurement circuit, the second voltage being indicative of a value of a voltage difference between a first input and a second input of the first circuit;
[0014] a second switch coupling a second terminal of each of the M elements to an input of the first circuit; and
[0015] The control circuit is configured as follows:
[0016] - receiving a first clock signal available at a third input of the measurement circuit;
[0017] - implementing consecutive cycles, each of which corresponds to a series of M periods of the second clock signal determined by the first clock signal; and
[0018] - The switches are controlled in such a way that in each cycle:
[0019] The first voltage is memorized on one capacitive element among the M capacitive elements; and
[0020] A first input terminal of the first circuit receives a voltage stored on one of the M capacitive elements at a first moment, and a second input terminal of the first circuit receives a voltage representing the first voltage at a second moment different from the first moment.
[0021] According to the embodiment:
[0022] M is equal to 1;
[0023] A first input terminal of the first circuit is coupled to the first node; and
[0024] The control circuit is configured to control the switch in such a way that, at each period of each cycle, the second input terminal of the first circuit receives the voltage memorized on the capacitive element during this period.
[0025] According to the embodiment:
[0026] M is equal to 2; and
[0027] The control circuit is configured to control the switch in such a way that in each cycle:
[0028] In each period of the cycle, the capacitive element of the M capacitive elements on which the first voltage is memorized is different, and
[0029] At each period of the cycle, the second input of the first circuit receives a voltage across the terminals of one of the M capacitive elements other than the one on which memory is performed in this cycle, and the first input of the first circuit receives a voltage across another capacitive element of the M capacitive elements.
[0030] According to the embodiment:
[0031] M is equal to 3; and
[0032] The control circuit is configured to control the switch in such a way that in each cycle:
[0033] In each period of the cycle, the capacitive element of the M capacitive elements on which the first voltage is memorized is different, and
[0034] In each cycle of the cycle, the first input terminal of the first circuit receives a voltage across the terminals of one of the M capacitive elements other than the one on which memory is performed in this cycle, and the second input terminal of the first circuit receives a voltage across another capacitive element of the M capacitive elements other than the one on which memory is performed in this cycle.
[0035] According to the embodiment:
[0036] M is equal to 3;
[0037] Each cycle corresponds to a series of first, second, and third periods of the second clock signal; and
[0038] The control circuit is configured to control the switch in the following manner so that:
[0039] In each first cycle, the first voltage is stored in the first element, and the first and second input terminals of the first circuit receive the voltages of the third and second elements, respectively.
[0040] In each second period, the first voltage is memorized on the second element, and the first and second input terminals of the first circuit receive the voltages of the first and third elements, respectively, and
[0041] In each third period, the first voltage is memorized on the third element, and the first and second input terminals of the first circuit receive the voltages of the second and first elements, respectively.
[0042] According to an embodiment, the first switch includes a first first switch coupling the second terminal of the first element with the first node, a second first switch coupling the second terminal of the second element with the first node, and a third first switch coupling the second terminal of the third element with the first node.
[0043] According to an embodiment, the control circuit is configured to:
[0044] In each first cycle, keeping the second and third first switches off and switching the first first switch to an ON state;
[0045] In each second period, keeping the third and first first switches off and switching the second first switch to an on state; and
[0046] In each third period, the second and first first switches are kept off and the third first switch is switched to an on state.
[0047] According to an embodiment, each memorization of the first voltage on the capacitive element has the same duration, for example less than or equal to one period of the second clock signal, preferably equal to half a period of the second clock signal.
[0048] According to an embodiment, the second switch comprises:
[0049] first and second second switches coupling the second terminal of the first element to the first and second input terminals of the first circuit, respectively;
[0050] third and fourth second switches coupling the second terminal of the second element to the first and second input terminals of the first circuit, respectively; and
[0051] The fifth and sixth second switches couple the second terminal of the third element to the first and second input terminals of the first circuit, respectively.
[0052] According to an embodiment, the control circuit is configured to:
[0053] In each first cycle, switching the fifth and fourth second switches to an on state and keeping the other second switches off;
[0054] In each second period, switching the first and sixth second switches to an on state and keeping the other second switches off; and
[0055] In each third period, the third and second second switches are switched to the on state and the other second switches are kept off.
[0056] According to an embodiment, the measurement circuit comprises a smoothing capacitive element connected between a first input of the first circuit and the first input of the measurement circuit and a smoothing capacitive element connected between a second input of the first circuit and the first input of the measurement circuit.
[0057] According to an embodiment, the measurement circuit further comprises a second circuit coupling a second input of the measurement circuit with the first node, the second circuit being a buffer circuit.
[0058] According to an embodiment, the measuring circuit comprises:
[0059] a first comparator configured to compare the second voltage to a positive threshold voltage delivered by the control circuit and provide a first binary signal indicating whether the second voltage is greater than the positive threshold voltage; and / or
[0060] The second comparator is configured to compare the second voltage with a negative threshold voltage provided by the control circuit and provide a second binary signal indicating whether the second voltage is lower than the negative threshold voltage.
[0061] According to the embodiment:
[0062] The measurement circuit includes a first comparator; and
[0063] The control circuit is configured to adapt the value of the positive threshold voltage according to the value of the first voltage.
[0064] According to an embodiment, the control circuit is configured to decrease the value of the positive threshold voltage when the first voltage is positive and increasing.
[0065] According to the embodiment:
[0066] The measurement circuit includes a second comparator; and
[0067] The control circuit is configured to adapt the value of the negative threshold voltage depending on the value of the first voltage.
[0068] According to an embodiment, the control circuit is configured to decrease the absolute value of the negative threshold voltage when the first voltage is negative and decreases.
[0069] Another embodiment provides a circuit for measuring a derivative, comprising:
[0070] first, second and third capacitive elements, each capacitive element having a first terminal connected to a first input of a measurement circuit configured to receive a reference potential;
[0071] a first switch coupling the second terminal of each element to a first node, the first node being configured to receive a first voltage determined by a second voltage on a second input of a measurement circuit coupled to the first node;
[0072] a first circuit configured to deliver a third voltage at a first output of the measurement circuit, the third voltage being indicative of a value of a voltage difference between a first input and a second input of the first circuit;
[0073] a second switch coupling the second terminal of each element to the input of the first circuit; and
[0074] The control circuit is configured as follows:
[0075] - receiving a first clock signal available at a third input of the measurement circuit;
[0076] - achieving successive cycles, each cycle corresponding to a series of first, second and third cycles of the second clock signal determined by the first clock signal;
[0077] -Control the switch so that:
[0078] In each first cycle, the first voltage is stored in the first element, and the first and second input terminals of the first circuit receive voltages from the third and second elements, respectively.
[0079] In each second period, the first voltage is memorized on the second element, and the first and second input terminals of the first circuit receive the voltages of the first and third elements, respectively, and
[0080] In each third period, the first voltage is memorized on the third element, and the first and second input terminals of the first circuit receive the voltages of the second and first elements, respectively.
[0081] According to an embodiment, a device is provided, comprising: an integrated circuit chip including the above-mentioned measurement circuit; a controllable resistor outside the chip and having a control input terminal, the control input terminal being configured to receive a control signal determined at least in part by a first output terminal of the measurement circuit; and a second circuit connected to the controllable resistor and configured to deliver a second voltage indicating the value of the current in the controllable resistor to a second input terminal of the measurement circuit, the second circuit, for example, forming part of the chip.
[0082] According to an embodiment, the first switch includes a first first switch coupling the second terminal of the first element with the first node, a second first switch coupling the second terminal of the second element with the first node, and a third first switch coupling the second terminal of the third element with the first node.
[0083] According to an embodiment, the control circuit is configured to:
[0084] In each first cycle, the second and third first switches are kept off, and the first first switch is switched to an on state;
[0085] In each second period, keeping the third and first first switches off, and switching the second first switch to an on state; and
[0086] In each third period, the second and first first switches are kept off, and the third first switch is switched to an on state.
[0087] According to an embodiment, each memorization of the first voltage on the capacitive element has the same duration, for example less than or equal to a period of the second clock signal, preferably equal to half a period of the second clock signal.
[0088] According to an embodiment, the same duration is the duration that the first, second and third first switches are in the on state during each of the first, second and third periods, respectively.
[0089] According to an embodiment, the second switch comprises:
[0090] first and second second switches coupling the second terminal of the first element to the first and second input terminals of the first circuit, respectively;
[0091] third and fourth second switches coupling the second terminal of the second element to the first and second input terminals of the first circuit, respectively; and
[0092] The fifth and sixth second switches couple the second terminal of the third element to the first and second input terminals of the first circuit, respectively.
[0093] According to an embodiment, the control circuit is configured to:
[0094] In each first cycle, the fifth and fourth second switches are switched to an on state, and the other second switches are kept off;
[0095] In each second period, switching the first and sixth second switches to an on state, and keeping the other second switches off; and
[0096] In each third period, the third and second second switches are switched to the on state, and the other second switches are kept off.
[0097] According to an embodiment, the measurement circuit comprises a smoothing capacitive element connected between a first input of the first circuit and the first input of the measurement circuit and a smoothing capacitive element connected between a second input of the first circuit and the first input of the measurement circuit.
[0098] According to an embodiment, the measurement circuit further includes a third circuit coupling the second input of the measurement circuit with the first node, the third circuit being a buffer circuit configured to receive the second voltage and deliver the first voltage.
[0099] According to an embodiment, the measurement circuit further comprises a fourth circuit coupled (preferably connected) to the first and second input terminals of the first circuit, the fourth circuit being configured to deliver a signal at a second output terminal of the measurement circuit indicating which of the voltages of the first input terminal and the second input terminal of the first circuit is higher than the other.
[0100] According to an embodiment, the measurement circuit further comprises a fifth circuit configured to compare the third voltage with the first threshold value and to deliver a signal indicating a result of the comparison at a third output of the measurement circuit.
[0101] According to the embodiment:
[0102] The controllable resistor includes a plurality of first resistors connected in series and switches controlled by a signal for controlling the controllable resistor and each configured to bypass a given number of the first resistors;
[0103] The second circuit is configured to: for each first resistor, compare the voltage across the first resistor to at least one corresponding threshold; and
[0104] The device further comprises a sixth circuit configured to deliver a control signal of the resistor based on a result of the comparison and on a second output of the measurement circuit, the sixth circuit for example forming part of the chip.
[0105] According to an embodiment, the device comprises a processing circuit, such as a microprocessor, coupled to the first and third output terminals of the measurement circuit and configured to receive the second voltage.
[0106] According to an embodiment, the device comprises a fourth capacitive element connected in parallel with the first capacitive element, a fifth capacitive element connected in parallel with the second capacitive element, a sixth capacitive element connected in parallel with the third capacitive element, the fourth, fifth and sixth capacitive elements being located outside the chip comprising the measurement circuit. BRIEF DESCRIPTION OF THE DRAWINGS
[0107] The above features and advantages as well as other features and advantages will be described in detail in the remainder of this disclosure of specific embodiments given by way of illustration and not limitation with reference to the accompanying drawings, in which:
[0108] Figure 1 An example of a current measurement device is shown in block diagram form;
[0109] Figure 2 An example of an embodiment of a derivative measurement circuit according to the first aspect is shown;
[0110] Figure 3 The diagram shows the connection Figure 2 An example of an embodiment of a current measuring device of a derivative measurement circuit is described;
[0111] Figure 4 illustrates an example of an embodiment of a derivative measurement circuit according to the second aspect;
[0112] Figure 5 illustrates an example of an embodiment of a derivative measurement circuit according to the third aspect;
[0113] Figure 6 illustrates an example of an embodiment of a derivative measurement circuit according to the fourth aspect;
[0114] Figure 7 illustrates another example of an embodiment of a derivative measurement circuit according to the fourth aspect;
[0115] Figure 8 illustrates a further example of an embodiment of a derivative measurement circuit according to the fourth aspect;
[0116] Fig. 9 illustrates a further example of embodiment of a measurement circuit according to the fourth aspect; and
[0117] Fig.10 A further example of embodiment of the measuring circuit according to the fourth aspect is illustrated. DETAILED DESCRIPTION
[0118] Similar features are denoted by similar reference numerals in the various drawings. In particular, common structural and / or functional features between various embodiments may have the same reference numerals and may be provided with identical structures, dimensions, and material properties.
[0119] For the sake of clarity, only the steps and elements useful for understanding the described embodiments are illustrated and described in detail. In particular, although the advantages of the embodiments and alternative embodiments of the derivative measurement circuit described herein are illustrated for current measurement devices, these embodiments and variants are compatible with common applications and devices for calculating the derivative of a voltage, in particular even if this voltage does not represent a current but another physical quantity, such as, for example, a temperature.
[0120] Unless otherwise specified, when referring to two elements being connected together, this means a direct connection without any intermediate elements except conductors, and when referring to two elements being coupled together, this means the two elements may be connected or they may be coupled via one or more other elements.
[0121] In the following description, when reference is made to terms defining absolute positions (such as terms "edge", "back", "top", "bottom", "left", "right", etc.) or terms defining relative positions (such as terms "upper", "lower", "upper", "lower", etc.) or terms defining directions (such as terms "horizontal", "vertical", etc.), unless otherwise specified, the orientation of the drawing is referred to.
[0122] Unless otherwise stated, the expressions “about”, “approximately”, “substantially” and “around” mean plus or minus 10%, preferably plus or minus 5%.
[0123] Figure 1An example of a device 1 for measuring a current I is shown in the form of a block diagram.
[0124] The device 1 comprises a circuit CS and a controllable resistor R. The resistor R comprises an input 100 for receiving a control signal sig. The signal sig controls the value of the resistor R. The resistor R comprises two terminals 102 and 104 connected to respective inputs 106 and 108 of the circuit CS.
[0125] The circuit CS is configured to deliver a voltage V2 , for example available at an output 110 of the circuit CS, which is indicative of the value of the current I flowing through the resistor R.
[0126] As an example, the device 1 comprises a processing circuit μC, such as a microcontroller, which is configured to receive a voltage V2 , for example on an input 112 of the circuit μC.
[0127] As an example, the device 1 further comprises a battery BAT having an upper terminal 114 configured to deliver a voltage Vbat and a lower terminal 115 connected to a node 116 set to a reference potential GND (eg ground).
[0128] As an example, the device 1 further comprises a power supply 118. The power supply 118 has a high terminal 120 delivering a power supply voltage Vcc, and a low terminal 122.
[0129] As an example, a resistor R is connected between the node 116 and a low terminal 122 of the voltage source 118 .
[0130] By way of example, the circuit μC receives the potential GND, for example at an input 124 of the circuit μC connected to the node 116. By way of example, the circuit μC receives the voltage Vcc, for example at an input 126 of the circuit μC.
[0131] By way of example, the circuit CS receives the potential GND, for example at an input 128 of the circuit CS connected to the node 116. By way of example, the circuit CS receives the voltage Vcc, for example at an input 130 of the circuit CS.
[0132] The resistor R includes N resistors Ri connected in series between the terminals 102 and 104 of the resistor R, where i is an integer index ranging from 1 to N, and N is an integer greater than or equal to 2, such as in Figure 1 The resistor Ri is connected from one of the terminals 102 and 104 (e.g., Figure 1 For example, resistor R1 is connected between terminal 104 and node 132, resistor R2 is connected between node 132 and node 134, and resistor R3 is connected between node 134 and terminal 102.
[0133] The resistor R also includes N-1 switches ITi, where i is an integer index ranging from 1 to N-1. Figure 1 In the example of , the resistor R thus comprises two switches IT1 and IT2. Each switch ITi is configured to bypass a resistor Ri of index i ranging from 1 to i when it is turned on. Figure 1 In the example of , the switch IT1 is configured to bypass the resistor R1 when it is turned on, and the switch IT2 is configured to bypass the resistors R1 and R2 when it is turned on.
[0134] The circuit CS is configured to compare, for each resistor Ri of the resistors R, the voltage across this resistor Ri with at least one corresponding threshold value.
[0135] For example, in addition to the input terminals 108 and 106 connected to the respective terminals 104 and 102 and for each node 132, 134 connecting two internal resistors R1 to R3 of the resistor R, the circuit CS also includes a corresponding input terminal connected to this node. For example, the circuit CS includes an input terminal 136 connected to the node 132 and an input terminal 138 connected to the node 134.
[0136] The circuit CS is configured to adapt or control the value of the controllable resistor R as a function of the value of the current I flowing through the controllable resistor R. In fact, when the current I through the resistor R increases (for example during transient current peaks or overcurrents), if the value of the resistor R is not modified (preferably reduced), the power dissipated in the resistor R may reach a value causing damage to the resistor R. The circuit CS determines how to control each switch ITi of the resistor R based on a comparison of the voltage across each resistor Ri with at least one threshold value corresponding to this resistor.
[0137] For example, when the voltage across the resistor Ri reaches or exceeds the first threshold corresponding thereto, the circuit CS controls the controllable resistor so that this resistor is bypassed, that is, controls the closing of the switch ITi associated with this resistor Ri, which makes it possible to reduce the value of the resistor R, thereby reducing the power dissipated therein.
[0138] For example, for each switch ITi, once the switch ITi has been switched to the on-state, if the voltage across the resistor Ri+1 decreases below a second threshold associated with this resistor, this switch switches to the off-state.
[0139] Reference again Figure 1, if the current I increases and the voltage across the resistor R1 exceeds a first threshold associated with this resistor R1, the circuit CS controls the closing of the switch IT1. If the current I continues to increase and the voltage across the resistor R2 exceeds the first threshold associated with this resistor R2, the circuit CS controls the closing of the switch IT2. If the current I decreases when both switches IT1 and IT2 are turned on and the voltage across the resistor R3 decreases below a second threshold associated with this resistor R3, the circuit CS controls the opening of the switch IT2. If the current I continues to decrease and the voltage across the resistor R2 decreases below a second threshold associated with this resistor R2, the circuit CS controls the closing of the switch IT1.
[0140] Therefore, in the above operation example, except for the resistor R1 and the resistor RN, each resistor Ri is associated with a first threshold value to control the closing of the switch ITi associated therewith, and is associated with a second threshold value to control the closing of the switch ITi-1. The resistor R1 is associated only with the first threshold value to control the closing of the associated switch IT1, and the resistor RN is associated only with the second threshold value to control the opening of the switch RN-1.
[0141] Of course, other modes of controlling the resistor R to adapt its resistance value as a function of the current I flowing through it can be envisaged, just as the positioning of the switch enabling the internal resistor of the resistor R to be bypassed can be modified.
[0142] Circuit CS delivers a control signal sig to a control input 100 of resistor R, this signal sig being available for example at an output 140 of circuit CS. Signal sig is determined by a comparison of the voltages across internal resistors R1 to R3 of resistor R with corresponding thresholds. Signal sig controls switches IT1, IT2 of resistor R.
[0143] In this example, signal sig is formed by signal OCP1 indicating whether the voltage across resistor R1 is greater than a threshold corresponding to resistor R1 and controls switch IT1, and signal OCP2 indicating whether the voltage across resistor R2 is greater than a threshold corresponding to resistor R2 and controls switch IT2.
[0144] As an example, the circuit μC receives the signal sig at the input terminal 142 of the circuit μC. For example, the signal sig includes the signal OCP1 and the signal OCP2.
[0145] The device 1 comprises a protection against overcurrent of the current I. However, the comparison of the voltage across the respective resistors R1 and R2 with the corresponding threshold value is carried out by means of a comparator with a non-zero propagation time. Therefore, during the increase of the current I, the reduction of the value of the resistor R may occur too late, i.e. when the current I has reached a value for which the power dissipated in the resistor R is too high and leads to the destruction of the resistor R.
[0146] In order to avoid this situation, it would be desirable for the device 1 to include a circuit for measuring the derivative of the voltage V2 and therefore the derivative of the current I, and implementing protection against overcurrent of the current I when this derivative reaches a threshold value. In other words, it is desirable to measure the derivative of the voltage V2 to reduce the value of the resistor R when the current I increases rapidly (i.e., when the derivative of the voltage V2 reaches the threshold value) before the voltage across the resistor R1 or the voltage across the resistor R2 reaches its corresponding threshold value.
[0147] First aspect
[0148] Contact now Figure 2 An embodiment of a circuit for measuring a derivative (e.g., a derivative of a voltage representing a physical quantity) is described. Although this circuit can be used in an apparatus 3 similar to apparatus 1, as will be described in connection with Figure 3 Although described, this measuring circuit enables the measurement of the derivative of any voltage representative of a physical quantity (eg temperature), this measured derivative is not necessarily used to implement protection against overcurrent.
[0149] Figure 2 An example of embodiment of a circuit DER for measuring a derivative, for example a derivative of a voltage representing a physical quantity, according to the first aspect is shown.
[0150] The circuit DER comprises three capacitive elements C1 , C2 and C3, preferably identical. Each of the elements C1 , C2 and C3 has a first terminal connected to an input 200 of the circuit DER, the input 200 being configured to receive a reference potential GND.
[0151] The circuit DER further comprises an input terminal 220 configured to receive a voltage for powering the circuit DER and the circuits it comprises.
[0152] The circuit DER further comprises first switches IT11 , IT12 and IT13 coupling the second terminal of each of the respective elements C1 , C2 and C3 to the node 202 of the circuit DER.
[0153] For example, switch IT11 is connected between the second terminal of element C1 and node 202 , switch IT12 is connected between the second terminal of capacitive element C2 and node 202 , and switch IT13 is connected between the second terminal of element C3 and node 202 .
[0154] Node 202 is configured to receive voltage V1. Voltage V1 is determined by a voltage available at input 204 of circuit DER to which node 202 is coupled. In this example, circuit DER receives information about Figure 1 The voltage V2 is described, or in other words, the voltage V2 indicating the value of the current.
[0155] According to an embodiment, the circuit DER comprises a circuit AMP coupling an input 204 to a node 202. For example, the circuit AMP has an input connected to the input 204 to receive a voltage V2, and an output connected to the node 202 to deliver a voltage V1. The circuit AMP is a buffer circuit, i.e., the voltage V1 is equal to the voltage V2. The circuit AMP enables the charge draw of the capacitive elements C1 to C3 to be transferred to the supply of the circuit DER instead of the voltage V2.
[0156] As a variant, the node 202 is connected to the input 204 and the voltage V1 is equal to the voltage V2 .
[0157] The circuit DER is configured to measure or calculate the derivative of the voltage V2 , ie to deliver a voltage V3 that is indicative of the value of the derivative of the voltage V2 (within a multiplication factor).
[0158] For this purpose, the circuit DER comprises a circuit DIFF. The circuit DIFF comprises two input terminals 208 and 210 and an output terminal configured to deliver a voltage V3. The output terminal of the circuit DIFF is connected, for example, to the output terminal 206 of the circuit DER. The circuit DIFF is configured so that the voltage V3 indicates the value of the voltage difference between the input terminals 210 and 208, for example, the value of the voltage on the input terminal 208 minus the voltage on the input terminal 210. As an example, the circuit DIFF comprises an operational amplifier, for example assembled as a differential amplifier. As an example, although Figure 2 Not shown in FIG. 1 , but circuit DIFF is connected to input terminals 200 and 220 to be powered.
[0159] In addition, the circuit DER includes second switches IT21, IT22, IT23, IT24, IT25, IT26 coupling the second terminal of each of the elements C1 to C3 to the input terminals 208 and 210 of the circuit DIFF. For example, the second terminal of each of the elements C1 to C3 is coupled to the input terminal 208 through one of the second switches and to the input terminal 210 through another of the second switches.
[0160] For example, switch IT21 is connected between the second terminal of element C1 and the input terminal 208 of circuit DIFF, switch IT22 is connected between the second terminal of element C1 and the input terminal 210 of circuit DIFF, switch IT23 is connected between the second terminal of element C2 and the input terminal 208 of circuit DIFF, switch IT24 is connected between the second terminal of element C2 and the input terminal 210 of circuit DIFF, switch IT25 is connected between the second terminal of element C3 and the input terminal 208 of circuit DIFF, and switch IT26 is connected between the second terminal of element C3 and the input terminal 210 of circuit DIFF.
[0161] The circuit DER includes a circuit CTRL. The circuit CTRL is a circuit for controlling the first switches (IT11 to IT13) and the second switches (IT21 to IT26). As an example, although Figure 2 Not shown in the figure, but the circuit CTRL is connected to the input terminals 200 and 220 to be powered.
[0162] The circuit CTRL delivers a signal for controlling the first and second switches, for example at an output 222 of the circuit CTRL. Figure 2 These control signals are not shown to avoid Figure 2 As an example, the circuit CTRL delivers a control signal comprising a different control bit for each of the first and second switches.
[0163] The circuit CTRL is configured to implement a continuous cycle of operation, each cycle of operation corresponding to a series of three cycles of the internal clock signal of the device. Thus, each cycle of operation includes a first cycle of the internal clock signal, followed by a second cycle of the internal clock signal, followed by a third cycle of the internal clock signal. Subsequent cycles of operation do not overlap, or in other words, none of the three cycles of one cycle of operation corresponds to one of the three cycles of another cycle of operation. The internal clock signal is determined by a clock signal clk. The circuit CTRL receives the signal clk at an input 218 of the circuit CTRL. The signal clk is received by the circuit DER at an input 212 of the circuit DER. For example, the input 218 of the circuit CTRL is connected to the input 212.
[0164] According to an embodiment, the internal clock signal is identical to the clock signal clk.
[0165] As a variant, the internal clock signal is obtained from the signal clk, for example by dividing the frequency of the signal clk.
[0166] Preferably, the signal for controlling the first and second switches is synchronized with the internal clock signal, for example, synchronized with the rising edge and the falling edge of the internal clock signal.
[0167] Circuit CTRL controls the first and second switches so that, during each first period of an operating cycle, voltage V1 is memorized across capacitive element C1 and, in addition, inputs 208 and 210 of circuit DIFF receive the voltages of respective elements C3 and C2.
[0168] More specifically, in each first cycle, circuit CTRL controls the first switch so that voltage V1 is memorized across capacitive element C1 and controls the second switch so that the second terminal of element C3 is coupled to input 208 of circuit DIFF and the second terminal of element C2 is coupled to input 210 .
[0169] In other words, during each first cycle, the circuit CTRL keeps the switches IT12 and IT13 off and switches the switch IT11 to the on state during all or part of this first cycle, for example during the first part of this first cycle. When the switch IT11 is on, the capacitive element C1 is charged (or discharged) so that the voltage at the second terminal of the element C1 becomes equal to the voltage V1. When the switch IT11 is switched back to the off state, this stores a voltage on the capacitive element C1 present across it, which voltage is equal to the voltage V1 at the time of switching to the off state of the switch IT11. In addition, during each first cycle, the circuit CTRL switches IT24 and IT25 to the on state during all or part of the first cycle, for example during the first half of the first cycle, while the other second switches remain off. Thus, the second terminal of element C3 is coupled to input 208 of circuit DIFF via switch IT25 in the on state, which therefore receives the voltage across element C3, and the second terminal of element C2 is coupled to input 210 of circuit DIFF via switch IT24 in the on state, which therefore receives the voltage across element C2.
[0170] For each first cycle, the time window during which the circuit CTRL couples the components C2 and C3 at the respective input terminals 210 and 208 using the switches IT24 and IT25 may start during the third cycle before this first cycle. For example, this time window may start at half of the previous third cycle and end at half of the current first cycle.
[0171] Circuit CTRL controls the first and second switches so that, in each second period of the operating cycle, voltage V1 is memorized across capacitive element C2 and, in addition, inputs 208 and 210 of circuit DIFF receive the voltages of respective elements C1 and C3.
[0172] More specifically, in each second cycle, circuit CTRL controls the first switch so that voltage V1 is memorized across capacitive element C2 and controls the second switch so that the second terminal of element C1 is coupled to input 208 of circuit DIFF and the second terminal of element C3 is coupled to input 210 .
[0173] In other words, in each second cycle, the circuit CTRL keeps the switches IT11 and IT13 off and switches the switch IT12 to the on state during all or part of this second cycle, for example during the first half of this second cycle. When the switch IT12 is on, the capacitive element C2 is charged (or discharged) so that the voltage at the second terminal of the element C2 becomes equal to the voltage V1. When the switch IT12 is switched back to the off state, this stores a voltage on the capacitive element C2 present across it, which voltage is equal to the voltage V1 when switching to the off state of the switch IT12. In addition, in each second cycle, the circuit CTRL switches IT21 and IT26 to the on state during all or part of the second cycle, for example during the first half of the second cycle, while the other second switches remain off. Thus, the second terminal of element C1 is coupled to input 208 of circuit DIFF via switch IT25 in the on state, which therefore receives the voltage across element C1, and the second terminal of element C3 is coupled to input 210 of circuit DIFF via switch IT24 in the on state, which therefore receives the voltage across element C3.
[0174] For each second cycle, the time window during which the circuit CTRL couples the elements C1 and C3 at the respective input terminals 208 and 210 using the switches IT21 and IT26 may start during the first cycle before this second cycle. For example, this time window may start at half of the previous first cycle and end at half of the current second cycle.
[0175] Circuit CTRL controls the first and second switches so that, in each third period of the operating cycle, voltage V3 is memorized across capacitive element C3 and, in addition, inputs 208 and 210 of circuit DIFF receive the voltages of respective elements C2 and C1.
[0176] More specifically, in each third period, circuit CTRL controls the first switch so that voltage V1 is memorized across capacitive element C3 and controls the second switch so that the second terminal of element C2 is coupled to input 208 of circuit DIFF and the second terminal of element C1 is coupled to input 210 .
[0177] In other words, in each third cycle, the circuit CTRL keeps the switches IT11 and IT12 off, and switches the switch IT13 to the on state during all or part of this third cycle, for example during the first half of this third cycle. When the switch IT13 is on, the capacitive element C3 is charged (or discharged) so that the voltage at the second terminal of the capacitive element C3 becomes equal to the voltage V1. When the switch IT13 is switched back to the off state, this stores a voltage present at both ends of the capacitive element C3, which is equal to the voltage V1 when switching to the off state of the switch IT13. In addition, in each third cycle, the circuit CTRL switches IT22 and IT23 to the on state during all or part of the third cycle, for example during the first half of the third cycle, while the other second switches remain off. Thus, the second terminal of element C2 is coupled to input 208 of circuit DIFF via switch IT23 in the on state, which therefore receives the voltage across element C2, and the second terminal of element C1 is coupled to input 210 of circuit DIFF via switch IT22 in the on state, which therefore receives the voltage across element C1.
[0178] For each third cycle, the time window during which the circuit CTRL couples the elements C1 and C2 at the respective input terminals 210 and 208 using the switches IT22 and IT23 may start during the second cycle preceding this third cycle. For example, this time window may start at half of the previous second cycle and end at half of the current third cycle.
[0179] According to an embodiment, for each of the first, second and third cycles of the internal clock signal, each memorization of the voltage V1 on the capacitive elements C1, C2, C3 has the same duration, that is, the time window during which the corresponding first switches IT11, IT12, IT13 are turned on to achieve the memorization has the same duration. This duration is, for example, shorter than or equal to the duration of the cycle of the internal clock signal, for example, equal to half a cycle of the internal clock signal.
[0180] In addition, the duration Ton separating two consecutive memories, that is, the duration Ton separating the end of two consecutive memories, or in other words, the duration Ton between setting switch IT11 to the off state and setting switch IT12 to the off state, between setting switch IT12 to the off state and setting switch IT13 to the off state, and between setting switch IT13 to the off state and setting switch IT11 to the off state, is constant and equal to one cycle of the internal clock signal.
[0181] To illustrate the operation of the above circuit DER, consider a first and a second consecutive operation cycle, where:
[0182] At time t0 of the first period of the first cycle, the voltage V1 is memorized on the element C1, whereby, at the end of memorization, the voltage Vc1 across the element C1 is equal to V1(t0) (the voltage V1 at time t0);
[0183] At time t0+Ton of the second period of the first cycle, the voltage V1 is memorized on the element C2, whereby, at the end of memorization, the voltage Vc2 across the element C2 is equal to V1(t0+Ton);
[0184] At time t0+2.Ton of the third period of the first cycle, the voltage V1 is memorized on the element C3, whereby, at the end of memorization, the voltage Vc3 across the element C3 is equal to V1(t0+2.Ton);
[0185] At time t0+3.Ton of the first period of the second cycle, the voltage V1 is memorized on the element C1, whereby, at the end of memorization, the voltage Vc1 across the element C1 is equal to V1(t0+3.Ton);
[0186] At time t0+4.Ton of the second period of the second cycle, the voltage V1 is memorized on the element C2, whereby, at the end of memorization, the voltage Vc2 across the element C2 is equal to V1(t0+4.Ton); and
[0187] At time t0+5.Ton of the third period of the second cycle, the voltage V1 is memorized on the element C3, whereby, at the end of memorization, the voltage Vc3 across the element C3 is equal to V1(t0+5.Ton).
[0188] Thus, in this example, during the first period of the second cycle, when elements C3 and C2 are coupled to the input of circuit DIFF, then voltage V3 is at a value determined by the difference between voltage Vc3 across element C3 (equal to V1(t0+2.Ton)) and voltage Vc2 across element C2 (equal to V1(t0+Ton)), so voltage V3 is, for example, equal to A.(V1(t0+2.Ton)-V1(t0+Ton)), and thus equal to A.(V1(t1+Ton)-V1(t1)), where t1 is equal to t0+Ton and A is a multiplication factor determined at least in part by the gain of circuit DIFF. Since voltage V1 is equal to voltage V2, this makes voltage V3 equal to K.(V2(t1+Ton)-V2(t1)) / Ton, and therefore equal to K times the derivative of voltage V2 at time t1, where K is equal to A.Ton.
[0189] Similarly, during the second period of the second cycle, when elements C1 and C3 are coupled to the input of circuit DIFF, then voltage V3 is at a value determined by the difference between voltage Vc1 across element C3 (equal to V1(t0+3.Ton)) and voltage Vc2 across element C2 (equal to V1(t0+2.Ton)), so voltage V3 is, for example, equal to A.(V1(t0+3.Ton)-V1(t0+2.Ton)), and thus equal to A.(V1(t2+Ton)-V1(t2)), where t2 is equal to t0+2.Ton. As previously described, voltage V3 is equal to K.(V2(t2+Ton)-V2(t2)) / Ton, and is therefore equal to K times the derivative of voltage V2 at time t2.
[0190] Additionally, during the third period of the second operating cycle, when elements C1 and C2 are coupled to the input of circuit DIFF, voltage V3 is at a value determined by the difference between voltage Vc2 across element C2 (equal to V1(t0+4.Ton)) and voltage Vc1 across element C3 (equal to V1(t0+3.Ton)), so voltage V3 is, for example, equal to A.(V1(t0+4.Ton)-V1(t0+3.Ton)), and thus equal to A.(V1(t3+Ton)-V1(t3)), where t3 is equal to t0+3.Ton. As previously described, voltage V3 is equal to K.(V2(t3+Ton)-V2(t3)) / Ton, and is therefore equal to K times the derivative of voltage V2 at time t3.
[0191] Thus, the above-described circuit DER enables the delivery of a voltage V3 indicating the value of the derivative of the voltage V2 at each cycle of the clock signal, the value of this voltage V3 being updated at each cycle of the internal clock signal. More specifically, the above-described circuit DER enables the delivery of the value of the voltage V1 at each cycle of the internal clock signal, on one of the capacitive elements C1 to C3, and, within the same cycle, of the value of the derivative of the voltage V1 by using the voltage values V1 sampled on the other two capacitive elements. Thus, there are no cycles in which the value of the voltage V1 is not sampled, and there are no cycles in which no derivative value is provided.
[0192] Advantageously, the circuit DER does not include an operational amplifier assembled as a differentiator, nor does it include any analog-to-digital converter, nor does it include any microprocessor.
[0193] According to an embodiment, the circuit CTRL is configured to modify the frequency of the internal clock signal and thus modify the duration Ton. For example, when the circuit DER is in a low-power operation mode, the frequency of the internal clock signal can be reduced to reduce power consumption. As a supplementary or alternative example, the frequency of the internal clock signal can be selected according to the application in which the circuit DER is implemented.
[0194] In practice, the values of the capacitive elements C1 to C3 are determined by the frequency of the internal clock signal so that the voltage across each of these elements does not vary between the time when the voltage V1 is memorized on this capacitive element and the time when this memorized voltage is delivered as input to the circuit DIFF, or is negligible with respect to the measurement accuracy that is the objective. For example, the lower the frequency, the higher the capacitance value of the elements C1 to C3.
[0195] However, this frequency may differ between the various applications in which the circuit DER is implemented and it is then undesirable to dimension the capacitance values of the components differently for each of these applications. This is particularly the case when the circuit DER forms part of an integrated circuit chip.
[0196] Furthermore, when the circuit DER is an integrated circuit of an integrated circuit chip, it is desirable that the components C1 to C3 have low capacitance values in order to limit the surface area occupied by the circuit DER.
[0197] Therefore, according to an embodiment, when the circuit DER is an integrated circuit of an integrated circuit chip, such as Figure 2 As shown in , the device including the circuit DER further includes capacitive elements C1', C2', C3' connected in parallel with the corresponding capacitive elements C1, C2 and C3, and these elements C1', C2' and C3' are arranged outside the chip including the circuit DER. Thereby, the capacitance values between the switch IT11 and the node 200, between the switch IT12 and the node 200, and between the switch IT13 and the node 200 can be increased and / or adjusted without modifying the capacitance values of the elements C1 to C3. Preferably, the elements C1' to C3' all have the same capacitance value.
[0198] As an example, the element C1′ has a first terminal connected to the input 200 of the circuit DER and a second terminal connected to the input 224 of the circuit DER, the input 200 of the circuit DER itself being connected to the first terminal of the element C1, the input 224 of the circuit DER itself being connected to the second terminal of the element C1. As an example, the element C2′ has a first terminal connected to the input 200 of the circuit DER and a second terminal connected to the input 226 of the circuit DER, the input 200 of the circuit DER itself being connected to the first terminal of the element C2, the input 226 of the circuit DER itself being connected to the second terminal of the element C2. As an example, the element C3′ has a first terminal connected to the input 200 of the circuit DER and a second terminal connected to the input 228 of the circuit DER, the input 200 of the circuit DER itself being connected to the first terminal of the element C3, the input 228 of the circuit DER itself being connected to the second terminal of the element C3.
[0199] According to an embodiment, the circuit CTRL is configured to control the gain of the circuit DIFF, ie the value of the above-mentioned coefficient A.
[0200] According to the embodiment, Figure 2 As shown in FIG, the circuit DER comprises a capacitive element Cp connected between the input 208 of the circuit DIFF and the input 200 of the circuit DER, and a capacitive element Cm connected between the input 210 of the circuit DIFF and the input 200 of the circuit DER. These elements Cp and Cm have the same capacitance value. These elements Cp and Cm are smoothing (or low-pass filtering) capacitive elements. In other words, the elements Cp and Cm make it possible to weaken the influence of charge injection on the input of the circuit DER during the switching of the switches IT21 to IT26.
[0201] However, in alternative embodiments, these elements Cp and Cm are omitted.
[0202] According to an embodiment, it may be desirable for the circuit DER to indicate when the derivative of the voltage V2 exceeds a threshold value Th, for example when the circuit DER is intended to be used in a connection Figure 1 In a device of the type of device 1 described. In this case, the circuit DER includes a circuit or comparator COMP2, for example an operational amplifier assembled or configured as a voltage comparator. The circuit COMP2 is configured to compare the output voltage V3 of the circuit DIFF with the voltage Vref, and to deliver a signal ODP indicating the result of this comparison, the voltage V3 indicating the value of the derivative of the voltage V2 and the voltage Vref indicating the value of the threshold value Th. The signal ODP indicating the result of the comparison of the voltage V3 with the voltage Vref (i.e., the result of the comparison of the derivative of the voltage V2 with the threshold value Vth) is delivered by the circuit COMP2 (e.g., by the output of the circuit COMP2) to the output 216 of the circuit DER.
[0203] As an example, circuit COMP2 has an input connected to the output of circuit DIFF to receive voltage V3 and an input configured to receive voltage Vref, and its output is connected to output 216 of circuit DER.
[0204] As an example, the voltage Vref is delivered by the circuit CTRL.
[0205] As an example, when the circuit CTRL is configured to modify the frequency of the internal clock signal (and therefore the duration Ton) and / or the gain of the circuit DIFF, for a given threshold Th, the circuit CTRL is configured to adapt the value of the voltage Vref to take into account changes in the frequency of the internal clock signal and / or the gain of the circuit DIFF.
[0206] According to an embodiment, it is desirable that the circuit DER also delivers an indication of the direction of change of the value of the voltage V2, i.e. an indication of the sign of the derivative. In this case, the circuit DER comprises a circuit or comparator COMP1, for example an operational amplifier assembled or configured as a voltage comparator. The circuit COMP1 is configured to compare the voltages applied to the inputs of the circuit DIFF with each other and to deliver a signal I / D indicating the result of this comparison. The signal I / D indicating the result of the comparison is delivered by the circuit COMP1 (e.g. by the output of the circuit COMP1) to the output 214 of the circuit DER.
[0207] As an example, circuit COMP1 has an input connected to input 208 of circuit DIFF, an input connected to input 210 of circuit DIFF, and an output connected to output 214 of circuit DER.
[0208] As an example, although Figure 2 Although not shown in the drawings, an analog buffer circuit may be provided between each of the switches IT21 to IT26 and the corresponding input terminals 210 and 208 of the circuit DIFF. More specifically, an analog buffer circuit may be provided between a node where the switches IT21, IT23, and IT25 are connected to each other and the input terminal 208 of the circuit DIFF and / or an analog buffer circuit may be provided between a node where the switches IT22, IT24, and IT26 are connected to each other and the input terminal 210 of the circuit DIFF.
[0209] Figure 3 An example of an embodiment of a current measuring device is shown in the form of a block diagram, the current measuring device comprising a circuit DER for measuring a derivative, such as a contact Figure 2 Device 3 is similar to device 1 and only the differences between the two devices are described in detail herein.
[0210] Just like Figure 1 Device 1, Figure 3 The device 3 comprises a circuit CS and a controllable resistor R. However, in this example, the signal sig for controlling the resistor R is not delivered by the circuit CS. Instead, the output 140 of the circuit CS delivers a signal sig' determined by a comparison result of the voltage across the internal resistors R1 to R3 of the resistor R with the corresponding threshold value.
[0211] More specifically, the signal sig' is associated with Figure 1 The described signal sig is identical. Thus, the signal sig' is formed, for example, from the signal OCP1 and the signal OCP2. The signal OCP1 controls the switch IT1 and the signal OCP2 controls the switch IT2.
[0212] As an example, like device 1 , device 3 also includes a power supply 118 .
[0213] As an example, like device 1 , device 3 comprises a battery BAT.
[0214] By way of example, like the device 1 , the device 3 comprises a processing circuit μC, this circuit μC being for example a microprocessor. By way of example, the circuit μC receives at its input 142 a signal sig′.
[0215] The device 3 also comprises a circuit for controlling the switch CMD and a circuit DER.
[0216] Preferably, the circuit DER is implemented on an integrated circuit chip.
[0217] An input 220 of the circuit DER is connected, for example, to the terminal 120 of the voltage source 118 for receiving the voltage Vcc, and an input 200 thereof is connected to the node 116 for receiving the reference potential GND.
[0218] The input terminal 204 of the circuit DER is connected to the output terminal 110 of the circuit CS to receive the voltage V2.
[0219] The circuit DER receives at its input 212 a signal clk, this signal clk being delivered, for example, by the circuit μC (for example by the output 310 of the circuit μC).
[0220] As an example, a voltage V3 indicative of the value of the derivative of the voltage V2 and thus of the current I is delivered by the circuit DER to the circuit μC. For example, the input 306 of the circuit μC is coupled (preferably connected) to the output 206 of the circuit DER to receive the voltage V3.
[0221] The signal CMD is configured to deliver a signal sig for controlling the resistor R, where the signal sig is related to Figure 1 Indeed, in this embodiment, the signal sig is at least partially determined by a comparison of the voltage V3 with a threshold Th implemented in the circuit DER and thus, more generally, by the voltage V3 at the output 206 of the circuit DER.
[0222] In this embodiment, the circuit DER includes a circuit COMP2 ( Figure 3 DER is coupled to (preferably connected to) the circuit CMD, for example to the input 300 of the circuit CMD. As an example, the signal ODP is also delivered to the circuit μC, for example at the input 308 of the circuit μC.
[0223] More specifically, the circuit CMD also receives from the circuit CS, for example on an input 302 of the circuit CMD, a signal sig′ indicating a setpoint value of the resistor R according to the variation of the current I therein.
[0224] Then, the signal sig is determined based on the signal ODP and based on the signal sig' (i.e., based on the signal ODP and based on the signals OCP1 and OCP2 in this example). As an example, the signal sig is a signal having a bit number equal to the number of switches of the resistor R, such as two bits b1 and b2 in this example, and each bit of the signal sig controls a different switch of the resistor R. For example, the bit b1 controls the switch IT1 and the bit b2 controls the switch IT2.
[0225] Therefore, the circuit CMD not only receives a signal sig′ indicating which value the resistor R should take taking into account the current I flowing through it, but also a signal ODP indicating when the derivative of the voltage V2 exceeds the threshold Th.
[0226] Therefore, the circuit CMD delivers a resistor control signal sig, which forces the resistor to reach a value less than the value indicated by the signal sig', for example, when the derivative of the voltage V2 exceeds the threshold Th, that is, when the current I changes rapidly, where the rapid change of the current I may cause damage to the resistor R before the signal sig indicates to the circuit CMD to reduce the value of the resistor R.
[0227] For example, if the signal OCP1 indicates that the switch IT1 must be switched to the on state and / or if the signal ODP indicates that the derivative of the voltage V2 has exceeded the threshold value, then the signal sig indicates through its bit b1 that this switch IT1 must be switched to the on state, and if the signal OCP2 indicates that the switch IT2 must be switched to the on state and / or if the signal ODP indicates that the derivative of the voltage V2 has exceeded the threshold value, then the signal sig also indicates through its bit b2 that this switch IT2 must be switched to the on state.
[0228] As an example, the circuit DER comprises an output 214 and a circuit COMP1 ( Figure 3 ). As an example, this signal I / D is delivered to the circuit μC. For example, the circuit μC has an input 312 coupled (preferably connected) to the output 214 of the circuit DER.
[0229] Although in this example the device 3 does not comprise capacitive elements C1 ', C2' and C3', this may be the case in other examples not shown.
[0230] In the above-described device 3, the circuit DER and the circuit CMD are shown as circuits external to the circuit CS. However, in other examples not shown, the circuits CS, DER and CMD may be implemented in the same general circuit (e.g., a circuit of an integrated circuit chip). In this case, the connections of the circuits CMD, DER and CS within this general circuit are similar to those previously described. In addition, each input terminal (respectively, each output terminal) of the circuits CMD, CS and DER coupled or connected to an element external to this general circuit also forms an input terminal (respectively, an output terminal) of the general circuit, it being understood that when at least two of the circuits CMD, DER and CS have input terminals (respectively, output terminals) coupled or connected to the same element external to the general circuit, the general circuit comprises only a single corresponding input terminal (respectively, a single corresponding output terminal). As an example, again referring to examples such as Figure 3 , and taking into account that circuits CMD, DER and CS form part of the same common circuit, this common circuit will have input terminals corresponding to input terminals 106, 108, 136, 118 and 130 of circuit CS and input terminal 212 of circuit DER, and output terminals corresponding to output terminals 206, 214, 216 of circuit DER, output terminal 304 of circuit CMD and output terminals 110 and 140 of circuit CS.
[0231] In the example of the device 3 described above, the resistor R comprises three resistors connected in series. However, a person skilled in the art will be able to adapt the description made above to the case where the resistor R comprises only two resistors connected in series, or conversely, to the case where the resistor R comprises four resistors or more connected in series.
[0232] Second aspect
[0233] In an embodiment of the above first aspect, the circuit DER includes M capacitive elements, where M in the first aspect is an integer equal to 3. The circuit DER implements continuous operation cycles, each operation cycle including M continuous periods of the internal clock signal, and in each period of the cycle, the circuit DER controls the memorization of the input voltage on one of the M capacitive elements, and further implements memorizing the difference between a first voltage on one of the M capacitive elements at a first time and a second voltage representing the input voltage at a second time, which is after the first time and separated from the first time by a constant duration (e.g., equal to the period of the internal clock).
[0234] More particularly, in a first aspect, the capacitive element of the M capacitive elements on which the memory is performed is modified at each cycle of a given cycle and is different for each of the M cycles of this cycle.
[0235] In addition, in the first aspect, in each period of a given cycle, the first voltage is the voltage across one of the M capacitive elements other than the capacitive element on which memory of this cycle is performed, and the second voltage representing the input voltage is the voltage across one of the M capacitive elements other than the capacitive element on which memory of this cycle is performed and other than the capacitive element across which the first voltage of this cycle can be obtained.
[0236] In a second aspect, as in the first aspect, the circuit DER includes M capacitive elements, where M is a positive non-zero integer. The circuit DER implements a continuous operation cycle, each operation cycle including M consecutive periods of an internal clock signal, and in each period of the cycle, the circuit DER controls the memorization of the input voltage on one of the M capacitive elements, and further implements the difference between a first voltage memorized on one of the M capacitive elements at a first time and a second voltage representing the input voltage at a second time, the second time being after the first time and separated from the first time by a constant duration (e.g., equal to the period of the internal clock).
[0237] However, compared to the first aspect, in the second aspect, M is equal to 2.
[0238] More particularly, in the second aspect, the capacitive element of the M capacitive elements on which the memory is performed is modified at each cycle of a given cycle and is different for each of the M cycles of this cycle.
[0239] In addition, in the second aspect, in each period of a given cycle, the first voltage is the voltage across the capacitive element of the M capacitive elements on which the input voltage has been memorized in this period, and the second voltage representing the input voltage is the voltage across a capacitive element of the M capacitive elements other than the capacitive element on which the memorization of this cycle is performed.
[0240] A detailed embodiment of the derivative calculation circuit DER according to the second aspect will now be described.
[0241] Figure 4 An example of embodiment of a circuit DER for measuring a derivative, for example a derivative of a voltage representing a physical quantity, according to the second aspect is illustrated.
[0242] The circuit DER according to the second aspect comprises many elements in common with the circuit DER according to the first aspect, and only the differences between the two circuits are emphasized here. Therefore, unless otherwise indicated, everything described for the circuit DER according to the first aspect applies to the circuit DER according to the second aspect.
[0243] In particular, in contrast to the circuit DER according to the first aspect, the circuit DER according to the second aspect comprises only M=2 capacitive elements for storing a voltage V1 representing (or determined by) the voltage V2 for which the circuit DER calculates a derivative. Thus, in contrast to the circuit DER according to the first aspect, the circuit DER according to the second aspect does not comprise a capacitive element C3.
[0244] Therefore, the circuit DER according to the second aspect does not include all other elements linked to the capacitive element C3 of the circuit DER according to the first aspect. Therefore, the circuit DER according to the second aspect does not include switches IT25 and IT26, switch IT13, and in embodiments where the capacitive elements C2' and C1' are connected in parallel with the capacitive elements C2 and C1, respectively, the capacitive element C3' and the input terminal 228.
[0245] Furthermore, in this second aspect, the circuit CTRL for controlling the first switches (IT11 and IT12) and the second switches (IT21 to IT24) is configured to implement consecutive operation cycles, each operation cycle corresponding to a series of M=2 cycles of the internal clock signal of the device DER. Thus, each operation cycle comprises a first cycle of the internal clock signal followed by a second cycle of the internal clock signal, wherein consecutive operation cycles do not overlap.
[0246] In each first period of the operating cycle, the circuit CTRL controls the first and second switches so that the voltage V1 is memorized on the capacitive element C1 and, in addition, the inputs 208 and 210 of the circuit DIFF receive the voltages of the respective elements C1 and C2.
[0247] More specifically, in each first cycle, circuit CTRL first controls the first switch so that voltage V1 is memorized across capacitive element C1, and then controls the second switch so that the second terminal of element C1 is coupled to input 208 of circuit DIFF and the second terminal of element C2 is coupled to input 210.
[0248] In other words, during each first cycle, the circuit CTRL keeps the switch IT12 off and switches the switch IT11 to the on state during all or part of this first cycle, for example during the first half of this first cycle. When the switch IT11 is on, the capacitive element C1 is charged (or discharged) so that the voltage at the second terminal of the element C1 becomes equal to the voltage V1. When the switch IT11 is switched back to the off state, this stores a voltage present across the capacitive element C1, which is equal to the voltage V1 when switching to the off state of the switch IT11. Preferably, when the switch IT11 is in the on state, the switches IT22 to IT23 remain off. Then, during all or part of the first cycle, for example during the second half of the first cycle, the circuit CTRL switches the switches IT21 and IT24 to the on state, while the other second switches IT22 and IT23 remain off. Thereby, the second terminal of the element C1 is then coupled to the input 208 of the circuit DIFF via the switch IT21 in the conducting state, and the second terminal of the element C2 is coupled to the input 210 of the circuit DIFF via the switch IT24 in the conducting state.
[0249] For each first cycle, the time window during which the circuit CTRL couples the elements C1 and C2 at the respective input terminals 208 and 210 during this first cycle using the switches IT21 and IT24 starts after the voltage V1 has been memorized on the capacitive element C1 .
[0250] In each second period of the operating cycle, circuit CTRL controls the first and second switches so that voltage V1 is memorized on capacitive element C2 and, in addition, inputs 208 and 210 of circuit DIFF receive the voltages of respective elements C2 and C1.
[0251] More specifically, in each second cycle, circuit CTRL first controls the first switch so that voltage V1 is memorized across capacitive element C2 and then controls the second switch so that the second terminal of element C2 is coupled to input 208 of circuit DIFF and the second terminal of element C1 is coupled to input 210 .
[0252] In other words, during each second cycle, the circuit CTRL keeps the switch IT11 off and switches the switch IT12 to the on state during all or part of this second cycle, for example during the first half of this second cycle. When the switch IT12 is on, the capacitive element C2 is charged (or discharged) to the voltage V1. When the switch IT12 is switched back to the off state, this stores the voltage V1 on the capacitive element C2. Preferably, when the switch IT12 is in the on state, the switches IT21 to IT24 remain off. Then, during all or part of the second cycle, for example during the second half of the second cycle, the circuit CTRL switches the switches IT23 and IT22 to the on state, while the other second switches IT21 to IT24 remain off. Thereby, the second terminal of the element C2 is coupled to the input 208 of the circuit DIFF through the switch IT23 in the on state, and the second terminal of the element C1 is coupled to the input 210 of the circuit DIFF through the switch IT24 in the on state.
[0253] For each second cycle, the time window during which the circuit CTRL couples the elements C2 and C1 at the respective input terminals 208 and 210 during this first cycle with the switches IT22 and IT23 in the conducting state starts after the voltage V1 has been memorized on the capacitive element C2.
[0254] According to an embodiment, each memorization of the voltage V1 on the capacitive elements C1, C2 has the same duration, i.e., for each of the first and second periods of the internal clock signal, the time window during which the corresponding first switch IT11, IT12 is turned on has the same duration. This duration is, for example, shorter than the duration of the period of the internal clock signal, for example, equal to half the period of the internal clock signal.
[0255] In addition, the duration Ton separating two consecutive memories, for example, the duration Ton between switch IT11 being set to the off state and switch IT12 being set to the off state and between switch IT12 being set to the off state and switch IT11 being set to the off state, is constant and equal to one cycle of the internal clock signal.
[0256] To illustrate the operation of the circuit DER described above in connection with the second aspect, consider consecutive first and second operation cycles, in which:
[0257] At time t0 of the first period of the first cycle, the voltage V1 is memorized on the element C1, so that at the end of memorization, the voltage Vc1 across the element C1 is equal to V1(t0);
[0258] At time t0+Ton of the second period of the first cycle, the voltage V1 is memorized on the element C2, so that at the end of memorization, the voltage Vc2 across the element C2 is equal to V1(t0+Ton);
[0259] At time t0+2.Ton of the first period of the second cycle, the voltage V1 is memorized on the element C1, whereby, at the end of memorization, the voltage Vc1 across the element C1 is equal to V1(t0+2.Ton); and
[0260] At time t0+3.Ton of the second period of the second cycle, the voltage V1 is memorized on the element C2, whereby, at the end of memorization, the voltage Vc2 across the element C2 is equal to V1(t0+3.Ton).
[0261] Thus, in this example, during the second period of the first cycle, when elements C1 and C2 are coupled to the input of circuit DIFF after voltage V1 is memorized across element C2, voltage V3 is at a value determined by the difference between voltage Vc2 across element C1 (equal to V1(t0+Ton)) and voltage Vc1 across element C1 (equal to V1(t0)), so voltage V3 is, for example, equal to A.(V1(t0+Ton)-V1(t0)). Since voltage V1 is equal to voltage V2 in this example, this results in voltage V3 being equal to K.(V2(t0+Ton)-V2(t0)) / Ton, and therefore equal to K times the derivative of voltage V2 at time t0, where K is equal to A.Ton.
[0262] Similarly, during the first period of the second cycle, when elements C1 and C2 are coupled to the input of circuit DIFF after voltage V1 is memorized across element C1, voltage V3 is at a value determined by the difference between voltage Vc1 across element C1 (equal to V1(t0+2.Ton)) and voltage Vc2 across element C2 (equal to V1(t0+Ton)), so voltage V3 is, for example, equal to A.(V1(t0+2.Ton)-V1(t0+Ton)), and therefore equal to A.(V1(t1+Ton)-V1(t1)), where t1 is equal to t0+Ton. As previously mentioned, voltage V3 is equal to K.(V2(t2+Ton)-V2(t2)) / Ton, and therefore equal to K times the derivative of voltage V2 at time t1.
[0263] Those skilled in the art will be able to deduce the operation of the circuit DER during the next internal clock cycle based on the operation described above as an example.
[0264] The above-described circuit DER thus makes it possible to deliver, at each cycle of the clock signal, a voltage V3 indicating the value of the derivative of the voltage V2, the value of this voltage V3 being updated at each cycle of the internal clock signal. Thus, there is no cycle in which the value of the voltage V1 is not sampled, nor any cycle in which a derivative value is not provided.
[0265] Advantageously, the circuit DER does not include an operational amplifier assembled as a differentiator, nor does it include any analog-to-digital converter and microprocessor.
[0266] Compared to the circuit DER according to the first aspect, the circuit DER according to the second aspect is simpler to implement. However, while the circuit DER according to the first aspect can deliver a voltage V3 that, for each calculated derivative value, can remain stable for a duration Ton until the voltage V3 is updated, in the circuit DER according to the first aspect, this duration during which each calculated derivative value can remain stable is equal to the duration Ton minus the duration of the memory phase of the voltage V1 on one or the other of the elements C1 and C2. A person skilled in the art will be able to provide a circuit using the voltage V3 that reads or uses the current value of the voltage V3 when the voltage V3 has a stable value.
[0267] The third aspect
[0268] In this third aspect, as for the first and second aspects previously described, the circuit DER comprises M capacitive elements, where M is a positive non-zero integer. The circuit DER implements a continuous operation cycle, each operation cycle comprising M consecutive periods of an internal clock signal, and in each period of the cycle, the circuit DER controls the memorization of the input voltage on one of the M capacitive elements, and further implements memorizing the difference between a first voltage on one of the M capacitive elements at a first time and a second voltage representing the input voltage at a second time, the second time being after the first time and separated from the first time by a constant duration (e.g., equal to one period of the internal clock).
[0269] However, compared to the first aspect where M is equal to 3 and the second aspect where M is equal to 2, in the third aspect, M is equal to 1.
[0270] More particularly, in the third aspect, the capacitive element on which the memory is performed in the M capacitive elements is the same in each cycle of each cycle. In addition, in each cycle of each cycle, the first voltage is the voltage across the capacitive element on which the input voltage has been memorized in this cycle, and the second voltage representing the input voltage is directly the input voltage.
[0271] A detailed embodiment of the derivative calculation circuit DER according to the third aspect will now be described.
[0272] Figure 5 An example of embodiment of a circuit DER for measuring a derivative, for example a derivative of a voltage representing a physical quantity, according to the third aspect is illustrated.
[0273] The circuit DER according to the third aspect comprises many elements in common with the circuit DER according to the first aspect, and only the differences between the two circuits are emphasized here. Therefore, unless otherwise indicated, everything described for the circuit DER according to the first aspect applies to the circuit DER according to the third aspect.
[0274] In particular, in contrast to the circuit DER according to the first aspect, the circuit DER according to the third aspect comprises only M=1 capacitive elements to store a voltage V1 representing the voltage V2 for which the circuit DER calculates a derivative (or determined by V2). Thus, in contrast to the circuit DER according to the first aspect, the circuit DER according to the third aspect does not comprise the capacitive element C3 and also does not comprise the capacitive element C2.
[0275] Therefore, the circuit DER according to the third aspect also does not include all other elements linked to the capacitive element C3 and the capacitive element C2 of the circuit DER according to the first aspect. Therefore, the circuit DER according to the third aspect does not include switches IT23 to IT26, switches IT13 and IT12, and in an embodiment where the capacitive element C1' is connected in parallel with the capacitive element C1, the capacitive elements C3' and C2' and the input terminals 228 and 226 are not included.
[0276] In this third aspect, the switch IT21 coupling the capacitive element Cl to the input 208 of the circuit DIFF is omitted.In addition, the node 202 at which the voltage V1 is available is coupled or connected to the input 208 of the circuit DIFF, for example via an analog buffer circuit.
[0277] Furthermore, in this third aspect, the circuit CTRL for controlling the first and second switches (IT11, IT22) is configured to implement continuous operation cycles, each operation cycle corresponding to a series of M=1 cycles of the internal clock signal of the device DER. In other words, each operation cycle comprises only one cycle of the internal clock signal, hereinafter referred to as the first cycle.
[0278] At each first period of the operating cycle, or in other words, at each period of the internal clock signal, the circuit CTRL controls the first and second switches so that the voltage V1 is memorized on the capacitive element C1, and in addition, the input terminals 208 and 210 of the circuit DIFF receive the voltage V1 and the voltage memorized across the capacitive element C1.
[0279] More specifically, in each first cycle, circuit CTRL first controls first switch IT11 so that voltage V1 is memorized across capacitive element C1, and then controls second switch IT22 so that the second terminal of element C1 is coupled to input 210 of circuit DIFF and node 202 is coupled to input 208 of circuit DIFF.
[0280] In other words, during each first cycle, during all or part of this first cycle, for example during the first half of this first cycle, the circuit CTRL switches IT11 to the on state. When the switch IT11 is on, the capacitive element C1 is charged (or discharged) to the voltage V1. When the switch IT11 is switched back to the off state, this stores the voltage V1 at the time of switching to the off state of the switch IT11 on the capacitive element C1. Then, during all or part of the first cycle, for example during the second half of the first cycle, the circuit CTRL switches IT22 to the on state. Thereby, the second terminal of the element C1 is then coupled to the input terminal 210 of the circuit DIFF through the switch IT21 in the on state, and the voltage V1 is delivered to the input terminal 208 of the circuit DIFF.
[0281] For each first period, the time window during which the circuit CTRL couples the element C1 at the input 210 by means of the switch IT22 begins after the voltage V1 has been memorized on this same capacitive element C1 .
[0282] According to an embodiment, each memorization of the voltage V1 on the capacitive element C1 has the same duration, i.e. the time window during which the first switch IT11 is turned on has the same duration for each first period of the internal clock signal. This duration is, for example, shorter than the duration of a period of the internal clock signal, for example equal to half of the period of the internal clock signal.
[0283] In addition, the duration Ton separating two consecutive memories, for example the duration Ton between setting switch IT11 to the off state during the first cycle of a given operating cycle and setting switch IT11 to the off state during the first cycle of the next operating cycle, is constant and equal to one period of the internal clock signal.
[0284] To illustrate the operation of the circuit DER described above in connection with the third aspect, consider consecutive first and second operation cycles, in which:
[0285] At time t0 of the first period of the first cycle, voltage V1 is memorized on element C1, whereby, at the end of memorization, voltage Vc1 across element C1 is equal to V1(t0); and
[0286] At time t0+Ton of the first period of the second cycle, the voltage V1 is memorized across the element C1 , whereby, at the end of memorization, the voltage Vc1 across the element C1 is equal to V1(t0+Ton).
[0287] Thus, in this example, during the first period of each cycle, when element C1 is coupled to input 210 of circuit DIFF after voltage V1 is memorized across element C1, then voltage V3 is at a value determined by the difference between voltage Vc1 across element C1 (equal to V1(t0)) and voltage V1 (equal to V1(t)), where t is the time of this first period after time t0. For example, when time t0 corresponds to the end of the first half of the first period, and voltage V3 is read at time t1 corresponding to the end of the second half of the first period, and Ton corresponds to the duration of a period of the internal clock signal, then voltage V3 at the end of the first period (time t1) is, for example, equal to A.(V1(t0+(Ton / 2))-V1(t0)). Since in this example voltage V1 is equal to voltage V2, this results in voltage V3 at time t1 being equal to K.(V2(t0+(Ton / 2))-V2(t0)) / (Ton / 2), and therefore equal to K times the derivative of voltage V2 at time t0, where K is equal to A.Ton / 2.
[0288] The above-described circuit DER thus makes it possible to deliver, at each cycle of the clock signal, a voltage V3 indicating the value of the derivative of the voltage V2, the value of this voltage V3 being updated at each cycle of the internal clock signal. Thus, there is no cycle in which the value of the voltage V1 is not sampled, nor any cycle in which a derivative value is not provided.
[0289] An example has been described above, in which, in each cycle, half a period of the internal clock signal separates the time t0 at which the voltage V1 on C1 ends to be memorized from the time t1 at which the voltage V3 is read, whereby the voltage V3 (t1) at time t1 is equal to K times the derivative of the voltage V2, where K is equal to A.Ton / 2. A person skilled in the art may select another duration value, such as Ton / 4, to separate the time t0 from the time t1, whereby the voltage V3 (t1) will be equal to K times the derivative of the voltage V2, where K is different from A.Ton / 2, for example, equal to A.Ton / 4.
[0290] Advantageously, the circuit DER does not include an operational amplifier assembled as a differentiator, nor does it include any analog-to-digital converter and microprocessor.
[0291] Compared to the circuit DER according to the first and second aspects, the circuit DER according to the third aspect is simpler to implement. However, while the circuit DER according to the first aspect can deliver a voltage V3 that, for each calculated derivative value, can remain stable for a duration Ton until the voltage V3 is updated, and the circuit DER according to the second aspect can deliver a voltage V3 that, for each calculated derivative value, can remain stable for a duration Ton minus the duration of the memory phase of the voltage V1 on one or the other of the elements C1 and C2, in the circuit DER according to the third aspect, the value of the voltage V3 must then be read at a predefined time t1, for example at the end of each cycle of the internal signal, in order to know the factor K between the voltage V3 and the value of the derivative of the voltage V1 at this time t1. A person skilled in the art will be able to provide a circuit using the voltage V3, which is used to read or use the current value of the voltage V3 at the time t1 when the voltage V3 is actually equal to K times the derivative of the voltage V1, for example by providing a value of the voltage V3 stored at this time t1.
[0292] The fourth aspect
[0293] In the embodiments previously described in connection with any one of the first, second and third aspects, the value representing the calculated value of the derivative of the input voltage V2 or the voltage V3 is compared with a threshold value TH determined by the voltage Vref. As soon as the value of the calculated derivative exceeds this threshold value, i.e., as soon as the voltage V3 exceeds the threshold value Vref, the alarm ODP is triggered.
[0294] In these embodiments, the threshold TH and the corresponding voltage Vref are constant. Therefore, when the voltage V1 has a low value representing a low value of the corresponding physical quantity (for example, the current flowing through the resistor), and this voltage V1 suddenly increases, the voltage V3 can rise above the threshold Vref and trigger the alarm ODP, while, in practice, the voltage V1 may reach a stable value below the value threshold of the voltage V1 after its sudden increase, for which no action (for example, a reduction in the resistance value) is necessary. In this case, the alarm ODP is triggered, but this is not necessary. On the contrary, when the voltage V1 has a high value representing a high value of the corresponding physical quantity (for example, the current flowing through the resistor), and this value is very close to the value threshold of the voltage V1 for which it is necessary to provide an action (for example, a reduction in the resistance value), if the voltage V1 slowly increases to reach this value threshold, then the voltage V3 remains below Vref, and the ODP alarm is not triggered in advance before the voltage V1 exceeds its value threshold. In this case, the ODP alarm is not triggered, but this is expected.
[0295] Thus, in a fourth aspect, the calculated derivative value or a quantity representative of this calculated value (e.g., voltage V3) is compared to a threshold value (e.g., Vref), and an alarm is triggered based at least in part on the result of this comparison. However, in a fourth aspect, the threshold value depends on the current value of the quantity on which the derivative is calculated. In other words, the value of the threshold value is adapted based at least on the current value of the voltage on which the derivative is calculated (e.g., V1).
[0296] Figure 6 An example of embodiment of a circuit DER for measuring a derivative, for example a derivative of a voltage V1 representing a physical quantity, according to the fourth aspect is illustrated.
[0297] exist Figure 6 , the circuit DER and the circuit CTRL are partially shown.
[0298] In this example, voltage V1 is positive and increases with the physical quantity it represents (eg, current through a resistor).
[0299] In this example, the derivative of the voltage V3 is compared to a positive threshold value designated hereinafter by the reference symbol THP.
[0300] In this example, a voltage representing a threshold value THP that is compared with the voltage V3 to provide an alarm signal is designated by reference numeral VrefP and is positive, a binary alarm signal is designated by reference numeral ODPP, a comparator that compares the voltage V3 with the voltage Vref to deliver the alarm signal is designated by reference numeral COMP2P, and an output terminal 216 that delivers the alarm signal ODPP is designated by reference numeral 216P, instead of the above. Figures 2 to 5 The corresponding reference numerals Vref, ODP, COMP2 and 216 are used in FIG.
[0301] In this embodiment, the circuit CTRL comprises an input terminal 600 configured to receive the voltage V1. In addition, the circuit CTRL is configured to preferably discretely decrease the value of the threshold THP, and thus decrease the value of the voltage VrefP, when the voltage V1 increases, and to increase the threshold THP, and thus increase the value of the voltage VrefP, when the voltage V1 decreases.
[0302] In this embodiment, the circuit CTRL also includes an output 602P of a comparator COMP2P configured to deliver the threshold voltage VrefP to the circuit DER, the comparator COMP2P also receiving a voltage V3 representing a derivative of the voltage V1. As previously described, the comparator COMP2P is configured to compare the voltage V3 with the voltage VrefP and deliver a binary signal ODPP representing the result of this comparison.
[0303] In this embodiment, signal ODPP is delivered at output 216P of circuit DER.
[0304] According to an embodiment, the circuit CTRL comprises Q comparators 600Pi ( Figure 6 600P1, 600P2, 600P3), wherein Q is a positive integer greater than or equal to 1, preferably greater than or equal to 2, for example Figure 6 where i is equal to 3 and i is an integer index ranging from 1 to Q.
[0305] Each comparator 60Pi is configured to compare the voltage V1 with the corresponding positive threshold thPi ( Figure 6 Each comparator 600Pi delivers a binary signal cmppi ( Figure 6 cmpp1, cmpp2, cmpp3).
[0306] The circuit CTRL further comprises a circuit REF-ADAPT configured to deliver a voltage VrefP, for example, on an output 604P of the circuit CTRL and to adapt the value of this voltage VrefP according to the signal cmppi (i.e., according to the current value of the voltage V1). As an example, the circuit REF-ADAPT receives the signal cmppi on a corresponding input of the circuit REF-ADAPT.
[0307] For example, when the value of the threshold thPi increases with the index i and the voltage V1 increases with the physical quantity it represents, the circuit REF-ADAPT is configured to deliver the voltage VrefP at a maximum value when the voltage V1 is less than the threshold thP1, to deliver the voltage VrefP at a first value less than the maximum value when the voltage V1 is between the thresholds thP1 and thP2, to deliver the voltage VrefP at a second value less than the first value when the voltage V1 is between the thresholds thP2 and thP3, and to deliver the voltage VrefP at a minimum value less than the second value when the voltage V1 is greater than the threshold thP3.
[0308] As an example, although Figure 6 Not shown in the figure, but the circuit REF-ADAPT includes a resistive voltage divider bridge having an intermediate node configured to deliver the voltage VrefP, and the value of the resistive element of this voltage divider bridge is controlled by the signal cmppi to obtain the above operation. Based on the functional indication given above, the implementation of such a circuit is within the capabilities of those skilled in the art. In addition, those skilled in the art will be able to provide other implementations of the circuit REF-ADAPT with the above operation.
[0309] Figure 7A further example of embodiment of a circuit DER for measuring a derivative, for example a derivative of a voltage V1 representing a physical quantity, according to the fourth aspect is illustrated.
[0310] exist Figure 7 In Figure 6 As in FIG. 1 , the circuit DER and the circuit CTRL are partially shown. Figure 7 The circuit DER described includes the contact with Figure 6 The described circuits DER have many elements in common and only the differences between the two circuits DER are emphasized here.
[0311] In this example, the voltage V1 increases with the physical quantity it represents (e.g., the current in a resistor). In addition, in this example, the voltage V1 takes positive and negative values. This occurs, for example, when the voltage V1 represents the value of the current through the resistor and this current can flow in one direction and another direction in the resistor.
[0312] In the same way that the alarm ODPP indicates when the derivative of the voltage V1 exceeds the positive threshold THP, it is then desirable for the alarm ODPN to indicate when the derivative of the voltage V1 exceeds the negative threshold THN (i.e., decreases below this negative threshold THN). Thus, when the voltage V1 is negative and decreasing, if the value of the derivative of the voltage V1 decreases below the threshold THN, the alarm ODPN is triggered and the corresponding action can be implemented in an expected manner without having to wait for the voltage V1 to decrease below the negative threshold.
[0313] So, in this example, the same as before Figure 6 The described symmetry provides, in addition to the comparison with the positive threshold THP, for comparing the derivative of the voltage V1 with a negative threshold THN. The circuit DER is then configured to deliver an additional binary alarm signal ODPN indicating when the value of the derivative of the voltage V1 is less than the threshold THN.
[0314] In this example, the voltage representing the threshold THN compared with the voltage V3 to provide the alarm signal ODPN is designated with reference numeral VrefN and is negative, so the circuit DER includes an additional comparator COMP2N comparing the voltage V3 with the voltage VrefN and delivering the binary alarm signal ODPN. In addition, the circuit DER includes an additional output terminal 216N configured to deliver the signal ODPN.
[0315] In this embodiment, the circuit CTRL is also configured to preferably discretely decrease the absolute value of the threshold THN, and thus decrease the absolute value of the voltage VrefP, when the voltage V1 is negative and decreasing, or in other words, when the voltage V1 is negative and the absolute value increases. In addition, the circuit CTRL is configured to increase the absolute value of the threshold THN, and thus increase the absolute value of the voltage VrefN, when the voltage V1 is negative and increasing, or in other words, when the voltage V1 is negative and the absolute value decreases.
[0316] In this embodiment, the circuit CTRL further comprises an output 602N of a comparator COMP2N configured to deliver a threshold voltage VrefN to the circuit DER, the comparator COMP2N also receiving a voltage V3 representing a derivative of the voltage V1. The comparator COMP2N is configured to compare the voltage V3 with the voltage VrefN and deliver a binary signal ODPN representing the result of this comparison.
[0317] In this embodiment, signal ODPN is delivered at output 216N of circuit DER.
[0318] According to an embodiment, the circuit CTRL comprises, in addition to the Q comparators 600Pi delivering the signal cmppi, K comparators 600Nj ( Figure 7 600N1, 600N2, 600N3), wherein K is a positive integer greater than or equal to 1, preferably greater than or equal to 2, for example Figure 7 Where K is equal to 3, and j is an integer index ranging from 1 to K. Preferably, the numbers K and Q are equal, but in other examples, the numbers K and Q may be different.
[0319] Each comparator 600Nj is configured to compare the voltage V1 with the corresponding negative threshold thNj ( Figure 7 Each comparator 600Nj delivers a binary signal cmpnj ( Figure 7 cmpn1, cmpn2, cmpn3).
[0320] The circuit REF-ADAPT is configured to deliver, in addition to the voltage VrefP it delivers, for example, at the output 604P, a voltage VrefN, for example, at the output 604N of the circuit CTRL. The circuit REF-ADAPT is further configured to adapt the value of this voltage VrefN as a function of the signal cmpnj (i.e., as a function of the current value of the voltage V1). As an example, the circuit REF-ADAPT receives the signal cmpni at a corresponding input of the circuit REF-ADAPT.
[0321] For example, when the absolute value of the threshold thNj increases with the index j and the voltage V1 increases with the physical quantity it represents, the circuit REF-ADAPT is configured to deliver the negative voltage VrefN at an absolute maximum value when the absolute value of the negative voltage V1 is less than the absolute value of the negative threshold thP1, to deliver the negative voltage VrefN at a first value whose absolute value is less than the absolute value of the maximum value when the voltage V1 is between the thresholds thP2 and thP3, to deliver the negative voltage VrefN at a second value whose absolute value is less than the absolute value of the first value when the voltage V1 is between the thresholds thP2 and thP3, and to deliver the negative voltage VrefN at a minimum absolute value whose absolute value is less than the absolute value of the second value when the absolute value of the voltage V1 is greater than the absolute value of the threshold thP3. In other words, the circuit REF-ADAPT is configured to deliver the negative voltage VrefN at a maximum negative value when the negative voltage V1 is between zero and the negative threshold thP1, to deliver the negative voltage VrefN at a first negative value closer to zero than the maximum negative value when the voltage V1 is between the thresholds thP1 and thP1, to deliver the negative voltage VrefN at a second negative value closer to zero than the first negative value when the voltage V1 is between the thresholds thP2 and thP3, and to deliver the negative voltage VrefN at a minimum negative value closer to zero than the second negative value when the voltage V1 is more negative than the threshold thP3.
[0322] As an example, although Figure 7 Not shown in the figure, but the circuit REF-ADAPT, for example, includes a resistive voltage-dividing bridge in addition to the resistive bridge delivering the voltage VrefP, the resistive voltage-dividing bridge having an intermediate node configured to deliver the voltage VrefN, the value of the resistive element of this voltage-dividing bridge being controlled by the signal cmpnj to obtain the above-mentioned operation. Based on the functional indications given above, the implementation of such a circuit is within the capabilities of a person skilled in the art. In addition, a person skilled in the art will be able to provide other implementations of the circuit REF-ADAPT having the above-mentioned operation.
[0323] Although already contacted Figure 6 An example of an embodiment in which the voltage V1 is positive and the derivative of the voltage V1 is compared to a positive variable threshold THP is described and related Figure 7 An example of an embodiment is described in which the voltage V1 takes positive and negative values and its derivative is compared with the positive variable threshold THP and the negative variable threshold THN, but in an alternative embodiment, the voltage V1 is negative and its derivative is only compared with the negative variable threshold THN. Figure 6 and Figure 7 The description of the circuit DER and the implementation of such variants are within the capabilities of a person skilled in the art.
[0324] For example, in this variant, the Figure 7Compared to the circuit DER described above, the comparator COMP2P and the output 216P are omitted, and in addition, the circuit CTRL does not deliver the voltage VrefP and does not include the output 602P. Therefore, the circuit CTRL is not configured to adapt the value of the voltage VrefP according to the current value of the voltage V1, or in other words, the circuit REF-ADAPT does not deliver the voltage VrefP, does not include the output 604P, and is not configured to adapt the value of the voltage VrefP according to the current value of the voltage V1. For example, the circuit CTRL does not include the comparator 600Pi.
[0325] Contact above Figure 6 and Figure 7 Examples of embodiments and variants are described:
[0326] - when the voltage V1 is positive and increasing, the value of the positive threshold THP and therefore the value of the positive voltage VrefP decreases each time the voltage V1 becomes greater than one of the thresholds thPi, and, conversely, when the voltage V1 is positive and decreasing, the value of the threshold THP and therefore the value of the voltage VrefP increases each time the voltage V1 becomes less than one of the thresholds thPi; and / or
[0327] -When the voltage V1 is negative and its absolute value increases, each time the absolute value of the voltage V1 becomes greater than the absolute value of one of the threshold values thNj, the value of the negative threshold value THN and therefore the absolute value of the negative voltage VrefN decreases, and, conversely, when the voltage V1 is negative and its absolute value decreases, each time the absolute value of the voltage V1 becomes less than the absolute value of one of the threshold values thNj, the value of the negative threshold value THN and therefore the absolute value of the negative voltage VrefN increases.
[0328] In other words, in these embodiments and variations, the absolute value of the threshold THP (voltage VrefP) and / or the absolute value of the threshold THN (voltage VrefN) are each preferably discretely adapted to increase and decrease based only on the value of the voltage V1 .
[0329] In other embodiments and variations, it is desirable to:
[0330] -When voltage V1 is positive:
[0331] If the voltage V1 increases, then each time the voltage V1 becomes greater than one of the thresholds thPi, the value of the positive threshold THP and thus the value of the positive voltage VrefP decreases, and
[0332] If voltage V1 decreases, then each time voltage V1 becomes less than one of thresholds thPi, the value of threshold THP and therefore the value of voltage VrefP is increased if the derivative of voltage V1 (i.e., voltage V3) is negative, and is not modified if the derivative of voltage V1 is positive; and / or
[0333] -When the voltage V1 is negative:
[0334] If the absolute value of the voltage V1 increases, then each time the absolute value of the voltage V1 becomes greater than the absolute value of one of the threshold values thNj, the value of the negative threshold value THN and thus the absolute value of the negative voltage VrefN decreases, and
[0335] If the absolute value of the voltage V1 decreases, then if the derivative of the derivative voltage V1 (i.e., voltage V3) is positive, then each time the absolute value of the voltage V1 becomes less than one of the thresholds thNi, the absolute value of the value of the threshold THN and therefore the absolute value of the value of the voltage VrefN increases, whereas if the derivative of the voltage V1 is negative, it is not modified.
[0336] In these embodiments and variants, the current value of the threshold value THP and / or the current value of the threshold value THN are each expressed in absolute value by:
[0337] - modified downwards only based on the current value of voltage V1, and
[0338] - Modified upwards not only based on the current value of voltage V1 but also taking into account the polarity of the derivative of voltage V1 (ie the polarity of voltage V3).
[0339] This makes it possible to take into account the delay between an increase in the absolute value of voltage V1 and a corresponding change in the value of the derivative, i.e. the value of voltage V3, during the comparison of voltage V3 with one and / or the other of voltages VrefP and VrefN and, in particular, due to the fact that voltage V1 may decrease in absolute value during this delay period.
[0340] Figure 8 An example of such an embodiment of the circuit DER is illustrated. More particularly, Figure 8 shows that in the case where the upward modification of the threshold THP and therefore the voltage VrefP according to the value of the voltage V1 is conditioned on the polarity of the derivative (ie the polarity of the voltage V3), the relationship Figure 6 The described circuit DER embodiment is adjusted. For example, in Figure 8 , the upward modification of the threshold THP and thus of the voltage VrefP is only effective when the derivative of the voltage V1 (ie, the voltage V3 ) is negative.
[0341] therefore, Figure 8 The circuit DER includes many Figure 6 The circuits of the present invention share common elements, and only the differences between the two circuits are emphasized here. Figure 6 Like in Figure 8 The circuit DER and its circuit CTRL are partially shown in FIG.
[0342] exist Figure 8In the embodiment, the circuit CTRL is configured to implement the above-described operation, wherein the voltage VrefP is adapted downward when the voltage V1 increases and, for example, is adapted upward when the voltage V1 decreases, depending on the value of the voltage V1 and depending on the polarity of the voltage V3.
[0343] As an example, the circuit CTRL comprises an additional input 800 configured to receive a voltage V3. The circuit DER also comprises an additional comparator 802 configured to compare the voltage V3 with a zero or slightly negative voltage V- and deliver a binary signal V3N indicating the result of this comparison, i.e. the polarity (positive or negative) of the voltage V3.
[0344] For example, the voltage V- has a value ranging from 0 V to -100 mV. The voltage V- is, for example, equal to -50 mV.
[0345] In addition, Figure 8 In the example of the circuit DER of FIG. 1 , the signal cmppi is not delivered directly to the circuit REF-ADAPT, but is delivered to the corresponding circuit TP. Each circuit TP also receives the signal V3N and is configured to deliver a binary signal cmpptpi ( Figure 8 cmpptp1, cmpptp2, cmpptp3) in it.
[0346] More specifically, each circuit TP is configured, for example, as follows:
[0347] - switching its signal cmpptpi from a first binary state of this signal to a second binary state of this signal when its signal cmppi switches from a first binary state of this signal indicating that the voltage V1 is less than the threshold thPi to a second binary state indicating that the voltage V1 is greater than the threshold thPi;
[0348] - switching its signal cmpptpi from its second binary state to its first binary state when its signal cmppi is in its first binary state and at the same time the signal V3N indicates that the voltage V3 is negative;
[0349] - Otherwise, keep the signal cmpptpi in its current state.
[0350] In this example of circuit CTRL, circuit REF-ADAPT modifies the value of voltage VrefP at each modification of the binary state of one of signals cmpptpi. For example, circuit REF-ADAPT receives signal cmpptpi instead of signal cmppi. For example, each time signal cmpptpi switches from its first binary state to its second binary state, circuit REF-ADAPT decreases the value of voltage VrefP, and each time signal cmpptpi switches from its second binary state to its first binary state, circuit REF-ADAPT increases the value of voltage VrefP.
[0351] As an example, a person skilled in the art may implement each circuit TP based on an RS-type trigger having a set input terminal S controlled only based on a signal cmppi received by this circuit TP, a reset input terminal R controlled based on a combinatorial combination of the signal cmpptpi received by this circuit TP and V3N, and an output terminal Q that delivers or determines the signal cmpptpi delivered by this circuit TP.
[0352] Fig. 9 Another example of such an embodiment of the circuit DER is illustrated. More particularly, Fig. 9 The diagram shows the following situations: Figure 7 Adaptation of an embodiment of the circuit DER described:
[0353] - the upward modification of the threshold THP and therefore of the voltage VrefP according to the value of the voltage V1 is conditioned on the polarity of the derivative (i.e. on the polarity of the voltage V3), for example each upward modification of the voltage VrefP is conditioned on the fact that the derivative of the voltage V1 (i.e. the voltage V3) is negative;
[0354] - an upward modification of the absolute value of the threshold THN and therefore of the absolute value of the voltage VrefN according to the value of the voltage V1 is conditioned on the polarity of the derivative (i.e. on the polarity of the voltage V3), for example each upward modification of the absolute value of the voltage VrefN is conditioned on the fact that the derivative of the voltage V1 (i.e. the voltage V3) is positive.
[0355] therefore, Fig. 9 The circuit DER includes Figure 7 The circuits of the two devices share many elements, and only the differences between the two circuits are emphasized here. Figure 7 As shown in Fig. 9 The circuit DER and its circuit CTRL are partially shown in FIG.
[0356] exist Fig. 9In the embodiment, the circuit CTRL is configured to implement the above-mentioned operation, wherein the downward modification of the absolute value of each of the voltages VrefP and VrefN depends only on the current value of the voltage V1, and the upward modification of the absolute value of each of the voltages VrefP and VrefN depends not only on the current value of the voltage V1, but is also conditioned on the polarity of the voltage V3, or, in other words, these upward modifications depend on the current value of the voltage V1 and the polarity of the voltage V3.
[0357] As an example, for this purpose the circuit CTRL comprises an additional comparator 902 configured to compare the voltage V3 with a zero or slightly positive voltage V+ and to deliver a binary signal V3P indicating the result of this comparison, ie the polarity (positive or negative) of the voltage V3 .
[0358] For example, the voltage V+ is in the range of values from 0 V to 100 mV. The voltage V+ is for example equal to +50 mV.
[0359] In addition, Figure 8 In the example of the circuit DER of FIG. 1 , the signal cmpnj is not delivered directly to the circuit REF-ADAPT, but is delivered to the corresponding circuit TN respectively. Each circuit TN also receives the signal V3P and is configured to deliver a binary signal cmpntnj ( Fig. 9 cmpntn1, cmpntn2, cmpntn3).
[0360] More specifically, each circuit TN is configured, for example, as follows:
[0361] - when its signal cmpnj switches from a first binary state of the signal indicating that the voltage V1 is negative and the absolute value is less than the absolute value of the threshold thNj to a second binary state of the signal indicating that the voltage V1 is negative and the absolute value is greater than the absolute value of the threshold thNi, its signal cmpntnj switches from the first binary state of the signal to the second binary state of the signal;
[0362] - switching its signal cmpntnj from its second binary state to its first binary state when its signal cmpnj is in its first binary state and at the same time the signal V3P indicates that the voltage V3 is positive; and
[0363] - Otherwise, keep the signal cmpntnj in its current state.
[0364] In this example of circuit CTRL, circuit REF-ADAPT modifies the value of voltage VrefN at each modification of the binary state of one of the signals cmpntnij. For example, circuit REF-ADAPT receives signal cmpntnj instead of signal cmpnj. For example, circuit REF-ADAPT decreases the value of voltage VrefN by an absolute value each time signal cmpntnj switches from its first binary state to its second binary state, and increases the value of voltage VrefN by an absolute value each time signal cmpntnj switches from its second binary state to its first binary state.
[0365] As an example, a person skilled in the art may implement each circuit TN based on an RS-type flip-flop having a set input terminal S controlled only based on the signal cmpnj received by this circuit TN, a reset input R controlled based on a combinatorial combination of the signal cmpnj received by this circuit TN and V3P, and an output terminal Q that delivers or determines the signal cmpntnj delivered by this circuit TP.
[0366] In still other embodiments, instead of delivering binary alarm signals ODPP and ODPN, it is desirable that the circuit DER is configured to:
[0367] - delivering a binary alarm signal ODPPP in a first binary state indicating that the derivative of the voltage V1 is greater than the threshold value VrefP, i.e. indicating that the current value of the voltage V3 is greater than the voltage VrefP, only when the voltage V1 is positive, and more particularly only when the last value of the voltage V1 used to calculate this current value of the voltage V3 was positive, and
[0368] - Only when the voltage V1 is negative, and more specifically, only when the last value of the voltage V1 used to calculate this current value of the voltage V3 is negative, the binary alarm signal ODPNN in the first binary state is delivered, indicating that the derivative of the voltage V1 is less than the threshold value VrefN, i.e., indicating that the current value of the voltage V3 is less than the voltage VrefN.
[0369] Fig.10 An example of such an embodiment of the circuit DER is shown in FIG. Fig.10 is partially shown.
[0370] As an example, although Fig.10 DER also includes a circuit such as a contact Figure 7 or Fig. 9 Describe the circuit CTRL.
[0371] In this example of embodiment, in addition to the comparators COMP2N and COMP2P, the circuit DER also includes a circuit V1POL configured to indicate the polarity of the last value of the voltage V1 used for calculating the current value of the voltage V3 by means of at least one binary signal (for example, by means of two binary signals V1Ns and V1Ps). In other words, the circuit V1POL is configured to synchronize the values of the voltage V1 with the corresponding values of the voltage V3 and to indicate the polarity of each value of the voltage V1 resynchronized with the corresponding value of the voltage V3 by means of at least one binary signal.
[0372] For example, the signal V1Ps indicates by its binary state whether the last value of the voltage V1 used to calculate the derivative of the voltage V1 is positive. For example, the first binary state of the signal V1Ps indicates that the last value of the voltage V1 used to calculate the derivative of the voltage V1 is positive, and the second binary state of the signal V1Ps indicates that the last value of the voltage V1 used to calculate the derivative of the voltage V1 is negative or zero. Symmetrically, for example, the signal V1Ns indicates by its binary state whether the last value of the voltage V1 used to calculate the derivative of the voltage V1 is negative. For example, the first binary state of the signal V1Ns indicates that the last value of the voltage V1 used to calculate the derivative of the voltage V1 is negative, and the second binary state of the signal V1Ns indicates that the last value of the voltage V1 used to calculate the derivative of the voltage V1 is positive or zero.
[0373] For example, when the circuit DER is implemented according to the first aspect or according to the second aspect, the circuit V1POL indicates the polarity of the last value of the voltage V1 that was memorized and used to calculate the current value of the voltage V3 .
[0374] As a more specific example, in the second aspect or the third aspect, the current value of voltage V3 is calculated based on the difference between two voltages memorized on two corresponding capacitive elements among M capacitive elements, and circuit V1POL indicates the polarity of the last memorized of the two voltages.
[0375] For example, when circuit DER is implemented according to the third aspect, circuit V1POL indicates the polarity of voltage V1 when the value of voltage V3 indicates the correct derivative value of voltage V1. As an example, it is considered here that voltage V3 is updated only when the current value of voltage V1 used to calculate voltage V3 corresponds to the correct derivative value.
[0376] As a more specific example, in the third aspect, when the memorization of the voltage V1 on the capacitive element C1 is implemented at each falling edge (respectively, rising edge) of the internal clock of the circuit DER and the value of the voltage V3 is read at each rising edge (respectively, falling edge) of this internal clock so that the factor K has a known value, then the value of the voltage V3 is updated at each rising edge (respectively, falling edge) of the internal clock and is maintained at its current value between two consecutive updates.
[0377] As an example, the circuit V1POL includes a comparator 1000 configured to compare the voltage V1 with a zero or slightly negative voltage Vn. For example, the voltage Vn is in a range of values from 0V to -20mV. The voltage Vn is, for example, equal to -5mV. The comparator 1000 is configured to deliver a binary signal V1N indicating whether the voltage V1 is greater than the voltage Vn or less than the voltage Vn. Still in this example, the circuit V1POL includes a comparator 1002 configured to compare the voltage V1 with a zero or slightly positive voltage Vp. For example, the voltage Vp is in a range of values from 0V to 20mV. The voltage Vp is, for example, equal to 5mV. The comparator 1002 is configured to deliver a binary signal V1P indicating whether the voltage V1 is greater than the voltage Vp or less than the voltage Vp. In addition to the comparators 1000 and 1002, the circuit V1POL also comprises, in this example, a circuit SYNC configured to store the states of the signals V1N and V1P on the respective binary signals V1Ns and V1Ps each time, in the first and second aspects, the voltage V1 is memorized on one of the M capacitive elements or, in the third aspect, the voltage V3 has a value for which the value of the coefficient K is known or, in other words, the value of the voltage V3 corresponds to the correct value of the derivative of the voltage V1.
[0378] As an example (not shown), the two comparators 1000 and 1002 may be replaced by a single comparator that compares the voltage V1 to zero voltage.
[0379] As another example not shown, the circuit SYNC is configured to store the value of the voltage V1 each time, in the first and second aspects, the voltage V1 is memorized on one of the M capacitive elements, or, in the third aspect, the voltage V3 has a value for which the value of the coefficient K is known, or, in other words, the value of the voltage V3 corresponds to the correct value of the derivative of the voltage V1. In this other example, the memorized value of the voltage available at the output of the circuit SYNC is then compared with the two voltages Vn and Vp to obtain the signals V1Ns and V1Ps, or with a zero voltage to obtain a single output signal of the circuit V1POL.
[0380] The circuit DER also includes a combinational circuit BLANK configured to deliver the alarm signals OPPP and ODPN based on the signals ODPP and ODPN and based on the output signal(s) of the circuit V1POL. For example, the circuit BLANK receives the signals ODPP and ODPN. For example, the circuit BLANK receives the output signal(s) of the circuit V1POL, such as the signals V1NS and V1PS.
[0381] More specifically, circuit BLANK is configured as:
[0382] - if the signal ODPP indicates that the voltage V3 is greater than the threshold VrefP, while the last value of the voltage V1 used to calculate this current value of the voltage V3 is positive, then delivering the binary signal ODPPP in a first binary state indicating that the derivative of the voltage V1 is greater than the threshold VrefP, otherwise delivering the binary signal ODPPP in a second binary state, and
[0383] - If the signal ODPN indicates that the voltage V3 is less than the threshold VrefN and the last value of the voltage V1 used to calculate this current value of the voltage V3 is negative, then an alarm binary signal ODPNN in a first binary state is delivered indicating that the derivative of the voltage V1 is less than the threshold VrefN, otherwise an alarm binary signal ODPNN in a second binary state is delivered.
[0384] For example, the circuit BLANK is configured as:
[0385] - if the signal ODPP indicates that the voltage V3 is greater than the threshold VrefP, while the signal V1Ps is in its first binary state, then delivering the binary signal ODPPP in its first binary state indicating that the derivative of the voltage V1 is greater than the threshold VrefP, otherwise delivering the signal ODPPP in its second binary state; and
[0386] - If the signal ODPN indicates that the voltage V3 is less than the threshold VrefN, while the signal V1Ns is in its first binary state, then a binary alarm signal ODPNN in the first binary state is delivered indicating that the derivative of the voltage V1 is less than the threshold VrefN, otherwise the signal ODPPN in its second binary state is delivered.
[0387] Signals ODPPP and ODPNN are delivered at outputs 216PP and 216NN of circuit DER, whereupon circuit DER does not include any of outputs 216, 216N and 216P, which are replaced by outputs 216PP and 216NN.
[0388] Optionally, based on the signals ODPP and ODPN and on the output signal(s) of the circuit SYNC, the circuit BLANK is further configured to:
[0389] - if the signal ODPP indicates that the voltage V3 is greater than the threshold VrefP, while the last value of the voltage V1 used to calculate this current value of the voltage V3 is negative, then delivering the binary signal ODPPN in a first binary state indicating that the derivative of the voltage V1 is greater than the threshold VrefP, otherwise delivering the binary signal ODPPN in a second binary state, and / or
[0390] -If the signal ODPN indicates that the voltage V3 is less than the threshold VrefN and the last value of the voltage V1 used to calculate this current value of the voltage V3 is negative, then a binary alarm signal ODPNN in a first binary state is delivered indicating that the derivative of the voltage V1 is less than the threshold VrefN, otherwise a binary alarm signal ODPNN in a second binary state is delivered.
[0391] The signals ODPPN and ODPPN are delivered, for example, at respective outputs 216PN and 216PN of the circuit DER.
[0392] Additional aspects
[0393] In the circuits DER according to the first, second and third aspects above, M is respectively equal to 3, 2 and 1. Although this leads to an increase in the complexity of the circuit DER, those skilled in the art can provide an additional fifth aspect in which M is an integer greater than 3 based on the functional description given above.
[0394] Furthermore, although an embodiment of the device 3 implementing the circuit DER with M equal to 3 according to the first aspect has been described, a person skilled in the art will be able to adapt the description of the device 3 to the case of a circuit DER with M equal to 1, 2 or greater than 3.
[0395] More generally, a person skilled in the art will be able to implement a device 3 having a circuit DER implemented therein according to any one of the first, second, third and fifth aspects (in combination with or without the fourth aspect). In particular, a person skilled in the art will be able to modify the circuit CMD according to whether the circuit DER delivers the signal ODP, the signal ODPP, the signal ODPN, the two signals ODPN and ODPP, or at least two signals ODPPPP and ODPNN of the signals ODPPP, ODPPN, ODPNP and ODPNN.
[0396] Embodiments of the fourth aspect have been described as depending on any one of the first, second, third and fifth aspects. However, this fourth aspect may be implemented by other circuits for calculating the derivative of a quantity. In fact, comparing the calculated derivative value with a threshold adapted according to the current value of the quantity for which the derivative is calculated to trigger an alarm based on the result of this comparison does not require that the derivative calculation is based on any one of the first, second, third and fifth aspects, and may be implemented by a person skilled in the art using a derivative calculation based on the use of an ADC and / or a microcontroller based on the functional indications given above.
[0397] In addition, those skilled in the art will understand that dividing the circuit DER into multiple circuits is only for illustrative purposes, and in the aforementioned circuit DER, multiple circuits can be aggregated in a single circuit and / or one circuit can be divided into multiple circuits, provided that the functionality of the circuit DER is retained.
[0398] Various embodiments and variants have been described. It will be understood by a person skilled in the art that certain features of these different embodiments and variants can be combined and that other variants will occur to a person skilled in the art. In particular, as already indicated previously, the use of the circuit DER is not limited to implementation in the device 3 and, more generally, is not limited to the measurement of the derivative of the voltage V3 representing the value of the current I.
[0399] Finally, based on the functional indications given above, the actual implementation of the described embodiments and variants is within the capabilities of a person skilled in the art.
Claims
1. A derivative measurement circuit, include: M capacitive elements, where M is an integer greater than or equal to 1, each capacitive element having a first terminal connected to a first input of a measurement circuit configured to receive a reference potential; M first switches coupling a second terminal of each of the M capacitive elements to a first node configured to receive a first voltage determined by a voltage at a second input of a measurement circuit coupled to the first node; a first circuit configured to deliver a second voltage at a first output of the measurement circuit, the second voltage being indicative of a value of a voltage difference between a first input and a second input of the first circuit; a second switch coupling a second terminal of each of the M capacitive elements to an input of the first circuit; as well as The control circuit is configured as follows: receiving a first clock signal available at a third input of the measurement circuit; Implementing consecutive cycles, each of which corresponds to a series of M periods of the second clock signal determined by the first clock signal; The switches are controlled so that in each cycle of each loop: The first voltage is memorized on a capacitive element among the M capacitive elements; as well as A first input terminal of the first circuit receives a voltage stored on one of the M capacitive elements at a first moment, and a second input terminal of the first circuit receives a voltage representing the first voltage at a second moment different from the first moment.
2. The derivative measurement circuit according to claim 1, in: M is equal to 1; A first input terminal of the first circuit is coupled to the first node; as well as The control circuit is configured to control the switch so that in each period of each cycle, the second input terminal of the first circuit receives the voltage memorized on the capacitive element in this period.
3. The derivative measurement circuit according to claim 1, in: M is equal to 2; as well as The control circuit is configured to control the switch so that in each cycle: In each period of the cycle, the capacitive element of the M capacitive elements on which the first voltage is memorized is different, and At each period of the cycle, the second input of the first circuit receives a voltage across the terminals of one of the M capacitive elements other than the one on which memory is performed in this cycle, and the first input of the first circuit receives a voltage across another capacitive element of the M capacitive elements.
4. The derivative measurement circuit according to claim 1, in: M is equal to 3; as well as The control circuit is configured to control the switch so that in each cycle: In each period of the cycle, the capacitive element of the M capacitive elements on which the first voltage is memorized is different, and In each cycle of the cycle, the first input terminal of the first circuit receives a voltage across the terminals of one of the M capacitive elements other than the one on which memory is performed in this cycle, and the second input terminal of the first circuit receives a voltage across another capacitive element of the M capacitive elements other than the one on which memory is performed in this cycle.
5. The derivative measurement circuit according to claim 1, in: M is equal to 3; Each cycle corresponds to a series of first, second and third cycles of the second clock signal; as well as The control circuit is configured to control the switch so that: In each first cycle, the first voltage is stored in the first element, and the first input terminal and the second input terminal of the first circuit receive the voltages of the third element and the second element respectively. In each second period, the first voltage is stored in the second element, and the first input terminal and the second input terminal of the first circuit receive the voltages of the first element and the third element respectively, and In each third period, the first voltage is memorized on the third element, and the first input terminal and the second input terminal of the first circuit receive the voltages of the second element and the first element, respectively.
6. The derivative measurement circuit of claim 5 , wherein the first switch comprises a first first switch coupling the second terminal of the first element to the first node, a second first switch coupling the second terminal of the second element to the first node, and a third first switch coupling the second terminal of the third element to the first node.
7. The derivative measurement circuit of claim 5, wherein the control circuit is configured to: In each first cycle, keeping the second first switch and the third first switch off and switching the first first switch to an on state; In each second period, keeping the third first switch and the first first switch off and switching the second first switch to an on state; and In each third period, the second first switch and the first first switch are kept off and the third first switch is switched to an on state.
8. The derivative measurement circuit according to claim 5, wherein each memorization of the first voltage on the corresponding capacitive element has the same duration, for example less than or equal to one period of the second clock signal, preferably equal to half a period of the second clock signal.
9. The derivative measurement circuit of claim 5, wherein the second switch include: a first second switch and a second second switch to couple the second terminal of the first element to the first input terminal and the second input terminal of the first circuit, respectively; a third second switch and a fourth second switch to couple the second terminal of the second element to the first input terminal and the second input terminal of the first circuit, respectively; as well as The fifth second switch and the sixth second switch couple the second terminal of the third element to the first input terminal and the second input terminal of the first circuit respectively.
10. The derivative measurement circuit of claim 9, wherein the control circuit is configured to: In each first cycle, the fifth second switch and the fourth second switch are switched to an on state and the other second switches are kept off; In each second period, switching the first second switch and the sixth second switch to an on state and keeping the other second switches off; and In each third period, the third second switch and the second second switch are switched to an on state and the other second switches are kept off.
11. The derivative measurement circuit of claim 1 , wherein the measurement circuit further comprises a first smoothing capacitive element connected between a first input terminal of the first circuit and a first input terminal of the measurement circuit, and a second smoothing capacitive element connected between a second input terminal of the first circuit and the first input terminal of the measurement circuit.
12. The derivative measurement circuit of claim 1, wherein the measurement circuit further comprises a second circuit coupling a second input of the measurement circuit to the first node, wherein the second circuit is a buffer circuit.
13. The derivative measurement circuit of claim 1, wherein the measurement circuit further comprises: include: a first comparator configured to compare the second voltage with a positive threshold voltage provided by the control circuit and provide a first binary signal indicating whether the second voltage is greater than the positive threshold voltage; and / or The second comparator is configured to compare the second voltage with a negative threshold voltage provided by the control circuit and provide a second binary signal indicating whether the second voltage is lower than the negative threshold voltage.
14. The derivative measurement circuit according to claim 13, in: The measurement circuit includes a first comparator; and The control circuit is configured to adapt the value of the positive threshold voltage according to the value of the first voltage.
15. The derivative measurement circuit of claim 14, wherein the control circuit is configured to decrease the value of the positive threshold voltage when the first voltage is positive and increasing.
16. The derivative measurement circuit according to claim 13, in: The measurement circuit includes a second comparator; and The control circuit is configured to adapt the value of the negative threshold voltage depending on the value of the first voltage. 17 . The derivative measurement circuit of claim 16 , wherein the control circuit is configured to decrease the absolute value of the negative threshold voltage when the first voltage is negative and decreases.
18. A derivative measurement circuit, include: M capacitive elements, where M is an integer greater than or equal to 1, each capacitive element having a first terminal connected to a first input of a measurement circuit configured to receive a reference potential; M first switches coupling a second terminal of each of the M capacitive elements to a first node configured to receive a first voltage determined by a voltage at a second input of a measurement circuit coupled to the first node; a first circuit configured to deliver a second voltage at a first output of the measurement circuit, the second voltage being indicative of a value of a voltage difference between a first input and a second input of the first circuit; a second switch coupling a second terminal of each of the M capacitive elements to an input of the first circuit; The control circuit is configured as follows: receiving a first clock signal available at a third input of the measurement circuit; Implementing consecutive cycles, each of which corresponds to a series of M periods of the second clock signal determined by the first clock signal; The switches are controlled so that in each cycle of each loop: memorizing the first voltage on a capacitive element among the M capacitive elements; as well as A first input terminal of the first circuit receives a voltage memorized on one of the M capacitive elements at a first moment, and a second input terminal of the first circuit receives a voltage representing the first voltage at a second moment different from the first moment; a first comparator configured to compare the second voltage with a positive threshold voltage provided by the control circuit and provide a first binary signal indicating whether the second voltage is greater than the positive threshold voltage; as well as The second comparator is configured to compare the second voltage with a negative threshold voltage provided by the control circuit and provide a second binary signal indicating whether the second voltage is lower than the positive threshold voltage.
19. The derivative measurement circuit of claim 18, wherein the control circuit is configured to: adapting the value of the positive threshold voltage according to the value of the first voltage; and The value of the negative threshold voltage is adapted according to the value of the first voltage.
20. A derivative measurement circuit, include: M capacitive elements, where M is an integer greater than or equal to 1, each capacitive element having a first terminal connected to a first input of a measurement circuit configured to receive a reference potential; M first switches coupling a second terminal of each of the M capacitive elements to a first node configured to receive a first voltage determined by a voltage at a second input of a measurement circuit coupled to the first node; a first circuit configured to deliver a second voltage at a first output of the measurement circuit, the second voltage being indicative of a value of a voltage difference between a first input and a second input of the first circuit; a second switch coupling a second terminal of each of the M capacitive elements to an input of the first circuit; The control circuit is configured as follows: receiving a first clock signal available at a third input of the measurement circuit; Implementing consecutive cycles, each of which corresponds to a series of M periods of the second clock signal determined by the first clock signal; The switches are controlled so that in each cycle of each loop: memorizing the first voltage on a capacitive element among the M capacitive elements; as well as A first input terminal of the first circuit receives a voltage memorized on one of the M capacitive elements at a first moment, and a second input terminal of the first circuit receives a voltage representing the first voltage at a second moment different from the first moment; a first smoothing capacitive element connected between the first input of the first circuit and the first input of the measuring circuit, and a second smoothing capacitive element connected between the second input of the first circuit and the first input of the measuring circuit; as well as A second circuit couples a second input terminal of the measurement circuit to the first node, wherein the second circuit is a buffer circuit.
