Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
DIGITAL-TO-ANALOG CONVERTER (DAC) ARCHITECTURE OPTIMIZATION AND DISTORTION PRE-COMPENSATION
Document Type and Number:
WIPO Patent Application WO/2023/218283
Kind Code:
A1
Abstract:
A method (1600) for a digital-to-analog converter DAC (600,700) comprises generating (1602), based on a mapping, L signals (608,708) representing an N-bit digital input (204), N < L < 2N – 1, and controlling (1604) current flow from L weighted current sources (602,702) of the DAC using the L respective signals, thereby generating an analog output (606,706) uniquely representing the N-bit digital input, the weighted current sources having weights configured to minimize at least one error metric associated with the analog output. Another method (2700) comprises generating (2702) a predicted error signal (1710,1922,2118,2322,2552) by applying to a digital signal (1702,1902,2102,2302,2502) a distortion model (1900,2100,2300,2500) characterized by parameters configured to model circuit component mismatches in a DAC (1808), generating (2704) a pre-compensated digital signal (1718,1806) using the digital signal and the predicted error signal, and providing (2706) the pre-compensated digital signal to the DAC for conversion into an analog signal (1810).

Inventors:
OVEIS GHARAN SHAHAB (CA)
BABAEE RAMIN (CA)
BOUCHARD MARTIN (CA)
Application Number:
PCT/IB2023/054467
Publication Date:
November 16, 2023
Filing Date:
April 28, 2023
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
CIENA CORP (US)
OVEIS GHARAN SHAHAB (CA)
International Classes:
H03M1/06; H03M1/08; H03M1/74
Other References:
GEORGI IVANOV RADULOV: "Flexible and self-calibrating current- steering Digital-to-Analog Converters: analysis, classification and design", 14 January 2010 (2010-01-14), XP055278724, ISBN: 978-90-38-62125-8, Retrieved from the Internet [retrieved on 20160608], DOI: dx.doi.org/10.6100/IR656902
VERSTERBACKA: "Linear-Coded D/A Converters with Small Relative Error Due to Glitches", PROCEEDINGS OF THE 44TH IEEE 2001 MIDWEST SYMPOSIUM ON CIRCUITS AND SYSTEMS. MWSCAS 2001, vol. 1, August 2001 (2001-08-01), XP010579428, DOI: 10.1109/MWSCAS.2001.986168
TESCH ET AL.: "A Low Glitch 14-b 100-MHz D/A Converter", IEEE JOURNAL OF SOLID-STATE CIRCUITS, vol. 32, no. 9, September 1997 (1997-09-01), XP000736459, DOI: 10.1109/4.628767
SHEN ET AL.: "Random Swapping Dynamic Element Matching Technique for Glitch Energy Minimization in Current-Steering DAC", IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS II: EXPRESS BRIEFS, vol. 57, no. 5, 2010, pages 369 - 373, XP011309509
VESTERBACKA ET AL.: "Dynamic Element Matching in D/A Converters with Restricted Scrambling", ICECS 2000, 7TH IEEE INTERNATIONAL CONFERENCE ON ELECTRONICS, CIRCUITS AND SYSTEMS, vol. 1, 2000, XP010535649, DOI: 10.1109/ICECS.2000.911479
BAIRD ET AL.: "Linearity Enhancement of Multibit ΔΣ A/D and D/A Converters Using Data Weighted Averaging", IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS 77. ANALOG AND DIGITAL SIGNAL PROCESSING, vol. 42, no. 12, 1995
GALTON: "Why Dynamic-Element-Matching DACs Work", IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS II: EXPRESS BRIEFS, vol. 57, no. 2, 2010, XP011290044, DOI: 10.1109/TCSII.2010.2042131
RUDBERG ET AL.: "Glitch Minimization and Dynamic Element Matching in D/A Converters", ICECS 2000. 7TH IEEE INTERNATIONAL CONFERENCE ON ELECTRONICS, CIRCUITS AND SYSTEMS, vol. 2, 2000, XP010535852, DOI: 10.1109/ICECS.2000.913021
NAKAMURA ET AL.: "A 10-b 70-MS/s CMOS D/A Converter", IEEE JOURNAL OF SOLID-STATE CIRCUITS, vol. 26, no. 4, 1991, XP000216739, DOI: 10.1109/4.75066
BASTOS ET AL.: "A 12-bit Intrinsic Accuracy High-Speed CMOS DAC", IEEE JOURNAL OF SOLID-STATE CIRCUITS, vol. 33, no. 12, 1998, XP000880498, DOI: 10.1109/4.735536
VAN DER PLAS ET AL.: "A 14-bit Intrinsic Accuracy Q2 Random Walk CMOS DAC", IEEE JOURNAL OF SOLID-STATE CIRCUITS, vol. 34, no. 12, 1999, XP000932501, DOI: 10.1109/4.808896
CONG ET AL.: "Switching Sequence Optimization for Gradient Error Compensation in Thermometer-Decoded DAC Arrays", IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS 77. ANALOG AND DIGITAL SIGNAL PROCESSING, vol. 47, no. 7, 2000, XP055690599, DOI: 10.1109/82.850417
"Modeling Glitches due to Rise/Fall Asymmetry in Current-Steering Digital-to-Analog Converters", IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS I: REGULAR PAPERS, vol. 52, no. 11, November 2005 (2005-11-01), pages 2265 - 2275
STORN ET AL.: "Differential Evolution - A Simple and Efficient Heuristic for Global Optimization over Continuous Spaces", JOURNAL OF GLOBAL OPTIMIZATION, vol. 11, no. 4, 1997
PROAKIS ET AL.: "Digital Communications", 2008, MCGRAW-HILL
Attorney, Agent or Firm:
SCOUTEN, Amy et al. (CA)
Download PDF:
Claims:
What is claimed is:

1. A method ( 1600) for digital -to-analog conversion comprising: generating (1602), based on a mapping, L signals (608, 708) representing an N-bit digital input (204), wherein N and L are positive integers, and wherein N < L < 2N-1; and controlling (1604) current flow from L weighted current sources (602, 702) of a digital-to-analog converter ‘DAC’ (600, 700) using the L respective signals, thereby generating an analog output (606, 706) that uniquely represents the N-bit digital input, wherein a weight ratio of at least one pair of the weighted current sources is a positive real number different from an integer power of two.

2. The method as claimed in claim 1, wherein the weighted current sources have weights configured to minimize at least one error metric associated with the analog output.

3. The method as claimed in claim 2, wherein the at least one error metric represents one or more of glitch errors caused by statistical rise/fall asymmetry between currents flowing from the weighted current sources; errors caused by statistical amplitude mismatches between currents flowing from the weighted current sources; and glitch errors caused by statistical timing offsets of OFF-to-ON and ON-to-OFF transitions between currents flowing from the weighted current sources.

4. The method as claimed in claim 2, wherein the mapping is configured to minimize the at least one error metric.

5. The method as claimed in claim 2, further comprising calculating the mapping by minimizing a DAC-specific error metric representing errors caused by circuit component mismatches measured in the DAC.

6. The method as claimed in claim 5, wherein the circuit component mismatches comprise one or more of rise/fall asymmetry between currents flowing from the weighted current sources; amplitude mismatches between currents flowing from the weighted current sources; and timing offsets of OFF-to-ON and ON-to-OFF transitions between currents flowing from the weighted current sources.

7. The method as claimed in any one of claims 1 to 6, wherein weights of the weighted current sources do not solely consist of a combination of unary weights and binary weights.

8. The method as claimed in any one of claims 1 to 7, wherein the digital input comprises a pre-compensated digital signal (1718, 1806) generated based on a distortion model (1708, 1900, 2100, 2300, 2500) representing circuit component mismatches in the DAC.

9. A digital-to-analog converter ‘DAC’ (600, 700) comprising circuitry (212, 602, 610, 702, 710) configured to perform the method as claimed in any one of claims 1 to 8.

10. A method (2700) comprising: generating (2702) a predicted error signal (1710, 1922, 2118, 2322, 2552) by applying to a digital signal (1702, 1902, 2102, 2302, 2502) a distortion model (1900, 2100, 2300, 2500) characterized by parameters configured to model circuit component mismatches in a digital-to-analog converter ‘DAC’ (1808); generating (2704) a pre -compensated digital signal (1718, 1806) using the digital signal and the predicted error signal; and providing (2706) the pre-compensated digital signal to the DAC for conversion into an analog signal (1810).

11. The method as claimed in claim 10, wherein the DAC comprises a plurality of weighted current sources (602, 702), and wherein the circuit component mismatches comprise one or more of rise/fall asymmetry between currents flowing from the weighted current sources; amplitude mismatches between currents flowing from the weighted current sources; and timing offsets of OFF-to-ON and ON-to-OFF transitions between currents flowing from the weighted current sources.

12. The method as claimed in claim 10 or claim 11, wherein the distortion model comprises a plurality of detectors (1908, 2308, 2508, 2510, 2512, 2514), each detector configured to detect sequences of J bits in the digital signal, wherein J > 2, and wherein each bit is selected from 0 and 1.

13. The method as claimed in claim 12, wherein J = 3.

14. The method as claimed in any one of claims 10 to 13, wherein the parameters comprise coefficients of a plurality of finite impulse response (FIR) filters.

15. The method as claimed in any one of claims 10 to 14, wherein the distortion model is further characterized by a bias term (2550) configured to correct for predicted tones in the analog signal.

16. The method as claimed in any one of claims 10 to 15, wherein the pre-compensated digital signal is generated based on a difference between the digital signal and the predicted error signal.

17. The method as claimed in any one of claims 10 to 16, wherein the pre-compensated digital signal comprises N bits per sample, wherein the digital signal comprises more than N bits per sample, and wherein N is a positive integer.

18. The method as claimed in claim 17, wherein the circuitry is configured to apply the distortion model at a resolution of N bits per sample.

19. The method as claimed in claim 10, wherein the DAC comprises a plurality of weighted current sources (602, 702), and wherein a weight ratio of at least one pair of the weighted current sources is a positive real number different from an integer power of two.

20. An apparatus (100) comprising circuitry (126, 130, 131, 138, 139, 600, 700) configured to perform the method as claimed in any one of claims 10 to 19.

Description:
DIGITAL-TO-ANALOG CONVERTER (DAC) ARCHITECTURE OPTIMIZATION AND DISTORTION PRE-COMPENSATION

TECHNICAL FIELD

[0001] This disclosure is related to the technical field of generating analog signals and digital-to-analog conversion.

BACKGROUND

[0002] A digital-to-analog converter (DAC) is configured to convert a digital input into an analog output using a plurality of switchable current sources (i.e., current sources controlled by respective switches). Performance of a DAC may be impacted by mismatches between circuit elements of the DAC.

SUMMARY

[0003] According to a broad aspect, a digital-to-analog converter (DAC) comprises circuitry configured to generate, based on a mapping, L signals representing an N-bit digital input, wherein N and L are positive integers, and wherein N < L < 2 N - 1; and circuitry configured to control current flow from L weighted current sources using the L respective signals, thereby generating an analog output that uniquely represents the N-bit digital input, wherein a weight ratio of at least one pair of the weighted current sources is a positive real number different from an integer power of two.

[0004] According to some examples, the weighted current sources have weights configured to minimize at least one error metric associated with the analog output.

