A DC offset correction circuit

By using a phase shifter to control the phase difference between the local oscillator and the leaked signal in the DC offset correction circuit, the DC offset problem is solved and the performance of the millimeter wave receiving chip is improved.

CN118631278BActive Publication Date: 2024-11-12IMSEMI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411110326.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-14
Publication Date
2024-11-12
Estimated Expiration
2044-08-14

AI Technical Summary

Technical Problem

In direct frequency converter receivers and millimeter wave radar receiver chips, the DC offset of the intermediate frequency signal IF causes the gain of the post-stage amplifier to decrease and even fail to work normally. The main reasons include the leakage of the mixer's local oscillator signal LO and the isolation between the transmitter and receive antennas. Perfect and coupling of amplifier output results in DC offset.

Method used

Design a DC offset correction circuit, including a radio frequency input port, an amplifier, a mixer, a phase shifter, a offset comparison circuit and a digital logic circuit, and control the phase difference between the local oscillator signal LO and the leaked signal by a phase shifter at ±π/ Near 2, keep the amplitude unchanged to reduce the DC offset value.

Benefits of technology

The DC offset value is effectively reduced, which improves the chip performance and ensures the normal operation of the receiver.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118631278B_ABST
    Figure CN118631278B_ABST
Patent Text Reader

Abstract

The invention discloses a DC offset correction circuit, which includes a radio frequency input port RFin+, a radio frequency input port RFin‑, an amplifier, a mixer, a phase shifter, an offset comparison circuit and a digital logic circuit; the radio frequency input port RFin+ and the radio frequency input port RFin‑ are connected to the differential input positive terminal and the differential input negative terminal of the amplifier, the differential output positive terminal and the differential output negative terminal of the amplifier are connected to the radio frequency input positive terminal and the radio frequency input negative terminal of the mixer through the phase shifter, the local oscillator input positive terminal and the local oscillator input negative terminal of the mixer are connected to the local oscillator signal LO, the first input terminal and the second input terminal of the offset comparison circuit are respectively connected to the intermediate frequency output positive terminal and the intermediate frequency output negative terminal of the mixer, the output terminal of the offset comparison circuit is connected to the digital logic circuit, and the digital logic circuit is connected to the phase shifter. The present invention can minimize the DC offset value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of radio frequency electronic circuits, in particular to a direct current offset correction circuit. Background Art

[0002] In direct conversion receivers and millimeter wave radar receiving chips, the DC offset of the intermediate frequency signal IF is a problem that must be faced. The DC offset of the intermediate frequency signal IF will cause the gain of the subsequent amplifier to decrease, or even fail to work normally.

[0003] Among them, with Figure 1 As shown, in the millimeter wave transceiver chip, there are many paths for the local oscillator signal LO connected to the mixer to leak to the RF input port RFin ( Figure 1 The dotted line in the figure indicates the leakage path), and the main causes of DC offset are:

[0004] 1. Although a differential circuit is used, the mismatch of the mixer will cause the leakage of the local oscillator signal LO to the RF input port RFin to not be regarded as a common-mode signal, thereby affecting the DC bias voltage of the output intermediate frequency signal IF;

[0005] 2. Since the isolation between the receiving and transmitting antennas is not perfect, especially in small-size applications, the distance between the receiving and transmitting antennas is very close, resulting in the power of the transmitting antenna TX directly leaking to the receiving antenna RX, and generating DC offset through the mixing of the mixer, affecting the chip performance;

[0006] 3. The output of the amplifier is coupled to the RF input port RFin through the substrate and ground plane, and then mixed with the local oscillator LO to cause DC offset.

[0007] In view of the existence of the above problems, it is necessary to study a DC offset correction circuit that can minimize the DC offset value. Summary of the invention

[0008] The object of the present invention is to provide a DC offset correction circuit which can reduce the DC offset value to a minimum.

[0009] In order to achieve the above object, the solution of the present invention is:

[0010] A direct current offset correction circuit comprises a radio frequency input port RFin+, a radio frequency input port RFin-, an amplifier, a mixer, a phase shifter, an offset comparison circuit and a digital logic circuit; the radio frequency input port RFin+ and the radio frequency input port RFin- are connected to a differential input positive terminal and a differential input negative terminal of the amplifier, the differential output positive terminal and the differential output negative terminal of the amplifier are connected to a radio frequency input positive terminal and a radio frequency input negative terminal of the mixer through a phase shifter, the local oscillator input positive terminal and the local oscillator input negative terminal of the mixer are connected to a local oscillator signal LO, and a first input terminal and a second input terminal of the offset comparison circuit are respectively connected to an intermediate frequency output positive terminal and an intermediate frequency output negative terminal of the mixer. The negative end is output, the output end of the offset comparison circuit is connected to the digital logic circuit, and the digital logic circuit is connected to the phase shifter; the offset comparison circuit includes a resistor Rc1, a resistor Rc2, a capacitor Cc1 and a voltage comparator U1; the first end of the resistor Rc1 is connected to the second input end of the offset comparison circuit, the second end of the resistor Rc1 and the first end of the capacitor Cc1 are connected to the non-inverting input end of the voltage comparator U1, the first end of the resistor Rc2 is connected to the first input end of the offset comparison circuit, the second end of the resistor Rc2 and the second end of the capacitor Cc1 are connected to the inverting input end of the voltage comparator U1, and the output end of the voltage comparator U1 is connected to the output end of the offset comparison circuit.

[0011] The phase shifter comprises a differential orthogonal all-pass filter circuit and an active phase shift circuit which are connected in sequence.

