Digital-to-analog converter and method of operation thereof

The digital-to-analog converter addresses INL and SFDR issues by using a random number generator to dynamically adjust current source selection, improving performance through reduced spurious interference.

JP7540020B2Active Publication Date: 2024-08-26GLOBAL UNICHIP CORPORATION +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2023007730
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2022-08-24
Filing Date
2023-01-23
Publication Date
2024-08-26
Estimated Expiration
2043-01-23

AI Technical Summary

Technical Problem

Traditional digital-to-analog converters suffer from mismatched current values in internal current sources, leading to integral nonlinearity (INL) and spurious free dynamic range (SFDR) issues due to spurious component interference.

Method used

A digital-to-analog converter incorporating a current source module, decoder, change indicator, and random number generator, which uses a random number signal to generate an instruction signal that dynamically adjusts the selection of current sources, reducing spurious component interference and improving INL and SFDR performance.

Benefits of technology

The proposed solution effectively minimizes the impact of spurious component interference, resulting in improved INL and SFDR performance by randomly shifting the selection of current sources, thereby enhancing the quality of the analog output signal.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007540020000011
    Figure 0007540020000011
  • Figure 0007540020000009
    Figure 0007540020000009
  • Figure 0007540020000003
    Figure 0007540020000003
Patent Text Reader

Abstract

To provide a digital-to-analog converter for improving poor performance in integration nonlinearity and a spurious-free dynamic range, and a method of operating the same.SOLUTION: A digital-to-analog converter includes a current source module, a decoder, a change indicator, and a random number generator. The decoder is coupled to the current source module and receives a digital input signal. The change indicator is coupled to the decoder and provides an indication signal to the decoder. The random number generator is coupled to the change indicator and provides a random number signal to the change indicator. The change indicator generates an indication signal according to the random number signal, and the decoder generates a control signal to the current source module according to the digital input signal and the indication signal. Therefore, the current source module generates an analog output signal corresponding to the digital input signal according to the control signal.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to converters, and more particularly to digital-to-analog converters and methods of operation thereof. [Background technology]

[0002] A common problem of conventional digital-to-analog converters (DACs) is that the current values ​​generated by the multiple internal current sources are inevitably inconsistent, and as a result, the analog signal output by the digital-to-analog converter has the effect of spurious component interference. For example, assuming that the current value provided by at least one of the multiple internal current sources of the digital-to-analog converter is significantly higher or lower, the digital-to-analog converter may show obvious numerical anomalies in some signals of the multiple analog signals sequentially output by the digital-to-analog converter in successive (operational) cycles, which will cause the digital-to-analog converter to have poor performance in integral nonlinearity (INL) and spurious-free dynamic range (SFDR). Summary of the Invention [Problem to be solved by the invention]

[0003] The present invention provides a digital-to-analog converter and an operating method thereof that can improve poor performance in integral nonlinearity (INL) and spurious-free dynamic range (SFDR) and achieve good digital-to-analog conversion function. [Means for solving the problem]

[0004] The digital-to-analog converter of the present invention includes a current source module, a decoder, a change indicator, and a random number generator. The decoder is coupled to the current source module and receives a digital input signal. The change indicator is coupled to the decoder and provides an indication signal to the decoder. The random number generator is coupled to the change indicator and provides a random number signal to the change indicator. The change indicator generates an indication signal according to the random number signal, and the decoder generates a control signal to the current source module according to the digital input signal and the indication signal, so that the current source module generates an analog output signal corresponding to the digital input signal according to the control signal.

[0005] The operating method of the digital-to-analog converter of the present invention includes the following steps: providing a random number signal through a random number generator, generating an indication signal according to the random number signal through a change indicator, receiving a digital input signal and an indication signal through a decoder, generating a control signal for a current source module through the decoder according to the digital input signal and the indication signal, and generating an analog output signal corresponding to the digital input signal through the current source module according to the control signal. Effect of the Invention

[0006] Based on the above, the digital-to-analog converter and its operating method of the present invention generate an indication signal by using a random number signal, and use a decoder to generate a control signal according to the digital input signal and the indication signal, so that the analog output signal generated by the current source module according to the control signal can be less affected by spurious component interference.

[0007] In order to make the above mentioned features and advantages of the present invention more comprehensible, the following embodiments are given and described in detail in conjunction with the accompanying drawings as follows. [Brief description of the drawings]

[0008] [Figure 1] 1 is a circuit schematic diagram of a digital-to-analog converter according to an embodiment of the present invention; [Diagram 2] 4 is a flow chart of a method of operating a digital-to-analog converter according to an embodiment of the present invention. [Diagram 3] FIG. 2 is a circuit schematic diagram of a random number generator according to one embodiment of the present invention. [Figure 4] 2 is a circuit schematic diagram of a change indicator according to one embodiment of the present invention; [Diagram 5] 5 is a schematic waveform diagram of a random number signal and an output signal generated by the change indicator of FIG. 4. [Figure 6] FIG. 2 is a circuit schematic diagram of a decoder and current source module according to one embodiment of the present invention. [Figure 7A] FIG. 2 illustrates an exemplary operation of a digital-to-analog converter according to one embodiment of the present invention. [Figure 7B] FIG. 4 illustrates an exemplary operation of a digital-to-analog converter in accordance with another embodiment of the present invention. [Figure 8A] FIG. 4 illustrates an exemplary operation of control signals according to one embodiment of the present invention. [Figure 8B] FIG. 4 illustrates an exemplary operation of control signals according to one embodiment of the present invention. [Figure 8C] FIG. 4 illustrates an exemplary operation of control signals according to one embodiment of the present invention. [Figure 8D] FIG. 4 illustrates an exemplary operation of control signals according to one embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] In order to facilitate understanding of the contents of the present invention, the following specific embodiments are viewed as examples in which the present invention can be actually implemented. In addition, where possible, elements / components / steps using the same reference numbers in the drawings and embodiments represent the same or similar parts.

[0010] FIG. 1 is a schematic circuit diagram of a digital-to-analog converter according to an embodiment of the present invention. Referring to FIG. 1, a digital-to-analog converter (DAC) 100 includes a decoder 110, a random number generator 120, a change indicator 130, and a current source module 140. In this embodiment, the decoder 110 is coupled to the change indicator 130 and the current source module 140. The random number generator 120 is coupled to the change indicator 130. In this embodiment, the random number generator 120 can provide a random number signal RNS to the change indicator 130, so that the change indicator 130 can generate an indication signal SP according to the random number signal RNS. It should be noted that the change indicator 130 in this embodiment may directly transmit a signal or provide multiple sets of simplified indication signals SP through logical operations, and the present invention does not limit the signal implementation of the indication signal SP. The decoder 110 may receive the digital input signal Din and the indication signal SP provided by the change indicator 130 to generate a corresponding control signal CS for the current source module 140. The current source module 140 can generate a corresponding analog output signal Aout according to the control signal CS. In this embodiment, the digital input signal Din can include, for example, a code corresponding to at least one of a thermometer code and a binary code, but the present invention is not limited thereto. The digital-to-analog converter 100 of this embodiment can implement a digital-to-analog converter with a random shift dynamic element matching (RS-DEM) function.

[0011] In this embodiment, the decoder 110 may be a dynamic element matching (DEM) decoder. In this embodiment, the random number generator 120 may be a pseudorandom number generator (PRNG) or other type of random number generator, and the generated random number signal may include, for example, a pseudorandom binary sequence (PRBS). In this embodiment, the current source module 140 may further include a plurality of current source sets, which in turn may form a current source array, for example, a 1×M current source array, an N×M current source array, or a multi-dimensional current source array, where M and N are positive integers. Also, in this embodiment, the digital-to-analog converter 100 may be, for example, a binary-weighted digital-to-analog converter (binary-weighted DAC) (controlled by a binary code) or a segmented digital-to-analog converter (segmented DAC) (controlled by a binary code and a thermometer code). In one embodiment, when the digital-to-analog converter 100 is implemented by a segmented digital-to-analog converter circuit structure, the current values ​​of the output currents supplied by the current sources controlled by the thermometer codes may be substantially identical.