[0005] According to some examples, the at least one error metric represents errors caused by statistical rise/fall asymmetry between currents flowing from the weighted current sources. [0006] According to some examples, the at least one error metric represents errors caused by statistical amplitude mismatches between currents flowing from the weighted current sources.

[0007] According to some examples, the at least one error metric represents errors caused by statistical timing offsets of OFF-to-ON and ON-to-OFF transitions between currents flowing from the weighted current sources. [0008] According to some examples, the mapping is configured to minimize the at least one error metric.

[0009] According to some examples, the mapping is configured to minimize a DAC- specific error metric representing errors caused by circuit component mismatches measured in the DAC.

[0010] According to some examples, the circuit component mismatches comprise one or more of rise/fall asymmetry between currents flowing from the weighted current sources; amplitude mismatches between currents flowing from the weighted current sources; and timing offsets of OFF-to-ON and ON-to-OFF transitions between currents flowing from the weighted current sources.

[0011] According to some examples, weights of the weighted current sources do not solely consist of a combination of unary weights and binary weights.

[0012] According to some examples, the digital input comprises a pre-compensated digital signal generated based on a distortion model representing circuit component mismatches in the DAC.

[0013] According to another broad aspect, an apparatus comprises circuitry configured to generate a predicted error signal by applying to a digital signal a distortion model characterized by parameters configured to model circuit component mismatches in a digital- to-analog converter (DAC), circuitry configured to generate a pre-compensated digital signal using the digital signal and the predicted error signal, and circuitry configured to provide the pre-compensated digital signal to the DAC for conversion into an analog signal.

[0014] According to some examples, the DAC comprises a plurality of weighted current sources, and the circuit component mismatches comprise one or more of rise/fall asymmetry between currents flowing from the weighted current sources, amplitude mismatches between currents flowing from the weighted current sources, and timing offsets of OFF-to-ON and ON-to-OFF transitions between currents flowing from the weighted current sources.

[0015] According to some examples, the distortion model comprises a plurality of detectors, each detector configured to detect sequences of J bits in the digital signal, wherein J > 2, and wherein each bit is selected from 0 and 1 .

[0016] According to some examples, J = 3.

[0017] According to some examples, the parameters comprise coefficients of a plurality of finite impulse response (FIR) filters. [0018] According to some examples, the distortion model is further characterized by a bias term configured to correct for predicted tones in the analog signal.

[0019] According to some examples, the pre-compensated digital signal is generated based on a difference between the digital signal and the predicted error signal.

[0020] According to some examples, the pre-compensated digital signal comprises N bits per sample and the digital signal comprises more than N bits per sample, wherein N is a positive integer.

[0021] According to some examples, the circuitry is configured to apply the distortion model at a resolution of N bits per sample.

[0022] According to some examples, the DAC comprises a plurality of weighted current sources, and a weight ratio of at least one pair of the weighted current sources is a positive real number different from an integer power of two.

BRIEF DESCRIPTION OF THE DRAWINGS

[0023] FIG. 1 is a block diagram illustration of an example transmitter;

[0024] FIG. 2 illustrates a digital-to-analog converter (DAC) architecture comprising unary-weighted current sources in accordance with PRIOR ART;

[0025] FIG. 3 illustrates a DAC architecture comprising binary-weighted current sources in accordance with PRIOR ART;

[0026] FIG. 4 illustrates a segmented DAC architecture in accordance with PRIOR ART;

[0027] FIG. 5 illustrates a plot of rise/fall asymmetry in a switchable current source in accordance with some examples;

[0028] FIG. 6 illustrates a first optimized DAC architecture in accordance with some examples of the proposed technology;

[0029] FIG. 7 illustrates a second optimized DAC architecture in accordance with some examples of the proposed technology;

[0030] FIG. 8 illustrates a plot of normalized mean squared error (MSE) due to rise/fall asymmetry as a function of basis length for several optimized DAC architectures in accordance with some examples of the proposed technology, relative to several segmented DAC architectures;

[0031] FIG. 9 illustrates a plot of signal-to-noise-distortion ratio (SNDR) due to rise/fall asymmetry as a function of basis length for several optimized DAC architectures in accordance with some examples of the proposed technology, relative to several segmented DAC architectures;

[0032] FIG. 10 illustrates a plot of current amplitude mismatches between switchable current sources in accordance with some examples;

[0033] FIG. 11 illustrates a plot of normalized MSE due to current amplitude mismatches as a function of basis length for several optimized DAC architectures in accordance with some examples of the proposed technology, relative to several segmented DAC architectures;

[0034] FIG. 12 illustrates a plot of SNDR due to current amplitude mismatches as a function of basis length for several optimized DAC architectures in accordance with some examples of the proposed technology, relative to several segmented DAC architectures; [0035] FIG. 13 illustrates a plot of OFF-to-ON timing offsets between switchable current sources in accordance with some examples;

[0036] FIG. 14 illustrates a plot of normalized MSE due to timing offsets as a function of basis length for several optimized DAC architectures in accordance with some examples of the proposed technology, relative to several segmented DAC architectures;

[0037] FIG. 15 illustrates a plot of SNDR due to timing offsets as a function of basis length for several optimized DAC architectures in accordance with some examples of the proposed technology, relative to several segmented DAC architectures;

[0038] FIG. 16 illustrates a method for digital -to-analog conversion in accordance with some examples of the proposed technology;

[0039] FIG. 17 illustrates a schematic showing digital pre-compensation of DAC distortion in accordance with some examples of the proposed technology;

[0040] FIG. 18 illustrates a schematic showing aspect of a signal path between a transmitter device and a receiver device in accordance with some examples of the proposed technology;

[0041] FIG. 19 illustrates a schematic showing a first distortion model representing rise/fall asymmetry in a DAC in accordance with some examples of the proposed technology;

[0042] FIG. 20 illustrates a plot of SNDR due to rise/fall asymmetry as a function of rise/fall asymmetry for several DAC architectures with and without pre-compensation in accordance with some examples of the proposed technology;

[0043] FIG. 21 illustrates a schematic showing a second distortion model representing current amplitude mismatches in a DAC in accordance with some examples of the proposed technology;

[0044] FIG. 22 illustrates a plot of SNDR due to current amplitude mismatches as a function of the standard deviation of the current amplitude mismatches for several optimized DAC architectures with and without pre-compensation in accordance with some examples of the proposed technology;

[0045] FIG. 23 illustrates a schematic showing a third distortion model representing timing offsets in a DAC in accordance with some examples of the proposed technology; [0046] FIG. 24 illustrates a plot of SNDR due to timing offsets as a function of the standard deviation of the timing offsets with and without pre-compensation in accordance with some examples of the proposed technology;

[0047] FIG. 25 illustrates a schematic showing a fourth distortion model representing rise/fall asymmetry, current amplitude mismatches, and timing offsets in a DAC in accordance with some examples of the proposed technology;

[0048] FIG. 26 illustrates a plot of SNDR due to rise/fall asymmetry, current amplitude mismatches, and timing offsets as a function of the standard deviation of the timing offsets with and without pre-compensation in accordance with some examples of the proposed technology; and

[0049] FIG. 27 illustrates a method for digital pre-compensation of distortion in a DAC in accordance with some examples of the proposed technology.

DETAILED DESCRIPTION

[0050] FIG. 1 is a block diagram illustration of an example transmitter 100. The transmitter 100 is an optical transmitter that employs polarization-division multiplexing (PDM). A laser 102 is operative to generate a continuous wave (CW) optical carrier 104. A polarizing beam splitter 106 is operative to split the CW optical carrier 104 into orthogonally-polarized components 108, 110 (nominally referred to as the “X-polarization” component and the “Y- polarization” component) that are modulated by respective electrical-to-optical modulators 112, 114 to produce modulated polarized optical signals 116, 118 that are combined by a beam combiner 120, thus yielding an optical signal 122.

[0051] A symbol source 124 is operative to generate a stream of symbols representing data to be transmitted in the optical signal 122. A digital signal processor (DSP) 126 is operative to process the symbols output from the symbol source 124, for example, performing one or more of pulse shaping, subcarrier multiplexing, chromatic dispersion pre -compensation, and distortion pre-compensation on the symbols. The DSP 126 is operative to generate I and Q digital drive signals 128, 129 for the X-polarization to be converted by DACs 130, 131, respectively, into I and Q analog drive signals 132, 133 for the X-polarization that, after amplification by respective amplifiers 134, 135, are used to drive the electrical-to-optical modulator 112. The DSP 126 is operative to generate I and Q digital drive signals 136, 137 for the Y-polarization to be converted by DACs 138, 139, respectively, into I and Q analog drive signals 140, 141 for the Y-polarization that, after amplification by respective amplifiers 142, 143, are used to drive the electrical-to-optical modulator 114. Each of the DACs 130, 131, 138, 139 is operative to produce a high-bandwidth analog signal having a sample period of T. In some implementations, the DSP 126 and the DACs 130, 131, 138, 139 are comprised in a complementary metal-oxide-semiconductor (CMOS) module, and the amplifiers 134, 135, 142, 143 are comprised in a bipolar CMOS (BiCMOS) module.

[0052] In general, a DAC is configured to convert a digital input x into an analog output X using a plurality of switchable current sources (i.e., current sources controlled by respective switches). A current source may comprise a direct current source, or may be realized by a voltage reference and a resistor. High-speed applications often employ current-steering DACs, which use metal -oxide semiconductor field-effect transistors (MOSFETS) as the switchable current sources. The technology presented herein is described in the context of current-steering DACs, but may be applied to any DAC architecture comprising switchable current sources. The DAC architectures described in this document may be used in devices such as the optical transmitter 100, or any other type of electronic apparatus that is configured for digital-to-analog conversion.

[0053] A DAC may be characterized by a basis length L, which denotes the number of switchable current sources comprised in the DAC. A DAC of basis length L comprises L current sources which are weighted by L respective weights, Bi, for i = 1..L. The relationship between the digital input x and the analog output X may be expressed as:

X = W T (X)B [1] where W T (x) denotes the transpose of a binary vector W(x) of size L which is a function of the digital input x, and where B is a vector of length L comprising the weights of the L current sources, herein referred to as a basis vector. The binary vector W(x) may be understood as a set of L signals used to control the L switches. Given a digital input x comprising N bits, where N is a positive integer, the architecture of the DAC (including the binary vector W(x) and the basis vector B) is designed to have a resolution of 2 N , meaning that the DAC outputs an analog output X that uniquely represents any one of the 2 N possible values of the digital input x. Various DAC architectures may be used to achieve this. The following examples involve a digital input x comprising N = 8 bits, but other examples are contemplated.

[0054] FIG. 2 illustrates a DAC architecture 200 in accordance with an example of PRIOR ART. The DAC architecture 200 has unary weighting, meaning that the current sources have identical weights. This type of architecture may also be referred to as a thermometer-coded DAC. In this case, the current sources comprise unit current sources 202, such that Bi = 1 for i = 1..L. With a unary -weighted DAC, a basis length of L = 2 N -1 is used to convert an N-bit digital input to a 2 N -level analog output. Thus, for a given digital input 204 comprising N = 8 bits, L = 255 unit current sources 202 are controlled by L = 255 respective switches (denoted by S 1, . . . , S255) to generate an analog output 206 that is representative of the digital input 204. The 255 switches are controlled by 255 bits 208 generated by an 8-to-255 decoder 210 based on the 8 -bit digital input 204. In this example, the analog output 206 is the voltage measured across a resistor 212. The bits 208 used to control the switches may be represented by the binary vector W in Equation 1. It will be apparent that there is redundancy in the unary-weighted DAC architecture 200. That is, multiple different binary vectors W may be used to generate the same analog output 206. For this reason, a unary-weighted DAC with L = 2 N -1 may be described as having a fully over-complete basis.