[0012] The differential orthogonal all-pass filter circuit comprises an inductor L1, an inductor L2, a resistor R1, a resistor R2, a capacitor C1 and a capacitor C2; a first end of the inductor L1 and a first end of the capacitor C1 are connected to a differential input positive end of the differential orthogonal all-pass filter circuit, a first end of the inductor L2 and a first end of the capacitor C2 are connected to a differential input negative end of the differential orthogonal all-pass filter circuit, a second end of the capacitor C1 and a first end of the resistor R1 are connected to a first output positive end of the differential orthogonal all-pass filter circuit, a second end of the resistor R1 and a second end of the inductor L2 are connected to a first output negative end of the differential orthogonal all-pass filter circuit, a first end of the resistor R2 and a second end of the inductor L1 are connected to a second output positive end of the differential orthogonal all-pass filter circuit, a second end of the resistor R2 and a capacitor C1 are connected to a second output positive end of the differential orthogonal all-pass filter circuit The second end of the capacitor C2 is connected to the second output negative end of the differential orthogonal full-pass filter circuit; the active phase shift circuit includes a resistor R3, a resistor R4, a MOS transistor Q1, a MOS transistor Q2, a MOS transistor Q3, a MOS transistor Q4, a MOS transistor Q5, a MOS transistor Q6, a MOS transistor Q7, a MOS transistor Q8, a MOS transistor Q9, a MOS transistor Q10, an adjustable current source I1, an adjustable current power supply I2 and a single-pole double-throw switch K1; the first end of the resistor R3 and the first end of the resistor R4 are connected to the control power supply VDD, the second end of the resistor R3, the drain of the MOS transistor Q1, the drain of the MOS transistor Q3 and the drain of the MOS transistor Q5 are connected to the differential output positive end of the active phase shift circuit, the second end of the resistor R4 and the drain of the MOS transistor Q2 are connected to the differential output positive end of the active phase shift circuit, and the second end of the resistor R4 and the drain of the MOS transistor Q2 are connected to the differential output positive end of the active phase shift circuit. The gate of MOS tube Q1 and the gate of MOS tube Q4 are connected to the first input positive terminal of the active phase shift circuit, the gate of MOS tube Q2 and the gate of MOS tube Q3 are connected to the first input negative terminal of the active phase shift circuit, the source of MOS tube Q1 and the source of MOS tube Q2 are connected to the first switching terminal of the single-pole double-throw switch K1, the source of MOS tube Q3 and the source of MOS tube Q4 are connected to the second switching terminal of the single-pole double-throw switch K1, the common end of the single-pole double-throw switch K1 is connected to the drain of MOS tube Q7, the gate of MOS tube Q7, the drain of MOS tube Q8, the source of MOS tube Q5, and the gate of MOS tube Q6 ...1 and the gate of MOS tube Q2 are connected to the first input positive terminal of the active phase shift circuit, the gate of MOS tube Q2 The source, the gate and the drain of the MOS tube Q9 are connected to the output end of the adjustable current source I1, the gate of the MOS tube Q5 is connected to the second input negative end of the active phase shift circuit, the gate of the MOS tube Q6 is connected to the second input positive end of the active phase shift circuit, the gate of the MOS tube Q8 and the gate and the drain of the MOS tube Q10 are connected to the output end of the adjustable current source I2, the input end of the adjustable current source I1 and the input end of the adjustable current source I2 are connected to the control power supply VCC, the source of the MOS tube Q7, the source of the MOS tube Q8, the source of the MOS tube Q9 and the source of the MOS tube Q10 are grounded, and the adjustable current source I1, the adjustable current power supply I2 and the single-pole double-throw switch K1 are respectively connected to the digital logic circuit and are controlled by the digital logic circuit;The differential input positive terminal and the differential input negative terminal of the differential orthogonal all-pass filter circuit are respectively connected to the differential output positive terminal and the differential output negative terminal of the amplifier, the first input positive terminal and the first input negative terminal of the active phase shift circuit are respectively connected to the first output positive terminal and the first output negative terminal of the differential orthogonal all-pass filter circuit, the second input positive terminal and the second input negative terminal of the active phase shift circuit are respectively connected to the second output positive terminal and the second output negative terminal of the differential orthogonal all-pass filter circuit, and the differential output positive terminal and the differential output negative terminal of the active phase shift circuit are respectively connected to the RF input positive terminal and the RF input negative terminal of the mixer. ;

[0013] The DC offset correction circuit further comprises a window comparison circuit, the input end of the window comparison circuit is connected to the intermediate frequency output positive end of the mixer, and the output end of the window comparison circuit is connected to the digital logic circuit.

[0014] The window comparison circuit includes a voltage comparator U2, a voltage comparator U3 and a NAND gate U4, the inverting input terminal of the voltage comparator U2 and the non-inverting input terminal of the voltage comparator U3 are connected to the input terminal of the window comparison circuit, the non-inverting input terminal of the voltage comparator U2 is connected to the upper threshold voltage signal VH, the inverting input terminal of the voltage comparator U3 is connected to the lower threshold voltage signal VL, the output terminal of the voltage comparator U2 and the output terminal of the voltage comparator U3 are connected to the input terminal of the NAND gate U4, the output terminal of the NAND gate U4 is connected to the output terminal of the window comparison circuit, and the input terminal of the window comparison circuit is connected to the intermediate frequency output positive terminal of the mixer through the resistor Rc2.

