# US 2020/0403583 A1 · Dc offset cancellation circuit and dc offset cancellation method

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2020/0403583 A1
- Document ID: US20200403583A1
- Status: Published application
- Kind: A1
- Application number: 16/969,988
- Filed: 2018-03-07
- Published: 2020-12-24
- Earliest claimed: 2018-03-07
- Assignees: Xiamen Ux High-Speed Ic Co., Ltd.
- Applicants: Xiamen Ux High-Speed Ic Co., Ltd.
- Inventors: Kexun Zhang; Junhua Ge; Jie Zhou; Jianhua Pan
- Web page: https://patentgrep.com/patent/US20200403583A1

## CPC

- H03F 3/16: with field-effect devices
- H03F 3/45475: {using IC blocks as the active amplifying circuit}
- H03F 3/45183: {Long tailed pairs (H03F3/4521, H03F3/45237 take precedence)}
- H03F 3/45748: {by using a feedback circuit}
- H03F 3/45973: {by using a feedback circuit}
- H04B 10/69: Electrical arrangements in the receiver
- H03F 2200/171: A filter circuit coupled to the output of an amplifier
- H03F 2200/321: Use of a microprocessor in an amplifier circuit or its control circuit
- H03F 2200/375: Circuitry to compensate the offset being present in an amplifier
- H03F 2200/408: the output amplifying stage of an amplifier comprising three power stages
- H03K 5/24: the characteristic being amplitude
- H03F: AMPLIFIERS
- H04B: TRANSMISSION
- H03K: PULSE TECHNIQUE (measuring pulse characteristics G01R; modulating sinusoidal oscillations with pulses H03C; transmission of digital information H04L; discriminator circuits detecting phase difference between two signals by counting or integrating cycles of oscillation H03D3/04; automatic control, starting, synchronisation or stabilisation of generators of electronic oscillations or pulses where the type of generator is irrelevant or unspecified H03L; coding, decoding or code conversion, in general H03M)

## Abstract

A DC offset cancellation circuit and a DC offset cancellation method are disclosed. The DC offset cancellation circuit comprises a high-speed amplifier, a voltage comparator, a microprocessor, and a digital-to-analog converter. The high-speed amplifier comprises an input stage with a DC offset cancellation function, an amplification stage, and an output buffer stage. The voltage comparator is connected to the output buffer stage. The microprocessor is connected to the voltage comparator. The digital-to-analog converter is connected to the microprocessor. The digital-to-analog converter is connected to the input stage.

## Claims

### Claim 1

A DC offset cancellation circuit, comprising a high-speed amplifier, a voltage comparator, a microprocessor, and a digital-to-analog converter; the high-speed amplifier including an input stage with a DC offset cancellation function, an amplification stage, and an output buffer stage; the input stage having a first signal input terminal Inp, a second signal input terminal Inn, a first signal output terminal Outp, a second signal output terminal Outn, a first DC compensation terminal DCinp, and a second DC compensation terminal DCinn; the first signal input terminal Inp and the second signal input terminal Inn being configured to input input signals inp and inn, respectively; the first DC compensation terminal DCinp and the second DC compensation terminals DCinn being configured to input compensation signals dcinp and dcinn respectively, the first signal output terminal Outp and the second signal output terminal Outn being configured to output first output signals outp1 and outn1, respectively; the first output signals outp1 and outn1 being generated by the input stage after processing the input signals inp and inn and the compensation signals dcinp and dcinn; a non-inverting input terminal and an inverting input terminal of the amplification stage being connected to the first signal output terminal Outp and the second signal output terminal Outn, respectively; the amplification stage being configured to amplify the first output signals outp1 and outn1 to generate second output signals outp2 and outn2; a non-inverting input terminal and an inverting input terminal of the output buffer stage being connected to a non-inverting output terminal and an inverting output terminal of the amplification stage respectively, the output buffer stage being configured to buffer the second output signals outp2 and outn2 to generate output signals outp and outn; a non-inverting input terminal of the voltage comparator being connected to a non-inverting output terminal of the output buffer stage through a low-pass filter; an inverting input terminal of the voltage comparator being connected to an inverting output terminal of the output buffer stage through another low-pass filter; the two low-pass filters being configured to filter the output signals outp and outn of the output buffer stage to extract a pair of common-mode output signals G1 and G2 in the output signals outp and outn; the voltage comparator being configured to compare the common-mode output signals G1 and G2 and convert a comparison result into a digital logic signal DLS; the microprocessor being connected to an output terminal of the voltage comparator; the microprocessor being configured to receive the digital logic signal DLS and generate a digital control signal DCS according to the digital logic signal DLS;
a digital signal input terminal Din of the digital-to-analog converter being connected to the microprocessor, a first analog signal output terminal Aoutp and a second analog signal output terminal Aoutn of the digital-to-analog converter being connected to the first DC compensation terminal DCinp and the second DC compensation terminal DCinn of the input stage respectively, the digital-to-analog converter being configured to receive the digital control signal DCS and generate the pair of compensation signals dcinp and dcinn according to the digital control signal DCS to be output to the first DC compensation terminal DCinp and the second DC compensation terminal DCinn of the input stage, respectively.

