A DC offset elimination method, system, terminal and circuit

By obtaining the differential output results of the I and Q channels of the complex bandpass filter, and adjusting the output using the bisection method and the step method, the problem of DC offset of the complex bandpass filter under high gain is solved, and the DC offset is effectively eliminated. The combination of speed and accuracy is suitable for wireless communications in burst mode.

CN113794465BActive Publication Date: 2024-09-10SHANGHAI HANMAI ELECTRONIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111045255.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-07
Publication Date
2024-09-10
Estimated Expiration
2041-09-07

AI Technical Summary

Technical Problem

In the existing technology, the DC offset generated by the complex bandpass filter under high gain affects the dynamic range of the receiver, and the existing elimination method has low efficiency and large residue in burst mode, and cannot effectively solve the image suppression problem.

Method used

By obtaining the differential output results of the I and Q paths of the complex bandpass filter, the output is adjusted based on the dichotomy and step methods, and digital DC offset elimination information is output, which is input to the back gate of the operational amplifier to eliminate the DC offset and ensure adjustment speed and accuracy. .

Benefits of technology

It effectively controls the DC offset at the output end of the complex bandpass filter to the mv level or even smaller. The adjustment strategy combines the dichotomy method and the step method to ensure speed and accuracy and is suitable for wireless communications in burst mode.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113794465B
    Figure CN113794465B
Patent Text Reader

Abstract

The present invention provides a DC offset elimination method, system, terminal and circuit, comprising the following steps: obtaining a comparison result of the differential output of the I path of a complex bandpass filter; obtaining a comparison result of the differential output of the Q path of the complex bandpass filter; based on the comparison results of the I path and the Q path, outputting digital DC offset elimination information, so that the complex bandpass filter can achieve DC offset elimination. The DC offset elimination method, system, terminal and circuit of the present invention can effectively eliminate the DC offset at the output end of the complex bandpass filter.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of direct current offset elimination, and in particular to a direct current offset elimination method, system, terminal and circuit. Background Art

[0002] With the development of Internet of Things (IoT) technology, radio frequency circuits have become a hot topic of research. In existing technologies, medium and low-rate short-range wireless communications such as BT / BLE and Zigbee mostly use low intermediate frequency architectures. High integration and low power consumption are the advantages of this architecture, but it also faces the problem of image suppression.

[0003] In order to solve the above problems, a complex band pass filter (CBPF) is usually introduced. CBPF usually also has the function of a variable gain amplifier (VGA). When the gain is relatively large, such as above 20dB, DC offset becomes a major factor affecting the dynamic range of the receiver.

[0004] Patent application number 201410710502.3, "A DC offset elimination circuit for Gm-C type complex filter", introduces an integrator unit method to eliminate DC offset. However, this method has a large time constant and a slow settling time, and cannot be applied to wireless communication standards operating in burst mode, such as BT / BLE, Zigbee, NB-IOT, etc.

[0005] In addition, the IQ coupling in the complex bandpass filter can be disconnected and connected to a low-pass filter (LPF) to eliminate the DC offset. When it works normally, it can be connected to the complex bandpass filter. However, this method has a disadvantage, that is, when the complex bandpass filter is connected, the DC offset has a small step jump, resulting in a large residual DC offset. Summary of the invention

[0006] In view of the above-mentioned shortcomings of the prior art, an object of the present invention is to provide a DC offset elimination method, system, terminal and circuit, which can effectively eliminate the DC offset at the output end of the complex bandpass filter.

[0007] To achieve the above-mentioned purpose and other related purposes, the present invention provides a DC offset elimination method, comprising the following steps: obtaining a comparison result of the differential output of an I path of a complex bandpass filter; obtaining a comparison result of the differential output of a Q path of the complex bandpass filter; and outputting digital DC offset elimination information based on the comparison results of the I path and the Q path, so that the complex bandpass filter can achieve DC offset elimination.

[0008] In one embodiment of the present invention, the digital DC offset cancellation information includes I-path DC offset cancellation information and Q-path DC offset cancellation information, which are respectively input to the back gate of the operational amplifier of the complex bandpass filter.

[0009] In one embodiment of the present invention, V op_i and V on_i is the differential output of the I channel, V op_q and V on_q is the differential output of the Q path, sign_i and sign_q are the comparison results of the I path and the Q path respectively; when V op_i -V on_i >0, sign_i=1, when V op_i -V on_i <0, sign_i=0; when V op_q -V on_q >0, sign_q=1, when V op_q -V on_q <0, sign_q=0;