[0015] The window comparator also includes an OR gate U5, the output end of the NAND gate U4 is connected to the output end of the window comparison circuit through the OR gate U5, the first input end of the OR gate U5 is connected to the output end of the NAND gate U4, the second input end of the OR gate U5 is connected to the enable signal EN, and the output end of the OR gate U5 is connected to the output end of the window comparison circuit.

[0016] Another DC offset correction circuit includes a radio frequency input port RFin+, a radio frequency input port RFin-, an amplifier, a mixer, a phase shifter, an offset comparison circuit and a digital logic circuit; the radio frequency input port RFin+ and the radio frequency input port RFin- are connected to the differential input positive terminal and the differential input negative terminal of the amplifier, the differential output positive terminal and the differential output negative terminal of the amplifier are respectively connected to the radio frequency input positive terminal and the radio frequency input negative terminal of the mixer, the local oscillator input positive terminal and the local oscillator input negative terminal of the mixer are connected to the local oscillator signal LO through the phase shifter, and the first input terminal and the second input terminal of the offset comparison circuit are respectively connected to the intermediate frequency output positive terminal and the intermediate frequency output negative terminal of the mixer. The output negative end, the output end of the offset comparison circuit is connected to the digital logic circuit, and the digital logic circuit is connected to the phase shifter; the offset comparison circuit includes a resistor Rc1, a resistor Rc2, a capacitor Cc1 and a voltage comparator U1; the first end of the resistor Rc1 is connected to the second input end of the offset comparison circuit, the second end of the resistor Rc1 and the first end of the capacitor Cc1 are connected to the non-inverting input end of the voltage comparator U1, the first end of the resistor Rc2 is connected to the first input end of the offset comparison circuit, the second end of the resistor Rc2 and the second end of the capacitor Cc1 are connected to the inverting input end of the voltage comparator U1, and the output end of the voltage comparator U1 is connected to the output end of the offset comparison circuit.

[0017] After adopting the above scheme, the present invention can control the phase difference between the local oscillator signal LO and the leakage signal of the local oscillator signal LO to the RF input port RFin+ and the RF input port RFin- to be around ±π / 2 through the phase shifter, the offset comparison circuit and the digital logic circuit, and when the amplitude of the local oscillator signal LO and the leakage signal of the local oscillator signal LO to the RF input port RFin+ and the RF input port RFin- remains unchanged, the DC offset value can be minimized. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 This is a partial schematic diagram of an existing millimeter wave transceiver chip.

[0019] Figure 2 This is a schematic diagram of the first embodiment of the present invention.

[0020] Figure 3 It is a principle diagram of a phase shifter according to the first embodiment of the present invention.

[0021] Figure 4 This is a schematic diagram of the second embodiment of the present invention. DETAILED DESCRIPTION

[0022] In order to further explain the technical solution of the present invention, the present invention is described in detail below through specific embodiments.

[0023] Embodiment 1:

[0024] Cooperate Figure 2 As shown, in the first embodiment of the present invention, a DC offset correction circuit of the present invention includes an RF input port RFin+, an RF input port RFin-, an amplifier, a mixer, a phase shifter, an offset comparison circuit and a digital logic circuit; wherein, the RF input port RFin+ and the RF input port RFin- are used to receive external RF signals, the RF input port RFin+ and the RF input port RFin- are connected to the differential input positive terminal and the differential input negative terminal of the amplifier, the differential output positive terminal and the differential output negative terminal of the amplifier are connected to the RF input positive terminal and the RF input negative terminal of the mixer through the phase shifter, the local oscillator input positive terminal and the local oscillator input negative terminal of the mixer are connected to the local oscillator signal LO, the first input terminal and the second input terminal of the offset comparison circuit are respectively connected to the intermediate frequency output positive terminal and the intermediate frequency output negative terminal of the mixer, the output terminal of the offset comparison circuit is connected to the digital logic circuit, and the digital logic circuit is connected to the phase shifter.

[0025] The inventive concept of the present invention is:

[0026] According to the mixer formula:

[0027]

[0028] Among them, A is the amplitude of the local oscillator signal LO, ω1 is the frequency of the local oscillator signal LO, θ1 is the phase of the local oscillator signal LO, B is the amplitude of the leakage signal of the local oscillator signal LO leaking to the RF input port RFin+ and the RF input port RFin-, ω2 is the frequency of the leakage signal of the local oscillator signal LO leaking to the RF input port RFin+ and the RF input port RFin-, and θ2 is the phase of the leakage signal of the local oscillator signal LO leaking to the RF input port RFin+ and the RF input port RFin-. When the frequencies of the local oscillator signal LO and the leakage signals of the local oscillator signal LO leaking to the RF input port RFin+ and the RF input port RFin- are the same and there is a phase difference (that is, when ω1=ω2), then:

[0029]

[0030] and It is a high-frequency signal and will be filtered out by the intermediate frequency filter later, so it is not considered.

[0031] Since the mixer adopts a fully differential structure, the voltage difference between the intermediate frequency output positive terminal and the intermediate frequency output negative terminal of the mixer will change accordingly with the phase difference between the input signal of the RF input positive terminal and the RF input negative terminal of the mixer and the input signal of the local oscillator input positive terminal and the local oscillator input negative terminal of the mixer. Therefore, the present invention controls the phase difference between the local oscillator signal LO and the leakage signal of the local oscillator signal LO leaking to the RF input port RFin+ and the RF input port RFin- to be around ±π / 2 through a phase shifter, and when the amplitude of the local oscillator signal LO and the leakage signal of the local oscillator signal LO leaking to the RF input port RFin+ and the RF input port RFin- remains unchanged, the DC offset value can be minimized.