[0012] In this embodiment, the decoder 110 can determine the amount of current sources to be enabled (turned on) in the current source module 140 according to the digital input signal Din, and can also determine the current source objects to be enabled according to the instruction signal SP. It should be noted that the instruction signal SP can instruct different current source objects to provide current output according to cycle changes. Furthermore, since the instruction signal SP is generated according to the random number signal RNS, the instruction signal SP may have a random instruction change. For example, in the first cycle, the instruction signal SP can instruct the first current source, the second current source, and the third current source to provide a current output. Then, in the second cycle, the instruction signal SP can instruct the second current source, the third current source, and the fourth current source to provide a current output. Then, in the third cycle, the instruction signal SP can still instruct the second current source, the third current source, and the fourth current source to provide a current output. In other words, the designated current source object to be enabled has a non-fixed change result (the selection is not necessarily started from the next current source in order, and the specific operation will be described in detail in the following embodiment). In this way, the current source module 140 of this embodiment can effectively output the analog output signal Aout corresponding to the digital value of the digital input signal Din, and can have less influence of spurious component interference, thereby having better performance in integral nonlinearity (INL) and spurious free dynamic range (SFDR).

[0013] FIG. 2 is a flowchart of an operation method of a digital-analog converter according to an embodiment of the present invention. With reference to FIG. 1 and FIG. 2, the digital-analog converter 100 can execute, for example, the following steps S210 to S250. In this embodiment, the digital-analog converter 100 can receive a digital input signal Din in one (operation) cycle. In step S210, the digital-analog converter 100 can provide a random number signal RNS via the random number generator 120. Note that in this embodiment, the random number signal RNS may be configured, for example, with randomly generated pulse waveforms corresponding to different periods, and, for example, when a pulse waveform is generated, it represents a value of "1", and when a pulse waveform is not generated, it represents a value of "0".

[0014] In step S220, the digital-to-analog converter 100 can generate an indication signal SP according to the random number signal RNS via the change indicator 130. In this embodiment, the change indicator 130 can determine whether the initial selection value of the indication signal SP is the same as the initial selection value of the previous cycle or different from the initial selection value of the previous cycle according to the random number signal RNS. In this embodiment, the random number signal RNS may be a 1-bit signal. If the change indicator 130 determines according to the random number signal RNS that the initial selection value of the indication signal SP is different from the initial selection value of the previous cycle (the random number signal RNS has a value of, for example, "1" in this cycle), the initial selection value of the change indicator 130 is the result of adding 1 to the initial selection value of the previous cycle. If the change indicator 130 determines according to the random number signal RNS that the initial selection value of the indication signal SP is the same as the initial selection holding value of the previous cycle (the random number signal RNS has a value of, for example, "0" in this cycle), the initial selection value of the change indicator 130 is the initial selection value of the previous cycle. It should be noted that the change indicator 130 can directly implement the above process, or can be combined with inverters, delay circuits or other related circuits to simultaneously generate multiple different groups of indication signals SP with random changes.

[0015] In step S230, the digital-analog converter 100 can receive the digital input signal Din and the instruction signal SP through the decoder 110. In step S240, the digital-analog converter 100 can generate a control signal CS to the current source module 140 through the decoder 110 according to the digital input signal Din and the instruction signal SP. When the value corresponding to the code of the digital input signal Din is zero, the amount of the current source to be enabled can also be zero (not limited to zero, but a fixed offset value designed by a designer is also allowed). In this embodiment, the decoder 110 can determine the amount of the current source to be enabled according to the value corresponding to the code of the digital input signal Din (e.g., a decimal value, but the present invention is not limited to this type of value). Meanwhile, the decoder 110 can not only select multiple required current sources from the fixed current sources as the initial selection object, but also determine one of the multiple current sources in the current source module 140 according to the initial selection value of the instruction signal SP. For example, the present embodiment may select one of the multiple current sources in the current source module 140 as an initial selection target through an initial selection value of the instruction signal SP, and sequentially select other current sources based on the initially selected current source according to the amount of the current source to be enabled, thereby enabling the selected current sources to provide a current output. Thus, the decoder 110 may generate a control signal CS according to the amount of the current sources to be enabled and the initial selection value. In the present embodiment, the control signal CS may include, for example, multiple enable signals (or switch changeover signals) for enabling (or turning on) at least one of the multiple corresponding current sources in the current source module 140.

[0016] In step S250, the digital-to-analog converter 100 may generate an analog output signal Aout corresponding to the digital input signal Din through the current source module 140 according to the control signal CS. In this embodiment, multiple enabled current sources in the current source module 140 can provide current output, and the current source module 140 can output the currents of these randomly enabled current sources to be synthesized (adding current values), so as to generate an analog output signal Aout (i.e., the result of adding current values ​​corresponding to the current outputs of the enabled current sources). In this way, the operation method and the digital-to-analog converter 100 of this embodiment can generate an analog output signal Aout with better INL and SFDR. In this embodiment, it is also possible that multiple current sources of the current source module 140 are not enabled. The amount of current sources to be enabled is determined according to a value corresponding to the code of the digital input signal Din.

[0017] FIG. 3 is a schematic circuit diagram of a random number generator according to an embodiment of the present invention. FIG. 3 provides an example of the random number generator 120 in an embodiment of the present invention, which is a 7-bit pseudo-random number generator and has one output bit as a random number signal RNS. Specifically, the random number generator 120 in FIG. 3 includes a plurality of shift registers 310-1 to 310-8 and a logic gate 320. The shift registers 310-1 to 310-8 are realized by D-type flip-flops. The shift registers 310-1 to 310-7 each have output terminals D1 to D7, a timing terminal, and an input terminal. The timing terminals of the shift registers 310-1 to 310-8 are coupled to a clock signal CLK. The output terminal of the shift register 310-8 generates the random number signal RNS. The shift registers 310-1 to 310-7 are connected in series. The logic gate 320 can be an XOR gate or an XNOR gate, and the logic gate 320 is configured to feed back signals of some output terminals of the shift registers 310-1 to 310-7 (for example, output terminals D6 and D7 of the shift registers 310-6 to 310-7 in FIG. 3) to the first stage input terminals of the shift registers 310-1 to 310-7 (i.e., the shift register 310-1). The "7-bit" pseudorandom number generator means that the random number generator 120 has seven 1-bit shift registers to generate the random number signal RNS. In the sense of a 7-bit pseudorandom number generator, the signal pattern of the output random number signal RNS will be repeated after 127 cycles. Note that those who apply this embodiment may adjust the number of shift registers in the random number generator 120 in FIG. 3 to adjust the internal bit number according to their own needs, for example, to a 5-bit, 8-bit, 16-bit, etc. random number generator 120. In the present embodiment, the random number signal RNS provided by the final stage (ie, the shift register 310-8) of the shift registers 310-1 to 310-7 in the random number generator 120 is a 1-bit signal.

