Analog-to-digital converter and method

By using the architecture of two oscillators and counters in the analog-to-digital converter, and utilizing the electrical characteristic frequencies of different components to compensate for each other, the problem that the analog-to-digital converter is sensitive to supply voltage changes, aging and manufacturing process changes is solved, and a more efficient solution is achieved. Stable and accurate measurement results.

CN118740158APending Publication Date: 2024-10-01STMICROELECTRONICS INT NV
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410364813.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2024-02-23
Filing Date
2024-03-28
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Existing analog-to-digital converters are sensitive to changes in supply voltage, aging, and manufacturing process changes, resulting in measurement errors. It is difficult to effectively reduce the impact of these factors on the conversion results.

Method used

Using an analog-to-digital converter architecture equipped with two oscillators and a counter, the frequencies generated by the electrical characteristics of two different components compensate each other and are divided into two operating modes for measurement. In the first mode, the oscillator 14 relies on the electrical characteristics of the component 12. Characteristics, the oscillator 18 in the second mode relies on the electrical characteristics of the component 20 and accumulates the contributions of the two modes through a counter to reduce the impact of supply voltage changes.

Benefits of technology

It effectively reduces the impact of supply voltage changes, aging and manufacturing process changes on the measurement results of the analog-to-digital converter, and improves the stability and accuracy of the measurement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118740158A_ABST
    Figure CN118740158A_ABST
Patent Text Reader

Abstract

The invention relates to an analog-to-digital converter and a method. There is disclosed 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 and a second step, during the first step, the first oscillator and the second oscillator respectively generate a frequency dependent on an electrical characteristic of the first element and a frequency dependent on an electrical characteristic of the second element during the first step, and the first oscillator and the second oscillator respectively generate a frequency dependent on an electrical characteristic of the second element and a frequency dependent on an electrical characteristic of the first element during the second step.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims the benefit of priority to French patent application No. FR2303071, filed on March 30, 2023, entitled “Convertisseur analogique-numérique”, which is incorporated herein by reference to the fullest extent permitted by law. Technical Field

[0003] The present description relates generally to electronic devices and methods, and more particularly to analog-to-digital converters and methods. The described embodiments relate more particularly to oscillator-based methods and converters. Background Art

[0004] An analog-to-digital converter is an electronic device whose function is to convert an analog quantity into a digital value encoded on a number of bits. The converted signal is usually a voltage.

[0005] Some converters use changes in the frequency of an oscillator generated by changes in the physical property (or quantity) measured by the sensor, such as temperature, pressure, relative humidity, light, etc. The electrical properties of the sensor change the frequency, and the measurement of information representing the frequency provides a conversion to a digital value representing the physical quantity measured.

[0006] However, such converters are sensitive to variations in the operating characteristics of the circuit (eg, supply voltage), its aging, or variations in the manufacturing process. Summary of the invention

[0007] One embodiment addresses all or some of the disadvantages of known analog-to-digital converters.

[0008] One embodiment provides a method for controlling an analog-to-digital converter, the analog-to-digital converter comprising a first oscillator and a second oscillator and a first element and a second element, the method comprising a first step and a second step, during the first step, the first oscillator and the second oscillator respectively generate a frequency depending on the electrical characteristics of the first element and a frequency depending on the electrical characteristics of the second element, and during the second step, the first oscillator and the second oscillator respectively generate a frequency depending on the electrical characteristics of the second element and a frequency depending on the electrical characteristics of the first element.

[0009] Another embodiment provides an analog-to-digital converter, which includes a first oscillator and a second oscillator and a first element and a second element, wherein the first oscillator and the second oscillator are configured to generate a frequency depending on an electrical characteristic of the first element and a frequency depending on an electrical characteristic of the second element, respectively, during a first step, and to generate a frequency depending on the electrical characteristic of the second element and a frequency depending on the electrical characteristic of the first element, respectively, during a second step.

[0010] According to one embodiment, the first oscillator and the second oscillator are identical.

[0011] According to one embodiment, the electrical characteristic of the first element is sensitive to changes in the physical quantity, and the electrical characteristic of the second element is insensitive to changes in the physical quantity.

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

[0013] According to one embodiment, the converter comprises a first counter and a second counter, which are configured such that during a first step, the first counter counts the oscillations of the first oscillator and the second counter counts the oscillations of the second oscillator; and during a second step, the first counter counts the oscillations of the second oscillator and the second counter counts the oscillations of the first oscillator.

[0014] According to one embodiment, the second counter triggers a stop of an oscillator associated with the first counter when the second counter reaches a reference value.

[0015] According to one embodiment, the first counter and the second counter provide values ​​representing values ​​of respective electrical characteristics of the first element and the second element.

[0016] According to one embodiment, the first counter supplies a value representing the current value of the physical quantity.

[0017] In one embodiment, the converter includes a circuit configured to generate an oscillator control signal associated with the first element based on a state of an enable signal of an oscillator associated with the second element and a value of a second counter. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The above-mentioned features and advantages and other features and advantages will be described in detail in the following description of specific embodiments given by way of example and not limitation with reference to the accompanying drawings, in which:

[0019] Figure 1 An embodiment of an analog-to-digital converter is schematically illustrated;

[0020] Figure 2A Schematically illustrates Figure 1The steps of the embodiment of the analog-to-digital converter shown in;

