Analog-to-digital converter

By employing two oscillators sensitive to different electrical characteristics and alternating their measurement phases, the analog-digital converter stabilizes the output against supply voltage and manufacturing process variations, ensuring accurate digital conversion.

FR3147467A1Pending Publication Date: 2024-10-04STMICROELECTRONICS INT NV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
FR2023003071
Authority / Receiving Office
FR · FR
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-30
Publication Date
2024-10-04

AI Technical Summary

Technical Problem

Analog-digital converters are sensitive to variations in supply voltage, aging, and manufacturing process dispersions, leading to measurement errors.

Method used

The use of two identical oscillators, each sensitive to different electrical characteristics of two elements, alternating their measurement phases to compensate for these variations by counting oscillations and combining results to stabilize the output.

Benefits of technology

The solution reduces measurement errors due to supply voltage and manufacturing process variations, providing a stable digital output representative of the physical quantity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000019_0000
    Figure 00000019_0000
  • Figure 00000019_0001
    Figure 00000019_0001
  • Figure 00000019_0002
    Figure 00000019_0002
Patent Text Reader

Abstract

Analog-to-Digital Converter This description relates to a method for controlling an analog-to-digital converter comprising first (14) and second (18) oscillators, and first (12) and second (20) elements, the method comprising a first step in which the first and second oscillators generate frequencies (f14, f18) depending respectively on an electrical characteristic of the first and second elements, and a second step in which the first and second oscillators generate frequencies (f14, f18) depending respectively on the electrical characteristic of the second and first elements. Figure for the abstract: Fig. 1
Need to check novelty before this filing date? Find Prior Art

Description

Title of the invention: Analog-to-digital converter Technical field

[0001] This description relates generally to electronic devices and more particularly to analog-to-digital converters. The embodiments described relate more specifically to converters based on oscillators. Prior art

[0002] An analog-to-digital converter is an electronic device whose function is to translate an analog quantity into a digital value coded on several bits. The converted signal is generally an electrical voltage.

[0003] Some converters exploit variations in the frequency of an oscillator generated by variations in a physical characteristic (or quantity) measured by a sensor, for example temperature, pressure, humidity, light, etc. The electrical properties of the sensor cause the frequency to vary, and a measurement of information representative of this frequency provides a conversion into a numerical value representative of the measured physical quantity.

[0004] Such converters are however sensitive to variations in a functional characteristic of the circuit, for example the supply voltage, to its aging or to dispersions in the manufacturing process. Summary of the invention

[0005] One embodiment overcomes all or part of the disadvantages of known analog-to-digital converters.

[0006] An embodiment provides a method for controlling an analog-to-digital converter comprising first and second oscillators, and first and second elements, the method comprising a first step during which the first and second oscillators generate frequencies depending respectively on an electrical characteristic of the first element and the second element and a second step during which the first and second oscillators generate frequencies depending respectively on the electrical characteristic of the second element and the first element.

[0007] Another embodiment provides for an analog-to-digital converter comprising first and second oscillators, and first and second elements, the first and second oscillators being configured to generate, in a first step, frequencies depending respectively on an electrical characteristic of the first element and the second element and, in a second step, frequencies depending respectively on the electrical characteristic of the second element and the first element.

[0008] According to one embodiment, the first and second oscillators are identical.

[0009] According to one embodiment, the electrical characteristic of the first element is sensitive to variations in a physical quantity, the electrical characteristic of the second element being insensitive to variations in said physical quantity.

[0010] According to one embodiment, the first element is a sensor.

[0011] According to one embodiment, the converter comprises a first and second counters configured so that in the first stage, the first counter counts the oscillations of the first oscillator and the second counter counts the oscillations of the second oscillator; and in the second stage, the first counter counts the oscillations of the second oscillator and the second counter counts the oscillations of the first oscillator.

[0012] According to one embodiment, the second counter triggers, when it reaches a reference value, the stopping of the oscillator associated with the first counter.

[0013] According to one embodiment, the first and second counters provide values ​​representative of the respective electrical characteristics of the first and second elements.

[0014] According to one embodiment, the first counter provides a value representative of a current value of the physical quantity.

[0015] According to one embodiment, the converter includes a circuit configured to generate a control signal for the oscillator associated with the first element as a function of the state of an activation signal for the oscillator associated with the second element and the value of the second counter. Brief description of the drawings

[0016] These features and advantages, as well as others, will be described in detail in the following description of particular embodiments, given by way of non-limiting example, in relation to the accompanying figures, among which:

[0017] [Fig.1] schematically represents an embodiment of an analog-to-digital converter;

[0018] [Fig.2A] schematically illustrates a step in an implementation method of the analog-to-digital converter of [Fig.1];

[0019] [Fig.2B] schematically illustrates another step in an implementation method of the analog-to-digital converter of [Fig.1];

[0020] [Fig. 3] represents an example of an embodiment of part of the embodiment of [Fig. 1]; and

[0021] [Fig. 4] represents an example of an embodiment of another part of the method of real- lisation of the [Fig.l]. Description of the embodiments