[0018] FIG. 4 is a schematic circuit diagram of a change indicator 130 according to an embodiment of the present invention. Referring to FIG. 4, this embodiment is an exemplary embodiment of the change indicator of the present invention. In this embodiment, the change indicator 130 may include a plurality of D-type flip-flops 131_P, 131_1 to 131_(P-1) arranged in sequence, where P is a positive integer. In this embodiment, the input terminal IN of each of the D-type flip-flops 131_1 to 131_P is coupled to the corresponding output terminal OUT of the previous stage D-type flip-flop. The clock input terminal CK of each of the D-type flip-flops 131_1 to 131_P receives a clock signal RNS_P according to the random number signal RNS. The clock signal RNS_P is generated according to the random number signal RNS shown in FIG. The reset terminal RE of each of the D-type flip-flops 131_2 to 131_P receives a reset signal RS, and the setting terminal SET of the D-type flip-flop 131_1 (first stage) receives the reset signal RS. In this embodiment, the output terminal OUT of the D-type flip-flop 131_1 (first stage) outputs an output signal EN_1 having a corresponding pulse waveform (which can be represented by a value "1"). The instruction signal SP in this embodiment is composed of output signals EN_1 to EN_P at the output terminals OUT of the D-type flip-flops 131_2 to 131_P described below.

[0019] The output signals EN_1 to EN_P of the D-type flip-flops 131_1 to 131_P may be sequentially arranged to form an indication signal SP, and an initial selection value of the indication signal SP is determined by the stage number corresponding to the output signal having a corresponding pulse waveform (which may be represented by a value "1"). That is, the indication signal SP in this embodiment is composed of the output signals EN_1 to EN_P, i.e., the indication signal SP=[EN_P, EN_(P-1), ... EN_1].

[0020] In this embodiment, the number of D-type flip-flops 131_1 to 131_P may correspond to the amount of current sources. For example, for a 1×M current source array, P is equal to M. In another example, for an N×M current source array, the N×M current source array can be divided into two groups for two-dimensional control. One group P is equal to N and is matched with an internal circuit to control the shift behavior of N columns, and the other group P is equal to M and is matched with an internal circuit to control the shift behavior of M rows. Furthermore, the D-type flip-flops 131_1 to 131_P may be applied to a current source array with more dimensions (e.g., three or more dimensions).

[0021] For example, when the change indicator 130 starts to operate, in the first cycle, the reset signal RS may have a start signal (represented by a value of "1"), the output terminal of the D-type flip-flop 131_1 may output an output signal EN_1 having a corresponding pulse waveform (represented by a value of "1"), and the output signals EN_2-EN_P of the D-type flip-flops 131_2-131_P do not have a pulse waveform (represented by a value of "0"). That is, in the first cycle as the reset phase or initial phase, the output signal EN_1 is set to a value of "1", and the output signals EN_2-EN_P are set to a value of "0". Thus, in the first cycle, the indication signal SP may have a signal waveform corresponding to a value "000000...001", and the corresponding decimal value may be "1" (the value type of the indication signal SP of the present invention is not limited to this).

[0022] In the second cycle, if the output terminal of the D-type flip-flop 131_2 receives the output signal EN_1 of the previous stage D-type flip-flop 131_1 (which may be represented by a value of "1") and the clock signal RNS_P may have, for example, a pulse waveform (which may be represented by a value of "1" in the random number signal RNS), the output terminal of the D-type flip-flop 131_2 may output an output signal EN_2 having a corresponding pulse waveform (which may be represented by a value of "1"), and the output signals EN_1 and EN_3 to EN_P of the D-type flip-flops 131_1 and 131_3 to 131_P do not have a pulse waveform (which may be represented by a value of "0"). Thus, in the second cycle, the instruction signal SP may have a signal waveform corresponding to a value "000000...010", and the corresponding decimal point is "2".

[0023] Conversely, in the second cycle, if the output terminal of the D-type flip-flop 131_2 receives the output signal EN_1 (which may be represented by a value of "1") of the previous stage D-type flip-flop 131_1 and the clock signal RNS_P does not have, for example, a pulse waveform (which may be represented by a value of "0" in the random number signal RNS), the output terminal of the D-type flip-flop 131_1 may maintain outputting the output signal EN_1 having the corresponding pulse waveform (which may be represented by a value of "1"), and the output signals EN_2-EN_P of the D-type flip-flops 131_2-131_P do not have a pulse waveform (which may be represented by a value of "0"). Thus, in the second cycle, the instruction signal SP may maintain a signal waveform corresponding to the value "000000...001" in the previous cycle, and the corresponding decimal value is "1". Similarly, when the output signal EN_3 has a corresponding pulse waveform (which may be represented by a value "1"), the initial selection value indicated by the current indication signal SP is "3" (decimal).

[0024] FIG. 5 is a schematic diagram of the waveforms of the clock signal RNS_P, the random number signal RNS, and the output signals EN_1 to EN_8 generated by the change indicator 130 of FIG. 4. Assuming that P in FIG. 4 is "8", the change indicator 130 in FIG. 4 includes a plurality of D-type flip-flops 131_1 to 131_8 arranged in sequence, and FIG. 5 presents the clock signal RNS_P, the random number signal RNS, and the output signals EN_1 to EN_8 of the D-type flip-flops 131_1 to 131_8, so that the present embodiment can be illustrated more clearly. When the value of the random number signal RNS is "0", the clock signal RNS_P does not have a pulse waveform, and one of the output signals EN_1 to EN_8 of the previous stage in the enabled state will continue to be in the enabled state in the next period. For example, see the periods T11 and T12 or the periods T13 and T14 in FIG. 5. In period T11, the output signal EN_7 is enabled, the clock signal RNS_P is made a pulse waveform, and the value of the random number signal RNS at this time is set to "1." Then, since the value of the random number signal RNS in period T12 becomes "0," the output signal EN_7 in the enabled state in period T11 continues to be in the enabled state in period T12, as shown by arrow 510. Similarly, in periods T13 and T14, since the value of the random number signal RNS in period T13 changes from "1" to "0," the output signal EN_4 in the enabled state in period T13 continues to be in the enabled state in period T14, as shown by arrow 520.

[0025] FIG. 6 is a schematic circuit diagram of a decoder and current source module according to an embodiment of the present invention. With reference to FIG. 1 and FIG. 6, the decoder 110 and the current source module 140 of FIG. 1 may implement the circuit structure shown in FIG. 6, but the present invention is not limited thereto. In this embodiment, the decoder 110 may include a decoding circuit 111 and a control circuit 112. The current source module 140 may include a plurality of current sources C1_1 to CM_N (i.e., an N×M current source array) in a two-dimensional structure. The current sources C1_1 to CM_N are coupled to the same voltage VDD. The decoding circuit 111 may be configured to receive a digital input signal Din and decode the digital input signal Din. For example, the digital input signal Din may be, for example, a binary code, and after being decoded by the decoding circuit 111, may generate a plurality of decoded signals corresponding to a plurality of numerical values ​​of, for example, a thermometer code, and supply them to the control circuit 112. The control circuit 112 may receive the plurality of decoded signals and the instruction signal SP and determine to generate a control signal CS. It should be noted that the control signal CS may, for example, include multiple enable signals, which are used to respectively control whether the current sources C1_1 to CM_N are turned on to supply current and whether the currents of the turned-on current sources are added together, i.e., whether the analog output signal Aout is generated.

[0026] It should be noted that the current source module 140 in this embodiment is an example of a segmented digital-to-analog converter controlled by a thermometer code. Thus, each group of current sources has the same number N of current values. That is, the number and total current value of the current sources C1_1 to C1_N are the same as the number and total current value of the current sources C2_1 to C2_N. However, in one embodiment, the current source module 140 can also be implemented by a binary-weighted digital-to-analog converter controlled by a binary-binary code, so that each group of current sources can have different current values. Alternatively, if each current source generates the same current value, each group of current sources may be provided in different numbers. For example, if each current source generates the same current value, the first group of current sources can include eight current sources C1_1 to C1_8. The second group of current sources can include four current sources C2_1 to C2_4 (because 8×(1 / 2)=4). The third group of current sources may include two current sources C3_1 to C3_2 (because 8×(1 / 2)^2=2). The fourth group of current sources may include one current source C4_1 (because 8×(1 / 2)^3=1). The difference between the various groups of current sources described above comes from the fact that the person applying this embodiment may perform control via other codes, thereby adaptively adjusting the current values ​​generated by the various groups of current sources. For example, in addition to the thermometer code used to perform the control, the control may also be performed via a binary code.