[0055] FIG. 3 illustrates a DAC architecture 300 in accordance with an example of PRIOR ART. The DAC architecture 300 has binary weighting, meaning that the current sources have different weights which, when normalized by their minimum value, form a basis vector B = [1, 2, 4, 8, . . . , 2 N-1 ] . According to one example, a non -unit current source may be implemented by a plurality of unit current sources arranged in parallel. For example, a current source of weight 8 may be implemented by 8 parallel unit current sources. With a binary- weighted DAC, a basis of length L = N is used to convert an N-bit digital input to a 2 N -level analog output. Thus, for the digital input 204 comprising N = 8 bits, L = 8 weighted current sources 302 having respective weights B = [1, 2, 4, 8, 16, 32, 64, 128] are controlled by L = 8 respective switches (denoted by SI, . . . , S8) to generate an analog output 306 that is representative of the digital input 204. The 8 switches are controlled directly by the 8 bits of the digital input 204, with the least significant bit (LSB) controlling the switch SI (which in turn controls the current source having the lowest weight, Bi = 1), and with the most significant bit (MSB) controlling the switch S8 (which in turn controls the current source having the highest weight, B« = 128). There is no redundancy in the binary-weighted DAC architecture 300. That is, any given analog output 306 may be generated using only one binary vector W (corresponding to the 8-bit digital input 204). For this reason, a binary- weighted DAC with L = N may be described as having a complete basis.

[0056] Unary-weighted DACs may achieve excellent performance with little distortion, but this is at the expense of circuit area and complexity. Binary-weighted DACs take up less space and have lower complexity than unary DACs, but may suffer from significant distortions. For example, the 8-bit binary -weighted DAC architecture 300 comprises only eight switchable current sources (compared to the 255 switchable current sources required to implement the 8-bit unary-weighted DAC architecture 200), but may be less accurate due to the high precision required for each individual current source. A hybrid between a unary- weighted DAC and a binary-weighted DAC, herein referred to as a segmented DAC, may be used to balance complexity with performance. Examples of segmented DAC architectures are described by Versterbacka in “Linear-Coded D/A Converters with Small Relative Error Due to Glitches,” Proceedings of the 44 th IEEE 2001 Midwest Symposium on Circuits and Systems. MWSCAS 2001, vol. 1, Aug 2001; and by Tesch et al. in “A Low Glitch 14-b 100- MHz D/A Converter,” IEEE Journal of Solid-State Circuits, vol. 32, no. 9, Sep. 1997.

[0057] FIG. 4 illustrates a segmented DAC architecture 400 in accordance with an example of PRIOR ART. The DAC architecture 400 comprises a combination of binary-weighted current sources and unary-weighted current sources, where the binary weighting is used for lower-order or least significant bits (LSBs) and the unary weighting is used for higher-order or most significant bits (MSBs). This type of segmented architecture may be realized in various ways, depending on how many bits are treated as LSBs and how many bits are treated as MSBs. In this example, two bits of the 8-bit digital input 204 are classified as MSBs, while the remaining six bits are classified as LSBs. For the six LSBs 412, six binary- weighted current sources 404 having respective weights B = [1, 2, 4, 8, 16, 32] are controlled by six respective switches (denoted by SI, ... , S6). The least significant of the six LSBs 412 (i.e., the least LSB or LLSB) controls the switch SI (which in turn controls the current source having the lowest weight, Bi = 1), and the most significant of the six LSBs 412 (i.e., the most LSB or MLSB) controls the switch S6 (which in turn controls the current source having the highest weight, Be = 32). For the two MSBs of the 8-bit digital input 204, three unary- weighted current sources 402 are controlled by switches S7, S8, S9, respectively. The switches S7, S8, S9 are in turn are controlled by bits 408 generated by a 2-to-3 decoder 410 based on the two MSBs. Each of the unary-weighted current sources 402 has an identical weight that is a factor of two greater than highest weight of the binary-weighted current sources 404. Thus, since Be = 32, it follows that B7 = Bg = B9 = 64. A segmented DAC has an over-complete basis with some redundancy, where N < L < 2 N -1. The segmented architecture may offer a tradeoff between the advantages and disadvantages of the unary- and binary-weighted implementations. For example, the 8-bit segmented DAC architecture 400 (which comprises only nine switches) may achieve better performance than the 8-bit binary DAC architecture 300, but without the complexity of the 8-bit unary DAC architecture 200 (which comprises 255 switches).

[0058] The performance of current-steering DACs, such as those illustrated in FIGs. 2, 3, and 4 may be degraded by distortions caused by mismatches or inconsistencies between circuit components/elements. For example, when there is a transition from a first digital input x to a second digital input y, a DAC may briefly generate an analog output that is representative of some value other than x or y. This type of transient nonlinear distortion, herein referred to as a glitch error, may result from differences between rise/fall asymmetry within the switches and/or timing offsets between the switches. Such distortion sources may also be excited through a specific pattern of consecutive ON/OFF transitions for a specific current switch. For example, a specific pattern of ON-OFF-ON for a current switch may generate a different distortion source than a pattern of OFF-OFF-ON. In another example, signal degradation may arise from amplitude mismatches of the currents generated by the switchable current sources, which may impact static performance of the DAC. Current amplitude mismatch errors may be a dominant source of impairment in low speed applications, while glitch errors may have a higher impact as the data rate increases. Rise/fall asymmetry, current amplitude differences, and timing offsets between switchable current sources are examples of circuit component mismatches that may result in DAC distortion. [0059] DAC distortion may be reduced using various techniques that exploit redundancy in the DAC architecture. For example, dynamic element matching (DEM) techniques have been shown to significantly improve the spurious free dynamic range (SFDR), (see, for example, Shen et al., “Random Swapping Dynamic Element Matching Technique for Glitch Energy Minimization in Current-Steering DAC,” IEEE Transactions on Circuits and Systems II: Express Briefs, vol. 57, no. 5, pp. 369-373, 2010; Vesterbacka et al., “Dynamic Element Matching in D/A Converters with Restricted Scrambling,” in ICECS 2000, 7 th IEEE International Conference on Electronics, Circuits and Systems, vol. 1, 2000; Baird et al., “Linearity Enhancement of Multibit AZ A/D and D/A Converters Using Data Weighted Averaging,” IEEE Transactions on Circuits and Systems II: Analog and Digital Signal Processing, vol. 42, no. 12, 1995; Galton, “Why Dynamic-Element-Matching DACs Work,” IEEE Transactions on Circuits and Systems II: Express Briefs, vol. 57, no. 2, 2010; Rudberg et al., “Glitch Minimization and Dynamic Element Matching in D/A Converters,” in ICECS 2000. 7 th IEEE International Conference on Electronics, Circuits and Systems, vol. 2, 2000). However, such techniques have not improved the signal-to-noise distortion ratio (SNDR). In another example, mapping algorithms that use amplitude errors or timing errors to determine an optimized mapping of unary-weighted current sources or cells have been shown to improve performance (see, for example, Nakamura et al., “A 10-b 70-MS/s CMOS D/A Converter,” IEEE Journal of Solid-State Circuits, vol. 26, no. 4, 1991; Bastos et al., “A 12-bit Intrinsic Accuracy High-Speed CMOS DAC,” IEEE Journal of Solid-State Circuits, vol. 33, no. 12, 1998; Van Der Plas et al., “A 14-bit Intrinsic Accuracy Q 2 Random Walk CMOS D AC ,” IEEE Journal of Solid-State Circuits, vol. 34, no. 12, 1999; Cong et al., “Switching Sequence Optimization for Gradient Error Compensation in Thermometer-Decoded DAC Arrays,” IEEE Transactions on Circuits and Systems II: Analog and Digital Signal Processing, vol. 47, no. 7, 2000). However, such techniques are complex and have high power consumption.

[0060] There remains a need for DAC architectures that are capable of high performance (i.e., low distortion) but with low complexity, low power consumption, and small footprint. [0061] In accordance with some examples of the technology described herein, efficient DAC architectures are proposed based on the minimization of various statistical error metrics. The proposed DAC architectures may achieve similar performance to segmented DACs but using fewer switches than the segmented DACs. Three types of errors are considered in the examples below: (1) glitch errors arising from rise/fall asymmetry; (2) static errors arising from current amplitude mismatches; and (3) glitch errors arising from timing offsets. However, it should be understood that DAC architectures may be designed by minimizing other statistical error metrics.

[0062] In each of the following examples, the optimized DAC architectures are designed to have an over-complete basis, where N < L < 2 N -1. However, in contrast to a segmented architecture, where one portion of the current sources are unary-weighted and the other portion of the current sources are binary-weighted, all of the current sources in the proposed DAC architectures have weights configured to minimize a statistical error metric associated with the analog output of the DAC.

[0063] Glitch errors arising from rise/fall asymmetry

[0064] Glitch errors may be caused by rise/fall asymmetry within the switches of the DAC, that is, differences between the current response to a switch transitioning from OFF (or OPEN) to ON (or CLOSED) (i.e., the transient rise of the current) and the current response to the switch transitioning from ON to OFF (i.e., the transient fall of the current).

[0065] FIG. 5 illustrates a plot 500 of rise/fall asymmetry in a switchable current source in accordance with some examples. The solid line shows the output current of the switchable current source resulting from a transition of the switch from OFF to ON, and the dashed line shows the output current of the switchable current source resulting from a transition of the switch from ON to OFF. For the purposes of the following example, it is assumed that all the switchable current sources of the DAC exhibit the same settling transients (i.e., the shapes of the two curves are identical), but that there is a static time offset TON/OFF between the OFF-to- ON transient and the ON-to-OFF transient, where the value of TON/OFF represents the rise/fall asymmetry. It is also assumed that each switchable current source is characterized by the same value of TON/OFF. AS a result of the rise/fall asymmetry, a transition from a first digital input x to a second digital input y may cause the DAC to briefly generate an analog output that is representative of some value other than x or y (i.e., a glitch error).

[0066] The DAC architecture may be configured to minimize the power of glitch errors that arise from rise/fall asymmetry in the responses of the switchable current sources. In “Modeling Glitches due to Rise/Fall Asymmetry in Current-Steering Digital-to-Analog Converters,” IEEE Transactions on Circuits and Systems I: Regular Papers, vol. 52, no. 11, pp. 2265-2275, Nov 2005, Andersson et al. proposed the following metric for glitch errors caused by rise/fall asymmetry: e x (x, y) = | W T (y) - W T (x) | B [2] where x and y denote two different digital inputs, each comprising N bits, where N is a positive integer, where W (x), W (y) denote the transpose of binary vectors W(x), W(y), respectively, each of size L, which are functions of x, y, respectively, where B denotes a basis vector of size L (containing the weights of all current sources in the DAC), and where N < L < 2 N -1.

[0067] The expected value of glitch error power or mean squared error (MSE) may be expressed as: where R(x) denotes the set of all possible representations for the digital input x, R(y) denotes the set of all possible representations for the digital input y, where Pr(x,y) is the transition probability from the digital input x to the digital input y, and where Pr(W(x)) is the probability distribution of representations of the digital input x.

[0068] For a selected basis length L satisfying N < L < 2 N -1, the DAC architecture may be optimized by determining the weights BOPT that minimize the expected glitch error power IE [ |e x | 2 ] . This optimization, which may be expressed as: is a nonlinear, non-convex, discrete problem, where the dimension of the search space is L and each element has an integer value in the range 1..2 N . Thus, the maximum size of the search space is 2 NL , which grows exponentially with both N and L. Consequently, it may be impractical to do an exhaustive search (unless the values of L and N are small). According to some examples, the optimized basis vector BOPT for basis length L may be computed using a differential evolution (DE) optimization algorithm, for example, as described by Stom et al. in “Differential Evolution - A Simple and Efficient Heuristic for Global Optimization over Continuous Spaces,” Journal of Global Optimization, vol. 11, no. 4, 1997. A computer simulation was performed wherein a DE optimization algorithm was used to determine the optimized basis vector BOPT of an 8-bit DAC for different basis lengths L = 9, 10, 11, 12, and 13. The optimization assumed a white Gaussian noise input signal, with the root mean square (RMS) of the input signal being set to the optimal value that achieves maximum signal-to- quantization ratio (SQNR). Monte Carlo simulations were used to determine the optimal RMS of the input signal by sweeping the RMS and measuring the corresponding SQNR of the DAC. The DE optimization algorithm was repeated 100 times and the best basis vector BOPT (i.e., the one that achieved the lowest glitch error power) for each basis length L is shown in Table 1, where the weights in each vector BOPT are normalized by the minimum o weight. In each case, it will be apparent that the sum of the normalized weights is 2 -1 = 255. The optimized basis vectors BOPT in Table 1 are configured to minimize glitch errors caused by rise/fall asymmetry.

Table 1

[0069] FIG. 6 illustrates an 8-bit DAC architecture 600 having the optimized basis vector

BOPT for the basis length L = 9, as expressed in Table 1 . Nine weighted current sources 602 having respective optimized weights BOPT = [1, 2, 4, 8, 16, 31, 43, 69, 81] are controlled by nine respective switches (denoted by S 1, . . . , S9) to generate an analog output 606 that is representative of the 8-bit digital input 204. The nine switches are controlled by nine bits 608 generated by an 8-to-9 decoder 610 based on the 8-bit digital input 204.

[0070] FIG. 7 illustrates an 8-bit DAC architecture 700 having the optimized basis vector BOPT for the basis length L = 12, as expressed in Table 1. Twelve weighted current sources 702 having respective optimized weights BOPT = [1, 2, 4, 8, 11, 16, 20, 25, 27, 35, 48, 58] are controlled by 12 respective switches (denoted by SI, ..., S12) to generate an analog output 706 that is representative of the 8-bit digital input 204. The 12 switches are controlled by 12 bits 708 generated by an 8-to-12 decoder 710 based on the 8-bit digital input 204.

[0071] It should be noted that the values of the optimized weights BOPT may differ depending on the choice of application and design parameters. For example, a different input signal distribution (e.g., uniform) or a different number of repetitions of the DE algorithm may result in different optimized basis vectors BOPT than those provided in Table 1.

[0072] In general, an optimized DAC architecture, such as the 8-bit DAC architectures 600 and 700, comprises an N-to-L decoder which maps or converts the N-bit digital input x to an L-bit representation of the digital input W(x). The N-to-L decoder may also be referred to as a mapping. Since the optimized DAC architecture has an over-complete basis, there may exist multiple different representations W(x) for a given N-bit digital input x. For example, referring to FIG. 6, the same output current 606 may be generated when the nine signals 608 have respective values 000100000 or 000011111, since 16+8+4+2+1 = 31. The mapping of the decoder dictates which representation W(x) is to be used for each input x.

[0073] According to some examples, the mapping of the N-to-L decoder may be configured to minimize or reduce errors in the analog output of the DAC. For example, given the optimized basis vector BOPT and an input sequence x[j], for j = 0..M-1, where M is a positive integer, it may be of interest to determine the representations W(x[j]) that minimize the expected glitch error power caused by rise/fall asymmetry. The optimized representations WOPT(X|J]) may be determined by solving the expression:

W O p T (x[j]) = arg in

W(x[j])

[0074] Equation 5 may be solved using different techniques of varying complexity. In one example, a dynamic programming algorithm, such as the Viterbi algorithm, may be used to determine the optimized representations WOPT (where the Viterbi algorithm is described, for example, by Proakis et al. in “Digital Communications”, Boston, McGraw-Hill, 2008). The complexity of this algorithm increases exponentially with L-N.

[0075] In another example, the optimized representations WOPT may be determined using a greedy “best next” algorithm which selects the best representation for x[j ] based only the previous sample, expressed as:

W 0PT (x[j]) = argmin(e 1 (x[j - 1], x[j])) , for j = 0..M-1 . [6]

W(x[j])

This approach, which uses sequential processing of samples, may be implemented through look-up tables (LUTs), where each LUT has a size of 2 N+L . For a given LUT, the index/address within the LUT is determined by the representation W(x[j-1]) of the previous input x[j -1] and by the current input value x[j], and the contents of that index/address is the representation W(x[j]) of the current input x[j] .

[0076] In yet another example, Equation 5 may be solved with a less sophisticated algorithm that uses only a single representation for each input value. In this case, the optimization problem may be solved iteratively such that, at each step, the representations for all inputs are fixed, and the optimized representation for x, WOPT(X), is determined as follows:

The application of Equation 7 may be repeated for each value of x to determine the best representations for all values of x. The whole process may also be reiterated until the solutions remain unchanged from one iteration to the next.

[0077] FIGs. 8 and 9 illustrate plots 800 and 900 of normalized MSE and signal-to-noise distortion ratio (SNDR), respectively, due to rise/fall asymmetry as a function of basis length for several optimized 8-bit DAC architectures in accordance with some examples of the proposed technology, relative to several segmented 8-bit DAC architectures. In each instance, the normalized MSE has been normalized by the MSE associated with a unary-weighted 8-bit DAC.

[0078] The results in FIGs. 8 and 9 were obtained using simulations. The optimized 8-bit DAC architectures used the optimized basis vectors BOPT as provided in Table 1 for basis lengths L = 9, 10, 11, 12, and 13. For each optimized basis vector BOPT, the optimized representations WOPT were determined using three different algorithms: a Viterbi algorithm (VITERBI - diamonds), a greedy best next algorithm (GBN - closed circles), and a single representation algorithm (1 REP - open circles). The MSE and SNDR associated with the various optimized architectures were compared to the MSE and SNDR associated with three different segmented architectures. The segmented architecture of basis length L = 9 corresponds to the DAC architecture 400, wherein the six LSB of the 8 -bit digital input are provided to six binary-weighted current sources, and the two MSB of the 8-bit digital input are provided to three unary -weighted current sources. The segmented architecture of basis length L = 12 comprises five binary-weighted current sources (for the five LSB of the 8-bit digital input) and seven unary-weighted current sources (for the three MSB of the 8-bit digital input). The segmented architecture of basis length L = 19 comprises four binary-weighted current sources (for the four LSB of the 8-bit digital input) and 15 unary-weighted current sources (for the four MSB of the 8-bit digital input).

[0079] As is apparent from FIGs. 8 and 9, an optimized architecture (i.e., having the basis vector BQPT as provided in Table 1, for example) may achieve a lower MSE due to rise/fall asymmetry and a higher SNDR than a segmented architecture having the same number of switchable current sources, regardless of which technique is used to determine the optimized representations WOPT for the optimized architecture (i.e., Viterbi, GBN, 1 REP). For example, the performance of the segmented DAC with 12 switchable current sources is exceeded by that of the optimized DAC architecture comprising 12 switchable current sources.

[0080] It is also apparent from FIGs. 8 and 9 that an optimized architecture may achieve a similar or better performance than a segmented architecture having more switchable current sources. For example, the performance of the 10-switch optimized architecture (when the optimized representations WOPT have been determined using the Viterbi algorithm) exceeds the performance of the 19-switch segmented DAC. Even when the optimized representations WOPT have been determined using less complicated algorithms, the performance of the 19- switch segmented DAC may still be either matched or exceeded by an optimized DAC architecture that comprises fewer switchable current sources. Advantageously, a decrease in the number of switchable current sources may allow for a decrease in the overall chip size. [0081] Although not explicitly shown, the simulations also demonstrated that the impact of rise/fall asymmetry on SFDR in the optimized DAC was comparable to the impact in a unary-weighted DAC (or a 19-switch segmented DAC). [0082] The optimized representations WOPT were determined based on modeling of statistical error metrics. However, it is also contemplated that the optimized representations WOPT may be determined using real measurements of rise/fall asymmetry in a given DAC.

[0083] Static errors arising from current amplitude mismatches

[0084] Mismatches between the amplitudes of the currents generated by the switchable current sources of the DAC may contribute to signal degradation. The DAC architecture may be configured to minimize the power of errors that arise from current amplitude mismatches between the switchable current sources of the DAC.

[0085] FIG. 10 illustrates a plot 1000 of current amplitude mismatches between switchable current sources in accordance with some examples. The current amplitude errors associated with the L current sources may be denoted by a vector A of size L, where the current amplitude error associated with the i th current source is denoted by Ai, for i =1..L. In the following example, the mismatch for the i th current source is statistically modeled as an uncorrelated Gaussian random variable with a standard deviation of where dg denotes the standard deviation of the unit current source (corresponding to the LSB). For a digital input x, the current mismatch may cause an error e m (x) at the receiver expressed as: where Wi(x) denotes the 1 th element of the binary vector W(x), where W(x) satisfies Equation 1, and where Pr(x) is the probability distribution of the digital input x.

[0086] The MSE as a result of the current amplitude errors A for the digital input x may be expressed as:

The representations W ( (x) for i = 1..L used in Equation 9 may influence the performance of the DAC. Determining the optimized set of representations WOPT for all values of x is a discrete non-convex optimization problem that becomes more computationally expensive as L increases. An iterative approach may be used to determine the optimized representations WoPT(y). According to this approach, for a given basis vector B, all representations W are calculated for each input value x; WOPT(X) is initialized with a random representation for x = 0..2 N -l ; and for each input value y, a global search is used to select the optimized representation WoPT(y) according to the expression:

The search step may be repeated for a predetermined number of iterations or until WOPT(Y) remains the same, whichever occurs first.

[0087] For a selected basis length L satisfying N < L < 2 N -1, the DAC architecture may be optimized by determining the weights BOPT that minimize the MSE in Equation 9. This optimization problem may be expressed as:

B op t = argmin B

[11] where the notation W(x,B) highlights that each binary vector W is a function of the basis vector B. According to some examples, the optimized basis vector BOPT for basis length L may be computed using simulated annealing.

[0088] A computer simulation was performed wherein a simulated annealing algorithm was used to determine the optimized basis vector BOPT of an 8-bit DAC for different basis lengths L = 9, 10, 11, 12, 13, 14, and 15. The simulated annealing algorithm was run 100 times and the best basis vector BOPT (i.e. , the one that achieved the lowest current amplitude mismatch error) for each basis length L is shown in Table 2, where the weights in each vector BOPT are normalized by the minimum weight. In each case, it will be apparent that the sum of the normalized weights is 2 8 -l = 255. The optimized basis vectors BOPT in Table 2 are configured to minimize errors caused by current amplitude mismatch.

Table 2

[0089] It is noted that different simulation parameters may result in different values for the optimized weights BOPT than those provided in Table 2.

[0090] In Equation 10, the optimized representations WOPT(Y) are calculated based on the minimization of the statistical error power (i.e., the expected error variance over many DAC samples). However, real measurements of the current amplitude error Ai in a given DAC may be used to determine optimized representations W 0PT (x) as follows:

W 0PT (x) = argmin

W(x)eR(x)

[12]

[0091] FIGs. 11 and 12 illustrate plots 1100 and 1200 of normalized MSE and SNDR, respectively, due to current amplitude mismatch as a function of basis length for several optimized 8-bit DAC architectures in accordance with some examples of the proposed technology, relative to several segmented 8-bit DAC architectures. In each instance, the normalized MSE has been normalized by the MSE associated with a unary-weighted 8-bit DAC.

[0092] The results in FIGs. 11 and 12 were obtained using simulations. The optimized 8-bit DAC architectures used the optimized basis vectors BOPT as provided in Table 2 for basis lengths L = 9, 10, 11, 12, 13, 14, and 15. For each optimized basis vector BOPT, the optimized representations WOPT were determined using simulated annealing. Current amplitude mismatches were assumed to have an uncorrelated Gaussian distribution. The MSE and SNDR associated with the various optimized architectures were compared to the MSE and SNDR associated with three different segmented architectures, as described previously with respect to FIGs. 8 and 9.

[0093] As is apparent from FIGs. 11 and 12, an optimized architecture (i.e., having the basis vector BOPT as provided in Table 2, for example) may achieve a lower MSE and a higher SNDR than a segmented architecture having the same number of switchable current sources. For example, the performance of the 12-switch segmented DAC is exceeded by that of the 12-switch optimized DAC architecture.

[0094] It is also apparent from FIGs. 11 and 12 that an optimized architecture may achieve a similar or better performance than a segmented architecture having more switchable current sources. For example, the performance of the 12-switch optimized DAC architecture is similar to that of the 19-switch segmented DAC. As noted previously, the ability to achieve similar performance using fewer switchable current sources may be advantageous when chip area is limited.

[0095] Glitch errors arising from timing offsets

[0096] In addition to rise/fall asymmetry, glitch errors may also be caused by timing offsets between the switches of the DAC, that is, differences between the transition times (OFF-to- ON and/or ON-to-OFF) of the switches.

[0097] FIG. 13 illustrates a plot 1300 of OFF-to-ON timing offsets between switchable current sources in accordance with some examples. The timing offset (or skew) associated with the OFF-to-ON transition of L switchable current sources may be denoted by a vector T of size L, where the timing offset associated with the i th switch is denoted by Ti, for i = 1..L, where Ti is normalized by the sampling period T and satisfies -Yz < i < Yz. For a transition from a digital input x to a digital input y, the glitch error caused by timing offset at time t, where -T/2 < t < T/2, may be expressed as: where ci(x,y) represents the difference between Wi(y) and Wi(x), such that ci(x,y) e {+1, 0, -

1}, where sgn is the sign function, and where: rojti > | n(t) = h, iti = | . iti < t

[14]

[0098] For the transition from x to y, the MSE of the glitch error metric C3 (t) associated with timing offsets may be expressed as:

For an over-complete basis, the total MSE due to timing offsets may be expressed as: where R(x) and R(y) denote the set of all possible representations for the inputs x and y, respectively, where Pr(x,y) denotes the transition probability from input x to input y, and where Pr(W(x)) denotes the probability distribution of representations of input x.

[0099] For a selected basis length L satisfying N < L < 2 N -1, the DAC architecture may be optimized by determining the weights BOPT that minimize the total MSE. This optimization problem, expressed as:

B OPT = argmin(IE[|e3 | 2 ]), B

[17] may be simplified by assuming a uniform distribution for Pr(W(x)). According to some examples, the optimized basis vector BOPT for basis length L may be computed using simulated annealing.

[0100] A computer simulation was performed wherein a simulated annealing algorithm was used to determine the optimized basis vector BOPT of an 8-bit DAC for different basis lengths L = 9, 10, 11, 12, 13, and 14. The simulated annealing algorithm was run 100 times and the best basis vector BOPT (i. e. , the one that achieved the lowest glitch error power) for each basis length L is shown in Table 3, where the weights in each vector BOPT are normalized by the minimum weight. In each case, it will be apparent that the sum of the normalized weights is 2 8 -l = 255. The optimized basis vectors BOPT in Table 3 are configured to minimize glitch errors caused by timing offset.

Table 3 [0101] It is noted that different simulation parameters may result in different values for the optimized weights BOPT than those provided in Table 3.

[0102] Given the optimized basis vector BOPT and an input sequence x[j], for j = 1..M-1, it is of interest to determine the representations of x[j] that minimize the expected glitch error power caused by timing offsets. The optimized representations WOPT (x[j]) may be determined by solving the expression:

W O p T (x[j]) = argmin J“Zi( c ( x [m - l], x[m])), for j = 0..M-1

W(x[j])

[18]

[0103] As described with respect to Equation 5, various algorithms may be used to solve Equation 18, including for example, the Viterbi algorithm, the greedy best next algorithm, and the single representation algorithm.

[0104] FIGs. 14 and 15 illustrate plots 1400 and 1500 of normalized MSE and SNDR, respectively, due to timing offsets as a function of basis length for several optimized 8-bit DAC architectures in accordance with some examples of the proposed technology, relative to several segmented 8-bit DAC architectures. In each instance, the normalized MSE has been normalized by the MSE associated with a unary-weighted 8-bit DAC.

[0105] The results in FIGs. 14 and 15 were obtained using simulations. The optimized 8-bit DAC architectures used the optimized basis vectors BOPT as provided in Table 3 for basis lengths L = 9, 10, 11, 12, 13, and 14. For each optimized basis vector BOPT, the optimized representations WOPT were determined using three different algorithms: a Viterbi algorithm (VITERBI - diamonds), a greedy best next algorithm (GBN - closed circles), and a single representation algorithm (1 REP - open circles). The MSE and SNDR associated with the various optimized architectures were compared to the MSE and SNDR associated with three different segmented architectures, as described previously with respect to FIGs. 8 and 9.

[0106] As is apparent from FIGs. 14 and 15, an optimized architecture (i.e., having the basis vector BOPT as provided in Table 3, for example) may achieve a lower MSE due to timing offsets and a higher SNDR than a segmented architecture having the same number of switchable current sources, regardless of which technique is used to determine the optimized representations WOPT for the optimized architecture (i.e., Viterbi, GBN, 1 REP). For example, the performance of the 12-switch segmented DAC is exceeded by that of the 12- switch optimized DAC architecture. [0107] It is also apparent from FIGs. 14 and 15 that an optimized architecture may achieve a similar or better performance than a segmented architecture having more switchable current sources. For example, the performance of the 13-switch optimized architecture (when the optimized representations WOPT have been determined using the Viterbi algorithm) exceeds the performance of the 19-switch segmented DAC. Even when the optimized representations WOPT have been determined using less complicated algorithms, the performance of the 19- switch segmented DAC may still be either matched or exceeded by an optimized DAC architecture that comprises fewer switchable current sources.

[0108] The optimized representations WOPT were determined based on modeling of statistical error metrics. However, it is also contemplated that the optimized representations WOPT may be determined using real measurements of timing skew in a given DAC.

[0109] In general, the simulation results plotted in FIGs. 8, 9, 11, 12, 14, and 15 demonstrate that an optimized DAC architecture may achieve similar (or even better) performance than a segmented DAC architecture having more switchable current sources. Expressed differently, an optimized DAC architecture may achieve better performance than a segmented DAC architecture having the same number of switchable current sources.

[0110] In the preceding examples, optimized DAC architectures were determined by minimizing statistical error metrics for glitch errors caused by rise/fall asymmetry or timing skew and current amplitude mismatch errors. It is contemplated that optimized DAC architectures may also be designed based on minimization of additional or alternative error metrics. For example, a statistical error metric may be derived that represents a combination of multiple sources of errors, such as the combined contributions of rise/fall asymmetry and timing skew to glitch errors, and the DAC architecture may be optimized to simultaneously limit both glitch error contributions. In another example, rather than optimizing DAC architectures based on modeling of statistical error metrics, the optimization may be performed on a per-chip or per-device basis using real measurements of errors such as rise/fall asymmetry, current amplitude mismatch, and timing skew.

[0111] While the optimized weights may include some unary weights and/or some binary weights, the optimized weights do not (exclusively) consist of unary weights or binary weights. Nor do the optimized weights (exclusively) consist of a combination of unary weights and binary weights (i.e., a hybrid or segmented architecture). In general, it may be shown that a weight ratio of at least one pair of the weighted current sources in an optimized architecture is a positive real number different from an integer power of two. That is, the pair of weights of at least one pair of weighted current sources has a ratio that differs from 2 K , where K is any whole number (i.e., including zero). It will be apparent that this characteristic necessarily excludes unary-weighting (as illustrated in FIG. 1), binary weighting (as illustrated in FIG. 2), and combined unary/binary weighting (as illustrated in FIG. 3). In contrast, each optimized basis vector BOPT provided in Tables 1, 2, and 3 exhibits this characteristic.

[0112] FIG. 16 illustrates an example method 1600 for digital -to-analog conversion. The method 1600 may be performed by circuitry of an electronic apparatus, such as the optical transmitter 100. For example, aspects of the method 1600 may be implemented within any of the DACs 130, 131, 138, 139.

[0113] At 1602, L signals representing an N-bit digital input are generated based on a mapping, where N and L are positive integers, and where N < L < 2 N -1. For example, the L signals may be generated by circuitry comprising an N-to-L decoder which maps or converts the N-bit digital input to an L-bit representation of the digital input, where the L signals are the L bits output by the N-to-L decoder. For example, the 8-to-9 decoder 610 generates L = 9 signals 608 based on the 8-bit digital input 204. In another example, the 8-to-12 decoder 710 generates L = 12 signals 708 based on the 8-bit digital input 204. According to some examples, the mapping is programmable, such that the manner in which the L output bits represent the N input bits may be selected or modified through programming. The mapping may be stored in circuitry of the DAC.

[0114] At 1604, current flow from L weighted current sources is controlled using the L respective signals generated at 1602, thereby generating an analog output that uniquely represents the N-bit digital input, wherein a weight ratio of a least one pair of the weighted current sources is a positive real number different from an integer power of two. According to some examples, the weighted current sources have weights configured to minimize at least one error metric associated with the analog output. For example, the nine signals 608 control current flow from the nine respective weighted current sources 602 to generate the analog output 606 that uniquely represents the 8-bit digital input 204. In this particular example (illustrated in FIG. 6), the nine weighted current sources have respective weights [1, 2, 4, 8, 16, 31, 43, 69, 81] configured to minimize the MSE caused by rise/fall asymmetry between currents flowing from the weighted current sources. In another example, the weights may be configured to minimize errors caused by amplitude mismatches between currents flowing from the weighted current sources. For example, where the 8-bit DAC architecture of basis length L = 9 is optimized to minimize the MSE caused by current amplitude mismatches, the current weights (basis vector BOPT) may be set as [1, 2, 4, 8, 16, 32, 35, 77, 80], as provided in Table 2. In yet another example, the weights may be configured to minimize glitch errors caused by timing offsets of OFF-to-ON and ON-to-OFF transitions between currents flowing from the weighted current sources. For example, where the 8-bit DAC architecture of basis length L = 9 is optimized to minimize the MSE caused by timing offsets, the current weights (basis vector BOPT) may be set as [1, 2, 4, 8, 16, 31, 43, 69, 81], as provided in Table 3. [0115] According to some examples, the mapping is configured to minimize the error metric associated with the analog output.

[0116] As noted above, the optimized DAC is configured such that the number of switchable current sources L satisfies N < L < 2 N -1. In other words, the optimized DAC has more switches/current sources than a binary-weighted DAC (for which L = N) and has fewer switches/current sources than a unary-weighted (thermometer-coded) DAC (for which L = 2 N -1). Various segmented DACs may also satisfy N < L < 2 N -1 . However, as has been demonstrated herein, segmented DACs do not employ current weights that are configured to minimize errors associated with the analog output. Accordingly, segmented DACs are not able to achieve the advantages of the proposed optimized DAC architectures, in terms of superior performance and/or reduced footprint.

[0117] The technology described thus far may provide for efficient DAC architectures based on the minimization of at least one error metric associated with the analog output of the DAC. According to some examples, the need for low-distortion, low-complexity DACs may alternatively or additionally be addressed by digital pre-compensation of DAC distortion, which will now be described in detail.

[0118] DAC distortions, such as those caused by rise/fall asymmetry, current amplitude mismatches, and timing offsets may be pre-compensated for by digital signal processing performed within the DSP.

[0119] FIG. 17 illustrates a schematic 1700 showing digital pre-compensation of DAC distortion in accordance with some examples of the proposed technology. Within a DSP, such as the DSP 126 in FIG. 1, processing of digital signals is typically performed at a higher resolution than the resolution of the DACs. For example, the DSP 126 may process digital signals at a 12-bit resolution, followed by 8-bit quantization such that the DACs 130, 131, 138, 139 ultimately receive 8-bit digital input signals. Distortion pre-compensation may be implemented with more accuracy at a higher resolution. Consequently, the pre-compensation illustrated in the example schematic 1700 is applied to a digital signal 1702 having a resolution that is greater than N bits. A distortion model 1708 may be used to generate a predicted error signal 1710 from the digital signal 1702. As will be described in more detail with respect to FIGs. 19, 21, 23, and 25, the distortion model 1708 is characterized by parameters configured to model circuit component mismatches in the DAC, including one or more of rise/fall asymmetry, current amplitude mismatches, and timing offsets. According to some examples, the DAC distortion model 1708 may be implemented with the same N-bit resolution as the DAC. Thus, an N-bit quantizer 1704 may be applied to the digital signal 1702, thereby resulting in an N-bit digital signal 1706 being provided to the DAC distortion model 1708. According to some examples, the predicted error signal 1710 generated by the DAC distortion model 1708 may be subtracted from the digital signal 1702 using a difference operation 1712, thereby resulting in a signal 1714. Where the signal 1714 has a resolution greater than N, an N-bit quantizer 1716 may be applied to the signal 1714, thereby generating an N-bit pre-compensated digital signal 1718 that is based on the predicted error signal 1710. It is this N-bit pre -compensated signal 1718 that is provided to the DAC for conversion to an analog signal. For example, where N = 8, the pre-compensated digital signal 1718 may be used as the 8-bit digital input 204 described with respect to any one of FIGs. 2, 3, 4, 6, and 7. [0120] FIG. 18 illustrates a schematic 1800 showing aspects of a signal path between a transmitter device and a receiver device in accordance with some examples of the proposed technology. At the transmitter device, a pre-compensation process 1804 may be performed on a digital signal 1802, thereby generating a pre-compensated digital signal 1806 that is provided to a DAC 1808. The pre-compensation process 1804 may involve the application of the DAC distortion model 1708 and the difference operation 1712. For example, the precompensated digital signal 1806 may correspond to the signal 1718. Using the precompensated digital signal 1806, the DAC 1808 generates an analog signal 1810 that is conveyed by the transmitter device over a communication channel 1812 to the receiver device. For example, referring to the optical transmitter 100, the analog drive signals 132, 133, 140, 141 may be conveyed (via the optical signal 122, transmitted over an optical communication channel) to an optical receiver device. At the receiver device, a Wiener filter 1816 or some other adaptive filter may be applied to a signal 1814 received over the channel 1812, thereby resulting in a filtered signal 1818. The pre-compensation process 1804 may be configured to reduce or compensate for predicted errors in the filtered signal 1818 as a result of circuit component mismatches in the DAC 1808.

[0121] The performance achieved by the pre-compensation process 1804 may depend on the design of the DAC distortion model 1708, including the parameters used to characterize the distortion model, and the values selected for those parameters. The parameters may be configured to model circuit component mismatches in the DAC comprising one or more of rise/fall asymmetry, current amplitude mismatches, and timing offsets. The following description provides examples of various distortion models designed to model these three types of circuit component mismatches, separately, and in combination.

[0122] Pre-compensation of rise/fall asymmetry

[0123] In the absence of the digital pre-compensation process 1804, the predicted error in the filtered signal 1818 at a given time index m as a result of rise/fall asymmetry in the DAC 1808 may be expressed as e Ri [m] « (|c T [m] | * g 01 [m])B

[19] wherein c[m] = W(x[m]) — W(x[m — 1])

[20] wherein go m] = T ON/OFF * f c [m]