[0022] The same elements have been designated by the same reference numerals in the different figures. In particular, structural and / or functional elements common to the different embodiments may have the same reference numerals and may have identical structural, dimensional and material properties.

[0023] For the sake of clarity, only the steps and elements useful for understanding the described embodiments have been represented and are detailed.

[0024] Unless otherwise specified, when referring to two elements connected together, this means directly connected without intermediate elements other than conductors, and when referring to two elements coupled together, this means that these two elements can be connected or linked through one or more other elements.

[0025] In the following description, when reference is made to absolute position qualifiers, such as the terms "front", "back", "top", "bottom", "left", "right", etc., or relative position qualifiers, such as the terms "above", "below", "superior", "inferior", etc., or to orientation qualifiers, such as the terms "horizontal", "vertical", etc., reference is made, unless otherwise specified, to the orientation of the figures.

[0026] Unless otherwise specified, the expressions "approximately", "roughly", and "in the order of" mean within 10%, preferably within 5%.

[0027] The described embodiments involve using a converter equipped with two oscillators whose respective oscillation frequencies are sensitive to variations in an electrical characteristic of two different elements or sensors, this characteristic being sensitive to variations in a physical quantity. The two elements or sensors are chosen so that their respective electrical characteristics exhibit different, for example inverse, variations with respect to the physical quantity.

[0028] The use of an architecture comprising two oscillators, configured to include two measurement phases with permutation between the two phases, counters and elements determining frequency variations makes it possible to compensate for measurement errors due to the aging of the oscillators or their dependence on the supply voltage.

[0029] Fig. 1 represents schematically one embodiment of an analog-to-digital converter.

[0030] The converter 10 is configured to convert analog information from, among other sources, an element 12 into digital values. The analog information comes, for example, from an element 20. Element 12 is, for example, a sensor, such as a temperature, pressure, or humidity sensor. light, etc.

[0031] The converter 10 includes an oscillator 14. The oscillator 14 is configured to generate a periodic voltage having a frequency fl4. In other words, the oscillator is configured to generate a frequency fl4. The oscillator 14 includes an input configured to receive an activation signal, for example, a RUNA signal. For example, the RUNA signal is a binary signal taking a first value to put the oscillator into an active mode in which an output frequency, for example, the frequency fl4, is provided, and a second value to put the oscillator into an inactive or resting mode in which the output frequency is not provided.

[0032] In active mode, the converter 10 includes a first operating mode, illustrated by double arrows, in which the oscillator 14 is configured such that the operating frequency fl4 depends on an electrical characteristic of the element 12. This electrical characteristic is, for example, the resistivity of the element 12, which is sensitive to variations in the measured physical characteristic, for example, temperature. This is just one example, and depending on the nature of the sensor, the electrical characteristic causing the frequency fl4 to vary may be something other than resistivity (for example, inductance, capacitance, or impedance). Preferably, the frequency fl4 is a monotonic function of the characteristic of the element 12. For example, the electrical characteristic may be an impedance (capacitance, inductance), or an electrical quantity (voltage, current) representative of the physical quantity to be measured.This electrical characteristic controls the frequency of the oscillator connected to element 12. Thus, a voltage or current can be generated by devices of the type of temperature proportional to absolute voltage generation or PTAT (Proportional To Absolute Temperature) or temperature complementary to absolute voltage generation or CTAT (Complementary To Absolute Temperature).

[0033] In the first operating mode, the frequency fl4 is supplied to a counter 16. The counter 16 is configured to count the oscillations of the frequency fl4. The counter 16 generates a DIGOUT value corresponding to the number of oscillations counted by the counter 16. The DIGOUT numerical value is representative of the value of the physical quantity measured by the sensor 12.

[0034] The converter 10 includes a second oscillator 18. The oscillator 18 is, for example, identical to the oscillator 14. The oscillators 14 and 18 are, for example, powered by the same supply voltage.

[0035] The oscillator 18 is configured to generate a periodic voltage having an operating frequency fl8. The oscillator 18 includes an input configured to receive an activation signal, for example a RUNB signal. For example, the RUNB signal is a binary signal taking a first value to set the oscillator in an active mode in which an output frequency fl 8 is provided and a second value to put the oscillator in an inactive or resting mode in which the output frequency is not provided.

[0036] In the first operating mode of the converter 10, the oscillator 18 is configured such that the operating frequency fl 8 depends on an electrical characteristic of the element 20. The element 20 is different from the element 12; that is, it is a different component. This electrical characteristic is, for example, as with the element 12, the resistivity of the element 20. This characteristic may be different from the characteristic of the element 12. According to a particular embodiment, the element 20 serves as a reference element, and the frequency variations generated by variations in the physical quantities of the elements 12 and 20 are therefore quite different. For example, the element 20 is insensitive to variations in the physical quantity measured by the element 12, for example, the temperature.According to another example, element 20 is inversely sensitive to variations in the physical quantity measured by element 12. By insensitive, we mean an element 20 whose sensitivity to the physical quantity is less than that of element 12 by a factor of at least 2, preferably at least 5. By inversely sensitive, we mean that when the characteristic of element 12 is increasing, respectively decreasing, the characteristic of element 20 is decreasing, respectively increasing. Preferably, the frequency fl8 is a monotonic function of the characteristic of element 20.