[0027] FIG. 7A is a diagram illustrating an exemplary operation of a digital-to-analog converter according to an embodiment of the present invention. With reference to FIG. 1, FIG. 6 and FIG. 7A, this embodiment adopts a 1×8 current source array, where N is “1” and M is “8” as an example. The current source module 140 may include current sources C1_1 and C2_1 to CM_1, for example, as shown in FIG. 6 (i.e., the current source corresponding to N is “1” and the current source corresponding to M is “8” in FIG. 6), and each of the current sources C1_1 and C2_1 to C8_1 may be used to provide a current output of, for example, a current value I. That is, CM_1 in FIG. 6 is C8_1 when M is 8. First, it should be noted that the current value I in this embodiment is only used to describe the current sum result, not the output result of the actual current source, and the actual current values ​​provided by various current sources may be slightly different from each other.

[0028] As shown in Fig. 7A, during a period T1, it is assumed that the random number generator 120 provides a random number signal RNS having a value of "0" to the change indicator 130, and the change indicator 130 can generate an indication signal SP corresponding to a value (initial selection value) of "3" (decimal). When the decoder 110 receives a digital input signal Din having a code of "011" (taking the code of a binary code as an example), the decoding circuit 111 of the decoder 110 can decode the digital input signal Din to generate a corresponding decoded signal. Since the decimal value corresponding to the code of the digital input signal Din is "3", the amount of the current source to be enabled is 3. Furthermore, since the value of the instruction signal SP is "3", the control circuit 112 of the decoder 110 may determine to select three current sources (e.g., current sources C3_1, C4_1, C5_1) to enable starting from the third current source (e.g., current source C3_1) and generate a control signal CS coded as "00111000" during the period T1, as shown in FIG. 7A. Since the values ​​corresponding to the third to fifth bit positions of the control signal CS are "1", it means that the third to fifth current sources (e.g., current sources C3_1, C4_1, C5_1) are enabled to perform current output. In this regard, the analog output signal Aout may have a current value of 3×I during the period T1, for example.

[0029] Assume that during time period T2, the random number generator 120 provides a random number signal RNS having a value of "1" to the change indicator 130, and the change indicator 130 may generate an indicator signal SP corresponding to a value (initial selection value) of "4" (decimal) (the initial selection value being the result of adding 1 to the initial selection value of the previous cycle). If the decoder 110 still receives a digital input signal Din having a code of "011", the decoding circuit 111 of the decoder 110 may decode the digital input signal Din to generate a corresponding decoded signal. However, the decimal value corresponding to the code of the digital input signal Din is still " 3 ”, so the amount of current sources to be enabled is 3. Furthermore, since the value of the instruction signal SP is "4" (shifting from "3" to "4"), the control circuit 112 of the decoder 110 can select three current sources (e.g., current sources C4_1, C5_1, C6_1) to enable starting from the fourth current source (e.g., current source C4_1) and generate the control signal CS coded as "00011100" during the period T2 as shown in FIG. 7A. In this regard, the values ​​corresponding to the fourth to sixth bit positions of the control signal CS are "1", which means that the fourth to sixth current sources (current sources C4_1, C5_1, C6_1, etc.) are enabled to provide current output. In this regard, the analog output signal Aout can have a current value of 3×I during the period T2, for example.

[0030] Assume that during a period T3, the random number generator 120 provides a random number signal RNS having a value of “0” to the change indicator 130, and the change indicator 130 may generate an indication signal SP corresponding to a value (initial selection value) of “4” (decimal) (the initial selection value is the same as the initial selection maintain value of the previous cycle). If the decoder 110 still receives the digital input signal Din having a code of “011”, the decode circuit 111 of the decoder 110 may decode the digital input signal Din and generate a corresponding decoded signal. However, since the decimal value corresponding to the code of the digital input signal Din is still “3”, the amount of current sources to be enabled is 3. Since the value of the instruction signal SP is "4" (not shifted), the control circuit 112 of the decoder 110 selects three current sources (e.g., current sources C4_1, C5_1, C6_1) to enable starting from the fourth current source (e.g., current source C4_1) and maintains to generate a control signal CS coded as "00011100" during the period T3, as shown in FIG. 7A. In this regard, the values ​​corresponding to the fourth to sixth bit positions of the control signal CS are "1", which means that the fourth to sixth current sources (current sources C4_1, C5_1, C6_1, etc.) are enabled to provide current output. In this regard, the analog output signal Aout may have a current value of 3×I during the period T3, for example.

[0031] Similarly, during the period T4, the value of the instruction signal SP is "4" (not shifted). The control circuit 112 of the decoder 110 may determine to select three current sources (e.g., current sources C4_1, C5_1, C6_1) to enable starting from the fourth current source (e.g., current source C4_1), and generate a control signal CS coded as "00011100" during the period T4, as shown in FIG. 7A. The values ​​corresponding to the fourth to sixth bit positions of the control signal CS are "1", which means that the fourth to sixth current sources (e.g., current sources C4_1, C5_1, C6_1) are enabled to provide current output. In this regard, the analog output signal Aout may have a current value of 3×I during the period T4, for example.

[0032] Similarly, during the period T5, the value of the instruction signal SP is "5" (shifting from "4" to "5"). The control circuit 112 of the decoder 110 may determine to select three current sources (e.g., current sources C5_1, C6_1, C7_1) and enable starting from the fifth current source (e.g., current source C5_1), and generate a control signal CS coded as "00001110" during the period T5, as shown in FIG. 7A. In this regard, the values ​​corresponding to the fifth to seventh bit positions of the control signal CS are "1", which means that the fifth to seventh current sources (e.g., current sources C5_1, C6_1, C7_1) are enabled to provide current outputs. In this regard, the analog output signal Aout may have a current value of 3×I during the period T5, for example.

[0033] Similarly, during the period T6, the value of the instruction signal SP is "6" (shifting from "5" to "6"). The control circuit 112 of the decoder 110 may determine to select three current sources (e.g., current sources C6_1, C7_1, C8_1) and enable starting from the sixth current source (e.g., current source C6_1) to generate a control signal CS coded as "00000111" during the period T6, as shown in FIG. 7A. In this regard, the values ​​corresponding to the sixth to eighth bit positions of the control signal CS are "1", which means that the sixth to eighth current sources (e.g., current sources C6_1, C7_1, C8_1) are enabled to provide current outputs. In this regard, the analog output signal Aout may have a current value of 3×I during the period T6, for example.

[0034] FIG. 7B is a diagram illustrating an exemplary operation of a digital-to-analog converter according to another embodiment of the present invention. With reference to FIG. 1, FIG. 6 and FIG. 7B, this embodiment takes a 1×8 current source array as an example. The current source module 140 may include current sources C1_1 and C2_1 to C8_1, for example, as shown in FIG. 6, and each of the current sources C1_1 and C2_1 to C8_1 may be used to provide a current output with a current value I, for example.