[21] and wherein f c [m] = f w [m] * f CH [m] * f DA c[m]

[22] where x[m] denotes the digital signal 1802 at time index m, where W(x[m]) denotes a binary vector of size L which is a function of x[m], where B denotes a basis vector of size L, where TON/OFF denotes the static time offset between the OFF-to-ON transient and the ON-to-OFF transient of the switchable current sources of the DAC 1808, where fw[m] denotes the impulse response of the receiver’s Wiener filter 1816, where fcn[m] denotes the linear impulse response of the channel 1812, where foAc[m] denotes the linear impulse response of the DAC 1808, and where fc[m] denotes a combined linear impulse response. Since Wi(x[m]), Wi(x[m-1]) e {0, 1}, it follows that Ci[m] e {0, +1, -1}, for i = 1..L.

[0124] The digital pre -compensation process 1804 may apply a pre-compensation integer term p[m] to the digital signal 1802, where the term p[m] is selected to minimize the error variance of the fdtered signal 1818 as a result of rise/fall asymmetry. While it possible to calculate p[m] using the Viterbi algorithm, an approximation may be used to simplify the calculation of p[m] . Specifically, it may be assumed that the pre-compensation term at each time index is small relative to the digital signal 1802 at that time index, such that p[m] « x[m] and p[m-l] « x[m-l] . Under this assumption, the problem may be simplified to Po PT [m] « argmin(|e R1 [m] + p[m] | 2 ) p[m]

[23] such that the optimal pre-compensation term poPT[m] may be calculated as p 0PT [m] = round(— e R1 [m])

[24] where “round” denotes rounding to the nearest integer.

[0125] FIG. 19 illustrates a schematic showing a first distortion model 1900 representing rise/fall asymmetry in a DAC in accordance with some examples of the proposed technology. [0126] The first distortion model 1900 is an example of the model 1708. Thus, the signal 1902 is an example of the N-bit digital signal 1706. In the event that the first distortion model 1900 represents distortions in a non-binary DAC (such as a unary DAC or an optimized DAC), an N-to-L decoder 1904 may be applied to the N-bit digital signal 1902, thereby generating L bits 1906 used to control the L weighted current sources of the DAC.

[0127] Each one of the L bits 1906 is processed separately. The LSB, denoted as “Bit 1”, is considered as an example. At any given point in time, the Bit-1 signal 1906 has a value of either zero or one. In order to model rise/fall asymmetry in the DAC, a detector 1908 is configured to detect transitions between zero and one, over time, in the Bit-1 signal 1906. In other words, the detector 1908 is configured to detect two different two-bit sequences within the Bit-1 signal 1906: bit sequence (0, 1) and bit sequence (1, 0). For two sequential bits in the Bit-1 signal 1906 at time indices m and m - 1, the detector 1908 is configured to output a value of “1” if those bits are the sequence (0, 1) or (1, 0), and to output a value of “0” of those bits are the sequence (0, 0) or (1, 1). Thus, the detector 1908 generates, over time, a binary signal 1910 which represents transitions (0-to-l and l-to-0) in the Bit-1 signal 1906. Because rise/fall asymmetry errors are only relevant for transitions between different values in the Bit-1 signal 1906, there is no need for the model 1900 to detect the sequences (0, 0) and (1, 1).

[0128] The signal 1910 may be convolved with filter coefficients goi of a G-tap finite impulse response (FIR) filter, as shown at 1912, thereby resulting in a signal 1914, where G is a positive integer. A multiplication operation 1916 is used to multiply the signal 1914 by the basis vector Bi for the Bit-1 signal 1906, thereby resulting in a signal 1918. A total of L signals 1918 are generated, one for each of the L bits 1906, where the basis vector Bj is used for the Bit-i signal, for i = 1..L, and where the fdter coefficients goi of the same G-tap filter are used for each of the L bits 1906. A summation operation 1920 is applied to the L signals 1918, thereby resulting in a signal 1922 that represents a sum of the L signals 1918. According to some examples, the summation operation 1920 may also add a bias term (not shown) to correct for tones in the DAC output. This bias term will be described in more detail with respect to FIG. 25.

[0129] By appropriate selection of the filter coefficients goi (i.e., the function goi in Equation 21), the distortion model 1900 may be configured such that the signal 1922 represents the error CR I |m I due to rise/fall asymmetry. The signal 1922 is an example of the predicted error signal 1710 generated by the DAC distortion model 1708. As described with respect to FIG. 17, digital pre-compensation is achieved by subtracting the predicted error signal 1710 from the digital signal 1702 (or, equivalently, by adding the pre-compensation term poPT[m] as expressed in Equation 24).

[0130] In order to learn the filter coefficients goi, thereby training the model 1900 such that it may be used for an arbitrary digital input signal, a reference digital signal may be used. The reference signal may be selected such that all the current cells of the DAC 1808 are exercised, and such that an adequate number of 0-to-l transitions and l-to-0 transitions are observed, for example, 100 of each type. In response to inputting the reference signal to the DAC 1808, an error ew[m] may be measured at the output of the Wiener filter 1816. Given the measured error ew[m], it is possible to estimate the filter coefficients goi using the relationship in Equation 19 (with ew[m] in place of CRi[m]).

[0131] While the detector 1908 is configured to detect the two-bit sequences (0, 1) and (1,0), alternative examples are contemplated wherein bit sequences comprising more than two bits are detected using one or more detectors. Such examples will be described further with respect to FIG. 25.