[0037] In the first operating mode, the frequency fl8 is supplied to a counter 22. The counter 22 is configured to count the oscillations of the frequency fl8. The counter 22 generates a PVOUT value corresponding to the number of oscillations counted by the counter 22. The numerical value PVOUT is representative of the value of the physical quantity measured by the sensor 20.

[0038] The converter 10 further includes a comparator 24. The comparator 24 is configured to compare the PVOUT value to a reference PV value. The PV value is, for example, programmed into the comparator 24 or contained in a non-volatile storage register and supplied to the comparator 24 when the converter is activated, for example, by a state machine that controls the device 10. The comparator 24 is configured to generate a binary signal CO representing the result of the comparison between the PVOUT value and the reference PV value. For example, the CO signal has a first value, for example the binary value T', when the PVOUT value is greater than or equal to the reference value and has a second value, for example the binary value '0', when the PVOUT value is less than the reference value.The PVOUT signal, by comparing the count of the number of oscillations generated by element 20 to the reference value, indicates the moment when the value. supplied by the DIGOUT counter can be output from the circuit as being representative of the current value of the physical quantity measured by element 12, and the physical quantity measured by element 20.

[0039] Preferably, the converter further comprises a circuit 26 configured to generate the activation signal of the oscillator (14 in the first operating mode) associated with the element 12 and the counter 16 from the activation signal of the other oscillator (associated with the reference element 20) and the CO signal, in order to stop the oscillator associated with the element 12 and thus make the output of the counter 16, therefore the DIGOUT value, stable.

[0040] Circuit 26 receives as inputs a binary signal RUN1 (equal to the RUNB signal in the first operating mode described above), corresponding to the oscillator activation signal associated with element 20, and the value CO, and provides a binary signal RUN2 (equal to the RUNA signal in the first operating mode) to activate the oscillator associated with element 12. Circuit 26 is configured so that: - when the RUN1 signal has a value (for example 0) indicating a stop or rest of the oscillator associated with element 20, the RUN2 signal has the same value indicating an inactive state of the oscillator associated with element 12 (with both oscillators stopped, the DIGOUT and PVOUT outputs of both counters 16 and 22 are at zero); - when the RUN1 signal has a value (for example 1) indicating the activation of the oscillator associated with element 20 and the CO signal has the second value (PVOUT < PV), the RUN2 signal has the same value 1 indicating the activation of the oscillator associated with element 12; and - when the RUN1 signal has the value (for example 1) indicating the activation of the oscillator associated with element 20 and the CO signal has the first value (PVOUT >=PV), the RUN2 signal takes the value indicating the stop or rest of the oscillator associated with element 12.

[0041] In the example of [Fig. 1], the circuit 26 comprises an inverter circuit 28 and a NOR logic gate 30. The inverter circuit 28 comprises an input configured to receive the RUN1 signal, and an output on which a signal complementary to the RUN1 signal is generated. The logic gate 30 comprises an input on which the CO signal is received and another input connected, preferably connected, to the output of the inverter circuit 28. The logic gate 30 further comprises an output on which the RUN2 signal is generated. The DIGOUT value provided by the counter 16 is proportional to the PV value and to the frequency ratio between the oscillators 14 and 18. These frequencies are controlled respectively by the impedances 12 and 20. Even if the two oscillators are identical, the impedance-frequency relationship (or more generally, the value from the sensor-frequency relationship) of the two oscillators may be slightly different. The value may differ depending on the supply voltage, aging, and variations in the manufacturing process. This impacts the DIGOUT value, making it potentially dependent on variations in supply voltage, aging, and variations in the manufacturing process.

[0042] According to the embodiments described, the impact of variations in the supply voltage of aging and variations in the manufacturing process is mitigated by using the two oscillators 14 and 18 successively for the measurement of the physical quantity of the element 12. To do this, two phases, cycles or stages of operation are provided, with, in a first phase, the device configured to operate according to the first mode described above and, in a second phase, the device configured so that, according to a second mode of operation, the oscillator 14 is associated with the element 20 and the oscillator 18 is associated with the element 12.

[0043] Thus, in the second operating mode of the converter 10, illustrated by simple arrows, the oscillator 14 is configured such that the operating frequency fl4 depends on the electrical characteristic of element 20, and the oscillator 18 is configured such that the operating frequency fl8 depends on the electrical characteristic of element 12. In other words, the inputs / outputs of oscillators 14 and 18 are interchanged. In the second operating mode, the frequency fl4 is therefore supplied to the counter 22. The PVOUT value then corresponds to the number of oscillations counted by the counter 22. The frequency fl8 is supplied to the counter 16. The DIGOUT value then depends on the number of oscillations counted by the counter 16.To account for both operating modes in the final value, counter 16 is not reset between the two phases and thus accumulates the contributions of both oscillators. This simply needs to be taken into account when translating the conversion result, for example by dividing the DIGOUT value by two.