[0021] Figure 2B Schematically illustrates Figure 1 Another step of an embodiment of the analog-to-digital converter;

[0022] Figure 3 Shows Figure 1 An example of an embodiment of a portion of the embodiment shown in ; and

[0023] Figure 4 Shows Figure 1 An example of an embodiment of another part of the embodiment shown in FIG. DETAILED DESCRIPTION

[0024] Similar features are indicated by similar reference numerals in the various drawings. In particular, common structural and / or functional features in various embodiments may have the same reference numerals and may have the same structure, size, and material properties.

[0025] For clarity, only operations and elements useful for understanding the embodiments described herein are illustrated and described in detail.

[0026] Unless otherwise stated, when referring to two elements connected together, this means a direct connection without any intermediate elements other than conductors, and when referring to two elements coupled together, this means the two elements may be connected or they may be coupled via one or more other elements.

[0027] In the following disclosure, unless otherwise stated, when referring to absolute position qualifiers such as terms "front", "back", "top", "bottom", "left", "right", etc., or relative position qualifiers such as terms "above", "below", "higher", "lower", etc., or orientation qualifiers such as "horizontal", "vertical", etc., reference is made to the orientation shown in the figure.

[0028] Unless otherwise indicated, the expressions "about," "approximately," "substantially," and "on the order of" mean within 10%, and preferably within 5%.

[0029] The described embodiments provide for the use of a converter equipped with two oscillators whose respective oscillation frequencies are sensitive to changes in electrical properties of two different elements or sensors, which are sensitive to changes in a physical quantity. The two elements or sensors are selected so that their respective electrical properties have changes that are different (e.g., opposite) to the changes in the physical quantity.

[0030] An architecture is used to compensate for measurement errors due to the aging of the oscillator or its dependence on the supply voltage, the architecture comprising two oscillators, a counter and an element, the oscillator being configured to include two measurement phases with an arrangement between the two measurement phases, the element determining the change in frequency.

[0031] Figure 1 An embodiment of an analog-to-digital converter 10 is schematically illustrated.

[0032] The converter 10 is configured to convert analog information from, in particular, a component 12 into a digital value. The analog information comes, for example, from a component 20. The component 12 is, for example, a sensor, such as a temperature sensor, a pressure sensor, a relative humidity sensor, a light sensor, or the like.

[0033] The converter 10 includes an oscillator 14. The oscillator 14 is configured to generate a periodic voltage having a frequency f14. In other words, the oscillator is configured to generate the frequency f14. The oscillator 14 includes an input configured to receive an enable signal (e.g., signal RUNA). For example, the signal RUNA is a binary signal that takes a first value for setting the oscillator to an active mode (where an output frequency, such as frequency f14, is provided) and a second value for setting the oscillator to an inactive or sleep mode (where the output frequency is not provided).

[0034] In the active mode, the converter 10 includes a first operating mode, illustrated by a double arrow, in which the oscillator 14 is configured so that the operating frequency f14 depends on the electrical characteristics of the element 12. The electrical characteristic is, for example, the resistivity of the element 12, which is sensitive to changes in the measured physical characteristic (e.g., temperature). The above are examples, and depending on the nature of the sensor, the electrical characteristic that changes the frequency f14 may not be resistivity (e.g., inductance, capacitance, or impedance). Preferably, the frequency f14 is a monotonic function of the characteristics of the element 12. For example, the electrical characteristic may be an impedance (capacitance, inductance) or an electrical quantity (voltage, current) representing the physical quantity to be measured. The electrical characteristic controls the frequency of the oscillator connected to the element 12. Thus, the voltage or current can be generated by a device such as a device for generating a proportional to absolute temperature (PTAT) voltage or a complementary to absolute temperature (CTAT) voltage.

[0035] In the first operation mode, the frequency f14 is supplied to the counter 16. The counter 16 is configured to count the oscillations of the frequency f14. The counter 16 generates a value DIGOUT corresponding to the number of oscillations counted by the counter 16. The digital value DIGOUT represents the value of the physical quantity measured by the sensor 12.

[0036] The converter 10 comprises 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.

[0037] The oscillator 18 is configured to generate a periodic voltage having an operating frequency f18. The oscillator 18 includes an input configured to receive an enable signal (e.g., signal RUNB). For example, signal RUNB is a binary signal that takes a first value for setting the oscillator to an active mode (where the output frequency, frequency f18, is provided) and a second value for setting the oscillator to an inactive or sleep mode (where the output frequency is not provided).

[0038] In a first operating mode of the converter 10, the oscillator 18 is configured such that the operating frequency f18 depends on the electrical characteristics of the element 20. The element 20 is different (not the same) from the element 12, i.e., it is a different component. For example, as for the element 12, the electrical characteristic is the resistivity of the element 20. The characteristic may be a characteristic different from the characteristic of the element 12. According to a specific embodiment, the element 20 is used as a reference element, and the change in frequency generated by the change in the physical quantity of the elements 12 and 20 is therefore actually different. For example, the element 20 is insensitive to the change in the physical quantity (e.g., temperature) measured by the element 12. According to another example, the element 20 is insensitive to the change in the physical quantity measured by the element 12. Insensitive means that the sensitivity of the element 20 to the physical quantity is at least 2 times less than the sensitivity of the element 12 to the physical quantity, preferably at least 5 times. Insensitive means that when the characteristic of the element 12 increases and decreases, respectively, the characteristic of the element 20 decreases and increases, respectively. Preferably, the frequency f18 is a monotonic function of the characteristic of the element 20.

[0039] In the first operation mode, the frequency f18 is supplied to the counter 22. The counter 22 is configured to count the oscillations of the frequency f18. The counter 22 generates a value PVOUT corresponding to the number of oscillations counted by the counter 22. The digital value PVOUT represents the value of the physical quantity measured by the sensor 20.

[0040] Converter 10 also includes a comparator 24. The comparator 24 is configured to compare the value PVOUT with a reference value PV. The value PV is, for example, programmed in the comparator 24 or included in a non-volatile storage register and is supplied to the comparator 24, for example, by the state machine of the control device 10 when the converter is enabled. The comparator 24 is configured to generate a binary signal CO representing the result of the comparison between the value PVOUT and the reference value PV. For example, the signal CO has a first value (e.g., binary value "1") when the value PVOUT is greater than or equal to the reference value and a second value (e.g., binary value "0") when the value PVOUT is less than the reference value. By comparing the count of the number of oscillations generated by the element 20 with the reference value, the signal PVOUT indicates the moment at which the value supplied by the counter DIGOUT can be output from the circuit, and this value represents the current value of the physical quantity measured by the element 12 and the current value of the physical quantity measured by the element 20.

[0041] Preferably, the converter further includes a circuit 26 configured to generate an enable signal for the oscillator (14 in the first operating mode) associated with the element (12) and the counter (16) based on an enable signal of another oscillator (associated with the reference element 20) and the signal CO, in order to stop the oscillator associated with the element 12 and thereby stabilize the output of the counter 16 and thus the value DIGOUT.

[0042] The circuit 26 receives as inputs a binary signal RUN1 (equal to the signal RUNB in the first operating mode described above) corresponding to the enable signal of the oscillator associated with the element 20 and the value CO, and supplies a binary signal RUN2 (equal to the signal RUNA in the first operating mode) for enabling the oscillator associated with the element 12. The circuit 26 is configured such that:

[0043] - when the signal RUN1 has a value (e.g., 0) indicating the stop or sleep of the oscillator associated with the element 20, the signal RUN2 has the same value indicating the disabled state of the oscillator associated with the element 12 (both oscillators are stopped and the outputs DIGOUT and PVOUT of both the counter 16 and the counter 22 are zero);

[0044] - when the signal RUN1 has a value (e.g., 1) indicating the enabling of the oscillator associated with the element 20 and the signal CO has a second value (PVOUT < PV), the signal RUN2 has the same value 1 indicating the enabling of the oscillator associated with the element 12; and

[0045] When signal RUN1 has a value indicating the enabling of the oscillator associated with element 20 (eg 1) and signal CO has a first value (PVOUT>=PV), signal RUN2 takes a value indicating the stopping or sleeping of the oscillator associated with element 12 .

[0046] exist Figure 1 In the example shown in FIG. 2 , circuit 26 includes an inverter circuit 28 and a NOR logic gate 30. Inverter circuit 28 includes an input configured to receive signal RUN1 and an output on which a signal complementary to signal RUN1 is generated. Logic gate 30 includes an input on which signal CO is received and another input linked (preferably connected) to the output of inverter circuit 28. Logic gate 30 also includes an output at which signal RUN2 is generated. The value DIGOUT supplied by counter 16 is proportional to the value PV and the ratio of the frequencies between oscillator 14 and oscillator 18. These frequencies are controlled by impedances 12 and 20, respectively. Even if the two oscillators are identical, the impedance-frequency relationship of the two oscillators (or more generally, the value derived from the sensor frequency) may also be slightly different depending on the supply voltage, aging, and variations in the manufacturing process. The above factors can affect the value DIGOUT and make it potentially dependent on variations in the supply voltage, aging, and variations in the manufacturing process.

[0047] According to the described embodiment, there is provided an attenuation of the effects of variations in the supply voltage, aging, and variations in the manufacturing process by using two oscillators 14 and 18 in succession for measuring a physical quantity of the element 12. For this purpose, two phases, cycles or steps of operation are provided, wherein during a first phase the device is configured for operation according to the first mode described above, and during a second phase the device is configured such that according to a second operating mode the device 14 is associated with the element 20 and the oscillator 18 is associated with the element 12.

[0048] Thus, in the second operating mode of the converter 10, illustrated by the single arrow, the oscillator 14 is configured so that the operating frequency f14 depends on the electrical characteristics of the element 20, and the oscillator 18 is configured so that the operating frequency f18 depends on the electrical characteristics of the element 12. In other words, the input / output of the oscillators 14 and 18 are interchanged. In the second operating mode, the frequency f14 is therefore supplied to the counter 22. The value PVOUT then corresponds to the number of oscillations counted by the counter 22. The frequency f18 is supplied to the counter 16. The value DIGOUT then depends on the number of oscillations counted by the counter 16. In order to take into account both operating modes in the final value, the counter 16 is not reset between the two phases and thus accumulates the contributions of the two oscillators. It is sufficient to take this into account when understanding the conversion result, for example by dividing the value DIGOUT by two.