[0010] The I-path DC offset elimination information is related to -sign_q; the Q-path DC offset elimination information is related to sign_i.

[0011] In one embodiment of the present invention, based on the comparison result of the I path and the Q path, outputting digital DC offset cancellation information comprises the following steps:

[0012] The comparison result of the I path is adjusted based on the binary method and the step method; the adjusted value is input into the complex bandpass filter as the Q path DC offset elimination information; when the value of sign_i obtained after the Q path DC offset elimination information is input into the complex bandpass filter jumps, the adjustment is stopped;

[0013] The comparison result of the Q path is adjusted based on the binary method and the step method; the adjusted value is input into the complex bandpass filter as the I-path DC offset elimination information; when the value of sign_q obtained after the I-path DC offset elimination information is input into the complex bandpass filter jumps, the adjustment is stopped.

[0014] In one embodiment of the present invention, the method further includes recording the gain of the complex bandpass filter and the corresponding digital DC offset cancellation information, so as to provide the corresponding digital DC offset cancellation information based on the actual gain of the DC offset cancellation module.

[0015] The present invention provides a DC offset elimination system, comprising a first acquisition module, a second acquisition module and an elimination module;

[0016] The first acquisition module is used to obtain a comparison result of the differential output of channel I of the complex bandpass filter;

[0017] The second acquisition module is used to obtain a comparison result of the differential output of the Q path of the complex bandpass filter;

[0018] The elimination module is used to output digital DC offset elimination information based on the comparison results of the I path and the Q path, so that the complex bandpass filter can achieve DC offset elimination.

[0019] The present invention provides a DC offset elimination terminal, comprising: a processor and a memory;

[0020] The memory is used to store computer programs;

[0021] The processor is used to execute the computer program stored in the memory so that the fuel cell voltage monitoring controller executes the above-mentioned DC offset elimination method.

[0022] The present invention provides a DC offset elimination circuit, comprising:

[0023] Complex bandpass filter;

[0024] A first comparison module, connected to an output end of the I-channel of the complex bandpass filter, and used for comparing the differential output of the I-channel;

[0025] A second comparison module, connected to the Q-path output end of the complex bandpass filter, for comparing the differential output of the Q-path;

[0026] The DC offset cancellation terminal is connected to the output terminals of the first comparison module and the second comparison module, and is used to output digital DC offset cancellation information based on the comparison results of the first comparison module and the second comparison module;

[0027] A digital-to-analog converter is connected to the DC offset cancellation module and is used to convert the digital DC offset cancellation information into analog DC offset cancellation information, and input the analog DC offset cancellation information into the complex bandpass filter to achieve DC offset cancellation of the complex bandpass filter.

[0028] As described above, the DC offset elimination method, system, terminal and circuit of the present invention have the following beneficial effects:

[0029] (1) It is possible to control the DC offset at the output of the complex bandpass filter to the mV level or even smaller;

[0030] (2) The adjustment strategy adopts a combination of binary method and step method to ensure the speed and accuracy of adjustment. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 It is a schematic diagram of a DC offset cancellation circuit in one embodiment of the present invention;

[0032] Figure 2 It is a schematic diagram showing the structure of a complex bandpass filter in one embodiment of the present invention;

[0033] Figure 3 Shown is the input stage circuit of the operational amplifier OP1 in the auxiliary bandpass filter of the present invention;

[0034] Figure 4 Shown is a flow chart of a DC offset elimination method in one embodiment of the present invention;

[0035] Figure 5 Shown is a flow chart of the binary method and the step-by-step method of the present invention in one embodiment;

[0036] Figure 6 It is a schematic diagram showing the effect of the DC offset elimination method in one embodiment of the present invention;

[0037] Figure 7 Shown is a diagram showing the effect of a DC offset elimination system in one embodiment of the present invention;

[0038] Figure 8 FIG. 1 is a schematic structural diagram of a DC offset elimination terminal according to an embodiment of the present invention. DETAILED DESCRIPTION

[0039] The following describes the embodiments of the present invention through specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention.

[0040] It should be noted that the illustrations provided in this embodiment are only used to illustrate the basic concept of the present invention in a schematic manner. Therefore, the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0041] The DC offset elimination method, system, terminal and circuit of the present invention can effectively eliminate the DC offset at the output end of the complex bandpass filter by means of closed-loop adjustment, and are very practical.

[0042] like Figure 1 As shown, the DC offset elimination circuit of the present invention includes a complex bandpass filter 1, a first comparator 2, a second comparator 3, a DC offset elimination terminal 4 and a digital-to-analog converter 5.

