Method and circuit for compensating for the offset voltage of electronic circuits
10833689 · 2020-11-10
Assignee
Inventors
- Andrés Felipe Amaya Beltrán (Bucaramanga, CO)
- Rodolfo Villamizar Mejía (Bucaramanga, CO)
- Élkim Felipe Roa Fuentes (Bucaramanga, CO)
Cpc classification
H03F1/08
ELECTRICITY
H03F2203/45212
ELECTRICITY
International classification
H03M1/06
ELECTRICITY
H03F1/30
ELECTRICITY
Abstract
The present invention corresponds to a method and a circuit for compensating the offset voltage of electronic circuits, where the circuit implementing the method comprises: a dynamic comparator (1); a phase detector (6) connected to the dynamic comparator (1), the phase detector (6); a finite-state machine (9) connected to the phase detector (4), a first digital-analog converter (12) connected to an output of the finite-state machine (9); a second digital-analog converter (13) connected to another output (11) of the finite-state machine (9); a polarization block (14) with a first input (15) connected to the output of the first digital-analog converter (12) and a second input (16) connected to the output of the second digital-analog converter (13); where the polarization block (14) polarizes an electronic circuit (17) and the dynamic comparator (1), the phase detector (6), and the finite-state machine (9) are connected to a clock signal (3). The method is characterized by the following steps: a) connecting a dynamic comparator to the output of the electronic circuit; b) measuring the phase change of the dynamic comparator outputs of step a by means of a phase detector; c) controlling the output signals of a finite-state machine according to the phase detector output of step b, which can be coded forward, backward or in phase; c) converting the output of the finite-state machine of step c to an analog signal using two digital-analog converters; d) connecting the output of the two digital-analog converters of step d to the control terminal of the electronic circuit polarization block; and, e) modifying the polarization current of the electronic circuit polarization block by means of the output signals of the two digital-analog converters connected in step e.
Claims
1. A circuit to compensate the offset voltage of electronic circuits comprising: a dynamic comparator (1) having a first output (4) and a second output (5); a phase detector (6) connected to a first output (4) and a second output (5) of the dynamic comparator (1), the phase detector (6) has a first output (7) and a second output (8); a finite-state machine (9) connected to the first output (7) and the second output (8) of the phase detector (4), the finite-state machine (5) has a first output X1 (10) and a second output X2 (11); a first digital-analog converter (12) connected to the first output (10) of the finite-state machine (9); a second digital-analog converter (13) connected to the second output (11) of the finite-state machine (9); and, a polarization block (14) with a first input (15) connected to the output of the first digital-analog converter (12) and a second input (16) connected to the output of the second digital-analog converter (13); wherein the polarization block (14) polarizes an electronic circuit (17) and the dynamic comparator (1), the phase detector (6), and the finite-state machine (9) are connected to a clock signal (3).
2. The circuit to compensate the offset voltage of claim 1, wherein the first output X1 (6) and the second output X2 (7) of the finite-state machine (5) correspond to digital outputs of 8 bits in length.
3. The circuit to compensate the offset voltage of claim 1, wherein the phase detector (6) is an Ascending/Descending counter with enabling terminals.
4. The circuit to compensate the offset voltage of claim 1, wherein the phase detector (6) comprises: a first D-type Flip-Flop (18) activated by rising edge, where its D input is connected to the first output (4) of the dynamic comparator (1) and its clock signal input is connected to the clock signal (3); a second D-type Flip-Flop (20) activated by falling edge, where its D input is connected to the first output (4) of the dynamic comparator (1); its clock signal input is connected to the clock signal (3); a third D-type Flip-Flop (21) activated by rising edge, where its D input is connected to the second output (5) of the dynamic comparator (1); and its clock signal input is connected to the clock signal (3); a fourth D-type Flip-Flop (23) activated by falling edge, where its D input is connected to the second output (5) of the dynamic comparator (1); and its clock signal input is connected to the clock signal (3); a first two-input XOR gate (19), the first input (24) of the first XOR gate (19) is connected to the Q output of the first D-type Flip-Flop (18), the second input (25) of the first XOR gate (19) is connected to the Q output of the second D-type Flip-Flop (20) and the output of the first XOR gate (19) delivers an UP signal (7); a second two-input XOR gate (22), the first input (26) of the second gate XOR (22) is connected to output Q of the third D-type Flip-Flop (21), the second input (27) of the second XOR gate (22) is connected to output Q of the fourth D-type Flip-Flop (23); and the output of the second XOR gate (22) delivers a DOWN signal (8).
5. A method to compensate the offset voltage of electronic circuits, characterized by the steps: a) connecting a dynamic comparator to the output of the electronic circuit; b) measuring the phase change of the dynamic comparator outputs in step a by means of a phase detector; c) controlling the output signals of a finite-state machine according to the output of a step b phase detector, which can be coded forward, backward or in phase; d) converting the output of the finite-state machine of step c to an analog signal using two digital-analog converters; e) connecting the output of the two digital-analog converters of step d to the polarization block control terminal of the electronic circuit; and, f) modifying the polarization current of the electronic circuit polarization block by means of the output signals of the two digital-analog converters connected in step e.
6. The method to compensate the offset voltage of claim 5, characterized given it fulfills the following state transition sequence in step c: Starting in the Start (28) state, if the UP input signal (7) changes from a low to high state, the machine changes to the Increase Pol state (30) where the output signal X2 decreases by one unit and the X1 signal increases by one unit; Starting in the Start state, if the DOWN input signal (8) changes from a low to high state, the machine changes to the Decrease Pol state (31) where the output signal X2 increases by one unit and the signal X1 decreases by one unit; Starting in the Increase Pol state (30), if the UP input signal (7) changes from a low to high state, the machine remains in the same state; Starting in the Decrease Pol state (31), if the DOWN input signal (8) changes from a low to high state, the machine remains in the same state; Starting in the Increase Pol state (30), if the UP input signal (7) changes from a low to high state and DOWN (8) changes from a low to high state, the machine goes to the Save state (32) where signals X1 (10) and X2 (11) are not altered; Starting at the Decrease Pol state (31), if the DOWN input signal (8) changes from a low to high state and the UP input signal (7) changes from a low to high state, the machine goes to the state Save (32) where signals X1 (10) and X2 (11) are not altered and saved; Starting in any of the four states, if the reset signal goes to a high state, the machine goes to the Start state (28).
Description
DESCRIPTION OF THE FIGURES
(1)
(2)
(3)
(4)
(5)
(6)
(7)
DETAILED DESCRIPTION OF THE INVENTION
(8) The present invention corresponds to a method and a circuit that implements the method to compensate the offset voltage of electronic circuits.
(9) Referring to
(10) The polarization block (14) polarizes an electronic circuit (17) and the dynamic comparator (1), the phase detector (6), and the finite-state machine (9) are connected to a clock signal (3).
(11) In one embodiment of the invention, the electronic circuit (17) can be made up of different electronic circuits, e.g. amplifiers, cascaded, in series, in parallel and combinations of the above configurations and the invention compensates the circuit offset voltage composed in the aforesaid manner and also compensates the offset voltage provided by the dynamic comparator (1).
(12) In the invention, the first output X1 (6) and the second output X2 (7) of the finite-state machine (5) correspond to digital outputs of N bits in length with N belonging to the natural numbers. In one embodiment of the invention, the first output X1 (6) and the second output X2 (7) of the finite-state machine (5) correspond to digital outputs of 8 bits in length.
(13) The phase detector encodes the forward, backward or in phase states of the first output input signal (4) and the second output (5) of the dynamic comparator (1) and digitally encodes the same.
(14) In an invention embodiment and referring to
(15) In one invention embodiment the phase detector encodes the forward, backward or in phase states of the input signal (first output (4) and the second output (5) of the dynamic comparator (1)) and digitally encodes them by making the DOWN signals (8) delivered by the second XOR gate (22) and the UP signal (7) delivered by the first XOR gate (19) have the following encoding: go ahead then UP (7) set high, back then DOWN (8) set high or phase then UP (7) set high and DOWN (8) set high.
(16) The invention of the circuit and the modalities described above, implements a method to compensate the offset voltage of electronic circuits.
(17) The method is characterized by the steps: a) connecting a dynamic comparator to the output of the electronic circuit; b) measuring the change in the phase of the dynamic comparator outputs in step a by means of a phase detector; c) controlling the output signals of a finite-state machine according to the output of a step b phase detector, which can be coded forward, backward or in phase; d) converting the output of the finite-state machine of step c to an analog signal using two digital-analog converters; e) connecting the output of the two digital-analog converters of step d to the control terminal of the electronic circuit polarization block; and, f) modifying the polarization current of the electronic circuit polarization block by means of the output signals of the two digital-analog converters connected in step e.
(18) Referring to
(19) However, the finite-state machine of the invention is not limited to indicating the number of states and providing an encoding thereof, since it is an Ascending/Descending counter with enabling terminals.
(20) Referring to
(21) In step c, the phase detector encodes the forward, backward or in phase states of the first output (4) and second output (5) of the dynamic comparator (1) and encodes them digitally, e.g. forward then UP (7) is high, back then DOWN (8) is high and in phase, then UP is high and DOWN (8) is high, and the states of the finite-state machine take the decrease pol, increase pol and in phase takes the save state, respectively.
(22) In the forward phase it puts UP (7) in a high state and goes to the Increase Pol (30) state, back puts DOWN (8) in a high state and the Decrease Pol (31) or in phase puts UP (7) in high state and DOWN (8) in high state, passing subsequently to the Save state (32).
(23) The digital outputs of the finite-state machine are converted into analog signals, also called analogs, by using the first digital-analog converter (12) and a second digital-analog converter (13), with output signals which modify the current of electronic circuit polarization. The adjustment of these currents compensates the total offset voltage throughout the circuit.
(24) The operation of the method and circuit of the invention can be explained as follows: Referring to
(25) The output V.sub.02 (5) continuously oscillates between VDD and VSS due to the transition between the comparison and restart step of the dynamic comparator (1). As a consequence, any signal at the input to the electronic circuit with an amplitude less than the offset voltage will not generate any change in the transitions of the output signals V.sub.01 (4) and V.sub.02 (5).
(26) Next, the output signals of the dynamic comparator (1) are connected to the input signals of a phase detector (6), in order to measure the difference between its phases.
(27) Under conditions described above, and in the invention embodiment where the phase detector (6) is composed of four Flip-Flops, and referring to
(28) One of the main advantages of the invention is the fact that it can be executed without the need to cancel the input voltage and interrupt the signal transmission. This means that, unlike many methods proposed in the prior art, the input signal does not need to be interrupted and adjusted to a common mode level before correcting the offset voltage. As a consequence, no additional capacitive, inductive and/or resistive load is introduced at the input of the system, so the operating speed of the entire circuit does not degrade. The fact of having to adjust the input signal to a constant common mode level involves connecting at least one switch to the start of the system, introducing additional capacitances and degrading the operating speed.
(29) Another advantage of the proposed method is the fact that not only the offset voltage of the electronic circuit is compensated, but also the offset voltage of the dynamic comparator and electronic circuits is compensated, such as additional amplifiers that are between the electronic circuit (17) and the dynamic comparator (1).
(30) Finally, because the method and circuit of the present invention is implemented with digital techniques, variations in offset voltage provided by variations in the manufacturing process, supply voltage and operating temperature are compensated by the method and circuits of the invention and the various invention embodiments.
(31) This is because in the steps execution of the method and circuits in the present invention, it does not depend on the transition time, which is understood as the up or down time of the signals of any of the electronic circuit signals, nor of the circuit signals to compensate for the offset voltage; since the execution depends only on the frequency of the clock signal (3), which is related to the maximum frequency that both the dynamic comparator (1) and the digital-analogue converters (12) and (13) can develop. On the other hand, the impact of random or mismatch variations is reduced since they can be analyzed as additional offset sources that are also compensated by the present invention.
(32) It should be understood the present invention is not limited to the modalities described and illustrated, because as it will be evident to a person versed in the art, there are variations and possible changes that do not depart from the invention spirit, which is only defined by the following claims.
Embodiment Example
(33) Referring to the FIG. with an input signal of a 3 GHz (Vin) frequency and amplitude 10 mV (Voffl), required by the offset voltage requirement of both the electronic circuit, in this example a preamplifier, as in the comparator is less than 1 mV, and thus to maintain the same operating frequency, the frequency of the clock signal (3) is also 3 GHz.
(34) Referring to
(35) Referring to
(36) Referring to
(37) Referring to
(38) Referring to