Method and a device for analog-to-digital conversion of signals, corresponding apparatus
09755658 ยท 2017-09-05
Assignee
Inventors
- Matteo QUARTIROLI (Broni, IT)
- Salvatore Poli (Milan, IT)
- Roberto Faravelli (Pavia, IT)
- Giovanni Carlo Tripoli (Rho, IT)
Cpc classification
H03M1/1285
ELECTRICITY
H03M1/124
ELECTRICITY
H03M1/46
ELECTRICITY
H03M1/144
ELECTRICITY
International classification
H03M1/00
ELECTRICITY
H03M1/46
ELECTRICITY
Abstract
One or more first signals and one or more second signals, wherein the second signal(s) are slowly varying or low frequency signals in comparison with the first signals and are converted from analog to digital by sampling the first signals and the second signals to produce samples thereof for analog-to-digital conversion, subjecting the samples of the first signals to conversion to digital at a certain conversion rate, subjecting the samples of the second signal to conversion to digital by segments so that these segments are subjected to conversion to digital along with the samples of the first signals at the respective conversion rate, and reconstructing digital converted samples of the second signal from the segments subjected to conversion to digital.
Claims
1. A method, comprising: sampling a first signal at a sampling rate to generate analog samples of the first signal; sampling a second signal at the sampling rate to generate analog samples of the second signal, the second signal being a low frequency signal relative to the first signal; performing conversion of the analog samples of the first signal to digital values at a conversion rate; and performing time-segmented conversion on the analog samples of the second signal at the conversion rate to sequentially generate bits of a digital value representing the second signal.
2. The method of claim 1, wherein performing time-segmented conversion on the analog samples of the second signal at the conversion rate to sequentially generate bits of a digital value representing the second signal comprises generating N-bit segments of the digital value representing the second signal each period defined by the conversion rate along with converting the analog samples of the first signal to digital values.
3. The method of claim 2, wherein generating the N-bit segments of the second signal comprises generating the N-bit segments from the most significant bit of the digital value representing the second signal to the least significant bit.
4. The method of claim 1 further comprising: performing digital-to-analog conversion of one of the N-bit segments of the second signal to generate an analog value of the one of the N-bit segments; generating a comparison threshold based on the analog value of the one of the N-bit segments; and comparing a sample of the second signal to the comparison threshold; and performing conversion to digital a further N-bit segment of the second signal based on the comparing of the sample of the second signal to the comparison threshold.
5. The method of claim 4 further comprising: storing each of the N-bit segments of the digital value representing the second signal; and performing digital-to-analog conversion of the stored N-bit segments to generate the comparison threshold.
6. The method of claim 2, wherein generating N-bit segments of the digital value representing the second signal comprises generating N-bit segments where N equals one.
7. The method of claim 2, wherein generating N-bit segments of the digital value representing the second signal comprises generating a plurality of N-bit segments, each of the plurality of N-bit segments including the same number of bits.
8. The method of claim 1, wherein performing conversion and performing time-segmented conversion each comprise generating digital values through successive approximation analog-to-digital conversion.
9. An analog-to-digital converter, comprising: a converter circuit configured to convert analog samples of a first signal and a second signal to digital values, the second signal being a low frequency signal relative to the first signal and the converter circuit configured to convert the analog samples of the first signal at a conversion rate and configured to convert the analog samples of the second signal through time-segmented conversion at the conversion rate to generate a plurality of digital segment values for the second signal; and a reconstruction circuit configured to reconstruct a digital value of the second signal from the plurality of digital segment values for the second signal.
10. The analog-to-digital converter of claim 9, wherein the converter circuit is further configured to generate N-bit segments of the digital value representing the second signal each period defined by the conversion rate along with converting the analog samples of the first signal to digital values.
11. The analog-to-digital converter of claim 10, wherein the converter circuit is further configured to generate the N-bit segments of the digital value representing the second signal in an alternating sequence with the conversion of the analog samples of the first signal.
12. The analog-to-digital converter of claim 10, wherein the converter circuit is further configured to generate the N-bit segments from the most significant bit of the digital value representing the second signal to the least significant bit.
13. The analog-to-digital converter of claim 10, further comprising: a digital-to-analog converter configured to convert one of the N-bit segments of the second signal to an analog value of the one of the N-bit segments and configured to generate a comparison threshold based on the analog value of the one of the N-bit segments; and comparison circuitry configured to compare a sample of the second signal to the comparison threshold and further configured to perform analog-to-digital conversion of a further N-bit segment of the second signal based on the comparing of the sample of the second signal to the comparison threshold.
14. The analog-to-digital converter of claim 13, wherein the reconstruction circuit is configured to cumulatively store the N-bit segments of the second signal; and wherein the digital-to-analog converter is further configured to convert to analog the digital values of the cumulatively stored N-bit segments of the second signal to generate the comparison threshold.
15. The analog-to-digital converter of claim 13 further comprising a memory to store the N-bit segments.
16. The analog-to-digital converter of claim 9, wherein the converter circuit and reconstruction circuit are configured to collectively form a successive approximation register analog-to-digital converter.
17. An system, comprising: an analog-to-digital converter configured to convert analog samples of a first signal and a second signal to digital values, the second signal being a low frequency signal relative to the first signal and the converter circuit configured to convert the analog samples of the first signal at a conversion rate to generate digital values of the first signal and configured to convert the analog samples of the second signal through time-segmented conversion at the conversion rate to generate a plurality of digital segment values of the second signal; and logic circuitry configured to reconstruct a digital value of the second signal from the plurality of digital segment values of the second signal; and a source device coupled to the analog-to-digital converter to provide the first signal and the second signal; and a user device coupled to the analog-to-digital converter to receive the digital values of the first signal and the digital segment values of the second signal.
18. The system of claim 17, wherein the source device comprises an accelerometer to provide acceleration signals corresponding to the first signal and further comprises a temperature sensor to provide a temperature signal that corresponds to the second signal.
19. The system of claim 18, wherein the accelerometer is mounted to a vehicle and provides three acceleration signals that collectively form the first signal, and wherein the temperature sensor is also mounted to the vehicle.
20. The system of claim 19, wherein the user device comprises a processor that processes the digital values and digital segment value of the first and second signals, respectively, and wherein the analog-to-digital converter comprises a successive approximation register analog-to-digital converter.
Description
BRIEF DESCRIPTION OF THE FIGURES
(1) One or more embodiments will now be described, purely by way of non-limiting example, with reference to the annexed figures, wherein:
(2)
(3)
(4)
(5)
(6)
DETAILED DESCRIPTION
(7) In the ensuing description one or more specific details are illustrated, aimed at providing an in-depth understanding of examples of embodiments. The embodiments may be obtained without one or more of the specific details, or with other methods, components, materials, etc. In other cases, known structures, materials, or operations are not illustrated or described in detail so that certain aspects of embodiments will not be obscured.
(8) Reference to an embodiment or one embodiment in the framework of the present description is intended to indicate that a particular configuration, structure, or characteristic described in relation to the embodiment is comprised in at least one embodiment. Hence, phrases such as in an embodiment or in one embodiment that may be present in one or more points of the present description do not necessarily refer to one and the same embodiment. Moreover, particular conformations, structures, or characteristics may be combined in any adequate way in one or more embodiments.
(9) The references used herein are provided merely for convenience and hence do not define the scope of protection or the scope of the embodiments.
(10) The portion of
(11) The different frequencies of the signals in question will result in the high frequency signals X, Y, Z expectedly taking different values at each one of the sampling/conversion events (whose rate will be dictated by the bandwidth of these high frequency signals, e.g., based on Nyquist's criterion). This situation is schematically represented in
(12) Conversely, the low frequency signal will change much more slowly, with its value hardly varying between two subsequent sampling/conversion events at the rate ADC.sub.1, so that a much lower sampling/conversion rate ADC.sub.2 would suffice to provide a satisfactory ADC conversion result.
(13) Arrangements permitting conversion of both the fast or high frequency signals X, Y, Z and the slow or low frequency signal T with e.g., a single ADC converter may be involve inserting an extra slot for converting the slow signal T at each conversion of the group of fast signals X, Y, Z.
(14) For instance, in the case of X, Y, Z being the three axes or coordinates of a three-axial acceleration signal, the slow (e.g., temperature) signal may be handled as a sort of a fourth, extra axis.
(15) This might occur by preserving the repetition rate ADC.sub.1 of the pattern of the signals X, Y, Z and squeezing (that is making shorter, e.g., 25% shorter) the joint duration of the intervals allotted for conversion of the X, Y, Z signals in order to accommodate an extra slot for conversion of the T signal. Such an option may end up by requiring more area and more power for each conversion.
(16) Alternatively, the duration of the individual intervals allotted for conversion of the X, Y, Z signals may be maintained while reducing (e.g., by about 25%) the repetition rate ADC.sub.1 of the pattern of the signals X, Y, Z in order again to accommodate an extra slot for conversion of the T signal. While permitting maintaining the same area and a same power for each conversion, such an option may end up by adversely affecting the performance level due to the sampling frequency being reduced.
(17)
(18) As schematically exemplified in
(19) For instance, one may consider the case of a slow varying signal T having an (analog) sampled value of, say 37 (thirty-seven) in any units, e.g., millivolt. Converted to binary, that is digital, 37 is 100101, and the digital value for T may thus be considered as including e.g., three segments, e.g., T1=10, T2=01 and T3=01.
(20) As schematically exemplified in
(21) Since at every cycle repeated at the fast rate ADC.sub.1 of the signals X, Y, Z not the entire conversion of T, but just the conversion of a segment T1, T2, T3 of T is performed, the time slot allotted for that purpose may be (much) shorter.
(22) As schematically represented in
(23) If the repetition rate ADC.sub.1 is maintained, a reduced squeezing of the joint duration of the intervals allotted for conversion of the X, Y, Z will permit accommodating therebetween the conversion of the low frequency signal, and the possible increase in area and power will be correspondingly reduced.
(24) Alternatively, if the duration of the individual intervals allotted for conversion of the X, Y, Z signals is maintained, the reduction in the repetition rate ADC.sub.1 in order to accommodate the conversion of the T signal will be correspondingly small, with a reduced impact on performance level due to the sampling frequency being reduced.
(25) Of course any intermediate trade-off condition between the two is at least notionally possible.
(26)
(27) As exemplified in
(28) The input signal IS injected into the input 120 may include one or more first fast or high frequency signals (e.g., signals X, Y, Z which vary rapidly over time: three-axial acceleration signals sensed in a moving vehicle may be exemplary of such signals), plus one or more second slow or low frequency signal (e.g., a signal which varies slowly over time in comparison with the fast signals: a temperature signal sensed in a vehicle along with the acceleration signals X, Y, Z may be exemplary of such a signal).
(29) Referring herein to plural fast signals (X, Y, Z) and a single slow signal (T) is purely by way of example and for the sake of simplicity. In one or more embodiments a SAR ADC converter 10 as exemplified herein may in fact be fed with one or more first fast signals to be converted to digital along with one or more second slow signals.
(30) In one or more embodiments, the output signal from the comparator 12 may be fed to a sampling logic 14 to produce samples of the signals X, Y, Z and the signal T.
(31) In one or more embodiments, in view of processing the second, slowly varying signal T, the logic 14 may implement a reconstruction procedure for reconstructing a value for T from the segments T1, T2, T3.
(32) In one or more embodiments, the reconstruction procedure may be of any known type, from e.g., merely reassembling the segments T1, T2, T3 to obtain T to more sophisticated arrangements including e.g., error correction codes. These reconstruction procedures are known per se, which makes it unnecessary to provide a more detailed description herein.
(33) In one or more embodiments, the logic 14 may include or in any case be coupled to a memory 140.
(34) The output from the logic 14 may represent the desired result of conversion, that is the output signal OS from the ADC converter 10.
(35) The output for the logic 14 is also fed to a digital-to-analog conversion (DAC) 16 to generate the analog threshold value applied to the input 122 of the comparator 12 for comparison with the input signal IS.
(36) The block diagram of
(37) As indicated, an accelerometer with an associated temperature sensor, possibly mounted on board a vehicle, may be exemplary of such a source device SD.
(38) A processor adapted to process the first and second signals X, Y, Z and T once converted to digital, possibly mounted on board a vehicle may be exemplary of such a user device UD.
(39) The flow chart of
(40) There, the block 100 indicates an initial step where all the registers and the DAC stage 16 are reset. The block 102 is exemplary of a step where the signal is sampled to then be compared in a step 104 with a value determined as better detailed in the following. The results of comparison may be stored (e.g., in the memory 140 of
(41) In one or more embodiments storing may be cumulative e.g., with the result of conversion for the first segment T1 stored first, the result of conversion for the second segment T2 added thereto, and so on until the final segment T3 is converted.
(42) To that effect, a check may be made in a step 108 as to whether the result of comparison stored includes the last segment (e.g., T3) of the signal T.
(43) If this is not the case (e.g., the last segment T3 is not being considered yet) the step 108 yields a negative result (no) and in a step 110 the DAC stage 16 is initialized on the basis of the result of conversion of the previous segments, e.g., T1 for the first iteration, T1+T2 for the second iteration, and so on.
(44) Conversely, a positive result (yes) of the step 108 will indicate that the last segment has been processed and the value stored at 106 corresponds to the reconstructed result of the conversions of T1, T2 and T3 whatever the procedure adopted for that purpose. In this situation the process then goes to step 112 and ends.
(45) In one or more embodiments, the segments T1, T2, T3 of the second signal T may thus be converted to digital sequentially from the most significant bits, that is segment T1, towards the least significant bits, that is segment T3.
(46) One or more embodiments may provide for at least one segment (e.g., T1, T1, and T2) being re-converted to analog (e.g., at 16) for generating the comparison threshold at input 122 used for comparing the samples of the second signal T in order to convert to digital at least one further segment (e.g., T2, T3; T3) of the second signal T.
(47) One or more embodiments may provide for cumulatively storing (e.g., at 140) the segments already converted to digital for the second signal T, and re-converting to analog the cumulatively stored reconstructed segments for generating the comparison threshold at input 122.
(48) In one or more embodiments, reconstructing the segments T1, T2, T3 of the second signal T subjected to conversion to digital may include cumulatively storing these segments in a memory such as e.g., 140.
(49) The time diagram of
(50) The upper line in the diagram of
(51) The lines under the upper line of
(52) Specifically, the lines under the upper line of
(53) It will be appreciated that, in one or more embodiments, both the number of segments T1, T2, . . . and the number of bits k, j, . . . involved in each step can be selected as a function of specific application options and requirements.
(54) In one or more embodiments, the segments T1, T2, T3 may thus include either a same number of bits or different numbers of bits (e.g., k, j).
(55) One or more embodiments may offer one or more of the following advantages: one or more ADC stages may be saved in comparison with conventional ADC converters; area and power consumption savings may be achieved with little SAR logic overload.
(56) The embodiments exemplified herein may be applied to a wide range of apparatus types including ADC converter stages, where low frequency signals may be converted along with other signals having a much higher frequency: motion sensors such as accelerometers, gyroscopes, and the like, possibly including environmental (e.g., temperature) sensors are exemplary of such apparatus types.
(57) The adoption of one or more embodiments may be detected e.g., by using specific test signals. A case in point may be using as the slow signal T a relatively fast ramp signal. In that case, by again referring purely by way of example to conversion over three segments T1, T2 and T3, when T3 is converted the bits for the two earlier segments T1 and T2 will be too low for the new segment T3, so that T3 will be only capable of approximating the true value for T, without actually reaching it (since only the least significant portion will be processed at that time), while all the bits in T3 will be set to 1 since the value on input 120 will always be higher than the value on input 122.
(58) Without prejudice to the underlying principles, the details and embodiments may vary, even significantly, with respect to what is illustrated herein purely by way of non-limiting example, without thereby departing from the extent of protection.
(59) The various embodiments described above can be combined to provide further embodiments. All of the U.S. patents, U.S. patent application publications, U.S. patent applications, foreign patents, foreign patent applications and non-patent publications referred to in this specification and/or listed in the Application Data Sheet are incorporated herein by reference, in their entirety. Aspects of the embodiments can be modified, if necessary to employ concepts of the various patents, applications and publications to provide yet further embodiments.
(60) These and other changes can be made to the embodiments in light of the above-detailed description. In general, in the following claims, the terms used should not be construed to limit the claims to the specific embodiments disclosed in the specification and the claims, but should be construed to include all possible embodiments along with the full scope of equivalents to which such claims are entitled. Accordingly, the claims are not limited by the disclosure and the extent of protection is determined by the claims that follow.