### Claim 2 (depends on 1)

The DC offset cancellation circuit as claimed in claim 1, wherein the digital signal input terminal Din of the digital-to-analog converter has n digital signal input terminals Din, n is a positive integer greater than or equal to 2; the n digital signal input terminals Din are sequentially from a first digital signal input terminal Din(1) to an nth digital signal input terminal Din(n); the digital signal input terminals Din of the digital-to-analog converter being connected to the microprocessor through a digital bus;
the digital-to-analog converter includes a first conversion resistor R01, a second conversion resistor R02, and n conversion circuits; the n conversion circuits are sequentially from a first conversion circuit to an nth conversion circuit; one end of the first conversion resistor R01 and one end of the second conversion resistor R02 are grounded;
the first conversion circuit includes a first inverter F1, a first current source i1, a first positive-phase controllable switch S1, and a first negative-phase controllable switch K1; an input terminal of the first current source i1 is connected to a working power supply VDD, an output terminal of the first current source i1 is connected to an input terminal of the first positive-phase controllable switch S1 and an input terminal of the first negative-phase controllable switch K1; an output current of the first current source i1 is i(0); an input terminal of the first inverter F1 is connected to the first digital signal input terminal Din(1), an output terminal of the first inverter F1 is connected to a control terminal of the first negative-phase controllable switch K1; an output terminal of the first negative-phase controllable switch K1 is connected to another terminal of the first conversion resistor R01 and the second analog signal output terminal Aoutn of the digital-to-analog converter; a control terminal of the first positive-phase controllable switch S1 is connected to the first digital signal input terminal Din(1), an output terminal of the first positive-phase controllable switch S1 is connected to another end of the second conversion resistor R02 and the first analog signal output terminal DCinp; the nth conversion circuit includes an nth inverter Fn, an nth current source in, an nth positive-phase controllable switch Sn, and an nth negative-phase controllable switch Kn; an input terminal of the nth current source in is connected to the working power supply VDD, an output terminal of the nth current source in is connected to an input terminal of the nth positive-phase controllable switch Sn and an input terminal of the nth negative-phase controllable switch Kn; an output current of the n-th current source in is i(n), i(n) is equal to 2 to the power of n times i(0); an input terminal of the nth inverter Fn is connected to the nth digital signal input terminal Din(n), an output terminal of the nth inverter Fn is connected to a control terminal of the nth negative-phase controllable switch Kn; an output terminal of the nth negative-phase controllable switch Kn is connected to the another terminal of the first conversion resistor R01 and the second analog signal output terminal Aoutn of the digital-to-analog converter; a control terminal of the nth positive-phase controllable switch Sn is connected to the nth digital signal input terminal Din(n), an output terminal of the nth positive-phase controllable switch Sn is connected to the another terminal of the second conversion resistor R02 and the first analog signal output terminal DCinp;
the first positive-phase controllable switch S1 to the nth positive-phase controllable switch Sn and the first negative-phase controllable switch K1 to the nth negative-phase controllable switch Kn each have a same control level.