[0035] As shown in Fig. 7B, during a period T1, assume that the random number generator 120 provides a random number signal RNS having a value of "0" to the change indicator 130, and the change indicator 130 can generate an indicator signal SP corresponding to the value (initial selection value) as "3" (decimal). When the decoder 110 receives a digital input signal Din having a code of "011" (taking the code of binary code as an example), the decoding circuit 111 of the decoder 110 can decode the digital input signal Din to generate a corresponding decoded signal. Since the decimal value corresponding to the code of the digital input signal Din is "3", the amount of the current source to be enabled is 3. Furthermore, since the value of the instruction signal SP is "3", the control circuit 112 of the decoder 110 may determine to select three current sources (e.g., current sources C3_1, C4_1, C5_1) to enable starting from the third current source (e.g., current source C3_1) to generate a control signal CS coded as "00111000" during the period T1, as shown in FIG. 7B. In this regard, the values ​​corresponding to the third to fifth bit positions of the control signal CS are "1", which means that the third to fifth current sources (current sources C3_1, C4_1, C5_1, etc.) are enabled to provide current output. In this regard, the analog output signal Aout may have a current value of 3×I during the period T1, for example.

[0036] During a period T2, the random number generator 120 is assumed to provide a random number signal RNS with a value of “1” to the change indicator 130, and the change indicator 130 may generate an indication signal SP corresponding to that value (initial selection value) as “4” (decimal) (the initial selection value is the result of adding 1 to the initial selection value of the previous cycle). When the decoder 110 receives a digital input signal Din having a code of “101”, the decoding circuit 111 of the decoder 110 may decode the digital input signal Din to generate a corresponding decoded signal. However, since the decimal value corresponding to the code of the digital input signal Din is “5”, the amount of the current source to be enabled is 5. Furthermore, since the value of the instruction signal SP is "4" (shifting from "3" to "4"), the control circuit 112 of the decoder 110 may determine to select five current sources (e.g., current sources C4_1, C5_1, C6_1, C7_1, C8_1) to enable starting from the fourth current source (e.g., current source C4_1), and generate a control signal CS coded as "00011111" during the period T2, as shown in FIG. 7B. In this regard, the value corresponding to the fourth to eighth bit positions of the control signal CS is "1", which means that the fourth to eighth current sources (current sources C4_1, C5_1, C6_1, C7_1, C8_1, etc.) are enabled to provide current output. In this regard, the analog output signal Aout may have a current value of 5×I during the period T2, for example.

[0037] During a period T3, the random number generator 120 is assumed to provide the random number signal RNS having a value of “0” to the change indicator 130, and the change indicator 130 can generate the indicator signal SP corresponding to that value (initial selection value) as “4” (decimal) (the initial selection value is the same as the initial selection maintain value of the previous cycle). When the decoder 110 receives the digital input signal Din having a code of “010”, the decoding circuit 111 of the decoder 110 can decode the digital input signal Din to generate a corresponding decoded signal. However, since the decimal value corresponding to the code of the digital input signal Din is “2”, the amount of the current source to be enabled is 2. Furthermore, since the value of the instruction signal SP is "4" (not shifted), the control circuit 112 of the decoder 110 may determine to select two current sources (e.g., current sources C4_1, C5_1) to enable starting from the fourth current source (e.g., current source C4_1), and generate a control signal CS coded as "00011000" during the period T3, as shown in FIG. 7B. In this regard, the value corresponding to the fourth to fifth bit positions of the control signal CS is "1", which means that the fourth to fifth current sources (current sources C4_1, C5_1, etc.) are enabled to provide current output. In this regard, the analog output signal Aout may have a current value of 2×I during the period T3, for example.

[0038] Similarly, during the period T4, the value of the instruction signal SP is "4" (not shifted). The control circuit 112 of the decoder 110 may select seven current sources (e.g., current sources C4_1, C5_1, C6_1, C7_1, C8_1, C1_1, C2_1) to enable starting from the fourth current source (e.g., current source C4_1), and generate a control signal CS coded as "11011111" during the period T4, as shown in FIG. 7B. In this regard, the values ​​corresponding to the first to second and fourth to eighth bit positions of the control signal CS are "1", which means that the first to second and fourth to eighth current sources (e.g., current sources C1_1, C2_1, C4_1, C5_1, C6_1, C7_1, C8_1) are enabled to provide current outputs. In this regard, the analog output signal Aout may, for example, have a current value of 7×I during the period T3.

[0039] Similarly, during the period T5, the value of the instruction signal SP is "5" (shifting from "4" to "5"). The control circuit 112 of the decoder 110 may determine to select seven current sources (e.g., current sources C5_1, C6_1, C7_1, C8_1, C1_1, C2_1, C3_1) to enable starting from the fifth current source (e.g., current source C5_1), and generate the control signal CS coded as "11101111" during the period T5, as shown in FIG. 7B. In this regard, the values ​​corresponding to the first to third and fifth to eighth bit positions of the control signal CS are "1", which means that the first to third and fifth to eighth current sources (e.g., current sources C1_1, C2_1, C3_1, C5_1, C6_1, C7_1, C8_1) are enabled to provide current outputs. In this regard, the analog output signal Aout may, for example, have a current value of 7×I during the period T5.

[0040] Similarly, during the period T6, the value of the instruction signal SP is "6" (shifting from "5" to "6"). The control circuit 112 of the decoder 110 may determine to select seven current sources (e.g., current sources C6_1, C7_1, C8_1, C1_1, C2_1, C3_1, C4_1) to enable starting from the sixth current source (e.g., current source C6_1), and generate a control signal CS coded as "11110111" during the period T6, as shown in FIG. 7B. In this regard, the values ​​corresponding to the first to fourth and sixth to eighth bit positions of the control signal CS are "1", which means that the first to fourth and sixth to eighth current sources (e.g., current sources C1_1, C2_1, C3_1, C4_1, C6_1, C7_1, C8_1) are enabled to provide current outputs. In this regard, the analog output signal Aout may, for example, have a current value of 7×I during the period T6.

[0041] In addition, the embodiment of the present invention employs a pseudo-DEM (PDEM) under the above-mentioned random shift method, and adds a dummy bit 810 to the code of the control signal CS. The dummy bit is located one bit before the bit position indicated by the code of the digital input signal Din, and the value of the dummy bit 810 is " 0 ” In particular, it can be seen from periods T5 and T6 in FIG. 7B that even if the binary (decimal) value corresponding to the code of the digital input signal Din is "111(7)", the codes of the control signal CS are "11101111" and "1110111", respectively. That is, since there is a dummy bit 810 with a value of "0", the code of the control signal CS is not necessarily "1". In this way, the control signal CS of the embodiment of the present invention is still different from the control signal CS of the previous stage in the case of random shift, so the embodiment of the present invention does not have the same input value consecutively. Therefore, in this embodiment, the PDEM method can still be used to change the position where the current source is turned on by random change, thereby preventing the PDEM method from being ineffective.

[0042] Returning to FIG. 1, the current source module 140 of the present invention can be implemented by a single-dimensional to multi-dimensional current source array, and each dimension can include multiple current sources. The random number signal RNS can include multiple values. The indication signal SP may include multiple initial selection values. The change indicator 130 can respectively determine whether the initial selection value of the indication signal SP remains the same as the initial selection value of the previous cycle or is different from the initial selection value of the previous cycle according to these values. The decoder 110 can respectively determine one of the multiple dimensions of the current source array as the initial selection target according to the initial selection value. The digital input signal Din can include multiple sets of codes. The decoder 110 can determine the amount of current to be enabled in the multiple dimensions of the current source array according to the values ​​(e.g., decimal values) respectively corresponding to the multiple codes of the digital input signal Din. For example, FIG. 7A and FIG. 7B are implemented by a single-dimensional 1×8 current source array according to an embodiment of the present invention. 8A-8D are diagrams illustrating an exemplary operation of the control signal according to an embodiment of the present invention, in which a digital-to-analog converter with only thermometer code function is implemented by an 8×8 current source array with two dimensions. Thermometer code is also called unary code. Those applying this embodiment can extend the current source array to more dimensions, for example, current source array with 3, 4, or even 5 dimensions according to their needs.

