COMPACT SUPPLY VOLTAGE GLITCH SENSOR WITH ADAPTIVE AMPLITUDE SENSITIVITY

20210270909 · 2021-09-02

    Inventors

    Cpc classification

    International classification

    Abstract

    A circuit includes a voltage comparator with an output, a first input and a second input, the first input being coupled to a first reference voltage terminal. An operational transconductance amplifier has an output coupled to the second input of the voltage comparator, an inverting input coupled to the output of the operational transconductance amplifier, and a non-inverting input coupled to a second reference voltage terminal. A filter capacitor is coupled in series between a power supply terminal and the second input of the voltage comparator.

    Claims

    1. A circuit comprising: a first power supply terminal; a second power supply terminal, wherein a voltage between the first power supply terminal and the second power supply terminal is a power supply voltage; a first reference voltage terminal configured to carry a first reference voltage; a second reference voltage terminal configured to carry a second reference voltage that is different from the first reference voltage; a voltage comparator comprising an output, a first input and a second input, the first input being coupled to the first reference voltage terminal; an operational transconductance amplifier comprising an output coupled to the second input of the voltage comparator, an inverting input coupled to the output of the operational transconductance amplifier, and a non-inverting input coupled to the second reference voltage terminal; and a filter capacitor coupled in series between a power supply terminal and the second input of the voltage comparator, the power supply terminal being either the first power supply terminal or the second power supply terminal.

    2. The circuit according the claim 1, wherein a disturbance detection signal at the output of the voltage comparator is representative of a transient in the power supply voltage that exceeds an authorized variation range with respect to an average value of the power supply voltage, the extent of the authorized variation range being defined by a difference in voltage between the first reference voltage and the second reference voltage.

    3. The circuit according to claim 1, further comprising: a first resistor, a second resistor and a third resistor coupled in series between the first power supply terminal and the second power supply terminal; a second operational transconductance amplifier having an output coupled to the first reference voltage terminal, a first input coupled between the first and second resistors, and a second input coupled to the output of the second operational transconductance amplifier; a second capacitor coupled to an output of the second operational transconductance amplifier; a third operational transconductance amplifier having an output coupled to the second reference voltage terminal, a first input coupled between the second and third resistors, and a second input coupled to the output of the third operational transconductance amplifier; and a third capacitor coupled to an output of the third operational transconductance amplifier.

    4. The circuit according to claim 1, wherein an input from among the first input and the second input of the voltage comparator is configured to receive a voltage derived from the power supply voltage by a low-pass filtering and representative of a continuous component of the power supply voltage, and wherein the other input from among the first input and the second input of the voltage comparator is configured to receive a voltage derived from the power supply voltage by high-pass filtering and is representative of a high-frequency component around the continuous component of the power supply voltage.

    5. The circuit according to claim 4, wherein the other input from among the first input and the second input of the voltage comparator is configured to receive the voltage derived from the power supply voltage by low-pass and high-pass filtering.

    6. The circuit according to claim 1, wherein the first input of the voltage comparator is an inverting input and the first reference voltage is greater than the second reference voltage in the absence of disturbances, the circuit being configured to detect positive disturbances.

    7. The circuit according to claim 1, wherein the first input of the voltage comparator is a non-inverting input and the first reference voltage is less than the second reference voltage in the absence of disturbances, the circuit being configured to detect negative disturbances.

    8. The circuit according to claim 1, wherein the filter capacitor is coupled to the first power supply terminal and has a capacitance adapted to perform a high-pass filtering of the power supply voltage with a cut-off frequency less than 1 MHz, and wherein an average value of the power supply voltage corresponds to a continuous component of the power supply voltage resulting from a low-pass filtering of the power supply voltage at a cut-off voltage less than 1 MHz.

    9. The circuit according to claim 1, wherein the filter capacitor is connected to the second power supply terminal and has a capacitance adapted to perform a low-pass filtering of the second reference voltage with a cut-off frequency less than 1 MHz.

    10. The circuit according to claim 1, comprising a reference circuit comprising a first resistor, a second resistor and a third resistor coupled in series between the first power supply terminal and the second power supply terminal, wherein the first reference voltage is derived from a voltage between the first resistor and the second resistor filtered by a first filter and the second reference voltage is derived from a voltage between the second resistor and the third resistor filtered by a second filter.

    11. The circuit according to claim 10, wherein the first filter and the second filter are low-pass filters.

    12. The circuit according to claim 10, wherein the first filter and the second filter are high-pass filters.

    13. The circuit according to claim 10, wherein the first filter comprises a second operational transconductance amplifier and a first capacitor coupled to an output of the second operational transconductance amplifier; wherein the second filter comprises a third operational transconductance amplifier and a second capacitor coupled to an output of the third operational transconductance amplifier; wherein the output of the second operational transconductance amplifier is coupled to the first reference voltage terminal; and wherein the output of the third operational transconductance amplifier is coupled to the second reference voltage terminal.

    14. The circuit according to claim 13, wherein an inverting input of the second operational transconductance amplifier is connected to the output of the second operational transconductance amplifier and a non-inverting input of the second operational transconductance amplifier is coupled between the first and second resistors, the first capacitor being connected between the output of the second operational transconductance amplifier and that first or second power supply terminal that is not the power supply terminal.

    15. A circuit comprising: a first power supply terminal; a second power supply terminal; a first reference voltage terminal configured to carry a first reference voltage; a second reference voltage terminal configured to carry a second reference voltage that is less than the first reference voltage; a first voltage comparator comprising an output, an inverting input and a non-inverting input, the inverting input being coupled to the first reference voltage terminal; a first operational transconductance amplifier comprising an output coupled to the non-inverting input of the first voltage comparator, an inverting input coupled to the output of the first operational transconductance amplifier, and a non-inverting input coupled to the second reference voltage terminal; a first filter capacitor in series between the first power supply terminal and the non-inverting input of the first voltage comparator; a second voltage comparator comprising an output, an inverting input and a non-inverting input, the non-inverting input being coupled to the second reference voltage terminal; a second operational transconductance amplifier comprising an output coupled to the inverting input of the second voltage comparator, an inverting input coupled to the output of the second operational transconductance amplifier, and a non-inverting input coupled to the second reference voltage terminal; and a second filter capacitor in series between the second power supply terminal and the inverting input of the second voltage comparator.

    16. The circuit according to claim 15, further comprising: a first resistor, a second resistor and a third resistor coupled in series between the first power supply terminal and the second power supply terminal; a third operational transconductance amplifier having an output coupled to the first reference voltage terminal, a first input coupled between the first and second resistors, and a second input coupled to the output of the third operational transconductance amplifier; a third capacitor coupled to an output of the third operational transconductance amplifier; a fourth operational transconductance amplifier having an output coupled to the second reference voltage terminal, a first input coupled between the second and third resistors, and a second input coupled to the output of the fourth operational transconductance amplifier; and a fourth capacitor coupled to an output of the fourth operational transconductance amplifier.

    17. A method of detecting disturbances in a power supply voltage between a first power supply terminal and a second power supply terminal, the method comprising: applying a first reference voltage to a first input of an operational transconductance amplifier; filtering an output of the operational transconductance amplifier; applying the output of the operational transconductance amplifier to a second input of the operational transconductance amplifier and to a first input of a voltage comparator; applying a second reference voltage to a second input of the voltage comparator, the second reference voltage being different than the first reference voltage; and analyzing a detection signal at an output of the voltage comparator to determine whether there is a disturbance in the power supply voltage.

    18. The method according to claim 17, wherein analyzing the detection signal comprises detecting a change in the detection signal to determine that there is a disturbance in the power supply voltage because a voltage level of the detection signal exceeds an authorized variation range with respect to an average value of the power supply voltage, wherein the authorized variation range is defined by a difference in voltage between the first reference voltage and the second reference voltage.

    19. The method according to claim 18, wherein the power supply voltage is generated by a power supply of a secure electronic device, the method further comprising taking action to prevent negative consequences that could be caused by a hacker attack on the secure electronic device.

    20. The method according to claim 17, wherein the first input of the voltage comparator is an inverting input and the first reference voltage is greater than the second reference voltage in the absence of disturbances, wherein analyzing the detection signal comprises detecting a change in the detection signal to determine whether there is a positive disturbance in the power supply voltage.

    21. The method according to claim 17, wherein the first input of the voltage comparator is a non-inverting input and the first reference voltage is less than the second reference voltage in the absence of disturbances, wherein analyzing the detection signal comprises detecting a change in the detection signal to determine whether there is a negative disturbance in the power supply voltage.

    Description

    BRIEF DESCRIPTION OF THE DRAWINGS

    [0025] Other characteristics, purposes and advantages of the method will come from the following description, which is purely for the purposes of information and is not limiting, and which must be read with regards to the accompanying drawings wherein:

    [0026] FIG. 1A is an example of a positive disturbance detection circuit according to a possible embodiment of the invention, comprising a high-pass filter.

    [0027] FIG. 1B is an example of a negative disturbance detection circuit according to a possible embodiment of the invention, comprising a high-pass filter.

    [0028] FIG. 2 is an example of a reference circuit delivering the first reference voltage and the second reference voltage to a disturbance detection circuit such as the one shown in FIGS. 1a and 1b by deriving the reference voltages by a low-pass filtering.

    [0029] FIG. 3 is an example of a reference circuit delivering the first reference voltage and the second reference voltage to the disturbance detection circuit by deriving the reference voltages by a high-pass filtering.

    [0030] FIG. 4A is an example of a positive disturbance detection circuit according to a possible embodiment of the invention, comprising a low-pass filter.

    [0031] FIG. 4B is an example of a negative disturbance detection circuit according to a possible embodiment of the invention, comprising a low-pass filter.

    DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENTS

    [0032] In reference to FIGS. 1A and 1B, which show examples of positive and negative disturbance detection circuits, respectively, the detection circuit 10a, 10b is connected to a first power supply terminal 12 of the electronic circuit, at a high voltage Vcc, which defines a power supply voltage with a second power supply terminal at a low voltage Vee. In order to simplify the description hereinbelow, the second power supply terminal can be considered as the ground, the power supply voltage then being the voltage Vcc.

    [0033] The detection circuit 10a, 10b comprises a voltage comparator 14 comprising an output 16, a first input 18 and a second input 20. The first input 18 is configured to receive a first reference voltage V.sub.ref1. The result provided by the voltage comparator 14 on its output 16 is the usable voltage signal, in the form of a detection signal Vd, representative of the detection of a disturbance. A filter capacitor 22 is connected in series between the first power supply terminal 12 and the second input 20 of the voltage comparator 14. The voltage comparator 14 can be a simple comparator with a differential pair and a second gain stage. In order to reduce consumption, the second stage should be in the off state in normal time, i.e. in the absence of disturbance, which can easily be obtained by choosing to connect the output of the differential pair to a transistor gate which becomes on only in the case of disturbance detection. This also has the advantage of reducing the reaction time of the voltage comparator 14.

    [0034] The detection circuit 10a, 10b comprises an operational transconductance amplifier 24 comprising an output 26 connected to the filter capacitor 22 and to the second input 20 of the voltage comparator, an inverting input 28 connected to its own output 26, and a non-inverting input 30 configured to receive a second reference voltage V.sub.ref2.

    [0035] The detection circuit 10a, 10b therefore makes use of two reference voltages V.sub.ref1, V.sub.ref2, that have different values, and of which the difference in voltage defines an authorized variation range for the power supply voltage Vcc. Preferably, the reference voltages V.sub.ref1, V.sub.ref2 are representative of the average value of the power supply voltage (Vcc), within a proportionality factor.

    [0036] The operational transconductance amplifier 24 constitutes a current-depleted transconductor and, through its negative retraction loop, can be assimilated to a high-impedance resistor. The unit formed by the operational transconductance amplifier 24 and the filter capacitor 22 therefore forms a high-pass filter, configured to filter the power supply voltage Vcc coming from the power supply terminal 12. The transconductance of the amplifier 24 and the capacitance of the filter capacitor 22 are chosen in such a way as to perform a high-pass filtering with a cut-off frequency that corresponds to the needs of the detection, for example less than 1 MHz, and greater than 10 kHz.

    [0037] This high-pass filtering makes it possible to select, from the variations in the power supply voltage Vcc, those able to form disturbances for the power management unit (PMU) of the electronic circuit and therefore able to allow for the injection of faults into the execution of programs or algorithms by the electronic circuit. For example, variations extending over long durations (e.g. greater than 100 μs) do not generate transient effects that can cause operating errors of the electronic circuit that can be used. Excessively abrupt variations (e.g. extending over a duration of less than 10 ns) also have no effect for the power management unit, with the integrated capacitors of the power management unit offering a sufficient rejection for disturbances of a frequency greater than 10 MHz.

    [0038] Since the filter capacitor 22 is not used here as a source for the loads passing through a transistor, the capacitance of the filter capacitor 22 can be chosen much lower than in the disturbance detectors used previously while still retaining the high-pass filtering function thereof. Byway of example, the filter capacitor 22 can for example have a capacitance comprised between 50 and 500 fF, and preferably a capacitance comprised between 75 and 250 fF.

    [0039] The output 26 of the operational transconductance amplifier 24 follows the second reference voltage V.sub.ref2. The second input 20 of the voltage comparator 14 has therefore applied to it a disturbed voltage corresponding to the second reference voltage V.sub.ref2 to which the high-frequency variations γ coming from the capacitor 22 are added. The voltage comparator 14 performs a comparison between this disturbed voltage (V.sub.ref2+γ) and the first reference voltage V.sub.ref1 applied to its first input 18. The detection signal Vd on the output 16 of the voltage comparator 14 changes state when the transient variations of power supply voltage Vcc are greater in amplitude that the difference between the first reference voltage V.sub.ref1 and the second reference voltage V.sub.ref2.

    [0040] The particulars of this comparison depend on the type of disturbance detector. In the case of a positive disturbance detection circuit, i.e. configured to detect when the power supply voltage is transiently above the authorized variation range around the nominal value, the first input 18 is the inverting input of the voltage comparator 14 and the second input 20 of the voltage comparator 14 is the non-inverting input of the voltage comparator 14. This is the configuration shown in FIG. 1A. In this configuration, the first reference voltage V.sub.ref1 is greater than the second reference voltage V.sub.ref2. As long as the disturbed voltage (V.sub.ref2+γ) remains less than the first reference voltage V.sub.ref1, the detection signal Vd remains in a first state representative of the absence of disturbance. The detection signal Vd changes state when the disturbed voltage (V.sub.ref2+γ) becomes greater than the first reference voltage V.sub.ref1, i.e. when γ>V.sub.ref1−V.sub.ref2, meaning that the disturbance has an amplitude in voltage (with respect to a nominal value of the power supply voltage) greater than the difference between the second reference voltage V.sub.ref2 and the first reference voltage V.sub.ref1.

    [0041] By means of a connection with the output 16 of the voltage comparator 14, the detection signal Vd can be transmitted to the electronic circuit and, according to the state of the detection signal Vd, different tasks can be implemented. In particular, when the detection signal Vd has a second state representative of the presence of a disturbance, an alert signal can be emitted indicating that an attack is in progress, the electronic circuit can be placed on standby, or any other action that makes it possible to ensure that the operating safety of the electronic circuit will not be affected by this disturbance.

    [0042] In the case of a negative disturbance detection circuit, i.e. configured to detect when the power supply voltage is transiently below the authorized variation range around the nominal value of the power supply voltage Vcc, the first input 18 is the non-inverting input of the voltage comparator 14 and the second input 20 is the inverting input of the voltage comparator 14. This is the configuration shown in FIG. 1B. In this configuration, the first reference voltage V.sub.ref1 is less than the second reference voltage V.sub.ref2. As long as the disturbed voltage (V.sub.ref2+γ) remains greater than the first reference voltage V.sub.ref1, the detection signal Vd remains in a first state representative of the absence of disturbance. The detection signal Vd changes state when the disturbed voltage (V.sub.ref2+γ) becomes less than the first reference voltage V.sub.ref1, i.e. when γ<V.sub.ref1−V.sub.ref2, meaning that the disturbance has a negative amplitude in voltage (with respect to a nominal value of the power supply voltage Vcc) greater than the difference between the first reference voltage V.sub.ref1 and the second reference voltage V.sub.ref2.

    [0043] Note that although the assembly of FIG. 1A only allows for the detection of positive disturbances, and although the assembly of FIG. 1B only allows for the detection of negative disturbances, it is possible to easily combine the two detections by using the two assemblies in parallel, thus allowing the detection circuit to detect bother the positive and negative disturbances.

    [0044] It is therefore possible to provide a disturbance detection circuit a first detection circuit and a second detection circuit. In the first detection circuit, the first input 18 of the voltage comparator 14 is an inverting input. When the first reference voltage V.sub.ref1 is greater than the second reference voltage V.sub.ref2, the first disturbance detection circuit is configured to detect the positive disturbances. In the second detection circuit, the first input 18 of the voltage comparator 14 is a non-inverting input. When the first reference voltage V.sub.ref1 is less than the second reference voltage V.sub.ref2, the second disturbance detection circuit is configured to detect the negative disturbances.

    [0045] With respect to detection circuits used previously, the detection circuits 10a, 10b proposed allow for a notable savings in space. In particular, the large resistors are replaced with current-depleted operational transconductance amplifiers 26, much smaller than the large resistors. Likewise, the capacitors 22 are of a lesser capacitance, as explained hereinabove, and are therefore not as large. The detection circuit 10a, 10b, can therefore be carried out on a smaller surface than previously. Furthermore, the comparison carried out by the voltage comparator 14 is much less sensitive to fluctuations in manufacturing and temperature, with respect to the use of a threshold voltage of a transistor, which improves the detection precision. Finally, although using a threshold voltage of a transistor requires that the disturbances exceed in amplitude this threshold voltage, the detection circuit 10a, 10b proposed can detect disturbances that are lower than this threshold voltage, thus allowing for the use of power supply voltages Vcc with low values, which limits the electrical consumption.

    [0046] As explained hereinabove, the difference between the first reference voltage V.sub.ref1 and the second reference voltage V.sub.ref2 defines the authorized variation range. The difference in voltage between the first reference voltage V.sub.ref1 and the second reference voltage V.sub.ref2, for example expressed as a percentage of the nominal value of the power supply voltage Vcc, corresponds to the authorized variation in the power supply voltage Vcc around the nominal value thereof. For example, when the nominal power supply voltage Vcc is at 5 V, a variation in the power supply voltage of 20% around this nominal value of 5 V consists of a voltage variation range of 1 V. The first reference voltage V.sub.ref1 and the second reference voltage V.sub.ref2 then differ between them by 20% of the nominal value of 5 V, which is 1 V. For example, a reference voltage can be of 1.25 V and the other reference voltage can be 0.25 V. Or, a reference voltage can be of 2 V and the other reference voltage can be 1 V. When the nominal power supply voltage Vcc is at 1.5 V, a variation in the power supply voltage of 20% around this nominal value of 1.5 V consists of a voltage variation range of 0.3 V. The first reference voltage V.sub.ref1 and the second reference voltage V.sub.ref2 then differ by 20% of the nominal value of 1.5 V, or 0.3 V. For example, a reference voltage can be of 0.6 V and the other reference voltage can be 0.3 V. Or, a reference voltage can be of 1V and the other reference voltage can be 0.7 V. Other variations in the power supply voltage can be authorized, such as for example 10%, the difference between the reference voltages V.sub.ref1, V.sub.ref2 is then chosen in consequence.

    [0047] It is possible to impose reference voltages V.sub.ref1, V.sub.ref2 at fixed values, thus setting a fixed authorized variation range. However, fixed values for reference voltages V.sub.ref1, V.sub.ref2 can give rise to a problem when the electronic circuit can operate with different power supply voltage Vcc values. For example, if a margin of ±1V is acceptable when the power supply voltage Vcc has a nominal value of 5 V, such a margin is no longer acceptable when the power supply voltage Vcc has a nominal value of 1.5 V.

    [0048] In order to allow the detection circuit to adapt to various power supply voltages Vcc, it is preferable that the reference voltages V.sub.ref1, V.sub.ref2 be adaptive according to the power supply voltage since the extent of the authorized variation range with respect to the nominal value of the power supply voltage Vcc is a constraint to be complied with, for example ±10% or ±20% with respect to the nominal value of the power supply voltage Vcc. Consequently, the two reference voltages V.sub.ref1, V.sub.ref2 are preferably proportional to the power supply voltage Vcc, and more precisely to an average value of the power supply voltage Vcc. The two reference voltages V.sub.ref1, V.sub.ref2 are preferably also linked together according to a constant factor, and one reference voltage is therefore proportional to the other. Thus, the two reference voltages V.sub.ref1, V.sub.ref2 vary together by retaining a difference in voltage between them that is constant when this difference is expressed according to the power supply voltage Vcc.

    [0049] The best way to link the two reference voltages V.sub.ref1, V.sub.ref2 and the power supply voltage Vcc together consists in deriving the two reference voltages V.sub.ref1, V.sub.ref2 from the power supply voltage Vcc. To this effect, the detection circuit 10a, 10b comprises a reference circuit 50 delivering the first reference voltage V.sub.ref1 and the second reference voltage V.sub.ref2, from the power supply voltage Vcc, of which an example embodiment is shown in FIG. 2. The reference circuit 50 comprising a series of at least three resistors 51, 52, 53 in series between a first power supply terminal 12 at a first voltage Vcc and a second power supply terminal 13 at a second voltage Vee (comparable to the ground), defining between them the power supply voltage. Note that it is possible to use as a series of resistors elements present at other locations of the electronic circuit, such as for example resistive divider bridges.

    [0050] A high reference voltage V.sub.refH is derived from a voltage between the first resistor 51 and the second resistor 52 filtered by a low-pass filter. A low reference voltage V.sub.refL is derived from a voltage between the second resistor 52 and the third resistor 53 filtered by a low-pass filter. The first reference voltage V.sub.ref1 and the second reference voltage V.sub.ref2 each correspond either to the high reference voltage V.sub.refH, or to the low reference voltage V.sub.refL, according to the assemblies. More precisely, for a detection of positive disturbances, the first reference voltage V.sub.ref1 corresponds to the high reference voltage V.sub.refH and the second reference voltage V.sub.ref2 corresponds to the low reference voltage V.sub.refL. Inversely, for a detection of negative disturbances, the first reference voltage V.sub.ref1 corresponds to the low reference voltage V.sub.refL and the second reference voltage V.sub.ref2 corresponds to the high reference voltage V.sub.refH.

    [0051] It is the values of resistors 51, 52, 53 that define the respective values of the high reference voltage V.sub.refH and of the low reference voltage V.sub.refL, and which therefore set the difference between the first reference voltage V.sub.ref1 and the second reference voltage V.sub.ref2. The series of resistors therefore comprises a first resistor 51 having a first resistance value R1, a second resistor 52 having a second resistance value R2 and a third resistor 53 with a third resistance value R3. The first reference voltage V.sub.ref1 and the second reference voltage V.sub.ref2 are defined with respect to the power supply voltage Vcc according to ratios that make use of the first resistance value R1, the second resistance value R2, and the third resistance value R3. More precisely, the high reference voltage V.sub.refH corresponds to:

    [00001] V refH = R 2 + R 3 R 1 + R 2 + R 3 Vcc [ Equation 1 ]

    while the low reference voltage V.sub.refL corresponds to:

    [00002] V refL = R 3 R 1 + R 2 + R 3 Vcc [ Equation 2 ]

    [0052] It can therefore be seen that the high reference voltage V.sub.refH is greater than the low reference voltage V.sub.refL, according to a constant factor k defined by the second resistance value R2 and by the third resistance value R3:

    [00003] k = R 2 + R 3 R 3 [ Equation 3 ]

    in such a way that regardless of the value of the power supply voltage Vcc, V.sub.refH=k V.sub.refL always. Thus, the proportionality between the high reference voltage V.sub.refH and the low reference voltage V.sub.refL is always retained. Of course, the resistance values R1, R2, R3 are chosen so as to obtain the desired values for the first reference voltage V.sub.ref1 and the second reference voltage V.sub.ref2. For example, if it is desired that the high reference voltage V.sub.refH correspond to 40% of the power supply voltage Vcc, and that the reference voltage V.sub.refL correspond to 20% of the power supply voltage Vcc (establishing an authorized variation range of 20% around the nominal value of the power supply voltage Vcc), it is then sufficient to choose R1=3.Math.R2=3.Math.R3. It is also possible to choose R1=0 or R3=0 if it is desired that one of the reference voltages V.sub.ref1 or V.sub.ref2 be that of one of the power supply terminals of the circuit, subject to a comparator 14 capable of operating with input voltages close to the power supplies thereof.

    [0053] The low-pass filtering is used so that the high reference voltage V.sub.refH and the low reference voltage V.sub.refL are proportional to a temporal average of the reference voltage Vcc, i.e. of a continuous component of the reference voltage Vcc, without taking account of a high-frequency component formed by the transient disturbances. Each low-pass filter comprises an operational transconductance amplifier 56.sub.H, 56.sub.L and a capacitor 58.sub.H, 58.sub.L. The operational transconductance amplifier 56.sub.H, 56.sub.L comprises an output 60.sub.H, 60.sub.L configured to deliver a reference voltage, i.e. either the high reference voltage V.sub.refH or the low reference voltage V.sub.refL. The capacitor 58.sub.H, 58.sub.L is connected between the output 60.sub.H, 60.sub.L of the operational transconductance amplifier 56.sub.H, 56.sub.L and the second power supply terminal Vee (e.g. the ground). The inverting input 62.sub.H, 62.sub.L of the operational transconductance amplifier 56.sub.H, 56.sub.L is connected to the output 60.sub.H, 60.sub.L of the operational transconductance amplifier 56.sub.H, 56.sub.L, and the non-inverting input 64.sub.H, 64.sub.L of the operational transconductance amplifier 56.sub.H, 56.sub.L is connected between two resistors 51, 52, 53 in series. More precisely, the non-inverting input 64.sub.H of the operational transconductance amplifier 56.sub.H delivering the high reference voltage V.sub.refH is connected to the node between the first resistor 51 and the second resistor 52, while the non-inverting input 64.sub.L of the operational transconductance amplifier 56.sub.L delivering the low reference voltage V.sub.refL is connected to the node between the second resistor 52 and the third resistor 53.

    [0054] According to the configurations, one of the outputs 60.sub.H, 60.sub.L of the operational transconductance amplifiers 56.sub.H, 56.sub.L, is connected to the non-inverting input 18 of the comparator 14, while the other of the outputs 60.sub.H, 60.sub.L of the operational transconductance amplifiers 56.sub.H, 56.sub.L, is connected to the non-inverting input 30 of the operational transconductance amplifier 24.

    [0055] The reference circuit 50 therefore delivers the first reference voltage V.sub.ref1 and the second reference voltage V.sub.ref2, which are proportional to a continuous component of the reference voltage Vcc, thanks to the low-pass filtering performed on the divided voltages of the power supply voltage. The characteristics of the two capacitors 58H, 58L are preferably identical, in such a way that the filterings are also identical. The capacitance of the capacitors 58H, 58L are chosen so that the low-pass filtering has a cut-off frequency less than 1 MHz, and preferably less than 500 kHz, and greater than 10 kHz. By way of example, capacitors 58H, 58L can have a capacitance comprised between 50 and 500 fF, and preferably a capacitance comprised between 75 and 250 fF.

    [0056] Thanks to the reference circuit 50, the reference voltages V.sub.ref1, V.sub.ref2 are self-adapting according to the power supply voltage Vcc and guarantee a constant extent of the authorized variation range with respect to the nominal value of the power supply voltage Vcc. It is not necessary to perform any configuration whatsoever of the detection circuit 10a, 10b, nor is it necessary to determine what the power supply voltage used is. The detection circuit 10a, 10b indeed simply detects that a transient component (amplitude of the high-frequency variations γ) of the power supply voltage Vcc does not exceed an authorized variation range (determined by the difference between the reference voltages V.sub.ref1, V.sub.ref2) with respect to a continuous component (temporal average) of the power supply voltage Vcc.

    [0057] Using a reference circuit 50 makes it possible to continuously make the detection of disturbances self-adaptive according to the power supply voltage Vcc. Alternatively, it is however possible to use a reference voltage generator unit, configured to deliver reference voltages V.sub.ref1, V.sub.ref2 at predefined values. However, in order to allow for an adaptation to different values of the power supply voltage, it is then preferable to provide a voltage detector that makes it possible to switch between different reference voltage values V.sub.ref1, V.sub.ref2 according to the detected values of the power supply voltage Vcc.

    [0058] Note that the low-pass filtering and high-pass filtering are complementary, and can be inversed. It is sufficient indeed for an input from among the first input 18 and the second input 20 of the voltage comparator 14 be configured to receive a voltage derived from the power supply voltage by a low-pass filtering and representative of a continuous component of said power supply voltage, and that the other input from among the first input 18 and the second input 20 of the voltage comparator 14 be configured to receive a voltage derived from the power supply voltage by low-pass and high-pass filtering and representative of a high-frequency component around the continuous component of said power supply voltage.

    [0059] As such, FIGS. 3, 4A and 4B show circuits equivalent to the circuits of FIGS. 1A, 1B and 2, wherein the low-pass and high-pass filters have been inversed.

    [0060] Thus, FIG. 3 shows a reference circuit 50 similar to the one of FIG. 2, except in that the capacitors 58H, 58L are connected to the first power supply terminal 12 at the voltage Vcc instead of being connected to the second power supply terminal 13. Each high-pass filter is thus formed from an operational transconductance amplifier 56.sub.H, 56.sub.L and a capacitor 58.sub.H, 58.sub.L. For each low-pass filter, the transconductance of the amplifier 56H, 56L and the capacitance of the capacitor 58.sub.H, 58.sub.L are chosen in such a way as to perform a low-pass filtering with a cut-off frequency that corresponds to the needs for detection, for example less than 1 MHz, and greater than 10 kHz.

    [0061] Likewise, FIGS. 3, 4A and 4B show detection circuits wherein the unit formed by the operational transconductance amplifier 24 and the filter capacitor 22 forms a high-pass filter instead of a low-pass filter. To do this, the filter capacitor 22 is connected in series between the second input 20 of the voltage comparator 14 and the second power supply terminal 13 at the voltage Vee, instead of being connected to the first power supply terminal 12. The transconductance of the amplifier 24 and the capacitance of the filter capacitor 22 are chosen in such a way as to perform a filtering with a cut-off frequency less than 1 MHz, and preferably less than 500 kHz, and greater than 10 kHz. By way of example, the filter capacitor 22 can have a capacitance comprised between 50 and 500 fF, and preferably a capacitance comprised between 75 and 250 fF. The other characteristics of the detection circuit are the same as those described in reference to FIGS. 1A and 1B.

    [0062] The invention is not limited to the embodiment described and shown in the accompany figures. Modifications remain possible, in particular from the standpoint of the constitution of the various technical characteristics or by substitution of technical equivalents, without however leaving the scope of protection of the invention.