[0132] The detector 1908 is configured to detect both 0-to-l and l-to-0 transitions, thereby resulting in a single binary signal 1910 that is convolved with a single set of filter coefficients goi. However, other examples are contemplated wherein separate detectors are configured to detect 0-to-l and l-to-0 transitions, respectively, thereby resulting in separate, parallel binary signals that are convolved with separate filter coefficients goi and gio, respectively. This alternative design would enable modeling of different settling transients for an OFF-to-ON transition and an ON-to-OFF transition in a given switchable current source.

[0133] FIG. 20 illustrates a plot 2000 of SNDR due to rise/fall asymmetry as a function of the standard deviation of the rise/fall asymmetry normalized by the sampling period T for several DAC architectures with and without pre-compensation in accordance with some examples of the proposed technology.

[0134] The results in FIG. 20 were obtained using simulations. The optimized DAC architecture used the optimized basis vector BOPT as provided in Table 1 for basis length L = 13, and the optimized representations WOPT were determined using a Viterbi algorithm, a greedy best next algorithm, and a single representation algorithm.

[0135] As is apparent from FIG. 20, for each DAC architecture, digital pre-compensation of distortion due to rise/fall asymmetry may achieve an improvement in SNDR. This performance enhancement is achieved when the rise/fall asymmetry error exceeds the resolution of the DAC. As expected, when the error amplitude is smaller than the resolution of the DAC, no performance enhancement is observed. A higher-resolution DAC may benefit more from digital pre-compensation than a lower-resolution DAC. The best performance is achieved by using digital pre-compensation with either the 8-bit unary-weighted DAC or the 8-bit optimized DAC exploiting the Viterbi algorithm.

[0136] Pre-compensation of current amplitude mismatches

[0137] In another example, the pre-compensation process 1804 may be configured to reduce or compensate for predicted errors in the filtered signal 1818 as a result of current amplitude mismatches. In the absence of the digital pre-compensation 1804, the error in the filtered signal 1818 at a given time index m as a result of current amplitude mismatches in the DAC 1808 may be expressed as e R2 [m] « f c [m] * Si J =i W i (x[m])A i

[25] where A denotes the current amplitude mismatch errors of the L switchable current sources. [0138] FIG. 21 illustrates a schematic 2100 showing a second distortion model representing current amplitude mismatches in a DAC in accordance with some examples of the proposed technology.

[0139] The second distortion model 2100 is an example of the model 1708. Thus, the signal 2102 is an example of the N-bit digital signal 1706. In the event that the second distortion model 2100 represents distortions in a non -binary DAC (such as a unary DAC or an optimized DAC), an N-to-L decoder 2104 may be applied to the N-bit digital signal 2102, thereby generating L bits 2106 used to control the L weighted current sources of the DAC. [0140] Each one of the L bits 2106 is processed separately. The LSB, Bit 1, is considered as an example. In order to model current amplitude mismatches in the DAC, a multiplication operation 2108 is used to multiply the Bit-1 signal 2106 by the current amplitude mismatch error Ai for the Bit-1 signal 2106, thereby resulting in a signal 2110 which represents the current error for the switchable current source handling Bit 1. A total of L signals 2110 are generated, one for each of the L bits 2106, where the current error Ai is used for the Bit-i signal, for i = 1..L. A summation operation 2112 is applied to the L signals 2110, thereby resulting in a signal 2114 that represents a sum of the L signals 2110. According to some examples, the summation operation 2112 may also add a bias term (not shown) to correct for tones in the DAC output. This bias term will be described in more detail with respect to FIG. 25. The signal 2114 may be convolved with the combined impulse response fc[m], as shown at 2116, thereby resulting in a signal 2118.

[0141] By appropriate selection of the current amplitude mismatch errors A, the model 2100 may be configured such that the signal 2118 represents the error CR2[m] due to current amplitude mismatches. The signal 2118 is an example of the predicted error signal 1710 generated by the DAC distortion model 1708.

[0142] As described with respect to the model 1900, the model 2100 may be trained using a reference signal. In this case, with knowledge of the combined linear impulse response fc[m], the values of current amplitude mismatch errors A may be estimated using a least-squares minimization expressed as: minimize

[26] where ew[m] denotes the measured error after the Wiener filter 1816 for the reference signal input to the DAC 1808, and where M denotes the length of the reference signal.

[0143] For an arbitrary input digital signal 1802, denoted x, the digital pre-compensation process 1804 may apply a pre-compensation integer term p(x) to the digital signal 1802, where the term p(x) is selected to minimize the error variance of the filtered signal 1818 as a result of current amplitude mismatches. The optimal pre-compensation term POPT(X) may be calculated as

POPT(X) = argmin p(x)

[27] where -x < p(x) < 2 N - 1 - x. The DC effect of the pre-compensation terms may be neglected with minimal performance impact, such that the optimal pre-compensation term may be approximated by the expression

POPT(X) = argmin

[28]

Thus, given the current amplitude mismatch errors A estimated using Equation 25, the optimal pre-compensation terms POPT(X) may be calculated independently for each value of x.

[0144] As described with respect to FIG. 17, digital pre-compensation is achieved by subtracting the predicted error signal 1710 from the digital signal 1702 (or, equivalently, by adding the pre-compensation term POPT(X)). The pre-compensation terms POPT(X) may be stored in a LUT of size 2 N .

[0145] FIG. 22 illustrates a plot 2200 of SNDR due to current amplitude mismatches as a function of the standard deviation of the current amplitude mismatches for several optimized DAC architectures with and without pre-compensation in accordance with some examples of the proposed technology.

[0146] The results in FIG. 22 were obtained using simulations (statistical selection) and DAC-specific measurements (optimal mapping). The optimized DAC architecture used the optimized basis vector BOPT as provided in Table 2 for basis length L = 12. [0147] As is apparent from FIG. 22, digital pre -compensation of distortion due to current amplitude mismatches may achieve an improvement in SNDR. This performance enhancement is achieved when the current amplitude mismatch standard deviation exceeds half an LSB. The improvement achieved by the digital pre-compensation may be increased if the pre-compensation term is applied to a higher-resolution version of the digital input signal, prior to N-bit quantization.

[0148] Pre-compensation of timing offsets

[0149] In yet another example, the pre-compensation process 1804 may be configured to reduce or compensate for predicted errors in the filtered signal 1818 as a result of timing offsets. In the absence of the digital pre-compensation 1804, the predicted error in the filtered signal 1818 at a given time index m as a result of timing offsets in the DAC 1808 may be expressed as wherein gi.o m] = Tj[m] * f c [m]

[30] where Ti denotes the timing offset associated with the i th switch, where i = 1..L, and fc[m] denotes the combined linear impulse response expressed in Equation 22.

[0150] FIG. 23 illustrates a schematic 2300 showing athird distortion model representing timing offsets in a DAC in accordance with some examples of the proposed technology. [0151] The third distortion model 2300 is an example of the model 1708. Thus, the signal 2302 is an example of the N-bit digital signal 1706. In the event that the third distortion model 2300 represents distortions in a non-binary DAC (such as a unary DAC or an optimized DAC), an N-to-L decoder 2304 may be applied to the N-bit digital signal 2302, thereby generating L bits 2306 used to control the L weighted current sources of the DAC. [0152] Each one of the L bits 2306 is processed separately. The LSB, Bit 1, is considered as an example. At any given point in time, the Bit-1 signal 2306 has a value of either zero or one. In order to model timing offsets in the DAC, a detector 2308 is configured to detect transitions between zero and one, over time, in the Bit-1 signal 2306. Thus, similarly to the detector 1908, the detector 2308 generates, over time, a binary signal 2310 which represents transitions (0-to-l and l-to-0) in the Bit-1 signal 2306. Because rise/fall asymmetry errors are only relevant for transitions between different values in the Bit-1 signal 2306, there is no need for the model 2300 to detect the sequences (0, 0) and (1, 1).

[0153] The signal 2306 may be convolved with filter coefficients g I .OI of a G-tap FIR filter, as shown at 2312, thereby resulting in a signal 2314, where G is a positive integer. A multiplication operation 2316 is used to multiply the signal 2314 by the basis vector Bi for the Bit-1 signal 2306, thereby resulting in a signal 2318. A total ofL signals 2318 are generated, one for each of the L bits 2306, where filter coefficients gi.o i of a distinct G-tap filter are used for the Bit-i signal, and where the basis vector Bj is used for the Bit-i signal, for i = 1..L. A summation operation 2320 is applied to the L signals 2318, thereby resulting in a signal 2322 that represents a sum of the L signals 2318. According to some examples, the summation operation 2320 may also add a bias term (not shown) to correct for tones in the DAC output. This bias term will be described in more detail with respect to FIG. 25.

[0154] By appropriate selection of the filter coefficients gi,oi, the model 2300 may be configured such that the signal 2322 represents the error CR3[m] due to timing offsets. Thus, as expressed in Equation 30, the filter coefficients gi.o i may be understood as corresponding to the product of fc[m] and Ti. The signal 2322 is an example of the predicted error signal 1710 generated by the DAC distortion model 1708.

[0155] As described previously with respect to the models 1900 and 2100, the model 2300 may be trained using a reference signal. In this case, the filter coefficients g L oi |m | may be estimated using a least-squares minimization expressed as: minimize gl,01. -gL,01

[31] where ew[m] denotes the measured error after the Wiener filter 1816 for the reference signal input to the DAC 1808, and where M denotes the length of the reference signal.

[0156] The estimates of the functions gi.oi |m| for i = 1..L may then be used to obtain estimates of CR3[m] using Equation 29. As previously described with respect to Equations 23 and 24, the optimal pre-compensation term poPT[m] may be approximated as the negated predicted error eR3[m].

[0157] While the detector 2308 is configured to detect the two-bit sequences (0, 1) and (1,0), alternative examples are contemplated wherein bit sequences comprising more than two bits are detected using one or more detectors. Such examples will be described further with respect to FIG. 25.

[0158] The detector 2308 is configured to detect both 0-to-l and l-to-0 transitions in the Bit-1 signal 2306, thereby resulting in a single binary signal 2310 that is convolved with a single set of filter coefficients gi,oi- However, other examples are contemplated wherein separate detectors are configured to detect 0-to-l and l-to-0 transitions, respectively, thereby resulting in separate, parallel binary signals that are convolved with separate filter coefficients gi.oi and gi,io, respectively. This alternative design would enable modeling of different settling transients for an OFF-to-ON transition and an ON-to-OFF transition in a given switchable current source.

[0159] FIG. 24 illustrates a plot 2400 of SNDR due to timing offsets as a function of the standard deviation of the timing offsets normalized by the sampling period T for several optimized DAC architectures with and without pre-compensation in accordance with some examples of the proposed technology.

[0160] The results in FIG. 24 were obtained using simulations. The optimized DAC architectures used the optimized basis vectors BOPT as provided in Table 3 for basis lengths L = 9 and L = 12, and the optimized representations WOPT were determined using a single representation algorithm.

[0161] As is apparent from FIG. 24, digital pre-compensation of distortion due to timing offsets may achieve an improvement in SNDR. This performance enhancement is achieved when the timing offset standard deviation exceeds the resolution of the DAC.

[0162] Pre-compensation of rise/fall asymmetry, current amplitude mismatches, and timing offsets

[0163] The DAC distortion models 1900, 2100, and 2300 separately model rise/fall asymmetry, current amplitude mismatches, and timing offsets, respectively. It is also possible to design a model that represents a combination of DAC distortions.