[0032] A DC offset correction circuit of the present invention performs DC offset correction in the following manner:

[0033] Initially, if the offset comparison circuit detects that the voltage at the positive terminal of the intermediate frequency output of the mixer is greater than the voltage at the negative terminal of the intermediate frequency output of the mixer (i.e., cos(θ1-θ2)<0), the digital logic circuit controls the phase shifter to shift the phase by a minimum amount; thereafter, if the offset comparison circuit still detects that the voltage at the positive terminal of the intermediate frequency output of the mixer is greater than the voltage at the negative terminal of the intermediate frequency output of the mixer, the digital logic circuit continues to control the phase shifter to shift the phase by a minimum amount until the offset comparison circuit still detects that the voltage at the positive terminal of the intermediate frequency output of the mixer is less than the voltage at the negative terminal of the intermediate frequency output of the mixer, at which time the optimal phase shift amount is found, thereby achieving the purpose of reducing the DC offset;

[0034] Initially, if the offset comparison circuit detects that the voltage at the positive terminal of the intermediate frequency output of the mixer is less than the voltage at the negative terminal of the intermediate frequency output of the mixer (i.e., cos(θ1-θ2)>0), the digital logic circuit controls the phase shifter to shift the phase by a minimum amount; thereafter, if the offset comparison circuit still detects that the voltage at the positive terminal of the intermediate frequency output of the mixer is less than the voltage at the negative terminal of the intermediate frequency output of the mixer, the digital logic circuit continues to control the phase shifter to shift the phase by a minimum amount until the offset comparison circuit still detects that the voltage at the positive terminal of the intermediate frequency output of the mixer is greater than the voltage at the negative terminal of the intermediate frequency output of the mixer. At this time, the optimal phase shift amount is found, thereby achieving the purpose of reducing the DC offset.

[0035] Cooperate Figure 2As shown, in the first embodiment of the present invention, the offset comparison circuit includes a resistor Rc1, a resistor Rc2, a capacitor Cc1 and a voltage comparator U1; the first end of the resistor Rc1 is connected to the second input end of the offset comparison circuit, the second end of the resistor Rc1 and the first end of the capacitor Cc1 are connected to the non-inverting input end of the voltage comparator U1, the first end of the resistor Rc2 is connected to the first input end of the offset comparison circuit, the second end of the resistor Rc2 and the second end of the capacitor Cc1 are connected to the inverting input end of the voltage comparator U1, and the output end of the voltage comparator U1 is connected to the output end of the offset comparison circuit. When the voltage at the positive end of the intermediate frequency output of the mixer is less than the voltage at the negative end of the intermediate frequency output of the mixer, the offset comparison circuit outputs a high level signal to the digital logic circuit; when the voltage at the positive end of the intermediate frequency output of the mixer is greater than the voltage at the negative end of the intermediate frequency output of the mixer, the offset comparison circuit outputs a low level signal to the digital logic circuit.

[0036] Cooperate Figure 3As shown, in the first embodiment of the present invention, the phase shifter includes a differential orthogonal all-pass filter circuit and an active phase shift circuit connected in sequence, and the maximum phase shift value of the phase shifter can be π, so as to target the worst case where (θ1-θ2) is 0 or ±π. Specifically, the differential orthogonal all-pass filter circuit includes an inductor L1, an inductor L2, a resistor R1, a resistor R2, a capacitor C1 and a capacitor C2; the first end of the inductor L1 and the first end of the capacitor C1 are connected to the differential input positive end of the differential orthogonal all-pass filter circuit, the first end of the inductor L2 and the first end of the capacitor C2 are connected to the differential input negative end of the differential orthogonal all-pass filter circuit, the second end of the capacitor C1 and the first end of the resistor R1 are connected to the first output positive end of the differential orthogonal all-pass filter circuit, and the second end of the resistor R1 and the second end of the inductor L2 are connected to the first output positive end of the differential orthogonal all-pass filter circuit. negative end, the first end of the resistor R2 and the second end of the inductor L1 are connected to the second output positive end of the differential orthogonal full-pass filter circuit, and the second end of the resistor R2 and the second end of the capacitor C2 are connected to the second output negative end of the differential orthogonal full-pass filter circuit; the active phase shift circuit includes a resistor R3, a resistor R4, a MOS transistor Q1, a MOS transistor Q2, a MOS transistor Q3, a MOS transistor Q4, a MOS transistor Q5, a MOS transistor Q6, a MOS transistor Q7, a MOS transistor Q8, a MOS transistor Q9, a MOS transistor Q10, an adjustable current source I1, an adjustable current power supply I2 and a single-pole double-throw switch K1;The first end of the resistor R3 and the first end of the resistor R4 are connected to the control power supply VDD, the second end of the resistor R3, the drain of the MOS transistor Q1, the drain of the MOS transistor Q3 and the drain of the MOS transistor Q5 are connected to the differential output positive end of the active phase shift circuit, the second end of the resistor R4, the drain of the MOS transistor Q2, the drain of the MOS transistor Q4 and the drain of the MOS transistor Q6 are connected to the differential output negative end of the active phase shift circuit, the gate of the MOS transistor Q1 and the gate of the MOS transistor Q4 are connected to the first input positive end of the active phase shift circuit, the gate of the MOS transistor Q2 and the gate of the MOS transistor Q3 are connected to the active phase shift circuit. The first input negative end of the phase circuit, the source of the MOS tube Q1 and the source of the MOS tube Q2 are connected to the first switching end of the single-pole double-throw switch K1, the source of the MOS tube Q3 and the source of the MOS tube Q4 are connected to the second switching end of the single-pole double-throw switch K1, the common end of the single-pole double-throw switch K1 is connected to the drain of the MOS tube Q7, the gate of the MOS tube Q7, the drain of the MOS tube Q8, the source of the MOS tube Q5, the source of the MOS tube Q6, and the gate and drain of the MOS tube Q9 are connected to the output end of the adjustable current source I1, and the gate of the MOS tube Q5 is connected to the active phase shift circuit. The second input negative terminal, the gate of the MOS tube Q6 is connected to the second input positive terminal of the active phase shift circuit, the gate of the MOS tube Q8 and the gate and drain of the MOS tube Q10 are connected to the output terminal of the adjustable current source I2, the input terminal of the adjustable current source I1 and the input terminal of the adjustable current source I2 are connected to the control power supply VCC, the source of the MOS tube Q7, the source of the MOS tube Q8, the source of the MOS tube Q9 and the source of the MOS tube Q10 are grounded, and the adjustable current source I1, the adjustable current power supply I2 and the single-pole double-throw switch K1 are respectively connected to the digital logic circuit and are controlled by the digital logic circuit; The differential input positive terminal and the differential input negative terminal of the differential orthogonal all-pass filter circuit are respectively connected to the differential output positive terminal and the differential output negative terminal of the amplifier, the first input positive terminal and the first input negative terminal of the active phase shift circuit are respectively connected to the first output positive terminal and the first output negative terminal of the differential orthogonal all-pass filter circuit, the second input positive terminal and the second input negative terminal of the active phase shift circuit are respectively connected to the second output positive terminal and the second output negative terminal of the differential orthogonal all-pass filter circuit, and the differential output positive terminal and the differential output negative terminal of the active phase shift circuit are respectively connected to the RF input positive terminal and the RF input negative terminal of the mixer. ;