[0043] The first comparison module 2 is connected to the I-channel output terminal (V op_i and V on_i ) are connected to compare the differential output of the I path. The comparison result is sign_i. When V op_i -V on_i >0, sign_i=1, when V op_i -V on_i <0, sign_i=0.

[0044] The second comparison module 3 is connected to the Q-path output terminal (V op_q and V on_q ) are connected to compare the differential output of the Q path. The comparison result is sign_q. op_q -V on_q >0, sign_q=1, when V op_q -V on_q <0, sign_q=0.

[0045] The DC offset elimination terminal 4 is connected to the output terminals of the first comparison module 2 and the second comparison module 3, and is used to output digital DC offset elimination information (V bg _i and V bg _q).

[0046] The digital-to-analog converter 5 is connected to the DC offset elimination module 4 and is used to convert the digital DC offset elimination information into analog DC offset elimination information, and input the analog DC offset elimination information into the complex bandpass filter 1 to achieve DC offset elimination of the complex bandpass filter 1.

[0047] Depend on Figure 1 It can be seen that the DC offset elimination terminal 4 is used to adjust the input DCOC_i<5:0>, DCOC_q<5:0> of the digital analog converter 5 according to the values ​​of sign_i and sign_q, and the digital analog converter 5 outputs two voltage signals V bg_i and V bg_q The back gate of the input operational amplifier (OP) pair of the complex bandpass filter 1 is used to cancel the DC offset.

[0048] like Figure 2 As shown, we can get:

[0049]

[0050]

[0051]

[0052]

[0053] When performing DC offset cancellation, V ip =V in , V qp =V qn .

[0054] make

[0055] Then (1)-(2) can be obtained

[0056]

[0057] (q1)-(q2) gives

[0058]

[0059]

[0060]

[0061] Then (4)-(5) can be obtained

[0062]

[0063]

[0064]

[0065] (q4)-(q5) gives

[0066]

[0067] Substituting 6 and (q6) into (3) and (q3), we obtain

[0068]

[0069]

[0070] make When the chip is completed, V osi , V osq ,V os2_i ,V os2_q All of them are fixed values, so C1 and C2 are constants. Substituting A1, A2, A3, C1, C2 into (7) and (q7), we get

[0071]

[0072]

[0073] Because R1, R2, R3, and R4 are usually KΩ resistors, A1>A3>A2. A1, A2, and A3 differ by one order of magnitude, so A1*A3>A1*A2, and usually also differ by one order of magnitude. Further simplifying (8) and (q8), we can get

[0074]

[0075]

[0076] Therefore, the following conclusions can be drawn: o_i and V os1_q Strong correlation, V o_q and -V os1_i Strong correlation. So we can use sign_i(V o_i ) value to adjust the V of Q circuit os1_q , use -sign_q(-V o_q ) value to adjust the V os1_i .

[0077] Therefore, the combination Figure 1-3 And equation (9), (q9), we can know that by adjusting V bg_n or V bg_p Can be adjusted Figure 2 V os1_i and V os1_q , which makes V o_i and V o_q Approaching 0 to achieve DC offset cancellation.

[0078] In one embodiment, if Figure 4As shown, a DC offset elimination method is provided based on the DC offset terminal, comprising the following steps:

[0079] Step S1, obtaining a comparison result of the differential output of path I of the complex bandpass filter.

[0080] Step S2: Obtain a comparison result of the differential output of the Q path of the complex bandpass filter.

[0081] Step S3: Based on the comparison result of the I path and the Q path, output digital DC offset cancellation information so that the complex bandpass filter can achieve DC offset cancellation.

[0082] The digital DC offset cancellation information includes I-channel DC offset cancellation information and Q-channel DC offset cancellation information, which are respectively input into the back gate of the operational amplifier of the complex bandpass filter. The I-channel DC offset cancellation information is related to -sign_q; and the Q-channel DC offset cancellation information is related to sign_i.

[0083] Specifically, based on the comparison result of the I path and the Q path, outputting the digital DC offset cancellation information comprises the following steps:

[0084] 31) Figure 5 As shown, the comparison result of the I path is adjusted based on the binary method and the step method; the adjusted value is input into the complex bandpass filter as the DC offset elimination information of the Q path; when the value of sign_i obtained after the DC offset elimination information of the Q path is input into the complex bandpass filter jumps, it indicates that V o_q It approaches 0, so the adjustment is stopped. At this time, the adjusted value is used as the final Q-path DC offset elimination information. Among them, for the function y=f(x) that is continuous on the interval [a, b] and f(a)·f(b)<0, the method of obtaining the approximate value of the zero point by continuously dividing the interval where the zero point of the function f(x) is located into two, so that the two endpoints of the interval gradually approach the zero point, is called the bisection method. The step method is that for y=f(n), by changing the value of n step by step, such as n+1 or n-1, y is made to approach the zero point.

[0085] 32) Figure 5 As shown, the comparison result of the Q path is adjusted based on the binary method and the step method; the adjusted value is input into the complex bandpass filter as the I-path DC offset elimination information; when the value of sign_q obtained after the I-path DC offset elimination information is input into the complex bandpass filter jumps, it indicates that V o_i It approaches 0, so the adjustment is stopped. At this time, the adjusted value is used as the final I-channel DC offset elimination information.

[0086] Preferably, the Q path is positively adjusted by the comparison result of the I path, and the I path is negatively adjusted by the comparison result of the Q path, so that the complex bandpass filter can finally achieve DC offset elimination.

[0087] In one embodiment of the present invention, the DC offset elimination method of the present invention further includes recording the gain of the complex bandpass filter and the corresponding digital DC offset elimination information, so as to provide the corresponding digital DC offset elimination information based on the actual gain of the DC offset elimination module. Specifically, the DC offset elimination method of the present invention is used to make the system work once during the chip power-on stage, and a lookup table related to the gain is generated. The lookup table records the gain of the complex bandpass filter and the corresponding digital DC offset elimination information. In this way, even if the receiver works in the Burst mode, the convergence speed of the gain is not affected.

[0088] like Figure 6 As shown, when the DC offset elimination method of the present invention is not used, the DC offset of the I circuit is 132.8mV, and the DC offset of the Q circuit is 99.5mv. When the DC offset elimination method of the present invention is used, the DC offset of the I circuit is 1.2mV, and the DC offset of the Q circuit is 1mV.

[0089] like Figure 7 As shown, in one embodiment, the DC offset elimination system of the present invention includes a first acquisition module 71 , a second acquisition module 72 and an elimination module 73 .

[0090] The first acquisition module 71 is used to obtain the comparison result of the differential output of the I path of the complex bandpass filter.

[0091] The second acquisition module 72 is used to obtain the comparison result of the differential output of the Q path of the complex bandpass filter.

[0092] The elimination module 73 is connected to the first acquisition module 71 and the second acquisition module 72, and is used to output digital DC offset elimination information based on the comparison results of the I path and the Q path, so that the complex bandpass filter can achieve DC offset elimination.

[0093] The structures and principles of the first acquisition module 71 , the second acquisition module 72 and the elimination module 73 correspond to the steps in the above-mentioned DC offset elimination method, and thus will not be described in detail here.

[0094] It should be noted that it should be understood that the division of the various modules of the above device is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And these modules can all be implemented in the form of software called by processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software called by processing elements, and some modules can be implemented in the form of hardware. For example, the x module can be a separately established processing element, or it can be integrated in a chip of the above device. In addition, it can also be stored in the memory of the above device in the form of program code, and called and executed by a processing element of the above device. The implementation of other modules is similar. In addition, these modules can be fully or partially integrated together, or they can be implemented independently. The processing element described here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each module above can be completed by an integrated logic circuit of hardware in the processor element or instructions in the form of software.

[0095] For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASIC), or one or more microprocessors (DSP), or one or more field programmable gate arrays (FPGA). For another example, when a module is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).

[0096] like Figure 8 As shown, in one embodiment, the DC offset elimination terminal of the present invention includes: a processor 81 and a memory 82 .

[0097] The memory 82 is used to store computer programs.

[0098] The memory 82 includes: ROM, RAM, disk, USB flash drive, memory card or CD and other media that can store program codes.

[0099] The processor 81 is connected to the memory 82 and is used to execute the computer program stored in the memory 82 so that the DC offset elimination terminal executes the above-mentioned DC offset elimination method.

[0100] Preferably, the processor 81 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.

[0101] In summary, the DC offset elimination method, system, terminal and circuit of the present invention can control the DC offset at the output end of the complex bandpass filter to the mV level or even smaller; the adjustment strategy adopts a method combining the binary method and the step method to ensure the speed and accuracy of the adjustment. Therefore, the present invention effectively overcomes various shortcomings in the prior art and has a high industrial utilization value.

[0102] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by a person of ordinary skill in the art without departing from the spirit and technical concept disclosed by the present invention shall still be covered by the claims of the present invention.

Claims