[0164] In the absence of the digital pre-compensation process 1804, the error in the filtered signal 1818 at a given time index m as a result of rise/fall asymmetry, current amplitude mismatches, and timing offsets in the DAC 1808 may be expressed as wherein r r i > (1, if Wj(x[m - 1]) = k AND Wj(x[m] = Z) i' ki LmJ - ( 0, otherwise.

[33]

The functions g L oi |m| and g t io|m | represent rise/fall asymmetry and timing offsets, which are only in effect when there is a 0-to-l transition or a l-to-0 transition. The function gi n[m] represents current amplitude mismatches, which are only in effect when there is a 1-to-l transition.

[0165] The predicted error CR[m] in Equation 32 only considers bit sequences of length

J = 2. However, for a higher speed DAC with limited bandwidth, it may be advantageous to bit sequences comprising more than two bits. For example, where the model considers bit sequences of length J = 3, the error in the fdtered signal 1818 may be expressed as wherein r i fl, if Wj(x[ - 1]) = j AND Wj(x[m]) = k AND Wj(x[m + 1] = Z) Ci 'i ki LmJ - ( 0, otherwise.

[35]

The functions gi,ooo[m] and gi,m[m] represent current amplitude mismatches, which are only in effect when the bit sequence is (0, 0, 0) or (1, 1, 1), while the remining six functions represent rise/fall asymmetry and timing offsets, which are only in effect when the bit sequence is (0, 0, 1), (1, 1, 0), (0, 1, 0), (1, 0, 1), (0, 1, 1), or (1, 0, 0).

[0166] The DAC output may comprise dominant tones at fs/2 and fs/4, where fs denotes the sampling frequency. In order to correct for these tones, a bias term may be added to each modulo-4 phase of the result in Equation 34, such that the predicted error is expressed as

[0167] FIG. 25 illustrates a schematic 2500 showing a fourth distortion model representing rise/fall asymmetry, current amplitude mismatches, and timing offsets in a DAC in accordance with some examples of the proposed technology. [0168] The fourth distortion model 2500 is an example of the model 1708. Thus, the signal 2502 is an example of the N-bit digital signal 1706. In the event that the fourth distortion model 2500 represents distortions in a non-binary DAC (such as a unary DAC or an optimized DAC), an N-to-L decoder 2504 may be applied to the N-bit digital signal 2502, thereby generating L bits 2506 used to control the L weighted current sources of the DAC. [0169] Each one of the L bits 2506 is processed separately. The LSB, Bit 1, is considered as an example. At any given point in time, the Bit-1 signal 2506 has a value of either zero or one. As previously described with respect to the models 1900 and 2300, rise/fall asymmetry and timing offsets may be modeled using a detector configured to detect transitions between zero and one, over time, in the Bit-1 signal (i.e., two-bit sequences (0, 1) and (1, 0)). However, more accurate modeling of the DAC distortions may be achieved by using detectors configured to detect sequences of more than two bits. For example, the model 2500 uses four detectors 2508, 2510, 2512, and 2514 to detect three-bit sequences in the Bit-1 signal 2506. Specifically, the detector 2508 is configured to generate a binary signal 2516 representing the presence of the three-bit sequences (0, 0, 1) and (1, 1, 0); the detector 2510 is configured to generate a binary signal 2518 representing the presence of the three-bit sequences (0, 1, 0) and (1, 0, 1); the detector 2512 is configured to generate a binary signal 2520 representing the presence of the three-bit sequences (0, 1, 1) and (1, 0, 0); and the detector 2514 is configured to generate a binary signal 2522 representing the presence of the three-bit sequences (0, 0, 0) and (1, 1, 1).

[0170] The signals 2516, 2518, 2520, and 2522 may be convolved with respective filter coefficients gi,ooi, gi,oio> gi,on, and gi,ooo of four G-tap FIR filters, as shown at 2524, 2526, 2528, and 2530, respectively, where G is a positive integer, thereby resulting in respective signals 2532, 2534, 2536, and 2538. A summation operation 2540 may be applied to the signals 2532, 2534, 2536, and 2538, thereby resulting in a signal 2542. A multiplication operation 2544 is used to multiply the signal 2542 by the basis vector Bi for the Bit-1 signal 2506, thereby resulting in a signal 2546. A total of L signals 2546 are generated, one for each of the L bits 2506, where the filter coefficients gi,ooi, gi,oio, gi,on, and gi.ooo of a distinct set of G-tap filters are used for the Bit-i signal, and where the basis vector Bi is used for the Bit-i signal, for i = 1..L. A summation operation 2548 is applied to the L signals 2546 and to a bias term 2550, thereby resulting in a signal 2552 that represents a sum of the L signals 2546 and the bias term 2550. [0171] By appropriate selection ofthe filter coefficients gi,ooi, gi.oio, gi,on, and gi,ooo> the model 2500 may be configured such that the signal 2552 represents the error CR[m] due to on/off asymmetry, current amplitude mismatches, and timing offsets. The signal 2552 is an example of the predicted error signal 1710 generated by the DAC distortion model 1708. [0172] The model 2500 may be trained using a reference signal. As described previously, the reference signal may be selected such that all the current cells of the DAC are exercised, and such that an adequate number of each type of three-bit sequence is observed, for example, 100 of each type. In the case of the model 2500, the filter coefficients gi,ooi[m], gi,oio[m], gi ; on[m], and gi,ooo[m], and the bias term b m mod 4 may be estimated using the 12- norm (or Euclidean norm) minimization expressed as: minimize

&b

2 e w [m] [37] where e [m] denotes the measured error after the Wiener filter 1816 for the reference signal input to the DAC 1808, and where M denotes the length of the reference signal.

[0173] The estimates of the functions gi,ooi[m], gi,oio[m], gi,on[m], and gi^ooCm] for i = 1 ..L and the estimate of the bias term b m mod 4 may then be used to obtain estimates of eR[m] using Equation 36. As previously described, the optimal pre -compensation term poPT[m] may be approximated as the negated predicted error eR[m] .

[0174] While the detectors 2508, 2510, 2512, and 2514 are configured to detect three -bit sequences, alternative examples are contemplated wherein bit sequences comprising more than three bits (or fewer, i.e., two bits) are detected using a plurality of detectors.

[0175] Each ofthe detectors 2508, 2510, 2512, and 2514 is configured to detect two different three-bit sequences. For example, the detector 2508 is configured to detect both the sequence (0, 0, 1) and the sequence (1, 1, 0) in the Bit-1 signal 2306, thereby resulting in a single binary signal 2516 that is convolved with a single set of filter coefficients gi,ooi- However, other examples are contemplated wherein separate detectors are configured to detect the sequence (0, 0, 1) and the sequence (1, 1, 0), respectively, thereby resulting in separate, parallel binary signals that are convolved with separate filter coefficients gi,ooi and gi ioo, respectively. This alternative design would enable modeling of different settling transients for an OFF-to-ON transition and an ON-to-OFF transition in a given switchable current source.

[0176] FIG. 26 illustrates a plot 2600 of SNDR due to rise/fall asymmetry, current amplitude mismatches, and timing offsets as a function of the standard deviation of the timing offsets normalized by the sampling period T for several DAC architectures with and without pre-compensation in accordance with some examples of the proposed technology. [0177] The results in FIG. 26 were obtained using simulations with T O N/OFF/T = 0.01 and os = 0.05. The binary results were obtained using the 8-bit binary DAC architecture 300, while the segmented results were obtained using the 8-bit segmented DAC architecture 400. [0178] As is apparent from FIG. 26, digital pre-compensation using the model 2500 may achieve an improvement in SNDR.

[0179] FIG. 27 illustrates an example method 2700 for digital pre-compensation of distortion in a DAC in accordance with some examples of the proposed technology. The method 2700 may be performed by circuitry of an electronic apparatus, such as the optical transmitter 100. For example, aspects of the method 2700 may be implemented within the DSP 126.

[0180] At 2702, a predicted error signal is generated by applying a distortion model to a digital signal, where the distortion model is characterized by parameters configured to model circuit component mismatches in a DAC. For example, the predicted error signal 1922 is generated by applying the distortion model 1900 to the digital signal 1902; the predicted error signal 2118 is generated by applying the distortion model 2100 to the digital signal 2102; the predicted error signal 2322 is generated by applying the distortion model 2300 to the digital signal 2302; and the predicted error signal 2552 is generated by applying the distortion model 2500 to the digital signal 2502. The parameters may comprise, for example, coefficients of the plurality of FIR filters. For example, the filter coefficients goi (FIG. 19), gi,oi (FIG. 23), and gi,ooi, gi,oio, gi,on, gi,ooo (FIG. 25) are examples of parameters configured to model circuit component mismatches in a DAC. The current amplitude mismatches A (FIG. 21) are also examples of such parameters.

[0181] There are various types of DAC component mismatches from which signaldependent errors/distortions may originate. For example, where the DAC comprises a plurality of weighted current sources, the circuit component mismatches may comprise one or more of rise/fall asymmetry between currents flowing from the weighted current sources; amplitude mismatches between currents flowing from the weighted current sources; and timing offsets of OFF-to-ON and ON-to-OFF transitions between currents flowing from the weighted current sources.

[0182] According to some examples, the distortion model comprises a plurality of detectors, where each detector is configured to detect sequences of J bits in the digital signal, wherein J > 2, and wherein each bit is selected from 0 and 1. Examples of the detectors include the detectors 1908 and 2308, which are configured to detect two-bit sequences, and the detectors 2508, 2510, 2512, and 2514 which are configured to detect three-bit sequences.

[0183] According to some examples, the distortion model is further characterized by a bias term configured to correct for predicted tones in the analog signal, such as the bias term 2550. [0184] At 2704, a pre-compensated digital signal is generated using the digital signal and the predicted error signal generated at 2702. According to some examples, the precompensated digital signal is generated based on a difference between the digital signal and the predicted error signal. According to some examples, the pre -compensated digital signal comprises N bits per sample and the digital signal comprises more than N bits per sample, where N is a positive integer. According to some examples, the distortion model is applied to the digital signal at a resolution of N bits per sample. For example, as described with respect to FIG. 17, the pre-compensated digital signal 1718 is generated using the digital signal 1702 and the predicted error signal 1710. The pre-compensated digital signal 1718 is generated based on the difference between the digital signal 1702 and the predicted error signal 1710 (using the difference operation 1712). In this example, the N-bit quantizer 1716 ensures that the pre-compensated digital signal 1718 comprises N bits per sample, while the digital signal 1702 comprises more than N bits per sample. The N-bit quantizer 1704 ensures that the distortion model 1708 is applied at a resolution of N bits per sample.

[0185] At 2706, the pre-compensated digital signal generated at 2704 is provided to the DAC for conversion into an analog signal.

[0186] According to some examples, the method 2700 may be implemented in combination with the method 1600. For example, the pre-compensated digital signal generated at step 2704 in the method 2700 may comprise the same digital signal used at step 1602 in the method 1600. In other words, the DAC to which the pre -compensated digital signal is provided at 2706 may comprise a plurality of weighted current sources, wherein a weight ratio of at least one pair of the weighted current sources is a positive real number different from an integer power of two.

[0187] The scope of the claims should not be limited by the details set forth in the examples, but should be given the broadest interpretation consistent with the description as a whole.