[0037] Cooperate Figure 2As shown, in the first embodiment of the present invention, a DC offset correction circuit of the present invention further includes a window comparison circuit, the input end of the window comparison circuit is connected to the positive end of the intermediate frequency output of the mixer, and the output end of the window comparison circuit is connected to the digital logic circuit; when the window comparator detects that the positive end of the intermediate frequency output of the mixer exceeds a preset voltage range, the window comparator controls the digital logic circuit to restart so that the digital logic circuit resumes working, ensuring that when the temperature and environment change and the DC offset increases to affect the normal operation of the mixer, the digital logic circuit can automatically restart to ensure DC offset correction. Specifically, the window comparison circuit includes a voltage comparator U2, a voltage comparator U3 and a NAND gate U4, the inverting input terminal of the voltage comparator U2 and the non-inverting input terminal of the voltage comparator U3 are connected to the input terminal of the window comparison circuit, the non-inverting input terminal of the voltage comparator U2 is connected to the upper threshold voltage signal VH, the inverting input terminal of the voltage comparator U3 is connected to the lower threshold voltage signal VL, the output terminal of the voltage comparator U2 and the output terminal of the voltage comparator U3 are connected to the input terminal of the NAND gate U4, the output terminal of the NAND gate U4 is connected to the output terminal of the window comparison circuit, the input terminal of the window comparison circuit is connected to the intermediate frequency output positive terminal of the mixer through the resistor Rc2, and the voltage value of the upper threshold voltage signal VH and the voltage value of the lower threshold voltage signal VL are the upper limit and lower limit of the preset voltage range. In addition, the window comparator also includes an OR gate U5, the output end of the NAND gate U4 is connected to the output end of the window comparison circuit through the OR gate U5, the first input end of the OR gate U5 is connected to the output end of the NAND gate U4, the second input end of the OR gate U5 is connected to the enable signal EN, and the output end of the OR gate U5 is connected to the output end of the window comparison circuit, so that the digital logic circuit can be directly controlled to restart by the enable signal EN.

[0038] Embodiment 2:

[0039] Cooperate Figure 4 As shown, the difference between the second embodiment of the present invention and the first embodiment is that: the first embodiment adopts that the differential output positive terminal and the differential output negative terminal of the amplifier are connected to the RF input positive terminal and the RF input negative terminal of the mixer through a phase shifter, and the local oscillator input positive terminal and the local oscillator input negative terminal of the mixer are connected to the local oscillator signal LO, while the second embodiment adopts that the differential output positive terminal and the differential output negative terminal of the amplifier are respectively connected to the RF input positive terminal and the RF input negative terminal of the mixer, and the local oscillator input positive terminal and the local oscillator input negative terminal of the mixer are connected to the local oscillator signal LO through a phase shifter. The second embodiment is configured in this way, so that the phase shifter can adjust the phase difference between the local oscillator signal LO and the leakage signal of the local oscillator signal LO leaking to the RF input port RFin+ and the RF input port RFin- to be around ±π / 2.

[0040] In the second embodiment of the present invention, the phase shifter also includes a differential orthogonal all-pass filter circuit and an active phase shift circuit connected in sequence. The differential orthogonal all-pass filter circuit and the active phase shift circuit of the second embodiment are the same as those of the first embodiment; wherein, the differential input positive terminal and the differential input negative terminal of the differential orthogonal all-pass filter circuit are connected to the local oscillator signal LO, the first input positive terminal and the first input negative terminal of the active phase shift circuit are respectively connected to the first output positive terminal and the first output negative terminal of the differential orthogonal all-pass filter circuit, the second input positive terminal and the second input negative terminal of the active phase shift circuit are respectively connected to the second output positive terminal and the second output negative terminal of the differential orthogonal all-pass filter circuit, and the differential output positive terminal and the differential output negative terminal of the active phase shift circuit are respectively connected to the local oscillator input positive terminal and the local oscillator input negative terminal of the mixer.