[0043] In the present embodiment of FIG. 8A-FIG. 8D, one may refer to FIG. 1 and FIG. 6 at the same time. In this embodiment, the current source module 140 takes a current source array having two dimensions as an example (i.e., an N×M (8×8) current source array, where N is 8 and M is 8). In addition, it should be first explained that the random number signal RNS may include a first value and a second value. The indication signal SP may include a first initial selection value and a second initial selection value. The change indicator 130 may determine according to the first value whether the first initial selection value of the indication signal SP remains the same as the first initial selection value of the previous cycle or is different from the first initial selection value of the previous cycle. The change indicator 130 may determine according to the second value whether the second initial selection value of the indication signal SP remains the same as the second initial selection value of the previous cycle or is different from the second initial selection value of the previous cycle.

[0044] In this embodiment, the decoder 110 can determine the initial selection object of these current sources in a first dimension according to a first initial selection value, i.e., for example, select one of the rows as the column of the initial selection object.Furthermore, the decoder 110 can determine the initial selection object of the current sources in a second dimension according to a second initial selection value, i.e., select one of the columns as the row of the initial selection object.

[0045] In this embodiment, the digital input signal Din may include a first group of codes and a second group of codes. The decoder 110 may determine the amount of current of the current source to be enabled according to the value (e.g., decimal value) corresponding to the first group of codes and the value (e.g., decimal value) corresponding to the second group of codes of the digital input signal Din. In some embodiments, the value (e.g., decimal value) corresponding to the first group of codes may be used to control the amount of current of the current source to be enabled in the first dimension, and the value (e.g., decimal value) corresponding to the second group of codes is used to control the amount of current of the current source to be enabled in the second dimension. In embodiments of the present invention, other logic methods may also be used to determine the amount of current of the current source to be enabled, such as the embodiments of Figures 8A-8D.

[0046] This embodiment is implemented using an 8×8 current source array, and the always-enabled current sources may also be added as an offset to adjust the intermediate code closer to the current balance point (e.g., when a segmented DAC with half binary and half thermometer codes is used). For example, when 32 current sources are enabled and the other 32 current sources are not enabled, this embodiment also has a normal enabled current source as an offset to avoid the generated current being exactly the middle value, so that the decimal code can be closer to the center point. That is, when using an 8×8 current source array, this embodiment can also add additional always-enabled current sources (but is not limited to this), so instead of 64 current sources, 65 current sources can also be used to realize an 8×8 current source array.

[0047] 1, 6 and 8A, this embodiment takes an 8×8 current source array as an example. The current source module 140 may include current sources C1_1 to C8_8, for example, as shown in FIG. 6, and each of the current sources C1_1 to C8_8 may be used to provide a current output with a current value I, for example. The control signal CS may include code information of the code array 601. In the embodiment of the present invention, the logic method described below may be used to select a corresponding current source by using the code of the bit position converted from the digital input signal Din. As described above, the digital input signal Din in this embodiment includes a first group of codes and a second group of codes. The first group of codes and the second group of codes may be presented using a binary code. For convenience of describing Figures 8A to 8D of this embodiment, the first group of codes and the second group of codes are herein converted to decimal codes of bit positions on rows (e.g., bit positions D1 to F1) and decimal codes of bit positions on columns (e.g., bit positions D2 to F2), respectively.

[0048] Taking Fig. 8A as the initial situation of this embodiment, the first group of codes and the second group of codes are both binary code "000". Therefore, the decimal code of both the bit positions on the row (e.g., bit positions D1 to F1) and the bit positions on the column (e.g., bit positions D2 to F2) is always "00000000". In the first group of codes, the bit position D1 on the row is the least significant bit (LSB) "0" and the bit position F1 on the row is the most significant bit (MSB) "0". In the second group of codes, the bit position D2 on the column is the least significant bit (LSB) and the bit position F2 on the column is the most significant bit (MSB).

[0049] The first group of codes in FIG. 8B (binary code “001”) is converted to decimal “1” so that the decimal code for the bit positions on a row (e.g., bit positions D1, D1-1, D1-2 through F1) is “10000000”, with bit position D1 being the least significant bit (LSB) “1” and bit position F1 being the most significant bit (MSB) “0”.

[0050] On the other hand, the second group of codes in Figure 8B (binary code "011") converts to a decimal value of "3" so that the decimal code for the bit positions on the string (e.g. bit positions D2 through F2) is "11100000". The three bits in bit position D2 are "111", with the first bit in bit position D2 being the least significant bit (LSB). Bit position F2 is represented as the most significant bit (MSB) and is therefore "0".

[0051] In the code array 601, the code at the bit position on each row and the code at the bit position on each column are used to correspond to a selected current source. Taking FIG. 8A as an example, in this embodiment, the code at the bit position on the row is confirmed in advance, for example, the bit positions D1, D1-1, D1-2 to F1 are confirmed in order. When the code at the bit position on the row (for example, bit position D1) is "1", it means that all the current sources on the column corresponding to bit position D1 are enabled (on). For example, bit positions D1 to F1 in FIG. 8A are all "0", so the code array 601 in FIG. 8A does not have all columns "1". In the code array 601 in FIG. 8B, the first column of the code array 601 corresponding to bit position D1 is all "1".

[0052] On the other hand, when the code at a bit position on a row (e.g., bit position D1-1) is the first occurrence of “0”, it means that all current sources on the column corresponding to the bit position are partially enabled (on) according to the code at the bit position on the column (e.g., bit positions D2 to F2), and other parts of the current sources are not enabled (on). See the column corresponding to bit position D1 in code array 601 of FIG. 8A. The code of the column and the bit positions of the column (bit positions D2 to F2) are all “0”. Meanwhile, see the column corresponding to bit position D1-1 in code array 601 of FIG. 8B. The first three codes in the column are “1”, and the remaining codes in the column are “0”. Thus, the code of the column is exactly the same as the code at bit positions D2 to F2. If the code at a bit position on a row (e.g., bit positions D1-2) is not the first occurrence of “0”, the codes of the multiple columns corresponding to bit positions D1-2 are all “0”. This means that the corresponding current sources are not enabled (on). Thus, code array 601 in FIG. 8A indicates that all current sources are not turned on, i.e., no current sources in FIG. 6 are enabled, and code array 601 in FIG. 8B indicates 8+3=11 current sources that need to be turned on, resulting in a total of 11 groups of current sources being turned on.

[0053] The embodiment of the present invention utilizes a logic method to select the corresponding current source by utilizing the code at the bit position converted by the digital input signal Din. By applying this embodiment, it can be selectively determined that the code at the bit position on the row (e.g., bit position D1, D1-1, D1-2) is the first, second, or Xth occurrence of "0" and the code in the corresponding column is exactly the same as the code at the bit positions D2 to F2 to realize the embodiment of the present invention, and the implementation is not limited to the above logic method.