[0049] In a second operating mode of the converter 10, illustrated by a single arrow, the oscillator 14 is configured such that the frequency depends on the electrical characteristics of the element 20, and the oscillator 18 is configured such that the frequency f18 depends on the electrical characteristics of the element 12. In the second operating mode, the frequency f14 is supplied to the counter 22, and then the value DIGOUT corresponds to the number of oscillations counted by the counter 22. The frequency f18 is supplied to the counter 16, and the value DIGOUT corresponds to the number of oscillations counted by the counter 16. Furthermore, the respective signals RUNA and RUNB for controlling the oscillators 14 and 18 are also inverted, the signal RUNA for enabling the oscillator 14 corresponds to the signal RUN1 and the signal RUNB for enabling the oscillator 18 corresponds to the signal RUN2.

[0050] In order to be able to supply the appropriate signals RUN1 and RUN2 to the oscillators 14 and 18, the converter comprises, for example, one or more multiplexers (not shown) controlled by signals indicating the active phase or operating mode. The signals indicating the operating phase are used, for example, to control switches between the 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. Figure 2A and Figure 2B Picture shows Figure 1 The embodiment of the converter shown in FIG. 1 illustrates an analog-to-digital conversion method. The embodiment includes a first step and a second step, during which the converter is in a first operating mode, by Figure 2A As shown, during the second step the converter is in the second operating mode, Figure 2B Preferably, each first step is followed by a second step, preferably directly followed by the second step. Figure 2A and Figure 2B The order of the steps illustrated in FIG. 1 may be reversed.

[0051] Figure 2A Schematically illustrates Figure 1 More precisely, Figure 2A A first step during which the converter is in a first operating mode is illustrated.

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

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

[0054] During the first step start, signal RUN1 takes a value indicating the activation of oscillator 18. Counter 22 has been reset, value PVOUT is less than comparison (or reference) value PV. Therefore, signal RUN2 generated at the output of circuit 26 has a value indicating the activation of oscillator 14.

[0055] Oscillators 14 and 18 generate voltages having frequencies f14 and f18, respectively. Values ​​DIGOUT and PVOUT increase, and counters 16 and 22 count the oscillations of the voltages generated by oscillators 14 and 18. When value PVOUT reaches reference value PV, signal RUN2 takes a value that stops oscillator 14. In other words, signal RUNA takes a value that stops oscillator 14.

[0056] The oscillation time D1, i.e. the time between the enabling of the oscillator 18 and the stopping of the oscillator 14, follows the following equation:

[0057] D1=DIGOUT1*t14(D12)

[0058] =PV*t18(D20),

[0059] Wherein DIGOUT1 is the value taken by counter 16 at the end of time D1, PV is the value of signal PVOUT after time D1, i.e., the reference value, t14 (D12) corresponds to the period of oscillator 14 associated with element 12, and t18 (D20) corresponds to the period of oscillator 18 associated with element 20.

[0060] In other words, the value DIGOUT1 satisfies the following equation:

[0061] DIGOUT1=PV*t18(D20) / t14(D12)

[0062] =PV*f14(D12) / f18(D20),

[0063] Therein f14 ( D12 ) corresponds to the frequency of oscillator 14 associated with element 12 , and f18 ( D20 ) corresponds to the frequency of oscillator 18 associated with element 20 .

[0064] The period of oscillators 14 and 18 can be expressed by the following equation:

[0065] t14(D12)=K14*Z12+L14; and

[0066] t18(D20)=K18*Z20+L18,

[0067] wherein the values ​​Z12 and Z20 correspond to the impedances of elements 12 and 20, respectively, the values ​​K14 and K18 correspond to the coefficients of the ratio between the impedances Z12 or Z20 of elements 12 and 20, respectively associated with oscillators 14 and 18, and their corresponding periods, and the values ​​L14 and L18 correspond to the delays generated by the internal logic of oscillators 14 and 18, respectively.

[0068] In fact, the value L14 is negligible relative to the value K14*Z12, for example, less than one thousandth of the value K14*Z12. Similarly, the value L18 is negligible relative to the value K18*Z20, for example, less than one thousandth of the value K18*Z20. Thus, the value DIGOUT1 can be obtained by the following equation:

[0069] DIGOUT1=PV*(K18*Z20) / (K14*Z12).

[0070] Taking a supply voltage of value VDD as an example, the value DIGOUT1 supplied by the counter 16 at the end of the first phase is given by the following equation:

[0071] DIGOUT1=PV*(K18*Z20) / (K14*Z12).

[0072] In the case of a supply voltage of value VDD′, the value DIGOUT1′ supplied by the counter 16 at the end of the first phase is given by the following equation:

[0073] DIGOUT1′=PV*(K18′*Z20) / (K14′*Z12).

[0074] Thus, the values ​​DIGOUT1 and DIGOUT1′ follow the following equations:

[0075] DIGOUT1'=DIGOUT1*(K18' / K18) / (K14' / K14).

[0076] Since oscillators 14 and 18 are identical, values ​​K14 and K18 have close values ​​within manufacturing variations. Assume that values ​​K14 and K18 follow the following equations, corresponding to a first order expansion:

[0077] K18=K14*(1+eK),

[0078] In practice, the eK value is usually less than or equal to 5%.

[0079] The values ​​K14, K14', K18 and K18' therefore obey the following equations, corresponding to the first-order expansion:

[0080] K14′=K14*(1+e14); and

[0081] K18'=K18*(1+e18), and in practice, the values ​​e14 and e18 are usually less than or equal to 5%.

[0082] Thus, the values ​​DIGOUT1 and DIGOUT1′ follow the following equations:

[0083] DIGOUT1′=DIGOUT1*(1+e18) / (1+e14).

[0084] According to the first-order estimation, if the values ​​a and b are less than 5%, the following equation holds:

[0085] 1 / (1+b)~1-b; and

[0086] (1+a) / (1+b)~1+ab.

[0087] Thus, the values ​​DIGOUT1 and DIGOUT1′ follow the following equations:

[0088] DIGOUT1'~DIGOUT1*(1+e18-e14).

[0089] It can thus be seen that at the end of the first phase, the value obtained by the counter 16 still depends on the variation of the supply voltage, the values ​​DIGOUT1 and DIGOUT1 ′ being different.

[0090] Figure 2B Schematically illustrates Figure 1 Another step of the embodiment of the analog-to-digital converter shown in . More precisely, Figure 2B A second step during which the converter is in a second operating mode is illustrated.

[0091] In the second operation mode, the enable signal RUNA received by the oscillator 14 corresponds to the signal RUN1, and the enable signal RUNB received by the oscillator 18 corresponds to the signal RUN2.

[0092] According to one embodiment, the counter 16 is between the first phase or step and the second phase or step, that is, between the Figure 2A The steps shown in the figure are Figure 2B The steps shown are not reinitialized. The counter 22 is reset and the PV value is not modified.

[0093] As in the first operating mode, when the second step starts, the signal RUNA takes the value RUN1 equal to 1, indicating the activation of the converter. Taking the example of resetting the counter 22 (however, the following discussion can be transferred to the case where the value PV is doubled), the signal CO is in the state 0 and the signal RUN2 applied to the input RUNB of the oscillator 18 is equal to 1.

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

[0095] Assuming that the counter 22 is reset between the two phases, the oscillation time D2, ie the time between enabling and disabling the oscillator 18, follows the following equation:

[0096] D2=DIGOUT2*t18(D12)

[0097] =PV*t14(D20),

[0098] wherein DIGOUT2 is the value to which the value DIGOUT has increased during the time D2, ie the difference between the value DIGOUT1 at the beginning of the first step and the value DIGOUT at the end of the second step.

[0099] In other words, the value DIGOUT2 is obtained by the following equation:

[0100] DIGOUT2=PV*t14(D20) / t18(D12)

[0101] =PV*f18(D12) / f14(D20),

[0102] Therein f18 ( D12 ) corresponds to the frequency of oscillator 18 associated with element 12 , and f14 ( D20 ) corresponds to the frequency of oscillator 14 associated with element 20 .

[0103] The oscillation time D2, i.e. the time between enabling and disabling the oscillator 18, follows the following equation:

[0104] D2=DIGOUT2*t18(D12)

[0105] =PV*t14(D20),

[0106] Where DIGOUT2 is the value by which DIGOUT has increased during D2, PV is the value by which the PVOUT value has increased during time D2 and is equal to the value by which the PVOUT value has increased during time D1, i.e., the reference value, t18 (D12) corresponds to the period of the oscillator 18 associated with the element 12, and t14 (D20) corresponds to the period of the oscillator 14 associated with the element 20. In other words, the value DIGOUT2 is obtained by the following equation:

[0107] DIGOUT2=PV*t14(D20) / t18(D12)

[0108] =PV*f18(D12) / f14(D20),

[0109] Therein f18 (D12) corresponds to the frequency of oscillator 18 associated with element 12, and f14 (D20) corresponds to the frequency of oscillator 14 associated with element 20. The reference value PV of the second step is equal to twice the reference value of the first step.

[0110] The period of the oscillators 14 and 18 is obtained in a similar manner to the period of the first mode of operation from the following equation:

[0111] t18(D12)=K18*Z12+L18; and

[0112] t14(D20)=K14*Z20+L14.

[0113] By ignoring the values ​​L14 and L18 as for the first step, the value DIGOUT2 is given by:

[0114] DIGOUT2=PV*(K14*Z20) / (K18*Z12)

[0115] =PV*(K14*Z20) / (K18*Z12).

[0116] As in the first step, in the case where the supply voltage is the voltage VDD, the value DIGOUT2 corresponds to the following equation:

[0117] DIGOUT2=PV*(K14*Z20) / (K18*Z12).

[0118] In case the supply voltage is another voltage VDD', the value DIGOUT2' corresponds to the following equation:

[0119] DIGOUT2′=PV*(K14′*Z20) / (K18′*Z12).

[0120] Thus, the values ​​DIGOUT2 and DIGOUT2′ follow the following equations:

[0121] DIGOUT2'=DIGOUT2*(K14' / K14) / (K18' / K18).

[0122] The first-order expansion performed for the first step is performed similarly for the second step. Thus, the following equation is considered to hold:

[0123] K18 = K14*(1+eK);

[0124] K14′=K14*(1+e14); and

[0125] K18′=K18*(1+e18).

[0126] Thus, the values ​​DIGOUT2 and DIGOUT2′ follow the following equations:

[0127] DIGOUT2'=DIGOUT2*(1+e14) / (1+e18).

[0128] Thus, the values ​​DIGOUT2 and DIGOUT2' follow the following equations:

[0129] DIGOUT2'~DIGOUT2*(1+e14–e18).

[0130] The value DIGOUT3 corresponding to the value DIGOUT at the end of the first and second steps is equal to the sum of the value DIGOUT1 and the value DIGOUT2. Thus, the DIGOUT3 value follows the following equation:

[0131] DIGOUT3

[0132] =PV*(K18*Z20) / (K14*Z12)+PV*(K14*Z20) / (K18*Z12)

[0133] =PV*(Z20 / Z12)*(K18 / K14+K14 / K18)

[0134] =PV*(Z20 / Z12)*(1+eK+1-eK)

[0135] =2*PV*(Z20 / Z12).

[0136] Similarly, for the supply voltage VDD', the value DIGOUT3' is equal to the sum of the value DIGOUT1' and the value DIGOUT2'. Thus, the value DIGOUT3' follows the following equation:

[0137] DIGOUT3'

[0138] =PV*(Z20 / Z12)*(K18' / K14'+K14' / K18')

[0139] =PV*(Z20 / Z12)*[(K18 / K14)*(1+e18) / (1+e14)+(K14 / K18)*(1+e14) / (1+e18)]

[0140] =PV*(Z20 / Z12)*[(1+eK)*(1+e18) / (1+e14)+(1-eK)*(1+e14) / (1+e18)]

[0141] =PV*(Z20 / Z12)*[(1+eK)*(1+e18-e14)+(1-eK)*(1+e14-e18)]

[0142] ~PV*(Z20 / Z12)*[(1+e18-e14+eK)+(1+e14-e18-eK)]

[0143] Thus, the value DIGOUT3′ follows the following equation: DIGOUT3′ ~ DIGOUT1′ + DIGOUT2′ ~ 2*PV*(Z20 / Z12)

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

[0145] The result of the count at the end of two steps is twice the result of one step. In order to obtain a value representative of the measured physical quantity, a reference value divided by two can be used at the comparator for both steps in order to compensate for the difference l.

[0146] Figure 3 Shows Figure 1 An example of an implementation of a portion of the embodiment shown in . More precisely, Figure 3 An example of an implementation of a delay circuit 30 that is weakly dependent on the supply voltage is shown. The circuit 30 comprises each oscillator 14 and 18. The circuit 30 determines the frequency of the oscillators and ensures that a first order estimate of the coefficients K14 and K18 can be made.

[0147] Circuit 30 includes transistors 32 and 34, which are connected in series between a node 36 for applying a supply voltage VDD and a node 38 for applying a reference voltage (e.g., ground). Transistors 32 and 34 are, for example, metal oxide semiconductor field effect transistors or MOSFETs. Transistor 32 is, for example, a P-channel transistor, and transistor 34 is, for example, an N-channel transistor.

[0148] One terminal (e.g., source) of transistor 32 is linked (preferably connected) to node 36, and the other terminal (e.g., drain) of transistor 32 is linked (preferably connected) to node 40. One terminal (e.g., drain) of transistor 34 is linked (preferably connected) to node 40, and the other terminal (e.g., source) of transistor 34 is linked (preferably connected) to node 38. Transistor 34 includes a control terminal linked (preferably connected) to node 40. Transistor 32 includes a control terminal linked to node 42. Current Irefn flows through transistor 34.

[0149] Circuit 30 includes transistor 44 and resistor 46, which are connected in series between node 36 and node 38. Transistor 44 is, for example, a MOSFET, such as a P-channel transistor. One terminal (e.g., source) of transistor 44 is linked (preferably connected) to node 36, and the other terminal (e.g., drain) of transistor 44 is linked (preferably connected) to node 42. One terminal of resistor 46 is linked (preferably connected) to node 42, and the other terminal of resistor 46 is linked (preferably connected) to node 38. Transistor 44 includes a control terminal linked (preferably connected) to node 48. Node 48 is also linked (preferably connected) to node 42.

[0150] Circuit 30 includes transistors 50 and 52, which are connected in series between node 36 to which supply voltage VDD is applied and node 38 to which reference voltage (e.g., ground) is applied. Transistors 50 and 52 are, for example, metal oxide semiconductor field effect transistors or MOSFETs. Transistor 50 is, for example, a P-channel transistor, and transistor 52 is, for example, an N-channel transistor. A current equal to 1 / n times the current flowing through transistor 44 flows through transistor 50. In fact, assemblies 44 and 50 are current mirrors. Transistor 52 operates in a switching mode, that is, if voltage IN (i.e., the voltage applied to the gate of transistor 52) is equal to the supply voltage, transistor 52 discharges capacitor 56, and if voltage IN is equal to ground potential, transistor 52 allows capacitor 56 to be charged. Transistor 50 is configured so that the size of transistor 44 is n times larger than the size of transistor 50. For example, transistors 44 and 50 are both formed by a plurality of basic transistors identical to each other and connected in parallel. Transistor 44 includes n times more basic transistors than transistor 50.

[0151] One terminal (e.g., source) of transistor 50 is linked (preferably connected) to node 36, and the other terminal (e.g., drain) of transistor 50 is linked (preferably connected) to node 54. One terminal (e.g., drain) of transistor 52 is linked (preferably connected) to node 54, and the other terminal (e.g., source) of transistor 52 is linked (preferably connected) to node 38. Transistor 50 includes a control terminal linked (preferably connected) to node 48. Transistor 52 includes a control terminal linked (preferably connected) to a node for applying input voltage IN.

[0152] Circuit 30 also includes a capacitor 56 linked between node 54 and node 38. In other words, one terminal of the capacitor is linked (preferably connected) to node 54 and the other terminal of the capacitor is linked (preferably connected) to node 38.

[0153] Circuit 30 includes transistors 58 and 60, which are connected in series between node 36 to which supply voltage VDD is applied and node 38 to which reference voltage (e.g., ground) is applied. Transistors 58 and 60 are, for example, metal oxide semiconductor field effect transistors or MOSFETs. Transistor 58 is, for example, a P-channel transistor, and transistor 60 is, for example, an N-channel transistor.

[0154] One terminal (e.g., source) of transistor 58 is linked (preferably connected) to node 36, and the other terminal (e.g., drain) of transistor 58 is linked (preferably connected) to node 62. One terminal (e.g., drain) of transistor 60 is linked (preferably connected) to node 62, and the other terminal (e.g., source) of transistor 60 is linked (preferably connected) to node 38. Transistor 58 includes a control terminal linked (preferably connected) to node 54. Transistor 60 includes a control terminal linked (preferably connected) to node 40. Thus, transistor 60 is installed as a current source, reproducing the current flowing through transistor 34.

[0155] Circuit 30 includes, for example, an inverter 64 linked between node 62 and an output node 66 at which an output voltage OUT is generated. Inverter 64 includes an input terminal linked (preferably connected) to node 62 and an output terminal linked (preferably connected) to node 66.

[0156] The circuit 30 is configured to generate the output signal OUT in such a way that for each falling edge of the signal IN, the signal OUT includes a rising edge delayed by a time t. The time t is configured to be equal to the product of the number n, the resistance value 46, and the capacitance value of the 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.

[0157] Theoretically, the delay generated by the circuit 30 is constant and independent of the value of the supply voltage. However, the generated delay depends on the switching point of the inverter 64. The switching point depends on the supply voltage.

[0158] Figure 4 Shows Figure 1 More precisely, Figure 4 There is schematically illustrated an oscillator 70. The oscillator 70 corresponds to the oscillator 14 or 18, for example.

[0159] The oscillator 70 includes two circuits 30a and 30b, each of which corresponds to a circuit such as Figure 3 30a and 30b. Circuit 30a includes transistors 50a, 52a, 58a, 60a, capacitor 56a and inverter 64a, which are linked to each other and to transistors 32, 34, 44 and resistor 46, respectively, as shown in FIG. Figure 3 50, 52, 58, 60, capacitor 56 and inverter 64 are the same as shown in FIG. Similarly, circuit 30 includes transistors 50b, 52b, 58b, 60b, capacitor 56b and inverter 64b, which are linked to each other and to transistors 32, 34, 44 and resistor 46, respectively, as shown in FIG. Figure 3 The transistors 50, 52, 58, 60, capacitor 56 and inverter 64 shown in FIG. 3 are the same. In addition, circuits 30a and 30b include output nodes 66a and 66b, respectively, corresponding to Figure 3 Node 66 shown in .

[0160] Oscillator 70 also includes a NAND logic gate 72. Gate 72 includes a first input linked (preferably connected) to node 66a and a second input linked (preferably connected) to a node for applying signal S. Gate 72 also includes an output linked (preferably connected) to node 74.

[0161] Oscillator 70 also includes a NOR logic gate 76. Gate 76 includes a first input linked (preferably connected) to node 66b and a second input linked (preferably connected) to an application node of signal / S, which corresponds, for example, to a signal complementary to signal S. Gate 76 also includes an output linked (preferably connected) to node 78.

[0162] Oscillator 70 also includes a NAND logic gate 80. Gate 80 includes a first input linked (preferably connected) to node 74 and a second input linked (preferably connected) to a node 82 corresponding to the output of oscillator 70. Gate 80 also includes an output linked (preferably connected) to node 84. Node 82 is linked (preferably connected) to the control terminal of transistor 52b. Similarly, node 84 is linked (preferably connected) to the control terminal of transistor 52a.

[0163] Oscillator 70 also includes a NAND logic gate 86. Gate 86 includes a first input linked (preferably connected) to node 78 and a second input linked (preferably connected) to node 84. Gate 86 also includes an output linked (preferably connected) to node 82.

[0164] exist Figure 1 , Figure 2A and Figure 2B In the embodiment shown in , the resistor 46 is replaced by a corresponding device 12 or 20 .

[0165] An advantage of the described embodiment is that the analog-to-digital conversion is less susceptible to errors due to variations in the supply voltage, aging, and variations in the manufacturing process, particularly if the oscillators are further configured, for example by known techniques, to reduce the dependence of the frequencies f14 and f18 on variations in the supply voltage, aging, and variations in the manufacturing process, and to ensure that the frequencies of the oscillators 14 and 18 are close.

[0166] Various embodiments and variations have been described. Those skilled in the art will appreciate that the specific features of these embodiments can be combined, and those skilled in the art will readily conceive of other variations.

[0167] Finally, actual implementation of the embodiments and variations described herein is within the capabilities of those skilled in the art based on the functional description provided above.

Claims

1. A method for controlling an analog-to-digital converter, the analog-to-digital converter comprising a first oscillator and a second oscillator and a first element and a second element, the method include: In a first step, a frequency depending on an electrical characteristic of the first element and a frequency depending on an electrical characteristic of the second element are generated by the first oscillator and the second oscillator, respectively; as well as In a second step, a frequency depending on the electrical characteristic of the second element and a frequency depending on the electrical characteristic of the first element are generated by the first oscillator and the second oscillator, respectively.

2. The method of claim 1, wherein the first oscillator and the second oscillator are the same. 3 . The method of claim 1 , wherein the electrical characteristic of the first element is sensitive to a change in a physical quantity, and the electrical characteristic of the second element is insensitive to the change in the physical quantity. The method of claim 1 , wherein the first element is a sensor.

5. The method of claim 1, wherein the analog-to-digital converter comprises a first counter and a second counter, and the method further comprises: include: During the first step, first oscillations of the first oscillator are counted by the first counter and first oscillations of the second oscillator are counted by the second counter; as well as During the second step, second oscillations of the second oscillator are counted by the first counter and second oscillations of the first oscillator are counted by the second counter.

6. The method according to claim 5, further comprising: include: by the second counter reaching a reference value; as well as Stopping of the oscillator associated with the first counter is triggered by the second counter in response to reaching the reference value.

7. The method according to claim 5, further comprising: include: Counter values ​​are provided by the first counter and the second counter, the counter values ​​representing first values ​​of the respective electrical characteristic of the first element and the respective electrical characteristic of the second element.

8. The method according to claim 7, wherein the electrical characteristic of the first element is sensitive to a change in a physical quantity, the electrical characteristic of the second element is insensitive to the change in the physical quantity, and the method further include: A counter value representing a current first value of the physical quantity is provided by the first counter.

9. The method according to claim 5, further comprising: include: A control signal for the oscillator associated with the first element is generated by the circuitry of the analog-to-digital converter depending on the state of an enable signal for the oscillator associated with the second element and on the value of the second counter.

10. An analog-to-digital converter, include: a first element and a second element; as well as a first oscillator and a second oscillator, wherein the first oscillator and the second oscillator are configured as: During a first step, a frequency dependent on an electrical characteristic of the first element and a frequency dependent on an electrical characteristic of the second element are generated, respectively; and During a second step, a frequency depending on the electrical property of the second element and a frequency depending on the electrical property of the first element are generated, respectively.

11. The analog-to-digital converter of claim 10, wherein the first oscillator and the second oscillator are the same.

12. The analog-to-digital converter of claim 10, wherein the electrical characteristic of the first element is sensitive to a change in a physical quantity, and the electrical characteristic of the second element is insensitive to the change in the physical quantity.

13. The analog-to-digital converter of claim 10, wherein the first component is a sensor.

14. The analog-to-digital converter according to claim 10, wherein the analog-to-digital converter further include: A first counter, wherein the first counter is configured to: During said first step, first oscillations of said first oscillator are counted; and During said second step, counting first oscillations of said second oscillator; as well as A second counter, wherein the second counter is configured to: During said first step, counting second oscillations of said second oscillator; and During the second step, second oscillations of the first oscillator are counted.

15. The analog-to-digital converter of claim 14, wherein the second counter is configured to: reaches the reference value; and Stopping of the oscillator associated with the first counter is triggered in response to reaching the reference value. 16 . The analog-to-digital converter of claim 14 , wherein the first counter and the second counter are configured to provide counter values ​​representing first values ​​of respective electrical characteristics of the first element and the second element.

17. The analog-to-digital converter according to claim 16, in: The electrical characteristic of the first element is sensitive to a change in a physical quantity; The electrical characteristic of the second element is insensitive to the change in the physical quantity; and The first counter is configured to provide a counter value representing a current first value of the physical quantity.

18. The analog-to-digital converter of claim 14, wherein the analog-to-digital converter further include: A circuit is configured to generate a control signal for the oscillator associated with the first element depending on a state of an enable signal for the oscillator associated with the second element and a value of the second counter.

19. An analog-to-digital converter, include: a first sensor and a second sensor; a first oscillator and a second oscillator, wherein the first oscillator and the second oscillator are configured as: During a first step, a frequency dependent on an electrical characteristic of the first sensor and a frequency dependent on an electrical characteristic of the second sensor are generated, respectively; and During a second step, a frequency dependent on the electrical characteristic of the second sensor and a frequency dependent on the electrical characteristic of the first sensor are generated, respectively; as well as A first counter, wherein the first counter is configured to: During said first step, first oscillations of said first oscillator are counted; and During said second step, counting first oscillations of said second oscillator; as well as A second counter, wherein the second counter is configured to: During said first step, counting second oscillations of said second oscillator; and During the second step, second oscillations of the first oscillator are counted.

20. The analog-to-digital converter according to claim 19, in: The first oscillator and the second oscillator are the same; and The electrical characteristic of the first sensor is sensitive to a change in a physical quantity, and the electrical characteristic of the second sensor is insensitive to the change in the physical quantity.

Citation Information

Patent Citations

  • FAT blends

    FR2303071A1