[0041] The above embodiments and drawings do not limit the product form and style of the present invention. Any appropriate changes or modifications made by ordinary technicians in the relevant technical field should be deemed to be within the patent scope of the present invention.

Claims

1. A DC offset correction circuit, characterized in that: It includes a radio frequency input port RFin+, a radio frequency input port RFin-, an amplifier, a mixer, a phase shifter, an offset comparison circuit and a digital logic circuit; The RF input port RFin+ and the RF input port RFin- are connected to the differential input positive terminal and the differential input negative terminal of the amplifier, the differential output positive terminal and the differential output negative terminal of the amplifier are connected to the RF input positive terminal and the RF input negative terminal of the mixer through a phase shifter, the local oscillator input positive terminal and the local oscillator input negative terminal of the mixer are connected to the local oscillator signal LO, the first input terminal and the second input terminal of the offset comparison circuit are respectively connected to the intermediate frequency output positive terminal and the intermediate frequency output negative terminal of the mixer, the output terminal of the offset comparison circuit is connected to the digital logic circuit, and the digital logic circuit is connected to the phase shifter; The offset comparison circuit includes a resistor Rc1, a resistor Rc2, a capacitor Cc1 and a voltage comparator U1; a first end of the resistor Rc1 is connected to a second input end of the offset comparison circuit, a second end of the resistor Rc1 and a first end of the capacitor Cc1 are connected to a non-inverting input end of the voltage comparator U1, a first end of the resistor Rc2 is connected to a first input end of the offset comparison circuit, a second end of the resistor Rc2 and a second end of the capacitor Cc1 are connected to an inverting input end of the voltage comparator U1, and an output end of the voltage comparator U1 is connected to an output end of the offset comparison circuit; The phase shifter, the offset comparison circuit and the digital logic circuit control the phase difference between the local oscillator signal LO and the leakage signal of the local oscillator signal LO leaking to the RF input port RFin+ and the RF input port RFin- to be around ±π / 2, and the amplitude of the local oscillator signal LO and the leakage signal of the local oscillator signal LO leaking to the RF input port RFin+ and the RF input port RFin- remains unchanged.

2. A DC offset correction circuit as claimed in claim 1, characterized in that: The phase shifter comprises a differential orthogonal all-pass filter circuit and an active phase shift circuit which are connected in sequence.

3. A DC offset correction circuit as claimed in claim 2, characterized in that: The differential orthogonal all-pass filter circuit comprises an inductor L1, an inductor L2, a resistor R1, a resistor R2, a capacitor C1 and a capacitor C2; a first end of the inductor L1 and a first end of the capacitor C1 are connected to a differential input positive end of the differential orthogonal all-pass filter circuit, a first end of the inductor L2 and a first end of the capacitor C2 are connected to a differential input negative end of the differential orthogonal all-pass filter circuit, a second end of the capacitor C1 and a first end of the resistor R1 are connected to a first output positive end of the differential orthogonal all-pass filter circuit, a second end of the resistor R1 and a second end of the inductor L2 are connected to a first output negative end of the differential orthogonal all-pass filter circuit, a first end of the resistor R2 and a second end of the inductor L1 are connected to a second output positive end of the differential orthogonal all-pass filter circuit, and a second end of the resistor R2 and a second end of the capacitor C2 are connected to a second output negative end of the differential orthogonal all-pass filter circuit; The active phase shift circuit comprises a resistor R3, a resistor R4, a MOS transistor Q1, a MOS transistor Q2, a MOS transistor Q3, a MOS transistor Q4, a MOS transistor Q5, a MOS transistor Q6, a MOS transistor Q7, a MOS transistor Q8, a MOS transistor Q9, a MOS transistor Q10, an adjustable current source I1, an adjustable current power supply I2 and a single-pole double-throw switch K1; a first end of the resistor R3 and a first end of the resistor R4 are connected to a control power supply VDD, a second end of the resistor R3, a drain of the MOS transistor Q1, a drain of the MOS transistor Q3 and a MOS transistor K10 are connected to a control power supply VDD, and a The drain of the S tube Q5 is connected to the differential output positive terminal of the active phase shift circuit, the second end of the resistor R4, the drain of the MOS tube Q2, the drain of the MOS tube Q4 and the drain of the MOS tube Q6 are connected to the differential output negative terminal of the active phase shift circuit, the gate of the MOS tube Q1 and the gate of the MOS tube Q4 are connected to the first input positive terminal of the active phase shift circuit, the gate of the MOS tube Q2 and the gate of the MOS tube Q3 are connected to the first input negative terminal of the active phase shift circuit, the source of the MOS tube Q1 and the source of the MOS tube Q2 are connected to the single-pole double-throw switch The first switching end of the single-pole double-throw switch K1, the source of the MOS tube Q3 and the source of the MOS tube Q4 are connected to the second switching end of the single-pole double-throw switch K1, the common end of the single-pole double-throw switch K1 is connected to the drain of the MOS tube Q7, the gate of the MOS tube Q7, the drain of the MOS tube Q8, the source of the MOS tube Q5, the source of the MOS tube Q6, and the gate and drain of the MOS tube Q9 are connected to the output end of the adjustable current source I1, the gate of the MOS tube Q5 is connected to the second input negative end of the active phase shift circuit, and the gate of the MOS tube Q6 is connected to The second input positive terminal of the active phase shift circuit, the gate of the MOS transistor Q8, and the gate and drain of the MOS transistor Q10 are connected to the output terminal of the adjustable current source I2, the input terminal of the adjustable current source I1 and the input terminal of the adjustable current source I2 are connected to the control power supply VCC, the source of the MOS transistor Q7, the source of the MOS transistor Q8, the source of the MOS transistor Q9, and the source of the MOS transistor Q10 are grounded, and the adjustable current source I1, the adjustable current power supply I2, and the single-pole double-throw switch K1 are respectively connected to the digital logic circuit and are controlled by the digital logic circuit; The differential input positive terminal and the differential input negative terminal of the differential orthogonal all-pass filter circuit are respectively connected to the differential output positive terminal and the differential output negative terminal of the amplifier, the first input positive terminal and the first input negative terminal of the active phase shift circuit are respectively connected to the first output positive terminal and the first output negative terminal of the differential orthogonal all-pass filter circuit, the second input positive terminal and the second input negative terminal of the active phase shift circuit are respectively connected to the second output positive terminal and the second output negative terminal of the differential orthogonal all-pass filter circuit, and the differential output positive terminal and the differential output negative terminal of the active phase shift circuit are respectively connected to the RF input positive terminal and the RF input negative terminal of the mixer.

4. A DC offset correction circuit as claimed in claim 1, characterized in that: It also includes a window comparison circuit, the input end of the window comparison circuit is connected to the intermediate frequency output positive end of the mixer, and the output end of the window comparison circuit is connected to the digital logic circuit.

5. A DC offset correction circuit as claimed in claim 4, characterized in that: The window comparison circuit includes a voltage comparator U2, a voltage comparator U3 and a NAND gate U4. The inverting input terminal of the voltage comparator U2 and the non-inverting input terminal of the voltage comparator U3 are connected to the input terminal of the window comparison circuit, the non-inverting input terminal of the voltage comparator U2 is connected to the upper threshold voltage signal VH, the inverting input terminal of the voltage comparator U3 is connected to the lower threshold voltage signal VL, the output terminal of the voltage comparator U2 and the output terminal of the voltage comparator U3 are connected to the input terminal of the NAND gate U4, the output terminal of the NAND gate U4 is connected to the output terminal of the window comparison circuit, and the input terminal of the window comparison circuit is connected to the intermediate frequency output positive terminal of the mixer through the resistor Rc2.

6. A DC offset correction circuit as claimed in claim 5, characterized in that: The window comparator also includes an OR gate U5, the output end of the NAND gate U4 is connected to the output end of the window comparison circuit through the OR gate U5, the first input end of the OR gate U5 is connected to the output end of the NAND gate U4, the second input end of the OR gate U5 is connected to the enable signal EN, and the output end of the OR gate U5 is connected to the output end of the window comparison circuit.

7. A DC offset correction circuit, characterized in that: It includes a radio frequency input port RFin+, a radio frequency input port RFin-, an amplifier, a mixer, a phase shifter, an offset comparison circuit and a digital logic circuit; The RF input port RFin+ and the RF input port RFin- are connected to the differential input positive terminal and the differential input negative terminal of the amplifier, the differential output positive terminal and the differential output negative terminal of the amplifier are respectively connected to the RF input positive terminal and the RF input negative terminal of the mixer, the local oscillator input positive terminal and the local oscillator input negative terminal of the mixer are connected to the local oscillator signal LO through the phase shifter, the first input terminal and the second input terminal of the offset comparison circuit are respectively connected to the intermediate frequency output positive terminal and the intermediate frequency output negative terminal of the mixer, the output terminal of the offset comparison circuit is connected to the digital logic circuit, and the digital logic circuit is connected to the phase shifter; The offset comparison circuit includes a resistor Rc1, a resistor Rc2, a capacitor Cc1 and a voltage comparator U1; a first end of the resistor Rc1 is connected to a second input end of the offset comparison circuit, a second end of the resistor Rc1 and a first end of the capacitor Cc1 are connected to a non-inverting input end of the voltage comparator U1, a first end of the resistor Rc2 is connected to a first input end of the offset comparison circuit, a second end of the resistor Rc2 and a second end of the capacitor Cc1 are connected to an inverting input end of the voltage comparator U1, and an output end of the voltage comparator U1 is connected to an output end of the offset comparison circuit; The phase shifter, the offset comparison circuit and the digital logic circuit control the phase difference between the local oscillator signal LO and the leakage signal of the local oscillator signal LO leaking to the RF input port RFin+ and the RF input port RFin- to be around ±π / 2, and the amplitude of the local oscillator signal LO and the leakage signal of the local oscillator signal LO leaking to the RF input port RFin+ and the RF input port RFin- remains unchanged.

8. A DC offset correction circuit as claimed in claim 7, characterized in that: The phase shifter comprises a differential orthogonal all-pass filter circuit and an active phase shift circuit which are connected in sequence.

9. A DC offset correction circuit as claimed in claim 8, characterized in that: The differential orthogonal all-pass filter circuit comprises an inductor L1, an inductor L2, a resistor R1, a resistor R2, a capacitor C1 and a capacitor C2; a first end of the inductor L1 and a first end of the capacitor C1 are connected to a differential input positive end of the differential orthogonal all-pass filter circuit, a first end of the inductor L2 and a first end of the capacitor C2 are connected to a differential input negative end of the differential orthogonal all-pass filter circuit, a second end of the capacitor C1 and a first end of the resistor R1 are connected to a first output positive end of the differential orthogonal all-pass filter circuit, a second end of the resistor R1 and a second end of the inductor L2 are connected to a first output negative end of the differential orthogonal all-pass filter circuit, a first end of the resistor R2 and a second end of the inductor L1 are connected to a second output positive end of the differential orthogonal all-pass filter circuit, and a second end of the resistor R2 and a second end of the capacitor C2 are connected to a second output negative end of the differential orthogonal all-pass filter circuit; The active phase shift circuit comprises a resistor R3, a resistor R4, a MOS transistor Q1, a MOS transistor Q2, a MOS transistor Q3, a MOS transistor Q4, a MOS transistor Q5, a MOS transistor Q6, a MOS transistor Q7, a MOS transistor Q8, a MOS transistor Q9, a MOS transistor Q10, an adjustable current source I1, an adjustable current power supply I2 and a single-pole double-throw switch K1; a first end of the resistor R3 and a first end of the resistor R4 are connected to a control power supply VDD, a second end of the resistor R3, a drain of the MOS transistor Q1, a drain of the MOS transistor Q3 and a MOS transistor K10 are connected to a control power supply VDD, and a The drain of the S tube Q5 is connected to the differential output positive terminal of the active phase shift circuit, the second end of the resistor R4, the drain of the MOS tube Q2, the drain of the MOS tube Q4 and the drain of the MOS tube Q6 are connected to the differential output negative terminal of the active phase shift circuit, the gate of the MOS tube Q1 and the gate of the MOS tube Q4 are connected to the first input positive terminal of the active phase shift circuit, the gate of the MOS tube Q2 and the gate of the MOS tube Q3 are connected to the first input negative terminal of the active phase shift circuit, the source of the MOS tube Q1 and the source of the MOS tube Q2 are connected to the single-pole double-throw switch The first switching end of the single-pole double-throw switch K1, the source of the MOS tube Q3 and the source of the MOS tube Q4 are connected to the second switching end of the single-pole double-throw switch K1, the common end of the single-pole double-throw switch K1 is connected to the drain of the MOS tube Q7, the gate of the MOS tube Q7, the drain of the MOS tube Q8, the source of the MOS tube Q5, the source of the MOS tube Q6, and the gate and drain of the MOS tube Q9 are connected to the output end of the adjustable current source I1, the gate of the MOS tube Q5 is connected to the second input negative end of the active phase shift circuit, and the gate of the MOS tube Q6 is connected to The second input positive terminal of the active phase shift circuit, the gate of the MOS transistor Q8, and the gate and drain of the MOS transistor Q10 are connected to the output terminal of the adjustable current source I2, the input terminal of the adjustable current source I1 and the input terminal of the adjustable current source I2 are connected to the control power supply VCC, the source of the MOS transistor Q7, the source of the MOS transistor Q8, the source of the MOS transistor Q9, and the source of the MOS transistor Q10 are grounded, and the adjustable current source I1, the adjustable current power supply I2, and the single-pole double-throw switch K1 are respectively connected to the digital logic circuit and are controlled by the digital logic circuit; The differential input positive terminal and the differential input negative terminal of the differential orthogonal all-pass filter circuit are connected to the local oscillator signal LO, the first input positive terminal and the first input negative terminal of the active phase shift circuit are respectively connected to the first output positive terminal and the first output negative terminal of the differential orthogonal all-pass filter circuit, the second input positive terminal and the second input negative terminal of the active phase shift circuit are respectively connected to the second output positive terminal and the second output negative terminal of the differential orthogonal all-pass filter circuit, and the differential output positive terminal and the differential output negative terminal of the active phase shift circuit are respectively connected to the local oscillator input positive terminal and the local oscillator input negative terminal of the mixer.

10. A DC offset correction circuit as claimed in claim 7, characterized in that: It also includes a window comparison circuit, the input end of the window comparison circuit is connected to the intermediate frequency output positive end of the mixer, and the output end of the window comparison circuit is connected to the digital logic circuit.

11. A DC offset correction circuit as claimed in claim 10, characterized in that: The window comparison circuit includes a voltage comparator U2, a voltage comparator U3 and a NAND gate U4. The inverting input terminal of the voltage comparator U2 and the non-inverting input terminal of the voltage comparator U3 are connected to the input terminal of the window comparison circuit, the non-inverting input terminal of the voltage comparator U2 is connected to the upper threshold voltage signal VH, the inverting input terminal of the voltage comparator U3 is connected to the lower threshold voltage signal VL, the output terminal of the voltage comparator U2 and the output terminal of the voltage comparator U3 are connected to the input terminal of the NAND gate U4, the output terminal of the NAND gate U4 is connected to the output terminal of the window comparison circuit, and the input terminal of the window comparison circuit is connected to the intermediate frequency output positive terminal of the mixer through the resistor Rc2.

12. A DC offset correction circuit as claimed in claim 11, characterized in that: The window comparator also includes an OR gate U5, the output end of the NAND gate U4 is connected to the output end of the window comparison circuit through the OR gate U5, the first input end of the OR gate U5 is connected to the output end of the NAND gate U4, the second input end of the OR gate U5 is connected to the enable signal EN, and the output end of the OR gate U5 is connected to the output end of the window comparison circuit.