[0054] Returning to this embodiment, as shown in Fig. 8B, in the first cycle, it is assumed that the random number generator 120 supplies a random number signal RNS having a first value "0" and a second value "0" to the change indicator 130, and the change indicator 130 can generate an indicator signal SP corresponding to a value of "1" (decimal) (first initial selection value) and corresponding to a value of "1" (decimal) (second initial selection value). As described above, when the decoder 110 receives a digital input signal Din having a first group of codes having a value of "001" (e.g., binary code) and a second group of codes having a value of "011" (e.g., binary code), the decoding circuit 111 of the decoder 110 can decode the digital input signal Din to generate a corresponding decoded signal. Since the total number of current sources to be enabled is 8+3=11, accordingly, the decimal value corresponding to the code of the first group of the digital input signal Din is "1" to indicate that a group of eight current sources in a column is turned on, and the decimal value corresponding to the code of the second group of the digital input signal Din is "3" to indicate that three groups of current sources should be turned on. Furthermore, since the value of the instruction signal SP is "1" (first initial selection value) and "1" (second initial selection value), the decoder 110 may determine to enable all the groups of eight current sources (such as current sources C1_1 to C1_8) in the first row to the eighth row of the first column, and determine to enable the current sources in the first row to the third row of the second column. That is, three current sources (such as current sources C2_1 to C2_3) are selected, allowing starting from the first current source in the second column, to generate the control signal CS corresponding to the code array 601 during the first cycle, as shown in FIG. 8B.

[0055] In this regard, in the present embodiment, the value corresponding to bit position D1 of the row of the first group of codes is "1", which represents enabling the first to eighth current sources (e.g., current sources C1_1 to C1_8) in the first column to provide a current output. Furthermore, the value corresponding to bit position D2 of the column of the second group of codes is "111", which represents enabling the first to third current sources (e.g., current sources C2_1 to C2_3) in the second column to provide a current output. In this manner, the analog output signal Aout may have a current value of 11×I during the first cycle, for example, and when the 65th group of added constantly enabled current sources is combined for calculation, the total current value is 11×I+I=12×I.

[0056] Now, refer to Fig. 1 and Fig. 8C. As shown in Fig. 8C, in the second cycle, it is assumed that the random number generator 120 supplies the random number signal RNS, whose first value is "0" and whose second value is "1", to the change indicator 130, so that the change indicator 130 generates an indicator signal SP corresponding to a value of "1" (decimal number) (first initial selection value) and a value of "2" (decimal number) (second initial selection value). When the decoder 110 receives the digital input signal Din having the first group of codes having a value of "001" and the second group of codes having a value of "011", the decoding circuit 111 of the decoder 110 can decode the digital input signal Din to generate a corresponding decoded signal. In this embodiment, the decimal value "1" corresponding to the first group of codes of the digital input signal Din indicates that the group of eight current sources in the entire column is turned on, and the decimal value "3" corresponding to the second group of codes of the digital input signal Din indicates that the group of three current sources is turned on. Furthermore, since the value of the instruction signal SP is "1" (first initial selection value) and "2" (second initial selection value), the decoder 110 enables all current sources in the first column (e.g., current sources C1_1 to C1_8), and allows three current sources (such as current sources C2_2 to C2_4) to be selected to start from the current sources in the second row and second column (e.g., enables the corresponding current source from the next bit position of the row bit position D1' in the first group of codes and the corresponding current source marked by the bit position D2' in the column in the second group of codes via the segment mechanism described above), thereby generating the control signal CS corresponding to the code array 602 during the second cycle, as shown in FIG. 8C.

[0057] In this regard, in the present embodiment, the value corresponding to the bit position D1' of the row in the first group of codes is "1", and the value "0" corresponding to the bit position F1' of the row in the first group of codes is kept in the same position (because the first value of the random number signal RNS is "0"). Thus, the first to eighth current sources (e.g., current sources C1_1 to C1_8) representing the first column are enabled to provide current output. In the present embodiment, the value corresponding to the bit position D2' of the second to fourth columns of the column of the second group of codes is "1", and the original preset value "0" (as shown in bit position F2 in FIG. 8B) in the bit position of the eighth row of the column of the second group of codes is periodically shifted to the bit position F2' of the first row of the column of the second group of codes in FIG. 8C (because the second value of the random number signal RNS is "1"). Thus, the second to fourth current sources (e.g., current sources C2_2 to C2_4) representing the second column are enabled to provide current output. In this way, the analog output signal Aout may have, for example, a current value of 11×I during the second cycle, but provided by current sources in different positions compared to FIG. 8B, when the additional (but not limited to) 65th group of always-enabled current sources is combined for calculation, the total current value is 11×I+I=12×I.

[0058] Alternatively, refer to FIG. 1 and FIG. 8D. As shown in FIG. 8D, in the second cycle, the random number generator 120 provides the random number signal RNS with a first value of "1" and a second value of "0" to the change indicator 130, and the change indicator 130 can generate an indicator signal SP corresponding to a value of "2" (decimal) (first initial selection value) and a value of "1" (decimal) (second initial selection value). When the decoder 110 receives the digital input signal Din having a first group of codes with a value of "001" and a second group of codes with a value of "011", the decoding circuit 111 of the decoder 110 can decode the digital input signal Din to generate a corresponding decoded signal. In this embodiment, the decimal value corresponding to the first group of codes of the digital input signal Din is "1", which means that the entire string of the group of eight current sources will be turned on, and the decimal value corresponding to the second group of codes of the digital input signal Din is "3", which indicates that three groups of current sources will be turned on. Furthermore, since the value of the instruction signal SP is "2" (first initial selection value) and "1" (second initial selection value), the decoder 110 can determine that all the current sources in the second column (e.g., current sources C2_1 to C2_8) are all enabled, and the current sources in the first to third rows in the third column are controlled to be enabled. That is, three current sources (e.g., current sources C3_1 to C3_3) are selected to enable starting from the first current source in the third column to generate the control signal CS corresponding to the code array 603 during the second cycle, as shown in FIG. 8D.

[0059] In this regard, in this embodiment, the value corresponding to the bit position D1″ of the second column of the row in the first group of codes is “1”, and the original preset value “0” at the bit position of the eighth column of the row in the first group of codes (bit position F1 as shown in FIG. 8A) is periodically shifted to bit position F12″ of the first column of the row in the first group of codes in FIG. 8D (because the first value of the random number signal RNS is “1”). Thus, the first to eighth current sources (e.g., current sources C2_1 to C2_8) representing the second column are enabled to provide current outputs. Furthermore, the values ​​corresponding to the bit position D2″ of the first to third rows of the column in the second group of codes are all “1”, and the value “0” corresponding to the bit position F2″ of the column in the second group of codes is kept in the same position (because the second value of the random number signal RNS is “0”). Thus, the first to third current sources (e.g., current sources C3_1 to C3_3) representing the third column are enabled to provide current outputs. In this way, the analog output signal Aout may have a current value of 11I during the second cycle, for example, but provided by current sources in different positions compared to Figures 8B and 8C, and when the added 65th group of constantly enabled current sources is combined for calculation (design dependent and not limited), the total current value is 11 x I + I = 12 x I.

[0060] In summary, the digital-to-analog converter and its operating method of the present invention may use a random number signal to generate an instruction signal through a change indicator, and may generate a corresponding control according to the digital input signal and the instruction signal through a decoder, thereby enabling at least one of a plurality of current sources in a random shift selection manner over time (operation cycle).Therefore, the analog output signal generated by the digital-to-analog converter of the present invention may have better performance in INL and SFDR.

[0061] The present invention has been disclosed above with embodiments, but there is no intention to limit the present invention. Those skilled in the art with ordinary knowledge in the technical field can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention should be determined by the appended claims. [Industrial Applicability]

[0062] The digital-to-analog converter and its operating method in the present invention can be applied in the field of digital-to-analog conversion. [Explanation of symbols]