1. A DC offset elimination method, characterized in that: The following steps are involved: Obtaining a comparison result of the differential output of the I path of the complex bandpass filter; Obtaining a comparison result of the differential output of the Q path of the complex bandpass filter; Based on the comparison result of the I path and the Q path, outputting digital DC offset cancellation information so that the complex bandpass filter can achieve DC offset cancellation; The digital DC offset elimination information includes I-channel DC offset elimination information and Q-channel DC offset elimination information, which are respectively input to the back gate of the operational amplifier of the complex bandpass filter; V op_i and V on_i is the differential output of the I channel, V op_q and V on_q is the differential output of the Q path, sign_i and sign_q are the comparison results of the I path and the Q path respectively; when V op_i -V on_i >0, sign_i=1, when V op_i -V on_i <0, sign_i=0; when V op_q -V on_q >0, sign_q=1, when V op_q -V on_q <0, sign_q=0; the I-path DC offset elimination information is related to -sign_q, and the Q-path DC offset elimination information is related to sign_i; Wherein, based on the comparison result of the I path and the Q path, outputting the digital DC offset cancellation information comprises: The comparison result of the I path is adjusted based on the binary method and the step method; the adjusted value is input into the complex bandpass filter as the Q path DC offset elimination information; when the value of sign_i obtained after the Q path DC offset elimination information is input into the complex bandpass filter jumps, the adjustment is stopped; The comparison result of the Q path is adjusted based on the binary method and the step method; the adjusted value is input into the complex bandpass filter as the I-path DC offset elimination information; when the value of sign_q obtained after the I-path DC offset elimination information is input into the complex bandpass filter jumps, the adjustment is stopped.

2. The DC offset elimination method according to claim 1, characterized in that: It also includes recording the gain of the complex bandpass filter and the corresponding digital DC offset cancellation information to provide corresponding digital DC offset cancellation information based on the actual gain of the DC offset cancellation terminal.

3. A DC offset elimination system, characterized in that: It includes a first acquisition module, a second acquisition module and an elimination module; The first acquisition module is used to obtain a comparison result of the differential output of channel I of the complex bandpass filter; The second acquisition module is used to obtain a comparison result of the differential output of the Q path of the complex bandpass filter; The elimination module is used to output digital DC offset elimination information based on the comparison results of the I path and the Q path, so that the complex bandpass filter can achieve DC offset elimination; The digital DC offset elimination information includes I-channel DC offset elimination information and Q-channel DC offset elimination information, which are respectively input to the back gate of the operational amplifier of the complex bandpass filter; V op_i and V on_i is the differential output of the I channel, V op_q and V on_q is the differential output of the Q path, sign_i and sign_q are the comparison results of the I path and the Q path respectively; when V op_i -V on_i >0, sign_i=1, when V op_i -V on_i <0, sign_i=0; when V op_q -V on_q >0, sign_q=1, when V op_q -V on_q <0, sign_q=0; the I-path DC offset elimination information is related to -sign_q, and the Q-path DC offset elimination information is related to sign_i; Wherein, based on the comparison result of the I path and the Q path, outputting the digital DC offset cancellation information comprises: The comparison result of the I path is adjusted based on the binary method and the step method; the adjusted value is input into the complex bandpass filter as the Q path DC offset elimination information; when the value of sign_i obtained after the Q path DC offset elimination information is input into the complex bandpass filter jumps, the adjustment is stopped; The comparison result of the Q path is adjusted based on the binary method and the step method; the adjusted value is input into the complex bandpass filter as the I-path DC offset elimination information; when the value of sign_q obtained after the I-path DC offset elimination information is input into the complex bandpass filter jumps, the adjustment is stopped.

4. A DC offset elimination terminal, characterized in that: include: Processor and memory; The memory is used to store computer programs; The processor is used to execute the computer program stored in the memory, so that the DC offset elimination terminal performs the DC offset elimination method according to any one of claims 1 to 2.

5. A DC offset elimination circuit, characterized in that: include: Complex bandpass filter; A first comparison module, connected to an output end of the I-channel of the complex bandpass filter, and used for comparing the differential output of the I-channel; A second comparison module, connected to the Q-path output end of the complex bandpass filter, for comparing the differential output of the Q-path; The DC offset cancellation terminal of claim 4, connected to the output terminals of the first comparison module and the second comparison module, and configured to output digital DC offset cancellation information based on the comparison result of the first comparison module and the second comparison module; A digital-to-analog converter is connected to the DC offset cancellation terminal and is used to convert the digital DC offset cancellation information into analog DC offset cancellation information, and input the analog DC offset cancellation information into the complex bandpass filter to achieve DC offset cancellation of the complex bandpass filter.