CN115549679A - Current source control circuit and digital-to-analog conversion circuit applied to current rudder - Google Patents
Current source control circuit and digital-to-analog conversion circuit applied to current rudder Download PDFInfo
- Publication number
- CN115549679A CN115549679A CN202211204202.9A CN202211204202A CN115549679A CN 115549679 A CN115549679 A CN 115549679A CN 202211204202 A CN202211204202 A CN 202211204202A CN 115549679 A CN115549679 A CN 115549679A
- Authority
- CN
- China
- Prior art keywords
- circuit
- signal
- output
- exclusive
- current source
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000006243 chemical reaction Methods 0.000 title claims abstract description 15
- 230000001360 synchronised effect Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 5
- 238000000034 method Methods 0.000 description 4
- 125000004122 cyclic group Chemical group 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000003595 spectral effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M1/00—Analogue/digital conversion; Digital/analogue conversion
- H03M1/06—Continuously compensating for, or preventing, undesired influence of physical parameters
- H03M1/0617—Continuously compensating for, or preventing, undesired influence of physical parameters characterised by the use of methods or means not specific to a particular type of detrimental influence
- H03M1/0634—Continuously compensating for, or preventing, undesired influence of physical parameters characterised by the use of methods or means not specific to a particular type of detrimental influence by averaging out the errors, e.g. using sliding scale
- H03M1/0656—Continuously compensating for, or preventing, undesired influence of physical parameters characterised by the use of methods or means not specific to a particular type of detrimental influence by averaging out the errors, e.g. using sliding scale in the time domain, e.g. using intended jitter as a dither signal
- H03M1/066—Continuously compensating for, or preventing, undesired influence of physical parameters characterised by the use of methods or means not specific to a particular type of detrimental influence by averaging out the errors, e.g. using sliding scale in the time domain, e.g. using intended jitter as a dither signal by continuously permuting the elements used, i.e. dynamic element matching
- H03M1/0665—Continuously compensating for, or preventing, undesired influence of physical parameters characterised by the use of methods or means not specific to a particular type of detrimental influence by averaging out the errors, e.g. using sliding scale in the time domain, e.g. using intended jitter as a dither signal by continuously permuting the elements used, i.e. dynamic element matching using data dependent selection of the elements, e.g. data weighted averaging
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M1/00—Analogue/digital conversion; Digital/analogue conversion
- H03M1/66—Digital/analogue converters
- H03M1/74—Simultaneous conversion
- H03M1/742—Simultaneous conversion using current sources as quantisation value generators
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Analogue/Digital Conversion (AREA)
Abstract
The application relates to the technical field of electronic circuits, in particular to a current source control circuit and a digital-to-analog conversion circuit applied to a current rudder. After two digital signals of second moment and first moment are converted through two thermometer code decoders like this, carry out logical operation at first thermometer code and the second thermometer after the conversion, just consider the size of first moment digital signal, thereby the on-off control signal that each current source that obtains corresponds is in order to control the work of the current source that corresponds, the probability that the current source of having avoided low bit digital signal control to choose work is great like this, make the probability that each current source was chosen almost the same, thereby reduce the error that the current rudder produced because of the current source mismatch.
Description
Technical Field
The application relates to the technical field of electronic circuits, in particular to a current source control circuit and a digital-to-analog conversion circuit applied to a current rudder.
Background
The current rudder is very suitable for being used in a high-speed and high-precision circuit system due to the structural characteristics of the current rudder. In the conversion process of a current steering DAC (Digital to analog converter), a Digital input signal controls corresponding current sources, and currents of the selected current sources are superposed to obtain the output current of the DAC. Because the integrated circuit has deviation in the production process, an error exists between the current source of the current steering DAC and the current source, so that the output current is not equal to the ideal output current, and a nonlinear error is generated.
In a general thermometer code type current steering DAC, the deviation of each current source is different, and the probability of selecting each current source is also different. Referring to fig. 1, for example, when the input digital signal to be converted is 3, the corresponding selected current source is 1 to 3, when the input digital signal at the next moment is 7, the corresponding selected current source is 1 to 7, and when the input digital signal at the next moment is 6, the corresponding selected current source is 1 to 6. Therefore, in the prior art, the probability of selecting the current source controlled by the low-bit digital signal is higher than that of the current source controlled by the high-bit digital signal, so that the influence of the current source controlled by the low-bit digital signal on the performance of the DAC is larger, and meanwhile, the influence of the error of the current source controlled by the low-bit digital signal on the whole circuit is larger. At this time, it is equivalent to that the error signal is related to the input signal, which causes the DAC output signal to have serious harmonic distortion, so that the error in the operation of the digital-to-analog conversion circuit is large.
Disclosure of Invention
The application provides a be applied to current source control circuit and digital-to-analog conversion circuit of current rudder for solve the great technical problem of error in the digital-to-analog conversion circuit working process among the prior art.
In one aspect, the present application provides a current source control circuit applied to a current rudder, including: the temperature measuring circuit comprises a storage circuit, an adder, a first thermometer code decoder, a second thermometer code decoder and a plurality of logic operation circuits;
the first input end of the adder is used for receiving an input digital signal to be converted, the first output end of the adder is connected with the input end of the storage circuit, and the output end of the storage circuit is connected with the second input end of the adder; the storage circuit is used for storing the output signal of the adder at the first moment and inputting the output signal into the adder, and the adder is used for summing the output signal of the first moment and the signal to be converted received at the second moment to obtain the output signal at the second moment;
the output end of the adder is connected with the input end of the first thermometer code decoder, the output end of the storage circuit is connected with the input end of the second thermometer code decoder, and the input end of the logic operation circuit is respectively connected with the output ends of the first thermometer code decoder and the second thermometer code decoder;
the first thermometer code decoder is used for converting the output signal at the second moment into a first thermometer code, the second thermometer code decoder is used for converting the output signal at the first moment into a second thermometer code, and the logic operation circuit is used for performing logic operation on the first thermometer code and the second thermometer code to obtain a corresponding switch control signal; the switch control signal is used for controlling the corresponding current source to work.
The current source control circuit applied to the current rudder further comprises a logic control circuit;
the input end of the logic control circuit is connected with the carry signal end of the adder, and the output end of the logic control circuit is connected with the control end of the logic operation circuit; the logic control circuit is used for generating a corresponding logic control signal according to the addition carry signal output by the carry signal end so as to control the logic operation circuit to select a corresponding operation logic, thereby obtaining a corresponding switch control signal.
According to the current source control circuit applied to the current rudder, the logic operation circuit comprises an exclusive-or gate circuit and an exclusive-or gate circuit;
two input ends of the exclusive-OR gate circuit are respectively connected with output ends of the first thermometer code decoder and the second thermometer code decoder; two input ends of the exclusive-nor circuit are also respectively connected with output ends of the first thermometer code decoder and the second thermometer code decoder; the output ends of the exclusive-OR gate circuit and the exclusive-OR gate circuit are used for outputting the switch control signal;
the output end of the logic control circuit is respectively connected with the control ends of the exclusive-or gate circuit and the exclusive-or gate circuit, and when the addition carry signal is 0, the logic control circuit controls the exclusive-or gate circuit to work so that the signal output by the exclusive-or gate circuit is the switch control signal; when the addition carry signal is 1, the logic control circuit controls the exclusive OR gate circuit to work, so that the signal output by the exclusive OR gate circuit is the switch control signal.
According to the current source control circuit applied to the current rudder, the logic operation circuit comprises an exclusive-or gate circuit and a not gate circuit;
two input ends of the exclusive-or gate circuit are respectively connected with output ends of the first thermometer code decoder and the second thermometer code decoder, an output end of the exclusive-or gate circuit is connected with an input end of the not gate circuit, and an output end of the not gate circuit is used for outputting the switch control signal;
the output end of the logic control circuit is connected with the control end of the not gate circuit, and when the addition carry signal is 0, the logic control circuit controls the not gate circuit not to work so that the signal output by the exclusive-or gate circuit is the switch control signal; when the addition carry signal is 1, the logic control circuit controls the not gate circuit to work, so that the signal output by the not gate circuit is the switch control signal.
According to the current source control circuit applied to the current rudder, the logic operation circuit comprises an exclusive-or gate circuit, a not gate circuit and a selector circuit;
two input ends of the exclusive-or circuit are respectively connected with output ends of the first thermometer code decoder and the second thermometer code decoder, one output end of the exclusive-or circuit is connected with an input end of the not circuit, the other output end of the exclusive-or circuit and the output end of the not circuit are both connected with an input end of the selector circuit, and an output end of the selector circuit is used for outputting the switch control signal;
the output end of the logic control circuit is connected with the control end of the selector circuit, and when the addition carry signal is 0, the selector circuit is used for selecting the signal output by the XOR gate circuit as the switch control signal; when the addition carry signal is 1, the selector circuit is used for selecting the signal output by the NOT gate circuit as the switch control signal.
According to the current source control circuit applied to the current rudder, the logic control circuit comprises an AND gate circuit;
one input end of the AND gate circuit is connected with a carry signal end of the adder, the other end of the AND gate circuit is used for receiving a first clock control signal, and the output end of the AND gate circuit is the output end of the logic control circuit; the first clock control signal is synchronized with the second time.
According to the current source control circuit applied to the current rudder, the number of the logic operation circuits is M;
the M =2 N And the N is the maximum bit number of the signal to be transformed input by the adder.
According to the current source control circuit applied to the current rudder, the storage circuit is a register;
and the register is provided with a clock signal end for receiving a second clock control signal, and the second clock control signal is later than the first clock control signal by a half cycle.
According to the current source control circuit applied to the current rudder, the output ends of the plurality of logic operation circuits are respectively used for being connected with the control ends of the plurality of current sources;
and when the switch control signal output by the logic operation circuit is 1, the corresponding current source works, and when the switch control signal output by the logic operation circuit is 0, the corresponding current source stops working.
In another aspect, the present application further provides a digital-to-analog conversion circuit including the current source control circuit applied to the current rudder as described in any of the above.
The current source control circuit and the digital-to-analog conversion circuit applied to the current rudder store the output signal of the adder at the first moment through the storage circuit, input the output signal of the adder at the first moment into the adder again, and then accumulate the digital signal of the first moment through the signal output by the adder at the second moment. After two digital signals of second moment and first moment are converted through two thermometer code decoders like this, carry out logical operation at first thermometer code and the second thermometer after the conversion, just consider the size of first moment digital signal, thereby the on-off control signal that each current source that obtains corresponds is in order to control the work of the current source that corresponds, the probability that the current source of having avoided low bit digital signal control to choose work is great like this, make the probability that each current source was chosen almost the same, thereby reduce the error that the current rudder produced because of the current source mismatch.
Drawings
In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of the selection of current sources in a prior art DAC;
FIG. 2 is a schematic diagram of a current source control circuit provided in the present application;
FIG. 3 is a schematic diagram illustrating one of selected current sources when the current source control circuit provided in the present application is operating;
FIG. 4 is a second schematic diagram of a current source control circuit provided in the present application;
fig. 5 is a second schematic diagram of selecting a current source when the current source control circuit provided in the present application is operated.
Detailed Description
To make the purpose, technical solutions and advantages of the present application clearer, the technical solutions in the present application will be clearly and completely described below with reference to the drawings in the present application, and it is obvious that the described embodiments are some, but not all embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The current source control circuit applied to the current rudder provided by the embodiment records the digital signal input at the first moment through the register, and the adder accumulates the digital signal input at the first moment and the digital signal input at the second moment. And finally, converting the digital signal input at the first moment and the digital signal accumulated currently into thermometer codes through two thermometer code decoders respectively, and performing logical operation on the first thermometer code and the second thermometer code to obtain a corresponding switch control signal so as to control the on and off of the current source. This makes the probability that each current source is selected tend to be equal, i.e., makes the error signal independent of the input signal, thereby reducing harmonic distortion of the DAC output signal (i.e., the analog signal). The higher harmonic energy is then distributed uniformly over the entire spectral range, as seen in the frequency domain, and then the part outside the signal bandwidth can be filtered out by low-pass filtering. Therefore, the probability that each current source is selected tends to be equal, and the working performance of the DAC is improved.
The second time in this embodiment is later than the first time, the second time may be any time of the current cycle, and the first time may be any time of the previous cycle of the current cycle. For example, the second time is the start time of the current cycle, and the first time is the end time of the previous cycle.
The first embodiment is as follows:
the present embodiment provides a current source control circuit applied to a current rudder, as shown in fig. 2, the control circuit including: a memory circuit 10, an adder 11, a first thermometer code decoder 12, a second thermometer code decoder 13, and a plurality of logical operation circuits 18.
A first input terminal of the adder 11 is configured to receive an input digital signal to be converted, a first output terminal Sum of the adder 11 is connected to an input terminal of the memory circuit 10, and an output terminal of the memory circuit 10 is connected to a second input terminal of the adder 11. The storage circuit 10 is configured to store an output signal of the adder 11 at a first time, and input the output signal into the adder 11, where the adder 11 is configured to sum the output signal of the first time and a signal to be converted received at a second time to obtain an output signal at the second time. As shown in fig. 2, for convenience of understanding, the output signal of the adder 11 at the first time is represented as I in the present embodiment start The output signal of the adder 11 at the second time is represented as I end ,I start And I end Are both binary digital signals.
The output end of the adder 11 is further connected to the input end of the first thermometer code decoder 12, the output end of the storage circuit 10 is connected to the input end of the second thermometer code decoder 13, and the input end of the logic operation circuit 18 is connected to the output ends of the first thermometer code decoder 12 and the second thermometer code decoder 13, respectively. The first thermometer code decoder 12 is used for outputting the output signal I at the second moment end A second thermometer code decoder 13 for converting the output signal I at the first moment into a first thermometer code start And the logic operation circuit is used for carrying out logic operation on the first thermometer code and the second thermometer code to obtain a corresponding switch control signal, and the switch control signal is used for controlling the on and off of a corresponding current source.
The current source control circuit of the present embodiment first adopts the cooperative work of the memory circuit 10 and the adder 11Make the output signal I at the second moment end Taking into account the output signal I at the first moment start So that the position of the corresponding selected current source will change after conversion into the thermometer code, and finally the output signals I at two moments will be combined end And I start After the logical operation circuit 18 performs the corresponding logical operation processing, a switch control signal for controlling the operation of the corresponding current source is obtained. By adopting the control circuit provided by the embodiment, the probability that each current source is selected tends to be equal during digital-to-analog conversion, the error of the current rudder caused by the mismatch of the current sources is reduced, and the working performance of the current rudder DAC is improved.
In one embodiment, the current source control circuit further comprises a logic control circuit. The input end of the logic control circuit is connected with the carry signal end Co of the adder 11, and the output end of the logic control circuit is connected with the control end of the logic operation circuit; the logic control circuit is used for generating corresponding logic control signals according to the addition carry signals output by the carry signal end so as to control the logic operation circuit to select corresponding operation logics, and therefore corresponding switch control signals are obtained. Wherein the addition carry signal represents I end And I start And if the addition carry exists, the carry signal end Co outputs 1, and if the addition carry does not exist, the carry signal end Co outputs 0, and the logic control circuit controls all the logic operation circuits to work according to the 1 or 0 output by the carry signal end Co so as to obtain the corresponding switch control signal.
After testing, according to the control circuit provided in this embodiment, through experiments, if I end And I start When the addition carry signal is 0 during addition, the xor operation is performed on the first thermometer code and the second thermometer code output by the first thermometer code decoder 12 and the second thermometer code decoder 12, and the obtained thermometer code just corresponds to the state of the corresponding current source, for example, after the xor operation, if the fifth bit code of the thermometer code corresponding to the fifth current source is 1, the fifth current source is just turned on, if the seventh bit code of the thermometer code corresponding to the seventh current source is 0, the table is just shownShowing the seventh current source turned off.
Based on the above-mentioned corresponding relationship between the current source and the thermometer code, the present embodiment provides the following logic operation circuits.
In one embodiment, for example, the logical operation circuit 18 includes an exclusive-or gate and an exclusive-or gate. Two input ends of the exclusive-or gate circuit are respectively connected with the output ends of the first thermometer code decoder 12 and the second thermometer code decoder 12; two input ends of the exclusive-nor circuit are also respectively connected with the output ends of the first thermometer code decoder 12 and the second thermometer code decoder 13; the output ends of the exclusive-OR gate circuit and the exclusive-OR gate circuit are used for outputting the switch control signal. The output end of the logic control circuit is respectively connected with the control ends of the exclusive-OR gate circuit and the exclusive-OR gate circuit, and at the moment, for example, when the addition carry signal is 0, the logic control circuit controls the exclusive-OR gate circuit to work so that the signal output by the exclusive-OR gate circuit is a switch control signal; when the addition carry signal is 1, the logic control circuit controls the exclusive OR gate circuit to work, so that the signal output by the exclusive OR gate circuit is a switch control signal. The exclusive or circuit in this embodiment refers to a circuit capable of performing exclusive or operation, and specifically, for example, the exclusive or circuit includes an exclusive or circuit and a not circuit, and performs exclusive or operation on an input signal first, and then performs not operation on a result of the exclusive or operation, so as to achieve the purpose of exclusive or operation.
In one embodiment, for example, the logical operation circuit 18 includes an exclusive-or gate circuit and a not gate circuit; two input ends of the exclusive-or circuit are respectively connected with the output ends of the first thermometer code decoder 12 and the second thermometer code decoder 13, the output end of the exclusive-or circuit is connected with the input end of the non-gate circuit, and the output end of the non-gate circuit is used for outputting a switch control signal. The output end of the logic control circuit is connected with the control end of the NOT-gate circuit, and when the addition carry signal is 0, the logic control circuit controls the NOT-gate circuit not to work so that the signal output by the XOR gate circuit is a switch control signal; when the addition carry signal is 1, the logic control circuit controls the NOT gate circuit to work, so that the signal output by the NOT gate circuit is a switch control signal.
In one embodiment, as shown in FIG. 2, for example, the logical operation circuit 18 includes an XOR gate 14, a NOT gate 15, and a selector circuit 16. Two input ends of the exclusive-or gate circuit 14 are respectively connected with output ends of the first thermometer code decoder 12 and the second thermometer code decoder 13, one output end of the exclusive-or gate circuit 14 is connected with an input end of the nand gate circuit 15, the other output end of the exclusive-or gate circuit and an output end of the not gate circuit 15 are both connected with an input end of the selector circuit 16, and an output end of the selector circuit 16 is used for outputting a switch control signal. The output end of the logic control circuit is connected with the control end of the selector circuit 16, and when the addition carry signal is 0, the selector circuit 16 is used for selecting the signal output by the exclusive-or gate circuit 14 as a switch control signal; when the addition carry signal is 1, the selector circuit 16 is configured to select the signal output by the not gate circuit 15 as the switch control signal. For example, in FIG. 2, the signal I is output end And I start After the first thermometer code decoder 12 and the second thermometer code decoder 123 are used for decoding, the thermometer code a is obtained respectively 0 、a 1 、...a M And b 0 、b 1 、...b M Wherein a is M And b M Is always 0. Finally, the switch control signals obtained by the operation of the logic operation circuit 18 are respectively S 0 、S 1 、...S M When the addition carry signal is 0, the selector circuit 16 selects the signal output from the terminal labeled 0 in the selector circuit 16 in fig. 2 as the switch control signal, and when the addition carry signal is 1, the selector circuit 16 selects the signal output from the terminal labeled 1 in fig. 2 as the switch control signal.
In one embodiment, the logic control circuit comprises an and gate circuit 17, as shown in fig. 2. One input end of the and-gate circuit 17 is connected to the carry signal end Co of the adder 11, the other end of the and-gate circuit 17 is used for receiving the first clock control signal Clk, and an output end of the and-gate circuit is an output end of the logic control circuit, that is, the output end of the and-gate circuit is connected to the control end of the selector circuit 16. The first clock control signal Clk is synchronized with the second timing in this embodiment.
Specifically, the memory circuit 10 of the present embodiment is a register; the register is provided with a clock signal terminal, and the clock signal terminal is used for receiving a second clock control signal Clk' which is later than the first clock control signal by a half period. Correspondingly, in this embodiment, the first time corresponds to the second clock control signal Clk', and the second time corresponds to the first clock control signal Clk.
Generally, the number of the logic operation circuits 18 needs to be determined according to the maximum number of bits of the signal to be converted input by the system, for example, the number of the logic operation circuits is M, and M =2 N And N is the maximum bit number of the signal to be transformed input by the adder. The output ends of the plurality of logical operation circuits 18 are respectively used for being connected with the control ends of the plurality of current sources; according to the circuit in fig. 2 provided in this embodiment, when the switch control signal output by the logic operation circuit 18 is 1, the corresponding current source operates, and when the switch control signal output by the logic operation circuit 18 is 0, the corresponding current source stops operating.
In this embodiment, taking the case where N =2 as an example, the calibration circuit starts to operate, and if the initially input signal to be converted (digital signal) is 01, the signal I is now output end =01,I start =00, obtained after passing through two thermometer decoders respectively 0 =1、a 1 =0、a 2 =0、a 3 =0 and b 0 =0、b 1 =0、b 2 =0、b 3 =0; corresponding to a n And b n After passing through an exclusive OR gate, the output is 1 if the two are the same, and the output is 0 if the two are different; due to carry C of adder at this time o And the clock signal Clk is output as 0 through an AND gate, and when the clock is at a high level, the output of the two-way selector is equal to the output of an exclusive-OR gate, namely S 0 =1,S 1 =0,S 2 =0,S 3 =0; during this clock cycle, when the clock goes low, the register holds the current signal, i.e. I start =01。
When the second input digital signal is 10, the input digital signal and the signal stored in the register are added by the adder to obtain I end =11,I start Still =01,i end And I start Respectively passing through two temperaturesAfter counting the decoder, a is obtained 0 =1、a 1 =1、a 2 =1、a 3 =0 and b 0 =1、b 1 =0、b 2 =0、b 3 =0; corresponding to a n And b n After passing through an exclusive OR gate, the output is 1 if the two are the same, and the output is 0 if the two are different; due to carry C of adder at this time o And the clock signal Clk is output as 0 through an AND gate, and when the clock is at a high level, the output of the two-way selector is equal to the output of an exclusive-OR gate, namely S 0 =0,S 1 =1,S 2 =1,S 3 =0; during this clock cycle, when the clock signal goes low, the register holds the current signal, i.e., I start And =11. It can be seen that a 0 And b 0 The output of the exclusive-or gate is 0, and the previous digital signal is removed in the process, so that the cyclic selection of the current source is completed.
When the third input digital signal is 10, the input digital signal and the signal stored in the register are added by the adder to obtain I end =01,I start Still =11,i end And I start Respectively passing through a thermometer decoder to obtain a 0 =1、a 1 =0、a 2 =0、a 3 =0 and b 0 =1、b 1 =1、b 2 =1、b 3 =0; corresponding to a n And b n After passing through an exclusive OR gate, the output is 1 if the two are the same, and the output is 0 if the two are different; and due to carry C of the adder o =1, when the clock is high, the output of the two-way selector is opposite to the output of the exclusive or gate, that is, the output signal of the not gate circuit 15, that is, S 0 =1、S 1 =0、S 2 =0、S 3 =1; during this clock cycle, when the clock goes low, the register holds the current signal, i.e. I start And =01. By analogy, the control circuit of the embodiment completes the cyclic selection of the current sources, enables the probability that each current source is selected to tend to be equal, and effectively reduces the error of the current steering DAC caused by the mismatch of the current sources. For example, FIG. 3 is a current source selection circuit implemented by the circuit of the present embodiment according to the inputIt is intended that black filled in fig. 3 indicates that the current source is selected to operate, and white filled indicates that the current source is not operating.
In this embodiment, based on a 22nm technology of TSMC (station accumulated power), a DWA circuit of a 4-bit input signal is designed by using the DWA calibration scheme proposed in this proposal, and the effect of the change of the output control signal with the input signal is as shown in fig. 4. Through statistics, the number of gates of the control circuit provided by the embodiment is 295, the delay time of the circuit is 3ns, and the control circuit is very suitable for a high-speed current steering DAC.
Example two:
based on the design concept of the present application, this embodiment provides a modification of the first embodiment, for example, fig. 4 provides a current source control circuit applied to current steering for this embodiment, the pointer register in fig. 4 is equivalent to the register in fig. 2, and the adder and the pointer register in fig. 4 jointly form a control shift circuit, the pointer register is used to store the digital signal input at the first time, the control shift circuit is used to control the logarithmic shift circuit, and after the digital signal of the input binary code is decoded by the thermometer code decoder, the control signal is output by the logarithmic shift circuit to complete the sequential selection of the current source. The specific implementation principle and the achieved effect of selecting the current source with equal probability are shown in fig. 5, as shown in fig. 5, when the input signal is 3, the current sources 1-3 are selected to operate, when the input signal is 7 for the second time, the current sources 4-10 are selected to operate, and when the input signal is 6 for the third time, the current sources 11-15 and 1 are selected to operate. Therefore, based on the circuit shown in fig. 4 of this embodiment, cyclic selection of the current source can be realized, and the error of the circuit can be reduced to a certain extent, but the circuit in fig. 4 is more complex and has more gates, so that the circuit area is large, the response speed is slow, and the application of the circuit in a high-speed current steering DAC is limited.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.
Claims (10)
1. A current source control circuit for application to a current rudder, comprising: the temperature measuring circuit comprises a storage circuit, an adder, a first thermometer code decoder, a second thermometer code decoder and a plurality of logic operation circuits;
the first input end of the adder is used for receiving an input digital signal to be converted, the first output end of the adder is connected with the input end of the storage circuit, and the output end of the storage circuit is connected with the second input end of the adder; the storage circuit is used for storing an output signal of the adder at a first moment and inputting the output signal into the adder, and the adder is used for summing the output signal of the first moment and a signal to be converted received at a second moment to obtain an output signal of the second moment;
the output end of the adder is connected with the input end of the first thermometer code decoder, the output end of the storage circuit is connected with the input end of the second thermometer code decoder, and the input end of the logic operation circuit is respectively connected with the output ends of the first thermometer code decoder and the second thermometer code decoder;
the first thermometer code decoder is used for converting the output signal at the second moment into a first thermometer code, the second thermometer code decoder is used for converting the output signal at the first moment into a second thermometer code, and the logic operation circuit is used for performing logic operation on the first thermometer code and the second thermometer code to obtain a corresponding switch control signal; and the switch control signal is used for controlling the corresponding current source to work.
2. The current source control circuit applied to a current rudder according to claim 1, characterized by further comprising a logic control circuit;
the input end of the logic control circuit is connected with the carry signal end of the adder, and the output end of the logic control circuit is connected with the control end of the logic operation circuit; the logic control circuit is used for generating a corresponding logic control signal according to the addition carry signal output by the carry signal end so as to control the logic operation circuit to select a corresponding operation logic, thereby obtaining a corresponding switch control signal.
3. The current source control circuit applied to the current rudder according to claim 1 or 2, wherein the logical operation circuit includes an exclusive or gate circuit and an exclusive or gate circuit;
two input ends of the exclusive-or gate circuit are respectively connected with output ends of the first thermometer code decoder and the second thermometer code decoder; two input ends of the exclusive-nor circuit are also respectively connected with output ends of the first thermometer code decoder and the second thermometer code decoder; the output ends of the exclusive-OR gate circuit and the exclusive-OR gate circuit are used for outputting the switch control signal;
the output end of the logic control circuit is respectively connected with the control ends of the exclusive-or gate circuit and the exclusive-or gate circuit, and when the addition carry signal is 0, the logic control circuit controls the exclusive-or gate circuit to work so that the signal output by the exclusive-or gate circuit is the switch control signal; when the addition carry signal is 1, the logic control circuit controls the exclusive OR gate circuit to work, so that the signal output by the exclusive OR gate circuit is the switch control signal.
4. The current source control circuit applied to the current rudder according to any one of claims 1 to 2, wherein the logic operation circuit includes an exclusive or gate circuit and a not gate circuit;
two input ends of the exclusive-or gate circuit are respectively connected with output ends of the first thermometer code decoder and the second thermometer code decoder, an output end of the exclusive-or gate circuit is connected with an input end of the not gate circuit, and an output end of the not gate circuit is used for outputting the switch control signal;
the output end of the logic control circuit is connected with the control end of the NOT gate circuit, and when the addition carry signal is 0, the logic control circuit controls the NOT gate circuit not to work so that the signal output by the XOR gate circuit is the switch control signal; when the addition carry signal is 1, the logic control circuit controls the not gate circuit to work, so that the signal output by the not gate circuit is the switch control signal.
5. The current source control circuit applied to the current rudder according to any one of claims 1 to 2, wherein the logic operation circuit includes an exclusive or gate circuit, a not gate circuit, and a selector circuit;
two input ends of the exclusive-or circuit are respectively connected with output ends of the first thermometer code decoder and the second thermometer code decoder, one output end of the exclusive-or circuit is connected with an input end of the not circuit, the other output end of the exclusive-or circuit and the output end of the not circuit are both connected with an input end of the selector circuit, and an output end of the selector circuit is used for outputting the switch control signal;
the output end of the logic control circuit is connected with the control end of the selector circuit, and when the addition carry signal is 0, the selector circuit is used for selecting the signal output by the XOR gate circuit as the switch control signal; when the addition carry signal is 1, the selector circuit is used for selecting the signal output by the NOT gate circuit as the switch control signal.
6. The current source control circuit applied to the current rudder according to any one of claims 2 to 5, wherein the logic control circuit includes an AND gate circuit;
one input end of the AND gate circuit is connected with a carry signal end of the adder, the other end of the AND gate circuit is used for receiving a first clock control signal, and the output end of the AND gate circuit is the output end of the logic control circuit; the first clock control signal is synchronized with the second time.
7. The current source control circuit applied to the current rudder according to any one of claims 1 to 6, wherein the number of the logical operation circuits is M;
the M =2 N And the N is the maximum bit number of the signal to be transformed input by the adder.
8. The current source control circuit applied to a current rudder according to claim 6, wherein the storage circuit is a register;
and the register is provided with a clock signal end which is used for receiving a second clock control signal, and the second clock control signal is later than the first clock control signal by a half cycle.
9. The current source control circuit applied to the current rudder according to any one of claims 3 to 5, wherein the output terminals of the plurality of logical operation circuits are respectively used for being connected with the control terminals of a plurality of current sources;
and when the switch control signal output by the logic operation circuit is 1, the corresponding current source works, and when the switch control signal output by the logic operation circuit is 0, the corresponding current source stops working.
10. A digital-to-analog conversion circuit comprising a current source control circuit applied to a current rudder according to any one of claims 1 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211204202.9A CN115549679A (en) | 2022-09-29 | 2022-09-29 | Current source control circuit and digital-to-analog conversion circuit applied to current rudder |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211204202.9A CN115549679A (en) | 2022-09-29 | 2022-09-29 | Current source control circuit and digital-to-analog conversion circuit applied to current rudder |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115549679A true CN115549679A (en) | 2022-12-30 |
Family
ID=84731191
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211204202.9A Pending CN115549679A (en) | 2022-09-29 | 2022-09-29 | Current source control circuit and digital-to-analog conversion circuit applied to current rudder |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115549679A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117176154A (en) * | 2023-11-03 | 2023-12-05 | 北京智联安科技有限公司 | Digital-to-analog converter and chip |
-
2022
- 2022-09-29 CN CN202211204202.9A patent/CN115549679A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117176154A (en) * | 2023-11-03 | 2023-12-05 | 北京智联安科技有限公司 | Digital-to-analog converter and chip |
CN117176154B (en) * | 2023-11-03 | 2024-01-26 | 北京智联安科技有限公司 | Digital-to-analog converter and chip |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101160723B (en) | System and method for tri-level logic data shuffling for oversampling data conversion | |
CN106341134B (en) | Digital-to-analog converter with local interleaving and resampling | |
JPH06181438A (en) | Digital delta-sigma modulator | |
CN101567692A (en) | Method for matching parallel high-speed dynamic elements | |
CN115549679A (en) | Current source control circuit and digital-to-analog conversion circuit applied to current rudder | |
CN113179100A (en) | Time-to-digital converter for measuring decimal phase error of all-digital phase-locked loop | |
CN109639278A (en) | The timing compensation method and device of multichannel time-interleaved AD C | |
CN211959177U (en) | Ramp signal generating circuit of image sensor | |
EP3843272A1 (en) | Digital-to-analog converter, transmitter, base station and mobile device | |
CN111628772A (en) | High-speed high-precision time domain analog-to-digital converter | |
CN111245439A (en) | Dynamic element matching circuit and method applied to digital-to-analog converter | |
US6366228B2 (en) | Selecting circuit, digital/analog converter and analog/digital converter | |
JP2003046388A (en) | Clock synchronization device | |
CN109639276B (en) | Double-time-interleaved current-steering DAC with DRRZ correction function | |
US10778240B1 (en) | Device and method for digital to analog conversion | |
CN115208406A (en) | Hybrid digital-analog conversion circuit, chip and conversion method | |
CN114884510A (en) | SAR ADC circuit of low bit error rate | |
JP2004128637A (en) | D/a converter | |
CN109358485B (en) | Digital-to-time converter control method, digital-to-time converter control device, electronic equipment and storage medium | |
CN102545905A (en) | Digital to analog converter (DAC) | |
CN103684452A (en) | Matching method and device for dynamic cells | |
JP3474492B2 (en) | D / A converter circuit | |
JP3949560B2 (en) | High-speed oversampling modulation circuit | |
US4290050A (en) | Digital-analog converter utilizing fibonacci series | |
WO2020112291A1 (en) | A concept for converting a thermometer-coded input signal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |