This application claims priority to Polish patent application number P 397 957, filed Jan. 31, 2012, and Polish patent application number P 397 959, filed Jan. 31, 2012, the contents of which are incorporated herein by reference.
The subject of this invention is a method and an apparatus for clockless conversion of a time interval to a digital word that that can be applied in monitoring and control systems.
The method for the anachronous conversion of a voltage value to a digital word known from the Polish patent application P-392925 (PCT/PL2011/050021, published as WO 2011/152744) consists in mapping a converted time interval to a portion of electric charge proportional to this time interval. A given portion of charge is delivered by the use of the current source during the converted time interval and is accumulated in the sampling capacitor. Accumulation of electric charge is realized until the end of the time interval is detected. Then, the accumulated electric charge is submitted to the process of redistribution by deploying the charge in the array of capacitors while a capacitance value of each capacitor of a given index is twice as high as a capacitance value of a capacitor of the previous index. During the process of redistribution, the accumulated electric charge is deployed in the capacitors in the array in a way that the obtained voltage equals zero, or equals the reference voltage on each capacitor or on each capacitor with the possible exception of one of capacitors. The course of the process of redistribution is controlled by means of the control module on the basis of output signals of the first and of the second comparator. Electric charge is delivered during the process of its accumulation by the use of the first current source and is transferred between capacitors during the process of its redistribution by the use of the second current source. By means of the control module, the value one is assigned to these bits in the digital word that correspond to capacitors on which voltage equal to the reference voltage value has been obtained and the value zero is assigned to the other bits in the digital word.
In one of variants of this solution, electric charge is accumulated simultaneously in the sampling capacitor and in the capacitor of the highest capacitance value in the array of capacitors which is connected to the sampling capacitor in parallel.
The apparatus for the asynchronous conversion of a time interval to a digital word is also known from the Polish patent application P-392925 (PCT/PL2011/050021). This apparatus comprises the array of capacitors whose control inputs are connected to the set of control outputs of the control module. The control module is equipped with the digital output, the complete conversion signal output, the time interval signal input and two control inputs. The first control input of the control module is connected to the output of the first comparator whose inputs are connected to one pair of outputs of the array of capacitors. The other control input of the control module is connected to the output of the second comparator whose inputs are connected to the other pair of outputs of the array. Furthermore, the voltage supply, the source of auxiliary voltage together with the source of the reference voltage, the sampling capacitor and two controlled current sources whose control inputs are connected to the relevant control outputs of the control module. The array of capacitors comprises on-off switches, change-over switches and the array of capacitors whose number equals the number of bits in the digital word and a capacitance value of a capacitor of a given index is twice as high as a capacitance value of a capacitor of the previous index. The top plate of the sampling capacitor and the top plate of each capacitor in the array of capacitors are connected through the first on-off switch to the first rail and/or through the second on-off switch to the second rail and the bottom plate is connected through a change-over switch to ground of a circuit or to the source of auxiliary voltage. The first rail is connected to ground of the circuit through the first rail on-off switch and to the non-inverting input of the second comparator whose inverting input is connected to the source of the reference voltage. The second rail is connected to the inverting input of the first comparator whose non-inverting input is connected to the source of auxiliary voltage. The control inputs of the first on-off switches and the control inputs of the change-over switches in the array of capacitors are coupled together and connected appropriately to the control outputs of the control module while the control inputs of the second on-off switches and the control input of the first on-off switch are connected appropriately to the control outputs of the control module. The one end of the first current source is connected to the voltage supply and the one end of the second current source is connected to the second rail. The other end of the first current source and the other end of the second current source are connected to the first rail.
In one of variants of the abovementioned apparatus, the sampling capacitor whose capacitance value is not smaller than the capacitance value of the capacitor having the highest capacitance value in the array of capacitors is connected in parallel to the capacitor of the highest capacitance value in the array of capacitors. The conversion of a time interval to the digital word is realized by changing states of signals from the relevant control outputs by means of the control module.
According to the invention, the method for clockless conversion of a time interval to a digital word consists in that the beginning and the end of a time interval are detected by the use of the control module and this time interval is mapped by a portion of electric charge which is proportional to this time interval. Electric charge is delivered during the converted time interval by the use of the current source and accumulated in the sampling capacitor, or in the sampling capacitor and in the capacitor of the highest capacitance value in the array of redistribution. Then, the process of redistribution of the accumulated electric charge is realized in the array of redistribution in a known way by changing states of signals from the relevant control outputs by the use of the control module and the relevant values are assigned to bits in the digital word by means of the control module. The array of redistribution comprises the set of on-off switches, the set of change-over switches and the set of capacitors while a capacitance value of each capacitor of a given index is twice as high as a capacitance value of a capacitor of the previous index.
The essence of the method, according to the invention, consists in that as soon as accumulation of electric charge is terminated in the sampling capacitor, or in the sampling capacitor and in the capacitor of the highest capacitance value in the array of redistribution, which is connected to the sampling capacitor in parallel, and as soon as the beginning of next time interval is detected by means of the control module, electric charge is delivered by the use of the current source and accumulated in an additional sampling capacitor. Next the process of redistribution of electric charge accumulated in the additional sampling capacitor is realized and the relevant values are assigned to bits in the digital word by means of the control module. The accumulation of electric charge in the additional sampling capacitor, the process of redistribution of electric charge accumulated in the additional sampling capacitor and assignment of the relevant values to bits in the digital word by means of the control module are realized as for the sampling capacitor.
In this method, it is possible that as soon as the accumulation of electric charge is terminated in the additional sampling capacitor and as soon as the beginning of the time interval is detected by means of the control module, the next cycle begins and electric charge is delivered by the use of the current source and accumulated again in the additional sampling capacitor, or in the sampling capacitor and in the capacitor of the highest capacitance value in the array of redistribution, which is connected to the sampling capacitor in parallel.
In this method, it is possible that in a period of time when electric charge is delivered by the use of the current source and accumulated in the additional sampling capacitor, a part of delivered electric charge is accumulated simultaneously in the additional capacitor having the highest capacitance value in the array of redistribution which is connected to the additional sampling capacitor in parallel. A capacitance value of the additional capacitor having the highest capacitance value in the array of redistribution equals the capacitance value of the capacitor having the highest capacitance value in the array of redistribution.
In this method, it is also possible that as soon as the process of redistribution is terminated, the portion of electric charge, accumulated in the last of capacitors on which reference voltage had not been reached when the process of redistribution was realized, is conserved. This portion of electric charge is taken into account when the next process of redistribution is realized.
The apparatus, according to the invention, comprises the array of redistribution whose control inputs are connected to control outputs of the control module. The control module is equipped with the digital output, the complete conversion signal output, the trigger input, the first control input which is connected to the output of the first comparator and the other control input which is connected to the output of the second comparator. The source of auxiliary voltage, the section of the sampling capacitor and the second controlled current source are connected to the array of redistribution and the control input of the second controlled current source is connected to the output controlling the second current source. The one end of the second current source is connected to the source rail and the other end of the second current source is connected to the destination rail. The voltage supply is connected to the one end of the first current source whose control input is connected to the output controlling the first current source. The array of redistribution comprises the sections whose number equals the number of bits in the digital word. The section of the sampling capacitor and each section of the array of redistribution comprises the source on-off switch, the destination on-off switch, the ground change-over switch and at least one capacitor. The top plate of the sampling capacitor and the top plate of each capacitor in the array of redistribution is connected through the source on-off switch to the source rail and/or to the destination rail through the destination on-off switch and the bottom plate is connected through the ground change-over switch to ground of the circuit or to the source of auxiliary voltage. In the array of redistribution, a capacitance value of each capacitor of a given index is twice as high as a capacitance value of a capacitor of the previous index. The destination rail is connected through the destination rail on-off switch to ground of the circuit and is also connected to the non-inverting input of the second comparator whose inverting input is connected to the source of the reference voltage. The source rail is connected to the inverting input of the first comparator whose non-inverting input is connected to the source of auxiliary voltage. The control inputs of the source on-off switches and the control input of the destination rail on-off switch are connected appropriately to control outputs of the control module. The control inputs of destination on-off switches and the control inputs of the ground change-over switches are coupled together and connected appropriately to the control outputs of the control module.
A significant innovation of the apparatus is that the other end of the first current source is connected to the section of the sampling capacitor comprising the additional sampling capacitor, the top plate change-over switches and the bottom plate change-over switches. The top plate of the sampling capacitor and the top plate of the additional sampling capacitor are connected to the source on-off switch and to the destination on-off switch or to the other end of the first current source through the top plate change-over switches. The bottom plate of the sampling capacitor and the bottom plate of the additional sampling capacitor are connected to the ground change-over switch or to ground of the circuit though the bottom plate change-over switches. The control inputs of the top plate change-over switches and the control inputs of the bottom plate change-over switches are coupled together and connected to the output controlling change-over switches of the plates.
It is advantageous if at least one section of the array of redistribution comprises the additional capacitor and the top plate change-over switches and the bottom plate change-over switches. The top plate of the capacitor and the top plates of the additional capacitor of such section are connected to the source on-off switch and to the destination on-off switch or to the other end of the first current source through the top plate change-over switches. The bottom plate of the capacitor and the bottom plate of the additional capacitor of such section are connected to the ground change-over switch or to ground of the circuit through the bottom plate change-over switches. The control inputs of the change-over top plate switches and the control inputs of bottom plate change-over switches are coupled together and connected to the output controlling change-over switches of the plates.
It is advantageous if the capacitance values of the sampling capacitor and of the additional sampling capacitor are not smaller than the capacitance value of the capacitor having the highest capacitance value in the array of redistribution.
It is also advantageous if the capacitance value of the additional capacitor in the array of redistribution equals appropriately the capacitance value of the capacitor in the array of redistribution.
Due to the accumulation of a portion of charge representing the next converted time interval in the additional sampling capacitor, it is possible to realize a conversion of two successive time intervals without a need to introduce a break to realize the process of redistribution of a portion of charge representing the previous time interval and to realize the relaxation phase. The accumulation of a portion of electric charge representing the next converted time interval in the additional sampling capacitor is realized simultaneously to the process of redistribution of the portion of charge representing the previous time interval and accumulated previously in the sampling capacitor.
In this way, the results of each conversion are presented with minimal delay equal to the time of realization of the process of charge redistribution. Moreover, the realization of actions related to the conversions of both time intervals by the same control module, by the array of redistribution, by the set of comparators and by the set the current sources contributes to a reduction of amount of energy consumed per single conversion by the apparatus and in this way increases energy efficiency of its operation. A start of a new conversion cycle after the detection of the end of the actual time interval enables the conversion of two successive time intervals by means of a single apparatus.
A use of a parallel connection of the additional capacitor having the highest capacitance value in the array of redistribution to the additional sampling capacitor allows the required capacitance value of the sampling capacitor to be reduced twice and enables a significant reduction of area occupied by a converter produced in a form of the monolithic integrated circuit. Due to a parallel connection of the additional sampling capacitor to the additional capacitor having the highest capacitance value in the array of redistribution, the maximum voltage value created on the additional sampling capacitor having the reduced capacitance value is not increased. Furthermore the time of realization of redistribution of charge, accumulated in the additional sampling capacitor and in the additional capacitor having the highest capacitance value in the array of redistribution connected to the additional sampling capacitor in parallel, is smaller at least by 25%.
Conserving in the apparatus a small portion of charge which has not been taken into consideration in the value of a digital word is also an advantage. The inclusion of the abovementioned portion of charge during the process of redistribution of the subsequent accumulated charge portion together with elimination of the need to introduce breaks between consecutive conversions causes that the sum of digital words representing a sequence of converted time intervals with the resolution defined by the quantization error.
The subject of the invention is explained in the exemplary realizations by means of figures where the apparatus is shown at different phases of conversion process represented by different states of on-off switches and change-over switches:
According to the invention, the method for clockless conversion of a time interval to a digital word consists in that the beginning and the end of the time interval Tx are detected by the use of the control module CM and this time interval is mapped by a portion of electric charge which is proportional to that converted time interval. Electric charge is delivered by the use of the first current source I during the time interval Tx and accumulated in the sampling capacitor Cn. Then, the process of redistribution of the accumulated charge is realized in the array of redistribution A by means of the control module CM by changing the states of the signals from the relevant control outputs and the relevant values are assigned to the bits bn−1, bn−2, . . . , b1, b0 in digital word by means of the control module CM. The array of redistribution A comprises the set of on-off switches, the set of change-over switches and the set of capacitors while a capacitance value of a capacitor of a given index is twice as high as a capacitance value of a capacitor of the previous index.
As soon as accumulation of charge in the sampling capacitor Cn is terminated and when the beginning of next time interval Tx+1 is detected by means of the control module CM, the charge is delivered by the use of the first current source I and accumulated in the additional sampling capacitor CnA. Next, the process of redistribution of charge accumulated in the additional sampling capacitor CnA is realized and the relevant values are assigned to the bits bn−1, bn−2, . . . , b1, b0 in the digital word by means of the control module CM. The accumulation of charge in the additional sampling capacitor CnA, the process of redistribution of charge accumulated in the additional sampling capacitor CnA and the assignment of relevant values to the bits bn−1, bn−2, . . . , b1, b0 in the digital word are realized in the same way as for the sampling capacitor Cn.
The another exemplary solution is characterized in that as soon as accumulation of electric charge in the additional sampling capacitor CnA is terminated and when the beginning of the subsequent time interval Tx+2 is detected by means of the control module CM, the next cycle begins and the charge is delivered by the use of the first current source I and accumulated in the sampling capacitor Cn again.
The another exemplary solution is characterized in that during the next time interval Tx+1 when the charge is delivered by the use of the first current source I and accumulated in the additional sampling capacitor CnA, a part of delivered charge is accumulated simultaneously in the additional capacitor Cn−1A having the highest capacitance value in the array of redistribution which is connected to the additional sampling capacitor CnA in parallel. The capacitance value of the additional capacitor Cn−1A having the highest capacitance value in the array of redistribution is equal to the capacitance value of the capacitor Cn−1 having the highest capacitance value in the array of redistribution.
The another exemplary solution is characterized in that as soon as the process of redistribution is terminated in the last of capacitors on which reference voltage UL had not been reached when the process of redistribution is realized, the charge accumulated in the last of capacitors is conserved.
In detail, the abovementioned process of redistribution in the exemplary solution is presented as follows.
As soon as accumulation of electric charge in the sampling capacitor Cn is terminated, the function of the source capacitor Ci, whose index is defined by the content of the source index register, is assigned by means of the control module CM to the sampling capacitor Cn by writing the value of the index of the sampling capacitor Cn to this register. Simultaneously, the function of the destination capacitor Ck, whose index is defined by the content of the destination index register, is assigned by means of the control module CM to the capacitor Cn−1 having the highest capacitance value in the array of redistribution by writing the value of the index of the capacitor Cn−1 to this register. Then, the process of redistribution of the accumulated charge is realized by transfer of the charge from the source capacitor Ci to the destination capacitor Ck by the use of the second current source J having the effectiveness twice as high as the effectiveness of the first current source I.
At the same time, the voltage Uk increasing on the destination capacitor Ck is compared to the reference voltage UL by the use of the second comparator K2, and also the voltage Ui on the source capacitor Ci is observed by the use of the first comparator K1.
When the voltage Ui on the source capacitor Ci observed by the use of the first comparator K1 equals zero during the charge transfer, the function of the source capacitor Ci is assigned to the current destination capacitor Ck by means of the control module CM on the basis of the output signal of the first comparator K1 by writing the current content of the destination index register to the source index register, and the function of the destination capacitor Ck is assigned to the subsequent capacitor in the array of redistribution A whose capacitance value is twice lower than the capacitance value of the capacitor that acted as the destination capacitor directly before by reducing the content of the destination index register by one, and the charge transfer from a new source capacitor Ci to a new destination capacitor Ck is continued by the use of the second current source J.
When the voltage Uk on the destination capacitor Ck observed by the use of the second comparator K2 equals the reference voltage UL during the transfer of charge from the source capacitor Ci to the destination capacitor Ck, the function of the destination capacitor Ck is assigned by means of the control module CM on the basis of the output signal of the second comparator K2 to the subsequent capacitor in the array of redistribution A whose capacitance value is twice lower than the capacitance value of the capacitor that acted as the destination capacitor directly before by reducing the content of the destination index register by one, and also the charge transfer from the source capacitor Ci to a new destination capacitor Ck is continued.
The process of redistribution is still controlled by means of the control module CM on the basis of the output signals of both comparators (K1 and K2) until the voltage Ui on the source capacitor Ci observed by the use of the first comparator K1 equals zero during the period of time when the function of the destination capacitor Ck is assigned to the capacitor C0 having the lowest capacitance value in the array of redistribution, or the voltage U0 increasing on the capacitor C0 having the lowest capacitance value in the array of redistribution and observed at the same time by the use of the second comparator K2 equals the reference voltage UL. The value one is assigned to the bits in the digital word corresponding to the capacitors in the array of redistribution on which the voltage equal to the reference voltage value UL has been obtained, and the value zero is assigned to the other bits by means of the control module CM.
According to the invention, the apparatus for clockless conversion of the time interval to the digital word comprises the array of redistribution A whose control inputs are connected to control outputs of the control module CM. The control module CM is equipped with the digital output B, the complete conversion output OutR, the time interval signal input InT, the first control input In1 connected to the output of the first comparator K1 and the other control input In2 connected to the output of the second comparator K2. The source of auxiliary voltage UH, the section of the sampling capacitor An and the second controlled current source J having the effectiveness twice as high as the effectiveness of the first current source I are connected to the array of redistribution A. The control input of the second current source J is connected to the output controlling the current source Aj. The one end of the second current source J is connected to the source rail H and the other end of the second current source J is connected to the destination rail L. The voltage supply UDD is connected to the one end of the first current source I whose control input is connected to the output controlling the first current source AI.
The array of redistribution comprises the sections whose number n equals the number of bits in the digital word. The section of the sampling capacitor An and the sections of the array of redistribution A comprise the source on-off switches SHn; SHn−1, SHn−2, . . . , SH1, SH0, the destination on-off switches SLn; SLn−1, SLn−2, . . . , SL1, SL0, the ground change-over switches SGn; SGn−1, SGn−2, . . . , SG1, SG0 and the capacitors Cn; Cn−1, Cn−2, . . . , C1, C0. The top plates of the capacitors Cn−1, Cn−2, . . . , C1, C0 of the array of redistribution are connected to the source rail H through the source on-off switches SHn−1, SHn−2, . . . , SH1, SH0 and to the destination rail L through the destination on-off switches, SLn−1, SLn−2, . . . , SL1, SL0. The bottom plates of these capacitors are connected to ground of the circuit and to the source of auxiliary voltage UH through the ground change-over switches SGn−1, SGn−2, . . . , SG1, SG0. In the array of redistribution A, a capacitance value of each capacitor Cn−1, Cn−2, . . . , C1, C0 of a given index is twice as high as a capacitance value of a capacitor of the previous index. The capacitance value of the sampling capacitor Cn is twice as high as the capacitance value of the capacitor Cn−1 having the highest capacitance value in the array of redistribution. The relevant bit bn−1, bn−2, . . . , b1, b0 in the digital word is assigned to each capacitor Cn−1, Cn−2, . . . , C1, C0 in the array of redistribution. The destination rail L is connected through the destination rail on-off switch SGall to ground of the circuit and is also connected to the non-inverting input of the second comparator K2 whose inverting input is connected to the source of the reference voltage UL. The source rail H is connected to the inverting input of the first comparator K1 whose non-inverting input is connected to the source of auxiliary voltage UH. The control inputs of the source on-off switches SHn; SHn−1, SHn−2, . . . , SH1, SH0 and the control inputs of the destination rail on-off switch SGall are connected appropriately to the control outputs Dn; Dn−1, Dn−2, . . . , D1, D0; Dall. The control inputs of the destination on-off switches SLn; SLn−1, SLn−2, . . . , SL1, SL0 and the control inputs of the ground change-over switches SGn; SGn−1, SGn−2, . . . , SG1, SG0 are coupled together and connected appropriately to the control outputs In; In−1, In−2, . . . , I1, I0.
The other end of the first current source I is connected to the section of the sampling capacitor An comprising the additional sampling capacitor CnA, the top plate change-over switches STn, STnA and the bottom plate change-over switches SBn, SBnA. The capacitance value of the additional sampling capacitor CnA is equal to the capacitance value of the sampling capacitor Cn. The top plate of the sampling capacitor Cn and the top plate of the additional sampling capacitor CnA are connected to the source on-off switch SHn, to the destination on-off switch SLn and to the other end of the first current source I through the top plate change-over switches STn, STnA. The bottom plates of the sampling capacitor Cn and the bottom plates of the additional sampling capacitor CnA are connected to the ground change-over switch SGn and to ground of the circuit through the bottom plate change-over switches SBn, SBnA. The control inputs of the top plate change-over switches STn, STnA and the control inputs of the bottom plate change-over switches SBn, SBnA are coupled together and connected to the output controlling the change-over switches of the plates AC. The source on-off switch SHn is connected to the source rail H, the destination on-off switch SLn is connected to the destination rail L and the ground change-over switch SGn is connected to ground of the circuit and to the source of auxiliary voltage UH.
In the another exemplary solution, the section of the capacitor Cn−1 having the highest capacitance value in the array of redistribution comprises the additional capacitor Cn−1A having the highest capacitance value in the array of redistribution, the top plate change-over switches STn−1, STn−1A and the bottom plate change-over switches SBn−1, SBn−1A. The capacitance value of the additional capacitor Cn−1A having the highest capacitance value in the array of redistribution is equal to the capacitance value of the capacitor Cn−1 having the highest capacitance value in the array of redistribution. The top plates of the capacitor Cn−1 having the highest capacitance value in the array of redistribution and the top plates of the additional capacitor Cn−1A having the highest capacitance value in the array of redistribution are connected to the source on-off switch SHn−1, to the destination on-off switch SLn−1 and to the other end of the first current source I through the top plate change-over switches STn−1, STn−1A. The bottom plates of the capacitor Cn−1 having the highest capacitance value in the array of redistribution and the top plates of the additional capacitor Cn−1A having the highest capacitance value in the array of redistribution are connected to the ground change-over switch SGn−1 and to ground of the circuit through the bottom plate change-over switches SBn−1 SBn−1A. The control inputs of the top plate change-over switches STn−1, STn−1A and the control inputs of the bottom plate change-over switches SBn−1, SBn−1A are coupled together and connected to the output controlling the change-over switches of the plates AC.
The method for conversion of a time interval to the digital word, according to the invention, is presented in the first exemplary apparatus as follows. Before the first process of conversion of a time interval to the digital word having the number of bits equal to n, the control module CM introduces the complete conversion output OutR to the inactive state. The control module CM by the use of the signal from the output controlling the first current source AI causes the switching off the first current source I and by the use of the signal from the output controlling the second current source AJ causes the switching off the second current source J. By the use of the signal from the output controlling the change-over switches of the plates AC, the control module CM causes the switching of the top plate change-over switches STn, STnA and of the bottom plate change-over switches SBn, SBnA and the connection of the top plate of the sampling capacitor Cn to the source on-off switch SHn and to the destination on-off switch SLn, the connection of the top plate of the additional sampling capacitor CnA to the other end of the first current source I, the connection of the bottom plate of the sampling capacitor Cn to the ground change-over switch SGn and the connection of the bottom plate of the additional sampling capacitor CnA to ground of the circuit. Next, the control module CM introduces the apparatus into the relaxation state shown in
As soon as the beginning of the time interval Tx is detected on the time interval signal input InT by the module CM, the apparatus is introduced into the state shown in
As soon as the end of the time interval Tx is detected by the control module CM on the time interval signal input InT, the control module CM introduces the apparatus into the state shown in
If the end of the time interval Tx detected by the control module CM does not constitute the beginning of the next time interval Tx+1 as it is shown in
As soon as the beginning of the next time interval Tx+1 is detected by the control module CM on the time interval signal input InT, the control module CM by the use of the signal from the output controlling the first current source AI causes again the switching on the first current source I. The charge is delivered by the use of the first current source I and accumulated in the additional sampling capacitor CnA which as the only capacitor is then connected to the other end of the first current source I through the top plate change-over switch STnA.
If the end of the time interval Tx detected by the control module CM determines simultaneously the beginning of the next time interval Tx+1 as it is shown in
In both cases, the control module CM introduces the complete conversion output OutR into the inactive state and assigns the initial value zero to all the bits bn−1, bn−2, . . . , b1, b0 in the digital word. Then, the control module CM assigns the function of the source capacitor Ci to the sampling capacitor Cn by writing the value of the index of the sampling capacitor to the source index register. Simultaneously, the control module CM assigns the function of the destination capacitor Ck to the capacitor Cn−1 having the highest capacitance value in the array of redistribution by writing the value of the index of the capacitor having the highest capacitance value in the array of redistribution to the destination index register. Next, the control module CM starts to realize the process of redistribution of the accumulated electric charge. Therefore, the control module CM by the use of the signal from the output controlling the second current source A, causes the switching on the second current source J. The charge accumulated in the source capacitor Ci is transferred to the destination capacitor Ck by the use of the second current source J though the source rail H and though the destination rail L and the voltage Ui on the source capacitor gradually decreases and at the same time the voltage Uk on the destination capacitor gradually increases during the charge transfer.
In case when the voltage Uk on the current destination capacitor Ck reaches the reference voltage UL value, then the value one is assigned by the control module CM to the appropriate bit bk in the digital word on the basis of the output signal of the second comparator K2. By the use of the signal from the control output Ik, the control module CM causes the opening of the destination on-off switch SLk and the disconnection of the top plate of the destination capacitor Ck from the destination rail L, the simultaneous switching of the ground change-over switch SGk and the connection of the bottom plate of the destination capacitor Ck to the source of auxiliary voltage UH. Next, the control module CM assigns the function of the destination capacitor Ck to the subsequent capacitor in the array of redistribution A whose capacitance value is twice lower than the capacitance value of the capacitor that acted as the destination comparator Ck directly before by reducing the content of the destination index register by one. By the use of the signal from the control output Ik, the control module CM causes the closure of the destination on-off switch SLk and the connection of the top plate of a new destination capacitor Ck to the destination rail L, the simultaneous switching of the ground change-over switch SGk and the connection of the bottom plate of the destination capacitor Ck to ground of the circuit. In case when the voltage Ui on the source capacitor reaches the value zero during charge transfer, then the control module CM on the basis of the output signal of the first comparator K1 by the use of the signal from the control output Di causes the opening of the source on-off switch SHi and the disconnection of the top plate of the source capacitor Ci from the source rail H. By the use of the signal from the control output Ik, the control module CM causes the opening of the destination on-off switch SLk and the disconnection of the top plate of the destination capacitor Ck from the destination rail L, the simultaneous switching of the ground change-over switch SGk and the connection of the bottom plate of the destination capacitor Ck to the source of auxiliary voltage UH. Next, the function of the source capacitor Ci is assigned by the control module CM to the capacitor that acted as the destination capacitor Ck directly before by writing the current content of the destination index register to the source index register. The control module CM by the use of the signal from the control output Di causes the closure of the source on-off switch SHi and the connection of the top plate of a new source capacitor Ci to the source rail H. Then, the control module CM reduces the content of the destination index register by one and assigns the function of the destination capacitor Ck to the next capacitor in the array of redistribution A having a capacitance value twice lower than the capacitance value of the capacitor that acted as the destination capacitor Ck directly before. By the use of the signal from the control output Ik, the control module CM causes the closure of the destination on-off switch SLk and the connection of the top plate of a new destination capacitor Ck to the destination rail L, the simultaneous switching of the ground change-over switch SGk and the connection of the bottom plate of a new destination capacitor Ck to ground of the circuit.
In both abovementioned cases, the control module CM continues the process of electric charge redistribution on the basis of the output signals of the first comparator K1 and of the second comparator K2. Each occurrence of the active state on the output of the second comparator K2 causes the assignment of the function of the destination capacitor Ck to the subsequent capacitor in the array of redistribution A whose capacitance value is twice as lower as the capacitance value of the capacitor which acted as the destination capacitor Ck directly before. On the other hand, each occurrence of the active state on the output of first comparator K1 causes the assignment of the function of the source capacitor Ci to the capacitor in the array of redistribution A that until now has acted as the destination capacitor Ck, and at the same time the assignment of the function of the destination capacitor Ck to the subsequent capacitor in the array A whose capacitance value is twice as lower as the capacitance value of the capacitor which acted as the destination capacitor directly before. The process of redistribution is terminated when the capacitor C0 having the lowest capacitance value in the array of redistribution A stops to act as the destination capacitor Ck. Such situation occurs when the active state appears on the output of the first comparator K1 or on the output of the second comparator K2 during charge transfer to the capacitor C0 having the lowest capacitance value in the array of redistribution A. When the active state appears on the output of the second comparator K2, the control module CM assigns the value one to the bit b0. After termination of redistribution of charge accumulated previously in the sampling capacitor Cn and after assigning the corresponding values to the bits bn−1, bn−2, . . . , b1, b0 in the output digital word, the control module CM activates the signal provided on the complete conversion signal output OutR. By the use of the signal from the output controlling the second current source AJ, the control module CM causes the switching off the second current source J. Next, the control module CM introduces the apparatus into the relaxation phase shown in
After detecting the end of the next time interval Tx+1 by the control module CM on the time interval signal input InT, the control module CM introduces the apparatus into the state shown in
In case when the end of the time interval Tx+1 detected by the control module CM does not constitute simultaneously the beginning of the subsequent time interval Tx+2 as it is shown in
In case when the end of the next time interval Tx+1 detected by the control module CM constitutes simultaneously the beginning of the subsequent trigger signal Tx+2 as it is shown in
In both cases, the control module CM deactivates the signal provided on the complete conversion signal output OutR and assigns the initial value zero to all the bits bn−1, bn−2, . . . , b1, b0 in the digital word. Then, the control module CM assigns the function of the source capacitor Ci to the additional sampling capacitor CnA by writing the value of the sampling capacitor Cn index to the source index register. Simultaneously, the control module CM assigns the function of the destination capacitor Ck to the capacitor Cn−1 having the highest capacitance value in the array of redistribution by writing a value of the index of the capacitor Cn−1 having the highest capacitance value in the array of redistribution to the destination index register. Next, the control module CM by the use of the signal from the output controlling the second current source AJ causes the switching on the second current source J and starts to realize the process of redistribution of charge accumulated in the additional sampling capacitor CnA. The process of redistribution is terminated when the capacitor C0 having the lowest capacitance value in the array of redistribution A stops to act as the destination capacitor Ck.
After termination of redistribution of charge accumulated previously in the additional sampling capacitor CnA and after assigning the corresponding values to the bits bn−1, bn−2, . . . , b1, b0 in the digital word, the control module CM activates the complete conversion signal output OutR. By the use of the signal from the output controlling the second current source AJ, the control module CM causes the switching off the current source J. Next, the control module CM introduces the apparatus into the relaxation phase shown in
The method for conversion of a time interval to the digital word, according to the invention, is presented in the second exemplary apparatus as follows.
Before the start of the first process of conversion of a time interval to the digital word having the number of bits equal to n, the control module CM by the use of the signal from the output controlling the change-over switches of plates AC causes additionally the switching of top plate change-over switches STn−1, STn−1A and switching of the bottom plate change-over switches SBn−1, SBn−1A and the connection of the top plate of the capacitor Cn−1 having the highest capacitance value in the array of redistribution to the source on-off switch SHn−1 and to the destination on-off switch SLn−1, the connection of the top plate of the additional capacitor Cn−1A having the highest capacitance value in the array of redistribution to the other end of the first current source I, the connection of the bottom plate of the capacitor Cn−1 having the highest capacitance value in the array of redistribution to the ground change-over switch SGn−1 and the connection of the bottom plate of the additional capacitor Cn−1A having the highest capacitance value in the array of redistribution to ground of the circuit.
As soon as the beginning of the time interval Tx is detected by the control module CM on the time interval signal input InT, the control module CM by the use of the signal from the output controlling the change-over switches of the plates AC causes additionally the switching of the top plate change-over switches STn−1, STn−1A and switching of the bottom plate change-over switches SB−1n, SBn−1A and the connection of the top plate of the sampling capacitor Cn−1 having the highest capacitance value in the array of redistribution to the other end of the first current source I, the connection of the top plate of the additional capacitor Cn−1A having the highest capacitance value in the array of redistribution to the source on-off switch SHn−1 and to the destination on-off switch SLn−1, the connection of the bottom plate of the sampling capacitor Cn−1 having the highest capacitance value in the array of redistribution to ground of the circuit and the connection of the bottom plate of the additional capacitor Cn−1A having the highest capacitance value in the array of redistribution to the ground change-over switch SGn−1 enforcing a complete discharge of the additional capacitor Cn−1A having the highest capacitance value in the array of redistribution. Electric charge delivered by the use of the first current source I is accumulated simultaneously in the sampling capacitor Cn and in the capacitor Cn−1 having the highest capacitance value in the array of redistribution which is connected to the sampling capacitor Cn in parallel. Both capacitors (Cn and Cn−1) are the only capacitors that are connected to the other end of the first current source I through the top plate change-over switches STn, STn−1.
After detecting the end of the time interval Tx by the control module CM on the time interval signal input InT, the control module CM by the use of the signal from the output controlling the change-over switches of plates AC causes additionally switching of the top plate change-over switches STn−1, STn−1A and switching of the bottom plate change-over switches SBn−1, SBn−1A and the connection of the top plate of the capacitor Cn−1 having the highest capacitance value in the array of redistribution to the source on-off switch SHn−1 and to the destination on-off switch SLn−1, the connection of the top plate of the additional capacitor Cn−1A having the highest capacitance value in the array of redistribution to the other end of the first current source I, the connection of the bottom plate of the capacitor Cn−1 having the highest capacitance value in the array of redistribution to the ground change-over switch SGn and the connection of the bottom plate of the additional capacitor Cn−1A having the highest capacitance value in the array of redistribution to ground of the circuit.
As soon as the beginning of the next time interval Tx+1 is detected by the control module CM on the time interval signal input InT, the electric charge delivered by the use of the first current source I is accumulated simultaneously in the additional sampling capacitor CnA and in the additional capacitor Cn−1A having the highest capacitance value in the array of redistribution which is connected to the additional sampling capacitor CnA in parallel. Both capacitors (CnA and Cn−1A) are the only capacitors that are connected to the other end of the first current source I through the top plate change-over switches STnA, STn−1A.
After detecting the end of the next time interval Tx+1 by the control module CM on the time interval signal input InT, the control module CM by the use of the signal from the output controlling the change-over switches of the plates AC causes the switching of the top plate change-over switches STn−1, STn−1A and switching of the bottom plate change-over switches SBn−1, SBn−1A and the connection of the top plate of the capacitor Cn−1 having the highest capacitance value in the array of redistribution to the other end of the first current source I, the connection of the top plate of the additional capacitor Cn−1A having the highest capacitance value in the array of redistribution to the source on-off switch SHn−1 and to the destination on-off switch SLn−1, the connection of the bottom plate of the capacitor Cn−1 having the highest capacitance value in the array of redistribution to ground of the circuit and the connection of the bottom plate of the additional capacitor Cn−1A to the ground change-over switch SGn−1.
Another method for conversion of a time interval to the digital word, according to the invention, realized in the exemplary apparatus differs from the previous methods in that as soon as the process of accumulated electric charge redistribution is terminated, the control module CM causes the electric charge, accumulated in the last of capacitors on which the reference voltage UL had not been reached during realization of the process of redistribution, to be conserved.
If the control module CM assigns the value zero to the bit b0 during the realization of the process of charge redistribution, the control module CM introducing the apparatus into the relaxation state by the use of the signal from the control output I0 causes the opening of the destination on-off switch SL0 and the disconnection of the top plate of the capacitor C0 having the lowest capacitance value in the array of redistribution from the destination rail L, the switching of the ground change-over switch SG0 and the connection of the bottom plate of the capacitor C0 having the lowest capacitance value in the array of redistribution to the source of auxiliary voltage UH.
If the control module CM assigns the value one to the bit b0 during the realization of the process of redistribution, the control module CM introducing the apparatus into relaxation state by the use of the signal from the control output Ii causes the opening of the destination on-off switch SLi and the disconnection of the top plate of the source capacitor Ci from the destination rail L, the switching of the ground change-over switch SGi and the connection of the bottom plate of the source capacitor Ci to the source of auxiliary voltage UH.
Number | Date | Country | Kind |
---|---|---|---|
397957 | Jan 2012 | PL | national |
397959 | Jan 2012 | PL | national |
Number | Name | Date | Kind |
---|---|---|---|
4831381 | Hester | May 1989 | A |
5012247 | Dillman | Apr 1991 | A |
7528761 | Draxelmayr | May 2009 | B2 |
7903018 | Schatzberger et al. | Mar 2011 | B2 |
7944379 | Ohnhaeuser et al. | May 2011 | B2 |
20090115507 | Cho | May 2009 | A1 |
Number | Date | Country | |
---|---|---|---|
20130207826 A1 | Aug 2013 | US |