### Claim 3 (depends on 2)

The DC offset cancellation circuit as claimed in claim 2, wherein the input stage includes a first resistor R1, a second resistor R2, a first NMOS transistor Q1, a second NMOS transistor Q2, a third NMOS transistor Q3, a fourth NMOS transistor Q4, a first constant current source I0, a first voltage-controlled current source I1, and a second voltage-controlled current source I2;
one end of the first resistor R1 is connected to the working power supply VDD, another end of the first resistor R1 is connected to a drain of the first NMOS transistor Q1 and a drain of the third NMOS transistor Q3;
one end of the second resistor R2 is connected to the working power supply VDD, another end of the second resistor R2 is connected to a drain of the second NMOS transistor Q2 and a drain of the fourth NMOS transistor Q4;
an input terminal of the first constant current source I0 is connected to a source of the first NMOS transistor Q1 and a source of the second NMOS transistor Q2; an output terminal of the first constant current source I0 is grounded;
an input terminal of the first voltage-controlled current source I1 is connected to a source of the third NMOS transistor Q3, an output terminal of the first voltage-controlled current source I1 is grounded; an input terminal of the second voltage-controlled current source I2 is connected to a source of the fourth NMOS transistor Q4, an output terminal of the second voltage-controlled current source I2 is grounded; a control terminal of the first voltage-controlled current source I1 and a control terminal of the second voltage-controlled current source I2 serve as the second DC compensation terminal DCinn and the first DC compensation terminal DCinp of the input stage, respectively;
a gate of the third NMOS transistor Q3 and a gate of the fourth NMOS transistor Q4 are connected to a bias power supply Vref; a common terminal of the third NMOS transistor Q3, the first NMOS transistor Q1 and the first resistor R1 serves as the second signal output terminal Outn of the input stage; a common terminal of the fourth NMOS transistor Q4, the second NMOS transistor Q2 and the second resistor R2 serves as the first signal output terminal Outp of the input stage; a gate of the first NMOS transistor Q1 and a gate of the second NMOS transistor Q2 serve as the first signal input terminal Inp and the second signal input terminal Inn of the input stage, respectively.

### Claim 4 (depends on 2)

The DC offset cancellation circuit as claimed in claim 2, wherein the input stage includes a third resistor R3, a fourth resistor R4, a fifth NMOS transistor Q5, a sixth NMOS transistor Q6, a seventh NMOS transistor Q7, an eighth NMOS transistor Q8, a second constant current source I3, and a third constant current source I4;
one end of the third resistor R3 is connected to the working power supply VDD, another end of the third resistor R3 is connected to a drain of the fifth NMOS transistor Q5 and a drain of the seventh NMOS transistor Q7; one end of the fourth resistor R4 is connected to the working power supply VDD, another end of the fourth resistor R4 is connected to a drain of the sixth NMOS transistor Q6 and a drain of the eighth NMOS transistor Q8; an input terminal of the second constant current source I3 is connected to a source of the fifth NMOS transistor Q5 and a source of the sixth NMOS transistor Q6, an output terminal of the second constant current source I3 is grounded;
an input terminal of the third constant current source I4 is connected to a source of the seventh NMOS transistor Q7 and a source of the eighth NMOS transistor Q8, an output terminal of the third constant current source I4 is grounded;
a gate of the seventh NMOS transistor Q7 and a gate of the eighth NMOS transistor Q8 serve as the second DC compensation terminal DCinn and the first DC compensation terminal DCinp of the input stage, respectively; a common terminal of the seventh NMOS transistor Q7, the fifth NMOS transistor Q5 and the third resistor R3 serves as the second signal output terminal Outn of the input stage; a common end of the eighth NMOS transistor Q8, the sixth NMOS transistor Q6 and the fourth resistor R4 serves as the first signal output terminal Outp of the input stage; a gate of the fifth NMOS transistor Q5 and a gate of the sixth NMOS transistor Q6 serve as the first signal input terminal Inp and the second signal input terminal Inn of the input stage, respectively.

### Claim 5 (depends on 2)

The DC offset cancellation circuit as claimed in claim 2, wherein the input stage includes a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, a capacitor C1, a ninth NMOS transistor Q9, a tenth NMOS transistor Q10, and a fourth constant current source I5;
one end of the fifth resistor R5 is connected to the working power supply VDD, another end of the fifth resistor R5 is connected to a drain of the ninth NMOS transistor Q9; a common terminal of the fifth resistor R5 and the ninth NMOS transistor Q9 serves as the second signal output terminal Outn of the input stage;
one end of the sixth resistor R6 is connected to the working power supply VDD, another end of the sixth resistor R6 is connected to the tenth NMOS transistor Q10; a common terminal of the sixth resistor R6 and the tenth NMOS transistor Q10 serves as the first signal output terminal Outp of the input stage;
one end of the seventh resistor R7 is connected to a gate of the ninth NMOS transistor Q9, another end of the seventh resistor R7 is connected to one end of the capacitor C1; a common terminal of the seventh resistor R7 and the ninth NMOS transistor Q9 serves as the first signal input terminal Inp of the input stage; a common terminal of the seventh resistor R7 and the capacitor C1 serves as the second DC compensation terminal DCinn of the input stage;
one end of the eighth resistor R8 is connected to a gate of the tenth NMOS transistor Q10, another end of the eighth resistor R8 is connected to another end of the capacitor C1; a common terminal of the eighth resistor R8 and the tenth NMOS transistor Q10 serves as the second signal input terminal Inn of the input stage; a common terminal of the eighth resistor R8 and the capacitor C1 serves as the first DC compensation terminal DCinp of the input stage;
an input terminal of the fourth constant current source I5 is connected to a source of the ninth NMOS transistor Q9 and a source of the tenth NMOS transistor Q10, an output terminal of the fourth constant current source I5 is grounded.

### Claim 6 (depends on 1, 2, 3, 4, 5)

ADC offset cancellation method, based on the DC offset cancellation circuit as claimed in any one of claims 1-5, the DC offset cancellation method being applied to an application environment where the first signal input terminal Inp and the second signal input terminal Inn of the input stage do not input the input signals inn and inp, the DC offset cancellation method comprising:
step 1: the microprocessor presetting a decimal initial value and assigning the initial value to the digital control signal DCS; the digital-to-analog converter receiving the digital control signal DCS and generating the corresponding compensation signals dcinp and dcinn to be output to the input stage for compensation according to the digital control signal DCS;
step 2: using the two low-pass filters to extract the common-mode output signals G1 and G2 in the output signals outp and outn of the output buffer stage; the voltage comparator comparing the common-mode output signals G1 and G2 with each other to output the digital logic signal DLS; wherein when the common-mode output signal G1 is greater than the common-mode output signal G2, the digital logic signal DLS output from the voltage comparator being at a high level; when the common-mode output signal G1 is less than the common-mode output signal G2, the digital logic signal DLS output from the voltage comparator is at a low level;
step 3: the microprocessor reading the digital logic signal DLS generated by the voltage comparator and judging the digital logic signal DLS, if the digital logic signal DLS is at the high level, going to step 4; if the digital logic signal DLS is at the low level, going to step 5;
step 4: the microprocessor adding one to the initial value and assigning the processed initial value to the digital control signal DCS, and the digital-to-analog converter generating the corresponding compensation signals dcinp and dcinn to be output to the input stage for compensation according to the digital control signal DCS, and then repeating step 2, the microprocessor reading the digital logic signal DLS of the voltage comparator again and making a judgement, if the digital logic signal DLS is at the low level, the microprocessor keeping an assignment of the digital control signal DCS unchanged, otherwise repeating step 4;
step 5: the microprocessor subtracting one from the initial value and assigning the processed initial value to the digital control signal DCS, and the digital-to-analog converter generating the corresponding compensation signals dcinp and dcinn to be output to the input stage for compensation according to the digital control signal DCS, and then repeating step 2, the microprocessor reading the digital logic signal DLS of the voltage comparator again and making a judgement, if the digital logic signal DLS is at the high level, the microprocessor keeping the assignment of the digital control signal DCS unchanged, otherwise repeating step 5.
