Floating point IDAC
Circuits and methods to convert a digital floating-point number into an analog current have been achieved. The conversion is performed directly by using an exponential current digital-to-analog converter (DAC) and a cascaded linear current digital-to-analog converter (DAC). The exponential current DAC is converting exponentially the exponent of the floating-point number, its output current is biasing the linear DAC, which is converting the mantissa of the floating-point number. The output current of the linear current DAC is correlates linearly with the value of the floating-point number. This technique is commutative, this means the sequence of the linear and the exponential converter can be interchanged. In this case the linear converter provides a biasing current to the exponential converter. The sign bit can be considered by converting the direction of the output current of the converter. This floating-point number conversion can handle a very high dynamic range and requires a minimum of chip space.
Latest Dialog Semiconductor GmbH Patents:
This invention relates generally to digital-to-analog converters, and more particularly to a current digital-to-analog converter converting digital floating-point numbers directly into an analog signal.
(2) DESCRIPTION OF THE PRIOR ARTIn conventional algebraic form a floating-point number is represented by:
F=±M×BE,
wherein F represents the absolute magnitude of the floating point number, M represents the mantissa portion of the number, B represents the base of the number system (B=10 in the decimal system), and E represents the exponent.
There are different floating-point storage formats known. One of the most common formats is the INTEL Short Real format, also called single precision format, which has being standardized by the IEEE organization. As example, the short real format, having 32 bits, is shown in
The sign of a binary floating-point number is represented by a single bit. A “1” indicates a negative number, and a “0” indicates a positive number.
An example is used to describe the representation of a mantissa. Using −3.75×104 as an example, the sign is negative therefore the sign bit is ON. The mantissa in this example is 3.75 and the exponent is 4. The fractional portion of the mantissa is the sum of each digit multiplied with the power of 10:
In regard to a binary floating-point representation of the example of the mantissa 3.75, the fractional portion of the mantissa is the sum of successive powers of 2.
Combined with the left-hand side of the mantissa the binary floating number looks now 11.11, which is in decimal terms 3.75.
In IEEE Short Real format the exponents are stored as 8-bit unsigned integers with a bias of 127. The exponent is added to 127 and the sum is represented binary. Using the example shown above the exponent is 4. Added to 127 results in 131 and is represented by the string of 10000011.
Another common format for digital floating point numbers is the IEEE Long Real format, also called double precision, having 64 bits: 1 bit for the sign, 11 bits for the exponent and 52 bits for the mantissa.
Before storing a binary floating-point number its mantissa has to be normalized. The normalization is performed in a way that only one digit appears before the decimal. The exponent expresses the number of positions the decimal point was moved left.
It is a challenge for the designers of such solution to find less expensive converters to convert digital floating-point numbers into analog signals.
There are patents known describing the conversion of floating point numbers it analog signals.
U.S. Pat. No. 4,393,369 to Davies describes the digitizing of analog signals over a wide dynamic range for a floating-point decimal conversion. The widely fluctuating input analog voltages are converted to currents to prevent saturation of circuit elements and are, first, compared with a derived reference signal to produce positive voltages or negative voltages if the input signal exceeds or is less than the derived reference current. The positive and negative voltages are fed to a combined floating point processing unit and microprocessor, which generates two groups of digital signals. The first group is representative of m mantissa increments and the second group of n signals is indicative of the order of magnitude of the mantissa components. A mantissa digital-to-analog current generator and an order of magnitude digital-to-analog current generator are coupled in series with respect to each other to provide the derived reference current, which is to be compared with the next sample of the input analog signal. Since the derived reference current is derived in the immediately preceding sample period, the newly sampled analog signal is compared as being greater or lesser with a still newer input sample. The first group of digital signals indicative of the mantissa increments and the second group of digital signals indicative of the order of magnitude are fed onto following circuitry to allow for example, a visual readout or further processing. The floating-point analog-to-digital conversion has the great advantage over linear, analog arithmetic conversion by being able to handle large dynamic ranges of analog input signals.
U.S. Pat. No. 4,278,964 to Vanderford discloses a methodology and apparatus for converting wide dynamic amplitude range digital data recorded in floating point digital word form, comprising a binary coded mantissa and a binary coded exponent, to an analog signal, or oscillogram, of selectively compressed and/or amplified dynamic amplitude range. The digital word, occupying a number of binary bit positions, is, in algebraic form, .+−.AG.sup.E; where A represents the mantissa, or argument, G represents the base, or radix, of the number system used and E represents the exponent. Since the base G is constant, for example at 8, the only binary bits that need to be recorded are those representing the mantissa A and the exponent E. In reconverting the digital data to analog form for making an oscillogram, or wiggle trace, it is desired to selectively amplify and/or compress the dynamic range and, yet, at the same time avoid introducing serious distortion. The methodology employed to accomplish such reconversion is to change either, or both, the mantissa A and base, or radix, G in such a way that the dynamic range is compressed and, yet, any distortion thereby introduced is minimal. Apparatus for performing the aforesaid changes, among other things, is disclosed.
U.S. Pat. No. 4,240,070 to Helbig et al. teaches an apparatus and method providing for an improvement to a system which converts wide amplitude range digital data recorded in floating point digital word form to analog signals within a limited amplitude range. The apparatus and method provides for the situation wherein the digital data can represent an analog signal for which on a general decrease in amplitude increases may be superimposed. The apparatus includes a digital/analog converter whose reference voltage is individually determined for each sample. This reference voltage is taken from a saw tooth oscillator at an instant of time determined by a delay timer, which responds to changes, with respect to a desired average amplitude, of the actual amplitude of the converted data.
SUMMARY OF THE INVENTIONA principal object of the present invention is to achieve a method to convert directly a digital floating-point number to an analog current.
Another principal object of the present invention is to achieve a circuit to convert a digital floating-point number directly to an analog current having a high dynamic range and requiring a minimum of chip space.
In accordance with the objects of this invention a method to convert a digital floating-point number directly into an analog signal has been achieved. The method invented comprises, first, to provide a linear current digital-to-analog converter cascaded with an exponential current digital-to-analog converter. The next steps of the method invented are to split a floating-point number into its mantissa and exponent, to convert said exponent to a current representing an analog signal of the exponent using said exponential current digital-to-analog converter, and to convert said digital floating point number into an analog current by converting said mantissa by said linear current digital-to-analog converter using the output current of the previous step as biasing reference current. Additionally, if required, the sign bit of the floating-point number can define the direction of the output current via a current direction switch block.
In accordance with the objects of the invention an alternative method to convert a digital floating point number directly into an analog signal has been achieved. This method invented comprises, first, to provide an exponential current digital-to-analog converter cascaded with a linear current digital-to-analog converter. The following steps of this method are to split a floating-point number into its mantissa and exponent, to convert said mantissa to a current representing an analog signal of the mantissa using said linear current digital-to-analog converter, and convert said digital floating point number into an analog current by converting said exponent by said exponential current digital-to-analog converter using the output current of the previous step as biasing reference current.
In accordance with the objects of this invention a circuit to convert digital floating-point numbers into an analog current signal has been achieved. This circuit invented comprises, first, an exponential current digital-to-analog converter, having an input and an output, wherein the input is a vector comprising the bits of the exponent of said floating-point number and the output is an analog current being correlated to the exponential value of said exponent. Secondly the converter comprises a linear current digital-to-analog converter having inputs and an output, wherein the inputs comprise a vector comprising the mantissa of said floating point number and said analog output current of said exponential current digital-to-analog converter and the output comprises an analog current being linearly correlated to the value of said digital floating point number.
In accordance with the objects of this invention an alternative circuit to convert digital floating point numbers into an analog current signal has been achieved. This alternative circuit comprises, first, a linear current digital-to-analog converter, having an input and an output, wherein the input is a vector comprising the bits of the mantissa of said floating point number and the output is an analog current being correlated to the linear value of said mantissa. Furthermore this alternative circuit comprises an exponential current digital-to analog converter having inputs and an output, wherein the inputs comprise a vector describing the exponent of said floating-point number and said analog output current of said linear current digital-to-analog converter and the output comprises an analog current being linearly correlated to the value of said digital floating point number, and, finally, a means to convert the direction of the output current dependent upon the sign of said floating-point number.
In the accompanying drawings forming a material part of this description, there is shown:
The preferred embodiments of the present invention disclose novel methods and circuits for conversion of a floating-point number into a corresponding analog current.
The exponential IDAC converts the incoming exponent ei [max . . . min] into an output current I1:
wherein I1 is the output current of the exponential IDAC 31, I0 is the biasing current of the exponential converter, ej ∈ {0, 1} represent the significant bit positions of the exponent wherein i is ranging from the MSB bit, signified by “max” to the LSB bit, signified by “min”. This means ej are components of a vector of (max−min+1) bits. The output current of the exponential IDAC 31 is the biasing reference current of the low resolution linear IDAC 32.
The low resolution linear IDAC 32 converts the mantissa of the incoming digital floating-point number 21 into binary values. Using the reference current I1 from the exponential IDAC 31
wherein I1 represents the exponent of the incoming binary floating-point number 21. The low resolution linear IDAC 32 provides the mantissa values to the current I1 and generates a current I representing an analog signal converted from the incoming binary floating-point number 21:
wherein
corresponds to the output current I1 of the exponential IDAC 31, m represents the mantissa of the incoming digital floating point number 21, and mi ∈ {0, 1} represent the bit positions of the mantissa wherein i is ranging from zero position to the maximum nm position of the mantissa. This means mi are components of a vector of nm+1 bits.
The output current I of the converter 30 of the present invention represents an analog output signal converted from an incoming digital floating-point number 21. According to the sign bit the current direction switch block 33 controls the direction of the output current I dependent upon the sign bit of the incoming floating point number; the output current is either sunk or sourced.
It has to be understood that the sequence of blocks 31 and 32 is commutative. This means that the sequence of blocks 31 and 32 can be interchanged in an alternative embodiment of the invention. In this case the conversion of the mantissa, performed by the linear IDAC of block 32 provides the biasing current for the exponential IDAC of block 31, performing the conversion of the exponent. The output of the exponential IDAC 31 can then be used for the current direction switch of block 33 according to the sign bit of the incoming floating point number.
One key advantage of the present invention is that a conversion from a floating-point number to an integer number prior to digital-to analog conversion is no more required. The cascaded digital-to-analog converter of the present invention has a high dynamic range and requires less chip area than prior art solutions.
The current source 51 provides the biasing current I0 for the converter 50 according to I0 of equation (1)
According to the block diagram of
The gate of transistor N12 is the inverted port of the LSB bit e−2 of the exponent of the floating-point number to be converted. The gate of transistor N22 is the port of the bit e−1, which is the second bit from the right of the exponent of the floating-point number to be converted. The gate of transistor P12 is the port of the bit e0, which is the third bit from the right of the exponent of the floating-point number to be converted and the gate of transistor P22 is the inverted port of the MSB bit e+1 of the exponent of the floating-point number to be converted. The indices of the four bits of the exponent range from a minimum value of −2 to a maximum value +1 in order to match with equation (1) shown above in case the four bits of the exponent is all zero.
The transistors N10 and N20 form a current mirror wherein N10 is the input transistor and N20 is the output transistor. Transistor N11 can be switched in parallel to transistor N10 by switching N12 ON by the LSB bit e−2 of the exponent to be converted. Transistor N21 can be switched in parallel to transistor N20 by switching transistor N22 ON by the e−1 bit of the exponent. Dependent upon the status of the bits e−2 and e−1 the transistors of the current mirror N10/N20 can be made wider and thus the related current mirror ratio can be changed.
The ratio RM of current mirror N10/N20 ratio is
wherein W10 is the width and L20 is the length of the input transistor N10, W20 is the width and L20 is the length of the output transistor N20 and IIN is the input current and Io1 is the output current of the current mirror N10/N20.
For technological reasons the length of the transistors in current mirrors is usually kept the same so only the width of the transistors has to be considered now. The relative width of the transistors N10, N11, N20, and N21 of the NMOS current mirror configuration and the relative width of the transistors P10, P11, P20, and P21 of the PMOS current mirror configuration is also shown in
WN11=(22
wherein WN11 is the width of transistor N11, WN10 is the width of transistor N10, and index j corresponds to the position of the related bit of the exponent, namely in the case of transistor N11 j corresponds to the LSB bit of the exponent having the position −2 as described above. This means transistor N11 has the width
WN11=(20.25−1)×WN10.
Accordingly transistor N21 has the width of
WN21=(22
wherein WN21 is the width of transistor N21, WN20 is the width of transistor N20, and the index j corresponds to the position of the related bit of the exponent, namely in the case of transistor N21 j corresponds to the second bit from the right having the position −1 as described above. This means transistor N11 has the width
WN11=(20.5−1)×WN10.
In the preferred embodiment described transistor N20 has a relative width of 1 and transistor N10 has a relative width WN10=2−0.2 5. Other relationships of the width of transistors N10, and N20 are possible as well to provide a scaling of the output current. But the relationships of the pairs (N10, N11) and (N20, N21) have to accord to the formulas above.
By switching N12 and/or N22 ON and OFF the width of N10 and N20 will be changed and accordingly the ratio of the current mirror N10/N20 will be changed.
In case transistor N12 is switched on by the LSB bit e−2 and transistor N21 is still switched off, the width of the input transistor N10 of the current mirror N10/N20 will be increased and the output current will be reduced by the factor 2−0.25.
In case transistor N22 is switched on by the LSB bit e−1 the width of the output transistor N20 of the current mirror N10/N20 will be increased and the output current will be increased by the factor 20.5.
Following is a table of the ratio of the N10/N20 current mirror as a function of the bits e−1 and e−2 of the exponent of the incoming floating point number
The current mirror P10/P20 operates principally the same way as the current mirror N10/N20 described above. The bit e0 can switch OFF transistor P12 and thus decreases the width of the input transistor P10 of the current mirror P10/P20. The inverted bit e1 can switch OFF transistor P22 and thus decreases the width of the output transistor P20 of the current mirror P10/P20. As shown in
Following is a table of the ratio of the P10/P20 current mirror as a function of the bits e0 and the inverted bit e1inv of the exponent of the incoming floating point number
The output current I1 of the 4 bit exponential current digital-to-analog converter 50 of the present invention shown in
It is obvious that in the circuit of
It has to be understood that the 4-bit exponential digital-to-analog converter is an example of the present invention. More or less bits are feasible by cascading more stages (or current mirrors) or omitting some stages. The ratios of the current mirrors must be of the form 22
Therefore the width of the switchable transistors (like N11, N21, P11, and P21) of the current mirrors to increase the width of the correspondent transistor of the current mirror has to be 22
In case of an exponent having n-bits the required number NST of stages, or in other words current mirrors corresponds to the integer number of the division:
As described above for each bit of the exponent a transistor switch and a transistor, which is in parallel to an input or output transistor of a current mirror is required. Said transistor switch can switch ON the transistor being parallel to a current mirror transistor to increase the width of said current mirror transistor and thus to modify the ratio of this current mirror. The current mirrors are deployed using by turns NMOS and PMOS technology for each stage.
In case of an exponent having an odd number of bits one switching transistor and the related extension transistor is omitted. In case of an exponent having an odd number of bits there are two alternatives possible. In a first alternative transistor switch N12 and its correspondent mirror extension transistor N11 will be omitted and transistors N20 and N10 will have a same size.
Another alternative is to omit the current switch N22 and the correspondent current extension transistor N21.
As shown already in
Alternatively, as described already in
In both embodiments described above the sign bit of the mantissa is not considered because it was not required by a related application.
One key advantage of the present invention is that the floating point number is directly converted into an analog current and no digital floating-point to integer conversion is necessary. For an application with a high dynamic range and a medium accuracy the solution invented requires less chip area than a high resolution DAC, required in prior art.
While the invention has been particularly shown and described with reference to the preferred embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made without departing from the spirit and scope of the invention.
Claims
1. A method to convert a digital floating point number directly into an analog signal is comprising: I 1 = I 0 × ∏ j = min max 2 2 j e j,
- provide a linear current digital-to-analog converter cascaded with an exponential current digital-to-analog converter;
- split a floating-point number into its mantissa and exponent;
- convert said exponent to a current representing an analog signal of the exponent using said exponential current digital-to-analog converter wherein the output current of said exponential current digital-to-analog converter corresponds to the equation:
- wherein I1 is the output current of the exponential digital-to-exponential converter, I0 is a biasing current, ei ∈ {0, 1} represent the significant bit positions of the exponent wherein i is ranging from the MSB bit, signified by “max” to the LSB bit, signified by “min”; and
- convert said digital floating point number into an analog current by converting said mantissa by said linear current digital-to-analog converter using the output current of the previous step as biasing reference current.
2. The method of claim 1 wherein said analog signal of the exponent is a current.
3. The method of claim 1 wherein the direction of the output current indicates the sign of said floating-point number.
4. The method of claim 3 wherein said change of direction of the output current is provided by a current mirror and switches controlled by said sign.
5. The method of claim 1 wherein bits of said exponent are modifying the width of current mirror transistors within said exponential current digital-to-analog converter and thus amplifying or decreasing analog currents.
6. The method of claim 5 wherein the width of input and output transistors of said current mirrors is modified.
7. The method of claim 5 wherein said modification of the width of transistors is performed by activating or deactivating transistors arranged in parallel to said current mirror transistors.
8. The method of claim 7 wherein the widths of said transistors arranged in parallel to said current mirror transistors must follow the form 22j−1 related to the width of the transistors of the current mirror, wherein i is the index of the according bit of the vector of said exponent.
9. The method of claim 5 wherein said ratios of said current mirrors must follow the form 22jwherein j is the index of the according bit of the vector of said exponent.
10. The method of claim 1 wherein the output current I of said a linear current digital-to-analog converter corresponds to the equation: I = I 0 × ∏ j = min max 2 2 j e j × ∑ i = 0 n m 2 i m i, I 0 × ∏ j = min max 2 2 j e j
- wherein
- corresponds to the output current I1 of said exponential current digital-to-analog converter, m represents the mantissa of the incoming digital floating point number 21, and mi ∈ {0, 1} represent the bit positions of the mantissa wherein i is ranging from a minimum position to the maximum nm position of the mantissa.
11. A method to convert a digital floating point number directly into an analog signal is comprising: I 1 = I 0 × ∑ i = 0 n m 2 i m i,
- provide an exponential current digital-to-analog converter cascaded with a linear current digital-to-analog converter;
- split a floating-point number into its mantissa and exponent;
- convert said mantissa to a current representing an analog signal of the mantissa using said linear current digital-to-analog converter wherein the output current of said linear current digital-to-analog converter corresponds to the equation:
- wherein I1 is the output current of said linear digital-to-exponential converter, I0 is a biasing current, m represents the mantissa of the incoming digital floating point number, and mi ∈ {0, 1} represent the bit positions of the mantissa wherein i is ranging from a minimum position to the maximum nm position of the mantissa; and
- convert said digital floating point number into an analog current by converting said exponent by said exponential current digital-to-analog converter using the output current of the previous step as biasing reference current.
12. The method of claim 11 wherein said analog signal of the mantissa is a current.
13. The method of claim 11 wherein the direction of the output current indicates the sign of said floating-point number.
14. The method of claim 13 wherein said change of direction of the output current is provided by a current mirror and switches controlled by said sign.
15. The method of claim 11 wherein the output current I of said a exponential current digital-to-analog converter corresponds to the equation: I = I 0 × ∑ i = 0 n m 2 i m i × ∏ j = min max 2 2 j e j, wherein I 0 × ∑ i = 0 n m 2 i m i corresponds to the output current I1 of said linear current digital-to-analog converter, ej ∈ {0, 1} represent the significant bit positions of the exponent wherein i is ranging from the MSB bit, signified by “max” to the LSB bit, signified by “min”.
16. The method of claim 11 wherein bits of said exponent are modifying the width of current mirror transistors within said exponential current digital-to-analog converter and thus amplifying or decreasing analog currents.
17. The method of claim 16 wherein the width of input and output transistors of said current mirrors is modified.
18. The method of claim 16 wherein said modification of the width of transistors is performed by activating or deactivating transistors arranged in parallel to said current mirror transistors.
19. The method of claim 18 wherein the widths of said transistors arranged in parallel to said current mirror transistors must follow the form 22j−1 related to the width of the transistors of the current mirror, wherein i is the index of the according bit of the vector of said exponent.
20. The method of claim 16 wherein said ratios of said current mirrors must follow the form 22j, wherein j is the index of the according bit of the vector of said exponent.
21. A circuit to convert digital floating point numbers into an analog current signal is comprising: I 1 = I 0 × ∏ j = min max 2 2 j e j,
- an exponential current digital-to-analog converter, having an input and an output, wherein the input is a vector comprising the bits of the exponent of said floating point number and the output is an analog current being correlated to the exponential value of said exponent wherein the output current of said exponential current digital-to-analog converter corresponds to the equation:
- wherein I1 is the output current of the exponential digital-to-exponential converter, I0 is a biasing current, ei ∈ {0, 1} represent the significant bit positions of the exponent wherein i is ranging from the MSB bit, signified by “max” to the LSB bit, signified by “min”;
- a linear current digital-to analog converter having inputs and an output, wherein the inputs comprise a vector comprising the mantissa of said floating-point number and said analog output current of said exponential current digital-to-analog converter and the output comprises an analog current being linearly correlated to the value of said digital floating point number; and
- a means to convert the direction of the output current dependent upon the sign of said floating-point number.
22. The circuit of claim 21 wherein said linear current digital-to-analog converter is a low-resolution linear current digital-to-analog converter.
23. The circuit of claim 21 wherein the output current I of said a linear current digital-to-analog converter corresponds to the equation: I = I 0 × ∏ j = min max 2 2 j e j × ∑ i = 0 n m 2 i m i, wherein I 0 × ∏ j = min max 2 2 j e j corresponds to the output current I1 of said exponential current digital-to-analog converter, m represents the mantissa of the incoming digital floating point number 21, and mi ∈ {0, 1} represent the bit positions of the mantissa wherein i is ranging from a minimum position to the maximum nm position of the mantissa.
24. The circuit of claim 21 wherein said means to convert the direction of the output current comprises a means to mirror said output current and an arrangement of switches activated the sign of said floating-point number.
25. The circuit of claim 24 wherein said means to convert the direction of the output current is comprising:
- a first switch, controlled by said sign bit, wherein a first terminal of said switch is connected to said output of said linear converter and a second terminal is connected to an input transistor of a current mirror;
- said input transistor of said current mirror wherein the drain of said input transistor is connected to said second terminal of said first switch and to its gate, its source is connected to VSS voltage and its gate is connected to the gate of an output transistor of said current mirror;
- said output transistor of said current mirror wherein the drain of said output transistor is connected to a second terminal of a second switch and its source is connected to VSS voltage; and
- said second switch, controlled by said sign bit, switching between a first terminal being connected to said output of said linear converter and said second terminal, wherein its midpoint provides an output current of an direction controlled by said sign bit.
26. The circuit of claim 21 wherein said exponential current digital-to analog converter, being capable to convert n bits of an exponent of an incoming digital floating point number is comprising:
- a current source, providing a biasing current having two terminals, wherein a first terminal is connected to VDD voltage and a second terminal is connected to the drain of a first NMOS transistor switch, to the drain and to the gate of an NMOS input transistor of a first current mirror, to the gate of an NMOS output transistor of said first current mirror, to the gate of a second NMOS transistor being parallel to said input transistor of said first current mirror, and to the gate of a third NMOS transistor being parallel to said output transistor of said first current mirror;
- a number of stages, wherein said number of stages is correlated to the number of bits of said exponent and each stage is deployed by turns using NMOS and PMOS technology and each stage is comprising a current mirror, two transistors, wherein each of them is arranged in parallel to either the input or the output transistor of said current mirror, and two transistor switches, wherein one of said transistor switches is connected to one of said transistors arranged in parallel to one of said input or output transistors, wherein each of said transistor switches having their gates connected to one specific bit of said exponent and they are activating, upon the status of the related bit of said exponent, the corresponding transistor arranged in parallel of the input transistor, wherein the gate of a first transistor switch of the first current mirror is connected to the least significant bit of said exponent and each following transistor switch has its gate connected to the next bit of the exponent from right to left, wherein the sources of the NMOS current mirrors and of the related parallel transistors are connected to Vss voltage and their gates are all interconnected, wherein the sources of the PMOS current mirrors and of the related parallel transistors are connected to VDD voltage and their gates are all interconnected, wherein the output current of a current mirror is the input current of the current mirror of the following stage with the exception of the last stage, wherein its output current is the output of the exponential digital-to analog converter.
27. The circuit of claim 26 wherein in case of an odd number of bits of the exponent a second of said transistor switches and a second of said transistors arranged in parallel to one of said input or output transistors are being omitted.
28. The circuit of claim 26 wherein in case of an odd number of bits of the exponent a first of said transistor switches and a first of said transistors arranged in parallel to one of said input or output transistors are being omitted.
29. The circuit of claim 26 wherein said number of stages is defined by the equation NST = int ( n + 1 2 ), wherein NST is the number of stages deployed and n is the number of bits of the exponent.
30. The circuit of claim 26 wherein the widths of said transistors arranged in parallel to said current mirror transistors must follow the form 22j−1 related to the width of the transistors of the current mirror, wherein i is the index of the according bit of the vector of said exponent.
31. The circuit of claim 26 wherein said ratios of said current mirrors must follow the form 22j, wherein i is the index of the according bit of the vector of said exponent.
32. A circuit to convert digital floating point numbers into an analog current signal is comprising: I = I 0 × ∑ i = 0 n m 2 i m i × ∏ j = min max 2 2 j e j, wherein I 0 × ∑ i = 0 n m 2 i m i corresponds to the output current I1 of said linear current digital-to-analog converter, m represents the mantissa of the incoming digital floating point number 21, mi ∈ {0, 1} represent the bit positions of the mantissa wherein i is ranging from a minimum position to the maximum nm position of the mantissa, ej ∈ {0, 1} represent the significant bit positions of the exponent wherein i is ranging from the MSB bit, signified by “max” to the LSB bit, signified by “min”; and
- a linear current digital-to-analog converter, having an input and an output, wherein the input is a vector comprising the bits of the mantissa of said floating point number and the output is an analog current being correlated to the linear value of said mantissa;
- an exponential current digital-to analog converter having inputs and an output, wherein the inputs comprise a vector comprising the exponent of said floating-point number and said analog output current of said linear current digital-to-analog converter and the output comprises an analog current being linearly correlated to the value of said digital floating point number, wherein the output current I of said exponential current digital-to-analog converter corresponds to the equation:
- a means to convert the direction of the output current dependent upon the sign of said floating-point number.
33. The circuit of claim 32 wherein said linear current digital-to-analog converter is a low-resolution linear current digital-to-analog converter.
34. The circuit of claim 32 wherein said means to convert the direction of the output current comprises a means to mirror said output current and an arrangement of switches activated the sign of said floating-point number.
35. The circuit of claim 34 wherein said means to convert the direction of the output current is comprising:
- a first switch, controlled by said sign bit, wherein a first terminal of said switch is connected to said output of said linear converter and a second terminal is connected to an input transistor of a current mirror;
- said input transistor of said current mirror wherein the drain of said input transistor is connected to said second terminal of said first switch and to its gate, its source is connected to VSS voltage and its gate is connected to the gate of an output transistor of said current mirror;
- said output transistor of said current mirror wherein the drain of said output transistor is connected to a second terminal of a second switch and its source is connected to VSS voltage; and
- said second switch, controlled by said sign bit, switching between a first terminal being connected to said output of said linear converter and said second terminal, wherein its midpoint provides an output current of an direction controlled by said sign bit.
36. The circuit of claim 32 wherein said exponential current digital-to analog converter, being capable to convert n bits of an exponent of an incoming digital floating point number is comprising:
- a current source, providing a biasing current having two terminals, wherein a first terminal is connected to VDD voltage and a second terminal is connected to the drain of a first NMOS transistor switch, to the drain and to the gate of an NMOS input transistor of a first current mirror, to the gate of an NMOS output transistor of said first current mirror, to the gate of a second NMOS transistor being parallel to said input transistor of said first current mirror, and to the gate of a third NMOS transistor being parallel to said output transistor of said first current mirror;
- a number of stages, wherein said number of stages is correlated to the number of bits of said exponent and each stage is deployed by turns using NMOS and PMOS technology and each stage is comprising a current mirror, two transistors, wherein each of them is arranged in parallel to either the input or the output transistor of said current mirror, and two transistor switches, wherein one of said transistor switches is connected to one of said transistors arranged in parallel to one of said input or output transistors, wherein each of said transistor switches having their gates connected to one specific bit of said exponent and they are activating, upon the status of the related bit of said exponent, the corresponding transistor arranged in parallel of the input transistor, wherein the gate of a first transistor switch of the first current mirror is connected to the least significant bit of said exponent and each following transistor switch has its gate connected to the next bit of the exponent from right to left, wherein the sources of the NMOS current mirrors and of the related parallel transistors are connected to Vss voltage and their gates are all interconnected, wherein the sources of the PMOS current mirrors and of the related parallel transistors are connected to VDD voltage and their gates are all interconnected, wherein the output current of a current mirror is the input current of the current mirror of the following stage with the exception of the last stage, wherein its output current is the output of the exponential digital-to analog converter.
37. The circuit of claim 36 wherein in case of an odd number of bits of the exponent a second of said transistor switches and a second of said transistors arranged in parallel to one of said input or output transistors are being omitted.
38. The circuit of claim 36 wherein in case of an odd number of bits of the exponent a first of said transistor switches and a first of said transistors arranged in parallel to one of said input or output transistors are being omitted.
39. The circuit of claim 36 wherein said number of stages is defined by the equation NST = int ( n + 1 2 ), wherein NST is the number of stages deployed and n is the number of bits of the exponent.
40. The circuit of claim 36 wherein the widths of said transistors arranged in parallel to said current mirror transistors must follow the form 22j−1 related to the width of the transistors of the current mirror, wherein i is the index of the according bit of the vector of said exponent.
41. The circuit of claim 36 wherein said ratios of said current mirrors must follow the form 22j, wherein i is the index of the according bit of the vector of said exponent.
3673398 | June 1972 | Loffbourrow |
4240070 | December 16, 1980 | Helbig et al. |
4278964 | July 14, 1981 | Vanderford |
4393369 | July 12, 1983 | Davies |
4539883 | September 10, 1985 | Chihana |
4594577 | June 10, 1986 | Mao |
4672875 | June 16, 1987 | Suzuki |
4727355 | February 23, 1988 | Kohdaka et al. |
5053770 | October 1, 1991 | Mayer et al. |
5061927 | October 29, 1991 | Linnenbrink et al. |
5255370 | October 19, 1993 | Sako et al. |
5323159 | June 21, 1994 | Imamura et al. |
5519396 | May 21, 1996 | Distinti |
5764548 | June 9, 1998 | Keith et al. |
6388388 | May 14, 2002 | Weindorf et al. |
20030200244 | October 23, 2003 | Abraham et al. |
20040100475 | May 27, 2004 | Leather |
20040174286 | September 9, 2004 | Donovan et al. |
63 299516 | December 1988 | JP |
Type: Grant
Filed: Nov 16, 2004
Date of Patent: Nov 7, 2006
Patent Publication Number: 20060103562
Assignee: Dialog Semiconductor GmbH (Kirchheim/Teck-Nabern)
Inventors: Andreas Adler (Schlierbach), Carlo Peschke (Kirchheim/Teck)
Primary Examiner: Jean Bruner Glaude
Attorney: Saile Ackerman LLC
Application Number: 10/990,004
International Classification: H03M 1/84 (20060101);