[0044] In the second operating mode of the converter 10, illustrated by simple arrows, the oscillator 14 is configured such that its frequency depends on the electrical characteristic of element 20, and the oscillator 18 is configured such that its frequency fl8 depends on the electrical characteristic of element 12. In the second operating mode, the frequency fl4 is supplied to the counter 22, and the DIGOUT value then corresponds to the number of oscillations counted by the counter 22. The frequency fl8 is supplied to the counter 16, and the DIGOUT value corresponds to the number of oscillations counted by the counter 16. Furthermore, the respective RUNA and RUNB control signals of oscillators 14 and 18 are also reversed, with the RUNA signal for activating oscillator 14 corresponding to the RUN1 signal and the RUNB signal for activating oscillator 18 corresponding to the RUN2 signal.

[0045] In order to provide the oscillators 14 and 18 with the appropriate RUN1 and RUN2 signals, the converter includes, for example, one or more multiplexers (not shown) controlled by an indicator signal of the active phase or operating mode. This indicator signal of the operating phase is used, for example, to control switches between circuits 12, 16, 20, and 22 and the oscillators 14 and 18 so as to associate appropriate elements and counters with the oscillators 14 and 18. Figures 2A and 2B illustrate an implementation of the converter of [Fig. 1], that is, they illustrate an analog-to-digital conversion method. The implementation includes a first step during which the converter is in the first operating mode, illustrated by [Fig. 2A], and a second step during which the converter is in the second operating mode, illustrated by [Fig. 2B].Preferably, each first step is followed, preferably directly followed, by a second step. The order of the steps illustrated in Figures 2A and 2B may be reversed.

[0046] [Fig. 2A] schematically illustrates a step in an implementation mode of the analog-to-digital converter of [Fig. 1]. More specifically, [Fig. 2A] illustrates a first step during which the converter is in the first operating mode.

[0047] Before the start of the first step, counters 16 and 22 are reset. Thus, the values ​​of the DIGOUT and PVOUT signals are equal to a reset value, for example a zero value.

[0048] In the first operating mode, the activation signal received by the oscillator 14 is the RUN2 activation signal and the activation signal received by the oscillator 18 is the RUN1 signal.

[0049] During the start of the first step, the RUN1 signal takes the value indicating the activation of oscillator 18. Since counter 22 has been reset, the PVOUT value is less than the comparison, or reference, value, PV. The RUN2 signal generated at the output of circuit 26 therefore has the value indicating the activation of oscillator 14.

[0050] Oscillators 14 and 18 generate voltages having frequencies f14 and fl8 respectively. The DIGOUT and PVOUT values ​​increase, with counters 16 and 22 counting the oscillations of the voltages generated by oscillators 14 and 18. When the PVOUT value reaches the reference value PV, the RUN2 signal takes the value that stops oscillator 14. In other words, the RUNA signal takes the value that stops oscillator 14.

[0051] The oscillation duration DI, that is to say the time between the activation of oscillator 18 and the stopping of oscillator 14, follows the following equation: DI = DIGOUT l*tl4(D 12) = PV*tl8(D20), in which DIG0UT1 is the value taken by counter 16 at the end of the duration Dl, PV is the value of the signal PVOUT after the duration Dl, i.e. the reference value, tl4(D12) corresponds to the period of oscillator 14 associated with element 12 and tl8(D20) corresponds to the period of oscillator 18 associated with element 20.

[0052] In other words, the value DIGOUT1 complies with the following equation: DIGOUT1 = PV*tl8(D20) / tl4(D12) = PV*fl4(D12) / fl8(D20), in which fl4(D12) corresponds to the frequency of oscillator 14 associated with element 12 and fl8(D20) corresponds to the frequency of oscillator 18 associated with element 20.

[0053] The periods of oscillators 14 and 18 can be expressed by the following equations: tl4(D12) = K14*Z12 + L14 ; and tl8(D20) = K18*Z20 + L18, in which the values ​​Z12 and Z20 correspond respectively to the impedances of elements 12 and 20, the values ​​K14 and K18 correspond to the proportionality coefficients between the impedance Z12 or Z20 of element 12 and 20 to which oscillators 14 and 18 are respectively associated and their respective periods, and the values ​​L14 and L18 correspond respectively to the delays generated by the internal logic of oscillators 14 and 18.

[0054] In practice, the value L14 is negligible compared to the value K14 * Z12, for example, less than one thousandth of the value K14 * Z12. Similarly, the value L18 is in practice negligible compared to the value K18 * Z20, for example, less than one thousandth of the value K18 * Z20. Thus, the value DIGOUT1 is obtained by the following equation: DIGOUT1 = PV*(K18*Z20) / (K14*Z12).