[0063] 100 Digital to Analog Converter 110 Decoder 111 Decoding Circuit 112 Control circuit 120 Random Number Generator 130 Change Indicator 131_P, 131_1-131_(P-1) D-type flip-flop 140 Current Source Module Din Digital input signal CS Control Signal RS Reset signal RNS Random Number Signal RNS_P Clock signal SP instruction signal Aout Analog output signal CLK Clock signal RE Reset terminal S210-S250 Step 310-1-310-8 Shift Register 320 Logic Gates 510,520 Arrows 601, 602, 603: Code array 810 Dummy Bit D1-D7 output terminals IN Input terminal OUT Output terminal CK Clock input pin SET setting terminal EN_1-EN_P output signal During T1, T2, T3, T4, T5, T6, T11-T14 C1_1~CM_N, C2_1~C2_N, C3_1~C3_3, C4_1, C5_1, C6_1, C7_1, C8_1, C8_8 current source D1~F1, D2~F2, D1', D2', F1', F2', D1”, D2”, F1”, F2” position

Claims

1. A digital-to-analog converter, the digital-to-analog converter comprising: a current source module; a decoder coupled to the current source module for receiving a digital input signal; a change indicator coupled to the decoder for providing an indication signal to the decoder; a random number generator coupled to the change indicator for providing a random number signal to the change indicator; the change indicator generates the instruction signal according to the random number signal, and the decoder generates a control signal for the current source module according to the digital input signal and the instruction signal, so that the current source module generates an analog output signal corresponding to the digital input signal according to the control signal; A digital-to-analog converter, wherein the change indicator further adds a dummy bit to the indication signal, the dummy bit being located one bit before the bit position indicated by the code of the digital input signal, and the dummy bit being set to a value of 0.

2. the current source module further comprises a plurality of sequentially configured current sources; 2. The digital-to-analog converter of claim 1, wherein the decoder determines an amount of the current sources to be enabled according to a value corresponding to the code of the digital input signal, the decoder determines one of the current sources as an initial selection target according to an initial selection value of the instruction signal, and sequentially selects other current sources based on the initially selected current source according to an amount of the current sources to be enabled, thereby enabling at least one of the current sources to supply a current output.

3. 3. The digital-to-analog converter of claim 2, wherein the change indicator determines whether the initial selection value of the indication signal remains the same as the initial selection value of the previous cycle or differs from the initial selection value of the previous cycle according to the random number signal.

4. 4. The digital-to-analog converter of claim 3, wherein when the change indicator determines, according to the random number signal, that the initial selection value of the indication signal is different from the initial selection value of the previous cycle, the initial selection value is a result of adding 1 to the initial selection value of the previous cycle.

5. 3. The digital-to-analog converter of claim 2, wherein the current sources form a 1 by M current source array, where M is a positive integer.

6. 3. The digital-to-analog converter of claim 2, wherein the current sources form an N by M current source array, where M and N are positive integers.

7. 3. The digital-to-analog converter of claim 2, wherein the digital input signal includes a plurality of groups of codes, and the decoder determines amounts of current to be enabled in a plurality of dimensions of a current source array according to values ​​respectively corresponding to the plurality of groups of codes of the digital input signal.

8. 3. The digital-to-analog converter of claim 2, wherein the instruction signal includes a plurality of the initial selection values, and the decoder determines one of a plurality of dimensions of the current source array as an initial selection target according to each of the initial selection values.

9. 9. The digital-to-analog converter of claim 8, wherein the random number signal includes a plurality of values, and the change indicator determines whether the initial selection value of the indicator signal remains the same as the initial selection value of a previous cycle or differs from the initial selection value of the previous cycle according to the values, respectively.

10. The random number generator is A plurality of shift registers; a logic gate; The logic gates are connected in series, the logic gate is configured to feed back an output terminal of a part of the shift register to the shift register as an input terminal of a first stage of the shift register; 2. The digital-to-analog converter according to claim 1, wherein an output terminal of a final stage of the shift register supplies the random number signal, the random number signal being a 1-bit signal.

11. the change indicator comprises a plurality of D-type flip-flops arranged in sequence; 2. The digital-to-analog converter of claim 1, wherein an input terminal of each of the D-type flip-flops is coupled to an output terminal of a corresponding D-type flip-flop of a previous stage, a clock input terminal of each of the D-type flip-flops receives the random number signal, a set terminal of a first stage of the D-type flip-flop receives a reset signal, and a reset terminal of the other stage of each of the D-type flip-flops receives the reset signal.

12. 1. A method of operating a digital-to-analog converter, the method comprising: providing a random signal via a random number generator; generating an indication signal according to the random number signal via a change indicator; receiving a digital input signal and said instruction signal via a decoder; generating a control signal for a current source module through the decoder according to the digital input signal and the instruction signal; generating an analog output signal corresponding to the digital input signal via the current source module according to the control signal; generating the control signal to the current source module via the decoder according to the digital input signal and the instruction signal, A method of operating a digital-to-analog converter, comprising the steps of: adding a dummy bit to the instruction signal, the dummy bit being located one bit before a bit position indicated by a code of the digital input signal, and the dummy bit being set to a value of 0.

13. the current source module comprises a plurality of sequentially configured current sources; The step of generating the control signal comprises: determining, via the decoder, an amount of the current source to be enabled according to a value corresponding to the code of the digital input signal; determining, via the decoder, one of the current sources as an initial selection target according to an initial selection value of the instruction signal; and selecting, via the decoder, other current sources in sequence based on the initially selected current source according to an amount of the current sources to be enabled, thereby enabling at least one of the current sources to provide a current output.

14. 14. The method of claim 13, wherein the change indicator determines whether the initial selection value of the indicator signal remains the same as the initial selection value of the previous cycle or differs from the initial selection value of the previous cycle according to the random number signal.

15. 15. The method of claim 14, wherein when the change indicator determines according to the random number signal that the initial selection value of the indication signal is different from the initial selection value of the previous cycle, the initial selection value is a result of adding 1 to the initial selection value of the previous cycle.

16. 14. The method of claim 13, wherein the current sources form a 1 by M current source array, where M is a positive integer.

17. 14. The method of claim 13, wherein the current sources form an N by M current source array, where M and N are positive integers.

18. the digital input signal includes a plurality of groups of codes; The step of generating the control signal comprises:

14. The method of claim 13, further comprising the step of determining, via a decoder, amounts of current to be enabled in multiple dimensions of a current source array according to values ​​respectively corresponding to the multiple groups of codes of the digital input signal.

19. The instruction signal includes a plurality of the initial selection values, and the step of generating the control signal comprises:

14. The method of claim 13, further comprising the step of determining, via the decoder, one of a plurality of dimensions of a current source array as an initial selection target according to the initial selection value, respectively.

20. 20. The method of claim 19, wherein the random signal includes a plurality of values, and the change indicator determines whether the initial selection value of the indicator signal remains the same as the initial selection value of a previous cycle or differs from the initial selection value of the previous cycle according to the values, respectively.

21. The random number generator is A plurality of shift registers; a logic gate; The shift registers are connected in series, the logic gate is configured to feed back an output terminal of a part of the shift register to the shift register as an input terminal of a first stage of the shift register; 13. The method of claim 12, wherein an output terminal of a final stage of the shift register provides the random number signal, the random number signal being a 1-bit signal.

22. The change indicator comprises a plurality of D-type flip-flops arranged in an ordered sequence, and the step of generating the indication signal comprises: coupling an input terminal of each of the D-type flip-flops to an output terminal of a corresponding D-type flip-flop in a previous stage; receiving said random number signal via a clock input terminal of each of said D-type flip-flops; receiving a reset signal via a set terminal of a first stage of the D-type flip-flop; and receiving a reset signal via a reset terminal of each of the other stages of the D-type flip-flops.

Citation Information

Patent Citations

  • Digital / analog converter

    JP1991143026A

  • Current source matrix da converter

    JP2013201671A

  • Circuit device, physical quantity measuring device, electronic apparatus, and mobile body

    JP2018166232A

  • Digital-to-analog converter and electronic system including the same

    US10965299B1