[0055] Taking the example of a supply voltage of value VDD, the value DIGOUT1, provided by counter 16 at the end of the first phase, corresponds to the following equation: DIGOUT1 = PV*(K18*Z20) / (K14*Z12).

[0056] With a supply voltage of value VDD', the value DIGOUT1', provided by counter 16 at the end of the first phase, corresponds to the following equation: DIGOUTL = PV*(K18'*Z20) / (K14'*Z12).

[0057] Thus, the values ​​DIGOUT1 and DIGOUT1' follow the following equation: DIGOUTL = DIGOUT1 * (K18' / K18) / (K14' / K14).

[0058] Since oscillators 14 and 18 are identical, apart from manufacturing variations, the values ​​K14 and K18 are close. The values ​​K14 and K18 are considered to follow the following equation, corresponding to the first-order expansion: K18 = K14*(l + eK), the eK value being, in practice, generally less than or equal to 5%.

[0059] The values ​​K14, K14', Kl8 and Kl8' therefore follow the following equations, corresponding to the first-order expansion: K14' = K14*(l + el4); and K18' = K18*(l + el8), the values ​​el4 and el8 being, in practice, generally less than or equal to 5%.

[0060] Thus, the values ​​DIGOUT1 and DIGOUT1' follow the following equation: DIGOUTT = DIGOUT1 * (1 + el8) / (1 + el4).

[0061] According to a first-order estimate, if values ​​a and b are less than 5%, the following equations are true: l / (l+b) ~ 1-b ; and (l+a) / (l+b)~ 1+ab.

[0062] Thus, the values ​​DIGOUT1 and DIGOUTT follow the following equation: DIGOUTT ~ DIGOUT1*(1 + el8 - el4).

[0063] We can therefore see that, at the end of the first phase, the value contained by the counter 16 remains dependent on a variation of the supply voltage, the values ​​DIGOUT1 and DIGOUTT being different.

[0064] Figure 2B schematically illustrates another step in an implementation mode of the analog-to-digital converter of Figure 1. More specifically, Figure 2B illustrates a second step during which the converter is in the second operating mode.

[0065] In the second operating mode, the activation signal RUNA received by the oscillator 14 corresponds to the RUN1 signal and the activation signal RUNB received by the oscillator 18 corresponds to the RUN2 signal.

[0066] According to one embodiment, counter 16 is not reset between the first and second phases or steps, i.e., between the step illustrated by [Fig. 2A] and the step illustrated by [Fig. 2B]. Counter 22, however, is reset and the PV value is not modified.

[0067] As in the first operating mode, when the second stage starts, the RUNA signal takes the value RUN1 to 1, indicating the activation of the converter. Taking the example of a reset counter 22 (but what follows is transposed to the case where the PV value is doubled), the CO signal is in the state 0 and the RUN2 signal, applied to the RUNB input of the oscillator 18, is equal to 1.

[0068] Oscillators 14 and 18 generate voltages having frequencies f14 and f18, respectively. The DIGOUT and PVOUT values ​​increase, with counters 22 and 16 counting the oscillations of the voltages generated by oscillators 14 and 18. When the PVOUT value, this time linked to oscillator 14, reaches the reference value PV, the signal RUN2 takes the value 0, stopping oscillator 18. The output of counter 16, therefore the value DIGOUT, becomes stable again.

[0069] The oscillation duration D2, i.e. the duration between the activation and the stopping of the oscillator 18, follows, assuming the reset of the counter 22 between the two phases, the following equation: D2 = DIGOUT2*tl8(D12) = PV*tl4(D20), in which DIGOUT2 is the value by which the DIGOUT value increased during the duration D2, that is, the difference between the DIGOUT value 1 at the beginning of the first step and the DIGOUT value at the end of the second step.

[0070] In other words, the value DIGOUT2 is obtained by the following equation: DIGOUT2 = PV*tl4(D20) / tl8(D12) = PV*fl8(D12) / fl4(D20), in which fl8(D12) corresponds to the frequency of oscillator 18 associated with element 12 and fl4(D20) corresponds to the frequency of oscillator 14 associated with element 20.

[0071] The oscillation duration D2, that is to say the duration between the activation and the stopping of the oscillator 18, follows the following equation: D2 = DIGOUT2*tl8(D12) = PV*tl4(D20), where DIGOUT2 is the value by which the DIGOUT value increased during the duration D2, PV is the value by which the PVOUT value increased during the duration D2 and is equal to the value by which the PVOUT value increased during the duration D1, i.e., the reference value, t18(D12) corresponds to the period of oscillator 18 associated with element 12 and t14(D20) corresponds to the period of oscillator 14 associated with element 20. In other words, the DIGOUT2 value is obtained by the following equation: DIGOUT2 = PV*tl4(D20) / tl8(D12) = PV*fl8(D12) / fl4(D20), in which fl8(D12) corresponds to the frequency of oscillator 18 associated with element 12 and fl4(D20) corresponds to the frequency of oscillator 14 associated with element 20. The reference value PV of the second stage is equal to twice the reference value of the first stage.

[0072] The periods of the oscillators 14 and 18 are obtained, in a similar manner to the periods of the first operating mode, by the following equations: tl8(D12) = K18*Z12 + L18 ; and tl4(D20) = K14*Z20 + L14.

[0073] Neglecting, as in the first step, the values ​​L14 and L18, the value DIG0UT2 reduces to the following equation: DIG0UT2 = PV*(K14*Z20) / (K18*Z12) = PV*(K14*Z20) / (K18*Z12).

[0074] As in the first step, in the case where the supply voltage is a VDD voltage, the value of DIGOUT2 corresponds to the following equation: DIGOUT2 = PV*(K14*Z20) / (K18*Z12).

[0075] In the case where the supply voltage is another voltage VDD', the value DIGOUT2' corresponds to the following equation: DIGOUT2' = PV*(K14'*Z20) / (K18'*Z12).

[0076] Thus, the values ​​DIGOUT2 and DIGOUT2' follow the following equation: DIGOUT2' = DIGOUT2 * (K14' / K14) / (Kl8' / Kl8).

[0077] The first-order expansions performed for the first step are similarly performed for the second step. Thus, the following equations are considered to be true: K18 = K14*(l + eK); K14' = K14*(1 + el4) ; and K18' = K18*(1 +el8).

[0078] Thus, the values ​​DIGOUT2 and DIGOUT2' follow the following equation: DIGOUT2' = DIGOUT2 * (1 + el4) / (1 + el8).

[0079] Thus, the values ​​DIGOUT2 and DIGOUT2' follow the following equation: DIGOUT2' ~ DIGOUT2*(1 + el4 - el8).

[0080] The value DIGOUT3, corresponding to the DIGOUT value at the end of the first and second steps, is equal to the sum of the value DIGOUT1 and the value DIGOUT2. Thus, the value DIGOUT3 follows the following equation: DIGOUT3 = PV*(K18*Z20) / (K14*Z12) + PV*(K14*Z20) / (K18*Z12) = HP*(Z20 / Z12)*(K18 / K14 + K14 / K18) = PV * (Z20 / Z12) * (1 + eK + 1 - eK) = 2 * PV * (Z20 / Z12).

[0081] Similarly, for a supply voltage VDD', the value DIGOUT3' is equal to the sum of the values ​​DIGOUT1' and DIGOUT2'. Thus, the value DIGOUT3' follows the following equations: DIGOUT3' = PV * (Z20 / Z12) * (K187K14' + K147K18') = PV * (Z20 / Z12) * [(K18 / K14) * (1 + el8) / (1 + el4) + (K14 / K18) * (1 + el4) / (1 + el8)] = PV * (Z20 / Z12) * [(1 + eK) * (1 + el8) / (1 + el4) + (1 - eK) * (1 + el4) / (1 + el8)] = PV * (Z20 / Z12) * [(1 + eK) * (1 + el8 - el4) + (1 - eK) * (1 + el4 - el8)] ~PV * (Z20 / Z12) * [(1 + el8 - el4 + eK) + (1 + el4 - el8 - eK)]

[0082] Thus, the value of DIGOUT3' follows the following equation: DIGOUT3' - DIGOUT1' + DIGOUT2' ~ 2 * PV * (Z20 / Z12)

[0083] It appears that, to the first order, DIGOUT1' + DIGOUT2' is equal to DIGOUT1 + DIGOUT2. Thus, the value obtained at the end of the two steps is, to the first order, independent of the supply voltage.

[0084] The result of the count at the end of the two steps is double that of a single step. In order to obtain the representative value of the measured physical quantity, a reference value divided by two can be used at the comparator for the two steps to compensate for the difference.

[0085] Figure 3 shows an example of an implementation of part of the embodiment of Figure 1. More specifically, Figure 3 shows an example of an implementation of a delay circuit 30 that is weakly dependent on the supply voltage. The circuit 30 is included in each oscillator 14 and 18. The circuit 30 determines the frequency of the oscillator and ensures that first-order estimates of the coefficients K14 and K18 can be made.

[0086] The circuit 30 comprises transistors 32 and 34 connected in series between a node 36 for applying the supply voltage VDD and a node 38 for applying a reference voltage, for example, ground. Transistors 32 and 34 are, for example, insulated-gate field-effect transistors, or MOSFETs. Transistor 32 is, for example, a P-channel transistor and transistor 34 is, for example, an N-channel transistor.

[0087] One terminal of transistor 32, for example the source, is connected, preferably connected, to node 36 and another terminal of transistor 32, for example the drain, is connected, preferably connected, to a node 40. One terminal of transistor 34, for example the drain, is connected, preferably connected, to node 40 and another terminal of transistor 34, for example the source, is connected, preferably connected, to node 38. Transistor 34 includes a control terminal connected, preferably connected, to node 40. Transistor 32 includes a control terminal connected to a node 42. A current Irefn flows through transistor 34.

[0088] The circuit 30 includes a transistor 44 and a resistor 46 connected in series between node 36 and node 38. The transistor 44 is, for example, a MOSFET, for example, a P-channel MOSFET. One terminal of the transistor 44, for example the source, is connected, preferably connected, to node 36, and the other terminal of the transistor 44, for example the drain, is connected, preferably connected, to node 42. One terminal of the resistor 46 is connected, preferably connected, to node 42, and another terminal of the resistor 46 is connected, preferably connected, to node 38. The transistor 44 includes a control terminal connected, preferably connected, to a node 48. The node 48 is further connected, preferably connected, to node 42.

[0089] The circuit 30 comprises transistors 50 and 52 connected in series between node 36, which applies the supply voltage VDD, and node 38, which applies a reference voltage, for example, ground. Transistors 50 and 52 are, for example, insulated-gate field-effect transistors, or MOSFETs. Transistor 50 is, for example, a P-channel transistor, and transistor 52 is, for example, an N-channel transistor. Transistor 50 carries a current equal to 1 / n times the current flowing through transistor 44. Indeed, the combination of 44 and 50 is a current mirror. Transistor 52 operates in switching mode; that is, it discharges capacitor 56 if the voltage IN, i.e., the voltage applied to the gate of transistor 52, is equal to the supply voltage, and charges the capacitor if the voltage IN is equal to ground potential.Transistor 50 is configured so that the size of transistor 44 is n times greater than the size of transistor 50. For example, transistors 44 and 50 are each made up of a plurality of identical elementary transistors connected in parallel. Transistor 44 has n times more elementary transistors than transistor 50.

[0090] One terminal of transistor 50, for example the source, is connected, preferably connected, to node 36 and another terminal of transistor 50, for example the drain, is connected, preferably connected, to a node 54. One terminal of transistor 52, for example the drain, is connected, preferably connected, to node 54 and another terminal of transistor 52, for example the source, is connected, preferably connected, to node 38. Transistor 50 includes a control terminal connected, preferably connected, to node 48. Transistor 52 includes a control terminal connected, preferably connected, to an input voltage application node IN.

[0091] The circuit 30 further includes a capacitor 56 connected between node 54 and node 38. In other words, one terminal of the capacitor is connected, preferably connected, to node 54 and another terminal of the capacitor is connected, preferably connected, to node 38.

[0092] The circuit 30 comprises transistors 58 and 60 connected in series between node 36, which applies the supply voltage VDD, and node 38, which applies a reference voltage, for example, ground. Transistors 58 and 60 are, for example, insulated-gate field-effect transistors, or MOSFETs. Transistor 58 is, for example, a P-channel transistor, and transistor 60 is, for example, an N-channel transistor.

[0093] One terminal of transistor 58, for example the source, is connected, preferably connected, to node 36 and another terminal of transistor 58, for example the drain, is connected, preferably connected, to a node 62. One terminal of transistor 60, for example the drain, is connected, preferably connected, to node 62 and another terminal of transistor 60, for example the source, is connected, preferably connected, to node 38. Transistor 58 includes a control terminal connected, preferably connected, to node 54. Transistor 60 includes a control terminal connected, preferably connected, to node 40. Thus, transistor 60 is mounted as a current source, reproducing the current through transistor 34.

[0094] The circuit 30 includes, for example, an inverter 64 connected between node 62 and an output node 66, on which an output voltage OUT is generated. The inverter 64 includes an input terminal connected, preferably connected, to node 62 and an output terminal connected, preferably connected, to node 66.

[0095] The circuit 30 is configured to generate the output signal OUT such that, for each falling edge of the signal IN, the signal OUT includes a rising edge, delayed by a duration t. The duration t is configured to be equal to the product of the number n, the value of resistance 46 and the value of the capacitance of capacitor 56. In addition, for each rising edge of the signal IN, the circuit 30 is configured so that the signal OUT includes a falling edge without delay.

[0096] The delay generated by circuit 30 is, theoretically, constant and independent of the supply voltage. However, the generated delay is dependent on the switching point of inverter 64. The switching point is dependent on the supply voltage.

[0097] Figure 4 represents an example of the implementation of another part of the embodiment of Figure 1. More specifically, Figure 4 schematically illustrates an oscillator 70. The oscillator 70 corresponds, for example, to the oscillator 14 or 18.

[0098] The oscillator 70 comprises two circuits 30a and 30b, each corresponding to a circuit such as circuit 30 in [Fig. 3]. Transistors 32, 34, 44 and resistor 46 are, for example, common to circuits 30a and 30b. Circuit 30a comprises transistors 50a, 52a, 58a, 60a, a capacitor 56a and an inverter 64a connected to each other and to transistors 32, 34, 44 and resistor 46 as, respectively, transistors 50, 52, 58, 60, capacitor 56 and inverter 64 in [Fig. 3]. Similarly, circuit 30 comprises transistors 50b, 52b, 58b, 60b, a capacitor 56b, and an inverter 64b connected to each other and to transistors 32, 34, 44, and resistor 46, respectively, as are transistors 50, 52, 58, 60, capacitor 56, and inverter 64 in [Fig. 3]. Furthermore, circuits 30a and 30b include output nodes 66a and 66b, respectively, corresponding to node 66 in [Fig. 3].

[0099] The oscillator 70 further includes a NOT-AND logic gate 72. The gate 72 includes a first input connected, preferably connected, to node 66a and a second input connected, preferably connected, to a node for applying a signal S. The gate 72 further includes an output connected, preferably connected, to a node 74.

[0100] The oscillator 70 further includes a NOT-OR logic gate 76. The gate 76 includes a first input connected, preferably connected, to node 66b and a second input connected, preferably connected, to an application node of a signal / S, corresponds for example to the complementary signal of the signal S. The gate 76 further includes an output connected, preferably connected, to a node 78.

[0101] The oscillator 70 further includes a NAND logic gate 80. The gate 80 includes a first input connected, preferably connected, to node 74 and a second input connected, preferably connected, to a node 82, corresponding to the output of the oscillator 70. The gate 80 further includes an output connected, preferably connected, to a node 84. Node 82 is connected, preferably connected, to the control terminal of transistor 52b. Similarly, node 84 is connected, preferably connected, to the control terminal of transistor 52a.

[0102] The oscillator 70 further includes a NAND logic gate 86. The gate 86 includes a first input connected, preferably connected, to node 78 and a second input connected, preferably connected, to node 84. The gate 86 further includes an output connected, preferably connected, to a node 82.

[0103] In the embodiments of figures 1, 2A and 2B, the resistor 46 is replaced by the corresponding device 12 or 20.

[0104] An advantage of the described embodiments is that the analog-to-digital conversion is less subject to errors due to variations in supply voltage, aging, and variations in manufacturing process, in particular if the oscillators are further configured, for example by known techniques, to reduce the dependence of the frequencies fl4 and fl8 on variations in supply voltage, aging, and variations in manufacturing process and to ensure that the frequencies of the oscillators 14 and 18 are close.

[0105] Various embodiments and variations have been described. A person skilled in the art will understand that certain features of these various embodiments and variations could be combined, and other variations will become apparent to a person skilled in the art.

[0106] Finally, the practical implementation of the embodiments and variants described is within the reach of a person skilled in the art, based on the functional indications given above.

Claims

Claims

1. A method of controlling an analog-to-digital converter comprising first (14) and second (18) oscillators, and first (12) and second (20) elements, the method comprising a first step during which the first and second oscillators generate frequencies (fl4, fl8) depending respectively on an electrical characteristic (Z 12, Z20) of the first element and the second element and a second step during which the first and second oscillators generate frequencies (fl4, fl8) depending respectively on the electrical characteristic (Z20, Z12) of the second element and the first element.

2. An analog-to-digital converter comprising first (14) and second (18) oscillators, and first (12) and second (20) elements, the first and second oscillators being configured to generate, in a first step, frequencies (fl4, fl8) depending respectively on an electrical characteristic (Z 12, Z20) of the first element and the second element and, in a second step, frequencies (fl4, fl8) depending respectively on the electrical characteristic (Z20, Z12) of the second element and the first element.

3. A method according to claim 1 or a converter according to claim 2, wherein the first and second oscillators are identical.

4. Method according to claim 1 or 3 or converter according to claim 2 or 3, in which the electrical characteristic of the first element (12) is sensitive to variations of a physical quantity, the electrical characteristic of the second (20) element being insensitive to variations of said physical quantity.

5. A method according to any one of claims 1, 3 or 4 or a converter according to any one of claims 2 to 4, wherein the first element (12) is a sensor.

6. A method according to any one of claims 1, 3 to 5 or a converter according to any one of claims 2 to 5, wherein the converter comprises first (16) and second (22) counters configured so that: in the first step, the first counter (16) counts the oscillations of the first oscillator (14) and the second counter (22) counts the oscillations of the second oscillator (18); and in the second step, the first counter (16) counts the os- cillations of the second oscillator (18) and the second counter (22) counts the oscillations of the first oscillator (14).

7. Method or converter according to claim 6, in which the second counter triggers, when it reaches a reference value, the stopping of the oscillator associated with the first counter.

8. A method or converter according to claim 6 or 7, wherein the first and second counters provide values ​​representative of the values ​​of the respective electrical characteristics of the first and second elements.

9. Method or converter according to claim 8, in its attachment to claim 4, in which the first counter (16) provides a value representative of a current value of the physical quantity.

10. Method or converter according to any one of claims 6 to 9, wherein the converter comprises a circuit (24, 26) configured to generate a control signal (RUN2) of the oscillator associated with the first element (12) as a function of the state of an activation signal (RUN1) of the oscillator associated with the second element and the value of the second counter (22).

Citation Information

Patent Citations

  • A / d conversion circuit, signal processing circuit, and shake detection device

    US20120039588A1

  • CMOS analog-to-digital converter and temperature sensing device using the same

    US6111533A